diff --git a/AzurePowershell.Test.targets b/AzurePowershell.Test.targets
index a65a3a1882e7..b1abf499c699 100644
--- a/AzurePowershell.Test.targets
+++ b/AzurePowershell.Test.targets
@@ -22,12 +22,14 @@
.\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"
+ "!Functional&!Scenario&!AzureRTScenario&!Sequential&!PIRTest&!Preview&!ADDomain&!Network&!AzureRTUpload&!AzureRTCleanUp"
All
"OneSDK&CIT"
- "Functional|AzureRTScenario"
- "Functional|AzureRTScenario|Preview"
- "Functional|AzureRTScenario|Sequential"
+ "Functional|AzureRTScenario|Sequential|AzureRTUpload|Network"
+ "Functional|AzureRTScenario"
+ "Functional|AzureRTScenario|Preview"
+ "AzureRTUpload|Sequential"
+ "AzureRTUpload|Sequential|Network"
@@ -113,6 +115,14 @@
+
+
+
+ <_StorSimpleTestAssembly>.\src\ServiceManagement\StorSimple\Commands.StorSimple.Test\bin\Debug\Microsoft.WindowsAzure.Commands.StorSimple.Test.dll
+
+
+
@@ -186,6 +196,14 @@
ContinueOnError="false" />
+
+
+
+
+
+
@@ -198,7 +216,7 @@
@@ -208,10 +226,10 @@
@@ -219,22 +237,56 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -243,7 +295,7 @@
Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(TestSettings) /category:Sequential /resultsfile:$(TestOutputDirectory)\RTAddVhdDebug.trx"
ContinueOnError="true" />
@@ -255,6 +307,14 @@
ContinueOnError="false" />
+
+
+
+
+
+
diff --git a/build.proj b/build.proj
index 2f3cf1d77e9b..f9b9a39c8122 100644
--- a/build.proj
+++ b/build.proj
@@ -195,7 +195,7 @@
-
+
diff --git a/setup/azurecmd.wxs b/setup/azurecmd.wxs
index 6c8904626739..d0914dbe14f3 100644
--- a/setup/azurecmd.wxs
+++ b/setup/azurecmd.wxs
@@ -5,7 +5,7 @@
-
+
diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi
index 3bcc9e71e4e9..05a52b0633ba 100644
--- a/setup/azurecmdfiles.wxi
+++ b/setup/azurecmdfiles.wxi
@@ -167,6 +167,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -322,6 +381,12 @@
+
+
+
+
+
+
@@ -388,6 +453,9 @@
+
+
+
@@ -406,6 +474,15 @@
+
+
+
+
+
+
+
+
+
@@ -433,12 +510,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -451,6 +543,9 @@
+
+
+
@@ -728,7 +823,7 @@
-
+
@@ -792,6 +887,9 @@
+
+
+
@@ -921,6 +1019,9 @@
+
+
+
@@ -1173,6 +1274,9 @@
+
+
+
@@ -1281,6 +1385,9 @@
+
+
+
@@ -1509,6 +1616,9 @@
+
+
+
@@ -1614,6 +1724,9 @@
+
+
+
@@ -1685,29 +1798,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1988,6 +2078,9 @@
+
+
+
@@ -2111,6 +2204,9 @@
+
+
+
@@ -2270,6 +2366,68 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2403,6 +2561,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2453,6 +2630,8 @@
+
+
@@ -2475,12 +2654,16 @@
+
+
+
+
@@ -2490,12 +2673,18 @@
+
+
+
+
+
+
@@ -2605,6 +2794,7 @@
+
@@ -2648,6 +2838,7 @@
+
@@ -2730,6 +2921,7 @@
+
@@ -2766,6 +2958,7 @@
+
@@ -2840,6 +3033,7 @@
+
@@ -2875,6 +3069,7 @@
+
@@ -2898,11 +3093,6 @@
-
-
-
-
-
@@ -2985,6 +3175,7 @@
+
@@ -3026,6 +3217,7 @@
+
@@ -3078,6 +3270,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/AzurePowershell.sln b/src/AzurePowershell.sln
index b6bafadf97b1..8be43bf6ad2e 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.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
@@ -151,10 +151,18 @@ 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
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -365,6 +373,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 +389,14 @@ 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
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -403,6 +427,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/ShowDialog.cs b/src/Common/Azure.Common.Extensions/Authentication/ShowDialog.cs
deleted file mode 100644
index 280aa3d804da..000000000000
--- a/src/Common/Azure.Common.Extensions/Authentication/ShowDialog.cs
+++ /dev/null
@@ -1,23 +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.Common.Extensions.Authentication
-{
- public enum ShowDialog
- {
- Auto,
- Always,
- Never
- }
-}
\ No newline at end of file
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..7c7db64eb253 100644
--- a/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj
+++ b/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj
@@ -58,7 +58,7 @@
False
- ..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.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/packages.config b/src/Common/Commands.Common.Storage/packages.config
index e4506f130cef..3b37ad98079a 100644
--- a/src/Common/Commands.Common.Storage/packages.config
+++ b/src/Common/Commands.Common.Storage/packages.config
@@ -3,7 +3,7 @@
-
+
@@ -14,7 +14,7 @@
-
+
diff --git a/src/Common/Commands.Common.Test/Commands.Common.Test.csproj b/src/Common/Commands.Common.Test/Commands.Common.Test.csproj
index e03df699a4ab..72de007a39a1 100644
--- a/src/Common/Commands.Common.Test/Commands.Common.Test.csproj
+++ b/src/Common/Commands.Common.Test/Commands.Common.Test.csproj
@@ -56,7 +56,7 @@
False
- ..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -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.0.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.Common.Test/Mocks/MockClientFactory.cs b/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs
index 68b6858db97f..f6f5cdbbb5fa 100644
--- a/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs
+++ b/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs
@@ -14,9 +14,12 @@
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;
@@ -26,7 +29,7 @@
namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks
{
- public class MockClientFactory : ClientFactory
+ public class MockClientFactory : IClientFactory
{
private readonly bool throwWhenNotAvailable;
@@ -34,11 +37,22 @@ 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(AzureSubscription subscription, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient
{
SubscriptionCloudCredentials creds = new TokenCloudCredentials(subscription.Id.ToString(), "fake_token");
if (HttpMockServer.GetCurrentMode() != HttpRecorderMode.Playback)
@@ -58,7 +72,7 @@ public override TClient CreateClient(AzureSubscription subscription, Az
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 +85,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 +96,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 +124,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/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..017a7b8159e3 100644
--- a/src/Common/Commands.Common.Test/packages.config
+++ b/src/Common/Commands.Common.Test/packages.config
@@ -3,7 +3,7 @@
-
+
@@ -15,8 +15,8 @@
-
-
+
+
diff --git a/src/Common/Commands.Common/AzurePowerShell.cs b/src/Common/Commands.Common/AzurePowerShell.cs
index 8a83a71d76c5..89eb873f080a 100644
--- a/src/Common/Commands.Common/AzurePowerShell.cs
+++ b/src/Common/Commands.Common/AzurePowerShell.cs
@@ -27,9 +27,9 @@ public class AzurePowerShell
public const string AssemblyCopyright = "Copyright © Microsoft";
- public const string AssemblyVersion = "0.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/Commands.Common.csproj b/src/Common/Commands.Common/Commands.Common.csproj
index 3215eca634f9..3a8653344463 100644
--- a/src/Common/Commands.Common/Commands.Common.csproj
+++ b/src/Common/Commands.Common/Commands.Common.csproj
@@ -60,7 +60,7 @@
False
- ..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.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/Properties/Resources.Designer.cs b/src/Common/Commands.Common/Properties/Resources.Designer.cs
index aadcee8cea7b..d3fef027128f 100644
--- a/src/Common/Commands.Common/Properties/Resources.Designer.cs
+++ b/src/Common/Commands.Common/Properties/Resources.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.34014
+// Runtime Version:4.0.30319.18449
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -249,52 +249,6 @@ public static string AzureDirectoryName {
}
}
- ///
- /// 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}..
///
@@ -1866,42 +1676,6 @@ public static string ManifestUri {
}
}
- ///
- /// 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/Common/Commands.Common/Properties/Resources.resx b/src/Common/Commands.Common/Properties/Resources.resx
index 9295f82d4c57..8374c78d8185 100644
--- a/src/Common/Commands.Common/Properties/Resources.resx
+++ b/src/Common/Commands.Common/Properties/Resources.resx
@@ -171,18 +171,6 @@
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 +180,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 +199,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 +208,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}.
@@ -716,18 +645,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.
diff --git a/src/Common/Commands.Common/packages.config b/src/Common/Commands.Common/packages.config
index a2d042d901c1..0b62e49baae0 100644
--- a/src/Common/Commands.Common/packages.config
+++ b/src/Common/Commands.Common/packages.config
@@ -4,7 +4,7 @@
-
+
@@ -14,7 +14,7 @@
-
+
\ No newline at end of file
diff --git a/src/Common/Commands.Profile/Commands.Profile.csproj b/src/Common/Commands.Profile/Commands.Profile.csproj
index 42fa311e25ad..a24af090e1af 100644
--- a/src/Common/Commands.Profile/Commands.Profile.csproj
+++ b/src/Common/Commands.Profile/Commands.Profile.csproj
@@ -55,7 +55,7 @@
False
- ..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -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
diff --git a/src/Common/Commands.Profile/packages.config b/src/Common/Commands.Profile/packages.config
index bdde83a6dc79..0f2b1ec77c46 100644
--- a/src/Common/Commands.Profile/packages.config
+++ b/src/Common/Commands.Profile/packages.config
@@ -3,13 +3,13 @@
-
+
-
+
\ No newline at end of file
diff --git a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
index 2e72218aa9cd..7580a909c892 100644
--- a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
+++ b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
@@ -46,7 +46,7 @@
False
- ..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -97,11 +97,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.0.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/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/packages.config b/src/Common/Commands.ScenarioTest/packages.config
index 366cc8d0a73a..d301118ab974 100644
--- a/src/Common/Commands.ScenarioTest/packages.config
+++ b/src/Common/Commands.ScenarioTest/packages.config
@@ -3,7 +3,7 @@
-
+
@@ -16,8 +16,8 @@
-
-
+
+
diff --git a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
index 9822e8b9c83f..d29351a05942 100644
--- a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
+++ b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
@@ -45,7 +45,7 @@
False
- ..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -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/packages.config b/src/Common/Commands.ScenarioTests.Common/packages.config
index 924f1c43ed10..d848dcfb4bb9 100644
--- a/src/Common/Commands.ScenarioTests.Common/packages.config
+++ b/src/Common/Commands.ScenarioTests.Common/packages.config
@@ -3,7 +3,7 @@
-
+
@@ -12,7 +12,7 @@
-
+
\ 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/Commands.Batch.Test.csproj b/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj
index 0b9a7c54d6e6..38901382309c 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj
+++ b/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj
@@ -46,7 +46,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -55,13 +55,14 @@
..\..\..\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
@@ -79,8 +80,9 @@
False
..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.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\Moq.4.2.1402.2112\lib\net40\Moq.dll
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/packages.config b/src/ResourceManager/Batch/Commands.Batch.Test/packages.config
index cb353aab22e0..8b73ff7326f8 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/packages.config
+++ b/src/ResourceManager/Batch/Commands.Batch.Test/packages.config
@@ -3,11 +3,11 @@
-
+
-
+
-
+
@@ -15,7 +15,7 @@
-
+
diff --git a/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj b/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj
index 77a2bc161da2..cd547b4773cf 100644
--- a/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj
+++ b/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj
@@ -49,7 +49,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -81,9 +81,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/Batch/Commands.Batch/packages.config b/src/ResourceManager/Batch/Commands.Batch/packages.config
index cc8fad4873ab..c29bfcff95e0 100644
--- a/src/ResourceManager/Batch/Commands.Batch/packages.config
+++ b/src/ResourceManager/Batch/Commands.Batch/packages.config
@@ -3,7 +3,7 @@
-
+
@@ -11,6 +11,6 @@
-
+
\ 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..f56d5bcfc7e1 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj
@@ -47,9 +47,9 @@
..\..\..\packages\Microsoft.Azure.Common.2.0.1\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.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ True
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -58,13 +58,15 @@
..\..\..\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.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
@@ -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/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config
index ebb43155d733..be98726f7488 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config
@@ -3,11 +3,11 @@
-
+
-
+
-
+
@@ -16,7 +16,7 @@
-
+
diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj
index 7dea4b49cd3e..9374f33d7437 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj
@@ -56,7 +56,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -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/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/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config
index b8e25f318f05..59c6dd35c222 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config
@@ -3,7 +3,7 @@
-
+
@@ -13,6 +13,6 @@
-
+
\ 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..06b31f034efe
--- /dev/null
+++ b/src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.csproj
@@ -0,0 +1,196 @@
+
+
+
+
+
+ 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.1\lib\portable-net403+win+wpa81\Hyak.Common.dll
+
+
+ ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+
+
+ ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
+
+
+ ..\..\..\packages\Microsoft.Azure.Insights.0.7.0-preview\lib\net45\Microsoft.Azure.Insights.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.HttpRecorder.1.0.5486.28526-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
+
+
+ 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
+
+
+ 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
+
+
+ ..\..\..\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..150c072976ae
--- /dev/null
+++ b/src/ResourceManager/Insights/Commands.Insights.Test/Events/Utilities.cs
@@ -0,0 +1,250 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES 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.ToString("O");
+ 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).ToString("O");
+ 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);
+ }
+ }
+}
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..6559e76ba32e
--- /dev/null
+++ b/src/ResourceManager/Insights/Commands.Insights.Test/packages.config
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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..6b85adf524b3
--- /dev/null
+++ b/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj
@@ -0,0 +1,136 @@
+
+
+
+
+ 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.1\lib\portable-net403+win+wpa81\Hyak.Common.dll
+
+
+ ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
+
+
+ ..\..\..\packages\Microsoft.Azure.Insights.0.7.0-preview\lib\net45\Microsoft.Azure.Insights.dll
+
+
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+
+
+ ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\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.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.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..fa21a9f56825
--- /dev/null
+++ b/src/ResourceManager/Insights/Commands.Insights/EventCmdletBase.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;
+using System.Collections.Generic;
+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
+ {
+ internal static readonly TimeSpan DefaultQueryTimeRange = TimeSpan.FromHours(-1);
+
+ internal static 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")]
+ [ValidateNotNullOrEmpty]
+ public string StartTime { get; set; }
+
+ ///
+ /// Gets or sets the endtime parameter of the cmdlet
+ ///
+ [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "The endTime of the query")]
+ [ValidateNotNullOrEmpty]
+ public string 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;
+ }
+
+ ///
+ /// 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()
+ {
+ DateTime startTime;
+ if (string.IsNullOrWhiteSpace(this.StartTime))
+ {
+ // Default to one hour from Now
+ startTime = DateTime.Now.Subtract(DefaultQueryTimeRange);
+ }
+ else if (!DateTime.TryParse(this.StartTime, out startTime))
+ {
+ throw new ArgumentException("Unable to parse startTime argument");
+ }
+
+ string queryFilter;
+
+ // EndTime is optional
+ if (string.IsNullOrWhiteSpace(this.EndTime))
+ {
+ queryFilter = string.Format("eventTimestamp ge '{0:o}'", startTime.ToUniversalTime());
+ }
+ else
+ {
+ DateTime endTime;
+ if (!DateTime.TryParse(this.EndTime, out endTime))
+ {
+ throw new ArgumentException("Unable to parse endTime argument");
+ }
+
+ queryFilter = string.Format("eventTimestamp ge '{0:o}' and eventTimestamp le '{1:o}'", startTime.ToUniversalTime(), endTime.ToUniversalTime());
+ }
+
+ // 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..86db7690ec29
--- /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.Extensions;
+using Microsoft.Azure.Common.Extensions.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(CurrentContext, 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..ea014ffb68fb
--- /dev/null
+++ b/src/ResourceManager/Insights/Commands.Insights/Microsoft.Azure.Commands.Insights.dll-Help.xml
@@ -0,0 +1,1284 @@
+
+
+
+
+
+ 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.
+
+ String
+
+
+ EndTime
+
+ Specifies the end time of the query in local time.
+
+ String
+
+
+ Status
+
+ Specifies a filter by status.
+
+ String
+
+
+ Caller
+
+ Specifies a filter by caller.
+
+ String
+
+
+ DetailedOutput
+
+ If present it indicates that the output will be detailed.
+
+ SwitchParameter
+
+
+
+
+
+ StartTime
+
+ Specifies the start time of the query in local time. This parameter is optional. The default is the current local time minus one hour.
+
+ String
+
+ String
+
+
+
+
+
+ EndTime
+
+ Specifies the end time of the query in local time. This parameter is optional. The default is the current time.
+
+ String
+
+ String
+
+
+
+
+
+ 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
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Get-AzureSubscriptionIdLog --------------------------
+
+ 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: Get-AzureSubscriptionIdLog 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: Get-AzureSubscriptionIdLog 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
+
+
+
+
+
+
+
+
+ Get-AzureCorrelationIdLog
+
+ Gets the operations associated with a CorrelationId
+
+
+
+
+ Get
+ AzureCorrelationIdLog
+
+
+
+ Gets the operations associated with a CorrelationId.
+
+
+
+ Get-AzureCorrelationIdLog
+
+ StartTime
+
+ Specifies the start time of the query in local time.
+
+ String
+
+
+ EndTime
+
+ Specifies the end time of the query in local time.
+
+ String
+
+
+ Status
+
+ Specifies a filter by status.
+
+ String
+
+
+ Caller
+
+ Specifies a filter by caller.
+
+ String
+
+
+ DetailedOutput
+
+ If present it indicates that the output will be detailed.
+
+ SwitchParameter
+
+
+ CorrelationId
+
+ Specifies the correlationId of the query.
+
+ String
+
+
+
+
+
+ StartTime
+
+ Specifies the start time of the query in local time. This parameter is optional. The default is the current local time minus one hour.
+
+ String
+
+ String
+
+
+
+
+
+ EndTime
+
+ Specifies the end time of the query in local time. This parameter is optional. The default is the current time.
+
+ String
+
+ String
+
+
+
+
+
+ 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
+
+
+
+
+
+ CorrelationId
+
+ Specifies a filter by correlationId. This parameter is madatory.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Get-AzureCorrelationIdLog --------------------------
+
+ 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: Get-AzureCorrelationIdLog 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: Get-AzureCorrelationIdLog 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
+
+ StartTime
+
+ Specifies the start time of the query in local time.
+
+ String
+
+
+ EndTime
+
+ Specifies the end time of the query in local time.
+
+ String
+
+
+ Status
+
+ Specifies a filter by status.
+
+ String
+
+
+ Caller
+
+ Specifies a filter by caller.
+
+ String
+
+
+ DetailedOutput
+
+ If present it indicates that the output will be detailed.
+
+ SwitchParameter
+
+
+ ResourceGroup
+
+ Specifies the start time of the query.
+
+ String
+
+
+
+
+
+ StartTime
+
+ Specifies the start time of the query in local time. This parameter is optional. The default is the current local time minus one hour.
+
+ String
+
+ String
+
+
+
+
+
+ EndTime
+
+ Specifies the end time of the query in local time. This parameter is optional. The default is the current time.
+
+ String
+
+ String
+
+
+
+
+
+ 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
+
+
+
+
+
+ ResourceGroup
+
+ Specifies a filter by ResourceGroup. This parameter is mandatory.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Get-AzureResourceGroupLog --------------------------
+
+ 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: Get-AzureResourceGroupLog 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: Get-AzureResourceGroupLog 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
+
+ StartTime
+
+ Specifies the start time of the query in local time.
+
+ String
+
+
+ EndTime
+
+ Specifies the end time of the query in local time.
+
+ String
+
+
+ Status
+
+ Specifies a filter by status.
+
+ String
+
+
+ Caller
+
+ Specifies a filter by caller.
+
+ String
+
+
+ DetailedOutput
+
+ If present it indicates that the output will be detailed.
+
+ SwitchParameter
+
+
+ ResourceId
+
+ Specifies a filter by ResourceId.
+
+ String
+
+
+
+
+
+ StartTime
+
+ Specifies the start time of the query in local time. This parameter is optional. The default is the current local time minus one hour.
+
+ String
+
+ String
+
+
+
+
+
+ EndTime
+
+ Specifies the end time of the query in local time. This parameter is optional. The default is the current time.
+
+ String
+
+ String
+
+
+
+
+
+ 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
+
+
+
+
+
+ ResourceId
+
+ Specifies a filter by ResoruceId. This parameter is mandatory.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Get-AzureResourceLog --------------------------
+
+ 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: Get-AzureResourceLog 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: Get-AzureResourceLog 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
+
+ StartTime
+
+ Specifies the start time of the query in local time.
+
+ String
+
+
+ EndTime
+
+ Specifies the end time of the query in local time.
+
+ String
+
+
+ Status
+
+ Specifies a filter by status.
+
+ String
+
+
+ Caller
+
+ Specifies a filter by caller.
+
+ String
+
+
+ DetailedOutput
+
+ If present it indicates that the output will be detailed.
+
+ SwitchParameter
+
+
+ ResourceProvider
+
+ Specifies a filter by Resource Provider.
+
+ String
+
+
+
+
+
+ StartTime
+
+ Specifies the start time of the query in local time. This parameter is optional. The default is the current local time minus one hour.
+
+ String
+
+ String
+
+
+
+
+
+ EndTime
+
+ Specifies the end time of the query in local time. This parameter is optional. The default is the current time.
+
+ String
+
+ String
+
+
+
+
+
+ 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
+
+
+
+
+
+ ResourceProvider
+
+ Specifies a filter by ResourceProvider. This parameter is mandatory.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Get-AzureResourceProviderLog --------------------------
+
+ 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: Get-AzureResourceProviderLog 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: Get-AzureResourceProviderLog 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
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Common/Azure.Common.Extensions/Interfaces/IProfileSerializer.cs b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/IPSEventData.cs
similarity index 62%
rename from src/Common/Azure.Common.Extensions/Interfaces/IProfileSerializer.cs
rename to src/ResourceManager/Insights/Commands.Insights/OutputClasses/IPSEventData.cs
index f48d90657495..05781af2eb7a 100644
--- a/src/Common/Azure.Common.Extensions/Interfaces/IProfileSerializer.cs
+++ b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/IPSEventData.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.Azure.Commands.Insights.OutputClasses
{
- public interface IProfileSerializer
+ ///
+ /// 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
{
- string Serialize(AzureProfile profile);
-
- bool Deserialize(string contents, AzureProfile profile);
-
- IList DeserializeErrors { get; }
}
}
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 56%
rename from src/Common/Azure.Common.Extensions/packages.config
rename to src/ResourceManager/Insights/Commands.Insights/packages.config
index 56b52b68db88..d0ece5276843 100644
--- a/src/Common/Azure.Common.Extensions/packages.config
+++ b/src/ResourceManager/Insights/Commands.Insights/packages.config
@@ -1,18 +1,21 @@
-
-
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
+
-
+
+
\ 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..1e046ea14c34 100644
--- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj
+++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj
@@ -56,7 +56,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.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..8809447d2bc4 100644
--- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config
+++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config
@@ -3,7 +3,7 @@
-
+
@@ -12,7 +12,7 @@
-
+
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..69e3dde3333a 100644
--- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj
+++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj
@@ -92,7 +92,6 @@
-
@@ -116,7 +115,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -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/KeyVaultCmdletBase.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultCmdletBase.cs
index 2b6c2865c29f..db5d4cc5b0cb 100644
--- a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultCmdletBase.cs
+++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultCmdletBase.cs
@@ -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
diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs
index 25fc99a3200c..1b77127cc288 100644
--- a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs
+++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs
@@ -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..0f2b1ec77c46 100644
--- a/src/ResourceManager/KeyVault/Commands.KeyVault/packages.config
+++ b/src/ResourceManager/KeyVault/Commands.KeyVault/packages.config
@@ -3,13 +3,13 @@
-
+
-
+
\ 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..28d1148eb761 100644
--- a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj
+++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj
@@ -49,7 +49,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -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/packages.config b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config
index 6a593376f14f..c1656b65270d 100644
--- a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config
+++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config
@@ -3,7 +3,7 @@
-
+
@@ -13,7 +13,7 @@
-
+
diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj
index e754d5f89adc..94a9159f6c79 100644
--- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj
+++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj
@@ -54,7 +54,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -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/packages.config b/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config
index 7020401c726a..db728279d1a6 100644
--- a/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config
+++ b/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config
@@ -3,7 +3,7 @@
-
+
@@ -11,6 +11,6 @@
-
+
\ 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..0325d68d6f7a 100644
--- a/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj
+++ b/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj
@@ -50,8 +50,9 @@
..\..\..\packages\Microsoft.Azure.Common.2.0.1\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.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -64,10 +65,11 @@
..\..\..\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
@@ -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/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..a84ae4e10d7d 100644
--- a/src/ResourceManager/Resources/Commands.Resources.Test/packages.config
+++ b/src/ResourceManager/Resources/Commands.Resources.Test/packages.config
@@ -3,11 +3,11 @@
-
+
-
-
+
+
@@ -15,7 +15,7 @@
-
+
diff --git a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1
index 1f4b4a66bb35..e8ac25f5fb5f 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,9 @@ 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'
)
# 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..1866b0860e5f 100644
--- a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj
+++ b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj
@@ -56,7 +56,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -70,12 +70,12 @@
..\..\..\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
@@ -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
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/packages.config b/src/ResourceManager/Resources/Commands.Resources/packages.config
index 20bd02c78906..ce2dd4e792fd 100644
--- a/src/ResourceManager/Resources/Commands.Resources/packages.config
+++ b/src/ResourceManager/Resources/Commands.Resources/packages.config
@@ -3,16 +3,16 @@
-
+
-
-
+
+
-
+
\ 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..7df915826240 100644
--- a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj
+++ b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj
@@ -49,7 +49,8 @@
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ True
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -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/packages.config b/src/ResourceManager/Sql/Commands.Sql.Test/packages.config
index 42d2cb91ae76..9b6a2f4216c5 100644
--- a/src/ResourceManager/Sql/Commands.Sql.Test/packages.config
+++ b/src/ResourceManager/Sql/Commands.Sql.Test/packages.config
@@ -3,7 +3,7 @@
-
+
@@ -14,7 +14,7 @@
-
+
diff --git a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj
index ee3d99a36601..9d6cbc5a9735 100644
--- a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj
+++ b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj
@@ -97,7 +97,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.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/packages.config b/src/ResourceManager/Sql/Commands.Sql/packages.config
index 2f6f80a9e08f..09e3bde991b1 100644
--- a/src/ResourceManager/Sql/Commands.Sql/packages.config
+++ b/src/ResourceManager/Sql/Commands.Sql/packages.config
@@ -3,7 +3,7 @@
-
+
@@ -15,7 +15,7 @@
-
+
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..0c2cde5eb67f 100644
--- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj
@@ -47,7 +47,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -56,13 +56,15 @@
..\..\..\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
@@ -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/packages.config b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config
index aa6737e3b631..2f6bd6e78138 100644
--- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config
@@ -3,10 +3,10 @@
-
+
-
-
+
+
@@ -15,7 +15,7 @@
-
+
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj
index ad7ec1ae6c11..09e55466fb89 100644
--- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj
@@ -56,7 +56,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -76,9 +76,9 @@
..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\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/packages.config b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config
index 85d8cae6409d..fc1aec7e7eec 100644
--- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config
@@ -3,7 +3,7 @@
-
+
@@ -11,6 +11,6 @@
-
+
\ 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..61c82ffd2c07 100644
--- a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj
+++ b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj
@@ -56,7 +56,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -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/packages.config b/src/ResourceManager/Tags/Commands.Tags/packages.config
index bdde83a6dc79..0f2b1ec77c46 100644
--- a/src/ResourceManager/Tags/Commands.Tags/packages.config
+++ b/src/ResourceManager/Tags/Commands.Tags/packages.config
@@ -3,13 +3,13 @@
-
+
-
+
\ 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..f837e2b26dec 100644
--- a/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj
+++ b/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj
@@ -55,7 +55,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.14.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll
..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll
@@ -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