diff --git a/AzurePowershell.Test.targets b/AzurePowershell.Test.targets
index f31479edbba2..efe88235c84e 100644
--- a/AzurePowershell.Test.targets
+++ b/AzurePowershell.Test.targets
@@ -14,6 +14,7 @@
.\src\ServiceManagement\Services\Commands.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Test.dll
.\src\ResourceManager\Resources\Commands.Resources.Test\bin\Debug\Microsoft.Azure.Commands.Resources.Test.dll
.\src\ResourceManager\DataFactories\Commands.DataFactories.Test\bin\Debug\Microsoft.Azure.Commands.DataFactories.Test.dll
+ .\src\ResourceManager\StreamAnalytics\Commands.StreamAnalytics.Test\bin\Debug\Microsoft.Azure.Commands.StreamAnalytics.Test.dll
.\src\ResourceManager\Batch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll
.\src\ServiceManagement\Compute\Commands.ServiceManagement.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Test.dll
.\src\ServiceManagement\Compute\Commands.ServiceManagement.Extensions.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.Test.dll
@@ -69,6 +70,11 @@
ExcludeTraits="$(XUnitExcludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
+
+
+
+
-
+
diff --git a/setup/azurecmd.wxs b/setup/azurecmd.wxs
index fd9a98bbd475..aeb953834b9e 100644
--- a/setup/azurecmd.wxs
+++ b/setup/azurecmd.wxs
@@ -1,11 +1,11 @@
-
+
-
+
diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi
index a32a2abc0bf9..4c5401b9c16c 100644
--- a/setup/azurecmdfiles.wxi
+++ b/setup/azurecmdfiles.wxi
@@ -248,6 +248,15 @@
+
+
+
+
+
+
+
+
+
@@ -275,6 +284,9 @@
+
+
+
@@ -398,6 +410,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -581,6 +670,12 @@
+
+
+
+
+
+
@@ -923,6 +1018,12 @@
+
+
+
+
+
+
@@ -1099,6 +1200,9 @@
+
+
+
@@ -1114,9 +1218,15 @@
+
+
+
+
+
+
@@ -1205,6 +1315,12 @@
+
+
+
+
+
+
@@ -1298,9 +1414,6 @@
-
-
-
@@ -1669,6 +1782,12 @@
+
+
+
+
+
+
@@ -2059,6 +2178,9 @@
+
+
+
@@ -2068,6 +2190,7 @@
+
@@ -2108,6 +2231,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2166,6 +2314,8 @@
+
+
@@ -2278,6 +2428,8 @@
+
+
@@ -2336,12 +2488,15 @@
+
+
+
@@ -2370,6 +2525,8 @@
+
+
@@ -2401,7 +2558,6 @@
-
@@ -2510,6 +2666,8 @@
+
+
diff --git a/src/AzurePowershell.sln b/src/AzurePowershell.sln
index d06e75409380..3f7fd0758a94 100644
--- a/src/AzurePowershell.sln
+++ b/src/AzurePowershell.sln
@@ -147,6 +147,12 @@ 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.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}") = "Common.Extensions", "Common\Azure.Common.Extensions\Common.Extensions.csproj", "{B95C489C-8CB7-4DCF-8D5F-B9AEBDBBAF89}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -349,6 +355,18 @@ 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
+ {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
+ {F49A314A-A235-47D3-A654-1EC19ACA366C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7E6683BE-ECFF-4709-89EB-1325E9E70512}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {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
+ {B95C489C-8CB7-4DCF-8D5F-B9AEBDBBAF89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B95C489C-8CB7-4DCF-8D5F-B9AEBDBBAF89}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B95C489C-8CB7-4DCF-8D5F-B9AEBDBBAF89}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B95C489C-8CB7-4DCF-8D5F-B9AEBDBBAF89}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -378,5 +396,6 @@ Global
{F4ABAD68-64A5-4B23-B09C-42559A7524DE} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{FDB897BD-FCB4-44A1-8D66-AC99F22EC737} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{A415F75B-EB6A-49A6-934E-5BA71B83D6EB} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ {7E6683BE-ECFF-4709-89EB-1325E9E70512} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
EndGlobalSection
EndGlobal
diff --git a/src/Common/Commands.Common/Authentication/AadAuthenticationException.cs b/src/Common/Azure.Common.Extensions/Authentication/AadAuthenticationException.cs
similarity index 97%
rename from src/Common/Commands.Common/Authentication/AadAuthenticationException.cs
rename to src/Common/Azure.Common.Extensions/Authentication/AadAuthenticationException.cs
index dbfaf1abb52f..fa0d2484f439 100644
--- a/src/Common/Commands.Common/Authentication/AadAuthenticationException.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/AadAuthenticationException.cs
@@ -14,7 +14,7 @@
using System;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
///
/// Base class representing an exception that occurs when
diff --git a/src/Common/Commands.Common/Authentication/AccessTokenCredential.cs b/src/Common/Azure.Common.Extensions/Authentication/AccessTokenCredential.cs
similarity index 95%
rename from src/Common/Commands.Common/Authentication/AccessTokenCredential.cs
rename to src/Common/Azure.Common.Extensions/Authentication/AccessTokenCredential.cs
index 9addc44ee361..270178958487 100644
--- a/src/Common/Commands.Common/Authentication/AccessTokenCredential.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/AccessTokenCredential.cs
@@ -12,13 +12,14 @@
// 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.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
public class AccessTokenCredential : SubscriptionCloudCredentials
{
diff --git a/src/Common/Commands.Common/Authentication/AdalConfiguration.cs b/src/Common/Azure.Common.Extensions/Authentication/AdalConfiguration.cs
similarity index 97%
rename from src/Common/Commands.Common/Authentication/AdalConfiguration.cs
rename to src/Common/Azure.Common.Extensions/Authentication/AdalConfiguration.cs
index 80fc09992933..9ee7fd8909f8 100644
--- a/src/Common/Commands.Common/Authentication/AdalConfiguration.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/AdalConfiguration.cs
@@ -15,7 +15,7 @@
using System;
using System.Linq;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
///
/// Class storing the configuration information needed
diff --git a/src/Common/Commands.Common/Authentication/AdalTokenProvider.cs b/src/Common/Azure.Common.Extensions/Authentication/AdalTokenProvider.cs
similarity index 92%
rename from src/Common/Commands.Common/Authentication/AdalTokenProvider.cs
rename to src/Common/Azure.Common.Extensions/Authentication/AdalTokenProvider.cs
index 0d52ba5ada44..f0e67eecc122 100644
--- a/src/Common/Commands.Common/Authentication/AdalTokenProvider.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/AdalTokenProvider.cs
@@ -12,13 +12,13 @@
// 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;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
///
/// A token provider that uses ADAL to retrieve
diff --git a/src/Common/Commands.Common/Authentication/ConsoleParentWindow.cs b/src/Common/Azure.Common.Extensions/Authentication/ConsoleParentWindow.cs
similarity index 94%
rename from src/Common/Commands.Common/Authentication/ConsoleParentWindow.cs
rename to src/Common/Azure.Common.Extensions/Authentication/ConsoleParentWindow.cs
index d6e227b84b8c..7d33c8569062 100644
--- a/src/Common/Commands.Common/Authentication/ConsoleParentWindow.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/ConsoleParentWindow.cs
@@ -16,7 +16,7 @@
using System.Runtime.InteropServices;
using System.Windows.Forms;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
///
/// An implementation of that gives the
diff --git a/src/Common/Commands.Common/Authentication/CredStore.cs b/src/Common/Azure.Common.Extensions/Authentication/CredStore.cs
similarity index 98%
rename from src/Common/Commands.Common/Authentication/CredStore.cs
rename to src/Common/Azure.Common.Extensions/Authentication/CredStore.cs
index c5806e67f11f..598019f64f9a 100644
--- a/src/Common/Commands.Common/Authentication/CredStore.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/CredStore.cs
@@ -16,7 +16,7 @@
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
///
/// Class wrapping PInvoke signatures for Windows Credential store
diff --git a/src/Common/Commands.Common/Authentication/IAccessToken.cs b/src/Common/Azure.Common.Extensions/Authentication/IAccessToken.cs
similarity index 93%
rename from src/Common/Commands.Common/Authentication/IAccessToken.cs
rename to src/Common/Azure.Common.Extensions/Authentication/IAccessToken.cs
index 8db903887322..7952623bbec7 100644
--- a/src/Common/Commands.Common/Authentication/IAccessToken.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/IAccessToken.cs
@@ -14,7 +14,7 @@
using System;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
public interface IAccessToken
{
diff --git a/src/Common/Commands.Common/Authentication/ITokenProvider.cs b/src/Common/Azure.Common.Extensions/Authentication/ITokenProvider.cs
similarity index 93%
rename from src/Common/Commands.Common/Authentication/ITokenProvider.cs
rename to src/Common/Azure.Common.Extensions/Authentication/ITokenProvider.cs
index 71ea49ec791e..ea2ab77ce749 100644
--- a/src/Common/Commands.Common/Authentication/ITokenProvider.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/ITokenProvider.cs
@@ -12,10 +12,10 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions.Models;
using System.Security;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
///
/// This interface represents objects that can be used
diff --git a/src/Common/Commands.Common/Authentication/LoginType.cs b/src/Common/Azure.Common.Extensions/Authentication/LoginType.cs
similarity index 93%
rename from src/Common/Commands.Common/Authentication/LoginType.cs
rename to src/Common/Azure.Common.Extensions/Authentication/LoginType.cs
index f812412acf0f..e8b3a3ebed17 100644
--- a/src/Common/Commands.Common/Authentication/LoginType.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/LoginType.cs
@@ -12,7 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
public enum LoginType
{
diff --git a/src/Common/Commands.Common/Authentication/ProtectedFileTokenCache.cs b/src/Common/Azure.Common.Extensions/Authentication/ProtectedFileTokenCache.cs
similarity index 96%
rename from src/Common/Commands.Common/Authentication/ProtectedFileTokenCache.cs
rename to src/Common/Azure.Common.Extensions/Authentication/ProtectedFileTokenCache.cs
index f313eed7b143..2ff115cc3501 100644
--- a/src/Common/Commands.Common/Authentication/ProtectedFileTokenCache.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/ProtectedFileTokenCache.cs
@@ -12,13 +12,12 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System;
using System.IO;
using System.Security.Cryptography;
-using Microsoft.IdentityModel.Clients.ActiveDirectory;
-using Microsoft.WindowsAzure.Commands.Common;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
///
/// An implementation of the Adal token cache that stores the cache items
@@ -26,7 +25,7 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
///
public class ProtectedFileTokenCache : TokenCache
{
- private static readonly string CacheFileName = Path.Combine(AzurePowerShell.ProfileDirectory, "TokenCache.dat");
+ private static readonly string CacheFileName = Path.Combine(AzureSession.ProfileDirectory, AzureSession.TokenCacheFile);
private static readonly object fileLock = new object();
diff --git a/src/Common/Commands.Common/Authentication/ServicePrincipalKeyStore.cs b/src/Common/Azure.Common.Extensions/Authentication/ServicePrincipalKeyStore.cs
similarity index 95%
rename from src/Common/Commands.Common/Authentication/ServicePrincipalKeyStore.cs
rename to src/Common/Azure.Common.Extensions/Authentication/ServicePrincipalKeyStore.cs
index 5d21da36a76d..afba969a1ad5 100644
--- a/src/Common/Commands.Common/Authentication/ServicePrincipalKeyStore.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/ServicePrincipalKeyStore.cs
@@ -15,10 +15,9 @@
using System;
using System.Runtime.InteropServices;
using System.Security;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
using FILETIME = System.Runtime.InteropServices.ComTypes.FILETIME;
-namespace Microsoft.WindowsAzure.Commands.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
///
/// Helper class to store service principal keys and retrieve them
@@ -27,7 +26,7 @@ namespace Microsoft.WindowsAzure.Commands.Common.Authentication
public static class ServicePrincipalKeyStore
{
private const string keyStoreUserName = "PowerShellServicePrincipalKey";
- private const string targetNamePrefix = "AzurePowershell:target=";
+ private const string targetNamePrefix = "AzureSession:target=";
public static void SaveKey(string appId, string tenantId, SecureString serviceKey)
{
diff --git a/src/Common/Commands.Common/Authentication/ServicePrincipalTokenProvider.cs b/src/Common/Azure.Common.Extensions/Authentication/ServicePrincipalTokenProvider.cs
similarity index 95%
rename from src/Common/Commands.Common/Authentication/ServicePrincipalTokenProvider.cs
rename to src/Common/Azure.Common.Extensions/Authentication/ServicePrincipalTokenProvider.cs
index ccd5b57f20aa..cd959c9a5bde 100644
--- a/src/Common/Commands.Common/Authentication/ServicePrincipalTokenProvider.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/ServicePrincipalTokenProvider.cs
@@ -12,15 +12,14 @@
// 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;
-using Microsoft.IdentityModel.Clients.ActiveDirectory;
-using Microsoft.WindowsAzure.Commands.Common.Authentication;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
internal class ServicePrincipalTokenProvider : ITokenProvider
{
diff --git a/src/Common/Commands.Common/Authentication/ShowDialog.cs b/src/Common/Azure.Common.Extensions/Authentication/ShowDialog.cs
similarity index 91%
rename from src/Common/Commands.Common/Authentication/ShowDialog.cs
rename to src/Common/Azure.Common.Extensions/Authentication/ShowDialog.cs
index a3669e7c8835..280aa3d804da 100644
--- a/src/Common/Commands.Common/Authentication/ShowDialog.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/ShowDialog.cs
@@ -12,7 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
public enum ShowDialog
{
diff --git a/src/Common/Commands.Common/Authentication/UserTokenProvider.cs b/src/Common/Azure.Common.Extensions/Authentication/UserTokenProvider.cs
similarity index 98%
rename from src/Common/Commands.Common/Authentication/UserTokenProvider.cs
rename to src/Common/Azure.Common.Extensions/Authentication/UserTokenProvider.cs
index d94ffe98da93..08615e9e96b5 100644
--- a/src/Common/Commands.Common/Authentication/UserTokenProvider.cs
+++ b/src/Common/Azure.Common.Extensions/Authentication/UserTokenProvider.cs
@@ -12,16 +12,16 @@
// 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;
-using Microsoft.IdentityModel.Clients.ActiveDirectory;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication
+namespace Microsoft.Azure.Common.Extensions.Authentication
{
///
/// A token provider that uses ADAL to retrieve
diff --git a/src/Common/Commands.Common/AzureSession.cs b/src/Common/Azure.Common.Extensions/AzureSession.cs
similarity index 73%
rename from src/Common/Commands.Common/AzureSession.cs
rename to src/Common/Azure.Common.Extensions/AzureSession.cs
index 3c92b0eed95d..fa1bb66de832 100644
--- a/src/Common/Commands.Common/AzureSession.cs
+++ b/src/Common/Azure.Common.Extensions/AzureSession.cs
@@ -12,28 +12,32 @@
// 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.Collections.Generic;
-using Microsoft.WindowsAzure.Commands.Common.Common;
-using Microsoft.WindowsAzure.Commands.Common.Factories;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
-
-namespace Microsoft.WindowsAzure.Commands.Common
+using System.IO;
+
+namespace Microsoft.Azure.Common.Extensions
{
public static class AzureSession
{
static AzureSession()
{
- ClientFactory = new AzurePowerShellClientFactory();
+ 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 AzureContext CurrentContext { get; private set; }
public static void SetCurrentContext(AzureSubscription subscription, AzureEnvironment environment, AzureAccount account)
{
@@ -89,5 +93,15 @@ public static void SetCurrentContext(AzureSubscription subscription, AzureEnviro
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
new file mode 100644
index 000000000000..65358fb47311
--- /dev/null
+++ b/src/Common/Azure.Common.Extensions/Common.Extensions.csproj
@@ -0,0 +1,203 @@
+
+
+
+
+ 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/Commands.Common/Common/AzureModule.cs b/src/Common/Azure.Common.Extensions/Common/AzureModule.cs
similarity index 93%
rename from src/Common/Commands.Common/Common/AzureModule.cs
rename to src/Common/Azure.Common.Extensions/Common/AzureModule.cs
index 3a4fa4bb960e..a6da65469b58 100644
--- a/src/Common/Commands.Common/Common/AzureModule.cs
+++ b/src/Common/Azure.Common.Extensions/Common/AzureModule.cs
@@ -12,7 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common
+namespace Microsoft.Azure.Common.Extensions
{
public enum AzureModule
{
diff --git a/src/Common/Commands.Common/Common/ProfileClient.cs b/src/Common/Azure.Common.Extensions/Common/ProfileClient.cs
similarity index 89%
rename from src/Common/Commands.Common/Common/ProfileClient.cs
rename to src/Common/Azure.Common.Extensions/Common/ProfileClient.cs
index 9e89e74ff103..968017faa1ae 100644
--- a/src/Common/Commands.Common/Common/ProfileClient.cs
+++ b/src/Common/Azure.Common.Extensions/Common/ProfileClient.cs
@@ -12,21 +12,21 @@
// 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;
-using Microsoft.Azure.Subscriptions;
-using Microsoft.WindowsAzure.Commands.Common.Factories;
-using Microsoft.WindowsAzure.Commands.Common.Interfaces;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
-
-namespace Microsoft.WindowsAzure.Commands.Common
+
+namespace Microsoft.Azure.Common.Extensions
{
///
/// Convenience client for azure profile and subscriptions.
@@ -59,13 +59,13 @@ private void WriteWarningMessage(string message)
private static void UpgradeProfile()
{
- string oldProfileFilePath = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.OldProfileFile);
- string oldProfileFilePathBackup = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.OldProfileFileBackup);
- string newProfileFilePath = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.ProfileFile);
+ 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(AzurePowerShell.ProfileDirectory,
- AzurePowerShell.OldProfileFile);
+ string oldProfilePath = System.IO.Path.Combine(AzureSession.ProfileDirectory,
+ AzureSession.OldProfileFile);
try
{
@@ -80,7 +80,7 @@ private static void UpgradeProfile()
}
AzureProfile oldProfile = new AzureProfile(DataStore, oldProfilePath);
-
+
if (DataStore.FileExists(newProfileFilePath))
{
// Merge profile files
@@ -111,7 +111,7 @@ private static void UpgradeProfile()
// Save the profile to the disk
oldProfile.Save();
-
+
// Rename WindowsAzureProfile.xml to WindowsAzureProfile.json
DataStore.RenameFile(oldProfilePath, newProfileFilePath);
@@ -137,7 +137,7 @@ static ProfileClient()
}
public ProfileClient()
- : this(System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.ProfileFile))
+ : this(System.IO.Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))
{
}
@@ -173,17 +173,14 @@ public AzureAccount AddAccountAndLoadSubscriptions(AzureAccount account, AzureEn
}
var subscriptionsFromServer = ListSubscriptionsFromServer(
- account,
- environment,
- password,
+ account,
+ environment,
+ password,
password == null ? ShowDialog.Always : ShowDialog.Never).ToList();
-
+
// If account id is null the login failed
if (account.Id != null)
{
- // Add the account to the profile
- AddOrSetAccount(account);
-
// Update back Profile.Subscriptions
foreach (var subscription in subscriptionsFromServer)
{
@@ -276,7 +273,7 @@ public AzureAccount GetAccountOrNull(string accountName)
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");
@@ -288,7 +285,7 @@ public AzureAccount GetAccount(string accountName)
public IEnumerable ListAccounts(string accountName)
{
List accounts = new List();
-
+
if (!string.IsNullOrEmpty(accountName))
{
if (Profile.Accounts.ContainsKey(accountName))
@@ -684,11 +681,12 @@ private IEnumerable ListSubscriptionsFromServerForAllAccounts
private IEnumerable ListSubscriptionsFromServer(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior)
{
+ string[] tenants = null;
try
{
if (!account.IsPropertySet(AzureAccount.Property.Tenants))
{
- LoadAccountTenants(account, environment, password, promptBehavior);
+ tenants = LoadAccountTenants(account, environment, password, promptBehavior);
}
}
catch (AadAuthenticationException aadEx)
@@ -699,15 +697,14 @@ private IEnumerable ListSubscriptionsFromServer(AzureAccount
try
{
+ tenants = tenants ?? account.GetPropertyAsArray(AzureAccount.Property.Tenants);
List mergedSubscriptions = MergeSubscriptions(
- ListServiceManagementSubscriptions(account, environment, password, ShowDialog.Never).ToList(),
- ListResourceManagerSubscriptions(account, environment, password, ShowDialog.Never).ToList());
+ ListServiceManagementSubscriptions(account, environment, password, ShowDialog.Never, tenants).ToList(),
+ ListResourceManagerSubscriptions(account, environment, password, ShowDialog.Never, tenants).ToList());
// Set user ID
foreach (var subscription in mergedSubscriptions)
{
- subscription.Environment = environment.Name;
- subscription.Account = account.Id;
account.SetOrAppendProperty(AzureAccount.Property.Subscriptions, subscription.Id.ToString());
}
@@ -727,7 +724,7 @@ private IEnumerable ListSubscriptionsFromServer(AzureAccount
}
}
- private void LoadAccountTenants(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior)
+ private string[] LoadAccountTenants(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior)
{
var commonTenantToken = AzureSession.AuthenticationFactory.Authenticate(account, environment,
AuthenticationFactory.CommonAdTenant, password, promptBehavior);
@@ -739,8 +736,7 @@ private void LoadAccountTenants(AzureAccount account, AzureEnvironment environme
new TokenCloudCredentials(commonTenantToken.AccessToken),
environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ResourceManager)))
{
- account.SetOrAppendProperty(AzureAccount.Property.Tenants,
- subscriptionClient.Tenants.List().TenantIds.Select(ti => ti.TenantId).ToArray());
+ return subscriptionClient.Tenants.List().TenantIds.Select(ti => ti.TenantId).ToArray();
}
}
else
@@ -751,8 +747,7 @@ private void LoadAccountTenants(AzureAccount account, AzureEnvironment environme
environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement)))
{
var subscriptionListResult = subscriptionClient.Subscriptions.List();
- account.SetOrAppendProperty(AzureAccount.Property.Tenants,
- subscriptionListResult.Subscriptions.Select(s => s.ActiveDirectoryTenantId).Distinct().ToArray());
+ return subscriptionListResult.Subscriptions.Select(s => s.ActiveDirectoryTenantId).Distinct().ToArray();
}
}
}
@@ -840,9 +835,9 @@ private AzureEnvironment MergeEnvironmentProperties(AzureEnvironment environment
{
throw new ArgumentNullException("environment1");
}
- if (environment1.Name != environment2.Name)
+ if (!string.Equals(environment1.Name, environment2.Name, StringComparison.InvariantCultureIgnoreCase))
{
- throw new ArgumentException("Subscription Ids do not match.");
+ throw new ArgumentException("Environment names do not match.");
}
AzureEnvironment mergedEnvironment = new AzureEnvironment
{
@@ -868,9 +863,9 @@ private AzureAccount MergeAccountProperties(AzureAccount account1, AzureAccount
{
throw new ArgumentNullException("account1");
}
- if (account1.Id != account2.Id)
+ if (!string.Equals(account1.Id, account2.Id, StringComparison.InvariantCultureIgnoreCase))
{
- throw new ArgumentException("Account1 Ids do not match.");
+ throw new ArgumentException("Account Ids do not match.");
}
if (account1.Type != account2.Type)
{
@@ -907,7 +902,7 @@ private AzureAccount MergeAccountProperties(AzureAccount account1, AzureAccount
return mergeAccount;
}
- private IEnumerable ListResourceManagerSubscriptions(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior)
+ private IEnumerable ListResourceManagerSubscriptions(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior, string[] tenants)
{
List result = new List();
@@ -916,11 +911,19 @@ private IEnumerable ListResourceManagerSubscriptions(AzureAcc
return result;
}
- foreach (var tenant in account.GetPropertyAsArray(AzureAccount.Property.Tenants))
+ foreach (var tenant in tenants)
{
try
{
- var tenantToken = AzureSession.AuthenticationFactory.Authenticate(account, environment, tenant, password, ShowDialog.Never);
+ 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),
@@ -937,10 +940,14 @@ private IEnumerable ListResourceManagerSubscriptions(AzureAcc
};
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)
{
@@ -955,7 +962,13 @@ private IEnumerable ListResourceManagerSubscriptions(AzureAcc
return result;
}
- private IEnumerable ListServiceManagementSubscriptions(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior)
+ 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();
@@ -964,12 +977,19 @@ private IEnumerable ListServiceManagementSubscriptions(AzureA
return result;
}
- foreach (var tenant in account.GetPropertyAsArray(AzureAccount.Property.Tenants))
+ foreach (var tenant in tenants)
{
try
{
- var tenantToken = AzureSession.AuthenticationFactory.Authenticate(account, environment, tenant, password, ShowDialog.Never);
+ 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)))
@@ -977,18 +997,28 @@ private IEnumerable ListServiceManagementSubscriptions(AzureA
var subscriptionListResult = subscriptionClient.Subscriptions.List();
foreach (var subscription in subscriptionListResult.Subscriptions)
{
- AzureSubscription psSubscription = new AzureSubscription
+ // only add the subscription if it's actually in this tenant
+ if (subscription.ActiveDirectoryTenantId == tenant)
{
- 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);
-
- result.Add(psSubscription);
+ 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)
{
@@ -1114,7 +1144,7 @@ public AzureEnvironment RemoveEnvironment(string name)
{
throw new ArgumentException(Resources.RemovingDefaultEnvironmentsNotSupported, "name");
}
-
+
if (Profile.Environments.ContainsKey(name))
{
var environment = Profile.Environments[name];
@@ -1158,8 +1188,8 @@ public AzureEnvironment AddOrSetEnvironment(AzureEnvironment 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.SetCurrentContext(AzureSession.CurrentContext.Subscription,
+ Profile.Environments[environment.Name],
AzureSession.CurrentContext.Account);
}
diff --git a/src/Common/Commands.Common/Common/ProfileData.cs b/src/Common/Azure.Common.Extensions/Common/ProfileData.cs
similarity index 98%
rename from src/Common/Commands.Common/Common/ProfileData.cs
rename to src/Common/Azure.Common.Extensions/Common/ProfileData.cs
index 2ce005aefbaa..049994759314 100644
--- a/src/Common/Commands.Common/Common/ProfileData.cs
+++ b/src/Common/Azure.Common.Extensions/Common/ProfileData.cs
@@ -12,14 +12,14 @@
// 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;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common
+namespace Microsoft.Azure.Common.Extensions
{
///
/// This class provides the representation of
diff --git a/src/Common/Commands.Common/Common/PublishSettingsImporter.cs b/src/Common/Azure.Common.Extensions/Common/PublishSettingsImporter.cs
similarity index 94%
rename from src/Common/Commands.Common/Common/PublishSettingsImporter.cs
rename to src/Common/Azure.Common.Extensions/Common/PublishSettingsImporter.cs
index 22d6825b56ea..2cad598b3159 100644
--- a/src/Common/Commands.Common/Common/PublishSettingsImporter.cs
+++ b/src/Common/Azure.Common.Extensions/Common/PublishSettingsImporter.cs
@@ -12,17 +12,16 @@
// 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;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema;
-using Microsoft.WindowsAzure.Commands.Common;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common
+namespace Microsoft.Azure.Common.Extensions
{
///
/// Class that handles loading publishsettings files
diff --git a/src/Common/Commands.Common/Common/RequiredResourceLookup.cs b/src/Common/Azure.Common.Extensions/Common/RequiredResourceLookup.cs
similarity index 97%
rename from src/Common/Commands.Common/Common/RequiredResourceLookup.cs
rename to src/Common/Azure.Common.Extensions/Common/RequiredResourceLookup.cs
index cef962cafef4..21cf5093a03f 100644
--- a/src/Common/Commands.Common/Common/RequiredResourceLookup.cs
+++ b/src/Common/Azure.Common.Extensions/Common/RequiredResourceLookup.cs
@@ -12,10 +12,10 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-using System.Collections.Generic;
using Microsoft.WindowsAzure.Common;
+using System.Collections.Generic;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common
+namespace Microsoft.Azure.Common.Extensions
{
///
/// This class handles mapping management client types
diff --git a/src/Common/Commands.Common/Common/Validate.cs b/src/Common/Azure.Common.Extensions/Common/Validate.cs
similarity index 98%
rename from src/Common/Commands.Common/Common/Validate.cs
rename to src/Common/Azure.Common.Extensions/Common/Validate.cs
index 0d3c74ae25c4..ec24bdea9120 100644
--- a/src/Common/Commands.Common/Common/Validate.cs
+++ b/src/Common/Azure.Common.Extensions/Common/Validate.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions.Properties;
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
@@ -19,9 +20,8 @@
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common
+namespace Microsoft.Azure.Common.Extensions
{
public static class Validate
{
diff --git a/src/Common/Commands.Common/Factories/AuthenticationFactory.cs b/src/Common/Azure.Common.Extensions/Factories/AuthenticationFactory.cs
similarity index 93%
rename from src/Common/Commands.Common/Factories/AuthenticationFactory.cs
rename to src/Common/Azure.Common.Extensions/Factories/AuthenticationFactory.cs
index a897f4fe3b7e..f280a0d4e4a1 100644
--- a/src/Common/Commands.Common/Factories/AuthenticationFactory.cs
+++ b/src/Common/Azure.Common.Extensions/Factories/AuthenticationFactory.cs
@@ -12,14 +12,15 @@
// 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;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
-namespace Microsoft.WindowsAzure.Commands.Common.Factories
+namespace Microsoft.Azure.Common.Extensions.Factories
{
public class AuthenticationFactory : IAuthenticationFactory
{
diff --git a/src/Common/Commands.Common/Factories/ClientFactory.cs b/src/Common/Azure.Common.Extensions/Factories/ClientFactory.cs
similarity index 80%
rename from src/Common/Commands.Common/Factories/ClientFactory.cs
rename to src/Common/Azure.Common.Extensions/Factories/ClientFactory.cs
index f5aca60d816d..2211cc141c13 100644
--- a/src/Common/Commands.Common/Factories/ClientFactory.cs
+++ b/src/Common/Azure.Common.Extensions/Factories/ClientFactory.cs
@@ -12,21 +12,30 @@
// 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 Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
-using Microsoft.WindowsAzure.Common;
+using System.Net.Http.Headers;
-namespace Microsoft.WindowsAzure.Commands.Common.Factories
+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)
@@ -35,7 +44,14 @@ public virtual TClient CreateClient(AzureContext context, AzureEnvironm
}
SubscriptionCloudCredentials creds = AzureSession.AuthenticationFactory.GetSubscriptionCloudCredentials(context);
- return CreateCustomClient(creds, context.Environment.GetEndpointAsUri(endpoint));
+ TClient client = CreateCustomClient(creds, context.Environment.GetEndpointAsUri(endpoint));
+
+ foreach (IClientAction action in actions.Values)
+ {
+ action.Apply(client, context, endpoint);
+ }
+
+ return client;
}
///
@@ -79,8 +95,12 @@ public virtual TClient CreateCustomClient(params object[] parameters) w
}
TClient client = (TClient)constructor.Invoke(parameters);
- client.UserAgent.Add(ApiConstants.UserAgentValue);
-
+
+ foreach (ProductInfoHeaderValue userAgent in UserAgents)
+ {
+ client.UserAgent.Add(userAgent);
+ }
+
return client;
}
@@ -136,5 +156,21 @@ public static HttpClientHandler CreateHttpClientHandler(string endpoint, ICreden
// 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/Commands.Common/Interfaces/IAuthenticationFactory.cs b/src/Common/Azure.Common.Extensions/Interfaces/IAuthenticationFactory.cs
similarity index 89%
rename from src/Common/Commands.Common/Interfaces/IAuthenticationFactory.cs
rename to src/Common/Azure.Common.Extensions/Interfaces/IAuthenticationFactory.cs
index 9e052857a09d..6f9b40579783 100644
--- a/src/Common/Commands.Common/Interfaces/IAuthenticationFactory.cs
+++ b/src/Common/Azure.Common.Extensions/Interfaces/IAuthenticationFactory.cs
@@ -12,11 +12,12 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions.Authentication;
+using Microsoft.Azure.Common.Extensions.Models;
+using Microsoft.WindowsAzure;
using System.Security;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
-namespace Microsoft.WindowsAzure.Commands.Common
+namespace Microsoft.Azure.Common.Extensions
{
public interface IAuthenticationFactory
{
diff --git a/src/Common/Commands.Common/Interfaces/IClientFactory.cs b/src/Common/Azure.Common.Extensions/Interfaces/IClientFactory.cs
similarity index 82%
rename from src/Common/Commands.Common/Interfaces/IClientFactory.cs
rename to src/Common/Azure.Common.Extensions/Interfaces/IClientFactory.cs
index 00aad993a9a9..87ad3c5810e6 100644
--- a/src/Common/Commands.Common/Interfaces/IClientFactory.cs
+++ b/src/Common/Azure.Common.Extensions/Interfaces/IClientFactory.cs
@@ -12,13 +12,15 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-using System.Net;
-using System.Net.Http;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+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.WindowsAzure.Commands.Common
+namespace Microsoft.Azure.Common.Extensions
{
public interface IClientFactory
{
@@ -31,5 +33,11 @@ public interface IClientFactory
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/Commands.Common/Interfaces/IDataStore.cs b/src/Common/Azure.Common.Extensions/Interfaces/IDataStore.cs
similarity index 97%
rename from src/Common/Commands.Common/Interfaces/IDataStore.cs
rename to src/Common/Azure.Common.Extensions/Interfaces/IDataStore.cs
index 0e1133b55d89..7d38fea53699 100644
--- a/src/Common/Commands.Common/Interfaces/IDataStore.cs
+++ b/src/Common/Azure.Common.Extensions/Interfaces/IDataStore.cs
@@ -16,7 +16,7 @@
using System.Security.Cryptography.X509Certificates;
using System.Text;
-namespace Microsoft.WindowsAzure.Commands.Common.Interfaces
+namespace Microsoft.Azure.Common.Extensions.Interfaces
{
public interface IDataStore
{
diff --git a/src/Common/Commands.Common/Interfaces/IProfileSerializer.cs b/src/Common/Azure.Common.Extensions/Interfaces/IProfileSerializer.cs
similarity index 89%
rename from src/Common/Commands.Common/Interfaces/IProfileSerializer.cs
rename to src/Common/Azure.Common.Extensions/Interfaces/IProfileSerializer.cs
index e9e296e95e6a..f48d90657495 100644
--- a/src/Common/Commands.Common/Interfaces/IProfileSerializer.cs
+++ b/src/Common/Azure.Common.Extensions/Interfaces/IProfileSerializer.cs
@@ -12,10 +12,10 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions.Models;
using System.Collections.Generic;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-namespace Microsoft.WindowsAzure.Commands.Common.Interfaces
+namespace Microsoft.Azure.Common.Extensions.Interfaces
{
public interface IProfileSerializer
{
diff --git a/src/Common/Azure.Common.Extensions/MSSharedLibKey.snk b/src/Common/Azure.Common.Extensions/MSSharedLibKey.snk
new file mode 100644
index 000000000000..695f1b38774e
Binary files /dev/null and b/src/Common/Azure.Common.Extensions/MSSharedLibKey.snk differ
diff --git a/src/Common/Commands.Common/Models/AzureAccount.Methods.cs b/src/Common/Azure.Common.Extensions/Models/AzureAccount.Methods.cs
similarity index 97%
rename from src/Common/Commands.Common/Models/AzureAccount.Methods.cs
rename to src/Common/Azure.Common.Extensions/Models/AzureAccount.Methods.cs
index 42601b42c788..a5a3a4a61cb3 100644
--- a/src/Common/Commands.Common/Models/AzureAccount.Methods.cs
+++ b/src/Common/Azure.Common.Extensions/Models/AzureAccount.Methods.cs
@@ -12,13 +12,13 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-using Microsoft.WindowsAzure.Commands.Common.Utilities;
+using Microsoft.Azure.Common.Extensions.Utilities;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public partial class AzureAccount
{
diff --git a/src/Common/Commands.Common/Models/AzureAccount.cs b/src/Common/Azure.Common.Extensions/Models/AzureAccount.cs
similarity index 96%
rename from src/Common/Commands.Common/Models/AzureAccount.cs
rename to src/Common/Azure.Common.Extensions/Models/AzureAccount.cs
index 74f8db7fe841..3c6c819dc169 100644
--- a/src/Common/Commands.Common/Models/AzureAccount.cs
+++ b/src/Common/Azure.Common.Extensions/Models/AzureAccount.cs
@@ -14,7 +14,7 @@
using System.Collections.Generic;
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public partial class AzureAccount
{
diff --git a/src/Common/Commands.Common/Models/AzureContext.cs b/src/Common/Azure.Common.Extensions/Models/AzureContext.cs
similarity index 94%
rename from src/Common/Commands.Common/Models/AzureContext.cs
rename to src/Common/Azure.Common.Extensions/Models/AzureContext.cs
index 06a21ba3ff41..5c01b60312b3 100644
--- a/src/Common/Commands.Common/Models/AzureContext.cs
+++ b/src/Common/Azure.Common.Extensions/Models/AzureContext.cs
@@ -12,7 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public class AzureContext
{
diff --git a/src/Common/Commands.Common/Models/AzureEnvironment.Methods.cs b/src/Common/Azure.Common.Extensions/Models/AzureEnvironment.Methods.cs
similarity index 85%
rename from src/Common/Commands.Common/Models/AzureEnvironment.Methods.cs
rename to src/Common/Azure.Common.Extensions/Models/AzureEnvironment.Methods.cs
index a4d3d0fee987..ac0aafbb806f 100644
--- a/src/Common/Commands.Common/Models/AzureEnvironment.Methods.cs
+++ b/src/Common/Azure.Common.Extensions/Models/AzureEnvironment.Methods.cs
@@ -12,13 +12,12 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions.Properties;
+using Microsoft.Azure.Common.Extensions.Utilities;
using System;
using System.Collections.Generic;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-using Microsoft.WindowsAzure.Commands.Common.Utilities;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public partial class AzureEnvironment
{
@@ -280,4 +279,48 @@ public enum Endpoint
TrafficManagerDnsSuffix,
}
}
+
+ 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";
+ }
}
diff --git a/src/Common/Commands.Common/Models/AzureEnvironment.cs b/src/Common/Azure.Common.Extensions/Models/AzureEnvironment.cs
similarity index 95%
rename from src/Common/Commands.Common/Models/AzureEnvironment.cs
rename to src/Common/Azure.Common.Extensions/Models/AzureEnvironment.cs
index 085bad1fe55c..53d81ea10856 100644
--- a/src/Common/Commands.Common/Models/AzureEnvironment.cs
+++ b/src/Common/Azure.Common.Extensions/Models/AzureEnvironment.cs
@@ -14,7 +14,7 @@
using System.Collections.Generic;
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public partial class AzureEnvironment
{
diff --git a/src/Common/Commands.Common/Models/AzureProfile.cs b/src/Common/Azure.Common.Extensions/Models/AzureProfile.cs
similarity index 91%
rename from src/Common/Commands.Common/Models/AzureProfile.cs
rename to src/Common/Azure.Common.Extensions/Models/AzureProfile.cs
index f7f8c77c80fd..519dde9279fc 100644
--- a/src/Common/Commands.Common/Models/AzureProfile.cs
+++ b/src/Common/Azure.Common.Extensions/Models/AzureProfile.cs
@@ -12,22 +12,20 @@
// 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;
-using System.Security.Cryptography.X509Certificates;
-using Microsoft.WindowsAzure.Commands.Common.Interfaces;
-using Microsoft.WindowsAzure.Common.Internals;
-using System.Diagnostics;
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public sealed class AzureProfile
{
private IDataStore store;
private string profilePath;
- private string tokenCacheFile = Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.TokenCacheFile);
+ private string tokenCacheFile = Path.Combine(AzureSession.ProfileDirectory, AzureSession.TokenCacheFile);
public AzureProfile()
{
@@ -51,9 +49,9 @@ private void Load()
Accounts = new Dictionary(StringComparer.InvariantCultureIgnoreCase);
ProfileLoadErrors = new List();
- if (!store.DirectoryExists(AzurePowerShell.ProfileDirectory))
+ if (!store.DirectoryExists(AzureSession.ProfileDirectory))
{
- store.CreateDirectory(AzurePowerShell.ProfileDirectory);
+ store.CreateDirectory(AzureSession.ProfileDirectory);
}
if (store.FileExists(profilePath))
diff --git a/src/Common/Commands.Common/Models/AzureSubscription.Methods.cs b/src/Common/Azure.Common.Extensions/Models/AzureSubscription.Methods.cs
similarity index 94%
rename from src/Common/Commands.Common/Models/AzureSubscription.Methods.cs
rename to src/Common/Azure.Common.Extensions/Models/AzureSubscription.Methods.cs
index 18025d898ad7..030f50f89f4b 100644
--- a/src/Common/Commands.Common/Models/AzureSubscription.Methods.cs
+++ b/src/Common/Azure.Common.Extensions/Models/AzureSubscription.Methods.cs
@@ -12,10 +12,10 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions.Utilities;
using System.Collections.Generic;
-using Microsoft.WindowsAzure.Commands.Common.Utilities;
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public partial class AzureSubscription
{
diff --git a/src/Common/Commands.Common/Models/AzureSubscription.cs b/src/Common/Azure.Common.Extensions/Models/AzureSubscription.cs
similarity index 97%
rename from src/Common/Commands.Common/Models/AzureSubscription.cs
rename to src/Common/Azure.Common.Extensions/Models/AzureSubscription.cs
index 252100c4906a..b5d6cb6b73d6 100644
--- a/src/Common/Commands.Common/Models/AzureSubscription.cs
+++ b/src/Common/Azure.Common.Extensions/Models/AzureSubscription.cs
@@ -15,7 +15,7 @@
using System;
using System.Collections.Generic;
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public partial class AzureSubscription
{
diff --git a/src/Common/Commands.Common/Models/DiskDataStore.cs b/src/Common/Azure.Common.Extensions/Models/DiskDataStore.cs
similarity index 96%
rename from src/Common/Commands.Common/Models/DiskDataStore.cs
rename to src/Common/Azure.Common.Extensions/Models/DiskDataStore.cs
index 8cc5e29b9e00..c42bb358538b 100644
--- a/src/Common/Commands.Common/Models/DiskDataStore.cs
+++ b/src/Common/Azure.Common.Extensions/Models/DiskDataStore.cs
@@ -12,15 +12,14 @@
// 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;
-using Microsoft.WindowsAzure.Commands.Common.Interfaces;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public class DiskDataStore : IDataStore
{
diff --git a/src/Common/Azure.Common.Extensions/Models/IClientAction.cs b/src/Common/Azure.Common.Extensions/Models/IClientAction.cs
new file mode 100644
index 000000000000..e05ff570b7b0
--- /dev/null
+++ b/src/Common/Azure.Common.Extensions/Models/IClientAction.cs
@@ -0,0 +1,25 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES 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/Commands.Common/Models/JsonProfileSerializer.cs b/src/Common/Azure.Common.Extensions/Models/JsonProfileSerializer.cs
similarity index 96%
rename from src/Common/Commands.Common/Models/JsonProfileSerializer.cs
rename to src/Common/Azure.Common.Extensions/Models/JsonProfileSerializer.cs
index ea0a6a272f59..29ddb1c1400c 100644
--- a/src/Common/Commands.Common/Models/JsonProfileSerializer.cs
+++ b/src/Common/Azure.Common.Extensions/Models/JsonProfileSerializer.cs
@@ -12,14 +12,14 @@
// 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;
-using Microsoft.WindowsAzure.Commands.Common.Interfaces;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Linq;
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public class JsonProfileSerializer : IProfileSerializer
{
diff --git a/src/Common/Commands.Common/Common/AzurePowerShellClientFactory.cs b/src/Common/Azure.Common.Extensions/Models/RPRegistrationAction.cs
similarity index 70%
rename from src/Common/Commands.Common/Common/AzurePowerShellClientFactory.cs
rename to src/Common/Azure.Common.Extensions/Models/RPRegistrationAction.cs
index 4f0c95b568d9..1d8cc5ce350a 100644
--- a/src/Common/Commands.Common/Common/AzurePowerShellClientFactory.cs
+++ b/src/Common/Azure.Common.Extensions/Models/RPRegistrationAction.cs
@@ -13,38 +13,18 @@
// ----------------------------------------------------------------------------------
using Microsoft.Azure.Management.Resources;
-using Microsoft.WindowsAzure.Commands.Common.Factories;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Common;
-using System.Net;
-using System.Linq;
-using System.Collections.Generic;
using Microsoft.WindowsAzure.Management;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Linq;
+using System.Net;
-namespace Microsoft.WindowsAzure.Commands.Common.Common
+namespace Microsoft.Azure.Common.Extensions.Models
{
- public class AzurePowerShellClientFactory : ClientFactory
+ public class RPRegistrationAction : IClientAction
{
- public override TClient CreateClient(AzureContext context, AzureEnvironment.Endpoint endpoint)
- {
- TClient client = base.CreateClient(context, endpoint);
-
- if (!TestMockSupport.RunningMocked)
- {
- if (endpoint == AzureEnvironment.Endpoint.ServiceManagement)
- {
- RegisterServiceManagementProviders(context);
- }
- else if (endpoint == AzureEnvironment.Endpoint.ResourceManager)
- {
- RegisterResourceManagerProviders(context);
- }
- }
-
- return client;
- }
-
///
/// Registers resource providers for Sparta.
///
@@ -59,7 +39,7 @@ private void RegisterResourceManagerProviders(AzureContext context) where T :
if (unregisteredProviders.Count > 0)
{
- using (var client = CreateCustomClient(creds, context.Environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ResourceManager)))
+ using (var client = ClientFactory.CreateCustomClient(creds, context.Environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ResourceManager)))
{
foreach (string provider in unregisteredProviders)
{
@@ -119,24 +99,40 @@ private void RegisterServiceManagementProviders(AzureContext context) where T
}
}
- private void UpdateSubscriptionRegisteredProviders(AzureSubscription subscription, List providers)
+ 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
{
- 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
- }
- }
+ 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/Commands.Common/Models/XmlProfileSerializer.cs b/src/Common/Azure.Common.Extensions/Models/XmlProfileSerializer.cs
similarity index 95%
rename from src/Common/Commands.Common/Models/XmlProfileSerializer.cs
rename to src/Common/Azure.Common.Extensions/Models/XmlProfileSerializer.cs
index eed2616eacd9..f7290949bbfd 100644
--- a/src/Common/Commands.Common/Models/XmlProfileSerializer.cs
+++ b/src/Common/Azure.Common.Extensions/Models/XmlProfileSerializer.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions.Interfaces;
using System;
using System.Collections.Generic;
using System.Diagnostics;
@@ -19,11 +20,8 @@
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
-using System.Xml;
-using Microsoft.WindowsAzure.Commands.Common.Interfaces;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public class XmlProfileSerializer : IProfileSerializer
{
diff --git a/src/Common/Azure.Common.Extensions/Properties/AssemblyInfo.cs b/src/Common/Azure.Common.Extensions/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..3883f62d91bf
--- /dev/null
+++ b/src/Common/Azure.Common.Extensions/Properties/AssemblyInfo.cs
@@ -0,0 +1,28 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Azure Common Extensions")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("Microsoft Azure Libraries")]
+[assembly: AssemblyCopyright("Copyright © Microsoft")]
+
+[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
diff --git a/src/Common/Azure.Common.Extensions/Properties/Resources.Designer.cs b/src/Common/Azure.Common.Extensions/Properties/Resources.Designer.cs
new file mode 100644
index 000000000000..4254763922a4
--- /dev/null
+++ b/src/Common/Azure.Common.Extensions/Properties/Resources.Designer.cs
@@ -0,0 +1,4272 @@
+//------------------------------------------------------------------------------
+//
+// 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
new file mode 100644
index 000000000000..be358f5d05b0
--- /dev/null
+++ b/src/Common/Azure.Common.Extensions/Properties/Resources.resx
@@ -0,0 +1,1579 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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/Commands.Common/Utilities/DictionaryExtensions.cs b/src/Common/Azure.Common.Extensions/Utilities/DictionaryExtensions.cs
similarity index 98%
rename from src/Common/Commands.Common/Utilities/DictionaryExtensions.cs
rename to src/Common/Azure.Common.Extensions/Utilities/DictionaryExtensions.cs
index 1eaaa77c3b6c..19c2f027c20a 100644
--- a/src/Common/Commands.Common/Utilities/DictionaryExtensions.cs
+++ b/src/Common/Azure.Common.Extensions/Utilities/DictionaryExtensions.cs
@@ -16,7 +16,7 @@
using System.Collections.Generic;
using System.Linq;
-namespace Microsoft.WindowsAzure.Commands.Common.Utilities
+namespace Microsoft.Azure.Common.Extensions.Utilities
{
public static class DictionaryExtensions
{
diff --git a/src/Common/Commands.Common/Utilities/FileUtilities.cs b/src/Common/Azure.Common.Extensions/Utilities/FileUtilities.cs
similarity index 98%
rename from src/Common/Commands.Common/Utilities/FileUtilities.cs
rename to src/Common/Azure.Common.Extensions/Utilities/FileUtilities.cs
index 33ce3f25c731..0a1aa121f2a9 100644
--- a/src/Common/Commands.Common/Utilities/FileUtilities.cs
+++ b/src/Common/Azure.Common.Extensions/Utilities/FileUtilities.cs
@@ -12,17 +12,17 @@
// 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;
-using Microsoft.WindowsAzure.Commands.Common.Interfaces;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common
+namespace Microsoft.Azure.Common.Extensions
{
public static class FileUtilities
{
diff --git a/src/Common/Commands.Common/Utilities/JsonUtilities.cs b/src/Common/Azure.Common.Extensions/Utilities/JsonUtilities.cs
similarity index 97%
rename from src/Common/Commands.Common/Utilities/JsonUtilities.cs
rename to src/Common/Azure.Common.Extensions/Utilities/JsonUtilities.cs
index fda8d38e39d9..775718642225 100644
--- a/src/Common/Commands.Common/Utilities/JsonUtilities.cs
+++ b/src/Common/Azure.Common.Extensions/Utilities/JsonUtilities.cs
@@ -12,15 +12,14 @@
// 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;
-using System.Web.Script.Serialization;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Linq;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common
+namespace Microsoft.Azure.Common.Extensions
{
public static class JsonUtilities
{
diff --git a/src/Common/Commands.Common/Utilities/XmlUtilities.cs b/src/Common/Azure.Common.Extensions/Utilities/XmlUtilities.cs
similarity index 97%
rename from src/Common/Commands.Common/Utilities/XmlUtilities.cs
rename to src/Common/Azure.Common.Extensions/Utilities/XmlUtilities.cs
index 9d2af2753947..834c12df07bc 100644
--- a/src/Common/Commands.Common/Utilities/XmlUtilities.cs
+++ b/src/Common/Azure.Common.Extensions/Utilities/XmlUtilities.cs
@@ -12,15 +12,15 @@
// 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;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common
+namespace Microsoft.Azure.Common.Extensions
{
public static class XmlUtilities
{
diff --git a/src/Common/Commands.Common/XmlSchema/PublishProfile.cs b/src/Common/Azure.Common.Extensions/XmlSchema/PublishProfile.cs
similarity index 98%
rename from src/Common/Commands.Common/XmlSchema/PublishProfile.cs
rename to src/Common/Azure.Common.Extensions/XmlSchema/PublishProfile.cs
index 4eb2764bf1a0..852dff1f026e 100644
--- a/src/Common/Commands.Common/XmlSchema/PublishProfile.cs
+++ b/src/Common/Azure.Common.Extensions/XmlSchema/PublishProfile.cs
@@ -24,7 +24,7 @@
using System.Xml.Serialization;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema
+namespace Microsoft.Azure.Common.Extensions.XmlSchema
{
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
diff --git a/src/Common/Azure.Common.Extensions/packages.config b/src/Common/Azure.Common.Extensions/packages.config
new file mode 100644
index 000000000000..56b52b68db88
--- /dev/null
+++ b/src/Common/Azure.Common.Extensions/packages.config
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 b1b8cc0d7dab..8c32acd701c8 100644
--- a/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj
+++ b/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj
@@ -131,6 +131,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
diff --git a/src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs b/src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs
index fdeb4d022aeb..9e9294f98d9b 100644
--- a/src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs
+++ b/src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs
@@ -15,10 +15,11 @@
using System;
using System.Collections.Generic;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Storage;
using Microsoft.WindowsAzure.Management.Storage;
using Microsoft.WindowsAzure.Storage;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
{
diff --git a/src/Common/Commands.Common.Test/Commands.Common.Test.csproj b/src/Common/Commands.Common.Test/Commands.Common.Test.csproj
index c37950663c02..052b5d184fa0 100644
--- a/src/Common/Commands.Common.Test/Commands.Common.Test.csproj
+++ b/src/Common/Commands.Common.Test/Commands.Common.Test.csproj
@@ -104,7 +104,7 @@
False
- ..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
+ ..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
False
@@ -187,6 +187,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{65c3a86a-716d-4e7d-ab67-1db00b3bf72d}
Commands.Common.Storage
diff --git a/src/Common/Commands.Common.Test/Common/AuthenticationFactoryTests.cs b/src/Common/Commands.Common.Test/Common/AuthenticationFactoryTests.cs
index 3dd6a921c807..1c40dff9da38 100644
--- a/src/Common/Commands.Common.Test/Common/AuthenticationFactoryTests.cs
+++ b/src/Common/Commands.Common.Test/Common/AuthenticationFactoryTests.cs
@@ -15,10 +15,10 @@
using System.Collections.Generic;
using Xunit;
using System;
-using Microsoft.WindowsAzure.Commands.Common.Factories;
+using Microsoft.Azure.Common.Extensions.Factories;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Authentication;
+using Microsoft.Azure.Common.Extensions.Models;
namespace Microsoft.WindowsAzure.Commands.Common.Test.Common
{
@@ -34,7 +34,7 @@ public void VerifySubscriptionTokenCacheRemove()
var subscriptionId = Guid.NewGuid();
- var credential = authFactory.GetSubscriptionCloudCredentials(new Models.AzureContext
+ var credential = authFactory.GetSubscriptionCloudCredentials(new AzureContext
{
Environment = AzureEnvironment.PublicEnvironments["AzureCloud"],
Account = new AzureAccount
diff --git a/src/Common/Commands.Common.Test/Common/ConversionUtilitiesTests.cs b/src/Common/Commands.Common.Test/Common/ConversionUtilitiesTests.cs
index ed098a0d1679..68cf9479d686 100644
--- a/src/Common/Commands.Common.Test/Common/ConversionUtilitiesTests.cs
+++ b/src/Common/Commands.Common.Test/Common/ConversionUtilitiesTests.cs
@@ -15,6 +15,7 @@
using System.Collections.Generic;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Common.Test
{
diff --git a/src/Common/Commands.Common.Test/Common/Data.cs b/src/Common/Commands.Common.Test/Common/Data.cs
index d3199651a331..18c6d3189341 100644
--- a/src/Common/Commands.Common.Test/Common/Data.cs
+++ b/src/Common/Commands.Common.Test/Common/Data.cs
@@ -19,6 +19,8 @@
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common
{
diff --git a/src/Common/Commands.Common.Test/Common/GeneralTests.cs b/src/Common/Commands.Common.Test/Common/GeneralTests.cs
index 91f4cf38197c..52c47af4e469 100644
--- a/src/Common/Commands.Common.Test/Common/GeneralTests.cs
+++ b/src/Common/Commands.Common.Test/Common/GeneralTests.cs
@@ -16,6 +16,7 @@
using System.IO;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Common.Test.Common
{
diff --git a/src/Common/Commands.Common.Test/Common/JsonUtilitiesTests.cs b/src/Common/Commands.Common.Test/Common/JsonUtilitiesTests.cs
index e2dfd02e0a3c..9d01c351e8e7 100644
--- a/src/Common/Commands.Common.Test/Common/JsonUtilitiesTests.cs
+++ b/src/Common/Commands.Common.Test/Common/JsonUtilitiesTests.cs
@@ -19,6 +19,7 @@
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Common.Test.Common
{
diff --git a/src/Common/Commands.Common.Test/Common/ProfileClientTests.cs b/src/Common/Commands.Common.Test/Common/ProfileClientTests.cs
index 850e66b46cc2..271051bc6811 100644
--- a/src/Common/Commands.Common.Test/Common/ProfileClientTests.cs
+++ b/src/Common/Commands.Common.Test/Common/ProfileClientTests.cs
@@ -16,12 +16,14 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Subscriptions.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Profile;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
+using Microsoft.Azure.Common.Extensions.Authentication;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Common.Test.Common
{
@@ -46,6 +48,10 @@ public class ProfileClientTests
private AzureSubscription azureSubscription3withoutUser;
private AzureEnvironment azureEnvironment;
private AzureAccount azureAccount;
+ private TenantIdDescription commonTenant;
+ private TenantIdDescription guestTenant;
+ private Subscriptions.Models.SubscriptionListOperationResponse.Subscription guestRdfeSubscription;
+ private Subscription guestCsmSubscription;
public ProfileClientTests()
{
@@ -285,6 +291,122 @@ public void AddAzureAccountReturnsAccountWithAllSubscriptionsInCsmMode()
Assert.True(account.GetSubscriptions(client.Profile).Any(s => s.Id == new Guid(csmSubscription1.SubscriptionId)));
}
+ ///
+ /// Verify that if a user has a different identity in one tenant, the identity is not added if it has no
+ /// access to subscriptions
+ ///
+ [Fact]
+ public void AddAzureAccountWithImpersonatedGuestWithNoSubscriptions()
+ {
+ SetMocks(new[] { rdfeSubscription1 }.ToList(), new List(),
+ new[] { commonTenant, guestTenant }.ToList(),
+ (userAccount, environment, tenant) =>
+ {
+ var token = new MockAccessToken
+ {
+ UserId = tenant == commonTenant.TenantId ? userAccount.Id : "UserB",
+ AccessToken = "def",
+ LoginType = LoginType.OrgId
+ };
+ userAccount.Id = token.UserId;
+ return token;
+ });
+ MockDataStore dataStore = new MockDataStore();
+ dataStore.VirtualStore[oldProfileDataPath] = oldProfileData;
+ ProfileClient.DataStore = dataStore;
+ ProfileClient client = new ProfileClient();
+
+ var account = client.AddAccountAndLoadSubscriptions(new AzureAccount { Id = "UserA", Type = AzureAccount.AccountType.User }, AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud], null);
+
+ Assert.Equal("UserA", account.Id);
+ Assert.Equal(1, account.GetSubscriptions(client.Profile).Count);
+ var subrdfe1 = account.GetSubscriptions(client.Profile).FirstOrDefault(s => s.Id == new Guid(rdfeSubscription1.SubscriptionId));
+ var userA = client.GetAccount("UserA");
+ var userB = client.GetAccount("UserB");
+ Assert.NotNull(userA);
+ Assert.NotNull(userB);
+ Assert.Contains(rdfeSubscription1.SubscriptionId, userA.GetPropertyAsArray(AzureAccount.Property.Subscriptions), StringComparer.OrdinalIgnoreCase);
+ Assert.False(userB.HasSubscription(new Guid(rdfeSubscription1.SubscriptionId)));
+ Assert.NotNull(subrdfe1);
+ Assert.Equal("UserA", subrdfe1.Account);
+ }
+
+ ///
+ /// Verify that multiple accounts can be added if a user has different identitities in different domains, linked to the same login
+ /// Verify that subscriptions with admin access forall accounts are added
+ ///
+ [Fact]
+ public void AddAzureAccountWithImpersonatedGuestWithSubscriptions()
+ {
+ SetMocks(new[] { rdfeSubscription1, guestRdfeSubscription }.ToList(), new List(), new[] { commonTenant, guestTenant }.ToList(),
+ (userAccount, environment, tenant) =>
+ {
+ var token = new MockAccessToken
+ {
+ UserId = tenant == commonTenant.TenantId ? userAccount.Id : "UserB",
+ AccessToken = "def",
+ LoginType = LoginType.OrgId
+ };
+ userAccount.Id = token.UserId;
+ return token;
+ });
+ MockDataStore dataStore = new MockDataStore();
+ dataStore.VirtualStore[oldProfileDataPath] = oldProfileData;
+ ProfileClient.DataStore = dataStore;
+ ProfileClient client = new ProfileClient();
+
+ var account = client.AddAccountAndLoadSubscriptions(new AzureAccount { Id = "UserA", Type = AzureAccount.AccountType.User },
+ AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud], null);
+
+ Assert.Equal("UserA", account.Id);
+ Assert.Equal(1, account.GetSubscriptions(client.Profile).Count);
+ var subrdfe1 = account.GetSubscriptions(client.Profile).FirstOrDefault(s => s.Id == new Guid(rdfeSubscription1.SubscriptionId));
+ var userA = client.GetAccount("UserA");
+ var userB = client.GetAccount("UserB");
+ var subGuest = userB.GetSubscriptions(client.Profile).FirstOrDefault(s => s.Id == new Guid(guestRdfeSubscription.SubscriptionId));
+ Assert.NotNull(userA);
+ Assert.NotNull(userB);
+ Assert.Contains(rdfeSubscription1.SubscriptionId, userA.GetPropertyAsArray(AzureAccount.Property.Subscriptions), StringComparer.OrdinalIgnoreCase);
+ Assert.Contains(guestRdfeSubscription.SubscriptionId, userB.GetPropertyAsArray(AzureAccount.Property.Subscriptions), StringComparer.OrdinalIgnoreCase);
+ Assert.NotNull(subrdfe1);
+ Assert.NotNull(subGuest);
+ Assert.Equal("UserA", subrdfe1.Account);
+ Assert.Equal("UserB", subGuest.Account);
+ }
+ ///
+ /// Test that when account is added more than once with different capitalization, only a single account is added
+ /// and that accounts can be retrieved case-insensitively
+ ///
+ [Fact]
+ public void AddAzureAccountIsCaseInsensitive()
+ {
+ SetMocks(new[] { rdfeSubscription1, guestRdfeSubscription }.ToList(), new List(), new[] { commonTenant, guestTenant }.ToList(),
+ (userAccount, environment, tenant) =>
+ {
+ var token = new MockAccessToken
+ {
+ UserId = tenant == commonTenant.TenantId ? userAccount.Id : "USERA",
+ AccessToken = "def",
+ LoginType = LoginType.OrgId
+ };
+ userAccount.Id = token.UserId;
+ return token;
+ });
+ MockDataStore dataStore = new MockDataStore();
+ dataStore.VirtualStore[oldProfileDataPath] = oldProfileData;
+ ProfileClient.DataStore = dataStore;
+ ProfileClient client = new ProfileClient();
+
+ var account = client.AddAccountAndLoadSubscriptions(new AzureAccount { Id = "UserA", Type = AzureAccount.AccountType.User },
+ AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud], null);
+
+ var userA = client.GetAccount("UserA");
+ var secondUserA = client.GetAccount("USERA");
+ Assert.NotNull(userA);
+ Assert.NotNull(secondUserA);
+ Assert.Equal(userA.Id, secondUserA.Id);
+ }
+
[Fact]
public void GetAzureAccountReturnsAccountWithSubscriptions()
{
@@ -1139,7 +1261,7 @@ public void SelectAzureSubscriptionByIdWorks()
cmdlt.InvokeBeginProcessing();
cmdlt.ExecuteCmdlet();
cmdlt.InvokeEndProcessing();
-
+
Assert.Equal(tempSubscriptions[2].Id, AzureSession.CurrentContext.Subscription.Id);
}
@@ -1184,21 +1306,40 @@ public void ImportPublishSettingsAddsSecondCertificate()
}
private void SetMocks(List rdfeSubscriptions,
- List csmSubscriptions)
+ List csmSubscriptions,
+ List tenants = null,
+ Func tokenProvider = null)
{
ClientMocks clientMocks = new ClientMocks(new Guid(defaultSubscription));
clientMocks.LoadRdfeSubscriptions(rdfeSubscriptions);
clientMocks.LoadCsmSubscriptions(csmSubscriptions);
+ clientMocks.LoadTenants(tenants);
AzureSession.ClientFactory = new MockClientFactory(new object[] { clientMocks.RdfeSubscriptionClientMock.Object,
clientMocks.CsmSubscriptionClientMock.Object });
- AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory();
+ var mockFactory = new MockTokenAuthenticationFactory();
+ if (tokenProvider != null)
+ {
+ mockFactory.TokenProvider = tokenProvider;
+ }
+
+ AzureSession.AuthenticationFactory = mockFactory;
}
private void SetMockData()
{
+ commonTenant = new TenantIdDescription
+ {
+ Id = "Common",
+ TenantId = "Common"
+ };
+ guestTenant = new TenantIdDescription
+ {
+ Id = "Guest",
+ TenantId = "Guest"
+ };
rdfeSubscription1 = new Subscriptions.Models.SubscriptionListOperationResponse.Subscription
{
SubscriptionId = "16E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E",
@@ -1213,6 +1354,13 @@ private void SetMockData()
SubscriptionStatus = Subscriptions.Models.SubscriptionStatus.Active,
ActiveDirectoryTenantId = "Common"
};
+ guestRdfeSubscription = new Subscriptions.Models.SubscriptionListOperationResponse.Subscription
+ {
+ SubscriptionId = "26E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1C",
+ SubscriptionName = "RdfeSub2",
+ SubscriptionStatus = Subscriptions.Models.SubscriptionStatus.Active,
+ ActiveDirectoryTenantId = "Guest"
+ };
csmSubscription1 = new Azure.Subscriptions.Models.Subscription
{
Id = "Subscriptions/36E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E",
@@ -1234,6 +1382,13 @@ private void SetMockData()
State = "Active",
SubscriptionId = "46E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E"
};
+ guestCsmSubscription = new Azure.Subscriptions.Models.Subscription
+ {
+ Id = "Subscriptions/76E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1D",
+ DisplayName = "CsmGuestSub",
+ State = "Active",
+ SubscriptionId = "76E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1D"
+ };
azureSubscription1 = new AzureSubscription
{
Id = new Guid("56E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E"),
@@ -1284,7 +1439,7 @@ private void SetMockData()
oldProfileDataPath = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.OldProfileFile);
oldProfileDataPathError = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.OldProfileFileBackup);
oldProfileData = @"
-
+
AzureCloud
@@ -1393,7 +1548,7 @@ private void SetMockData()
";
oldProfileDataBadSubscription = @"
-
+
AzureCloud
@@ -1474,7 +1629,7 @@ private void SetMockData()
";
oldProfileDataCorruptedFile = @"
-
+
AzureCloud
diff --git a/src/Common/Commands.Common.Test/Common/ProfileCmdltsTests.cs b/src/Common/Commands.Common.Test/Common/ProfileCmdltsTests.cs
index 25ad50d3662c..856392d00b8e 100644
--- a/src/Common/Commands.Common.Test/Common/ProfileCmdltsTests.cs
+++ b/src/Common/Commands.Common.Test/Common/ProfileCmdltsTests.cs
@@ -22,13 +22,14 @@
using System.Security.Cryptography.X509Certificates;
using System.Text;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Profile;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
+using Microsoft.Azure.Common.Extensions.Authentication;
using Moq;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Common.Test.Common
{
diff --git a/src/Common/Commands.Common.Test/Common/RemoveAzurePublishSettings.cs b/src/Common/Commands.Common.Test/Common/RemoveAzurePublishSettings.cs
index 07819a16ea4e..6c5fa8acfa92 100644
--- a/src/Common/Commands.Common.Test/Common/RemoveAzurePublishSettings.cs
+++ b/src/Common/Commands.Common.Test/Common/RemoveAzurePublishSettings.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common
diff --git a/src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs b/src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs
index a3a8d4d59863..727260cdbf2a 100644
--- a/src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs
+++ b/src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs
@@ -12,10 +12,10 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions.Authentication;
using System;
using System.Runtime.InteropServices;
using System.Security;
-using Microsoft.WindowsAzure.Commands.Common.Authentication;
using Xunit;
using Assert = Xunit.Assert;
diff --git a/src/Common/Commands.Common.Test/Common/TestBase.cs b/src/Common/Commands.Common.Test/Common/TestBase.cs
index 1d45fbe53e34..9e36cc6c2c61 100644
--- a/src/Common/Commands.Common.Test/Common/TestBase.cs
+++ b/src/Common/Commands.Common.Test/Common/TestBase.cs
@@ -16,9 +16,10 @@
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common
{
diff --git a/src/Common/Commands.Common.Test/Mocks/ClientMocks.cs b/src/Common/Commands.Common.Test/Mocks/ClientMocks.cs
index 9d47bf128a18..23adacee0364 100644
--- a/src/Common/Commands.Common.Test/Mocks/ClientMocks.cs
+++ b/src/Common/Commands.Common.Test/Mocks/ClientMocks.cs
@@ -58,7 +58,7 @@ private SubscriptionCloudCredentials CreateCredentials(Guid subscriptionId)
}
public static CloudException Make404Exception()
- {
+ {
return CloudException.Create(
new HttpRequestMessage(),
null,
@@ -75,18 +75,7 @@ public void LoadCsmSubscriptions(List s
Subscriptions = subscriptions
}));
- var tenantOperationsMock = new Mock();
- tenantOperationsMock.Setup(f => f.ListAsync(new CancellationToken()))
- .Returns(Task.Factory.StartNew(() => new Azure.Subscriptions.Models.TenantListResult
- {
- TenantIds = new[] { new Azure.Subscriptions.Models.TenantIdDescription
- {
- Id = "1", TenantId = "1"
- }}.ToList()
- }));
-
CsmSubscriptionClientMock.Setup(f => f.Subscriptions).Returns(subscriptionOperationsMock.Object);
- CsmSubscriptionClientMock.Setup(f => f.Tenants).Returns(tenantOperationsMock.Object);
}
public void LoadRdfeSubscriptions(List subscriptions)
@@ -100,5 +89,26 @@ public void LoadRdfeSubscriptions(List f.Subscriptions).Returns(subscriptionOperationsMock.Object);
}
+
+ public void LoadTenants(List tenantIds = null)
+ {
+
+ tenantIds = tenantIds ?? new[]
+ {
+ new Azure.Subscriptions.Models.TenantIdDescription
+ {
+ Id = "Common",
+ TenantId = "Common"
+ }
+ }.ToList();
+ var tenantOperationsMock = new Mock();
+ tenantOperationsMock.Setup(f => f.ListAsync(new CancellationToken()))
+ .Returns(Task.Factory.StartNew(() => new Azure.Subscriptions.Models.TenantListResult
+ {
+ TenantIds = tenantIds
+ }));
+
+ CsmSubscriptionClientMock.Setup(f => f.Tenants).Returns(tenantOperationsMock.Object);
+ }
}
}
diff --git a/src/Common/Commands.Common.Test/Mocks/MockAccessToken.cs b/src/Common/Commands.Common.Test/Mocks/MockAccessToken.cs
index de070b5a63f7..72037f0e2809 100644
--- a/src/Common/Commands.Common.Test/Mocks/MockAccessToken.cs
+++ b/src/Common/Commands.Common.Test/Mocks/MockAccessToken.cs
@@ -13,7 +13,7 @@
// ----------------------------------------------------------------------------------
using System;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
+using Microsoft.Azure.Common.Extensions.Authentication;
namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks
{
diff --git a/src/Common/Commands.Common.Test/Mocks/MockAccessTokenProvider.cs b/src/Common/Commands.Common.Test/Mocks/MockAccessTokenProvider.cs
index 50bc854b8e87..34bfe4adb8d6 100644
--- a/src/Common/Commands.Common.Test/Mocks/MockAccessTokenProvider.cs
+++ b/src/Common/Commands.Common.Test/Mocks/MockAccessTokenProvider.cs
@@ -13,9 +13,9 @@
// ----------------------------------------------------------------------------------
using System.Security;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
+using Microsoft.Azure.Common.Extensions.Authentication;
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common
{
diff --git a/src/Common/Commands.Common.Test/Mocks/MockCertificateAuthenticationFactory.cs b/src/Common/Commands.Common.Test/Mocks/MockCertificateAuthenticationFactory.cs
index 746486b575b3..e2b68c5b2143 100644
--- a/src/Common/Commands.Common.Test/Mocks/MockCertificateAuthenticationFactory.cs
+++ b/src/Common/Commands.Common.Test/Mocks/MockCertificateAuthenticationFactory.cs
@@ -14,8 +14,9 @@
using System.Security;
using System.Security.Cryptography.X509Certificates;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
+using Microsoft.Azure.Common.Extensions.Models;
+using Microsoft.Azure.Common.Extensions.Authentication;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks
{
diff --git a/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs b/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs
index 12ede8e14c8d..fca693ee7621 100644
--- a/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs
+++ b/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs
@@ -18,9 +18,10 @@
using System.Net;
using System.Net.Http;
using Microsoft.Azure.Utilities.HttpRecorder;
-using Microsoft.WindowsAzure.Commands.Common.Factories;
-using Microsoft.WindowsAzure.Commands.Common.Models;
using Microsoft.WindowsAzure.Common;
+using Microsoft.Azure.Common.Extensions.Factories;
+using Microsoft.Azure.Common.Extensions.Models;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks
{
diff --git a/src/Common/Commands.Common.Test/Mocks/MockDataStore.cs b/src/Common/Commands.Common.Test/Mocks/MockDataStore.cs
index 5f975085054c..55b2f053632b 100644
--- a/src/Common/Commands.Common.Test/Mocks/MockDataStore.cs
+++ b/src/Common/Commands.Common.Test/Mocks/MockDataStore.cs
@@ -19,7 +19,7 @@
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Text.RegularExpressions;
-using Microsoft.WindowsAzure.Commands.Common.Interfaces;
+using Microsoft.Azure.Common.Extensions.Interfaces;
namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks
{
diff --git a/src/Common/Commands.Common.Test/Mocks/MockTokenAuthenticationFactory.cs b/src/Common/Commands.Common.Test/Mocks/MockTokenAuthenticationFactory.cs
index ee85746615f2..5675b84696e5 100644
--- a/src/Common/Commands.Common.Test/Mocks/MockTokenAuthenticationFactory.cs
+++ b/src/Common/Commands.Common.Test/Mocks/MockTokenAuthenticationFactory.cs
@@ -12,10 +12,12 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using System;
using System.Security;
using System.Security.Cryptography.X509Certificates;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
+using Microsoft.Azure.Common.Extensions.Models;
+using Microsoft.Azure.Common.Extensions.Authentication;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks
{
@@ -23,6 +25,8 @@ public class MockTokenAuthenticationFactory : IAuthenticationFactory
{
public IAccessToken Token { get; set; }
+ public Func TokenProvider { get; set; }
+
public MockTokenAuthenticationFactory()
{
Token = new MockAccessToken
@@ -31,6 +35,13 @@ public MockTokenAuthenticationFactory()
LoginType = LoginType.OrgId,
AccessToken = "abc"
};
+
+ TokenProvider = (account, environment, tenant) => Token = new MockAccessToken
+ {
+ UserId = account.Id,
+ LoginType = LoginType.OrgId,
+ AccessToken = Token.AccessToken
+ };
}
public MockTokenAuthenticationFactory(string userId, string accessToken)
@@ -50,14 +61,7 @@ public IAccessToken Authenticate(AzureAccount account, AzureEnvironment environm
account.Id = "test";
}
- Token = new MockAccessToken
- {
- UserId = account.Id,
- LoginType = LoginType.OrgId,
- AccessToken = Token.AccessToken
- };
-
- return Token;
+ return TokenProvider(account, environment, tenant);
}
public SubscriptionCloudCredentials GetSubscriptionCloudCredentials(AzureContext context)
diff --git a/src/Common/Commands.Common.Test/packages.config b/src/Common/Commands.Common.Test/packages.config
index 738a9f3d544f..8254c0cc0a28 100644
--- a/src/Common/Commands.Common.Test/packages.config
+++ b/src/Common/Commands.Common.Test/packages.config
@@ -14,7 +14,7 @@
-
+
diff --git a/src/Common/Commands.Common/Common/AzurePSCmdlet.cs b/src/Common/Commands.Common/AzurePSCmdlet.cs
similarity index 95%
rename from src/Common/Commands.Common/Common/AzurePSCmdlet.cs
rename to src/Common/Commands.Common/AzurePSCmdlet.cs
index 15bc85031677..abf5f1496930 100644
--- a/src/Common/Commands.Common/Common/AzurePSCmdlet.cs
+++ b/src/Common/Commands.Common/AzurePSCmdlet.cs
@@ -12,12 +12,13 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.Azure.Common.Extensions.Models;
+using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.WindowsAzure.Commands.Common.Properties;
using System;
using System.Diagnostics;
using System.Management.Automation;
-using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
{
@@ -25,6 +26,16 @@ public abstract class AzurePSCmdlet : PSCmdlet
{
private readonly RecordingTracingInterceptor httpTracingInterceptor = new RecordingTracingInterceptor();
+ static AzurePSCmdlet()
+ {
+ if (!TestMockSupport.RunningMocked)
+ {
+ AzureSession.ClientFactory.AddAction(new RPRegistrationAction());
+ }
+
+ AzureSession.ClientFactory.UserAgents.Add(AzurePowerShell.UserAgentValue);
+ }
+
public AzurePSCmdlet()
{
DefaultProfileClient = new ProfileClient();
diff --git a/src/Common/Commands.Common/Common/AzurePowerShell.cs b/src/Common/Commands.Common/AzurePowerShell.cs
similarity index 80%
rename from src/Common/Commands.Common/Common/AzurePowerShell.cs
rename to src/Common/Commands.Common/AzurePowerShell.cs
index a09ab2ba7d20..b4be4772a6ed 100644
--- a/src/Common/Commands.Common/Common/AzurePowerShell.cs
+++ b/src/Common/Commands.Common/AzurePowerShell.cs
@@ -12,9 +12,10 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions.Properties;
using System;
using System.IO;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
+using System.Net.Http.Headers;
namespace Microsoft.WindowsAzure.Commands.Common
{
@@ -26,9 +27,9 @@ public class AzurePowerShell
public const string AssemblyCopyright = "Copyright © Microsoft";
- public const string AssemblyVersion = "0.8.11";
+ public const string AssemblyVersion = "0.8.12";
- public const string AssemblyFileVersion = "0.8.11";
+ public const string AssemblyFileVersion = "0.8.12";
public const string ProfileFile = "AzureProfile.json";
@@ -38,6 +39,10 @@ public class AzurePowerShell
public const string TokenCacheFile = "TokenCache.dat";
+ public static ProductInfoHeaderValue UserAgentValue = new ProductInfoHeaderValue(
+ "AzurePowershell",
+ string.Format("v{0}", AzurePowerShell.AssemblyVersion));
+
public static string ProfileDirectory = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
Resources.AzureDirectoryName);
diff --git a/src/Common/Commands.Common/Common/ChannelHelper.cs b/src/Common/Commands.Common/ChannelHelper.cs
similarity index 99%
rename from src/Common/Commands.Common/Common/ChannelHelper.cs
rename to src/Common/Commands.Common/ChannelHelper.cs
index 3dd385d3273c..57a41327e92b 100644
--- a/src/Common/Commands.Common/Common/ChannelHelper.cs
+++ b/src/Common/Commands.Common/ChannelHelper.cs
@@ -12,6 +12,8 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
@@ -27,7 +29,6 @@
using System.Text;
using System.Threading;
using System.Xml;
-using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
{
@@ -300,7 +301,7 @@ public class UserAgentMessageProcessingHandler : MessageProcessingHandler
{
protected override HttpRequestMessage ProcessRequest(HttpRequestMessage request, CancellationToken cancellationToken)
{
- request.Headers.UserAgent.Add(ApiConstants.UserAgentValue);
+ request.Headers.UserAgent.Add(AzurePowerShell.UserAgentValue);
return request;
}
diff --git a/src/Common/Commands.Common/Common/ClientCreatedArgs.cs b/src/Common/Commands.Common/ClientCreatedArgs.cs
similarity index 100%
rename from src/Common/Commands.Common/Common/ClientCreatedArgs.cs
rename to src/Common/Commands.Common/ClientCreatedArgs.cs
diff --git a/src/Common/Commands.Common/Common/CloudBaseCmdlet.cs b/src/Common/Commands.Common/CloudBaseCmdlet.cs
similarity index 98%
rename from src/Common/Commands.Common/Common/CloudBaseCmdlet.cs
rename to src/Common/Commands.Common/CloudBaseCmdlet.cs
index 6f1cfb01292f..b8a8ee7a4412 100644
--- a/src/Common/Commands.Common/Common/CloudBaseCmdlet.cs
+++ b/src/Common/Commands.Common/CloudBaseCmdlet.cs
@@ -12,18 +12,18 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.Azure.Common.Extensions.Models;
+using Microsoft.WindowsAzure.Commands.Common.Properties;
+using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using System;
+using System.Diagnostics;
using System.Globalization;
using System.Management.Automation;
using System.Net;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Security;
-using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
-using System.Diagnostics;
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
{
diff --git a/src/Common/Commands.Common/Common/CmdletExtensions.cs b/src/Common/Commands.Common/CmdletExtensions.cs
similarity index 100%
rename from src/Common/Commands.Common/Common/CmdletExtensions.cs
rename to src/Common/Commands.Common/CmdletExtensions.cs
diff --git a/src/Common/Commands.Common/Commands.Common.csproj b/src/Common/Commands.Common/Commands.Common.csproj
index 8a7df1ba2964..1c07ac6e9cdb 100644
--- a/src/Common/Commands.Common/Commands.Common.csproj
+++ b/src/Common/Commands.Common/Commands.Common.csproj
@@ -134,79 +134,32 @@
-
-
-
-
-
-
-
-
- True
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
True
@@ -221,11 +174,16 @@
-
Designer
+
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
+
diff --git a/src/Common/Commands.Common/Common/ManagementConstants.cs b/src/Common/Commands.Common/Common/ManagementConstants.cs
deleted file mode 100644
index 269eaa2c119d..000000000000
--- a/src/Common/Commands.Common/Common/ManagementConstants.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 System.Net.Http.Headers;
-using Microsoft.WindowsAzure.Commands.Common;
-
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common
-{
- public static class ApiConstants
- {
- public const string AuthorizationHeaderName = "Authorization";
-
- public const string BasicAuthorization = "Basic";
-
- public const string UserAgentHeaderName = "User-Agent";
-
- public const string UserAgentHeaderValue = "AzurePowershell/v" + AzurePowerShell.AssemblyVersion;
-
- public static ProductInfoHeaderValue UserAgentValue = new ProductInfoHeaderValue(
- "AzurePowershell",
- string.Format("v{0}", AzurePowerShell.AssemblyVersion));
-
- public const string VSDebuggerCausalityDataHeaderName = "VSDebuggerCausalityData";
-
- public const string OperationTrackingIdHeader = "x-ms-request-id";
-
- public const string VersionHeaderContentLatest = "2013-08-01";
-
- public const string VersionHeaderName = "x-ms-version";
-
- }
-
- 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,
- Cloud
- }
-
- public enum RoleType
- {
- WebRole,
- WorkerRole
- }
-
- public enum RuntimeType
- {
- IISNode,
- Node,
- PHP,
- Cache,
- Null
- }
-
- 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";
- }
-}
\ No newline at end of file
diff --git a/src/Common/Commands.Common/Common/ConfigurationConstants.cs b/src/Common/Commands.Common/ConfigurationConstants.cs
similarity index 100%
rename from src/Common/Commands.Common/Common/ConfigurationConstants.cs
rename to src/Common/Commands.Common/ConfigurationConstants.cs
diff --git a/src/Common/Commands.Common/Constants.cs b/src/Common/Commands.Common/Constants.cs
new file mode 100644
index 000000000000..33794d1e455d
--- /dev/null
+++ b/src/Common/Commands.Common/Constants.cs
@@ -0,0 +1,72 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.WindowsAzure.Commands.Common
+{
+ public static class ApiConstants
+ {
+ public const string AuthorizationHeaderName = "Authorization";
+
+ public const string BasicAuthorization = "Basic";
+
+ public const string UserAgentHeaderName = "User-Agent";
+
+ public const string UserAgentHeaderValue = "AzurePowershell/v" + AzurePowerShell.AssemblyVersion;
+
+ public const string VSDebuggerCausalityDataHeaderName = "VSDebuggerCausalityData";
+
+ public const string OperationTrackingIdHeader = "x-ms-request-id";
+
+ public const string VersionHeaderContentLatest = "2013-08-01";
+
+ public const string VersionHeaderName = "x-ms-version";
+
+ }
+
+ 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,
+ Cloud
+ }
+
+ public enum RoleType
+ {
+ WebRole,
+ WorkerRole
+ }
+
+ public enum RuntimeType
+ {
+ IISNode,
+ Node,
+ PHP,
+ Cache,
+ Null
+ }
+}
diff --git a/src/Common/Commands.Common/Utilities/ConversionUtilities.cs b/src/Common/Commands.Common/ConversionUtilities.cs
similarity index 98%
rename from src/Common/Commands.Common/Utilities/ConversionUtilities.cs
rename to src/Common/Commands.Common/ConversionUtilities.cs
index 464ebd4f59ea..270b4153b08a 100644
--- a/src/Common/Commands.Common/Utilities/ConversionUtilities.cs
+++ b/src/Common/Commands.Common/ConversionUtilities.cs
@@ -20,7 +20,7 @@
using System.Security;
using System.Text;
-namespace Microsoft.WindowsAzure.Commands.Utilities.Common
+namespace Microsoft.WindowsAzure.Commands.Common
{
public static class ConversionUtilities
{
diff --git a/src/Common/Commands.Common/Common/ErrorHelper.cs b/src/Common/Commands.Common/ErrorHelper.cs
similarity index 99%
rename from src/Common/Commands.Common/Common/ErrorHelper.cs
rename to src/Common/Commands.Common/ErrorHelper.cs
index 0b931ec57c58..26cddb43a87a 100644
--- a/src/Common/Commands.Common/Common/ErrorHelper.cs
+++ b/src/Common/Commands.Common/ErrorHelper.cs
@@ -12,11 +12,12 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using System.IO;
using System.Net;
using System.ServiceModel;
using System.Xml;
-using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
{
diff --git a/src/Common/Commands.Common/Utilities/GeneralUtilities.cs b/src/Common/Commands.Common/GeneralUtilities.cs
similarity index 99%
rename from src/Common/Commands.Common/Utilities/GeneralUtilities.cs
rename to src/Common/Commands.Common/GeneralUtilities.cs
index 02189364034e..04098501bd36 100644
--- a/src/Common/Commands.Common/Utilities/GeneralUtilities.cs
+++ b/src/Common/Commands.Common/GeneralUtilities.cs
@@ -12,10 +12,13 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.Azure.Common.Extensions.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.WindowsAzure.Common.Internals;
using System;
using System.Collections.Generic;
using System.Diagnostics;
-using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
@@ -27,8 +30,6 @@
using System.ServiceModel.Channels;
using System.Text;
using System.Xml;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-using Microsoft.WindowsAzure.Common.Internals;
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
{
diff --git a/src/Common/Commands.Common/Common/HttpClientExtensions.cs b/src/Common/Commands.Common/HttpClientExtensions.cs
similarity index 96%
rename from src/Common/Commands.Common/Common/HttpClientExtensions.cs
rename to src/Common/Commands.Common/HttpClientExtensions.cs
index b5df42f25c46..1571324e132f 100644
--- a/src/Common/Commands.Common/Common/HttpClientExtensions.cs
+++ b/src/Common/Commands.Common/HttpClientExtensions.cs
@@ -13,13 +13,13 @@
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.WindowsAzure.Commands.Common;
+using Newtonsoft.Json;
using System;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
-using System.Threading.Tasks;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Linq;
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
{
@@ -27,9 +27,9 @@ public static class HttpClientExtensions
{
private static void AddUserAgent(HttpClient client)
{
- if (!client.DefaultRequestHeaders.UserAgent.Contains(ApiConstants.UserAgentValue))
+ if (!client.DefaultRequestHeaders.UserAgent.Contains(AzurePowerShell.UserAgentValue))
{
- client.DefaultRequestHeaders.UserAgent.Add(ApiConstants.UserAgentValue);
+ client.DefaultRequestHeaders.UserAgent.Add(AzurePowerShell.UserAgentValue);
}
}
diff --git a/src/Common/Commands.Common/Common/HttpRestCallLogger.cs b/src/Common/Commands.Common/HttpRestCallLogger.cs
similarity index 100%
rename from src/Common/Commands.Common/Common/HttpRestCallLogger.cs
rename to src/Common/Commands.Common/HttpRestCallLogger.cs
diff --git a/src/Common/Commands.Common/Common/HttpRestMessageInspector.cs b/src/Common/Commands.Common/HttpRestMessageInspector.cs
similarity index 100%
rename from src/Common/Commands.Common/Common/HttpRestMessageInspector.cs
rename to src/Common/Commands.Common/HttpRestMessageInspector.cs
diff --git a/src/Common/Commands.Common/Common/IdnHelper.cs b/src/Common/Commands.Common/IdnHelper.cs
similarity index 100%
rename from src/Common/Commands.Common/Common/IdnHelper.cs
rename to src/Common/Commands.Common/IdnHelper.cs
diff --git a/src/Common/Commands.Common/Common/ManagementOperationContext.cs b/src/Common/Commands.Common/ManagementOperationContext.cs
similarity index 100%
rename from src/Common/Commands.Common/Common/ManagementOperationContext.cs
rename to src/Common/Commands.Common/ManagementOperationContext.cs
diff --git a/src/Common/Commands.Common/Common/PSAzureAccount.cs b/src/Common/Commands.Common/PSAzureAccount.cs
similarity index 94%
rename from src/Common/Commands.Common/Common/PSAzureAccount.cs
rename to src/Common/Commands.Common/PSAzureAccount.cs
index df62a50e8989..f39fcd405d0c 100644
--- a/src/Common/Commands.Common/Common/PSAzureAccount.cs
+++ b/src/Common/Commands.Common/PSAzureAccount.cs
@@ -12,7 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public class PSAzureAccount
{
diff --git a/src/Common/Commands.Common/Common/Parameters.cs b/src/Common/Commands.Common/Parameters.cs
similarity index 100%
rename from src/Common/Commands.Common/Common/Parameters.cs
rename to src/Common/Commands.Common/Parameters.cs
diff --git a/src/Common/Commands.Common/Utilities/PowerShellUtilities.cs b/src/Common/Commands.Common/PowerShellUtilities.cs
similarity index 100%
rename from src/Common/Commands.Common/Utilities/PowerShellUtilities.cs
rename to src/Common/Commands.Common/PowerShellUtilities.cs
diff --git a/src/Common/Commands.Common/Common/ProcessHelper.cs b/src/Common/Commands.Common/ProcessHelper.cs
similarity index 100%
rename from src/Common/Commands.Common/Common/ProcessHelper.cs
rename to src/Common/Commands.Common/ProcessHelper.cs
diff --git a/src/Common/Commands.Common/Common/ProfileClientExtensions.cs b/src/Common/Commands.Common/ProfileClientExtensions.cs
similarity index 96%
rename from src/Common/Commands.Common/Common/ProfileClientExtensions.cs
rename to src/Common/Commands.Common/ProfileClientExtensions.cs
index 795eec2bcc99..5a14b5d566c7 100644
--- a/src/Common/Commands.Common/Common/ProfileClientExtensions.cs
+++ b/src/Common/Commands.Common/ProfileClientExtensions.cs
@@ -12,7 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
namespace Microsoft.WindowsAzure.Commands.Common
{
diff --git a/src/Common/Commands.Common/Properties/Resources.Designer.cs b/src/Common/Commands.Common/Properties/Resources.Designer.cs
index 1414d46eb5da..aadcee8cea7b 100644
--- a/src/Common/Commands.Common/Properties/Resources.Designer.cs
+++ b/src/Common/Commands.Common/Properties/Resources.Designer.cs
@@ -8,10 +8,10 @@
//
//------------------------------------------------------------------------------
-namespace Microsoft.WindowsAzure.Commands.Common.Properties {
- using System;
-
-
+namespace Microsoft.WindowsAzure.Commands.Common.Properties
+{
+
+
///
/// A strongly-typed resource class, for looking up localized strings, etc.
///
@@ -3927,6 +3927,15 @@ public static string SubscriptionAlreadyExists {
}
}
+ ///
+ /// 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.
///
diff --git a/src/Common/Commands.Common/Properties/Resources.resx b/src/Common/Commands.Common/Properties/Resources.resx
index d62beedd94f2..9295f82d4c57 100644
--- a/src/Common/Commands.Common/Properties/Resources.resx
+++ b/src/Common/Commands.Common/Properties/Resources.resx
@@ -1573,4 +1573,7 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf
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/Commands.Common/Models/RecordingTracingInterceptor.cs b/src/Common/Commands.Common/RecordingTracingInterceptor.cs
similarity index 97%
rename from src/Common/Commands.Common/Models/RecordingTracingInterceptor.cs
rename to src/Common/Commands.Common/RecordingTracingInterceptor.cs
index 03b40f1815e7..6cd9ed9406eb 100644
--- a/src/Common/Commands.Common/Models/RecordingTracingInterceptor.cs
+++ b/src/Common/Commands.Common/RecordingTracingInterceptor.cs
@@ -12,13 +12,14 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.WindowsAzure;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Net.Http;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
-namespace Microsoft.WindowsAzure.Commands.Common.Models
+namespace Microsoft.Azure.Common.Extensions.Models
{
public class RecordingTracingInterceptor : ICloudTracingInterceptor
{
@@ -26,7 +27,7 @@ public RecordingTracingInterceptor()
{
MessageQueue = new ConcurrentQueue();
}
-
+
public ConcurrentQueue MessageQueue { get; private set; }
private void Write(string message, params object[] arguments)
diff --git a/src/Common/Commands.Common/Common/ServiceManagementTypes.cs b/src/Common/Commands.Common/ServiceManagementTypes.cs
similarity index 100%
rename from src/Common/Commands.Common/Common/ServiceManagementTypes.cs
rename to src/Common/Commands.Common/ServiceManagementTypes.cs
index b613f7e99ace..b2aeb7aaa4b4 100644
--- a/src/Common/Commands.Common/Common/ServiceManagementTypes.cs
+++ b/src/Common/Commands.Common/ServiceManagementTypes.cs
@@ -14,6 +14,7 @@
//TODO: When transition to SM.NET is completed, rename the namespace to "Microsoft.WindowsAzure.ServiceManagement"
+using Microsoft.WindowsAzure.Commands.Common.Properties;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
@@ -27,7 +28,6 @@
using System.ServiceModel.Web;
using System.Text;
using System.Xml;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Model
{
diff --git a/src/Common/Commands.Common/Common/SubscriptionCmdletBase.cs b/src/Common/Commands.Common/SubscriptionCmdletBase.cs
similarity index 87%
rename from src/Common/Commands.Common/Common/SubscriptionCmdletBase.cs
rename to src/Common/Commands.Common/SubscriptionCmdletBase.cs
index 1f2dd6dd4635..91031a45c851 100644
--- a/src/Common/Commands.Common/Common/SubscriptionCmdletBase.cs
+++ b/src/Common/Commands.Common/SubscriptionCmdletBase.cs
@@ -12,9 +12,10 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-using System.Management.Automation;
-using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using System.Management.Automation;
namespace Microsoft.WindowsAzure.Commands.Utilities.Profile
{
@@ -25,7 +26,7 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Profile
///
public abstract class SubscriptionCmdletBase : AzurePSCmdlet
{
- [Parameter(Mandatory = false, HelpMessage = "File storing subscription data, if not set uses default.")]
+ [Parameter(Mandatory = false, HelpMessage = "[Deprecated]: File storing subscription data, if not set uses default.")]
public string SubscriptionDataFile { get; set; }
private readonly bool _saveProfile;
@@ -40,6 +41,7 @@ protected override void BeginProcessing()
if (!string.IsNullOrEmpty(SubscriptionDataFile))
{
ProfileClient = new ProfileClient(SubscriptionDataFile);
+ WriteWarning(Resources.SubscriptionDataFileDeprecated);
}
else
{
diff --git a/src/Common/Commands.Common/Common/Tasks.cs b/src/Common/Commands.Common/Tasks.cs
similarity index 100%
rename from src/Common/Commands.Common/Common/Tasks.cs
rename to src/Common/Commands.Common/Tasks.cs
diff --git a/src/Common/Commands.Common/Common/TestMockSupport.cs b/src/Common/Commands.Common/TestMockSupport.cs
similarity index 100%
rename from src/Common/Commands.Common/Common/TestMockSupport.cs
rename to src/Common/Commands.Common/TestMockSupport.cs
diff --git a/src/Common/Commands.Profile/Account/AddAzureAccount.cs b/src/Common/Commands.Profile/Account/AddAzureAccount.cs
index 99027ed9630d..d6793e6522d9 100644
--- a/src/Common/Commands.Profile/Account/AddAzureAccount.cs
+++ b/src/Common/Commands.Profile/Account/AddAzureAccount.cs
@@ -15,7 +15,7 @@
using System.Management.Automation;
using System.Security;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
diff --git a/src/Common/Commands.Profile/Account/GetAzureAccount.cs b/src/Common/Commands.Profile/Account/GetAzureAccount.cs
index 5af5642e9b3a..ad63b8dc70ee 100644
--- a/src/Common/Commands.Profile/Account/GetAzureAccount.cs
+++ b/src/Common/Commands.Profile/Account/GetAzureAccount.cs
@@ -14,7 +14,7 @@
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
using System.Collections.Generic;
diff --git a/src/Common/Commands.Profile/Account/RemoveAzureAccount.cs b/src/Common/Commands.Profile/Account/RemoveAzureAccount.cs
index 01a103c100ad..5e16e019cf35 100644
--- a/src/Common/Commands.Profile/Account/RemoveAzureAccount.cs
+++ b/src/Common/Commands.Profile/Account/RemoveAzureAccount.cs
@@ -13,7 +13,7 @@
// ----------------------------------------------------------------------------------
using System.Management.Automation;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
diff --git a/src/Common/Commands.Profile/Commands.Profile.csproj b/src/Common/Commands.Profile/Commands.Profile.csproj
index 0b1154c8cefa..c8dfd0f6e933 100644
--- a/src/Common/Commands.Profile/Commands.Profile.csproj
+++ b/src/Common/Commands.Profile/Commands.Profile.csproj
@@ -143,6 +143,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
diff --git a/src/Common/Commands.Profile/Environment/AddAzureEnvironment.cs b/src/Common/Commands.Profile/Environment/AddAzureEnvironment.cs
index 06b42ada3921..63f4218214bd 100644
--- a/src/Common/Commands.Profile/Environment/AddAzureEnvironment.cs
+++ b/src/Common/Commands.Profile/Environment/AddAzureEnvironment.cs
@@ -14,7 +14,7 @@
using System.Management.Automation;
using System.Security.Permissions;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
using System.Collections.Generic;
using System;
diff --git a/src/Common/Commands.Profile/Environment/GetAzureEnvironment.cs b/src/Common/Commands.Profile/Environment/GetAzureEnvironment.cs
index 0ad23b085004..d57fb27a1379 100644
--- a/src/Common/Commands.Profile/Environment/GetAzureEnvironment.cs
+++ b/src/Common/Commands.Profile/Environment/GetAzureEnvironment.cs
@@ -15,7 +15,7 @@
using System.Collections.Generic;
using System.Management.Automation;
using System.Security.Permissions;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
using System;
diff --git a/src/Common/Commands.Profile/Environment/RemoveAzureEnvironment.cs b/src/Common/Commands.Profile/Environment/RemoveAzureEnvironment.cs
index eb37a9ba13dc..941b0724c871 100644
--- a/src/Common/Commands.Profile/Environment/RemoveAzureEnvironment.cs
+++ b/src/Common/Commands.Profile/Environment/RemoveAzureEnvironment.cs
@@ -14,7 +14,7 @@
using System.Management.Automation;
using System.Security.Permissions;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
diff --git a/src/Common/Commands.Profile/Environment/SetAzureEnvironment.cs b/src/Common/Commands.Profile/Environment/SetAzureEnvironment.cs
index 9696fce851d8..df8036991d36 100644
--- a/src/Common/Commands.Profile/Environment/SetAzureEnvironment.cs
+++ b/src/Common/Commands.Profile/Environment/SetAzureEnvironment.cs
@@ -14,7 +14,7 @@
using System.Management.Automation;
using System.Security.Permissions;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
namespace Microsoft.WindowsAzure.Commands.Profile
diff --git a/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.xml b/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.xml
index 9d2df460ffce..dc892b86f0d7 100644
--- a/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.xml
+++ b/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.xml
@@ -1,4077 +1,4102 @@
-
-
-
-
- Add-AzureAccount
-
- Adds the Azure account to Windows PowerShell
-
-
-
-
- Add
- AzureAccount
-
-
-
- The Add-AzureAccount cmdlet makes your Azure account and its subscriptions available in Windows PowerShell. It's like logging into your Azure account in Windows PowerShell. To log out of the account, use the Remove-AzureAccount cmdlet.
- Add-AzureAccount downloads information about your Azure account and saves it in a subscription data file in your roaming user profile. It also gets an access token that allows Windows PowerShell to access your Azure account on your behalf. When the command completes, you can manage your Azure account in Windows PowerShell.
- There are two different ways to make your Azure account available to Windows PowerShell. You can use the Add-AzureAccount cmdlet, which uses Azure Active Directory (Azure AD) authentication access tokens, or Import-AzurePublishSettingsFile, which uses a management certificate. For guidance on which method to use, see "How to: Connect to your subscription" (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/#Connect).
- When you run Add-AzureAccount, it displays an interactive window that prompts you to sign into your Azure account. This sign-in is valid until the access token expires. When it expires, cmdlets that require access to your account prompt you to run Add-AzureAccount again.
- If you have a Microsoft Organizational account, you can use the -Credential parameter to add the subscriptions associated with your account to Windows PowerShell without an interactive dialog.
- When specifying -ServicePrincipal switch a -Credential parameter is used to authenticate a Service Principal.
-
-
-
- Add-AzureAccount
-
- Environment
-
- Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack.To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet.
-
- String
-
-
- Credential
-
- The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account.
-
- PSCredential
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
- Add-AzureAccount
-
- Environment
-
- Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack.To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet.
-
- String
-
-
- Credential
-
- The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account.
-
- PSCredential
-
-
- ServicePrincipal
-
- Specifies that your are logging in as a service principal. You must give a Credentials parameter for this case, with the service principal ID as the user name and the service principal key as the password.
-
- SwitchParameter
-
-
- Tenant
-
- Used when logging in as a service principal. Specifies the AAD tenant the service principal is defined in. This can be either the tenant's domain name or id.
-
- String
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
-
-
- Environment
-
- Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack.To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet.
-
- String
-
- String
-
-
-
-
-
- Credential
-
- The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account.
-
- PSCredential
-
- PSCredential
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
- ServicePrincipal
-
- Specifies that your are logging in as a service principal. You must give a Credentials parameter for this case, with the service principal ID as the user name and the service principal key as the password.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Tenant
-
- Used when logging in as a service principal. Specifies the AAD tenant the service principal is defined in. This can be either the tenant's domain name or id.
-
- String
-
- String
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Add-AzureAccount (and the Azure AD authentication method) takes precedence over Import-AzurePublishSettings (and the management certificate method). If you use Add-AzureAccount even once on your account, the Azure AD authentication method is used and the management certificate is ignored. To remove the Azure AD token and restore the management certificate method, use the Remove-AzureAccount cmdlet. For more information, type: Get-Help Remove-AzureAccount.
-
-
-
-
- -------------------------- Example 1: Add an account --------------------------
-
- PS C:\>
-
- PS C:\>Add-AzureAccount
-
- This command adds an Azure account to Windows PowerShell. When you run the command, a windows pops up to request the user name and password of the account.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Use an alternate subscription data file --------------------------
-
- PS C:\>
-
- PS C:\>Add-AzureAccount -SubscriptionDataFile C:\Testing\SDF.xml
-
- This command uses the SubscriptionDataFile parameter to direct Add-AzureAccount to store the account data in the C:\Testing\SDF.xml file, instead of the default file.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3: Add a Microsoft Organizational account using Credential --------------------------
-
- PS C:\>
-
- PS C:\>$credential = Get-Credential
-PS C:\>Add-AzureAccount -Credential $credential
-
- This command uses the Credential parameter to provide AAD authentication information on the command line, rather than using the pop-up dialog for AAD authentication.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 4: Add a Service Principal account using Credential and ServicePrincipal --------------------------
-
- PS C:\>
-
- PS C:\>$credential = Get-Credential
-PS C:\>Add-AzureAccount -Credential $credential -ServicePrincipal -Tenant "3EB32C56-E1E5-46A6-9410-F4A0572B3998"
-
- This command uses the Credential parameter to provide AAD authentication information of the Service Principal in the tenant 3EB32C56-E1E5-46A6-9410-F4A0572B3998.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 5: Add an account in Azure China --------------------------
-
- PS C:\>
-
- PS C:\>Add-AzureAccount -Environment AzureChinaCloud
-
- This command uses the Environment parameter to add an Azure China account to Windows PowerShell. When you run the command, a windows pops up to request the user name and password of the account.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397618
-
-
- Add-AzureEnvironment
-
-
-
- Get-AzureEnvironment
-
-
-
- Import-AzurePublishSettingsFile
-
-
-
- Get-AzureAccount
-
-
-
- Remove-AzureAccount
-
-
-
-
-
-
-
- Add-AzureEnvironment
-
- Creates an Azure environment
-
-
-
-
- Add
- AzureEnvironment
-
-
-
- The Add-AzureEnvironment cmdlet creates a new custom Azure account environment and saves it in your roaming user profile. The cmdlet returns an object that represents the new environment. When the command completes, you can use the environment in Windows PowerShell.
- An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).
- Only the Name parameter of this cmdlet is mandatory. If you omit a parameter, its value is null ($null), and the service that uses that endpoint might not function properly. To add or change the value of an environment property, use the Set-AzureEnvironment cmdlet.
- NOTE: Changing your environment can cause your account to fail. Typically, environments are added only for testing or troubleshooting.
-
-
-
- Add-AzureEnvironment
-
- Name
-
- Specifies a name for the environment. This parameter is required. Do not use the names of the default environments, AzureCloud and AzureChinaCloud.
-
- String
-
-
- PublishSettingsFileUrl
-
- Specifies the URL of the publish settings files for your account. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf.
-
- String
-
-
- ServiceEndpoint
-
- Specifies the URL of the Azure service endpoint. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation.
-
- String
-
-
- ManagementPortalUrl
-
- Specifies the URL of the Azure Management Portal in the new environment.
-
- String
-
-
- StorageEndpoint
-
- Specifies the default endpoint of storage services in the new environment.
-
- String
-
-
- ActiveDirectoryEndpoint
-
- Specifies the endpoint for Azure Active Directory authentication in the new environment.
-
- String
-
-
- ResourceManagerEndpoint
-
- Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
-
- GalleryEndpoint
-
- Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate.
-
- String
-
-
- ActiveDirectoryServiceEndpointResourceId
-
- Specifies the resource ID of a management API whose access is managed by Azure Active Directory.
-
- String
-
-
- GraphEndpoint
-
- Changes the endpoint for Azure Active Directory Graph API to the specified value.
-
- String
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
-
-
- Name
-
- Specifies a name for the environment. This parameter is required. Do not use the names of the default environments, AzureCloud and AzureChinaCloud.
-
- String
-
- String
-
-
-
-
-
- PublishSettingsFileUrl
-
- Specifies the URL of the publish settings files for your account. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf.
-
- String
-
- String
-
-
-
-
-
- ServiceEndpoint
-
- Specifies the URL of the Azure service endpoint. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation.
-
- String
-
- String
-
-
-
-
-
- ManagementPortalUrl
-
- Specifies the URL of the Azure Management Portal in the new environment.
-
- String
-
- String
-
-
-
-
-
- StorageEndpoint
-
- Specifies the default endpoint of storage services in the new environment.
-
- String
-
- String
-
-
-
-
-
- ActiveDirectoryEndpoint
-
- Specifies the endpoint for Azure Active Directory authentication in the new environment.
-
- String
-
- String
-
-
-
-
-
- ResourceManagerEndpoint
-
- Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
- String
-
-
-
-
-
- GalleryEndpoint
-
- Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate.
-
- String
-
- String
-
-
-
-
-
- ActiveDirectoryServiceEndpointResourceId
-
- Specifies the resource ID of a management API whose access is managed by Azure Active Directory.
-
- String
-
- String
-
-
-
-
-
- GraphEndpoint
-
- Changes the endpoint for Azure Active Directory Graph API to the specified value.
-
- String
-
- String
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureEnvironment
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Add an Azure environment --------------------------
-
- PS C:\>
-
- PS C:\>Add-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl https://contoso.com/fwlink/?LinkID=101 -ServiceEndpoint https://contoso.com/fwlink/?LinkID=102
-Name : ContosoEnv
+
+
+
+
+
+ Add-AzureAccount
+
+ Adds the Azure account to Windows PowerShell
+
+
+
+
+ Add
+ AzureAccount
+
+
+
+ The Add-AzureAccount cmdlet makes your Azure account and its subscriptions available in Windows PowerShell. It's like logging into your Azure account in Windows PowerShell. To log out of the account, use the Remove-AzureAccount cmdlet.
+ Add-AzureAccount downloads information about your Azure account and saves it in a subscription data file in your roaming user profile. It also gets an access token that allows Windows PowerShell to access your Azure account on your behalf. When the command completes, you can manage your Azure account in Windows PowerShell.
+ There are two different ways to make your Azure account available to Windows PowerShell. You can use the Add-AzureAccount cmdlet, which uses Azure Active Directory (Azure AD) authentication access tokens, or Import-AzurePublishSettingsFile, which uses a management certificate. For guidance on which method to use, see "How to: Connect to your subscription" (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/#Connect).
+ When you run Add-AzureAccount, it displays an interactive window that prompts you to sign into your Azure account. This sign-in is valid until the access token expires. When it expires, cmdlets that require access to your account prompt you to run Add-AzureAccount again.
+ If you have a Microsoft Organizational account, you can use the -Credential parameter to add the subscriptions associated with your account to Windows PowerShell without an interactive dialog.
+ When specifying -ServicePrincipal switch a -Credential parameter is used to authenticate a Service Principal.
+
+
+
+ Add-AzureAccount
+
+ Environment
+
+ Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack.To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet.
+
+ String
+
+
+ Credential
+
+ The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account.
+
+ PSCredential
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+ Add-AzureAccount
+
+ Environment
+
+ Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack.To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet.
+
+ String
+
+
+ Credential
+
+ The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account.
+
+ PSCredential
+
+
+ ServicePrincipal
+
+ Specifies that your are logging in as a service principal. You must give a Credentials parameter for this case, with the service principal ID as the user name and the service principal key as the password.
+
+ SwitchParameter
+
+
+ Tenant
+
+ Used when logging in as a service principal. Specifies the AAD tenant the service principal is defined in. This can be either the tenant's domain name or id.
+
+ String
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+
+
+ Environment
+
+ Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack.To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet.
+
+ String
+
+ String
+
+
+
+
+
+ Credential
+
+ The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account.
+
+ PSCredential
+
+ PSCredential
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+ ServicePrincipal
+
+ Specifies that your are logging in as a service principal. You must give a Credentials parameter for this case, with the service principal ID as the user name and the service principal key as the password.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Tenant
+
+ Used when logging in as a service principal. Specifies the AAD tenant the service principal is defined in. This can be either the tenant's domain name or id.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Add-AzureAccount (and the Azure AD authentication method) takes precedence over Import-AzurePublishSettings (and the management certificate method). If you use Add-AzureAccount even once on your account, the Azure AD authentication method is used and the management certificate is ignored. To remove the Azure AD token and restore the management certificate method, use the Remove-AzureAccount cmdlet. For more information, type: Get-Help Remove-AzureAccount.
+
+
+
+
+ -------------------------- Example 1: Add an account --------------------------
+
+ PS C:\>
+
+ PS C:\>Add-AzureAccount
+
+ This command adds an Azure account to Windows PowerShell. When you run the command, a windows pops up to request the user name and password of the account.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Use an alternate subscription data file --------------------------
+
+ PS C:\>
+
+ PS C:\>Add-AzureAccount -SubscriptionDataFile C:\Testing\SDF.xml
+
+ This command uses the SubscriptionDataFile parameter to direct Add-AzureAccount to store the account data in the C:\Testing\SDF.xml file, instead of the default file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3: Add a Microsoft Organizational account using Credential --------------------------
+
+ PS C:\>
+
+
+ PS C:\>$credential = Get-Credential
+ PS C:\>Add-AzureAccount -Credential $credential
+
+
+ This command uses the Credential parameter to provide AAD authentication information on the command line, rather than using the pop-up dialog for AAD authentication.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 4: Add a Service Principal account using Credential and ServicePrincipal --------------------------
+
+ PS C:\>
+
+
+ PS C:\>$credential = Get-Credential
+ PS C:\>Add-AzureAccount -Credential $credential -ServicePrincipal -Tenant "3EB32C56-E1E5-46A6-9410-F4A0572B3998"
+
+
+ This command uses the Credential parameter to provide AAD authentication information of the Service Principal in the tenant 3EB32C56-E1E5-46A6-9410-F4A0572B3998.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 5: Add an account in Azure China --------------------------
+
+ PS C:\>
+
+ PS C:\>Add-AzureAccount -Environment AzureChinaCloud
+
+ This command uses the Environment parameter to add an Azure China account to Windows PowerShell. When you run the command, a windows pops up to request the user name and password of the account.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397618
+
+
+ Add-AzureEnvironment
+
+
+
+ Get-AzureEnvironment
+
+
+
+ Import-AzurePublishSettingsFile
+
+
+
+ Get-AzureAccount
+
+
+
+ Remove-AzureAccount
+
+
+
+
+
+
+
+ Add-AzureEnvironment
+
+ Creates an Azure environment
+
+
+
+
+ Add
+ AzureEnvironment
+
+
+
+ The Add-AzureEnvironment cmdlet creates a new custom Azure account environment and saves it in your roaming user profile. The cmdlet returns an object that represents the new environment. When the command completes, you can use the environment in Windows PowerShell.
+ An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).
+ Only the Name parameter of this cmdlet is mandatory. If you omit a parameter, its value is null ($null), and the service that uses that endpoint might not function properly. To add or change the value of an environment property, use the Set-AzureEnvironment cmdlet.
+ NOTE: Changing your environment can cause your account to fail. Typically, environments are added only for testing or troubleshooting.
+
+
+
+ Add-AzureEnvironment
+
+ Name
+
+ Specifies a name for the environment. This parameter is required. Do not use the names of the default environments, AzureCloud and AzureChinaCloud.
+
+ String
+
+
+ PublishSettingsFileUrl
+
+ Specifies the URL of the publish settings files for your account. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf.
+
+ String
+
+
+ ServiceEndpoint
+
+ Specifies the URL of the Azure service endpoint. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation.
+
+ String
+
+
+ ManagementPortalUrl
+
+ Specifies the URL of the Azure Management Portal in the new environment.
+
+ String
+
+
+ StorageEndpoint
+
+ Specifies the default endpoint of storage services in the new environment.
+
+ String
+
+
+ ActiveDirectoryEndpoint
+
+ Specifies the endpoint for Azure Active Directory authentication in the new environment.
+
+ String
+
+
+ ResourceManagerEndpoint
+
+ Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
+
+ String
+
+
+ GalleryEndpoint
+
+ Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate.
+
+ String
+
+
+ ActiveDirectoryServiceEndpointResourceId
+
+ Specifies the resource ID of a management API whose access is managed by Azure Active Directory.
+
+ String
+
+
+ GraphEndpoint
+
+ Changes the endpoint for Azure Active Directory Graph API to the specified value.
+
+ String
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies a name for the environment. This parameter is required. Do not use the names of the default environments, AzureCloud and AzureChinaCloud.
+
+ String
+
+ String
+
+
+
+
+
+ PublishSettingsFileUrl
+
+ Specifies the URL of the publish settings files for your account. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf.
+
+ String
+
+ String
+
+
+
+
+
+ ServiceEndpoint
+
+ Specifies the URL of the Azure service endpoint. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation.
+
+ String
+
+ String
+
+
+
+
+
+ ManagementPortalUrl
+
+ Specifies the URL of the Azure Management Portal in the new environment.
+
+ String
+
+ String
+
+
+
+
+
+ StorageEndpoint
+
+ Specifies the default endpoint of storage services in the new environment.
+
+ String
+
+ String
+
+
+
+
+
+ ActiveDirectoryEndpoint
+
+ Specifies the endpoint for Azure Active Directory authentication in the new environment.
+
+ String
+
+ String
+
+
+
+
+
+ ResourceManagerEndpoint
+
+ Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
+
+ String
+
+ String
+
+
+
+
+
+ GalleryEndpoint
+
+ Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate.
+
+ String
+
+ String
+
+
+
+
+
+ ActiveDirectoryServiceEndpointResourceId
+
+ Specifies the resource ID of a management API whose access is managed by Azure Active Directory.
+
+ String
+
+ String
+
+
+
+
+
+ GraphEndpoint
+
+ Changes the endpoint for Azure Active Directory Graph API to the specified value.
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureEnvironment
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Add an Azure environment --------------------------
+
+ PS C:\>
+
+
+ PS C:\>Add-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl https://contoso.com/fwlink/?LinkID=101 -ServiceEndpoint https://contoso.com/fwlink/?LinkID=102
+ Name : ContosoEnv
-PublishSettingsFileUrl : https://contoso.com/fwlink/?LinkID=101
+ PublishSettingsFileUrl : https://contoso.com/fwlink/?LinkID=101
-ServiceEndpoint : https://contoso.com/fwlink/?LinkID=102
+ ServiceEndpoint : https://contoso.com/fwlink/?LinkID=102
-ResourceManagerEndpoint :
+ ResourceManagerEndpoint :
-ManagementPortalUrl :
+ ManagementPortalUrl :
-ActiveDirectoryEndpoint :
+ ActiveDirectoryEndpoint :
-ActiveDirectoryCommonTenantId :
+ ActiveDirectoryCommonTenantId :
-StorageEndpointSuffix :
+ StorageEndpointSuffix :
-StorageBlobEndpointFormat :
+ StorageBlobEndpointFormat :
-StorageQueueEndpointFormat :
+ StorageQueueEndpointFormat :
-StorageTableEndpointFormat :
+ StorageTableEndpointFormat :
-GalleryEndpoint :
-
- This command creates the ContosoEnv Azure environment.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Add an Azure environment with Parameters --------------------------
-
- PS C:\>
-
- PS C:\>Add-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl "https://contoso.com/fwlink/?LinkID=101" -ServiceEndpoint "https://contoso.com/fwlink/?LinkID=102" -ResourceManagerEndpoint "https://contoso.com/fwlink/?LinkID=103" -GraphEndpoint "https://contoso.com/fwlink/?LinkID=104"
-
- This command creates the ContosoEnv Azure environment with PublishSettingsFileUrl, ServiceEndpoint, ResourceManagerEndpoint, and GraphEndpoint specified. All other endpoints are ignored.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397619
-
-
- Get-AzureEnvironment
-
-
-
- Remove-AzureEnvironment
-
-
-
- Set-AzureEnvironment
-
-
-
-
-
-
-
- Clear-AzureProfile
-
- Clears an Azure profile
-
-
-
-
- Clear
- AzureProfile
-
-
-
- The Clear-AzureProfile cmdlet resets Azure profile to default values. All imported subscriptions and accounts are removed.
-
-
-
- Clear-AzureProfile
-
- Force
-
- Suppresses the confirmation prompt. By default, Clear-AzureProfile prompts you before clearing the profile.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Clear-AzureProfile prompts you before clearing the profile.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Clear profile --------------------------
-
- PS C:\>
-
- PS C:\>Clear-AzureProfile
-
- This command clears default user Azure profile.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Clear non-default profile --------------------------
-
- PS C:\>
-
- PS C:\>Clear-AzureProfile -SubscriptionDataFile c:\myprofile.json
-
- This command clears Azure profile stored in c:\myprofile.json file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureSubscription
-
-
-
- Set-AzureSubscription
-
-
-
- Add-AzureAccount
-
-
-
- Remove-AzureAccount
-
-
-
-
-
-
-
- Get-AzureAccount
-
- Gets Azure accounts that are available to Azure PowerShell.
-
-
-
-
- Get
- AzureAccount
-
-
-
- This is the Description section
- The Get-AzureAccount cmdlet gets the Azure accounts that are available to Windows PowerShell. To make your accounts available to Windows PowerShell, use the Add-AzureAccount or Import-PublishSettingsFile cmdlets.
-
-
-
- Get-AzureAccount
-
- Name
-
- Gets only the specified account. The default is all accounts that are available to Windows PowerShell. Enter the account name. The Name value is case-sensitive. Wildcards are not permitted.
-
- String
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
-
-
- Name
-
- Gets only the specified account. The default is all accounts that are available to Windows PowerShell. Enter the account name. The Name value is case-sensitive. Wildcards are not permitted.
-
- String
-
- String
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Get all accounts --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzureAccount
-Name ActiveDirectories
----- -----------------
-contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a...
-contosotest1@outlook.com {{ ActiveDirectoryTenantId = aaeabcde-386c-4466-bf70-794...
-
- This command gets all accounts associated with the specified user.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Get an account by name --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzureAccount -Name contosoadmin@outlook.com
-Name ActiveDirectories
----- -----------------
-contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a...
-
- This command gets the ContosoAdmin account.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397620
-
-
- Add-AzureAccount
-
-
-
- Get-AzurePublishSettingsFile
-
-
-
- Import-AzurePublishSettingsFile
-
-
-
- Remove-AzureAccount
-
-
-
-
-
-
-
- Get-AzureEnvironment
-
- Gets Azure environments
-
-
-
-
- Get
- AzureEnvironment
-
-
-
- This is the Description section
- The Get-AzureEnvironment cmdlet gets the Azure environments that are available to Windows PowerShell.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).The Get-AzureEnvironment cmdlet gets environments from your subscription data file, not from Azure. If the subscription data file is outdated, run the Add-AzureAccount or Import-PublishSettingsFile cmdlet to refresh it.
-
-
-
- Get-AzureEnvironment
-
- Name
-
- Gets only the specified environment. Type the environment name. The parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
-
-
- Name
-
- Gets only the specified environment. Type the environment name. The parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
- String
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- System.Management.Automation.PSCustomObject
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Get all environments --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzureEnvironment
-EnvironmentName ServiceEndpoint ResourceManagerEndpoint PublishSettingsFileUrl
---------------- --------------- ----------------------- ----------------------
+ GalleryEndpoint :
+
+
+ This command creates the ContosoEnv Azure environment.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Add an Azure environment with Parameters --------------------------
+
+ PS C:\>
+
+ PS C:\>Add-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl "https://contoso.com/fwlink/?LinkID=101" -ServiceEndpoint "https://contoso.com/fwlink/?LinkID=102" -ResourceManagerEndpoint "https://contoso.com/fwlink/?LinkID=103" -GraphEndpoint "https://contoso.com/fwlink/?LinkID=104"
+
+ This command creates the ContosoEnv Azure environment with PublishSettingsFileUrl, ServiceEndpoint, ResourceManagerEndpoint, and GraphEndpoint specified. All other endpoints are ignored.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397619
+
+
+ Get-AzureEnvironment
+
+
+
+ Remove-AzureEnvironment
+
+
+
+ Set-AzureEnvironment
+
+
+
+
+
+
+
+ Clear-AzureProfile
+
+ Clears an Azure profile
+
+
+
+
+ Clear
+ AzureProfile
+
+
+
+ The Clear-AzureProfile cmdlet resets Azure profile to default values. All imported subscriptions and accounts are removed.
+
+
+
+ Clear-AzureProfile
+
+ Force
+
+ Suppresses the confirmation prompt. By default, Clear-AzureProfile prompts you before clearing the profile.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+
+
+ Force
+
+ Suppresses the confirmation prompt. By default, Clear-AzureProfile prompts you before clearing the profile.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Clear profile --------------------------
+
+ PS C:\>
+
+ PS C:\>Clear-AzureProfile
+
+ This command clears default user Azure profile.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Clear nondefault profile --------------------------
+
+ PS C:\>
+
+ PS C:\>Clear-AzureProfile -SubscriptionDataFile c:\myprofile.json
+
+ This command clears Azure profile stored in c:\myprofile.json file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureSubscription
+
+
+
+ Set-AzureSubscription
+
+
+
+ Add-AzureAccount
+
+
+
+ Remove-AzureAccount
+
+
+
+
+
+
+
+ Get-AzureAccount
+
+ Gets Azure accounts that are available to Azure PowerShell.
+
+
+
+
+ Get
+ AzureAccount
+
+
+
+ This is the Description section
+ The Get-AzureAccount cmdlet gets the Azure accounts that are available to Windows PowerShell. To make your accounts available to Windows PowerShell, use the Add-AzureAccount or Import-PublishSettingsFile cmdlets.
+
+
+
+ Get-AzureAccount
+
+ Name
+
+ Gets only the specified account. The default is all accounts that are available to Windows PowerShell. Enter the account name. The Name value is case-sensitive. Wildcards are not permitted.
+
+ String
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+
+
+ Name
+
+ Gets only the specified account. The default is all accounts that are available to Windows PowerShell. Enter the account name. The Name value is case-sensitive. Wildcards are not permitted.
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Get all accounts --------------------------
+
+ PS C:\>
+
+
+ PS C:\>Get-AzureAccount
+ Name ActiveDirectories
+ ---- -----------------
+ contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a...
+ contosotest1@outlook.com {{ ActiveDirectoryTenantId = aaeabcde-386c-4466-bf70-794...
+
+
+ This command gets all accounts associated with the specified user.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Get an account by name --------------------------
+
+ PS C:\>
+
+
+ PS C:\>Get-AzureAccount -Name contosoadmin@outlook.com
+ Name ActiveDirectories
+ ---- -----------------
+ contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a...
+
+
+ This command gets the ContosoAdmin account.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397620
+
+
+ Add-AzureAccount
+
+
+
+ Get-AzurePublishSettingsFile
+
+
+
+ Import-AzurePublishSettingsFile
+
+
+
+ Remove-AzureAccount
+
+
+
+
+
+
+
+ Get-AzureEnvironment
+
+ Gets Azure environments
+
+
+
+
+ Get
+ AzureEnvironment
+
+
+
+ This is the Description section
+ The Get-AzureEnvironment cmdlet gets the Azure environments that are available to Windows PowerShell.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).The Get-AzureEnvironment cmdlet gets environments from your subscription data file, not from Azure. If the subscription data file is outdated, run the Add-AzureAccount or Import-PublishSettingsFile cmdlet to refresh it.
+
+
+
+ Get-AzureEnvironment
+
+ Name
+
+ Gets only the specified environment. Type the environment name. The parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+
+
+ Name
+
+ Gets only the specified environment. Type the environment name. The parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Management.Automation.PSCustomObject
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Get all environments --------------------------
+
+ PS C:\>
+
+
+ PS C:\>Get-AzureEnvironment
+ EnvironmentName ServiceEndpoint ResourceManagerEndpoint PublishSettingsFileUrl
+ --------------- --------------- ----------------------- ----------------------
-AzureCloud https://management.core.wi... https://management.azure.com/ http://go.microsoft.com/fw...
-AzureChinaCloud https://management.core.ch... https://not-supported-serv... http://go.microsoft.com/fw...
-
- This command gets all environments that are available to Windows PowerShell.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Get an environment by name --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzureEnvironment -Name AzureCloud
-Name : AzureCloud
+ AzureCloud https://management.core.wi... https://management.azure.com/ http://go.microsoft.com/fw...
+ AzureChinaCloud https://management.core.ch... https://not-supported-serv... http://go.microsoft.com/fw...
+
+
+ This command gets all environments that are available to Windows PowerShell.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Get an environment by name --------------------------
+
+ PS C:\>
+
+
+ PS C:\>Get-AzureEnvironment -Name AzureCloud
+ Name : AzureCloud
-PublishSettingsFileUrl : http://go.microsoft.com/fwlink/?LinkID=301775
+ PublishSettingsFileUrl : http://go.microsoft.com/fwlink/?LinkID=301775
-ServiceEndpoint : https://management.core.windows.net/
+ ServiceEndpoint : https://management.core.windows.net/
-ResourceManagerEndpoint : https://management.azure.com/
+ ResourceManagerEndpoint : https://management.azure.com/
-ManagementPortalUrl : http://go.microsoft.com/fwlink/?LinkId=254433
+ ManagementPortalUrl : http://go.microsoft.com/fwlink/?LinkId=254433
-ActiveDirectoryEndpoint : https://login.windows.net/
+ ActiveDirectoryEndpoint : https://login.windows.net/
-ActiveDirectoryCommonTenantId : common
+ ActiveDirectoryCommonTenantId : common
-StorageEndpointSuffix : core.windows.net
+ StorageEndpointSuffix : core.windows.net
-StorageBlobEndpointFormat : {0}://{1}.blob.core.windows.net/
+ StorageBlobEndpointFormat : {0}://{1}.blob.core.windows.net/
-StorageQueueEndpointFormat : {0}://{1}.queue.core.windows.net/
+ StorageQueueEndpointFormat : {0}://{1}.queue.core.windows.net/
-StorageTableEndpointFormat : {0}://{1}.table.core.windows.net/
+ StorageTableEndpointFormat : {0}://{1}.table.core.windows.net/
-GalleryEndpoint : https://gallery.azure.com/
-
- This example gets the AzureCloud environment.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3: Get all properties of all environments --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzureEnvironment | ForEach-Object {Get-AzureEnvironment -Name $_.EnvironmentName}
-
- This command gets all properties of all environments.
-
-
- The command uses the Get-AzureEnvironment cmdlet to get all Azure environments for this account. Then, it uses the Foreach-Object cmdlet to run a Get-AzureEnvironment command with the Name parameter on each environment. The value of the Name parameter is the EnvironmentName property of each environment.Without parameters, Get-AzureEnvironment gets only selected properties of an environment.
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397621
-
-
- Add-AzureAccount
-
-
-
- Add-AzureEnvironment
-
-
-
- Get-AzurePublishSettingsFile
-
-
-
- Import-AzurePublishSettingsFile
-
-
-
- Remove-AzureEnvironment
-
-
-
- Set-AzureEnvironment
-
-
-
-
-
-
-
- Get-AzurePublishSettingsFile
-
- Downloads the publish settings file for an Azure subscription.
-
-
-
-
- Get
- AzurePublishSettingsFile
-
-
-
- This is the Description section
- The Get-AzurePublishSettingsFile cmdlet downloads a publish settings file for a subscription in your account. When the command completes, you can use the Import-PublishSettingsFile cmdlet to make the settings in the file available to Windows PowerShell.To make your Azure account available to Windows PowerShell, you can use a publish settings file or the Add-AzureAccount cmdlet. Publish settings files let you prepare the session in advance so you can run scripts and background jobs unattended. However, not all services support publish settings files. For example, the AzureResourceManager module does not support publish settings files.When you run Get-AzurePublishSettingsFile, it opens your default browser and prompts you to sign into your Azure account, select a subscription, and select a file system location for the publish settings file. Then, it downloads the publish settings file for your subscription into the file that you selected.A "publish settings file" is an XML file with a .publishsettings file name extension. The file contains an encoded certificate that provides management credentials for your Azure subscriptions.Security Note: Publish settings files contains credentials that are used to administer your Azure subscriptions and services. If malicious users access your publish settings file, they can edit, create, and delete your Azure services. As a security best practice, save the file to a location in your Downloads or Documents folder and then delete it after using Import-AzurePublishSettingsFile cmdlet to import the settings.
-
-
-
- Get-AzurePublishSettingsFile
-
- Environment
-
- Specifies an Azure environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).
-
- String
-
-
- Realm
-
- Specifies the organization in an organizational ID. For example, if you sign into Azure as admin@contoso.com, the value of the Realm parameter is contoso.com. Use this parameter when you use an organizational ID to sign into the Azure portal. This parameter is not required when you use a Microsoft account, such as an outlook.com or live.com account.
-
- String
-
-
- PassThru
-
- Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. The PassThru parameter is typically used in conditional statements in functions and scripts.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
-
-
- Environment
-
- Specifies an Azure environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).
-
- String
-
- String
-
-
-
-
-
- Realm
-
- Specifies the organization in an organizational ID. For example, if you sign into Azure as admin@contoso.com, the value of the Realm parameter is contoso.com. Use this parameter when you use an organizational ID to sign into the Azure portal. This parameter is not required when you use a Microsoft account, such as an outlook.com or live.com account.
-
- String
-
- String
-
-
-
-
-
- PassThru
-
- Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. The PassThru parameter is typically used in conditional statements in functions and scripts.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None or System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Download a publish settings file --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzurePublishSettingsFile
-
- This command opens your default browser, connects to your Microsoft Azure account, and then downloads the .publishsettings file for your account.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Specify a realm --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzurePublishSettingsFile -Realm contoso.com -Passthru
-
- This command downloads the publish settings file for an account in the contoso.com domain. Use a command with the Realm parameter when you sign into Azure with an organizational account, instead of a Microsoft account.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397622
-
-
- Add-AzureAccount
-
-
-
- Import-AzurePublishSettingsFile
-
-
-
-
-
-
-
- Get-AzureSubscription
-
- Gets Azure subscriptions in Azure account.
-
-
-
-
- Get
- AzureSubscription
-
-
-
- This is the Description section
- The Get-AzureSubscription cmdlet gets the subscriptions in your Azure account. You can use this cmdlet to get information about the subscription and to pipe the subscription to other cmdlets.Get-AzureSubscription requires access to your Azure accounts. Before you run Get-AzureSubscription, you must run the Add-AzureAccount cmdlet or the cmdlets that download and install a publish settings file (Get-AzurePublishSettingsFile, Import-AzurePublishSettingsFile.
-
-
-
- Get-AzureSubscription
-
- SubscriptionName
-
- Gets only the specified subscription. Enter the subscription name. The value is case-sensitive. Wildcard characters are not supported. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts.
-
- String
-
-
- ExtendedDetails
-
- Returns quota information for the subscription, in addition to the standard settings.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
- Get-AzureSubscription
-
- SubscriptionId
-
- Gets only the specified subscription. Enter the subscription Id. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts.
-
- String
-
-
- ExtendedDetails
-
- Returns quota information for the subscription, in addition to the standard settings.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
- Get-AzureSubscription
-
- Default
-
- Gets only the default subscription, that is, the subscription designated as "default." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "default," use the Default parameter of the Select-AzureSubscription cmdlet.
-
- SwitchParameter
-
-
- ExtendedDetails
-
- Returns quota information for the subscription, in addition to the standard settings.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
- Get-AzureSubscription
-
- Current
-
- Gets only the current subscription, that is, the subscription designated as "current." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "current," use the Current parameter of the Select-AzureSubscription cmdlet.
-
- SwitchParameter
-
-
- ExtendedDetails
-
- Returns quota information for the subscription, in addition to the standard settings.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
-
-
- SubscriptionName
-
- Gets only the specified subscription. Enter the subscription name. The value is case-sensitive. Wildcard characters are not supported. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts.
-
- String
-
- String
-
-
-
-
-
- ExtendedDetails
-
- Returns quota information for the subscription, in addition to the standard settings.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
- SubscriptionId
-
- Gets only the specified subscription. Enter the subscription Id. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts.
-
- String
-
- String
-
-
-
-
-
- Default
-
- Gets only the default subscription, that is, the subscription designated as "default." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "default," use the Default parameter of the Select-AzureSubscription cmdlet.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Current
-
- Gets only the current subscription, that is, the subscription designated as "current." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "current," use the Current parameter of the Select-AzureSubscription cmdlet.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.WindowsAzure.Commands.Utilities.Common.AzureSubscription
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureSubscription gets data from the subscription data file that the Add-AzureAccount and Import-PublishSettingsFile cmdlets create.
-
-
-
-
- -------------------------- Example 1: Get all subscriptions --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS>Get-AzureSubscription
-
- This command gets all subscriptions in the account.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Get a subscription by name --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS>Get-AzureSubscription –SubscriptionName "MyProdSubscription"
-
- This command gets only the "MyProdSubsciption" subscription.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3: Get the default subscription --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS>(Get-AzureSubscription -Default).SubscriptionName
-
- This command gets only the name of the default subscription. The command first gets the subscription and then uses the dot method to get the SubscriptionName property of the subscription.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 4: Get selected subscription properties --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS>Get-AzureSubscription -Current | Format-List -Property SubscriptionName, Certificate
-
- This command returns a list with the name and certificate of the current subscription. It uses a Get-AzureSubscription command to get the current subscription. Then it pipes the subscription to a Format-List command that displays the selected properties in a list.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 5: Use an alternate subscription data file --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS>Get-AzureSubscription -SubscriptionDataFile "C:\Temp\MySubscriptions.xml"
-
- This command gets subscriptions from the C:\Temp\MySubscriptions.xml subscription data file. Use the SubscriptionDataFile parameter if you specified an alternate subscription data file when you ran the Add-AzureAccount or Import-PublishSettingsFile cmdlets.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397623
-
-
- Add-AzureAccount
-
-
-
- Get-AzurePublishSettingsFile
-
-
-
- Import-AzurePublishSettingsFile
-
-
-
- Remove-AzureSubscription
-
-
-
- Set-AzureSubscription
-
-
-
-
-
-
-
- Import-AzurePublishSettingsFile
-
- Imports a publish settings file that lets you manage your Azure accounts in Windows PowerShell.
-
-
-
-
- Import
- AzurePublishSettingsFile
-
-
-
- This is the Description section
- The Import-AzurePublishSettingsFile cmdlet imports a publish settings file (*.publishsettings) that contains information about your Azure accounts and saves a subscription data file on your computer. When the cmdlet completes, you can manage your Azure accounts in Windows PowerShell.Before running Import-AzurePublishSettingsFile, run Get-AzurePublishSettingsFile, which downloads and saves the publish settings file so you can import it.To make your Azure account available to Windows PowerShell, you can use a publish settings file or the Add-AzureAccount cmdlet. Publish settings files let you prepare the session in advance so you can run scripts and background jobs unattended. However, not all services support publish settings files. For example, the AzureResourceManager module does not support publish settings files.Security Note: Publish settings files contain a management certificate that is encoded, but not encrypted. If malicious users access your publish settings file, they might be able to edit, create, and delete your Azure services. As a security best practice, save the file to a location in your Downloads or Documents folder and then delete it after using Import-AzurePublishSettingsFile cmdlet to import the settings.
-
-
-
- Import-AzurePublishSettingsFile
-
- PublishSettingsFile
-
- Specifies the full path and filename of the publish settings file. This should match the file location that you entered when prompted by Get-AzurePublishSettingsFile.
-
- String
-
-
- Environment
-
- Specifies the environment to use. This parameter is optional. If it is not provided, an environment will be chosen according to the endpoint in the publish settings file.
-
- String
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
-
-
- PublishSettingsFile
-
- Specifies the full path and filename of the publish settings file. This should match the file location that you entered when prompted by Get-AzurePublishSettingsFile.
-
- String
-
- String
-
-
-
-
-
- Environment
-
- Specifies the environment to use. This parameter is optional. If it is not provided, an environment will be chosen according to the endpoint in the publish settings file.
-
- String
-
- String
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- A "publish settings file" is an XML file with a .publishsettings file name extension. The file contains an encoded certificate that provides management credentials for your Azure subscriptions. After you import this file, delete it to avoid security risks.
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings
-
- This command imports the "C:\Temp\MyAccount.publishsettings" file.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings –SubscriptionDataFile C:\Subs\Subscriptions.xml
-
- This command imports the "C:\Temp\MyAccountName-date-credentials.publishsettings" file and then saves the subscription data file in C:\Subs\Subscriptions.xml.
-
-
- When you use the SubscriptionDataFile parameter to save your subscription data file in an alternate location, be sure to use the SubscriptionDataFile parameter of cmdlets that use subscription data file, such as Select-AzureSubscription and Remove-AzureAccount.
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3 --------------------------
-
- PS C:\>
-
- PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings -Environment AzureChinaCloud
-
- This command imports the "C:\Temp\MyAccount.publishsettings" file and sets the Azure environment of all imported subscriptions to be AzureChinaCloud. This will overwrite the endpoints defined in the publish settings file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397624
-
-
- How to Install and Configure Azure PowerShell
-
-
-
- Add-AzureAccount
-
-
-
- Get-AzurePublishSettingsFile
-
-
-
-
-
-
-
- Remove-AzureAccount
-
- Deletes an Azure account from Windows PowerShell.
-
-
-
-
- Remove
- AzureAccount
-
-
-
- The Remove-AzureAccount cmdlet deletes an Azure account and its subscriptions from the subscription data file in your roaming user profile. It does not delete the account from Microsoft Azure, or change the actual account in any way.
- Using this cmdlet is a lot like logging out of your Azure account. And, if you want to log into the account again, use the Add-AzureAccount or Import-AzurePublishSettingsFile to add the account to Windows PowerShell again.
- You can also use Remove-AzureAccount cmdlet to change the way the Azure PowerShell cmdlets sign into your Azure account. If your account has both a management certificate from Import-AzurePublishSettingsFile and an access token from Add-AzureAccount, the Azure PowerShell cmdlets use only the access token; they ignore the management certificate. To use the management certificate, run Remove-AzureAccount. When Remove-AzureAccount finds both a management certificate and an access token, it deletes only the access token, instead of deleting the account. The management certificate is still there, so account is still available to Windows PowerShell.
-
-
-
- Remove-AzureAccount
-
- Name
-
- Specifies the name of the account to remove. The parameter value is case-sensitive. Wildcard characters are not supported.
-
- String
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) if the operation succeeded and False ($false) if it failed. By default, the cmdlet does not return any output.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- SwitchParameter
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- SwitchParameter
-
-
-
-
-
- Name
-
- Specifies the name of the account to remove. The parameter value is case-sensitive. Wildcard characters are not supported.
-
- String
-
- String
-
-
-
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- PassThru
-
- Returns True ($true) if the operation succeeded and False ($false) if it failed. By default, the cmdlet does not return any output.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- SwitchParameter
-
- SwitchParameter
-
-
- false
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- SwitchParameter
-
- SwitchParameter
-
-
- false
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None or System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Remove an account --------------------------
-
- PS C:\>
-
- PS C:\>Remove-AzureAccount -Name admin@contoso.com
-
- This command removes the admin@contoso.com from your subscription data file. When the command completes, the account is no longer available to Windows PowerShell.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397625
-
-
- Add-AzureAccount
-
-
-
- Get-AzureAccount
-
-
-
-
-
-
-
- Remove-AzureEnvironment
-
- Deletes an Azure environment from Windows PowerShell
-
-
-
-
- Remove
- AzureEnvironment
-
-
-
- This is the Description section
- The Remove-AzureEnvironment cmdlet deletes an Azure environment from your roaming profile so Windows PowerShell can't find it. This cmdlet does not delete the environment from Microsoft Azure, or change the actual environment in any way.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).
-
-
-
- Remove-AzureEnvironment
-
- Name
-
- Specifies the name of the environment to remove. This parameter is required. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
-
-
- Name
-
- Specifies the name of the environment to remove. This parameter is required. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
- String
-
-
-
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
- PassThru
-
- Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None or System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Delete an environment --------------------------
-
- PS C:\>
-
- PS C:\>Remove-AzureEnvironment -Name ContosoEnv
-
- This command deletes the ContosoEnv environment from Windows PowerShell.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Delete multiple environments --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzureEnvironment | Where-Object EnvironmentName -like "Contoso*" | ForEach-Object {Remove-AzureEnvironment -Name $_.EnvironmentName }
-
- This command deletes environments whose names begin with "Contoso" from Windows PowerShell.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397626
-
-
- Add-AzureEnvironment
-
-
-
- Get-AzureEnvironment
-
-
-
- Set-AzureEnvironment
-
-
-
-
-
-
-
- Remove-AzureSubscription
-
- Deletes an Azure subscription from Windows PowerShell.
-
-
-
-
- Remove
- AzureSubscription
-
-
-
- The Remove-AzureSubscription cmdlet deletes an Azure subscription from your subscription data file so Windows PowerShell can't find it. This cmdlet does not delete the subscription from Microsoft Azure, or change the actual subscription in any way.
-
-
-
- Remove-AzureSubscription
-
- SubscriptionName
-
- Specifies the subscription name. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- SwitchParameter
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- SwitchParameter
-
-
-
- Remove-AzureSubscription
-
- SubscriptionId
-
- Specifies the subscription Id. This parameter is required.
-
- String
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- SwitchParameter
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- SwitchParameter
-
-
-
-
-
- SubscriptionName
-
- Specifies the subscription name. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
- String
-
-
-
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- PassThru
-
- Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- SwitchParameter
-
- SwitchParameter
-
-
- false
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- SwitchParameter
-
- SwitchParameter
-
-
- false
-
-
- SubscriptionId
-
- Specifies the subscription Id. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None or System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Delete a subscription --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Remove-AzureSubscription -SubscriptionName Test
+ GalleryEndpoint : https://gallery.azure.com/
+
+
+ This example gets the AzureCloud environment.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3: Get all properties of all environments --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureEnvironment | ForEach-Object {Get-AzureEnvironment -Name $_.EnvironmentName}
+
+ This command gets all properties of all environments.
+
+
+ The command uses the Get-AzureEnvironment cmdlet to get all Azure environments for this account. Then, it uses the Foreach-Object cmdlet to run a Get-AzureEnvironment command with the Name parameter on each environment. The value of the Name parameter is the EnvironmentName property of each environment.Without parameters, Get-AzureEnvironment gets only selected properties of an environment.
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397621
+
+
+ Add-AzureAccount
+
+
+
+ Add-AzureEnvironment
+
+
+
+ Get-AzurePublishSettingsFile
+
+
+
+ Import-AzurePublishSettingsFile
+
+
+
+ Remove-AzureEnvironment
+
+
+
+ Set-AzureEnvironment
+
+
+
+
+
+
+
+ Get-AzurePublishSettingsFile
+
+ Downloads the publish settings file for an Azure subscription.
+
+
+
+
+ Get
+ AzurePublishSettingsFile
+
+
+
+ This is the Description section
+ The Get-AzurePublishSettingsFile cmdlet downloads a publish settings file for a subscription in your account. When the command completes, you can use the Import-PublishSettingsFile cmdlet to make the settings in the file available to Windows PowerShell.To make your Azure account available to Windows PowerShell, you can use a publish settings file or the Add-AzureAccount cmdlet. Publish settings files let you prepare the session in advance so you can run scripts and background jobs unattended. However, not all services support publish settings files. For example, the AzureResourceManager module does not support publish settings files.When you run Get-AzurePublishSettingsFile, it opens your default browser and prompts you to sign into your Azure account, select a subscription, and select a file system location for the publish settings file. Then, it downloads the publish settings file for your subscription into the file that you selected.A "publish settings file" is an XML file with a .publishsettings file name extension. The file contains an encoded certificate that provides management credentials for your Azure subscriptions.Security Note: Publish settings files contains credentials that are used to administer your Azure subscriptions and services. If malicious users access your publish settings file, they can edit, create, and delete your Azure services. As a security best practice, save the file to a location in your Downloads or Documents folder and then delete it after using Import-AzurePublishSettingsFile cmdlet to import the settings.
+
+
+
+ Get-AzurePublishSettingsFile
+
+ Environment
+
+ Specifies an Azure environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).
+
+ String
+
+
+ Realm
+
+ Specifies the organization in an organizational ID. For example, if you sign into Azure as admin@contoso.com, the value of the Realm parameter is contoso.com. Use this parameter when you use an organizational ID to sign into the Azure portal. This parameter is not required when you use a Microsoft account, such as an outlook.com or live.com account.
+
+ String
+
+
+ PassThru
+
+ Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. The PassThru parameter is typically used in conditional statements in functions and scripts.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+
+
+ Environment
+
+ Specifies an Azure environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).
+
+ String
+
+ String
+
+
+
+
+
+ Realm
+
+ Specifies the organization in an organizational ID. For example, if you sign into Azure as admin@contoso.com, the value of the Realm parameter is contoso.com. Use this parameter when you use an organizational ID to sign into the Azure portal. This parameter is not required when you use a Microsoft account, such as an outlook.com or live.com account.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. The PassThru parameter is typically used in conditional statements in functions and scripts.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None or System.Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Download a publish settings file --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzurePublishSettingsFile
+
+ This command opens your default browser, connects to your Microsoft Azure account, and then downloads the .publishsettings file for your account.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Specify a realm --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzurePublishSettingsFile -Realm contoso.com -Passthru
+
+ This command downloads the publish settings file for an account in the contoso.com domain. Use a command with the Realm parameter when you sign into Azure with an organizational account, instead of a Microsoft account.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397622
+
+
+ Add-AzureAccount
+
+
+
+ Import-AzurePublishSettingsFile
+
+
+
+
+
+
+
+ Get-AzureSubscription
+
+ Gets Azure subscriptions in Azure account.
+
+
+
+
+ Get
+ AzureSubscription
+
+
+
+ This is the Description section
+ The Get-AzureSubscription cmdlet gets the subscriptions in your Azure account. You can use this cmdlet to get information about the subscription and to pipe the subscription to other cmdlets.Get-AzureSubscription requires access to your Azure accounts. Before you run Get-AzureSubscription, you must run the Add-AzureAccount cmdlet or the cmdlets that download and install a publish settings file (Get-AzurePublishSettingsFile, Import-AzurePublishSettingsFile.
+
+
+
+ Get-AzureSubscription
+
+ SubscriptionName
+
+ Gets only the specified subscription. Enter the subscription name. The value is case-sensitive. Wildcard characters are not supported. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts.
+
+ String
+
+
+ ExtendedDetails
+
+ Returns quota information for the subscription, in addition to the standard settings.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+ Get-AzureSubscription
+
+ SubscriptionId
+
+ Gets only the specified subscription. Enter the subscription Id. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts.
+
+ String
+
+
+ ExtendedDetails
+
+ Returns quota information for the subscription, in addition to the standard settings.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+ Get-AzureSubscription
+
+ Default
+
+ Gets only the default subscription, that is, the subscription designated as "default." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "default," use the Default parameter of the Select-AzureSubscription cmdlet.
+
+ SwitchParameter
+
+
+ ExtendedDetails
+
+ Returns quota information for the subscription, in addition to the standard settings.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+ Get-AzureSubscription
+
+ Current
+
+ Gets only the current subscription, that is, the subscription designated as "current." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "current," use the Current parameter of the Select-AzureSubscription cmdlet.
+
+ SwitchParameter
+
+
+ ExtendedDetails
+
+ Returns quota information for the subscription, in addition to the standard settings.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+
+
+ SubscriptionName
+
+ Gets only the specified subscription. Enter the subscription name. The value is case-sensitive. Wildcard characters are not supported. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts.
+
+ String
+
+ String
+
+
+
+
+
+ ExtendedDetails
+
+ Returns quota information for the subscription, in addition to the standard settings.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionId
+
+ Gets only the specified subscription. Enter the subscription Id. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts.
+
+ String
+
+ String
+
+
+
+
+
+ Default
+
+ Gets only the default subscription, that is, the subscription designated as "default." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "default," use the Default parameter of the Select-AzureSubscription cmdlet.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Current
+
+ Gets only the current subscription, that is, the subscription designated as "current." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "current," use the Current parameter of the Select-AzureSubscription cmdlet.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.WindowsAzure.Commands.Utilities.Common.AzureSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureSubscription gets data from the subscription data file that the Add-AzureAccount and Import-PublishSettingsFile cmdlets create.
+
+
+
+
+ -------------------------- Example 1: Get all subscriptions --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS>Get-AzureSubscription
+
+ This command gets all subscriptions in the account.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Get a subscription by name --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS>Get-AzureSubscription –SubscriptionName "MyProdSubscription"
+
+ This command gets only the "MyProdSubsciption" subscription.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3: Get the default subscription --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS>(Get-AzureSubscription -Default).SubscriptionName
+
+ This command gets only the name of the default subscription. The command first gets the subscription and then uses the dot method to get the SubscriptionName property of the subscription.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 4: Get selected subscription properties --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS>Get-AzureSubscription -Current | Format-List -Property SubscriptionName, Certificate
+
+ This command returns a list with the name and certificate of the current subscription. It uses a Get-AzureSubscription command to get the current subscription. Then it pipes the subscription to a Format-List command that displays the selected properties in a list.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 5: Use an alternate subscription data file --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS>Get-AzureSubscription -SubscriptionDataFile "C:\Temp\MySubscriptions.xml"
+
+ This command gets subscriptions from the C:\Temp\MySubscriptions.xml subscription data file. Use the SubscriptionDataFile parameter if you specified an alternate subscription data file when you ran the Add-AzureAccount or Import-PublishSettingsFile cmdlets.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397623
+
+
+ Add-AzureAccount
+
+
+
+ Get-AzurePublishSettingsFile
+
+
+
+ Import-AzurePublishSettingsFile
+
+
+
+ Remove-AzureSubscription
+
+
+
+ Set-AzureSubscription
+
+
+
+
+
+
+
+ Import-AzurePublishSettingsFile
+
+ Imports a publish settings file that lets you manage your Azure accounts in Windows PowerShell.
+
+
+
+
+ Import
+ AzurePublishSettingsFile
+
+
+
+ This is the Description section
+ The Import-AzurePublishSettingsFile cmdlet imports a publish settings file (*.publishsettings) that contains information about your Azure accounts and saves a subscription data file on your computer. When the cmdlet completes, you can manage your Azure accounts in Windows PowerShell.Before running Import-AzurePublishSettingsFile, run Get-AzurePublishSettingsFile, which downloads and saves the publish settings file so you can import it.To make your Azure account available to Windows PowerShell, you can use a publish settings file or the Add-AzureAccount cmdlet. Publish settings files let you prepare the session in advance so you can run scripts and background jobs unattended. However, not all services support publish settings files. For example, the AzureResourceManager module does not support publish settings files.Security Note: Publish settings files contain a management certificate that is encoded, but not encrypted. If malicious users access your publish settings file, they might be able to edit, create, and delete your Azure services. As a security best practice, save the file to a location in your Downloads or Documents folder and then delete it after using Import-AzurePublishSettingsFile cmdlet to import the settings.
+
+
+
+ Import-AzurePublishSettingsFile
+
+ PublishSettingsFile
+
+ Specifies the full path and filename of the publish settings file. This should match the file location that you entered when prompted by Get-AzurePublishSettingsFile.
+
+ String
+
+
+ Environment
+
+ Specifies the environment to use. This parameter is optional. If it is not provided, an environment will be chosen according to the endpoint in the publish settings file.
+
+ String
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+
+
+ PublishSettingsFile
+
+ Specifies the full path and filename of the publish settings file. This should match the file location that you entered when prompted by Get-AzurePublishSettingsFile.
+
+ String
+
+ String
+
+
+
+
+
+ Environment
+
+ Specifies the environment to use. This parameter is optional. If it is not provided, an environment will be chosen according to the endpoint in the publish settings file.
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A "publish settings file" is an XML file with a .publishsettings file name extension. The file contains an encoded certificate that provides management credentials for your Azure subscriptions. After you import this file, delete it to avoid security risks.
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings
+
+ This command imports the "C:\Temp\MyAccount.publishsettings" file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings –SubscriptionDataFile C:\Subs\Subscriptions.xml
+
+ This command imports the "C:\Temp\MyAccountName-date-credentials.publishsettings" file and then saves the subscription data file in C:\Subs\Subscriptions.xml.
+
+
+ When you use the SubscriptionDataFile parameter to save your subscription data file in an alternate location, be sure to use the SubscriptionDataFile parameter of cmdlets that use subscription data file, such as Select-AzureSubscription and Remove-AzureAccount.
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3 --------------------------
+
+ PS C:\>
+
+ PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings -Environment AzureChinaCloud
+
+ This command imports the "C:\Temp\MyAccount.publishsettings" file and sets the Azure environment of all imported subscriptions to be AzureChinaCloud. This will overwrite the endpoints defined in the publish settings file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397624
+
+
+ How to Install and Configure Azure PowerShell
+
+
+
+ Add-AzureAccount
+
+
+
+ Get-AzurePublishSettingsFile
+
+
+
+
+
+
+
+ Remove-AzureAccount
+
+ Deletes an Azure account from Windows PowerShell.
+
+
+
+
+ Remove
+ AzureAccount
+
+
+
+ The Remove-AzureAccount cmdlet deletes an Azure account and its subscriptions from the subscription data file in your roaming user profile. It does not delete the account from Microsoft Azure, or change the actual account in any way.
+ Using this cmdlet is a lot like logging out of your Azure account. And, if you want to log into the account again, use the Add-AzureAccount or Import-AzurePublishSettingsFile to add the account to Windows PowerShell again.
+ You can also use Remove-AzureAccount cmdlet to change the way the Azure PowerShell cmdlets sign into your Azure account. If your account has both a management certificate from Import-AzurePublishSettingsFile and an access token from Add-AzureAccount, the Azure PowerShell cmdlets use only the access token; they ignore the management certificate. To use the management certificate, run Remove-AzureAccount. When Remove-AzureAccount finds both a management certificate and an access token, it deletes only the access token, instead of deleting the account. The management certificate is still there, so account is still available to Windows PowerShell.
+
+
+
+ Remove-AzureAccount
+
+ Name
+
+ Specifies the name of the account to remove. The parameter value is case-sensitive. Wildcard characters are not supported.
+
+ String
+
+
+ Force
+
+ Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell.
+
+ SwitchParameter
+
+
+ PassThru
+
+ Returns True ($true) if the operation succeeded and False ($false) if it failed. By default, the cmdlet does not return any output.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+ WhatIf
+
+ Shows what would happen if the cmdlet runs. The cmdlet is not run.
+
+ SwitchParameter
+
+
+ Confirm
+
+ Prompts you for confirmation before running the cmdlet.
+
+ SwitchParameter
+
+
+
+
+
+ Name
+
+ Specifies the name of the account to remove. The parameter value is case-sensitive. Wildcard characters are not supported.
+
+ String
+
+ String
+
+
+
+
+
+ Force
+
+ Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ PassThru
+
+ Returns True ($true) if the operation succeeded and False ($false) if it failed. By default, the cmdlet does not return any output.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+ WhatIf
+
+ Shows what would happen if the cmdlet runs. The cmdlet is not run.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+ false
+
+
+ Confirm
+
+ Prompts you for confirmation before running the cmdlet.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+ false
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None or System.Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Remove an account --------------------------
+
+ PS C:\>
+
+ PS C:\>Remove-AzureAccount -Name admin@contoso.com
+
+ This command removes the admin@contoso.com from your subscription data file. When the command completes, the account is no longer available to Windows PowerShell.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397625
+
+
+ Add-AzureAccount
+
+
+
+ Get-AzureAccount
+
+
+
+
+
+
+
+ Remove-AzureEnvironment
+
+ Deletes an Azure environment from Windows PowerShell
+
+
+
+
+ Remove
+ AzureEnvironment
+
+
+
+ This is the Description section
+ The Remove-AzureEnvironment cmdlet deletes an Azure environment from your roaming profile so Windows PowerShell can't find it. This cmdlet does not delete the environment from Microsoft Azure, or change the actual environment in any way.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).
+
+
+
+ Remove-AzureEnvironment
+
+ Name
+
+ Specifies the name of the environment to remove. This parameter is required. This parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+
+ Force
+
+ Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the environment to remove. This parameter is required. This parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+ String
+
+
+
+
+
+ Force
+
+ Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None or System.Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Delete an environment --------------------------
+
+ PS C:\>
+
+ PS C:\>Remove-AzureEnvironment -Name ContosoEnv
+
+ This command deletes the ContosoEnv environment from Windows PowerShell.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Delete multiple environments --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureEnvironment | Where-Object EnvironmentName -like "Contoso*" | ForEach-Object {Remove-AzureEnvironment -Name $_.EnvironmentName }
+
+ This command deletes environments whose names begin with "Contoso" from Windows PowerShell.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397626
+
+
+ Add-AzureEnvironment
+
+
+
+ Get-AzureEnvironment
+
+
+
+ Set-AzureEnvironment
+
+
+
+
+
+
+
+ Remove-AzureSubscription
+
+ Deletes an Azure subscription from Windows PowerShell.
+
+
+
+
+ Remove
+ AzureSubscription
+
+
+
+ The Remove-AzureSubscription cmdlet deletes an Azure subscription from your subscription data file so Windows PowerShell can't find it. This cmdlet does not delete the subscription from Microsoft Azure, or change the actual subscription in any way.
+
+
+
+ Remove-AzureSubscription
+
+ SubscriptionName
+
+ Specifies the subscription name. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+
+ Force
+
+ Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription.
+
+ SwitchParameter
+
+
+ PassThru
+
+ Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+ WhatIf
+
+ Shows what would happen if the cmdlet runs. The cmdlet is not run.
+
+ SwitchParameter
+
+
+ Confirm
+
+ Prompts you for confirmation before running the cmdlet.
+
+ SwitchParameter
+
+
+
+ Remove-AzureSubscription
+
+ SubscriptionId
+
+ Specifies the subscription Id. This parameter is required.
+
+ String
+
+
+ Force
+
+ Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription.
+
+ SwitchParameter
+
+
+ PassThru
+
+ Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+ WhatIf
+
+ Shows what would happen if the cmdlet runs. The cmdlet is not run.
+
+ SwitchParameter
+
+
+ Confirm
+
+ Prompts you for confirmation before running the cmdlet.
+
+ SwitchParameter
+
+
+
+
+
+ SubscriptionName
+
+ Specifies the subscription name. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+ String
+
+
+
+
+
+ Force
+
+ Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ PassThru
+
+ Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+ WhatIf
+
+ Shows what would happen if the cmdlet runs. The cmdlet is not run.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+ false
+
+
+ Confirm
+
+ Prompts you for confirmation before running the cmdlet.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+ false
+
+
+ SubscriptionId
+
+ Specifies the subscription Id. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None or System.Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Delete a subscription --------------------------
+
+ PS C:\>
+
+
+ PS C:\> C:\PS> Remove-AzureSubscription -SubscriptionName Test
-Confirm
-Are you sure you want to perform this action?
-[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):
-
- This command deletes the "Test" subscription from the default subscription data file.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Delete from an alternate subscription data file --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Remove-AzureSubscription -SubscriptionName Test -SubscriptionDataFile C:\Subs\MySubscriptions.xml -Force
-
- This command deletes the Test subscription from the MySubscriptions.xml subscription data file. The command uses the Force parameter to suppress the confirmation prompt.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3: Delete a subscription in a script --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> ...if (Remove-AzureSubscription -SubscriptionName Test -PassThru) {...}
-
- This command uses the Remove-AzureSubscription command in an If statement. It uses the PassThru parameter, which returns a Boolean value, to determine whether the script block in the If statement is executed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397627
-
-
- Get-AzureSubscription
-
-
-
- Select-AzureSubscription
-
-
-
- Set-AzureSubscription
-
-
-
-
-
-
-
- Select-AzureSubscription
-
- Changes the current and default Azure subscriptions
-
-
-
-
- Select
- AzureSubscription
-
-
-
- The Select-AzureSubscription cmdlet sets and clears the current and default Azure subscriptions.
- The "current subscription" is the subscription that is used by default in the current Windows PowerShell session. The "default subscription" is used by default in all Windows PowerShell sessions. The "current subscription" label lets you specify a different subscription to be used by default for the current session without changing the "default subscription" for all other sessions.
- The "default" subscription designation is saved in your subscription data file. The session-specific "current" designation is not saved.
-
-
-
- Select-AzureSubscription
-
- SubscriptionName
-
- Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Current
-
- Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription.The "current subscription" is the subscription that is used by default in the current Windows PowerShell session.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
- Select-AzureSubscription
-
- SubscriptionName
-
- Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Default
-
- Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription.The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current".
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
- Select-AzureSubscription
-
- SubscriptionId
-
- Specifies the subscription Id to change. Enter the subscription Id.
-
- String
-
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Current
-
- Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription.The "current subscription" is the subscription that is used by default in the current Windows PowerShell session.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
- Select-AzureSubscription
-
- SubscriptionId
-
- Specifies the subscription Id to change. Enter the subscription Id.
-
- String
-
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Default
-
- Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription.The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current".
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
- Select-AzureSubscription
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- NoCurrent
-
- Clears the "current" subscription setting. When no subscription is set to "current," the Azure PowerShell cmdlets use the default subscription.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
- Select-AzureSubscription
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- NoDefault
-
- Clears the "default" subscription setting. If there is no default subscription, the current subscription is used by default. When there is no current or default subscription, and you do not identify a subscription, commands that require a subscription fail.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
-
-
- SubscriptionName
-
- Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
- String
-
-
-
-
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
- String
-
-
-
-
-
- Current
-
- Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription.The "current subscription" is the subscription that is used by default in the current Windows PowerShell session.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
- Default
-
- Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription.The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current".
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- SubscriptionId
-
- Specifies the subscription Id to change. Enter the subscription Id.
-
- String
-
- String
-
-
-
-
-
- NoCurrent
-
- Clears the "current" subscription setting. When no subscription is set to "current," the Azure PowerShell cmdlets use the default subscription.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- NoDefault
-
- Clears the "default" subscription setting. If there is no default subscription, the current subscription is used by default. When there is no current or default subscription, and you do not identify a subscription, commands that require a subscription fail.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None or AzureSubscription if PassThru
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Set the current subscription --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Select-AzureSubscription -Current -SubscriptionName ContosoEngineering
-
- This command makes "ContosoEngineering" the current subscription.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Set the current subscription with account --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Select-AzureSubscription -Current -SubscriptionName ContosoEngineering -Account user@mail.contoso.com
-
- This command makes "ContosoEngineering" the current subscription and user@mail.contoso.com the current user.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3: Set the default description --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Select-AzureSubscription -Default -SubscriptionName ContosoFinance -SubscriptionDataFile "C:\subs\MySubscriptions.xml"
-
- This command changes the default subscription to "ContosoFinance." It saves the setting in the Subscriptions.xml subscription data file, instead of the default subscription data file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397628
-
-
- Get-AzureSubscription
-
-
-
- Remove-AzureSubscription
-
-
-
- Set-AzureSubscription
-
-
-
-
-
-
-
- Set-AzureEnvironment
-
- Changes the properties of an Azure environment
-
-
-
-
- Set
- AzureEnvironment
-
-
-
- This is the Description section
- The Set-AzureEnvironment cmdlet changes the properties of an Azure environment. It returns an object that represents the environment with its new property values. Use the Name parameter to identify the environment and the other parameters to change property values. You cannot use Set-AzureEnvironment to change the name of an Azure environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).NOTE: Do not change the properties of the AzureCloud or AzureChinaCloud environments. Use this cmdlet to change the values of private environments that you create.
-
-
-
- Set-AzureEnvironment
-
- Name
-
- Identifies the environment that is being changed. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- PublishSettingsFileUrl
-
- Changes the URL for publish settings files in the specified environment. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf.
-
- String
-
-
- ServiceEndpoint
-
- Changes the URL of the Azure service endpoint in the specified environment. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation.
-
- String
-
-
- ManagementPortalUrl
-
- Changes the URL of the Azure Management Portal to the specified value.
-
- String
-
-
- StorageEndpoint
-
- Changes the default endpoint of storage services in the specified environment.
-
- String
-
-
- ActiveDirectoryEndpoint
-
- Changes the endpoint for Azure Active Directory authentication to the specified value.
-
- String
-
-
- ResourceManagerEndpoint
-
- Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
-
- GalleryEndpoint
-
- Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate.
-
- String
-
-
- ActiveDirectoryServiceEndpointResourceId
-
- Specifies the resource ID of a management API whose access is managed by Azure Active Directory.
-
- String
-
-
- GraphEndpoint
-
- Changes the endpoint for Azure Active Directory Graph API to the specified value.
-
- String
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
-
-
- Name
-
- Identifies the environment that is being changed. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
- String
-
-
-
-
-
- PublishSettingsFileUrl
-
- Changes the URL for publish settings files in the specified environment. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf.
-
- String
-
- String
-
-
-
-
-
- ServiceEndpoint
-
- Changes the URL of the Azure service endpoint in the specified environment. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation.
-
- String
-
- String
-
-
-
-
-
- ManagementPortalUrl
-
- Changes the URL of the Azure Management Portal to the specified value.
-
- String
-
- String
-
-
-
-
-
- StorageEndpoint
-
- Changes the default endpoint of storage services in the specified environment.
-
- String
-
- String
-
-
-
-
-
- ActiveDirectoryEndpoint
-
- Changes the endpoint for Azure Active Directory authentication to the specified value.
-
- String
-
- String
-
-
-
-
-
- ResourceManagerEndpoint
-
- Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
- String
-
-
-
-
-
- GalleryEndpoint
-
- Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate.
-
- String
-
- String
-
-
-
-
-
- ActiveDirectoryServiceEndpointResourceId
-
- Specifies the resource ID of a management API whose access is managed by Azure Active Directory.
-
- String
-
- String
-
-
-
-
-
- GraphEndpoint
-
- Changes the endpoint for Azure Active Directory Graph API to the specified value.
-
- String
-
- String
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureEnvironment
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Change environment properties --------------------------
-
- PS C:\>
-
- PS C:\>Set-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl "https://contoso.com" -StorageEndpoint "contoso.com" -GraphEndpoint "https://contoso.com/fwlink/?LinkID=104"
-
- This command changes the values of the PublishSettingsFileUrl, StorageEndpoint, and GraphEndpoint properties of the ContosoEnv environment.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397629
-
-
- Add-AzureEnvironment
-
-
-
- Get-AzureEnvironment
-
-
-
- Remove-AzureEnvironment
-
-
-
-
-
-
-
- Set-AzureSubscription
-
- Creates or changes an Azure subscription
-
-
-
-
- Set
- AzureSubscription
-
-
-
- The Set-AzureSubscription cmdlet establishes and changes the properties of an Azure subscription. You can use this cmdlet to create a new subscription or change the properties of an existing subscription.
- To create a new subscription, select a unique name for the value of the SubscriptionName parameter. To change an existing subscription, use the SubscriptionName parameter to identify the subscription.
- This cmdlet changes the data in the subscription data file that you create when you use the Add-AzureAccount or Import-AzurePublishSettingsFile cmdlet to add an Azure account to Windows PowerShell.
-
-
-
- Set-AzureSubscription
-
- SubscriptionName
-
- Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it.To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet.
-
- String
-
-
- SubscriptionId
-
- Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet.
-
- String
-
-
- Certificate
-
- Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store.
-
- X509Certificate2
-
-
- ServiceEndpoint
-
- Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription.
-
- String
-
-
- ResourceManagerEndpoint
-
- Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
-
- CurrentStorageAccountName
-
- Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet.
-
- String
-
-
- Environment
-
- Specifies the environment name.
-
- String
-
-
- PassThru
-
- Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
- Set-AzureSubscription
-
- SubscriptionName
-
- Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it.To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet.
-
- String
-
-
- Certificate
-
- Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store.
-
- X509Certificate2
-
-
- ServiceEndpoint
-
- Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription.
-
- String
-
-
- ResourceManagerEndpoint
-
- Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
-
- CurrentStorageAccountName
-
- Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet.
-
- String
-
-
- Environment
-
- Specifies the environment name.
-
- String
-
-
- PassThru
-
- Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
- Set-AzureSubscription
-
- SubscriptionId
-
- Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet.
-
- String
-
-
- Certificate
-
- Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store.
-
- X509Certificate2
-
-
- ServiceEndpoint
-
- Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription.
-
- String
-
-
- ResourceManagerEndpoint
-
- Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
-
- CurrentStorageAccountName
-
- Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet.
-
- String
-
-
- Environment
-
- Specifies the environment name.
-
- String
-
-
- PassThru
-
- Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
-
-
-
-
- SubscriptionName
-
- Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it.To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet.
-
- String
-
- String
-
-
-
-
-
- SubscriptionId
-
- Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet.
-
- String
-
- String
-
-
-
-
-
- Certificate
-
- Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store.
-
- X509Certificate2
-
- X509Certificate2
-
-
-
-
-
- ServiceEndpoint
-
- Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription.
-
- String
-
- String
-
-
-
-
-
- ResourceManagerEndpoint
-
- Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
- String
-
-
-
-
-
- CurrentStorageAccountName
-
- Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet.
-
- String
-
- String
-
-
-
-
-
- Environment
-
- Specifies the environment name.
-
- String
-
- String
-
-
-
-
-
- PassThru
-
- Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- SubscriptionDataFile
-
- Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- String
-
- String
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None or System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Create a new subscription --------------------------
-
- PS C:\>
-
- PS C:\>$thumbprint = <Certificate Thumbprint>
-PS C:\>$myCert = Get-Item cert:\\CurrentUser\My\$thumbprint
-PS C:\>Set-AzureSubscription -SubscriptionName ContosotTest -Certificate $myCert -SubscriptionID 12345
-
- These commands create the ContosoTest subscription in the default subscription data file. The commands add a management certificate and subscription ID for the new subscription.
-
-
- When you run the Set-AzureSubscription command, the cmdlet looks for a subscription with the name "ContosoTest". If it doesn't find one, it creates a new subscription with the specified values.
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Change an existing subscription --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> $thumbprint = <Thumbprint-2>
-C:\PS> $differentCert = Get-Item cert:\\CurrentUser\My\$thumbprint
-C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering -Certificate $differentCert
-
- These commands are very similar to the commands in Example 1. However, because the SubscriptionName parameter now identifies an existing subscription, Set-AzureSubscription uses the remaining parameters to change the values of the existing subscription rather than creating a new subscription
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Change the service endpoint --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering -ServiceEndpoint "https://management.core.contoso.com"
-
- This command adds or changes a custom service endpoint for the ContosoEngineering subscription.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3: Clear property values --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering –Certificate $null -ResourceManagerEndpoint $null
-
- This command sets the values of the Certificate and ResourceManagerEndpoint properties to null ($null). This clears the values of those properties without changing other settings.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 4: Use an alternate subscription data file --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Set-AzureSubscription -SubscriptionName ContosoFinance -SubscriptionDataFile = C:\Azure\SubscriptionData.xml - CurrentStorageAccount ContosoStorage01
-
- This command changes the current storage account of the ContosoFinance subscription to ContosoStorage01. The command uses the SubscriptionDataFile parameter to change the data in the C:\Azure\SubscriptionData.xml subscription data file. By default, Set-AzureSubscription uses the default subscription data file in your roaming user profile.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397630
-
-
- Add-AzureAccount
-
-
-
- Get-AzureSubscription
-
-
-
- Import-AzurePublishSettingsFile
-
-
-
- Remove-AzureSubscription
-
-
-
- Select-AzureSubscription
-
-
-
-
-
-
-
- Switch-AzureMode
-
- Switches between the Azure and Azure Resource Manager modules
-
-
-
-
- Switch
- AzureMode
-
-
-
- This is the Description section
- The Switch-AzureMode cmdlet switches between the Azure and Azure Resource Manager (AzureResourceManager) modules. These modules are not designed to be used in the same session. To determine which module is in your current session, use the Get-Module cmdlet.NOTE: The AzureResourceManager module is currently in preview. It might not provide the same management capabilities as the Azure module. Beginning in version 0.8,0, the Azure PowerShell installation includes both Azure modules and Azure Profile, a module of commands common to both modules. When you use the Azure PowerShell cmdlets, the Azure and Azure Profile modules are imported into the session by default. To remove the Azure module from the session and import the Azure Resource Manager module, use Switch-AzureMode. And, to switch back to the Azure module, just use Switch-AzureMode again. The Azure module includes cmdlets that help you to manage your Azure account in the traditional way. The cmdlets get, create, change, and remove individual resources such as storage accounts, virtual machines, SQL databases, web sites, media services, and cloud services.The new Azure Resource Manager module lets you manage your resources in an entirely new way. Instead of creating individual resources and trying to use them together, begin by imagining the service you want to create, such as a web portal, a blog, a photo gallery, a commerce site, or a wiki. Select a resource group template, including one of dozens in the Azure template gallery, or create your own. Each template provides a model of a complex service, complete with the resources that you need to support the service. Then use the template to create a resource group and its resources, and deploy and manage the related resources as a unit.You can use Switch-AzureMode to switch between Azure modules as often as you like. To set an Azure module as the default for all sessions, use the Global parameter when switching between modes.
-
-
-
- Switch-AzureMode
-
- Name
-
- Switches to the specified module. To switch to the Azure Resource Manager module, type AzureResourceManager. To switch to the Azure module, type AzureServiceManagement. This parameter is required.
-
- String
-
-
- Global
-
- Switches all Windows PowerShell session to the specified Azure module. Use this parameter to save your module selection for other sessions. This parameter is optional. By default, the switch affects only the current session.This parameter requires administrator permissions. To use this parameter, start Windows PowerShell with the "Run as administrator" option.
-
- SwitchParameter
-
-
-
-
-
- Name
-
- Switches to the specified module. To switch to the Azure Resource Manager module, type AzureResourceManager. To switch to the Azure module, type AzureServiceManagement. This parameter is required.
-
- String
-
- String
-
-
-
-
-
- Global
-
- Switches all Windows PowerShell session to the specified Azure module. Use this parameter to save your module selection for other sessions. This parameter is optional. By default, the switch affects only the current session.This parameter requires administrator permissions. To use this parameter, start Windows PowerShell with the "Run as administrator" option.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Switch to the Azure Resource Manager module --------------------------
-
- PS C:\>
-
- PS C:\>Switch-AzureMode -Name AzureResourceManager
-PS C:\>Switch-AzureMode -Name AzureServiceManagement
-
- This command shows you how to switch between modules. The first command uses the Switch-AzureMode cmdlet to switch to the Azure Resource Manager module. The second command uses the Switch-AzureMode cmdlet to switch back to the Azure module.
-
-
- When you import either module, the AzureProfile module, which includes commands common to both modules, including Add-AzureAccount, Get-AzureSubscription, and Switch-AzureMode, is imported, too.
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Switch all sessions to the Azure Resource Manager module --------------------------
-
- PS C:\>
-
- PS C:\>Switch-AzureMode -Name AzureResourceManager -Global
-
- This command uses the Global parameter of Switch-AzureMode to switch all Microsoft Azure PowerShell sessions to the Azure Resource Manager module. If you close this session and open an new one, the Azure Resource Manager module is imported by default.
-
-
- The Global parameter requires administrator permissions. To run this command, start Windows PowerShell with the "Run as administrator" option.
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=394398
-
-
- Azure Resource Manager Cmdlets
-
-
-
- Azure Service Management Cmdlets
-
-
-
- Azure Profile Cmdlets
-
-
-
-
+ Confirm
+ Are you sure you want to perform this action?
+ [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):
+
+
+ This command deletes the "Test" subscription from the default subscription data file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Delete from an alternate subscription data file --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS> Remove-AzureSubscription -SubscriptionName Test -SubscriptionDataFile C:\Subs\MySubscriptions.xml -Force
+
+ This command deletes the Test subscription from the MySubscriptions.xml subscription data file. The command uses the Force parameter to suppress the confirmation prompt.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3: Delete a subscription in a script --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS> ...if (Remove-AzureSubscription -SubscriptionName Test -PassThru) {...}
+
+ This command uses the Remove-AzureSubscription command in an If statement. It uses the PassThru parameter, which returns a Boolean value, to determine whether the script block in the If statement is executed.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397627
+
+
+ Get-AzureSubscription
+
+
+
+ Select-AzureSubscription
+
+
+
+ Set-AzureSubscription
+
+
+
+
+
+
+
+ Select-AzureSubscription
+
+ Changes the current and default Azure subscriptions
+
+
+
+
+ Select
+ AzureSubscription
+
+
+
+ The Select-AzureSubscription cmdlet sets and clears the current and default Azure subscriptions.
+ The "current subscription" is the subscription that is used by default in the current Windows PowerShell session. The "default subscription" is used by default in all Windows PowerShell sessions. The "current subscription" label lets you specify a different subscription to be used by default for the current session without changing the "default subscription" for all other sessions.
+ The "default" subscription designation is saved in your subscription data file. The session-specific "current" designation is not saved.
+
+
+
+ Select-AzureSubscription
+
+ SubscriptionName
+
+ Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+
+ Account
+
+ Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+
+ Current
+
+ Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription.The "current subscription" is the subscription that is used by default in the current Windows PowerShell session.
+
+ SwitchParameter
+
+
+ PassThru
+
+ Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+ Select-AzureSubscription
+
+ SubscriptionName
+
+ Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+
+ Account
+
+ Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+
+ Default
+
+ Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription.The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current".
+
+ SwitchParameter
+
+
+ PassThru
+
+ Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+ Select-AzureSubscription
+
+ SubscriptionId
+
+ Specifies the subscription Id to change. Enter the subscription Id.
+
+ String
+
+
+ Account
+
+ Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+
+ Current
+
+ Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription.The "current subscription" is the subscription that is used by default in the current Windows PowerShell session.
+
+ SwitchParameter
+
+
+ PassThru
+
+ Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+ Select-AzureSubscription
+
+ SubscriptionId
+
+ Specifies the subscription Id to change. Enter the subscription Id.
+
+ String
+
+
+ Account
+
+ Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+
+ Default
+
+ Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription.The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current".
+
+ SwitchParameter
+
+
+ PassThru
+
+ Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+ Select-AzureSubscription
+
+ Account
+
+ Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+
+ NoCurrent
+
+ Clears the "current" subscription setting. When no subscription is set to "current," the Azure PowerShell cmdlets use the default subscription.
+
+ SwitchParameter
+
+
+ PassThru
+
+ Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+ Select-AzureSubscription
+
+ Account
+
+ Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+
+ NoDefault
+
+ Clears the "default" subscription setting. If there is no default subscription, the current subscription is used by default. When there is no current or default subscription, and you do not identify a subscription, commands that require a subscription fail.
+
+ SwitchParameter
+
+
+ PassThru
+
+ Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+
+
+ SubscriptionName
+
+ Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+ String
+
+
+
+
+
+ Account
+
+ Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+ String
+
+
+
+
+
+ Current
+
+ Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription.The "current subscription" is the subscription that is used by default in the current Windows PowerShell session.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ PassThru
+
+ Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+ Default
+
+ Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription.The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current".
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ SubscriptionId
+
+ Specifies the subscription Id to change. Enter the subscription Id.
+
+ String
+
+ String
+
+
+
+
+
+ NoCurrent
+
+ Clears the "current" subscription setting. When no subscription is set to "current," the Azure PowerShell cmdlets use the default subscription.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ NoDefault
+
+ Clears the "default" subscription setting. If there is no default subscription, the current subscription is used by default. When there is no current or default subscription, and you do not identify a subscription, commands that require a subscription fail.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None or AzureSubscription if PassThru
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Set the current subscription --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS> Select-AzureSubscription -Current -SubscriptionName ContosoEngineering
+
+ This command makes "ContosoEngineering" the current subscription.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Set the current subscription with account --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS> Select-AzureSubscription -Current -SubscriptionName ContosoEngineering -Account user@mail.contoso.com
+
+ This command makes "ContosoEngineering" the current subscription and user@mail.contoso.com the current user.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3: Set the default description --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS> Select-AzureSubscription -Default -SubscriptionName ContosoFinance -SubscriptionDataFile "C:\subs\MySubscriptions.xml"
+
+ This command changes the default subscription to "ContosoFinance." It saves the setting in the Subscriptions.xml subscription data file, instead of the default subscription data file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397628
+
+
+ Get-AzureSubscription
+
+
+
+ Remove-AzureSubscription
+
+
+
+ Set-AzureSubscription
+
+
+
+
+
+
+
+ Set-AzureEnvironment
+
+ Changes the properties of an Azure environment
+
+
+
+
+ Set
+ AzureEnvironment
+
+
+
+ This is the Description section
+ The Set-AzureEnvironment cmdlet changes the properties of an Azure environment. It returns an object that represents the environment with its new property values. Use the Name parameter to identify the environment and the other parameters to change property values. You cannot use Set-AzureEnvironment to change the name of an Azure environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).NOTE: Do not change the properties of the AzureCloud or AzureChinaCloud environments. Use this cmdlet to change the values of private environments that you create.
+
+
+
+ Set-AzureEnvironment
+
+ Name
+
+ Identifies the environment that is being changed. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+
+ PublishSettingsFileUrl
+
+ Changes the URL for publish settings files in the specified environment. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf.
+
+ String
+
+
+ ServiceEndpoint
+
+ Changes the URL of the Azure service endpoint in the specified environment. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation.
+
+ String
+
+
+ ManagementPortalUrl
+
+ Changes the URL of the Azure Management Portal to the specified value.
+
+ String
+
+
+ StorageEndpoint
+
+ Changes the default endpoint of storage services in the specified environment.
+
+ String
+
+
+ ActiveDirectoryEndpoint
+
+ Changes the endpoint for Azure Active Directory authentication to the specified value.
+
+ String
+
+
+ ResourceManagerEndpoint
+
+ Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
+
+ String
+
+
+ GalleryEndpoint
+
+ Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate.
+
+ String
+
+
+ ActiveDirectoryServiceEndpointResourceId
+
+ Specifies the resource ID of a management API whose access is managed by Azure Active Directory.
+
+ String
+
+
+ GraphEndpoint
+
+ Changes the endpoint for Azure Active Directory Graph API to the specified value.
+
+ String
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+
+
+ Name
+
+ Identifies the environment that is being changed. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted.
+
+ String
+
+ String
+
+
+
+
+
+ PublishSettingsFileUrl
+
+ Changes the URL for publish settings files in the specified environment. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf.
+
+ String
+
+ String
+
+
+
+
+
+ ServiceEndpoint
+
+ Changes the URL of the Azure service endpoint in the specified environment. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation.
+
+ String
+
+ String
+
+
+
+
+
+ ManagementPortalUrl
+
+ Changes the URL of the Azure Management Portal to the specified value.
+
+ String
+
+ String
+
+
+
+
+
+ StorageEndpoint
+
+ Changes the default endpoint of storage services in the specified environment.
+
+ String
+
+ String
+
+
+
+
+
+ ActiveDirectoryEndpoint
+
+ Changes the endpoint for Azure Active Directory authentication to the specified value.
+
+ String
+
+ String
+
+
+
+
+
+ ResourceManagerEndpoint
+
+ Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
+
+ String
+
+ String
+
+
+
+
+
+ GalleryEndpoint
+
+ Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate.
+
+ String
+
+ String
+
+
+
+
+
+ ActiveDirectoryServiceEndpointResourceId
+
+ Specifies the resource ID of a management API whose access is managed by Azure Active Directory.
+
+ String
+
+ String
+
+
+
+
+
+ GraphEndpoint
+
+ Changes the endpoint for Azure Active Directory Graph API to the specified value.
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureEnvironment
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Change environment properties --------------------------
+
+ PS C:\>
+
+ PS C:\>Set-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl "https://contoso.com" -StorageEndpoint "contoso.com" -GraphEndpoint "https://contoso.com/fwlink/?LinkID=104"
+
+ This command changes the values of the PublishSettingsFileUrl, StorageEndpoint, and GraphEndpoint properties of the ContosoEnv environment.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397629
+
+
+ Add-AzureEnvironment
+
+
+
+ Get-AzureEnvironment
+
+
+
+ Remove-AzureEnvironment
+
+
+
+
+
+
+
+ Set-AzureSubscription
+
+ Creates or changes an Azure subscription
+
+
+
+
+ Set
+ AzureSubscription
+
+
+
+ The Set-AzureSubscription cmdlet establishes and changes the properties of an Azure subscription. You can use this cmdlet to create a new subscription or change the properties of an existing subscription.
+ To create a new subscription, select a unique name for the value of the SubscriptionName parameter. To change an existing subscription, use the SubscriptionName parameter to identify the subscription.
+ This cmdlet changes the data in the subscription data file that you create when you use the Add-AzureAccount or Import-AzurePublishSettingsFile cmdlet to add an Azure account to Windows PowerShell.
+
+
+
+ Set-AzureSubscription
+
+ SubscriptionName
+
+ Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it.To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet.
+
+ String
+
+
+ SubscriptionId
+
+ Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet.
+
+ String
+
+
+ Certificate
+
+ Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store.
+
+ X509Certificate2
+
+
+ ServiceEndpoint
+
+ Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription.
+
+ String
+
+
+ ResourceManagerEndpoint
+
+ Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
+
+ String
+
+
+ CurrentStorageAccountName
+
+ Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet.
+
+ String
+
+
+ Environment
+
+ Specifies the environment name.
+
+ String
+
+
+ PassThru
+
+ Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+ Set-AzureSubscription
+
+ SubscriptionName
+
+ Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it.To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet.
+
+ String
+
+
+ Certificate
+
+ Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store.
+
+ X509Certificate2
+
+
+ ServiceEndpoint
+
+ Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription.
+
+ String
+
+
+ ResourceManagerEndpoint
+
+ Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
+
+ String
+
+
+ CurrentStorageAccountName
+
+ Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet.
+
+ String
+
+
+ Environment
+
+ Specifies the environment name.
+
+ String
+
+
+ PassThru
+
+ Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+ Set-AzureSubscription
+
+ SubscriptionId
+
+ Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet.
+
+ String
+
+
+ Certificate
+
+ Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store.
+
+ X509Certificate2
+
+
+ ServiceEndpoint
+
+ Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription.
+
+ String
+
+
+ ResourceManagerEndpoint
+
+ Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
+
+ String
+
+
+ CurrentStorageAccountName
+
+ Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet.
+
+ String
+
+
+ Environment
+
+ Specifies the environment name.
+
+ String
+
+
+ PassThru
+
+ Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+
+
+
+
+ SubscriptionName
+
+ Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it.To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet.
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionId
+
+ Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet.
+
+ String
+
+ String
+
+
+
+
+
+ Certificate
+
+ Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store.
+
+ X509Certificate2
+
+ X509Certificate2
+
+
+
+
+
+ ServiceEndpoint
+
+ Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription.
+
+ String
+
+ String
+
+
+
+
+
+ ResourceManagerEndpoint
+
+ Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
+
+ String
+
+ String
+
+
+
+
+
+ CurrentStorageAccountName
+
+ Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet.
+
+ String
+
+ String
+
+
+
+
+
+ Environment
+
+ Specifies the environment name.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ SubscriptionDataFile
+
+ [Deprecated]: 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. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None or System.Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Create a new subscription --------------------------
+
+ PS C:\>
+
+
+ PS C:\>$thumbprint = <Certificate Thumbprint>
+ PS C:\>$myCert = Get-Item cert:\\CurrentUser\My\$thumbprint
+ PS C:\>Set-AzureSubscription -SubscriptionName ContosotTest -Certificate $myCert -SubscriptionID 12345
+
+
+ These commands create the ContosoTest subscription in the default subscription data file. The commands add a management certificate and subscription ID for the new subscription.
+
+
+ When you run the Set-AzureSubscription command, the cmdlet looks for a subscription with the name "ContosoTest". If it doesn't find one, it creates a new subscription with the specified values.
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Change an existing subscription --------------------------
+
+ PS C:\>
+
+
+ PS C:\> C:\PS> $thumbprint = <Thumbprint-2>
+ C:\PS> $differentCert = Get-Item cert:\\CurrentUser\My\$thumbprint
+ C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering -Certificate $differentCert
+
+
+ These commands are very similar to the commands in Example 1. However, because the SubscriptionName parameter now identifies an existing subscription, Set-AzureSubscription uses the remaining parameters to change the values of the existing subscription rather than creating a new subscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Change the service endpoint --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering -ServiceEndpoint "https://management.core.contoso.com"
+
+ This command adds or changes a custom service endpoint for the ContosoEngineering subscription.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3: Clear property values --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering –Certificate $null -ResourceManagerEndpoint $null
+
+ This command sets the values of the Certificate and ResourceManagerEndpoint properties to null ($null). This clears the values of those properties without changing other settings.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 4: Use an alternate subscription data file --------------------------
+
+ PS C:\>
+
+ PS C:\> C:\PS> Set-AzureSubscription -SubscriptionName ContosoFinance -SubscriptionDataFile = C:\Azure\SubscriptionData.xml - CurrentStorageAccount ContosoStorage01
+
+ This command changes the current storage account of the ContosoFinance subscription to ContosoStorage01. The command uses the SubscriptionDataFile parameter to change the data in the C:\Azure\SubscriptionData.xml subscription data file. By default, Set-AzureSubscription uses the default subscription data file in your roaming user profile.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=397630
+
+
+ Add-AzureAccount
+
+
+
+ Get-AzureSubscription
+
+
+
+ Import-AzurePublishSettingsFile
+
+
+
+ Remove-AzureSubscription
+
+
+
+ Select-AzureSubscription
+
+
+
+
+
+
+
+ Switch-AzureMode
+
+ Switches between the Azure and Azure Resource Manager modules
+
+
+
+
+ Switch
+ AzureMode
+
+
+
+ This is the Description section
+ The Switch-AzureMode cmdlet switches between the Azure and Azure Resource Manager (AzureResourceManager) modules. These modules are not designed to be used in the same session. To determine which module is in your current session, use the Get-Module cmdlet.NOTE: The AzureResourceManager module is currently in preview. It might not provide the same management capabilities as the Azure module. Beginning in version 0.8,0, the Azure PowerShell installation includes both Azure modules and Azure Profile, a module of commands common to both modules. When you use the Azure PowerShell cmdlets, the Azure and Azure Profile modules are imported into the session by default. To remove the Azure module from the session and import the Azure Resource Manager module, use Switch-AzureMode. And, to switch back to the Azure module, just use Switch-AzureMode again. The Azure module includes cmdlets that help you to manage your Azure account in the traditional way. The cmdlets get, create, change, and remove individual resources such as storage accounts, virtual machines, SQL databases, web sites, media services, and cloud services.The new Azure Resource Manager module lets you manage your resources in an entirely new way. Instead of creating individual resources and trying to use them together, begin by imagining the service you want to create, such as a web portal, a blog, a photo gallery, a commerce site, or a wiki. Select a resource group template, including one of dozens in the Azure template gallery, or create your own. Each template provides a model of a complex service, complete with the resources that you need to support the service. Then use the template to create a resource group and its resources, and deploy and manage the related resources as a unit.You can use Switch-AzureMode to switch between Azure modules as often as you like. To set an Azure module as the default for all sessions, use the Global parameter when switching between modes.
+
+
+
+ Switch-AzureMode
+
+ Name
+
+ Switches to the specified module. To switch to the Azure Resource Manager module, type AzureResourceManager. To switch to the Azure module, type AzureServiceManagement. This parameter is required.
+
+ String
+
+
+ Global
+
+ Switches all Windows PowerShell session to the specified Azure module. Use this parameter to save your module selection for other sessions. This parameter is optional. By default, the switch affects only the current session.This parameter requires administrator permissions. To use this parameter, start Windows PowerShell with the "Run as administrator" option.
+
+ SwitchParameter
+
+
+
+
+
+ Name
+
+ Switches to the specified module. To switch to the Azure Resource Manager module, type AzureResourceManager. To switch to the Azure module, type AzureServiceManagement. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Global
+
+ Switches all Windows PowerShell session to the specified Azure module. Use this parameter to save your module selection for other sessions. This parameter is optional. By default, the switch affects only the current session.This parameter requires administrator permissions. To use this parameter, start Windows PowerShell with the "Run as administrator" option.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1: Switch to the Azure Resource Manager module --------------------------
+
+ PS C:\>
+
+
+ PS C:\>Switch-AzureMode -Name AzureResourceManager
+ PS C:\>Switch-AzureMode -Name AzureServiceManagement
+
+
+ This command shows you how to switch between modules. The first command uses the Switch-AzureMode cmdlet to switch to the Azure Resource Manager module. The second command uses the Switch-AzureMode cmdlet to switch back to the Azure module.
+
+
+ When you import either module, the AzureProfile module, which includes commands common to both modules, including Add-AzureAccount, Get-AzureSubscription, and Switch-AzureMode, is imported, too.
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2: Switch all sessions to the Azure Resource Manager module --------------------------
+
+ PS C:\>
+
+ PS C:\>Switch-AzureMode -Name AzureResourceManager -Global
+
+ This command uses the Global parameter of Switch-AzureMode to switch all Microsoft Azure PowerShell sessions to the Azure Resource Manager module. If you close this session and open an new one, the Azure Resource Manager module is imported by default.
+
+
+ The Global parameter requires administrator permissions. To run this command, start Windows PowerShell with the "Run as administrator" option.
+
+
+
+
+
+
+
+
+
+
+
+
+ Online Version:
+ http://go.microsoft.com/fwlink/?LinkID=394398
+
+
+ Azure Resource Manager Cmdlets
+
+
+
+ Azure Service Management Cmdlets
+
+
+
+ Azure Profile Cmdlets
+
+
+
+
\ No newline at end of file
diff --git a/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.format.ps1xml b/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.format.ps1xml
index 46d19326ea34..3e2281e8506c 100644
--- a/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.format.ps1xml
+++ b/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.format.ps1xml
@@ -2,9 +2,9 @@
- Microsoft.WindowsAzure.Commands.Common.Models.PSAzureAccount
+ Microsoft.Azure.Common.Extensions.Models.PSAzureAccount
- Microsoft.WindowsAzure.Commands.Common.Models.PSAzureAccount
+ Microsoft.Azure.Common.Extensions.Models.PSAzureAccount
diff --git a/src/Common/Commands.Profile/Models/PsAzureSubscription.cs b/src/Common/Commands.Profile/Models/PsAzureSubscription.cs
index d2ecabeb46df..3c2d72096935 100644
--- a/src/Common/Commands.Profile/Models/PsAzureSubscription.cs
+++ b/src/Common/Commands.Profile/Models/PsAzureSubscription.cs
@@ -12,7 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
namespace Microsoft.WindowsAzure.Commands.Profile.Models
{
diff --git a/src/Common/Commands.Profile/Models/PsAzureSubscriptionExtended.cs b/src/Common/Commands.Profile/Models/PsAzureSubscriptionExtended.cs
index 96985161b4c7..c4894d9e73b9 100644
--- a/src/Common/Commands.Profile/Models/PsAzureSubscriptionExtended.cs
+++ b/src/Common/Commands.Profile/Models/PsAzureSubscriptionExtended.cs
@@ -13,7 +13,7 @@
// ----------------------------------------------------------------------------------
using System.Security.Cryptography.X509Certificates;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
namespace Microsoft.WindowsAzure.Commands.Profile.Models
{
diff --git a/src/Common/Commands.Profile/ProfileDoctor/ClearAzureProfile.cs b/src/Common/Commands.Profile/ProfileDoctor/ClearAzureProfile.cs
index f751d1dbba65..a60306b008f7 100644
--- a/src/Common/Commands.Profile/ProfileDoctor/ClearAzureProfile.cs
+++ b/src/Common/Commands.Profile/ProfileDoctor/ClearAzureProfile.cs
@@ -14,7 +14,7 @@
using System.Management.Automation;
using System.Security.Permissions;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
diff --git a/src/Common/Commands.Profile/Subscription/GetAzurePublishSettingsFile.cs b/src/Common/Commands.Profile/Subscription/GetAzurePublishSettingsFile.cs
index 14c82dba2d56..4cea0c630855 100644
--- a/src/Common/Commands.Profile/Subscription/GetAzurePublishSettingsFile.cs
+++ b/src/Common/Commands.Profile/Subscription/GetAzurePublishSettingsFile.cs
@@ -14,7 +14,7 @@
using System.Management.Automation;
using System.Security.Permissions;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
diff --git a/src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs b/src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs
index 568efb8365a6..ad91a7d22a46 100644
--- a/src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs
+++ b/src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs
@@ -17,13 +17,13 @@
using System.Linq;
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Profile.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
using Microsoft.WindowsAzure.Management;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Profile
{
diff --git a/src/Common/Commands.Profile/Subscription/ImportAzurePublishSettings.cs b/src/Common/Commands.Profile/Subscription/ImportAzurePublishSettings.cs
index eb0b8b968fc6..1e0c6ca498b4 100644
--- a/src/Common/Commands.Profile/Subscription/ImportAzurePublishSettings.cs
+++ b/src/Common/Commands.Profile/Subscription/ImportAzurePublishSettings.cs
@@ -17,12 +17,13 @@
using System.Linq;
using System.Management.Automation;
using System.Security.Permissions;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
using Microsoft.WindowsAzure.Commands.Common;
using System.Diagnostics;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Profile
{
diff --git a/src/Common/Commands.Profile/Subscription/RemoveAzureSubscription.cs b/src/Common/Commands.Profile/Subscription/RemoveAzureSubscription.cs
index f37dc1106be4..e12a652d4ca1 100644
--- a/src/Common/Commands.Profile/Subscription/RemoveAzureSubscription.cs
+++ b/src/Common/Commands.Profile/Subscription/RemoveAzureSubscription.cs
@@ -14,7 +14,7 @@
using System;
using System.Management.Automation;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
diff --git a/src/Common/Commands.Profile/Subscription/SelectAzureSubscription.cs b/src/Common/Commands.Profile/Subscription/SelectAzureSubscription.cs
index 131142a120fc..51b5adf693b8 100644
--- a/src/Common/Commands.Profile/Subscription/SelectAzureSubscription.cs
+++ b/src/Common/Commands.Profile/Subscription/SelectAzureSubscription.cs
@@ -15,9 +15,10 @@
using System;
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Profile
{
diff --git a/src/Common/Commands.Profile/Subscription/SetAzureSubscription.cs b/src/Common/Commands.Profile/Subscription/SetAzureSubscription.cs
index 3b93419e6e2c..52a97162a980 100644
--- a/src/Common/Commands.Profile/Subscription/SetAzureSubscription.cs
+++ b/src/Common/Commands.Profile/Subscription/SetAzureSubscription.cs
@@ -16,7 +16,7 @@
using System.Linq;
using System.Management.Automation;
using System.Security.Cryptography.X509Certificates;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
diff --git a/src/Common/Commands.Profile/SwitchAzureMode.cs b/src/Common/Commands.Profile/SwitchAzureMode.cs
index 4836d8c5c05e..7d9ad67780f8 100644
--- a/src/Common/Commands.Profile/SwitchAzureMode.cs
+++ b/src/Common/Commands.Profile/SwitchAzureMode.cs
@@ -15,6 +15,7 @@
using System;
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Profile
{
diff --git a/src/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs b/src/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs
index 2031c893319a..e2a688844803 100644
--- a/src/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs
+++ b/src/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs
@@ -19,6 +19,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Testing;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ScenarioTest
{
diff --git a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
index 3fd73d8df2db..3963ef572626 100644
--- a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
+++ b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
@@ -93,7 +93,7 @@
False
- ..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
+ ..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
False
@@ -472,6 +472,10 @@
{cd5aa507-f5ef-473d-855b-84b91a1abe54}
Commands
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{3b48a77b-5956-4a62-9081-92ba04b02b27}
Commands.Common.Test
diff --git a/src/Common/Commands.ScenarioTest/Common/PowerShellTest.cs b/src/Common/Commands.ScenarioTest/Common/PowerShellTest.cs
index 8408bf5c15d4..27dc682af445 100644
--- a/src/Common/Commands.ScenarioTest/Common/PowerShellTest.cs
+++ b/src/Common/Commands.ScenarioTest/Common/PowerShellTest.cs
@@ -20,6 +20,7 @@
using Microsoft.WindowsAzure.Commands.Common.Test.Common;
using Microsoft.WindowsAzure.Commands.ScenarioTest.Resources;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ScenarioTest.Common
{
diff --git a/src/Common/Commands.ScenarioTest/Common/ServiceManagementTestEnvironmentFactory.cs b/src/Common/Commands.ScenarioTest/Common/ServiceManagementTestEnvironmentFactory.cs
index 146ecc8bac3b..da5fe60bcfb1 100644
--- a/src/Common/Commands.ScenarioTest/Common/ServiceManagementTestEnvironmentFactory.cs
+++ b/src/Common/Commands.ScenarioTest/Common/ServiceManagementTestEnvironmentFactory.cs
@@ -22,6 +22,8 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema;
using Microsoft.WindowsAzure.Common.Internals;
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.Azure.Common.Extensions.XmlSchema;
namespace Microsoft.WindowsAzure.Commands.ScenarioTest.Common
{
diff --git a/src/Common/Commands.ScenarioTest/Common/WindowsAzurePowerShellCertificateTest.cs b/src/Common/Commands.ScenarioTest/Common/WindowsAzurePowerShellCertificateTest.cs
index 121bba1156f6..1cad2ff4d32f 100644
--- a/src/Common/Commands.ScenarioTest/Common/WindowsAzurePowerShellCertificateTest.cs
+++ b/src/Common/Commands.ScenarioTest/Common/WindowsAzurePowerShellCertificateTest.cs
@@ -22,6 +22,8 @@
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Testing;
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.Azure.Common.Extensions.Models;
namespace Microsoft.WindowsAzure.Commands.ScenarioTest.Common
{
diff --git a/src/Common/Commands.ScenarioTest/CredentialTests/AddAccountForArmTests.cs b/src/Common/Commands.ScenarioTest/CredentialTests/AddAccountForArmTests.cs
index 2ccf8513cb62..c29a3c4f28ad 100644
--- a/src/Common/Commands.ScenarioTest/CredentialTests/AddAccountForArmTests.cs
+++ b/src/Common/Commands.ScenarioTest/CredentialTests/AddAccountForArmTests.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Xunit;
using Xunit.Extensions;
diff --git a/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestBase.cs b/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestBase.cs
index fd75b199535b..5a6c8dd425c0 100644
--- a/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestBase.cs
+++ b/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestBase.cs
@@ -16,6 +16,7 @@
using System.Linq;
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ScenarioTest.CredentialTests
{
diff --git a/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs b/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs
index 04b590c9d0a0..a764f52988d6 100644
--- a/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs
+++ b/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs
@@ -19,6 +19,7 @@
using Microsoft.WindowsAzure.Commands.Common;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ScenarioTest.CredentialTests
{
diff --git a/src/Common/Commands.ScenarioTest/Scheduler/SchedulerTests.cs b/src/Common/Commands.ScenarioTest/Scheduler/SchedulerTests.cs
index 1051882d468d..2b88c873a64c 100644
--- a/src/Common/Commands.ScenarioTest/Scheduler/SchedulerTests.cs
+++ b/src/Common/Commands.ScenarioTest/Scheduler/SchedulerTests.cs
@@ -20,6 +20,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Testing;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ScenarioTest
{
diff --git a/src/Common/Commands.ScenarioTest/TrafficManagerTests/TrafficManagerTests.cs b/src/Common/Commands.ScenarioTest/TrafficManagerTests/TrafficManagerTests.cs
index 3d9213993f26..1b6b5451e141 100644
--- a/src/Common/Commands.ScenarioTest/TrafficManagerTests/TrafficManagerTests.cs
+++ b/src/Common/Commands.ScenarioTest/TrafficManagerTests/TrafficManagerTests.cs
@@ -20,6 +20,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Testing;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ScenarioTest
{
diff --git a/src/Common/Commands.ScenarioTest/WebsitesTests/WebsitesTestsBase.cs b/src/Common/Commands.ScenarioTest/WebsitesTests/WebsitesTestsBase.cs
index 43bcb1169aaa..7a68556d1e00 100644
--- a/src/Common/Commands.ScenarioTest/WebsitesTests/WebsitesTestsBase.cs
+++ b/src/Common/Commands.ScenarioTest/WebsitesTests/WebsitesTestsBase.cs
@@ -20,6 +20,7 @@
using Microsoft.WindowsAzure.Management.Storage;
using Microsoft.WindowsAzure.Management.WebSites;
using Microsoft.WindowsAzure.Testing;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ScenarioTest.WebsitesTests
{
diff --git a/src/Common/Commands.ScenarioTest/packages.config b/src/Common/Commands.ScenarioTest/packages.config
index 7c0aa8ed61cd..bbffa95c7066 100644
--- a/src/Common/Commands.ScenarioTest/packages.config
+++ b/src/Common/Commands.ScenarioTest/packages.config
@@ -14,7 +14,7 @@
-
+
diff --git a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
index 9470c6f55c73..2de84d0e510d 100644
--- a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
+++ b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
@@ -123,6 +123,10 @@
{bc420543-c04e-4bf3-96e1-cd81b823bdd7}
Commands.Test.Utilities
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{3b48a77b-5956-4a62-9081-92ba04b02b27}
Commands.Common.Test
diff --git a/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs b/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs
index e0839b2350cd..09186ab53cf9 100644
--- a/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs
+++ b/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs
@@ -19,11 +19,12 @@
using System.Security.Cryptography.X509Certificates;
using Microsoft.Azure.Utilities.HttpRecorder;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Testing;
using System.Diagnostics;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ScenarioTest
{
diff --git a/src/ResourceManager.sln b/src/ResourceManager.sln
index 2d9218889c15..aca639123545 100644
--- a/src/ResourceManager.sln
+++ b/src/ResourceManager.sln
@@ -37,6 +37,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RedisCache", "Reso
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RedisCache.Test", "ResourceManager\RedisCache\Commands.RedisCache.Test\Commands.RedisCache.Test.csproj", "{4AE5705F-62CF-461D-B72E-DD9DCD9B3609}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.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
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -95,6 +99,14 @@ Global
{4AE5705F-62CF-461D-B72E-DD9DCD9B3609}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4AE5705F-62CF-461D-B72E-DD9DCD9B3609}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4AE5705F-62CF-461D-B72E-DD9DCD9B3609}.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
+ {F49A314A-A235-47D3-A654-1EC19ACA366C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7E6683BE-ECFF-4709-89EB-1325E9E70512}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {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
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -105,5 +117,6 @@ Global
{C1BDA476-A5CC-4394-914D-48B0EC31A710} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{4AE5705F-62CF-461D-B72E-DD9DCD9B3609} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ {7E6683BE-ECFF-4709-89EB-1325E9E70512} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
EndGlobalSection
EndGlobal
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 da45d376c28e..39fc0f191441 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj
+++ b/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj
@@ -55,7 +55,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.6.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.7.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
False
@@ -157,6 +157,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{3b48a77b-5956-4a62-9081-92ba04b02b27}
Commands.Common.Test
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs
index 6e7703f939da..80d7419bd882 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs
+++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
using Microsoft.Azure.Gallery;
using Microsoft.Azure.Management.Authorization;
using Microsoft.Azure.Management.Batch;
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/packages.config b/src/ResourceManager/Batch/Commands.Batch.Test/packages.config
index e7a0c36525c5..36f4b333b3be 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/packages.config
+++ b/src/ResourceManager/Batch/Commands.Batch.Test/packages.config
@@ -5,7 +5,7 @@
-
+
diff --git a/src/ResourceManager/Batch/Commands.Batch/BatchClient.cs b/src/ResourceManager/Batch/Commands.Batch/BatchClient.cs
index ba26940632e8..7bd6e73ee855 100644
--- a/src/ResourceManager/Batch/Commands.Batch/BatchClient.cs
+++ b/src/ResourceManager/Batch/Commands.Batch/BatchClient.cs
@@ -13,12 +13,13 @@
// ----------------------------------------------------------------------------------
using Microsoft.Azure.Commands.Batch.Properties;
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.Azure.Management.Batch;
using Microsoft.Azure.Management.Batch.Models;
using Microsoft.Azure.Management.Resources;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
using System;
using System.Collections;
using System.Collections.Generic;
diff --git a/src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs b/src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs
index 09a2cca6a9cc..74c6e56c1634 100644
--- a/src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs
+++ b/src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Common.Internals;
diff --git a/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj b/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj
index d01d791cdd41..049c1f1e4d3b 100644
--- a/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj
+++ b/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj
@@ -47,7 +47,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.6.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.7.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
False
@@ -130,6 +130,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
diff --git a/src/ResourceManager/Batch/Commands.Batch/packages.config b/src/ResourceManager/Batch/Commands.Batch/packages.config
index 9551c518b2b6..fc23e5fd4cc1 100644
--- a/src/ResourceManager/Batch/Commands.Batch/packages.config
+++ b/src/ResourceManager/Batch/Commands.Batch/packages.config
@@ -1,7 +1,7 @@
-
+
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 3b4589012854..a56c340f32ee 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj
@@ -275,6 +275,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{c1bda476-a5cc-4394-914d-48b0ec31a710}
Commands.ScenarioTests.Common
diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoriesScenarioTestsBase.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoriesScenarioTestsBase.cs
index 0f8a9700bda4..55684c826064 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoriesScenarioTestsBase.cs
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoriesScenarioTestsBase.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
using Microsoft.Azure.Gallery;
using Microsoft.Azure.Management.Authorization;
using Microsoft.Azure.Management.DataFactories;
diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryTests.cs
index d39c00f72358..0cf5d56959a6 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryTests.cs
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryTests.cs
@@ -17,7 +17,7 @@
using Microsoft.Azure.Management.DataFactories.Models;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Commands.ScenarioTest;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.WindowsAzure.Commands.Common;
using Moq;
using Xunit;
diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj
index 8f9119a49e28..e5f9759f391c 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj
@@ -189,6 +189,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{65c3a86a-716d-4e7d-ab67-1db00b3bf72d}
Commands.Common.Storage
diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryCommonUtilities.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryCommonUtilities.cs
index cbf016351a4c..d3916e93c8d1 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryCommonUtilities.cs
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryCommonUtilities.cs
@@ -21,6 +21,7 @@
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Newtonsoft.Json;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.DataFactories
{
diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs
index e872b5984e22..9de6c60116c6 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs
@@ -15,12 +15,13 @@
using System.IO;
using Microsoft.Azure.Management.DataFactories;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.Azure.Commands.DataFactories.Properties;
using System;
using Microsoft.WindowsAzure.Storage.Blob;
using Microsoft.WindowsAzure.Storage;
using System.Net;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.DataFactories
{
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 2684f6c3919f..9d97b35690d5 100644
--- a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj
+++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj
@@ -125,6 +125,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{c1bda476-a5cc-4394-914d-48b0ec31a710}
Commands.ScenarioTests.Common
diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTestsBase.cs b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTestsBase.cs
index 50e707b8874d..c6519b8ab712 100644
--- a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTestsBase.cs
+++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTestsBase.cs
@@ -19,6 +19,7 @@ namespace Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Testing;
using Microsoft.Azure.Management.Redis;
+ using Microsoft.Azure.Common.Extensions;
public abstract class RedisCacheTestsBase : IDisposable
{
diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj
index 42ff601e2e7a..49d934539a72 100644
--- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj
+++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj
@@ -123,6 +123,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheClient.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheClient.cs
index 03ad3bd6740f..5260bdc592be 100644
--- a/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheClient.cs
+++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheClient.cs
@@ -14,11 +14,12 @@
namespace Microsoft.Azure.Commands.RedisCache
{
+ using Microsoft.Azure.Common.Extensions;
+ using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.Azure.Management.Redis;
using Microsoft.Azure.Management.Redis.Models;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Commands.Common;
- using Microsoft.WindowsAzure.Commands.Common.Models;
public class RedisCacheClient
{
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 975cf29e00b3..960fccd5f28c 100644
--- a/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj
+++ b/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj
@@ -176,6 +176,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{c1bda476-a5cc-4394-914d-48b0ec31a710}
Commands.ScenarioTests.Common
@@ -246,6 +250,9 @@
PreserveNewest
+
+ PreserveNewest
+
PreserveNewest
diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/ResourceClientTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/ResourceClientTests.cs
index 36294e0a7132..24d28101b7ce 100644
--- a/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/ResourceClientTests.cs
+++ b/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/ResourceClientTests.cs
@@ -40,6 +40,7 @@
using Xunit;
using Xunit.Extensions;
using System.Diagnostics;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.Resources.Test.Models
{
diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Resources/NewAzureResourceCommandTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/Resources/NewAzureResourceCommandTests.cs
index faa6bf162921..71553f72ec02 100644
--- a/src/ResourceManager/Resources/Commands.Resources.Test/Resources/NewAzureResourceCommandTests.cs
+++ b/src/ResourceManager/Resources/Commands.Resources.Test/Resources/NewAzureResourceCommandTests.cs
@@ -17,7 +17,7 @@
using System.Management.Automation;
using Microsoft.Azure.Commands.Resources.Models;
using Microsoft.WindowsAzure.Commands.ScenarioTest;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.WindowsAzure.Commands.Common;
using Moq;
using Xunit;
diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Resources/SetAzureResourceCommandTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/Resources/SetAzureResourceCommandTests.cs
index 50dad9739fa9..691c80133c4e 100644
--- a/src/ResourceManager/Resources/Commands.Resources.Test/Resources/SetAzureResourceCommandTests.cs
+++ b/src/ResourceManager/Resources/Commands.Resources.Test/Resources/SetAzureResourceCommandTests.cs
@@ -16,7 +16,7 @@
using System.Management.Automation;
using Microsoft.Azure.Commands.Resources.Models;
using Microsoft.WindowsAzure.Commands.ScenarioTest;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.WindowsAzure.Commands.Common;
using Moq;
using Xunit;
diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.cs
index a0fb4863640c..a338336cb3ec 100644
--- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.cs
+++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.cs
@@ -424,6 +424,32 @@ public void TestGetADUserWithObjectId()
TestUtilities.GetCurrentMethodName());
}
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestGetADUserWithMail()
+ {
+ const string scriptMethod = "Test-GetADUserWithMail '{0}'";
+ User newUser = null;
+ var controllerAdmin = ResourcesController.NewInstance;
+
+ controllerAdmin.RunPsTestWorkflow(
+ // scriptBuilder
+ () =>
+ {
+ newUser = CreateNewAdUser(controllerAdmin);
+ return new[] { string.Format(scriptMethod, newUser.UserPrincipalName) };
+ },
+ // initialize
+ null,
+ // cleanup
+ () =>
+ {
+ DeleteAdUser(controllerAdmin, newUser);
+ },
+ TestUtilities.GetCallingClass(),
+ TestUtilities.GetCurrentMethodName());
+ }
+
[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetADUserWithBadObjectId()
diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.ps1
index a9050daad84d..31264e97f1ae 100644
--- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.ps1
+++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.ps1
@@ -306,6 +306,25 @@ function Test-GetADUserWithObjectId
Assert-NotNull($users[0].UserPrincipalName)
}
+
+<#
+.SYNOPSIS
+Tests getting Active Directory users by mail.
+#>
+function Test-GetADUserWithMail
+{
+ param([string]$mail)
+
+ # Test
+ $users = Get-AzureADUser -Mail $mail
+
+ # Assert
+ Assert-AreEqual $users.Count 1
+ Assert-AreEqual $users[0].Mail $mail
+ Assert-NotNull($users[0].DisplayName)
+ Assert-NotNull($users[0].UserPrincipalName)
+}
+
<#
.SYNOPSIS
Tests getting Active Directory users.
diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesController.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesController.cs
index e29eda280d29..3174a07ce596 100644
--- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesController.cs
+++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesController.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
using Microsoft.Azure.Gallery;
using Microsoft.Azure.Graph.RBAC;
using Microsoft.Azure.Management.Authorization;
diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithMail.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithMail.json
new file mode 100644
index 000000000000..7a364fe4da80
--- /dev/null
+++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithMail.json
@@ -0,0 +1,228 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?api-version=1.42-previewInternal",
+ "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"userPrincipalName\": \"aduser6859@rbactest.onmicrosoft.com\",\r\n \"accountEnabled\": true,\r\n \"displayName\": \"aduser6859\",\r\n \"mailNickname\": \"aduser6859test\",\r\n \"passwordProfile\": {\r\n \"password\": \"adpass39990#$\",\r\n \"forceChangePasswordNextLogin\": false\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "269"
+ ],
+ "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\": \"624fb7e1-f0e9-4bd0-94e4-6be174330d7a\",\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\": \"aduser6859\",\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\": \"aduser6859test\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8CE8F616\",\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\": \"aduser6859@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\": \"aduser6859@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1955"
+ ],
+ "Content-Type": [
+ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ocp-aad-diagnostics-server-name": [
+ "VbwAPpHBrDNXWFpR18OzHh/NfNdUKGwRD1NUkhGV+bc="
+ ],
+ "request-id": [
+ "515f205d-bfa4-43d9-8e8c-0efcc12628e5"
+ ],
+ "client-request-id": [
+ "ee413c51-7f45-4f90-9ea2-9fe81a052b35"
+ ],
+ "x-ms-gateway-rewrite": [
+ "false"
+ ],
+ "x-ms-dirapi-data-contract-version": [
+ "1.42-previewInternal"
+ ],
+ "ocp-aad-session-key": [
+ "7pQeXZlxkCDyFVMe9qlvVNcY1zjLI89KWuj5wy4_7s_J8zs7sTod6U8rZqUcKE7Vckag9APQpW7mjnS3_SlRN4cMrAQtIMeVsdhGmcREH3BF5GF7ITYtkVDqOMw56FczqCcGeLyKhHEcK_k_5n_NmA.hMGeoesuXuqu5sM0QGtrgvAc2dPtLGyJ8bDadv01RoM"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "DataServiceVersion": [
+ "3.0;"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=15724800; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/624fb7e1-f0e9-4bd0-94e4-6be174330d7a/Microsoft.WindowsAzure.ActiveDirectory.User"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET",
+ "ASP.NET"
+ ],
+ "Date": [
+ "Fri, 12 Dec 2014 19:50:12 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?$filter=signInName%20eq%20'aduser6859%40rbactest.onmicrosoft.com'&api-version=1.42-previewInternal",
+ "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz8kZmlsdGVyPXNpZ25Jbk5hbWUlMjBlcSUyMCdhZHVzZXI2ODU5JTQwcmJhY3Rlc3Qub25taWNyb3NvZnQuY29tJyZhcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==",
+ "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\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"624fb7e1-f0e9-4bd0-94e4-6be174330d7a\",\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\": \"aduser6859\",\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\": \"aduser6859test\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8CE8F616\",\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\": \"aduser6859@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\": \"aduser6859@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1958"
+ ],
+ "Content-Type": [
+ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ocp-aad-diagnostics-server-name": [
+ "VbwAPpHBrDNXWFpR18OzHh/NfNdUKGwRD1NUkhGV+bc="
+ ],
+ "request-id": [
+ "b0d0b4b3-4455-46fc-81ee-53152a0302c3"
+ ],
+ "client-request-id": [
+ "5009830e-a05a-495f-80d6-6505e91eca79"
+ ],
+ "x-ms-gateway-rewrite": [
+ "false"
+ ],
+ "x-ms-dirapi-data-contract-version": [
+ "1.42-previewInternal"
+ ],
+ "ocp-aad-session-key": [
+ "2KTRY1wJ6jc3C2KvLU-HPLXlHPSSLnwVl6erB6dGxlcUiieIf8wHyqtlMhR7MAPzV7ZO1OB2QWbCqgSZ4QlMITokGSuJDLf8upMI0ZS6bgP7U23x0paEGaN_Xq_VB8FnMLBNWydY3yJ5pdGaEDKp2A.moFqgqvaMEXVR4QXDiWPbSaEvBsMDyvyKU7SI3fKyMc"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "DataServiceVersion": [
+ "3.0;"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=15724800; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET",
+ "ASP.NET"
+ ],
+ "Date": [
+ "Fri, 12 Dec 2014 19:50:14 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/624fb7e1-f0e9-4bd0-94e4-6be174330d7a?api-version=1.42-previewInternal",
+ "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy82MjRmYjdlMS1mMGU5LTRiZDAtOTRlNC02YmUxNzQzMzBkN2E/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ocp-aad-diagnostics-server-name": [
+ "VbwAPpHBrDNXWFpR18OzHh/NfNdUKGwRD1NUkhGV+bc="
+ ],
+ "request-id": [
+ "136e45ca-4a69-44e9-8cd2-4371aef57868"
+ ],
+ "client-request-id": [
+ "1da1480a-638f-47d8-b6f2-8ed4e6980027"
+ ],
+ "x-ms-gateway-rewrite": [
+ "false"
+ ],
+ "x-ms-dirapi-data-contract-version": [
+ "1.42-previewInternal"
+ ],
+ "ocp-aad-session-key": [
+ "HolbQidtxArNqvDuekS9inE2xJViCAJ8wwVq-HOxPCIEEaeXhvkcqJOuuzATNwpX7g6ECj5TTIYM4IQtJMfR4hO9hySjQXS-yVwR4UBwHvliCqYkLFql_BdMnxmpSs6Txd8CvUByIHz-J_xdPTy6Kw.S_dVfFzvVrqJMiERTrn-T8-h8eTXiBM2RgDogdfVEFc"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "DataServiceVersion": [
+ "1.0;"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=15724800; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET",
+ "ASP.NET"
+ ],
+ "Date": [
+ "Fri, 12 Dec 2014 19:50:16 GMT"
+ ]
+ },
+ "StatusCode": 204
+ }
+ ],
+ "Names": {
+ "CreateNewAdUser": [
+ "aduser6859",
+ "adpass3999"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115",
+ "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.ResourceGroupTests/TestAzureTagsEndToEnd.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestAzureTagsEndToEnd.json
index 455b5db9d596..16683de50e6b 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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "",
@@ -727,7 +727,7 @@
"RequestHeaders": {
"User-Agent": [
"Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0",
- "AzurePowershell/v0.8.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"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.11"
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "",
@@ -1231,7 +1231,7 @@
"RequestHeaders": {
"User-Agent": [
"Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0",
- "AzurePowershell/v0.8.11"
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "",
@@ -1267,7 +1267,7 @@
"RequestHeaders": {
"User-Agent": [
"Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0",
- "AzurePowershell/v0.8.11"
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "",
@@ -1303,7 +1303,7 @@
"RequestHeaders": {
"User-Agent": [
"Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0",
- "AzurePowershell/v0.8.11"
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "",
@@ -1339,7 +1339,7 @@
"RequestHeaders": {
"User-Agent": [
"Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0",
- "AzurePowershell/v0.8.11"
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "",
@@ -1375,7 +1375,7 @@
"RequestHeaders": {
"User-Agent": [
"Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0",
- "AzurePowershell/v0.8.11"
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "",
@@ -1411,7 +1411,7 @@
"RequestHeaders": {
"User-Agent": [
"Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0",
- "AzurePowershell/v0.8.11"
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "",
diff --git a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADUserCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADUserCommand.cs
index d94f4c669fe9..7b567893647e 100644
--- a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADUserCommand.cs
+++ b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADUserCommand.cs
@@ -44,6 +44,11 @@ public class GetAzureADUserCommand : ActiveDirectoryBaseCmdlet
[Alias("UPN")]
public string UserPrincipalName { get; set; }
+ [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.Mail,
+ HelpMessage = "The user mail.")]
+ [ValidateNotNullOrEmpty]
+ public string Mail { get; set; }
+
public override void ExecuteCmdlet()
{
ADObjectFilterOptions options = new ADObjectFilterOptions
@@ -51,7 +56,8 @@ public override void ExecuteCmdlet()
SearchString = SearchString,
UPN = UserPrincipalName,
Id = ObjectId == Guid.Empty ? null : ObjectId.ToString(),
- Paging = true
+ Paging = true,
+ Mail = Mail
};
do
diff --git a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1
index 76601dfd3418..e91db530e81d 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.11'
+ModuleVersion = '0.8.12'
# ID used to uniquely identify this module
GUID = '81d522a4-6e5d-4105-8f58-376204c47458'
@@ -63,7 +63,8 @@ FormatsToProcess = @(
'.\Resources\Microsoft.WindowsAzure.Commands.Profile.format.ps1xml',
'.\DataFactories\Microsoft.Azure.Commands.DataFactories.format.ps1xml',
'.\RedisCache\Microsoft.Azure.Commands.RedisCache.format.ps1xml',
- '.\Batch\Microsoft.Azure.Commands.Batch.format.ps1xml'
+ '.\Batch\Microsoft.Azure.Commands.Batch.format.ps1xml',
+ '.\StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml'
)
# Modules to import as nested modules of the module specified in ModuleToProcess
@@ -74,7 +75,8 @@ NestedModules = @(
'.\Sql\Microsoft.Azure.Commands.Sql.dll',
'.\DataFactories\Microsoft.Azure.Commands.DataFactories.dll',
'.\RedisCache\Microsoft.Azure.Commands.RedisCache.dll',
- '.\Batch\Microsoft.Azure.Commands.Batch.dll'
+ '.\Batch\Microsoft.Azure.Commands.Batch.dll',
+ '.\StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.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 d0bc098e07b2..74d0be3be1b1 100644
--- a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj
+++ b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj
@@ -210,6 +210,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
@@ -234,6 +238,10 @@
{2493a8f7-1949-4f29-8d53-9d459046c3b8}
Commands.Tags
+
+ {F49A314A-A235-47D3-A654-1EC19ACA366C}
+ Commands.StreamAnalytics
+
diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/ActiveDirectoryClient.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/ActiveDirectoryClient.cs
index b7475ca21fcc..483a39ff5381 100644
--- a/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/ActiveDirectoryClient.cs
+++ b/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/ActiveDirectoryClient.cs
@@ -15,12 +15,13 @@
using Microsoft.Azure.Graph.RBAC;
using Microsoft.Azure.Graph.RBAC.Models;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
+using Microsoft.Azure.Common.Extensions.Models;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
+using Microsoft.Azure.Common.Extensions.Authentication;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.Resources.Models.ActiveDirectory
{
diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/PSADObject.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/PSADObject.cs
index 493ca15dd90e..ba9ddd9ddd69 100644
--- a/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/PSADObject.cs
+++ b/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/PSADObject.cs
@@ -15,7 +15,6 @@
using System;
using System.Collections.Generic;
using System.Management.Automation;
-using Microsoft.WindowsAzure.Commands.Common.Utilities;
namespace Microsoft.Azure.Commands.Resources.Models.ActiveDirectory
{
diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.Authorization/AuthorizationClient.cs b/src/ResourceManager/Resources/Commands.Resources/Models.Authorization/AuthorizationClient.cs
index 6ef94d622729..abfa4fefdb75 100644
--- a/src/ResourceManager/Resources/Commands.Resources/Models.Authorization/AuthorizationClient.cs
+++ b/src/ResourceManager/Resources/Commands.Resources/Models.Authorization/AuthorizationClient.cs
@@ -16,12 +16,13 @@
using Microsoft.Azure.Management.Authorization;
using Microsoft.Azure.Management.Authorization.Models;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using ProjectResources = Microsoft.Azure.Commands.Resources.Properties.Resources;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.Resources.Models.Authorization
{
diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/GalleryTemplatesClient.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/GalleryTemplatesClient.cs
index dbe14c7bbeba..8b887a0e560b 100644
--- a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/GalleryTemplatesClient.cs
+++ b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/GalleryTemplatesClient.cs
@@ -27,11 +27,12 @@
using Microsoft.Azure.Gallery.Models;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Common.OData;
using Newtonsoft.Json;
using ProjectResources = Microsoft.Azure.Commands.Resources.Properties.Resources;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.Resources.Models
{
diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs
index 1111d933e694..6d93e9741201 100644
--- a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs
+++ b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs
@@ -24,7 +24,7 @@
using Microsoft.Azure.Management.Resources.Models;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Management.Monitoring.Events;
using Newtonsoft.Json;
@@ -33,6 +33,7 @@
using Microsoft.Azure.Management.Authorization.Models;
using Microsoft.Azure.Commands.Resources.Models.Authorization;
using System.Diagnostics;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.Resources.Models
{
diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceWithParameterBaseCmdlet.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceWithParameterBaseCmdlet.cs
index da0d9563989a..bba855dffd90 100644
--- a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceWithParameterBaseCmdlet.cs
+++ b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceWithParameterBaseCmdlet.cs
@@ -22,6 +22,7 @@
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.Azure.Commands.Resources.Models;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.Resources
{
diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourcesExtensions.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourcesExtensions.cs
index 76bec9fdb307..2624717f4f1b 100644
--- a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourcesExtensions.cs
+++ b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourcesExtensions.cs
@@ -26,6 +26,7 @@
using Newtonsoft.Json;
using Microsoft.Azure.Commands.Resources.Models.Authorization;
using Microsoft.Azure.Management.Authorization.Models;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.Resources.Models
{
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 5d3c2588d0e7..0cd13b1779c8 100644
--- a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj
+++ b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj
@@ -44,7 +44,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Gallery.2.2.1-preview\lib\net40\Microsoft.Azure.Gallery.dll
+ ..\..\..\packages\Microsoft.Azure.Gallery.2.2.0-preview\lib\net40\Microsoft.Azure.Gallery.dll
False
@@ -52,11 +52,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Monitoring.2.2.1-preview\lib\net40\Microsoft.Azure.Monitoring.dll
+ ..\..\..\packages\Microsoft.Azure.Monitoring.2.2.0-preview\lib\net40\Microsoft.Azure.Monitoring.dll
False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.7.1-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.7.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
False
@@ -146,6 +146,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{c1bda476-a5cc-4394-914d-48b0ec31a710}
Commands.ScenarioTests.Common
diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs
index 132bcad207cb..de54e30bd5f6 100644
--- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs
+++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs
@@ -18,6 +18,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Management.Storage;
using Microsoft.WindowsAzure.Testing;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.ScenarioTest.SqlTests
{
diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/packages.config b/src/ResourceManager/Sql/Commands.Sql.Test/packages.config
index b8d8b347c578..e071300410fb 100644
--- a/src/ResourceManager/Sql/Commands.Sql.Test/packages.config
+++ b/src/ResourceManager/Sql/Commands.Sql.Test/packages.config
@@ -1,11 +1,11 @@
-
-
-
-
+
+
+
+
-
+
diff --git a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj
index dbabb3532ef8..5197bce544c7 100644
--- a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj
+++ b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj
@@ -161,6 +161,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Services/EndpointsCommunicator.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Services/EndpointsCommunicator.cs
index 241f3315f915..cfd90d3c7c12 100644
--- a/src/ResourceManager/Sql/Commands.Sql/Security/Services/EndpointsCommunicator.cs
+++ b/src/ResourceManager/Sql/Commands.Sql/Security/Services/EndpointsCommunicator.cs
@@ -14,13 +14,14 @@
using Microsoft.Azure.Commands.Sql.Security.Model;
using Microsoft.Azure.Commands.Sql.Services;
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Resources.Models;
using Microsoft.Azure.Management.Sql;
using Microsoft.Azure.Management.Sql.Models;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
using Microsoft.WindowsAzure.Management.Storage;
using Microsoft.WindowsAzure.Management.Storage.Models;
using Newtonsoft.Json.Linq;
diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlClient.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlClient.cs
index 19e4ef8e7732..377978ed9ed3 100644
--- a/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlClient.cs
+++ b/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlClient.cs
@@ -13,8 +13,8 @@
// ----------------------------------------------------------------------------------
using Microsoft.Azure.Commands.Sql.Security.Model;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.Azure.Management.Sql.Models;
-using Microsoft.WindowsAzure.Commands.Common.Models;
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/src/ResourceManager/Sql/Commands.Sql/packages.config b/src/ResourceManager/Sql/Commands.Sql/packages.config
index 8fa0fe0627c6..bec74499d637 100644
--- a/src/ResourceManager/Sql/Commands.Sql/packages.config
+++ b/src/ResourceManager/Sql/Commands.Sql/packages.config
@@ -16,5 +16,5 @@
-
+
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj
new file mode 100644
index 000000000000..c6695d4763fd
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj
@@ -0,0 +1,221 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {7E6683BE-ECFF-4709-89EB-1325E9E70512}
+ {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ Library
+ Properties
+ Microsoft.Azure.Commands.StreamAnalytics.Test
+ Microsoft.Azure.Commands.StreamAnalytics.Test
+ v4.5
+ 512
+ ..\..\..\
+ true
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ true
+ MSSharedLibKey.snk
+ true
+ true
+ false
+ bin\Release\
+ TRACE;SIGN
+ true
+ pdbonly
+ AnyCPU
+ prompt
+ false
+
+
+
+ ..\..\..\packages\Microsoft.Azure.Gallery.2.2.0-preview\lib\net40\Microsoft.Azure.Gallery.dll
+ True
+
+
+ ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.11.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll
+
+
+ ..\..\..\packages\Microsoft.Azure.Management.StreamAnalytics.0.12.1-preview\lib\net40\Microsoft.Azure.Management.StreamAnalytics.dll
+
+
+ ..\..\..\packages\Microsoft.Azure.Monitoring.2.2.0-preview\lib\net40\Microsoft.Azure.Monitoring.dll
+ True
+
+
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.7.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ True
+
+
+ False
+ ..\..\..\packages\Hydra.HttpRecorder.1.0.5417.13285-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll
+
+
+ ..\..\..\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.Common.1.4.1\lib\net45\Microsoft.WindowsAzure.Common.dll
+
+
+ ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.1\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll
+ True
+
+
+ False
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll
+
+
+ False
+ ..\..\..\packages\WindowsAzure.Storage.4.0.0\lib\net40\Microsoft.WindowsAzure.Storage.dll
+
+
+ False
+ ..\..\..\packages\Hydra.SpecTestSupport.1.0.5417.13285-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll
+
+
+ False
+ ..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll
+
+
+ ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll
+ True
+
+
+
+
+
+
+
+ ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll
+
+
+ ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll
+
+
+
+
+
+
+
+
+ False
+ ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll
+
+
+ ..\..\..\packages\xunit.extensions.1.9.2\lib\net20\xunit.extensions.dll
+
+
+
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
+
+ {c1bda476-a5cc-4394-914d-48b0ec31a710}
+ Commands.ScenarioTests.Common
+
+
+ {65c3a86a-716d-4e7d-ab67-1db00b3bf72d}
+ Commands.Common.Storage
+
+
+ {3b48a77b-5956-4a62-9081-92ba04b02b27}
+ Commands.Common.Test
+
+
+ {5ee72c53-1720-4309-b54b-5fb79703195f}
+ Commands.Common
+
+
+ {bc420543-c04e-4bf3-96e1-cd81b823bdd7}
+ Commands.Test.Utilities
+
+
+ {9577252e-0a6b-4d61-86e8-95f7f309a987}
+ Commands.StreamAnalytics
+
+
+
+
+
+
+
+
+
+
+ Designer
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
+ xcopy "$(SolutionDir)Package\$(ConfigurationName)\*.*" $(TargetDir) /Y /E
+
+
+
+ This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/MSSharedLibKey.snk b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/MSSharedLibKey.snk
new file mode 100644
index 000000000000..695f1b38774e
Binary files /dev/null and b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/MSSharedLibKey.snk differ
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..6ad2d553c38d
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Microsoft.Azure.Commands.StreamAnalytics.Test")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Microsoft.Azure.Commands.StreamAnalytics.Test")]
+[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("2b11c8f1-4b25-4809-b496-ea94e96d5c78")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)]
+[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)]
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Input.json b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Input.json
new file mode 100644
index 000000000000..db5ff0ba72ba
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Input.json
@@ -0,0 +1,31 @@
+{
+ "name": "Input",
+ "properties": {
+ "type": "stream",
+ "serialization": {
+ "type": "CSV",
+ "properties": {
+ "fieldDelimiter": ",",
+ "encoding": "UTF8"
+ }
+ },
+ "datasource": {
+ "type": "Microsoft.Storage/Blob",
+ "properties": {
+ "storageAccounts" : [
+ {
+ "accountName": "azurenrtdogfood",
+ "accountKey": "$EncryptedStringForTesting"
+ }
+ ],
+ "container": "samples",
+ "blobName": "sample-blob",
+ "PathPattern": "LongRunning/{date}/{time}",
+ "DateFormat": "yyyy-MM-dd",
+ "TimeFormat": "HH:mm",
+ "SourcePartitionCount": null,
+ "blobSerializationBoundary": "BlobBoundary"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Job.json b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Job.json
new file mode 100644
index 000000000000..8045b6bbc5d0
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Job.json
@@ -0,0 +1,63 @@
+{
+ "location": "West US",
+ "tags": { "key": "value" },
+
+ "properties": {
+ "sku": {
+ "name": "standard"
+ },
+ "outputStartMode": "CustomTime",
+ "outputStartTime": "2012-12-12T12:12:12Z",
+ "inputs": [
+ {
+ "name": "Input",
+ "properties": {
+ "type": "stream",
+ "serialization": {
+ "type": "CSV",
+ "properties": {
+ "fieldDelimiter": ",",
+ "encoding": "UTF8"
+ }
+ },
+ "datasource": {
+ "type": "Microsoft.Storage/Blob",
+ "properties": {
+ "storageAccounts" : [
+ {
+ "accountName": "azurenrtdogfood",
+ "accountKey": "$EncryptedStringForTesting"
+ }
+ ],
+ "container": "samples"
+ }
+ }
+ }
+ }
+ ],
+ "transformation": {
+ "name": "transform1",
+ "properties": {
+ "streamingUnits": 1,
+ "query": "select Id, Name from Input"
+ }
+ },
+ "outputs": [
+ {
+ "name": "Output",
+ "properties": {
+ "datasource": {
+ "type": "Microsoft.Sql/Server/Database",
+ "properties": {
+ "server": "$EncryptedStringForTesting.database.windows.net",
+ "database": "azurenrtsql",
+ "user": "azurenrt@$EncryptedStringForTesting",
+ "password": "$EncryptedStringForTesting",
+ "table": "Samples"
+ }
+ }
+ }
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Output.json b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Output.json
new file mode 100644
index 000000000000..0d7ecc86cb2e
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Output.json
@@ -0,0 +1,16 @@
+{
+
+ "name": "Output",
+ "properties": {
+ "datasource": {
+ "type": "Microsoft.Sql/Server/Database",
+ "properties": {
+ "server": "$EncryptedStringForTesting.database.windows.net",
+ "database": "azurenrtsql",
+ "user": "azurenrt@$EncryptedStringForTesting",
+ "password": "$EncryptedStringForTesting",
+ "table": "Samples"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Transformation.json b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Transformation.json
new file mode 100644
index 000000000000..3678a8aba7b3
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Transformation.json
@@ -0,0 +1,7 @@
+{
+ "name": "transform1",
+ "properties": {
+ "streamingUnits": 1,
+ "query": "select Id, Name from Input TIMESTAMP BY TimeCreated"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.cs
new file mode 100644
index 000000000000..72537f820e75
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.cs
@@ -0,0 +1,29 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Test
+{
+ public class EndToEndTests : StreamAnalyticsScenarioTestsBase
+ {
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestStreamingAnalyticsE2E()
+ {
+ RunPowerShellTest("Test-TestStreamingAnalyticsE2E");
+ }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.ps1 b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.ps1
new file mode 100644
index 000000000000..bc902f3c46a4
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.ps1
@@ -0,0 +1,100 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.SYNOPSIS
+Nagative test. Get resources from an non-existing empty group.
+#>
+function Test-TestStreamingAnalyticsE2E
+{
+ $resourceGroup = "StreamAnalytics-Default-West-US"
+ $jobName = "TestJobPS"
+ $inputName = "Input"
+ $outputName = "Output"
+ $transformationName = "transform1"
+
+ # Create Job
+ $actual = New-AzureStreamAnalyticsJob -File .\Resources\job.json -ResourceGroupName $resourceGroup -Name $jobName -Force
+ $expected = Get-AzureStreamAnalyticsJob -Name $jobName -ResourceGroupName $resourceGroup
+ Assert-AreEqual $expected.Name $actual.Name
+
+ # Get Job Input
+ $actual = Get-AzureStreamAnalyticsInput -JobName $jobName -ResourceGroupName $resourceGroup
+ Assert-AreEqual $inputName $actual.Name
+
+ # Get Job Output
+ $actual = Get-AzureStreamAnalyticsOutput -JobName $jobName -ResourceGroupName $resourceGroup
+ Assert-AreEqual $outputName $actual.Name
+
+ # Get Job transformation
+ $actual = Get-AzureStreamAnalyticsTransformation -JobName $jobName -Name $transformationName -ResourceGroupName $resourceGroup
+ Assert-AreEqual $transformationName $actual.Name
+
+ # New Input (Patch)
+ $actual = New-AzureStreamAnalyticsInput -File .\Resources\Input.json -JobName $jobName -ResourceGroupName $resourceGroup -Force
+ Assert-AreEqual $inputName $actual.Name
+
+ # Test Input
+ $actual = Test-AzureStreamAnalyticsInput -JobName $jobName -Name Input -ResourceGroupName $resourceGroup
+ $expected = "True"
+ Assert-AreEqual $expected $actual
+
+ # New Output (Patch)
+ $actual = New-AzureStreamAnalyticsOutput -File .\Resources\Output.json -JobName $jobName -ResourceGroupName $resourceGroup -Force
+ Assert-AreEqual $outputName $actual.Name
+
+ # Test Output
+ $actual = Test-AzureStreamAnalyticsOutput -JobName $jobName -Name $outputName -ResourceGroupName $resourceGroup
+ $expected = "True"
+ Assert-AreEqual $expected $actual
+
+ # Create transformation (Patch)
+ $actual = New-AzureStreamAnalyticsTransformation -File .\Resources\Transformation.json -JobName $jobName -ResourceGroupName $resourceGroup -Force
+ Assert-AreEqual $transformationName $actual.Name
+
+ # Get Quota
+ $actual = Get-AzureStreamAnalyticsQuota -Location "West US"
+ $expected = 0
+ Assert-AreEqual $expected $actual.CurrentCount
+
+ # Start Job
+ $actual = Start-AzureStreamAnalyticsJob -Name $jobName -ResourceGroupName $resourceGroup
+ $expected = "True"
+ Assert-AreEqual $expected $actual
+
+ # Get Quota
+ $actual = Get-AzureStreamAnalyticsQuota -Location "West US"
+ $expected = 1
+ Assert-AreEqual $expected $actual.CurrentCount
+
+ # Stop Job
+ $actual = Stop-AzureStreamAnalyticsJob -Name $jobName -ResourceGroupName $resourceGroup
+ $expected = "True"
+ Assert-AreEqual $expected $actual
+
+ # Remove Output
+ $actual = Remove-AzureStreamAnalyticsOutput -JobName $jobName -Name Output -ResourceGroupName $resourceGroup -Force
+ $expected = "True"
+ Assert-AreEqual $expected $actual
+
+ # Remove Input
+ $actual = Remove-AzureStreamAnalyticsInput -JobName $jobName -Name Input -ResourceGroupName $resourceGroup -Force
+ $expected = "True"
+ Assert-AreEqual $expected $actual
+
+ # Remove Job
+ $actual = Remove-AzureStreamAnalyticsJob -Name $jobName -ResourceGroupName $resourceGroup -Force
+ $expected = "True"
+ Assert-AreEqual $expected $actual
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/StreamAnalyticsScenarioTestsBase.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/StreamAnalyticsScenarioTestsBase.cs
new file mode 100644
index 000000000000..174343bac5e7
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/StreamAnalyticsScenarioTestsBase.cs
@@ -0,0 +1,105 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES 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;
+using Microsoft.Azure.Gallery;
+using Microsoft.Azure.Management.Authorization;
+using Microsoft.Azure.Management.Resources;
+using Microsoft.Azure.Management.StreamAnalytics;
+using Microsoft.Azure.Subscriptions;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.WindowsAzure.Management.Monitoring.Events;
+using Microsoft.WindowsAzure.Management.Storage;
+using Microsoft.WindowsAzure.Testing;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Test
+{
+ public abstract class StreamAnalyticsScenarioTestsBase
+ {
+ private EnvironmentSetupHelper helper;
+
+ protected StreamAnalyticsScenarioTestsBase()
+ {
+ helper = new EnvironmentSetupHelper();
+ }
+
+ protected void SetupManagementClients()
+ {
+ var dataPipelineManagementClient = GetStreamAnalyticsManagementClient();
+ var resourceManagementClient = GetResourceManagementClient();
+ var subscriptionsClient = GetSubscriptionClient();
+ var galleryClient = GetGalleryClient();
+ var eventsClient = GetEventsClient();
+ var authorizationManagementClient = GetAuthorizationManagementClient();
+
+ helper.SetupManagementClients(dataPipelineManagementClient,
+ resourceManagementClient,
+ subscriptionsClient,
+ galleryClient,
+ eventsClient,
+ authorizationManagementClient);
+ }
+
+ protected void RunPowerShellTest(params string[] scripts)
+ {
+ using (UndoContext context = UndoContext.Current)
+ {
+ context.Start(TestUtilities.GetCallingClass(2), TestUtilities.GetCurrentMethodName(2));
+
+ SetupManagementClients();
+
+ helper.SetupEnvironment(AzureModule.AzureResourceManager);
+ helper.SetupModules(AzureModule.AzureResourceManager, "ScenarioTests\\" + this.GetType().Name + ".ps1");
+
+ helper.RunPowerShellTest(scripts);
+ }
+ }
+
+ protected StreamAnalyticsManagementClient GetStreamAnalyticsManagementClient()
+ {
+ return TestBase.GetServiceClient(new CSMTestEnvironmentFactory());
+ }
+
+ protected ResourceManagementClient GetResourceManagementClient()
+ {
+ return TestBase.GetServiceClient(new CSMTestEnvironmentFactory());
+ }
+
+ protected SubscriptionClient GetSubscriptionClient()
+ {
+ return TestBase.GetServiceClient(new CSMTestEnvironmentFactory());
+ }
+
+ protected StorageManagementClient GetStorageManagementClient()
+ {
+ return TestBase.GetServiceClient(new RDFETestEnvironmentFactory());
+ }
+
+ protected GalleryClient GetGalleryClient()
+ {
+ return TestBase.GetServiceClient(new CSMTestEnvironmentFactory());
+ }
+
+ protected EventsClient GetEventsClient()
+ {
+ return TestBase.GetServiceClient(new CSMTestEnvironmentFactory());
+ }
+
+ protected AuthorizationManagementClient GetAuthorizationManagementClient()
+ {
+ return TestBase.GetServiceClient(new CSMTestEnvironmentFactory());
+ }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/SessionRecords/Microsoft.Azure.Commands.StreamAnalytics.Test.EndToEndTests/TestStreamingAnalyticsE2E.json b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/SessionRecords/Microsoft.Azure.Commands.StreamAnalytics.Test.EndToEndTests/TestStreamingAnalyticsE2E.json
new file mode 100644
index 000000000000..e5cfc06c8c54
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/SessionRecords/Microsoft.Azure.Commands.StreamAnalytics.Test.EndToEndTests/TestStreamingAnalyticsE2E.json
@@ -0,0 +1,2051 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFM/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"standard\"\r\n },\r\n \"outputStartMode\": \"CustomTime\",\r\n \"outputStartTime\": \"2012-12-12T12:12:12Z\",\r\n \"inputs\": [\r\n {\r\n \"name\": \"Input\",\r\n \"properties\": {\r\n \"type\": \"stream\",\r\n \"serialization\": {\r\n \"type\": \"CSV\",\r\n \"properties\": {\r\n \"fieldDelimiter\": \",\",\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\",\r\n \"accountKey\": \"$EncryptedStringForTesting\"\r\n }\r\n ],\r\n \"container\": \"samples\"\r\n }\r\n }\r\n }\r\n }\r\n ],\r\n \"transformation\": {\r\n \"name\": \"transform1\",\r\n \"properties\": {\r\n \"streamingUnits\": 1,\r\n \"query\": \"select Id, Name from Input\"\r\n }\r\n },\r\n \"outputs\": [\r\n {\r\n \"name\": \"Output\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\",\r\n \"password\": \"$EncryptedStringForTesting\",\r\n \"table\": \"Samples\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "1598"
+ ],
+ "x-ms-client-request-id": [
+ "cec73d53-3221-4ccd-b7d1-786e33048da7"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS\",\r\n \"name\": \"TestJobPS\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs\",\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"jobId\": \"6892d484-85d5-44ef-98e4-c9f5f521fd64\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"jobState\": \"NotStarted\",\r\n \"outputStartTime\": \"2012-12-12T12:12:12\",\r\n \"outputStartMode\": \"CustomTime\",\r\n \"createdDate\": \"2014-11-27T01:21:47.1\",\r\n \"inputs\": [\r\n {\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input\",\r\n \"name\": \"Input\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/inputs\",\r\n \"properties\": {\r\n \"type\": \"Stream\",\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\"\r\n }\r\n ],\r\n \"container\": \"samples\"\r\n }\r\n },\r\n \"serialization\": {\r\n \"type\": \"Csv\",\r\n \"properties\": {\r\n \"fieldDelimiter\": \",\",\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"etag\": \"98764d05-4e54-4d7a-9042-bbb628d9e3aa\"\r\n }\r\n }\r\n ],\r\n \"transformation\": {\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/transformations/transform1\",\r\n \"name\": \"transform1\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/transformations\",\r\n \"properties\": {\r\n \"streamingUnits\": 1,\r\n \"query\": \"select Id, Name from Input\",\r\n \"etag\": \"f8742373-15cf-41de-bd21-b6527c9e0e22\"\r\n }\r\n },\r\n \"functions\": [],\r\n \"outputs\": [\r\n {\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output\",\r\n \"name\": \"Output\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/outputs\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"table\": \"Samples\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\"\r\n }\r\n },\r\n \"etag\": \"e953928a-b72c-4721-be53-e095118ab7ea\"\r\n }\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2037"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "cec73d53-3221-4ccd-b7d1-786e33048da7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "4ff68dda-d3be-462f-8b63-f21211c4177f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012147Z:4ff68dda-d3be-462f-8b63-f21211c4177f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:21:47 GMT"
+ ],
+ "ETag": [
+ "c4396292-f56e-43bf-85e9-829ad80f8f0f"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS?$expand=inputs%2Ctransformation%2Coutputs&api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFM/JGV4cGFuZD1pbnB1dHMlMkN0cmFuc2Zvcm1hdGlvbiUyQ291dHB1dHMmYXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "20b69396-f249-4d14-805a-79eb2ebb9ad9"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS\",\r\n \"name\": \"TestJobPS\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs\",\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"jobId\": \"6892d484-85d5-44ef-98e4-c9f5f521fd64\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"jobState\": \"NotStarted\",\r\n \"outputStartTime\": \"2012-12-12T12:12:12\",\r\n \"outputStartMode\": \"CustomTime\",\r\n \"createdDate\": \"2014-11-27T01:21:47.1\",\r\n \"inputs\": [\r\n {\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input\",\r\n \"name\": \"Input\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/inputs\",\r\n \"properties\": {\r\n \"type\": \"Stream\",\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\"\r\n }\r\n ],\r\n \"container\": \"samples\"\r\n }\r\n },\r\n \"serialization\": {\r\n \"type\": \"Csv\",\r\n \"properties\": {\r\n \"fieldDelimiter\": \",\",\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"etag\": \"98764d05-4e54-4d7a-9042-bbb628d9e3aa\"\r\n }\r\n }\r\n ],\r\n \"transformation\": {\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/transformations/transform1\",\r\n \"name\": \"transform1\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/transformations\",\r\n \"properties\": {\r\n \"streamingUnits\": 1,\r\n \"query\": \"select Id, Name from Input\",\r\n \"etag\": \"f8742373-15cf-41de-bd21-b6527c9e0e22\"\r\n }\r\n },\r\n \"outputs\": [\r\n {\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output\",\r\n \"name\": \"Output\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/outputs\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"table\": \"Samples\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\"\r\n }\r\n },\r\n \"etag\": \"e953928a-b72c-4721-be53-e095118ab7ea\"\r\n }\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2022"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "20b69396-f249-4d14-805a-79eb2ebb9ad9"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799999"
+ ],
+ "x-ms-correlation-request-id": [
+ "d3cf145d-9683-455f-a999-6497c18ddb87"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012148Z:d3cf145d-9683-455f-a999-6497c18ddb87"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:21:47 GMT"
+ ],
+ "ETag": [
+ "c4396292-f56e-43bf-85e9-829ad80f8f0f"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvaW5wdXRzP2FwaS12ZXJzaW9uPTIwMTQtMTItMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "90ab5117-b984-428b-b811-05bd86bf04b7"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input\",\r\n \"name\": \"Input\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/inputs\",\r\n \"properties\": {\r\n \"type\": \"Stream\",\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\"\r\n }\r\n ],\r\n \"container\": \"samples\"\r\n }\r\n },\r\n \"serialization\": {\r\n \"type\": \"Csv\",\r\n \"properties\": {\r\n \"fieldDelimiter\": \",\",\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"etag\": \"98764d05-4e54-4d7a-9042-bbb628d9e3aa\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "577"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "90ab5117-b984-428b-b811-05bd86bf04b7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799998"
+ ],
+ "x-ms-correlation-request-id": [
+ "51f7342d-1b06-4a95-a6cf-d9dd230a15e1"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012148Z:51f7342d-1b06-4a95-a6cf-d9dd230a15e1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:21:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvb3V0cHV0cz9hcGktdmVyc2lvbj0yMDE0LTEyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d29bf6fe-9872-4b31-817e-301635f7cc18"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output\",\r\n \"name\": \"Output\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/outputs\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"table\": \"Samples\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\"\r\n }\r\n },\r\n \"etag\": \"e953928a-b72c-4721-be53-e095118ab7ea\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "526"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "d29bf6fe-9872-4b31-817e-301635f7cc18"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799997"
+ ],
+ "x-ms-correlation-request-id": [
+ "e3e01f5b-d6df-471c-8780-80bc4724fd46"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012149Z:e3e01f5b-d6df-471c-8780-80bc4724fd46"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:21:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/transformations/transform1?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvdHJhbnNmb3JtYXRpb25zL3RyYW5zZm9ybTE/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4a6a701d-b2f3-459e-ac51-721c62a19add"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/transformations/transform1\",\r\n \"name\": \"transform1\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/transformations\",\r\n \"properties\": {\r\n \"streamingUnits\": 1,\r\n \"query\": \"select Id, Name from Input\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "350"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "4a6a701d-b2f3-459e-ac51-721c62a19add"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799996"
+ ],
+ "x-ms-correlation-request-id": [
+ "aae031fb-98a6-42ed-a203-ed416d2bfe63"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012149Z:aae031fb-98a6-42ed-a203-ed416d2bfe63"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:21:48 GMT"
+ ],
+ "ETag": [
+ "f8742373-15cf-41de-bd21-b6527c9e0e22"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvaW5wdXRzL0lucHV0P2FwaS12ZXJzaW9uPTIwMTQtMTItMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"Input\",\r\n \"properties\": {\r\n \"type\": \"stream\",\r\n \"serialization\": {\r\n \"type\": \"CSV\",\r\n \"properties\": {\r\n \"fieldDelimiter\": \",\",\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\",\r\n \"accountKey\": \"$EncryptedStringForTesting\"\r\n }\r\n ],\r\n \"container\": \"samples\",\r\n \"blobName\": \"sample-blob\",\r\n \"PathPattern\": \"LongRunning/{date}/{time}\",\r\n \"DateFormat\": \"yyyy-MM-dd\",\r\n \"TimeFormat\": \"HH:mm\",\r\n \"SourcePartitionCount\": null,\r\n \"blobSerializationBoundary\": \"BlobBoundary\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "1003"
+ ],
+ "x-ms-client-request-id": [
+ "ae06db90-b4ed-4806-bf98-1fc617e7bc9b"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input\",\r\n \"name\": \"Input\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/inputs\",\r\n \"properties\": {\r\n \"type\": \"Stream\",\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"pathPattern\": \"LongRunning/{date}/{time}\",\r\n \"dateFormat\": \"yyyy-MM-dd\",\r\n \"timeFormat\": \"HH:mm\",\r\n \"blobName\": \"sample-blob\",\r\n \"blobSerializationBoundary\": \"BlobBoundary\",\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\"\r\n }\r\n ],\r\n \"container\": \"samples\"\r\n }\r\n },\r\n \"serialization\": {\r\n \"type\": \"Csv\",\r\n \"properties\": {\r\n \"fieldDelimiter\": \",\",\r\n \"encoding\": \"UTF8\"\r\n }\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "662"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "4896f807-a446-478d-9048-48f05ed89fb6"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "11998"
+ ],
+ "x-ms-correlation-request-id": [
+ "922b50c1-7bc2-4571-a1b9-822b35e31583"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012149Z:922b50c1-7bc2-4571-a1b9-822b35e31583"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:21:48 GMT"
+ ],
+ "ETag": [
+ "0106369f-c4a3-4a14-b964-18cac2455534"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/test?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvaW5wdXRzL0lucHV0L3Rlc3Q/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6266a8b0-c402-475a-bc03-b6791ab9f724"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "7"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "6266a8b0-c402-475a-bc03-b6791ab9f724"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "11997"
+ ],
+ "x-ms-correlation-request-id": [
+ "2366fbae-8c90-4db5-a9e3-281dec75cfac"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012150Z:2366fbae-8c90-4db5-a9e3-281dec75cfac"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:21:49 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/test/OperationResults/2717fac6-8c0b-43fd-8ae6-03d77bc0a15e?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/test/OperationResults/2717fac6-8c0b-43fd-8ae6-03d77bc0a15e?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvaW5wdXRzL0lucHV0L3Rlc3QvT3BlcmF0aW9uUmVzdWx0cy8yNzE3ZmFjNi04YzBiLTQzZmQtOGFlNi0wM2Q3N2JjMGExNWU/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "7"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "76d859f2-da8b-46b4-a856-316a5b0eb577"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799995"
+ ],
+ "x-ms-correlation-request-id": [
+ "187b71bc-2858-4c89-bdda-04b528c9876f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012151Z:187b71bc-2858-4c89-bdda-04b528c9876f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:21:51 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/test/OperationResults/2717fac6-8c0b-43fd-8ae6-03d77bc0a15e?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/test/OperationResults/2717fac6-8c0b-43fd-8ae6-03d77bc0a15e?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvaW5wdXRzL0lucHV0L3Rlc3QvT3BlcmF0aW9uUmVzdWx0cy8yNzE3ZmFjNi04YzBiLTQzZmQtOGFlNi0wM2Q3N2JjMGExNWU/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "7"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"TestSucceeded\",\r\n \"error\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "39"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "29dd40cb-a988-4923-bd78-c75c294b94e5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799994"
+ ],
+ "x-ms-correlation-request-id": [
+ "37879be2-e4a5-451f-8fce-d4d550d787ec"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012201Z:37879be2-e4a5-451f-8fce-d4d550d787ec"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:00 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvb3V0cHV0cy9PdXRwdXQ/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"Output\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\",\r\n \"password\": \"$EncryptedStringForTesting\",\r\n \"table\": \"Samples\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "410"
+ ],
+ "x-ms-client-request-id": [
+ "f9a40048-1cc6-43d1-9236-25e1095cb5c1"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output\",\r\n \"name\": \"Output\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/outputs\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"table\": \"Samples\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\"\r\n }\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "454"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "d9446fb7-f67b-4bab-a1eb-7f8693254be2"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "11996"
+ ],
+ "x-ms-correlation-request-id": [
+ "bd64f4ef-e6f7-47c9-81c6-3605266a2d5e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012201Z:bd64f4ef-e6f7-47c9-81c6-3605266a2d5e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:01 GMT"
+ ],
+ "ETag": [
+ "dd4fcb9c-3b7a-49de-a9b5-ec41ba8f3b21"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/test?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvb3V0cHV0cy9PdXRwdXQvdGVzdD9hcGktdmVyc2lvbj0yMDE0LTEyLTAxLXByZXZpZXc=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7aff5a2d-7987-4c9e-b5c8-68634b6e95d2"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "12"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "7aff5a2d-7987-4c9e-b5c8-68634b6e95d2"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "11995"
+ ],
+ "x-ms-correlation-request-id": [
+ "b38b7bb6-2fd5-49af-8538-a2356abce6c3"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012202Z:b38b7bb6-2fd5-49af-8538-a2356abce6c3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:01 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/test/OperationResults/376752f2-eb93-42af-a858-bd73e3c1d70f?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/test/OperationResults/376752f2-eb93-42af-a858-bd73e3c1d70f?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvb3V0cHV0cy9PdXRwdXQvdGVzdC9PcGVyYXRpb25SZXN1bHRzLzM3Njc1MmYyLWViOTMtNDJhZi1hODU4LWJkNzNlM2MxZDcwZj9hcGktdmVyc2lvbj0yMDE0LTEyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "12"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "25c7d27f-d80f-4daf-a0d7-14b0eac88a8e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799993"
+ ],
+ "x-ms-correlation-request-id": [
+ "5086f091-2e3b-4828-ac20-2407a44cc785"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012202Z:5086f091-2e3b-4828-ac20-2407a44cc785"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:01 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/test/OperationResults/376752f2-eb93-42af-a858-bd73e3c1d70f?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/test/OperationResults/376752f2-eb93-42af-a858-bd73e3c1d70f?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvb3V0cHV0cy9PdXRwdXQvdGVzdC9PcGVyYXRpb25SZXN1bHRzLzM3Njc1MmYyLWViOTMtNDJhZi1hODU4LWJkNzNlM2MxZDcwZj9hcGktdmVyc2lvbj0yMDE0LTEyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "12"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"TestSucceeded\",\r\n \"error\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "39"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "f2357f92-2f27-432b-ad6e-e4cc995d70e1"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799992"
+ ],
+ "x-ms-correlation-request-id": [
+ "f2b17630-8f23-4656-8463-76f8185d0eeb"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012212Z:f2b17630-8f23-4656-8463-76f8185d0eeb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:11 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/transformations/transform1?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvdHJhbnNmb3JtYXRpb25zL3RyYW5zZm9ybTE/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"transform1\",\r\n \"properties\": {\r\n \"streamingUnits\": 1,\r\n \"query\": \"select Id, Name from Input TIMESTAMP BY TimeCreated\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "165"
+ ],
+ "x-ms-client-request-id": [
+ "948b3d16-8f11-4285-ba9d-3d739e7f1b90"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/transformations/transform1\",\r\n \"name\": \"transform1\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/transformations\",\r\n \"properties\": {\r\n \"streamingUnits\": 1,\r\n \"query\": \"select Id, Name from Input TIMESTAMP BY TimeCreated\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "375"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "7c9aca74-721e-4e29-a65b-49e7f7eb50e5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "11994"
+ ],
+ "x-ms-correlation-request-id": [
+ "1f2076f6-85f0-4840-8572-3ee2c1acc768"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012213Z:1f2076f6-85f0-4840-8572-3ee2c1acc768"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:13 GMT"
+ ],
+ "ETag": [
+ "6c219c2a-739b-4cce-a2d8-4ef166546a32"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/providers/Microsoft.StreamAnalytics/locations/West%20US/quotas?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RyZWFtQW5hbHl0aWNzL2xvY2F0aW9ucy9XZXN0JTIwVVMvcXVvdGFzP2FwaS12ZXJzaW9uPTIwMTQtMTItMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6c377a34-fa63-4cb4-9227-45f96201aa2e"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/providers/Microsoft.StreamAnalytics/locations/West US/quotas/StreamingUnits\",\r\n \"name\": \"StreamingUnits\",\r\n \"type\": \"Microsoft.StreamAnalytics/quotas\",\r\n \"properties\": {\r\n \"maxCount\": 12,\r\n \"currentCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "260"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "6c377a34-fa63-4cb4-9227-45f96201aa2e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799991"
+ ],
+ "x-ms-correlation-request-id": [
+ "ac9a47ca-257a-4660-8d77-198a65153e75"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012214Z:ac9a47ca-257a-4660-8d77-198a65153e75"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:14 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/providers/Microsoft.StreamAnalytics/locations/West%20US/quotas?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RyZWFtQW5hbHl0aWNzL2xvY2F0aW9ucy9XZXN0JTIwVVMvcXVvdGFzP2FwaS12ZXJzaW9uPTIwMTQtMTItMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "2a163f6d-5131-4c2a-a42a-feb6e7bd73f7"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/providers/Microsoft.StreamAnalytics/locations/West US/quotas/StreamingUnits\",\r\n \"name\": \"StreamingUnits\",\r\n \"type\": \"Microsoft.StreamAnalytics/quotas\",\r\n \"properties\": {\r\n \"maxCount\": 12,\r\n \"currentCount\": 1\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "260"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "2a163f6d-5131-4c2a-a42a-feb6e7bd73f7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799982"
+ ],
+ "x-ms-correlation-request-id": [
+ "ac7ac787-3371-40ef-bf8f-7ee4adb68fd9"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012327Z:ac7ac787-3371-40ef-bf8f-7ee4adb68fd9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:23:26 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RhcnQ/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4cecee61-57f0-4e72-ae42-53fc0d8769ef"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "18"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "4cecee61-57f0-4e72-ae42-53fc0d8769ef"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "11993"
+ ],
+ "x-ms-correlation-request-id": [
+ "cdc3f01e-bb12-4a2e-89d6-6c1fbfa72049"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012214Z:cdc3f01e-bb12-4a2e-89d6-6c1fbfa72049"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:14 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RhcnQvT3BlcmF0aW9uUmVzdWx0cy9mZWFiZTkyNC0zZDcxLTQzM2ItYTlhNy05YjE4MGQxMTRhZTk/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "18"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "85357a02-904f-47a0-b00b-b4093066cfdc"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799990"
+ ],
+ "x-ms-correlation-request-id": [
+ "3b0aac7d-1871-4b15-90de-ff2524a75ba7"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012214Z:3b0aac7d-1871-4b15-90de-ff2524a75ba7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:14 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RhcnQvT3BlcmF0aW9uUmVzdWx0cy9mZWFiZTkyNC0zZDcxLTQzM2ItYTlhNy05YjE4MGQxMTRhZTk/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "18"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "9ce77646-4b24-4328-b29c-e2083bfee711"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799989"
+ ],
+ "x-ms-correlation-request-id": [
+ "2ef7c279-870a-44e1-bc12-f1cf8c40fcce"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012224Z:2ef7c279-870a-44e1-bc12-f1cf8c40fcce"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:24 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RhcnQvT3BlcmF0aW9uUmVzdWx0cy9mZWFiZTkyNC0zZDcxLTQzM2ItYTlhNy05YjE4MGQxMTRhZTk/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "18"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "08603e3f-1822-4a5c-8801-58a2ca2decac"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799988"
+ ],
+ "x-ms-correlation-request-id": [
+ "9c346530-9ae4-4306-aafc-88bfc219a97b"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012235Z:9c346530-9ae4-4306-aafc-88bfc219a97b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:34 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RhcnQvT3BlcmF0aW9uUmVzdWx0cy9mZWFiZTkyNC0zZDcxLTQzM2ItYTlhNy05YjE4MGQxMTRhZTk/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "18"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "7484195b-6b37-4b95-86b9-1f9eab3f1aaf"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799987"
+ ],
+ "x-ms-correlation-request-id": [
+ "236f5831-fa85-461e-b199-fa385883959d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012245Z:236f5831-fa85-461e-b199-fa385883959d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:45 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RhcnQvT3BlcmF0aW9uUmVzdWx0cy9mZWFiZTkyNC0zZDcxLTQzM2ItYTlhNy05YjE4MGQxMTRhZTk/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "18"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "2b799cad-831e-4553-baf7-a2ec334a9c0d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799986"
+ ],
+ "x-ms-correlation-request-id": [
+ "ee6a62c0-b891-4f2d-81fe-ece769340942"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012255Z:ee6a62c0-b891-4f2d-81fe-ece769340942"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:22:55 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RhcnQvT3BlcmF0aW9uUmVzdWx0cy9mZWFiZTkyNC0zZDcxLTQzM2ItYTlhNy05YjE4MGQxMTRhZTk/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "18"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "f1e95f75-badf-45c1-85fc-8949c8dbc856"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799985"
+ ],
+ "x-ms-correlation-request-id": [
+ "f3de64f1-31e4-4287-9dbd-4c8271caa2de"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012306Z:f3de64f1-31e4-4287-9dbd-4c8271caa2de"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:23:05 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RhcnQvT3BlcmF0aW9uUmVzdWx0cy9mZWFiZTkyNC0zZDcxLTQzM2ItYTlhNy05YjE4MGQxMTRhZTk/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "18"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "9614cc03-83d2-43f1-b84d-e52741f49ac8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799984"
+ ],
+ "x-ms-correlation-request-id": [
+ "297e046f-5316-44fd-b242-94e0c6425a54"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012316Z:297e046f-5316-44fd-b242-94e0c6425a54"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:23:15 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/start/OperationResults/feabe924-3d71-433b-a9a7-9b180d114ae9?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RhcnQvT3BlcmF0aW9uUmVzdWx0cy9mZWFiZTkyNC0zZDcxLTQzM2ItYTlhNy05YjE4MGQxMTRhZTk/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "18"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "d4ff734c-18e1-41ae-8992-328553d294c4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799983"
+ ],
+ "x-ms-correlation-request-id": [
+ "003ff38b-cdb3-40c5-92e9-0a849cadb731"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012326Z:003ff38b-cdb3-40c5-92e9-0a849cadb731"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:23:26 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/stop?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RvcD9hcGktdmVyc2lvbj0yMDE0LTEyLTAxLXByZXZpZXc=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1e47ad54-520b-435a-b094-6da6715b87a6"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "29"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "1e47ad54-520b-435a-b094-6da6715b87a6"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "11992"
+ ],
+ "x-ms-correlation-request-id": [
+ "9c556777-4817-4f38-b2f1-1ddd8435023d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012327Z:9c556777-4817-4f38-b2f1-1ddd8435023d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:23:27 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/stop/OperationResults/f448eb1f-541b-4f32-84cf-0d03d06aa54d?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/stop/OperationResults/f448eb1f-541b-4f32-84cf-0d03d06aa54d?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RvcC9PcGVyYXRpb25SZXN1bHRzL2Y0NDhlYjFmLTU0MWItNGYzMi04NGNmLTBkMDNkMDZhYTU0ZD9hcGktdmVyc2lvbj0yMDE0LTEyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "29"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "64321ee9-806e-4f6a-bfe8-e13e8c975fae"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799981"
+ ],
+ "x-ms-correlation-request-id": [
+ "86398ebb-2561-41fb-9210-64fa64ff39e7"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012327Z:86398ebb-2561-41fb-9210-64fa64ff39e7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:23:27 GMT"
+ ],
+ "Location": [
+ "https://api-current.resources.windows-int.net/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/stop/OperationResults/f448eb1f-541b-4f32-84cf-0d03d06aa54d?api-version=2014-12-01-preview"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/stop/OperationResults/f448eb1f-541b-4f32-84cf-0d03d06aa54d?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RvcC9PcGVyYXRpb25SZXN1bHRzL2Y0NDhlYjFmLTU0MWItNGYzMi04NGNmLTBkMDNkMDZhYTU0ZD9hcGktdmVyc2lvbj0yMDE0LTEyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-12-01-preview"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "29"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "225858e0-9608-4efb-8a2d-6c87917c9aee"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "799980"
+ ],
+ "x-ms-correlation-request-id": [
+ "20536384-76e6-4371-b771-903ba679e60e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012337Z:20536384-76e6-4371-b771-903ba679e60e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:23:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvb3V0cHV0cy9PdXRwdXQ/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "8c4010a3-ab7a-4b12-8c36-3cc05efe3a51"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "8c4010a3-ab7a-4b12-8c36-3cc05efe3a51"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "11991"
+ ],
+ "x-ms-correlation-request-id": [
+ "274f7f73-b078-46e0-a750-18a4ac84530d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012338Z:274f7f73-b078-46e0-a750-18a4ac84530d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:23:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvaW5wdXRzL0lucHV0P2FwaS12ZXJzaW9uPTIwMTQtMTItMDEtcHJldmlldw==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "45f43b18-56b5-4cfb-8068-c723b644740a"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "45f43b18-56b5-4cfb-8068-c723b644740a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "11990"
+ ],
+ "x-ms-correlation-request-id": [
+ "fe846ed5-c6d4-4ad8-a2c1-5d9a20c0556c"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012338Z:fe846ed5-c6d4-4ad8-a2c1-5d9a20c0556c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:23:38 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fab1606e-7972-4dc7-badb-6b780365a8d7/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS?api-version=2014-12-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmFiMTYwNmUtNzk3Mi00ZGM3LWJhZGItNmI3ODAzNjVhOGQ3L3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFM/YXBpLXZlcnNpb249MjAxNC0xMi0wMS1wcmV2aWV3",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1253c1d0-6ee7-4c89-b147-650351072e13"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/0.9.0.0"
+ ],
+ "client-tracking-id": [
+ "35"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-AspNetMvc-Version": [
+ "5.0"
+ ],
+ "x-ms-request-id": [
+ "1253c1d0-6ee7-4c89-b147-650351072e13"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "11989"
+ ],
+ "x-ms-correlation-request-id": [
+ "f1fff467-dbe3-4a39-8808-ad1e87ebbdd0"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20141127T012339Z:f1fff467-dbe3-4a39-8808-ad1e87ebbdd0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Date": [
+ "Thu, 27 Nov 2014 01:23:38 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "fab1606e-7972-4dc7-badb-6b780365a8d7"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config
new file mode 100644
index 000000000000..7f6f7c83d4f1
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/CloudExceptionExtensions.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/CloudExceptionExtensions.cs
new file mode 100644
index 000000000000..d34a67ae7da5
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/CloudExceptionExtensions.cs
@@ -0,0 +1,52 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.WindowsAzure;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ internal static class CloudExceptionExtensions
+ {
+ public static CloudException CreateFormattedException(this CloudException cloudException)
+ {
+ return new CloudException(
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.FormattedCloudExceptionMessageTemplate,
+ cloudException.Response.StatusCode,
+ cloudException.ErrorCode,
+ cloudException.ErrorMessage,
+ cloudException.GetRequestId(),
+ DateTime.UtcNow));
+ }
+
+ public static string GetRequestId(this CloudException exception)
+ {
+ IEnumerable strings;
+
+ if (exception.Response != null
+ && exception.Response.Headers != null
+ && exception.Response.Headers.TryGetValue("x-ms-request-id", out strings))
+ {
+ return string.Join(";", strings);
+ }
+
+ return string.Empty;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj
new file mode 100644
index 000000000000..78b4c1b06911
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj
@@ -0,0 +1,186 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {F49A314A-A235-47D3-A654-1EC19ACA366C}
+ Library
+ Properties
+ Microsoft.Azure.Commands.StreamAnalytics
+ Microsoft.Azure.Commands.StreamAnalytics
+ v4.5
+ 512
+
+ ..\..\..\
+ true
+ /assemblyCompareMode:StrongNameIgnoringVersion
+
+
+ true
+ full
+ false
+ ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\StreamAnalytics
+ DEBUG;TRACE
+ prompt
+ 4
+ true
+ true
+ false
+
+
+ ..\..\..\Package\Release\ResourceManager\AzureResourceManager\StreamAnalytics
+ TRACE;SIGN
+ true
+ pdbonly
+ AnyCPU
+ bin\Release\Microsoft.Azure.Commands.Resources.dll.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ MinimumRecommendedRules.ruleset
+ ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\Rule Sets
+ ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\Rules
+ true
+ true
+ MSSharedLibKey.snk
+ true
+ false
+
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Management.StreamAnalytics.0.12.1-preview\lib\net40\Microsoft.Azure.Management.StreamAnalytics.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.1\lib\net45\Microsoft.WindowsAzure.Common.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.1\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.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\WindowsAzure.Storage.4.0.0\lib\net40\Microsoft.WindowsAzure.Storage.dll
+
+
+ False
+ ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll
+
+
+
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
+
+ {65c3a86a-716d-4e7d-ab67-1db00b3bf72d}
+ Commands.Common.Storage
+
+
+ {5ee72c53-1720-4309-b54b-5fb79703195f}
+ Commands.Common
+
+
+ {c60342b1-47d3-4a0e-8081-9b97ce60b7af}
+ Commands.Profile
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+
+
+
+
+
+ Always
+
+
+
+
+
+
+ Always
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Constants.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Constants.cs
new file mode 100644
index 000000000000..2e36f7d0f2e1
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Constants.cs
@@ -0,0 +1,31 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ internal static class Constants
+ {
+ public const string StreamAnalyticsJob = "AzureStreamAnalyticsJob";
+
+ public const string StreamAnalyticsInput = "AzureStreamAnalyticsInput";
+
+ public const string StreamAnalyticsOutput = "AzureStreamAnalyticsOutput";
+
+ public const string StreamAnalyticsTransformation = "AzureStreamAnalyticsTransformation";
+
+ public const string StreamAnalyticsQuota = "AzureStreamAnalyticsQuota";
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/GetAzureStreamAnalyticsInputCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/GetAzureStreamAnalyticsInputCommand.cs
new file mode 100644
index 000000000000..5e9e2ea7dff0
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/GetAzureStreamAnalyticsInputCommand.cs
@@ -0,0 +1,61 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System.Collections.Generic;
+using System.Management.Automation;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsCommon.Get, Constants.StreamAnalyticsInput), OutputType(typeof(List), typeof(PSInput))]
+ public class GetAzureStreamAnalyticsInputCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string JobName { get; set; }
+
+ [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics input name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName))
+ {
+ throw new PSArgumentNullException("ResourceGroupName");
+ }
+
+ if (JobName != null && string.IsNullOrWhiteSpace(JobName))
+ {
+ throw new PSArgumentNullException("JobName");
+ }
+
+ if (Name == null || string.IsNullOrWhiteSpace(Name))
+ {
+ Name = string.Empty;
+ }
+
+ InputFilterOptions filterOptions = new InputFilterOptions()
+ {
+ Name = Name,
+ JobName = JobName,
+ ResourceGroupName = ResourceGroupName
+ };
+
+ WriteObject(StreamAnalyticsClient.FilterPSInputs(filterOptions), true);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/NewAzureStreamAnalyticsInputCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/NewAzureStreamAnalyticsInputCommand.cs
new file mode 100644
index 000000000000..5cbb2591021a
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/NewAzureStreamAnalyticsInputCommand.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.Management.Automation;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsCommon.New, Constants.StreamAnalyticsInput), OutputType(typeof(PSInput))]
+ public class NewAzureStreamAnalyticsInputCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string JobName { get; set; }
+
+ [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics input name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Position = 3, Mandatory = true, HelpMessage = "The stream analytics input JSON file path.")]
+ [ValidateNotNullOrEmpty]
+ public string File { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")]
+ public SwitchParameter Force { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName))
+ {
+ throw new PSArgumentNullException("ResourceGroupName");
+ }
+
+ if (JobName != null && string.IsNullOrWhiteSpace(JobName))
+ {
+ throw new PSArgumentNullException("JobName");
+ }
+
+ if (File != null && string.IsNullOrWhiteSpace(File))
+ {
+ throw new PSArgumentNullException("File");
+ }
+
+ string rawJsonContent = StreamAnalyticsClient.ReadJsonFileContent(this.TryResolvePath(File));
+
+ Name = ResolveResourceName(rawJsonContent, Name, "Input");
+
+ if (Name != null && string.IsNullOrWhiteSpace(Name))
+ {
+ throw new ArgumentException(Resources.InputNameCannotBeEmpty);
+ }
+
+ CreatePSInputParameter parameter = new CreatePSInputParameter
+ {
+ ResourceGroupName = ResourceGroupName,
+ JobName = JobName,
+ InputName = Name,
+ RawJsonContent = rawJsonContent,
+ Force = Force.IsPresent,
+ ConfirmAction = ConfirmAction
+ };
+
+ WriteObject(StreamAnalyticsClient.CreatePSInput(parameter));
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/RemoveAzureStreamAnalyticsInputCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/RemoveAzureStreamAnalyticsInputCommand.cs
new file mode 100644
index 000000000000..c9c6db5f6919
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/RemoveAzureStreamAnalyticsInputCommand.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.Globalization;
+using System.Management.Automation;
+using System.Net;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsCommon.Remove, Constants.StreamAnalyticsInput)]
+ public class RemoveAzureStreamAnalyticsInputCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string JobName { get; set; }
+
+ [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics input name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")]
+ public SwitchParameter Force { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName))
+ {
+ throw new PSArgumentNullException("ResourceGroupName");
+ }
+
+ if (JobName != null && string.IsNullOrWhiteSpace(JobName))
+ {
+ throw new PSArgumentNullException("JobName");
+ }
+
+ if (Name != null && string.IsNullOrWhiteSpace(Name))
+ {
+ throw new PSArgumentNullException("Name");
+ }
+
+ this.ConfirmAction(
+ this.Force.IsPresent,
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.InputRemovalConfirmationMessage,
+ this.Name,
+ this.JobName,
+ this.ResourceGroupName),
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.InputRemoving,
+ this.Name,
+ this.JobName,
+ this.ResourceGroupName),
+ this.Name,
+ this.ExecuteDelete);
+ }
+
+ private void ExecuteDelete()
+ {
+ HttpStatusCode statusCode = StreamAnalyticsClient.RemovePSInput(ResourceGroupName, JobName, Name);
+ if (statusCode == HttpStatusCode.NoContent)
+ {
+ WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.InputNotFound, Name, JobName, ResourceGroupName));
+ }
+ else
+ {
+ WriteObject(true);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/TestAzureStreamAnalyticsInputCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/TestAzureStreamAnalyticsInputCommand.cs
new file mode 100644
index 000000000000..e9983374ebae
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/TestAzureStreamAnalyticsInputCommand.cs
@@ -0,0 +1,90 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Globalization;
+using System.Management.Automation;
+using System.Net;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.Azure.Management.StreamAnalytics.Models;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsDiagnostic.Test, Constants.StreamAnalyticsInput)]
+ public class TestAzureStreamAnalyticsInputCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string JobName { get; set; }
+
+ [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics input name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName))
+ {
+ throw new PSArgumentNullException("ResourceGroupName");
+ }
+
+ if (JobName != null && string.IsNullOrWhiteSpace(JobName))
+ {
+ throw new PSArgumentNullException("JobName");
+ }
+
+ if (Name != null && string.IsNullOrWhiteSpace(Name))
+ {
+ throw new PSArgumentNullException("Name");
+ }
+
+ try
+ {
+ DataSourceTestConnectionResponse response = StreamAnalyticsClient.TestPSInput(ResourceGroupName, JobName, Name);
+ if (response.StatusCode == HttpStatusCode.OK && response.DataSourceTestStatus == DataSourceTestStatus.TestSucceeded)
+ {
+ WriteObject(true);
+ }
+ else if (response.StatusCode == HttpStatusCode.NoContent)
+ {
+ WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.InputNotFound, Name, JobName, ResourceGroupName));
+ }
+ else
+ {
+ string errorId = null;
+ string errorMessage = null;
+ string innerErrorMessage = null;
+ if (response.Error != null)
+ {
+ errorId = response.Error.Code;
+ errorMessage = response.Error.Message;
+ if (response.Error.Details != null)
+ {
+ innerErrorMessage = response.Error.Details.Message;
+ }
+ }
+
+ Exception ex = new Exception(errorMessage, new Exception(innerErrorMessage));
+ WriteError(new ErrorRecord(ex, errorId, ErrorCategory.ConnectionError, null));
+ }
+ }
+ catch
+ {
+ WriteObject(false);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/GetAzureStreamAnalyticsJobCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/GetAzureStreamAnalyticsJobCommand.cs
new file mode 100644
index 000000000000..4421edf2da72
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/GetAzureStreamAnalyticsJobCommand.cs
@@ -0,0 +1,68 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System.Collections.Generic;
+using System.Management.Automation;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsCommon.Get, Constants.StreamAnalyticsJob), OutputType(typeof(List), typeof(PSJob))]
+ public class GetAzureStreamAnalyticsJobCommand : StreamAnalyticsBaseCmdlet
+ {
+ [Parameter(ParameterSetName = StreamAnalyticsObjectsInResourceGroup, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true,
+ HelpMessage = "The resource group name.")]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(ParameterSetName = StreamAnalyticsObjectsInResourceGroup, Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true,
+ HelpMessage = "The azure stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(ParameterSetName = StreamAnalyticsObjectsInResourceGroup, Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true,
+ HelpMessage = "The switch to specify whether the job entity should be expanded.")]
+ [Parameter(ParameterSetName = StreamAnalyticsObjectsInSubscription, Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true,
+ HelpMessage = "The switch to specify whether the job entity should be expanded.")]
+ public SwitchParameter NoExpand { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (ParameterSetName == StreamAnalyticsObjectsInResourceGroup)
+ {
+ if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName))
+ {
+ throw new PSArgumentNullException("ResourceGroupName");
+ }
+ }
+
+ string propertiesToExpand = "inputs,transformation,outputs";
+ if (NoExpand.IsPresent)
+ {
+ propertiesToExpand = string.Empty;
+ }
+
+ JobFilterOptions filterOptions = new JobFilterOptions
+ {
+ JobName = Name,
+ ResourceGroupName = ResourceGroupName,
+ PropertiesToExpand = propertiesToExpand
+ };
+
+ WriteObject(StreamAnalyticsClient.FilterPSJobs(filterOptions), true);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/NewAzureStreamAnalyticsJobCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/NewAzureStreamAnalyticsJobCommand.cs
new file mode 100644
index 000000000000..11e2ae076ab6
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/NewAzureStreamAnalyticsJobCommand.cs
@@ -0,0 +1,62 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsCommon.New, Constants.StreamAnalyticsJob), OutputType(typeof(PSJob))]
+ public class NewAzureStreamAnalyticsJobCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Position = 2, Mandatory = true, HelpMessage = "The stream analytics job JSON file path.")]
+ [ValidateNotNullOrEmpty]
+ public string File { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")]
+ public SwitchParameter Force { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ string rawJsonContent = StreamAnalyticsClient.ReadJsonFileContent(this.TryResolvePath(File));
+
+ Name = ResolveResourceName(rawJsonContent, Name, "Job");
+
+ if (Name != null && string.IsNullOrWhiteSpace(Name))
+ {
+ throw new ArgumentException(Resources.JobNameCannotBeEmpty);
+ }
+
+ CreatePSJobParameter parameter = new CreatePSJobParameter
+ {
+ ResourceGroupName = ResourceGroupName,
+ JobName = Name,
+ RawJsonContent = rawJsonContent,
+ Force = Force.IsPresent,
+ ConfirmAction = ConfirmAction
+ };
+
+ WriteObject(StreamAnalyticsClient.CreatePSJob(parameter));
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/RemoveAzureStreamAnalyticsJobCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/RemoveAzureStreamAnalyticsJobCommand.cs
new file mode 100644
index 000000000000..35b81972effe
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/RemoveAzureStreamAnalyticsJobCommand.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.Globalization;
+using System.Management.Automation;
+using System.Net;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsCommon.Remove, Constants.StreamAnalyticsJob)]
+ public class RemoveAzureStreamAnalyticsJobCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")]
+ public SwitchParameter Force { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName))
+ {
+ throw new PSArgumentNullException("ResourceGroupName");
+ }
+
+ this.ConfirmAction(
+ this.Force.IsPresent,
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.JobRemovalConfirmationMessage,
+ this.Name,
+ this.ResourceGroupName),
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.JobRemoving,
+ this.Name,
+ this.ResourceGroupName),
+ this.Name,
+ this.ExecuteDelete);
+ }
+
+ private void ExecuteDelete()
+ {
+ JobParametersBase parameter = new JobParametersBase()
+ {
+ ResourceGroupName = ResourceGroupName,
+ JobName = Name
+ };
+
+ try
+ {
+ HttpStatusCode statusCode = StreamAnalyticsClient.RemovePSJob(parameter);
+ if (statusCode == HttpStatusCode.OK)
+ {
+ WriteObject(true);
+ }
+ else if (statusCode == HttpStatusCode.NoContent)
+ {
+ WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.JobNotFound, Name, ResourceGroupName));
+ }
+ else
+ {
+ WriteObject(false);
+ }
+ }
+ catch
+ {
+ WriteObject(false);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/StartAzureStreamAnalyticsJobCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/StartAzureStreamAnalyticsJobCommand.cs
new file mode 100644
index 000000000000..1d41a5f22be1
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/StartAzureStreamAnalyticsJobCommand.cs
@@ -0,0 +1,68 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Globalization;
+using System.Management.Automation;
+using System.Net;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsLifecycle.Start, Constants.StreamAnalyticsJob)]
+ public class StartAzureStreamAnalyticsJobCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName))
+ {
+ throw new PSArgumentNullException("ResourceGroupName");
+ }
+
+ JobParametersBase parameter = new JobParametersBase()
+ {
+ ResourceGroupName = ResourceGroupName,
+ JobName = Name
+ };
+
+ try
+ {
+ HttpStatusCode statusCode = StreamAnalyticsClient.StartPSJob(parameter);
+ if (statusCode == HttpStatusCode.OK)
+ {
+ WriteObject(true);
+ }
+ else if (statusCode == HttpStatusCode.NoContent)
+ {
+ WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.JobNotFound, Name, ResourceGroupName));
+ }
+ else
+ {
+ WriteObject(false);
+ }
+ }
+ catch
+ {
+ WriteObject(false);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/StopAzureStreamAnalyticsJobCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/StopAzureStreamAnalyticsJobCommand.cs
new file mode 100644
index 000000000000..f40132045b81
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/StopAzureStreamAnalyticsJobCommand.cs
@@ -0,0 +1,68 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Globalization;
+using System.Management.Automation;
+using System.Net;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsLifecycle.Stop, Constants.StreamAnalyticsJob)]
+ public class StopAzureStreamAnalyticsJobCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName))
+ {
+ throw new PSArgumentNullException("ResourceGroupName");
+ }
+
+ JobParametersBase parameter = new JobParametersBase()
+ {
+ ResourceGroupName = ResourceGroupName,
+ JobName = Name
+ };
+
+ try
+ {
+ HttpStatusCode statusCode = StreamAnalyticsClient.StopPSJob(parameter);
+ if (statusCode == HttpStatusCode.OK)
+ {
+ WriteObject(true);
+ }
+ else if (statusCode == HttpStatusCode.NoContent)
+ {
+ WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.JobNotFound, Name, ResourceGroupName));
+ }
+ else
+ {
+ WriteObject(false);
+ }
+ }
+ catch
+ {
+ WriteObject(false);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/MSSharedLibKey.snk b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/MSSharedLibKey.snk
new file mode 100644
index 000000000000..695f1b38774e
Binary files /dev/null and b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/MSSharedLibKey.snk differ
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.xml b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.xml
new file mode 100644
index 000000000000..f4e8dec234ba
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.xml
@@ -0,0 +1,3589 @@
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsQuota
+
+
+
+ Gets information about the Streaming Unit quota of a specified region.
+
+
+
+
+
+ Get
+ AzureStreamAnalyticsQuota
+
+
+
+ The Get-AzureStreamAnalyticsQuota cmdlet gets information about the Streaming Unit quota of a specified region.
+
+
+
+
+ Get-AzureStreamAnalyticsQuota
+
+ Location
+
+
+
+ string
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ Location
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSQuota, Microsoft.Azure.Commands.StreamAnalytics]]
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSQuota
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ Get-AzureStreamAnalyticsQuota -Location "West US"
+
+
+ Description
+ -----------
+ This command returns information about Streaming Unit quota and usage in the West US region.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsTransformation
+
+
+ Gets information about a specific transformation defined on Stream Analytics job.
+
+
+
+
+ Get
+ AzureStreamAnalyticsTransformation
+
+
+
+ The Get-AzureStreamAnalyticsTransformation cmdlet gets information about a specific transformation defined on Stream Analytics job.
+
+
+
+
+ Get-AzureStreamAnalyticsTransformation
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ JobName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ JobName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSTransformation, Microsoft.Azure.Commands.StreamAnalytics]]
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSTransformation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ Get-AzureStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name StreamingJob
+
+
+ Description
+ -----------
+ This command returns information about the transformation called StreamingJob on the job StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureStreamAnalyticsTransformation
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsOutput
+
+
+ Lists all of the outputs that are defined in a specified Stream Analytics job or gets information about a specific output.
+
+
+
+
+ Get
+ AzureStreamAnalyticsOutput
+
+
+
+ The Get-AzureStreamAnalyticsOutput cmdlet lists all of the outputs that are defined in a specified Stream Analytics job or gets information about a specific output.
+
+
+
+
+ Get-AzureStreamAnalyticsOutput
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ JobName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ JobName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSOutput, Microsoft.Azure.Commands.StreamAnalytics]]
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSOutput
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ Get-AzureStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob
+
+
+ Description
+ -----------
+ This command returns information about the outputs defined on the job StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 2 --------------------------
+
+
+ C:\PS>
+
+
+ Get-AzureStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output
+
+
+ Description
+ -----------
+ This command returns information about the output named Output defined on the job StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureStreamAnalyticsOutput
+
+
+
+ Remove-AzureStreamAnalyticsOutput
+
+
+
+ Test-AzureStreamAnalyticsOutput
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsInput
+
+
+ Lists all of the inputs that are defined in a specified Stream Analytics job or gets information about a specific input.
+
+
+
+
+ Get
+ AzureStreamAnalyticsInput
+
+
+
+ The Get-AzureStreamAnalyticsInput cmdlet lists all of the inputs that are defined in a specified Stream Analytics job or gets information about a specific input.
+
+
+
+
+ Get-AzureStreamAnalyticsInput
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ JobName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ JobName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSInput, Microsoft.Azure.Commands.StreamAnalytics]]
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSInput
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ Get-AzureStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob
+
+
+ Description
+ -----------
+ This command returns information about all the inputs defined on the job StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 2 --------------------------
+
+
+ C:\PS>
+
+
+ Get-AzureStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EntryStream
+
+
+ Description
+ -----------
+ This command returns information about the input named EntryStream defined on the job StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureStreamAnalyticsInput
+
+
+
+ Remove-AzureStreamAnalyticsInput
+
+
+
+ Test-AzureStreamAnalyticsInput
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsJob
+
+
+ Lists all Stream Analytics jobs defined in the Azure subscription or specified resource group or gets job information about a specific job within a resource group.
+
+
+
+
+ Get
+ AzureStreamAnalyticsJob
+
+
+
+ The Get-AzureStreamAnalyticsJob cmdlet lists all Stream Analytics jobs defined in the Azure subscription or specified resource group or gets job information about a specific job within a resource group.
+
+
+
+
+ Get-AzureStreamAnalyticsJob
+
+ NoExpand
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+ Get-AzureStreamAnalyticsJob
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ NoExpand
+
+
+
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSJob, Microsoft.Azure.Commands.StreamAnalytics]]
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSJob
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ Get-AzureStreamAnalyticsJob
+
+
+ Description
+ -----------
+ This command returns information about all the Stream Analytics jobs in the Azure subscription.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 2 --------------------------
+
+
+ C:\PS>
+
+
+ Get-AzureStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US
+
+
+ Description
+ -----------
+ This command returns information about all the Stream Analytics jobs in the resource group StreamAnalytics-Default-West-US.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 3 --------------------------
+
+
+ C:\PS>
+
+
+ Get-AzureStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob
+
+
+ Description
+ -----------
+ This command returns information about the Stream Analytics job StreamingJob in the resource group StreamAnalytics-Default-West-US.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureStreamAnalyticsJob
+
+
+
+ Remove-AzureStreamAnalyticsJob
+
+
+
+ Start-AzureStreamAnalyticsJob
+
+
+
+ Stop-AzureStreamAnalyticsJob
+
+
+
+
+
+
+
+ New-AzureStreamAnalyticsOutput
+
+
+
+ Creates a new output within a Stream Analytics job or updates an existing output.
+ The name of the output can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file.
+ If you specify an output that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing output.
+ If you specify -Force parameter and specify an existing output name, the output will be replaced without confirmation.
+
+
+
+
+
+ New
+ AzureStreamAnalyticsOutput
+
+
+
+
+ The New-AzureStreamAnalyticsOutput cmdlet creates a new output within a Stream Analytics job or updates an existing output.
+ The name of the output can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file.
+ If you specify an output that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing output.
+ If you specify -Force parameter and specify an existing output name, the output will be replaced without confirmation.
+
+
+
+
+
+ New-AzureStreamAnalyticsOutput
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ JobName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ File
+
+
+
+ string
+
+
+ Force
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ File
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Force
+
+
+
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ JobName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSOutput
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ New-AzureStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Output.json" -JobName StreamingJob -Name output
+
+
+ Description
+ -----------
+ This command creates a new output called "output" in the job StreamingJob. If an existing output with this name is already defined, the cmdlet will ask whether or not to replace it.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 2 --------------------------
+
+
+ C:\PS>
+
+
+ New-AzureStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Output.json" -JobName StreamingJob -Name output -Force
+
+
+ Description
+ -----------
+ This command replaces the definition for "output" in the job StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsOutput
+
+
+
+ Remove-AzureStreamAnalyticsOutput
+
+
+
+ Test-AzureStreamAnalyticsOutput
+
+
+
+
+
+
+
+ New-AzureStreamAnalyticsTransformation
+
+
+
+ Creates a new transformation within a Stream Analytics job or updates the existing transformation.
+ The name of the transformation can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file.
+ If you specify a transformation that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing transformation.
+ If you specify -Force parameter and specify an existing transformation name, the transformation will be replaced without confirmation.
+
+
+
+
+
+ New
+ AzureStreamAnalyticsTransformation
+
+
+
+
+ The New-AzureStreamAnalyticsTransformation cmdlet creates a new transformation within a Stream Analytics job or updates the existing transformation.
+ The name of the transformation can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file.
+ If you specify a transformation that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing transformation.
+ If you specify -Force parameter and specify an existing transformation name, the transformation will be replaced without confirmation.
+
+
+
+
+
+ New-AzureStreamAnalyticsTransformation
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ JobName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ File
+
+
+
+ string
+
+
+ Force
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ File
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Force
+
+
+
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ JobName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSTransformation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ New-AzureStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Transformation.json" -JobName StreamingJob -Name StreamingJobTransform
+
+
+ Description
+ -----------
+ This command creates a new transformation called StreamingJobTransform in the job StreamingJob. If an existing transformation is already defined with this name, the cmdlet will ask whether or not to replace it.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 2 --------------------------
+
+
+ C:\PS>
+
+
+ New-AzureStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Transformation.json" -JobName StreamingJob -Name StreamingJobTransform -Force
+
+
+ Description
+ -----------
+ This command replaces the definition of StreamingJobTransform in the job StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsTransformation
+
+
+
+
+
+
+
+ New-AzureStreamAnalyticsInput
+
+
+
+ Creates a new input within a Stream Analytics job or updates an existing specified input.
+ The name of the input can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file.
+ If you specify an input that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing input.
+ If you specify -Force parameter and specify an existing input name, the input will be replaced without confirmation.
+
+
+
+
+
+ New
+ AzureStreamAnalyticsInput
+
+
+
+
+ The New-AzureStreamAnalyticsInput cmdlet creates a new input within a Stream Analytics job or updates an existing specified input.
+ The name of the input can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file.
+ If you specify an input that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing input.
+ If you specify -Force parameter and specify an existing input name, the input will be replaced without confirmation.
+
+
+
+
+
+ New-AzureStreamAnalyticsInput
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ JobName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ File
+
+
+
+ string
+
+
+ Force
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ File
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Force
+
+
+
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ JobName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSInput
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ New-AzureStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\Input.json"
+
+
+ Description
+ -----------
+ This command creates a new input from the file Input.json. If an existing input with the name specified in the input definition file is already defined, the cmdlet will ask whether or not to replace it.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 2 --------------------------
+
+
+ C:\PS>
+
+
+ New-AzureStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\Input.json" -Name EntryStream
+
+
+ Description
+ -----------
+ This command creates a new input on the job called EntryStream. If an existing input with this name is already defined, the cmdlet will ask whether or not to replace it.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 3 --------------------------
+
+
+ C:\PS>
+
+
+ New-AzureStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\Input.json" -Name EntryStream -Force
+
+
+ Description
+ -----------
+ This command replaces the definition of the existing input source called EntryStream with the definition from file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsInput
+
+
+
+ Remove-AzureStreamAnalyticsInput
+
+
+
+ Test-AzureStreamAnalyticsInput
+
+
+
+
+
+
+
+ New-AzureStreamAnalyticsJob
+
+
+
+ Creates a new Stream Analytics job in Microsoft Azure or updates the definition of an existing specified job.
+ The name of the job can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file.
+ If you specify a job name that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing job.
+ If you specify -Force parameter and specify an existing job name, the job definition will be replaced without confirmation.
+
+
+
+
+
+ New
+ AzureStreamAnalyticsJob
+
+
+
+
+ The New-AzureStreamAnalyticsJob cmdlet creates a new Stream Analytics job in Microsoft Azure or updates the definition of an existing specified job.
+ The name of the job can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file.
+ If you specify a job name that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing job.
+ If you specify -Force parameter and specify an existing job name, the job definition will be replaced without confirmation.
+
+
+
+
+
+ New-AzureStreamAnalyticsJob
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ File
+
+
+
+ string
+
+
+ Force
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ File
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Force
+
+
+
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSJob
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ New-AzureStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\JobDefinition.json"
+
+
+ Description
+ -----------
+ This command creates a new job from the definition in JobDefinition.json. If an existing job with the name specified in the job definition file is already defined, the cmdlet will ask whether or not to replace it.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 2 --------------------------
+
+
+ C:\PS>
+
+
+ New-AzureStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\JobDefinition.json" -Name StreamingJob -Force
+
+
+ Description
+ -----------
+ This command replaces the job definition for StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsJob
+
+
+
+ Remove-AzureStreamAnalyticsJob
+
+
+
+ Start-AzureStreamAnalyticsJob
+
+
+
+ Stop-AzureStreamAnalyticsJob
+
+
+
+
+
+
+
+ Remove-AzureStreamAnalyticsOutput
+
+
+
+ Asynchronously deletes a specific output from a Stream Analytics job in Microsoft Azure.
+ If you specify -Force parameter the output will be deleted without confirmation.
+
+
+
+
+
+ Remove
+ AzureStreamAnalyticsOutput
+
+
+
+
+ The Remove-AzureStreamAnalyticsOutput cmdlet asynchronously deletes a specific output from a Stream Analytics job in Microsoft Azure.
+ If you specify -Force parameter the output will be deleted without confirmation.
+
+
+
+
+
+ Remove-AzureStreamAnalyticsOutput
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ JobName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ Force
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ Force
+
+
+
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ JobName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ Remove-AzureStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output
+
+
+ Description
+ -----------
+ This command removes the output Output in the job StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsOutput
+
+
+
+ New-AzureStreamAnalyticsOutput
+
+
+
+ Test-AzureStreamAnalyticsOutput
+
+
+
+
+
+
+
+ Remove-AzureStreamAnalyticsJob
+
+
+
+ Asynchronously deletes a specific Stream Analytics job in Microsoft Azure.
+ If you specify -Force parameter the job will be deleted without confirmation.
+
+
+
+
+
+ Remove
+ AzureStreamAnalyticsJob
+
+
+
+
+ The Remove-AzureStreamAnalyticsJob cmdlet asynchronously deletes a specific Stream Analytics job in Microsoft Azure.
+ If you specify -Force parameter the job will be deleted without confirmation.
+
+
+
+
+
+ Remove-AzureStreamAnalyticsJob
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ Force
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ Force
+
+
+
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ Remove-AzureStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob
+
+
+ Description
+ -----------
+ This command removes the job StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsJob
+
+
+
+ New-AzureStreamAnalyticsJob
+
+
+
+ Start-AzureStreamAnalyticsJob
+
+
+
+ Stop-AzureStreamAnalyticsJob
+
+
+
+
+
+
+
+
+ Remove-AzureStreamAnalyticsInput
+
+
+
+ Asynchronously deletes a specific input from a Stream Analytics job in Microsoft Azure.
+ If you specify -Force parameter the input will be deleted without confirmation.
+
+
+
+
+
+ Remove
+ AzureStreamAnalyticsInput
+
+
+
+
+ The Remove-AzureStreamAnalyticsInput cmdlet asynchronously deletes a specific input from a Stream Analytics job in Microsoft Azure.
+ If you specify -Force parameter the input will be deleted without confirmation.
+
+
+
+
+
+ Remove-AzureStreamAnalyticsInput
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ JobName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ Force
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ Force
+
+
+
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ JobName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ Remove-AzureStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EventStream
+
+
+ Description
+ -----------
+ This command removes the input EventStream from StreamingJob
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureStreamAnalyticsInput
+
+
+
+ Get-AzureStreamAnalyticsInput
+
+
+
+ Test-AzureStreamAnalyticsInput
+
+
+
+
+
+
+
+ Start-AzureStreamAnalyticsJob
+
+
+ Asynchronously deploys and starts a Stream Analytics job in Microsoft Azure.
+
+
+
+
+ Start
+ AzureStreamAnalyticsJob
+
+
+
+ The Start-AzureStreamAnalyticsJob cmdlet asynchronously deploys and starts a Stream Analytics job in Microsoft Azure.
+
+
+
+
+ Start-AzureStreamAnalyticsJob
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ Start-AzureStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob
+
+
+ Description
+ -----------
+ This command starts the job StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsJob
+
+
+
+ New-AzureStreamAnalyticsJob
+
+
+
+ Remove-AzureStreamAnalyticsJob
+
+
+
+ Stop-AzureStreamAnalyticsJob
+
+
+
+
+
+
+
+ Stop-AzureStreamAnalyticsJob
+
+
+ Asynchronously stops a Stream Analytics job from running in Microsoft Azure and de-allocates resources that were that were being used. The job definition and meta-data will remain available within your subscription through both the Azure Portal and Management APIs, such that the job can be edited and restarted. You will not be charged for a job in the Stopped state.
+
+
+
+
+ Stop
+ AzureStreamAnalyticsJob
+
+
+
+ The Stop-AzureStreamAnalyticsJob cmdlet asynchronously stops a Stream Analytics job from running in Microsoft Azure and de-allocates resources that were that were being used. The job definition and meta-data will remain available within your subscription through both the Azure Portal and Management APIs, such that the job can be edited and restarted. You will not be charged for a job in the Stopped state.
+
+
+
+
+ Stop-AzureStreamAnalyticsJob
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ Stop-AzureStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob
+
+
+ Description
+ -----------
+ This command stops the job StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsJob
+
+
+
+ New-AzureStreamAnalyticsJob
+
+
+
+ Remove-AzureStreamAnalyticsJob
+
+
+
+ Start-AzureStreamAnalyticsJob
+
+
+
+
+
+
+
+ Test-AzureStreamAnalyticsOutput
+
+
+ Tests the ability of Stream Analytics to connect to a specified output.
+
+
+
+
+ Test
+ AzureStreamAnalyticsOutput
+
+
+
+ The Test-AzureStreamAnalyticsOutput cmdlet tests the ability of Stream Analytics to connect to a specified output.
+
+
+
+
+ Test-AzureStreamAnalyticsOutput
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ JobName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ JobName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ Test-AzureStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output
+
+
+ Description
+ -----------
+ This tests the connection status of the output Output in StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsOuput
+
+
+
+ New-AzureStreamAnalyticsOuput
+
+
+
+ Remove-AzureStreamAnalyticsOuput
+
+
+
+
+
+
+
+ Test-AzureStreamAnalyticsInput
+
+
+ Tests the ability of Stream Analytics to connect to a specified input.
+
+
+
+
+ Test
+ AzureStreamAnalyticsInput
+
+
+
+ The Test-AzureStreamAnalyticsInput cmdlet tests the ability of Stream Analytics to connect to a specified input.
+
+
+
+
+ Test-AzureStreamAnalyticsInput
+
+ ResourceGroupName
+
+
+
+ string
+
+
+ JobName
+
+
+
+ string
+
+
+ Name
+
+
+
+ string
+
+
+ PipelineVariable
+
+ Not Specified
+
+ string
+
+
+
+
+
+
+ JobName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ Name
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+ PipelineVariable
+
+ Not Specified
+
+
+ string
+
+ string
+
+
+
+
+
+ ResourceGroupName
+
+
+
+
+ string
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ System.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- EXAMPLE 1 --------------------------
+
+
+ C:\PS>
+
+
+ Test-AzureStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EntryStream
+
+
+ Description
+ -----------
+ This tests the connection status of the input EntryStream in StreamingJob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureStreamAnalyticsInput
+
+
+
+ New-AzureStreamAnalyticsInput
+
+
+
+ Remove-AzureStreamAnalyticsInput
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml
new file mode 100644
index 000000000000..c62f05a2f246
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml
@@ -0,0 +1,175 @@
+
+
+
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSJob
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSJob
+
+
+
+
+
+
+
+ JobName
+
+
+
+ ResourceGroupName
+
+
+
+ JobId
+
+
+
+ Location
+
+
+
+ CreatedDate
+
+
+
+ ProvisioningState
+
+
+
+ JobState
+
+
+
+ Tags
+
+
+
+ PropertiesInJson
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSInput
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSInput
+
+
+
+
+
+
+
+ Name
+
+
+
+ JobName
+
+
+
+ ResourceGroupName
+
+
+
+ PropertiesInJson
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSOutput
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSOutput
+
+
+
+
+
+
+
+ Name
+
+
+
+ JobName
+
+
+
+ ResourceGroupName
+
+
+
+ PropertiesInJson
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSQuota
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSQuota
+
+
+
+
+
+
+
+ Name
+
+
+
+ Location
+
+
+
+ CurrentCount
+
+
+
+ MaxCount
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSTransformation
+
+ Microsoft.Azure.Commands.StreamAnalytics.Models.PSTransformation
+
+
+
+
+
+
+
+ Name
+
+
+
+ JobName
+
+
+
+ ResourceGroupName
+
+
+
+ PropertiesInJson
+
+
+
+
+
+
+
+
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSInputParameter.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSInputParameter.cs
new file mode 100644
index 000000000000..111c3841649f
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSInputParameter.cs
@@ -0,0 +1,29 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class CreatePSInputParameter : JobParametersBase
+ {
+ public string InputName { get; set; }
+
+ public string RawJsonContent { get; set; }
+
+ public bool Force { get; set; }
+
+ public Action ConfirmAction { get; set; }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSJobParameter.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSJobParameter.cs
new file mode 100644
index 000000000000..258dc06b9718
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSJobParameter.cs
@@ -0,0 +1,27 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class CreatePSJobParameter : JobParametersBase
+ {
+ public string RawJsonContent { get; set; }
+
+ public bool Force { get; set; }
+
+ public Action ConfirmAction { get; set; }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSOutputParameter.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSOutputParameter.cs
new file mode 100644
index 000000000000..55530987b647
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSOutputParameter.cs
@@ -0,0 +1,29 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class CreatePSOutputParameter : JobParametersBase
+ {
+ public string OutputName { get; set; }
+
+ public string RawJsonContent { get; set; }
+
+ public bool Force { get; set; }
+
+ public Action ConfirmAction { get; set; }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSTransformationParameter.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSTransformationParameter.cs
new file mode 100644
index 000000000000..48d4b872b635
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSTransformationParameter.cs
@@ -0,0 +1,29 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class CreatePSTransformationParameter : JobParametersBase
+ {
+ public string TransformationName { get; set; }
+
+ public string RawJsonContent { get; set; }
+
+ public bool Force { get; set; }
+
+ public Action ConfirmAction { get; set; }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/InputFilterOptions.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/InputFilterOptions.cs
new file mode 100644
index 000000000000..c06ecb6e50d1
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/InputFilterOptions.cs
@@ -0,0 +1,25 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class InputFilterOptions
+ {
+ public string Name { get; set; }
+
+ public string JobName { get; set; }
+
+ public string ResourceGroupName { get; set; }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/JobFilterOptions.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/JobFilterOptions.cs
new file mode 100644
index 000000000000..c097cd272c3a
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/JobFilterOptions.cs
@@ -0,0 +1,25 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class JobFilterOptions
+ {
+ public string JobName { get; set; }
+
+ public string ResourceGroupName { get; set; }
+
+ public string PropertiesToExpand { get; set; }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/JobParametersBase.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/JobParametersBase.cs
new file mode 100644
index 000000000000..18eb5530db21
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/JobParametersBase.cs
@@ -0,0 +1,24 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class JobParametersBase
+ {
+ public string ResourceGroupName { get; set; }
+
+ public string JobName { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/OutputFilterOptions.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/OutputFilterOptions.cs
new file mode 100644
index 000000000000..0ab55309dbe5
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/OutputFilterOptions.cs
@@ -0,0 +1,25 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class OutputFilterOptions
+ {
+ public string Name { get; set; }
+
+ public string JobName { get; set; }
+
+ public string ResourceGroupName { get; set; }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSInput.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSInput.cs
new file mode 100644
index 000000000000..5841ffd65482
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSInput.cs
@@ -0,0 +1,72 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Management.StreamAnalytics.Models;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class PSInput
+ {
+ private Input input;
+
+ public PSInput()
+ {
+ input = new Input();
+ }
+
+ public PSInput(Input input)
+ {
+ if (input == null)
+ {
+ throw new ArgumentNullException("input");
+ }
+
+ this.input = input;
+ }
+
+ public string Name
+ {
+ get
+ {
+ return input.Name;
+ }
+ internal set
+ {
+ input.Name = value;
+ }
+ }
+
+ public string JobName { get; set; }
+
+ public string ResourceGroupName { get; set; }
+
+ public InputProperties Properties
+ {
+ get
+ {
+ return input.Properties;
+ }
+ internal set
+ {
+ input.Properties = value;
+ }
+ }
+
+ public string PropertiesInJson
+ {
+ get { return input.Properties.ToFormattedString(); }
+ }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSJob.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSJob.cs
new file mode 100644
index 000000000000..dd2dccc52dab
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSJob.cs
@@ -0,0 +1,143 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR 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.Management.StreamAnalytics.Models;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class PSJob
+ {
+ private Job job;
+
+ public PSJob()
+ {
+ job = new Job();
+ }
+
+ public PSJob(Job job)
+ {
+ if (job == null)
+ {
+ throw new ArgumentNullException("job");
+ }
+
+ this.job = job;
+ }
+
+ public string JobName
+ {
+ get
+ {
+ return job.Name;
+ }
+ set
+ {
+ job.Name = value;
+ }
+ }
+
+ public string ResourceGroupName { get; set; }
+
+ public string JobId
+ {
+ get
+ {
+ return job.Properties.JobId;
+ }
+ internal set
+ {
+ job.Properties.JobId = value;
+ }
+ }
+
+ public string Location
+ {
+ get
+ {
+ return job.Location;
+ }
+ internal set
+ {
+ job.Location = value;
+ }
+ }
+
+ public DateTime? CreatedDate
+ {
+ get
+ {
+ return job.Properties.CreatedDate;
+ }
+ internal set
+ {
+ job.Properties.CreatedDate = value;
+ }
+ }
+
+ public string ProvisioningState
+ {
+ get
+ {
+ return job.Properties.ProvisioningState;
+ }
+ internal set
+ {
+ job.Properties.ProvisioningState = value;
+ }
+ }
+
+ public string JobState
+ {
+ get
+ {
+ return job.Properties.JobState;
+ }
+ internal set
+ {
+ job.Properties.JobState = value;
+ }
+ }
+
+ public IDictionary Tags
+ {
+ get
+ {
+ return job.Tags;
+ }
+ internal set
+ {
+ job.Tags = value;
+ }
+ }
+
+ public JobProperties Properties
+ {
+ get
+ {
+ return job.Properties;
+ }
+ internal set
+ {
+ job.Properties = value;
+ }
+ }
+
+ public string PropertiesInJson
+ {
+ get { return job.Properties.ToFormattedString(); }
+ }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSOutput.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSOutput.cs
new file mode 100644
index 000000000000..4c66a9ebea8b
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSOutput.cs
@@ -0,0 +1,72 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Management.StreamAnalytics.Models;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class PSOutput
+ {
+ private Output output;
+
+ public PSOutput()
+ {
+ output = new Output();
+ }
+
+ public PSOutput(Output output)
+ {
+ if (output == null)
+ {
+ throw new ArgumentNullException("output");
+ }
+
+ this.output = output;
+ }
+
+ public string Name
+ {
+ get
+ {
+ return output.Name;
+ }
+ internal set
+ {
+ output.Name = value;
+ }
+ }
+
+ public string JobName { get; set; }
+
+ public string ResourceGroupName { get; set; }
+
+ public OutputProperties Properties
+ {
+ get
+ {
+ return output.Properties;
+ }
+ internal set
+ {
+ output.Properties = value;
+ }
+ }
+
+ public string PropertiesInJson
+ {
+ get { return output.Properties.ToFormattedString(); }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSQuota.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSQuota.cs
new file mode 100644
index 000000000000..c34936ae9904
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSQuota.cs
@@ -0,0 +1,89 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Management.StreamAnalytics.Models;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class PSQuota
+ {
+ private SubscriptionQuotas subscriptionQuotas;
+
+ public PSQuota()
+ {
+ subscriptionQuotas = new SubscriptionQuotas();
+ }
+
+ public PSQuota(SubscriptionQuotas subscriptionQuotas)
+ {
+ if (subscriptionQuotas == null)
+ {
+ throw new ArgumentNullException("subscriptionQuotas");
+ }
+
+ this.subscriptionQuotas = subscriptionQuotas;
+ }
+
+ public string Name
+ {
+ get
+ {
+ return subscriptionQuotas.Name;
+ }
+ internal set
+ {
+ subscriptionQuotas.Name = value;
+ }
+ }
+
+ public string Location { get; set; }
+
+ public int CurrentCount
+ {
+ get
+ {
+ return subscriptionQuotas.Properties.CurrentCount;
+ }
+ internal set
+ {
+ subscriptionQuotas.Properties.CurrentCount = value;
+ }
+ }
+
+ public int MaxCount
+ {
+ get
+ {
+ return subscriptionQuotas.Properties.MaxCount;
+ }
+ internal set
+ {
+ subscriptionQuotas.Properties.MaxCount = value;
+ }
+ }
+
+ public SubscriptionQuotasProperties Properties
+ {
+ get
+ {
+ return subscriptionQuotas.Properties;
+ }
+ internal set
+ {
+ subscriptionQuotas.Properties = value;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSTransformation.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSTransformation.cs
new file mode 100644
index 000000000000..9f5fd43c31c9
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSTransformation.cs
@@ -0,0 +1,72 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Management.StreamAnalytics.Models;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public class PSTransformation
+ {
+ private Transformation transformation;
+
+ public PSTransformation()
+ {
+ transformation = new Transformation();
+ }
+
+ public PSTransformation(Transformation transformation)
+ {
+ if (transformation == null)
+ {
+ throw new ArgumentNullException("transformation");
+ }
+
+ this.transformation = transformation;
+ }
+
+ public string Name
+ {
+ get
+ {
+ return transformation.Name;
+ }
+ internal set
+ {
+ transformation.Name = value;
+ }
+ }
+
+ public string JobName { get; set; }
+
+ public string ResourceGroupName { get; set; }
+
+ public TransformationProperties Properties
+ {
+ get
+ {
+ return transformation.Properties;
+ }
+ internal set
+ {
+ transformation.Properties = value;
+ }
+ }
+
+ public string PropertiesInJson
+ {
+ get { return transformation.Properties.ToFormattedString(); }
+ }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Inputs.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Inputs.cs
new file mode 100644
index 000000000000..0796045e8575
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Inputs.cs
@@ -0,0 +1,193 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Net;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.Azure.Management.StreamAnalytics;
+using Microsoft.Azure.Management.StreamAnalytics.Models;
+using Microsoft.WindowsAzure;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public partial class StreamAnalyticsClient
+ {
+ public virtual PSInput GetInput(string resourceGroupName, string jobName, string name)
+ {
+ var response = StreamAnalyticsManagementClient.Inputs.Get(
+ resourceGroupName, jobName, name);
+
+ return new PSInput(response.Input)
+ {
+ ResourceGroupName = resourceGroupName,
+ JobName = jobName
+ };
+ }
+
+ public virtual List ListInputs(string resourceGroupName, string jobName)
+ {
+ List inputs = new List();
+
+ var response = StreamAnalyticsManagementClient.Inputs.ListInputInJob(resourceGroupName, jobName);
+
+ if (response != null && response.Value != null)
+ {
+ foreach (var input in response.Value)
+ {
+ inputs.Add(new PSInput(input)
+ {
+ ResourceGroupName = resourceGroupName,
+ JobName = jobName
+ });
+ }
+ }
+
+ return inputs;
+ }
+
+ public virtual List FilterPSInputs(InputFilterOptions filterOptions)
+ {
+ if (filterOptions == null)
+ {
+ throw new ArgumentNullException("filterOptions");
+ }
+
+ if (string.IsNullOrWhiteSpace(filterOptions.ResourceGroupName))
+ {
+ throw new ArgumentException(Resources.ResourceGroupNameCannotBeEmpty);
+ }
+
+ if (string.IsNullOrWhiteSpace(filterOptions.JobName))
+ {
+ throw new ArgumentException(Resources.JobNameCannotBeEmpty);
+ }
+
+ List inputs = new List();
+
+ if (!string.IsNullOrWhiteSpace(filterOptions.Name))
+ {
+ inputs.Add(GetInput(filterOptions.ResourceGroupName, filterOptions.JobName, filterOptions.Name));
+ }
+ else
+ {
+ inputs.AddRange(ListInputs(filterOptions.ResourceGroupName, filterOptions.JobName));
+ }
+
+ return inputs;
+ }
+
+ protected virtual Input CreateOrUpdatePSInput(string resourceGroupName, string jobName, string inputName, string rawJsonContent)
+ {
+ if (string.IsNullOrWhiteSpace(rawJsonContent))
+ {
+ throw new ArgumentNullException("rawJsonContent");
+ }
+
+ // If create failed, the current behavior is to throw
+ var response = StreamAnalyticsManagementClient.Inputs.CreateOrUpdateWithRawJsonContent(
+ resourceGroupName,
+ jobName,
+ inputName,
+ new InputCreateOrUpdateWithRawJsonContentParameters() { Content = rawJsonContent });
+
+ return response.Input;
+ }
+
+ public virtual PSInput CreatePSInput(CreatePSInputParameter parameter)
+ {
+ if (parameter == null)
+ {
+ throw new ArgumentNullException("parameter");
+ }
+
+ PSInput input = null;
+ Action createInput = () =>
+ {
+ input = new PSInput(
+ CreateOrUpdatePSInput(parameter.ResourceGroupName,
+ parameter.JobName,
+ parameter.InputName,
+ parameter.RawJsonContent))
+ {
+ ResourceGroupName = parameter.ResourceGroupName,
+ JobName = parameter.JobName
+ };
+ };
+
+ if (parameter.Force)
+ {
+ // If user decides to overwrite anyway, then there is no need to check if the linked service exists or not.
+ createInput();
+ }
+ else
+ {
+ bool inputExists = CheckInputExists(parameter.ResourceGroupName, parameter.JobName, parameter.InputName);
+
+ parameter.ConfirmAction(
+ !inputExists,
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.InputExists,
+ parameter.InputName,
+ parameter.JobName,
+ parameter.ResourceGroupName),
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.InputCreating,
+ parameter.InputName,
+ parameter.JobName,
+ parameter.ResourceGroupName),
+ parameter.InputName,
+ createInput);
+ }
+
+ return input;
+ }
+
+ public virtual HttpStatusCode RemovePSInput(string resourceGroupName, string jobName, string inputName)
+ {
+ OperationResponse response = StreamAnalyticsManagementClient.Inputs.Delete(resourceGroupName, jobName, inputName);
+
+ return response.StatusCode;
+ }
+
+ public virtual DataSourceTestConnectionResponse TestPSInput(string resourceGroupName, string jobName, string inputName)
+ {
+ return StreamAnalyticsManagementClient.Inputs.TestConnection(resourceGroupName, jobName, inputName);
+ }
+
+ private bool CheckInputExists(string resourceGroupName, string jobName, string inputName)
+ {
+ try
+ {
+ PSInput input = GetInput(resourceGroupName, jobName, inputName);
+ return true;
+ }
+ catch (CloudException e)
+ {
+ //Get throws Exception message with NotFound Status
+ if (e.Response.StatusCode == HttpStatusCode.NotFound)
+ {
+ return false;
+ }
+ else
+ {
+ throw;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Jobs.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Jobs.cs
new file mode 100644
index 000000000000..28b59993a17e
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Jobs.cs
@@ -0,0 +1,245 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Net;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.Azure.Management.StreamAnalytics;
+using Microsoft.Azure.Management.StreamAnalytics.Models;
+using Microsoft.WindowsAzure;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public partial class StreamAnalyticsClient
+ {
+ public virtual PSJob GetJob(string resourceGroupName, string jobName, string propertiesToExpand)
+ {
+ JobGetParameters parameters = new JobGetParameters(propertiesToExpand);
+ var response = StreamAnalyticsManagementClient.StreamingJobs.Get(
+ resourceGroupName, jobName, parameters);
+
+ return new PSJob(response.Job)
+ {
+ ResourceGroupName = resourceGroupName
+ };
+ }
+
+ public virtual List ListJobs(string resourceGroupName, string propertiesToExpand)
+ {
+ List jobs = new List();
+ JobListParameters parameters = new JobListParameters(propertiesToExpand);
+ var response = StreamAnalyticsManagementClient.StreamingJobs.ListJobsInResourceGroup(resourceGroupName, parameters);
+
+ if (response != null && response.Value != null)
+ {
+ foreach (var job in response.Value)
+ {
+ jobs.Add(new PSJob(job)
+ {
+ ResourceGroupName = resourceGroupName
+ });
+ }
+ }
+
+ return jobs;
+ }
+
+ public virtual List ListJobs(string propertiesToExpand)
+ {
+ List jobs = new List();
+ JobListParameters parameters = new JobListParameters(propertiesToExpand);
+ var response = StreamAnalyticsManagementClient.StreamingJobs.ListJobsInSubscription(parameters);
+
+ if (response != null && response.Value != null)
+ {
+ foreach (var job in response.Value)
+ {
+ jobs.Add(new PSJob(job)
+ {
+ ResourceGroupName = StreamAnalyticsCommonUtilities.ExtractResourceGroupFromId(job.Id)
+ });
+ }
+ }
+
+ return jobs;
+ }
+
+ public virtual List FilterPSJobs(JobFilterOptions filterOptions)
+ {
+ if (filterOptions == null)
+ {
+ throw new ArgumentNullException("filterOptions");
+ }
+
+ List jobs = new List();
+
+ if (!string.IsNullOrWhiteSpace(filterOptions.JobName))
+ {
+ if (string.IsNullOrWhiteSpace(filterOptions.ResourceGroupName))
+ {
+ throw new ArgumentException(Resources.ResourceGroupNameCannotBeEmpty);
+ }
+
+ jobs.Add(GetJob(filterOptions.ResourceGroupName, filterOptions.JobName,
+ filterOptions.PropertiesToExpand));
+ }
+ else if (!string.IsNullOrWhiteSpace(filterOptions.ResourceGroupName))
+ {
+ jobs.AddRange(ListJobs(filterOptions.ResourceGroupName, filterOptions.PropertiesToExpand));
+ }
+ else
+ {
+ jobs.AddRange(ListJobs(filterOptions.PropertiesToExpand));
+ }
+
+ return jobs;
+ }
+
+ public virtual PSJob CreateOrUpdatePSJob(string resourceGroupName, string jobName, string rawJsonContent)
+ {
+ if (string.IsNullOrWhiteSpace(rawJsonContent))
+ {
+ throw new ArgumentNullException("rawJsonContent");
+ }
+
+ // If create failed, the current behavior is to throw
+ var response =
+ StreamAnalyticsManagementClient.StreamingJobs.CreateOrUpdateWithRawJsonContent(
+ resourceGroupName,
+ jobName,
+ new JobCreateOrUpdateWithRawJsonContentParameters() { Content = rawJsonContent });
+
+ return new PSJob(response.Job)
+ {
+ ResourceGroupName = resourceGroupName,
+ JobName = jobName
+ };
+ }
+
+ public virtual PSJob CreatePSJob(CreatePSJobParameter parameter)
+ {
+ if (parameter == null)
+ {
+ throw new ArgumentNullException("parameter");
+ }
+
+ PSJob job = null;
+ Action createJob = () =>
+ {
+ job = CreateOrUpdatePSJob(parameter.ResourceGroupName, parameter.JobName, parameter.RawJsonContent);
+ };
+
+ if (parameter.Force)
+ {
+ // If user decides to overwrite anyway, then there is no need to check if the linked service exists or not.
+ createJob();
+ }
+ else
+ {
+ bool jobExists = CheckJobExists(parameter.ResourceGroupName, parameter.JobName);
+
+ parameter.ConfirmAction(
+ !jobExists,
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.JobExists,
+ parameter.JobName,
+ parameter.ResourceGroupName),
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.JobCreating,
+ parameter.JobName,
+ parameter.ResourceGroupName),
+ parameter.JobName,
+ createJob);
+ }
+
+ return job;
+ }
+
+ public virtual HttpStatusCode StartPSJob(string resourceGroupName, string jobName)
+ {
+ OperationResponse response = StreamAnalyticsManagementClient.StreamingJobs.Start(resourceGroupName, jobName);
+
+ return response.StatusCode;
+ }
+
+ public virtual HttpStatusCode StartPSJob(JobParametersBase parameter)
+ {
+ if (parameter == null)
+ {
+ throw new ArgumentNullException("parameter");
+ }
+
+ return StartPSJob(parameter.ResourceGroupName, parameter.JobName);
+ }
+
+ public virtual HttpStatusCode StopPSJob(string resourceGroupName, string jobName)
+ {
+ OperationResponse response = StreamAnalyticsManagementClient.StreamingJobs.Stop(resourceGroupName, jobName);
+
+ return response.StatusCode;
+ }
+
+ public virtual HttpStatusCode StopPSJob(JobParametersBase parameter)
+ {
+ if (parameter == null)
+ {
+ throw new ArgumentNullException("parameter");
+ }
+
+ return StopPSJob(parameter.ResourceGroupName, parameter.JobName);
+ }
+
+ public virtual HttpStatusCode RemovePSJob(string resourceGroupName, string jobName)
+ {
+ OperationResponse response = StreamAnalyticsManagementClient.StreamingJobs.Delete(resourceGroupName, jobName);
+
+ return response.StatusCode;
+ }
+
+ public virtual HttpStatusCode RemovePSJob(JobParametersBase parameter)
+ {
+ if (parameter == null)
+ {
+ throw new ArgumentNullException("parameter");
+ }
+
+ return RemovePSJob(parameter.ResourceGroupName, parameter.JobName);
+ }
+
+ private bool CheckJobExists(string resourceGroupName, string jobName)
+ {
+ try
+ {
+ PSJob job = GetJob(resourceGroupName, jobName, string.Empty);
+ return true;
+ }
+ catch (CloudException e)
+ {
+ //Get throws Exception message with NotFound Status
+ if (e.Response.StatusCode == HttpStatusCode.NotFound)
+ {
+ return false;
+ }
+ else
+ {
+ throw;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Outputs.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Outputs.cs
new file mode 100644
index 000000000000..e313e21254cc
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Outputs.cs
@@ -0,0 +1,193 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Net;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.Azure.Management.StreamAnalytics;
+using Microsoft.Azure.Management.StreamAnalytics.Models;
+using Microsoft.WindowsAzure;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public partial class StreamAnalyticsClient
+ {
+ public virtual PSOutput GetOutput(string resourceGroupName, string jobName, string name)
+ {
+ var response = StreamAnalyticsManagementClient.Outputs.Get(
+ resourceGroupName, jobName, name);
+
+ return new PSOutput(response.Output)
+ {
+ ResourceGroupName = resourceGroupName,
+ JobName = jobName
+ };
+ }
+
+ public virtual List ListOutputs(string resourceGroupName, string jobName)
+ {
+ List outputs = new List();
+
+ var response = StreamAnalyticsManagementClient.Outputs.ListOutputInJob(resourceGroupName, jobName);
+
+ if (response != null && response.Value != null)
+ {
+ foreach (var output in response.Value)
+ {
+ outputs.Add(new PSOutput(output)
+ {
+ ResourceGroupName = resourceGroupName,
+ JobName = jobName
+ });
+ }
+ }
+
+ return outputs;
+ }
+
+ public virtual List FilterPSOutputs(OutputFilterOptions filterOptions)
+ {
+ if (filterOptions == null)
+ {
+ throw new ArgumentNullException("filterOptions");
+ }
+
+ if (string.IsNullOrWhiteSpace(filterOptions.ResourceGroupName))
+ {
+ throw new ArgumentException(Resources.ResourceGroupNameCannotBeEmpty);
+ }
+
+ if (string.IsNullOrWhiteSpace(filterOptions.JobName))
+ {
+ throw new ArgumentException(Resources.JobNameCannotBeEmpty);
+ }
+
+ List outputs = new List();
+
+ if (!string.IsNullOrWhiteSpace(filterOptions.Name))
+ {
+ outputs.Add(GetOutput(filterOptions.ResourceGroupName, filterOptions.JobName, filterOptions.Name));
+ }
+ else
+ {
+ outputs.AddRange(ListOutputs(filterOptions.ResourceGroupName, filterOptions.JobName));
+ }
+
+ return outputs;
+ }
+
+ protected virtual Output CreateOrUpdatePSOutput(string resourceGroupName, string jobName, string outputName, string rawJsonContent)
+ {
+ if (string.IsNullOrWhiteSpace(rawJsonContent))
+ {
+ throw new ArgumentNullException("rawJsonContent");
+ }
+
+ // If create failed, the current behavior is to throw
+ var response = StreamAnalyticsManagementClient.Outputs.CreateOrUpdateWithRawJsonContent(
+ resourceGroupName,
+ jobName,
+ outputName,
+ new OutputCreateOrUpdateWithRawJsonContentParameters() { Content = rawJsonContent });
+
+ return response.Output;
+ }
+
+ public virtual PSOutput CreatePSOutput(CreatePSOutputParameter parameter)
+ {
+ if (parameter == null)
+ {
+ throw new ArgumentNullException("parameter");
+ }
+
+ PSOutput output = null;
+ Action createOutput = () =>
+ {
+ output =
+ new PSOutput(CreateOrUpdatePSOutput(parameter.ResourceGroupName,
+ parameter.JobName,
+ parameter.OutputName,
+ parameter.RawJsonContent))
+ {
+ ResourceGroupName = parameter.ResourceGroupName,
+ JobName = parameter.JobName
+ };
+ };
+
+ if (parameter.Force)
+ {
+ // If user decides to overwrite anyway, then there is no need to check if the linked service exists or not.
+ createOutput();
+ }
+ else
+ {
+ bool outputExists = CheckOutputExists(parameter.ResourceGroupName, parameter.JobName, parameter.OutputName);
+
+ parameter.ConfirmAction(
+ !outputExists,
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.OutputExists,
+ parameter.OutputName,
+ parameter.JobName,
+ parameter.ResourceGroupName),
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.OutputCreating,
+ parameter.OutputName,
+ parameter.JobName,
+ parameter.ResourceGroupName),
+ parameter.OutputName,
+ createOutput);
+ }
+
+ return output;
+ }
+
+ public virtual HttpStatusCode RemovePSOutput(string resourceGroupName, string jobName, string outputName)
+ {
+ OperationResponse response = StreamAnalyticsManagementClient.Outputs.Delete(resourceGroupName, jobName, outputName);
+
+ return response.StatusCode;
+ }
+
+ public virtual DataSourceTestConnectionResponse TestPSOutput(string resourceGroupName, string jobName, string outputName)
+ {
+ return StreamAnalyticsManagementClient.Outputs.TestConnection(resourceGroupName, jobName, outputName);
+ }
+
+ private bool CheckOutputExists(string resourceGroupName, string jobName, string outputName)
+ {
+ try
+ {
+ PSOutput output = GetOutput(resourceGroupName, jobName, outputName);
+ return true;
+ }
+ catch (CloudException e)
+ {
+ //Get throws Exception message with NotFound Status
+ if (e.Response.StatusCode == HttpStatusCode.NotFound)
+ {
+ return false;
+ }
+ else
+ {
+ throw;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.SubscriptionQuotas.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.SubscriptionQuotas.cs
new file mode 100644
index 000000000000..4d59cf11aa1d
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.SubscriptionQuotas.cs
@@ -0,0 +1,41 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System.Collections.Generic;
+using Microsoft.Azure.Management.StreamAnalytics;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public partial class StreamAnalyticsClient
+ {
+ public virtual List GetQuotas(string location)
+ {
+ List quotas = new List();
+ var response = StreamAnalyticsManagementClient.Subscriptions.GetQuotas(location);
+
+ if (response != null && response.Value != null)
+ {
+ foreach (var quota in response.Value)
+ {
+ quotas.Add(new PSQuota(quota)
+ {
+ Location = location
+ });
+ }
+ }
+
+ return quotas;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Transformation.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Transformation.cs
new file mode 100644
index 000000000000..ce08eca5de0d
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Transformation.cs
@@ -0,0 +1,127 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Globalization;
+using System.Net;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.Azure.Management.StreamAnalytics;
+using Microsoft.Azure.Management.StreamAnalytics.Models;
+using Microsoft.WindowsAzure;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public partial class StreamAnalyticsClient
+ {
+ public virtual PSTransformation GetTransformation(string resourceGroupName, string jobName, string transformationName)
+ {
+ var response = StreamAnalyticsManagementClient.Transformations.Get(resourceGroupName, jobName, transformationName);
+
+ return new PSTransformation(response.Transformation)
+ {
+ ResourceGroupName = resourceGroupName,
+ JobName = jobName
+ };
+ }
+
+ protected virtual Transformation CreateOrUpdatePSTransformation(string resourceGroupName, string jobName, string transformationName, string rawJsonContent)
+ {
+ if (string.IsNullOrWhiteSpace(rawJsonContent))
+ {
+ throw new ArgumentNullException("rawJsonContent");
+ }
+
+ // If create failed, the current behavior is to throw
+ var response = StreamAnalyticsManagementClient.Transformations.CreateOrUpdateWithRawJsonContent(
+ resourceGroupName,
+ jobName,
+ transformationName,
+ new TransformationCreateOrUpdateWithRawJsonContentParameters() { Content = rawJsonContent });
+
+ return response.Transformation;
+ }
+
+ public virtual PSTransformation CreatePSTransformation(CreatePSTransformationParameter parameter)
+ {
+ if (parameter == null)
+ {
+ throw new ArgumentNullException("parameter");
+ }
+
+ PSTransformation transformation = null;
+ Action createTransformation = () =>
+ {
+ transformation =
+ new PSTransformation(CreateOrUpdatePSTransformation(parameter.ResourceGroupName,
+ parameter.JobName,
+ parameter.TransformationName,
+ parameter.RawJsonContent))
+ {
+ ResourceGroupName = parameter.ResourceGroupName,
+ JobName = parameter.JobName
+ };
+ };
+
+ if (parameter.Force)
+ {
+ // If user decides to overwrite anyway, then there is no need to check if the linked service exists or not.
+ createTransformation();
+ }
+ else
+ {
+ bool transformationExists = CheckTransformationExists(parameter.ResourceGroupName, parameter.JobName, parameter.TransformationName);
+
+ parameter.ConfirmAction(
+ !transformationExists,
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.TransformationExists,
+ parameter.TransformationName,
+ parameter.JobName,
+ parameter.ResourceGroupName),
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.TransformationCreating,
+ parameter.TransformationName,
+ parameter.JobName,
+ parameter.ResourceGroupName),
+ parameter.TransformationName,
+ createTransformation);
+ }
+
+ return transformation;
+ }
+
+ private bool CheckTransformationExists(string resourceGroupName, string jobName, string transformationName)
+ {
+ try
+ {
+ PSTransformation transformation = GetTransformation(resourceGroupName, jobName, transformationName);
+ return true;
+ }
+ catch (CloudException e)
+ {
+ //Get throws Exception message with NotFound Status
+ if (e.Response.StatusCode == HttpStatusCode.NotFound)
+ {
+ return false;
+ }
+ else
+ {
+ throw;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.cs
new file mode 100644
index 000000000000..8861ac9e5909
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.cs
@@ -0,0 +1,53 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System.IO;
+using Microsoft.Azure.Management.StreamAnalytics;
+using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.Azure.Common.Extensions.Models;
+using Microsoft.Azure.Common.Extensions;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Models
+{
+ public partial class StreamAnalyticsClient
+ {
+ public IStreamAnalyticsManagementClient StreamAnalyticsManagementClient { get; private set; }
+
+ public StreamAnalyticsClient(AzureContext context)
+ {
+ StreamAnalyticsManagementClient = AzureSession.ClientFactory.CreateClient(
+ context, AzureEnvironment.Endpoint.ResourceManager);
+ }
+
+ ///
+ /// Parameterless constructor for Mocking.
+ ///
+ public StreamAnalyticsClient()
+ {
+ }
+
+ public virtual string ReadJsonFileContent(string path)
+ {
+ if (!File.Exists(path))
+ {
+ throw new FileNotFoundException(path);
+ }
+
+ using (TextReader reader = new StreamReader(path))
+ {
+ return reader.ReadToEnd();
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClientExtensions.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClientExtensions.cs
new file mode 100644
index 000000000000..44b47d390293
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClientExtensions.cs
@@ -0,0 +1,32 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Management.StreamAnalytics.Models;
+using Newtonsoft.Json;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ internal static class StreamAnalyticsClientExtensions
+ {
+ public static string ToFormattedString(this JobProperties properties)
+ {
+ return JsonConvert.SerializeObject(properties, Formatting.Indented);
+ }
+
+ public static string ToFormattedString(this T objectToSerialize)
+ {
+ return JsonConvert.SerializeObject(objectToSerialize, Formatting.Indented);
+ }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/GetAzureStreamAnalyticsOutputCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/GetAzureStreamAnalyticsOutputCommand.cs
new file mode 100644
index 000000000000..359f09a44969
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/GetAzureStreamAnalyticsOutputCommand.cs
@@ -0,0 +1,61 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System.Collections.Generic;
+using System.Management.Automation;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsCommon.Get, Constants.StreamAnalyticsOutput), OutputType(typeof(List), typeof(PSOutput))]
+ public class GetAzureStreamAnalyticsOutputCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string JobName { get; set; }
+
+ [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics output name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName))
+ {
+ throw new PSArgumentNullException("ResourceGroupName");
+ }
+
+ if (JobName != null && string.IsNullOrWhiteSpace(JobName))
+ {
+ throw new PSArgumentNullException("JobName");
+ }
+
+ if (Name == null || string.IsNullOrWhiteSpace(Name))
+ {
+ Name = string.Empty;
+ }
+
+ OutputFilterOptions filterOptions = new OutputFilterOptions()
+ {
+ Name = Name,
+ JobName = JobName,
+ ResourceGroupName = ResourceGroupName
+ };
+
+ WriteObject(StreamAnalyticsClient.FilterPSOutputs(filterOptions), true);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/NewAzureStreamAnalyticsOutputCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/NewAzureStreamAnalyticsOutputCommand.cs
new file mode 100644
index 000000000000..3e23cdc197e5
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/NewAzureStreamAnalyticsOutputCommand.cs
@@ -0,0 +1,67 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsCommon.New, Constants.StreamAnalyticsOutput), OutputType(typeof(PSOutput))]
+ public class NewAzureStreamAnalyticsOutputCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string JobName { get; set; }
+
+ [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics output name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Position = 3, Mandatory = true, HelpMessage = "The stream analytics output JSON file path.")]
+ [ValidateNotNullOrEmpty]
+ public string File { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")]
+ public SwitchParameter Force { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ string rawJsonContent = StreamAnalyticsClient.ReadJsonFileContent(this.TryResolvePath(File));
+
+ Name = ResolveResourceName(rawJsonContent, Name, "Output");
+
+ if (Name != null && string.IsNullOrWhiteSpace(Name))
+ {
+ throw new ArgumentException(Resources.OutputNameCannotBeEmpty);
+ }
+
+ CreatePSOutputParameter parameter = new CreatePSOutputParameter
+ {
+ ResourceGroupName = ResourceGroupName,
+ JobName = JobName,
+ OutputName = Name,
+ RawJsonContent = rawJsonContent,
+ Force = Force.IsPresent,
+ ConfirmAction = ConfirmAction
+ };
+
+ WriteObject(StreamAnalyticsClient.CreatePSOutput(parameter));
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/RemoveAzureStreamAnalyticsOutputCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/RemoveAzureStreamAnalyticsOutputCommand.cs
new file mode 100644
index 000000000000..debefdbd8ac5
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/RemoveAzureStreamAnalyticsOutputCommand.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.Globalization;
+using System.Management.Automation;
+using System.Net;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsCommon.Remove, Constants.StreamAnalyticsOutput)]
+ public class RemoveAzureStreamAnalyticsOutputCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string JobName { get; set; }
+
+ [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics output name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")]
+ public SwitchParameter Force { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName))
+ {
+ throw new PSArgumentNullException("ResourceGroupName");
+ }
+
+ if (JobName != null && string.IsNullOrWhiteSpace(JobName))
+ {
+ throw new PSArgumentNullException("JobName");
+ }
+
+ if (Name != null && string.IsNullOrWhiteSpace(Name))
+ {
+ throw new PSArgumentNullException("Name");
+ }
+
+ this.ConfirmAction(
+ this.Force.IsPresent,
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.OutputRemovalConfirmationMessage,
+ this.Name,
+ this.JobName,
+ this.ResourceGroupName),
+ string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.OutputRemoving,
+ this.Name,
+ this.JobName,
+ this.ResourceGroupName),
+ this.Name,
+ this.ExecuteDelete);
+ }
+
+ private void ExecuteDelete()
+ {
+ HttpStatusCode statusCode = StreamAnalyticsClient.RemovePSOutput(ResourceGroupName, JobName, Name);
+ if (statusCode == HttpStatusCode.NoContent)
+ {
+ WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.OutputNotFound, Name, JobName, ResourceGroupName));
+ }
+ else
+ {
+ WriteObject(true);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/TestAzureStreamAnalyticsOutputCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/TestAzureStreamAnalyticsOutputCommand.cs
new file mode 100644
index 000000000000..0167bb6182d0
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/TestAzureStreamAnalyticsOutputCommand.cs
@@ -0,0 +1,90 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Globalization;
+using System.Management.Automation;
+using System.Net;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.Azure.Management.StreamAnalytics.Models;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsDiagnostic.Test, Constants.StreamAnalyticsOutput)]
+ public class TestAzureStreamAnalyticsOutputCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string JobName { get; set; }
+
+ [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics output name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName))
+ {
+ throw new PSArgumentNullException("ResourceGroupName");
+ }
+
+ if (JobName != null && string.IsNullOrWhiteSpace(JobName))
+ {
+ throw new PSArgumentNullException("JobName");
+ }
+
+ if (Name != null && string.IsNullOrWhiteSpace(Name))
+ {
+ throw new PSArgumentNullException("Name");
+ }
+
+ try
+ {
+ DataSourceTestConnectionResponse response = StreamAnalyticsClient.TestPSOutput(ResourceGroupName, JobName, Name);
+ if (response.StatusCode == HttpStatusCode.OK && response.DataSourceTestStatus == DataSourceTestStatus.TestSucceeded)
+ {
+ WriteObject(true);
+ }
+ else if (response.StatusCode == HttpStatusCode.NoContent)
+ {
+ WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.OutputNotFound, Name, JobName, ResourceGroupName));
+ }
+ else
+ {
+ string errorId = null;
+ string errorMessage = null;
+ string innerErrorMessage = null;
+ if (response.Error != null)
+ {
+ errorId = response.Error.Code;
+ errorMessage = response.Error.Message;
+ if (response.Error.Details != null)
+ {
+ innerErrorMessage = response.Error.Details.Message;
+ }
+ }
+
+ Exception ex = new Exception(errorMessage, new Exception(innerErrorMessage));
+ WriteError(new ErrorRecord(ex, errorId, ErrorCategory.ConnectionError, null));
+ }
+ }
+ catch
+ {
+ WriteObject(false);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/AssemblyInfo.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..ab2f34f6f059
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/AssemblyInfo.cs
@@ -0,0 +1,34 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Microsoft Azure Powershell - StreamAnalytics Manager")]
+[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("9188beb8-68c3-404a-91e2-6f287f162a52")]
+[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)]
+[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)]
+#if SIGN
+[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.StreamAnalytics.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
+#else
+[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.StreamAnalytics.Test")]
+#endif
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.Designer.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.Designer.cs
new file mode 100644
index 000000000000..79d596b5724f
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.Designer.cs
@@ -0,0 +1,309 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34014
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.StreamAnalytics.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.StreamAnalytics.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to {0} name provided using -Name: '{1}' in cmdlet doesn't match with {0} name: '{2}' in JSON file. {0} will be created with name: '{1}'.
+ ///
+ internal static string ExtractedNameFromJsonMismatchWarning {
+ get {
+ return ResourceManager.GetString("ExtractedNameFromJsonMismatchWarning", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to HTTP Status Code: {0}
+ ///Error Code: {1}
+ ///Error Message: {2}
+ ///Request Id: {3}
+ ///Timestamp (Utc):{4}.
+ ///
+ internal static string FormattedCloudExceptionMessageTemplate {
+ get {
+ return ResourceManager.GetString("FormattedCloudExceptionMessageTemplate", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Creating input '{0}' in stream analytics job '{1}' in resource group '{2}'..
+ ///
+ internal static string InputCreating {
+ get {
+ return ResourceManager.GetString("InputCreating", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to An input with the name '{0}' in the stream analytics job '{1}' in the resource group '{2}' already exists.
+ ///Continuing execution may overwrite the exisiting one.
+ ///Are you sure you want to continue?.
+ ///
+ internal static string InputExists {
+ get {
+ return ResourceManager.GetString("InputExists", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Stream analytics input name cannot be null..
+ ///
+ internal static string InputNameCannotBeEmpty {
+ get {
+ return ResourceManager.GetString("InputNameCannotBeEmpty", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Input '{0}' does not exist in the stream analytics job '{1}' in the resource group '{2}'..
+ ///
+ internal static string InputNotFound {
+ get {
+ return ResourceManager.GetString("InputNotFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Are you sure you want to remove the input '{0}' in the stream analytics job '{1}' in the resource group '{2}'?.
+ ///
+ internal static string InputRemovalConfirmationMessage {
+ get {
+ return ResourceManager.GetString("InputRemovalConfirmationMessage", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Removing the input '{0}' in the stream analytics job '{1}' in the resource group '{2}'..
+ ///
+ internal static string InputRemoving {
+ get {
+ return ResourceManager.GetString("InputRemoving", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to parse input JSON file. '{0}'. Please correct the error in the JSON file and try again..
+ ///
+ internal static string InvalidJson {
+ get {
+ return ResourceManager.GetString("InvalidJson", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Creating stream analytics job '{0}' in resource group '{1}'..
+ ///
+ internal static string JobCreating {
+ get {
+ return ResourceManager.GetString("JobCreating", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to A stream analytics job with the name '{0}' in the resource group '{1}' already exists.
+ ///Continuing execution may overwrite the exisiting one.
+ ///Are you sure you want to continue?.
+ ///
+ internal static string JobExists {
+ get {
+ return ResourceManager.GetString("JobExists", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Stream analytics job name cannot be null..
+ ///
+ internal static string JobNameCannotBeEmpty {
+ get {
+ return ResourceManager.GetString("JobNameCannotBeEmpty", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Job '{0}' does not exist in the resource group '{1}'..
+ ///
+ internal static string JobNotFound {
+ get {
+ return ResourceManager.GetString("JobNotFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Are you sure you want to remove the stream analytics job '{0}' in the resource group '{1}'?.
+ ///
+ internal static string JobRemovalConfirmationMessage {
+ get {
+ return ResourceManager.GetString("JobRemovalConfirmationMessage", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Removing the stream analytics '{0}' in the resource group '{1}'..
+ ///
+ internal static string JobRemoving {
+ get {
+ return ResourceManager.GetString("JobRemoving", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Creating output '{0}' in stream analytics job '{1}' in resource group '{2}'..
+ ///
+ internal static string OutputCreating {
+ get {
+ return ResourceManager.GetString("OutputCreating", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to An output with the name '{0}' in the stream analytics job '{1}' in the resource group '{2}' already exists.
+ ///Continuing execution may overwrite the exisiting one.
+ ///Are you sure you want to continue?.
+ ///
+ internal static string OutputExists {
+ get {
+ return ResourceManager.GetString("OutputExists", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Stream analytics output name cannot be null..
+ ///
+ internal static string OutputNameCannotBeEmpty {
+ get {
+ return ResourceManager.GetString("OutputNameCannotBeEmpty", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Output '{0}' does not exist in the stream analytics job '{1}' in the resource group '{2}'..
+ ///
+ internal static string OutputNotFound {
+ get {
+ return ResourceManager.GetString("OutputNotFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Are you sure you want to remove the output '{0}' in the stream analytics job '{1}' in the resource group '{2}'?.
+ ///
+ internal static string OutputRemovalConfirmationMessage {
+ get {
+ return ResourceManager.GetString("OutputRemovalConfirmationMessage", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Removing the output '{0}' in the stream analytics job '{1}' in the resource group '{2}'..
+ ///
+ internal static string OutputRemoving {
+ get {
+ return ResourceManager.GetString("OutputRemoving", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Resource group name cannot be null..
+ ///
+ internal static string ResourceGroupNameCannotBeEmpty {
+ get {
+ return ResourceManager.GetString("ResourceGroupNameCannotBeEmpty", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Creating transformation '{0}' in stream analytics job '{1}' in resource group '{2}'..
+ ///
+ internal static string TransformationCreating {
+ get {
+ return ResourceManager.GetString("TransformationCreating", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to An transformation with the name '{0}' in the stream analytics job '{1}' in the resource group '{2}' already exists.
+ ///Continuing execution may overwrite the exisiting one.
+ ///Are you sure you want to continue?.
+ ///
+ internal static string TransformationExists {
+ get {
+ return ResourceManager.GetString("TransformationExists", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Stream analytics transformation name cannot be null..
+ ///
+ internal static string TransformationNameCannotBeEmpty {
+ get {
+ return ResourceManager.GetString("TransformationNameCannotBeEmpty", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Transformation '{0}' does not exist in the stream analytics job '{1}' in the resource group '{2}'..
+ ///
+ internal static string TransformationNotFound {
+ get {
+ return ResourceManager.GetString("TransformationNotFound", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.resx b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.resx
new file mode 100644
index 000000000000..f7637177f9b0
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.resx
@@ -0,0 +1,191 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 1.3
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ HTTP Status Code: {0}
+Error Code: {1}
+Error Message: {2}
+Request Id: {3}
+Timestamp (Utc):{4}
+
+
+ Resource group name cannot be null.
+
+
+ Stream analytics job name cannot be null.
+
+
+ Stream analytics input name cannot be null.
+
+
+ Stream analytics output name cannot be null.
+
+
+ Stream analytics transformation name cannot be null.
+
+
+ Failed to parse input JSON file. '{0}'. Please correct the error in the JSON file and try again.
+
+
+ {0} name provided using -Name: '{1}' in cmdlet doesn't match with {0} name: '{2}' in JSON file. {0} will be created with name: '{1}'
+
+
+ A stream analytics job with the name '{0}' in the resource group '{1}' already exists.
+Continuing execution may overwrite the exisiting one.
+Are you sure you want to continue?
+
+
+ An input with the name '{0}' in the stream analytics job '{1}' in the resource group '{2}' already exists.
+Continuing execution may overwrite the exisiting one.
+Are you sure you want to continue?
+
+
+ An output with the name '{0}' in the stream analytics job '{1}' in the resource group '{2}' already exists.
+Continuing execution may overwrite the exisiting one.
+Are you sure you want to continue?
+
+
+ An transformation with the name '{0}' in the stream analytics job '{1}' in the resource group '{2}' already exists.
+Continuing execution may overwrite the exisiting one.
+Are you sure you want to continue?
+
+
+ Creating stream analytics job '{0}' in resource group '{1}'.
+
+
+ Creating input '{0}' in stream analytics job '{1}' in resource group '{2}'.
+
+
+ Creating output '{0}' in stream analytics job '{1}' in resource group '{2}'.
+
+
+ Creating transformation '{0}' in stream analytics job '{1}' in resource group '{2}'.
+
+
+ Job '{0}' does not exist in the resource group '{1}'.
+
+
+ Input '{0}' does not exist in the stream analytics job '{1}' in the resource group '{2}'.
+
+
+ Output '{0}' does not exist in the stream analytics job '{1}' in the resource group '{2}'.
+
+
+ Transformation '{0}' does not exist in the stream analytics job '{1}' in the resource group '{2}'.
+
+
+ Are you sure you want to remove the stream analytics job '{0}' in the resource group '{1}'?
+
+
+ Removing the stream analytics '{0}' in the resource group '{1}'.
+
+
+ Are you sure you want to remove the input '{0}' in the stream analytics job '{1}' in the resource group '{2}'?
+
+
+ Removing the input '{0}' in the stream analytics job '{1}' in the resource group '{2}'.
+
+
+ Are you sure you want to remove the output '{0}' in the stream analytics job '{1}' in the resource group '{2}'?
+
+
+ Removing the output '{0}' in the stream analytics job '{1}' in the resource group '{2}'.
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsBaseCmdlet.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsBaseCmdlet.cs
new file mode 100644
index 000000000000..74691bf92359
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsBaseCmdlet.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.Globalization;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.WindowsAzure;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ public abstract class StreamAnalyticsBaseCmdlet : AzurePSCmdlet
+ {
+ private StreamAnalyticsClient streamAnalyticsClient;
+
+ protected const string StreamAnalyticsObjectsInSubscription = "For stream analytics objects in the given subscription";
+ protected const string StreamAnalyticsObjectsInResourceGroup = "For stream analytics objects in the given resource group";
+
+ internal StreamAnalyticsClient StreamAnalyticsClient
+ {
+ get
+ {
+ if (this.streamAnalyticsClient == null)
+ {
+ this.streamAnalyticsClient = new StreamAnalyticsClient(CurrentContext);
+ }
+ return this.streamAnalyticsClient;
+ }
+ set
+ {
+ this.streamAnalyticsClient = value;
+ }
+ }
+
+ protected override void WriteExceptionError(Exception exception)
+ {
+ // Override the default error message into a formatted message which contains Request Id
+ CloudException cloudException = exception as CloudException;
+ if (cloudException != null)
+ {
+ exception = cloudException.CreateFormattedException();
+ }
+
+ base.WriteExceptionError(exception);
+ }
+
+ protected string ResolveResourceName(string rawJsonContent, string nameFromCmdletContext, string resourceType)
+ {
+ string nameExtractedFromJson = StreamAnalyticsCommonUtilities.ExtractNameFromJson(rawJsonContent);
+
+ // Read the name from the JSON content if user didn't provide name with -Name parameter
+ string resolvedResourceName = string.IsNullOrWhiteSpace(nameFromCmdletContext)
+ ? nameExtractedFromJson
+ : nameFromCmdletContext;
+
+ // Show a message that if name from json is not null or empty and names do not match, name specified with -Name parameter will be used.
+ if (!string.IsNullOrEmpty(nameExtractedFromJson) && string.Compare(resolvedResourceName, nameExtractedFromJson, StringComparison.OrdinalIgnoreCase) != 0)
+ {
+ WriteVerbose(string.Format(
+ CultureInfo.InvariantCulture,
+ Resources.ExtractedNameFromJsonMismatchWarning,
+ resourceType,
+ resolvedResourceName,
+ nameExtractedFromJson));
+ }
+
+ return resolvedResourceName;
+ }
+ }
+}
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsCommonUtilities.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsCommonUtilities.cs
new file mode 100644
index 000000000000..c95d5349aaa7
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsCommonUtilities.cs
@@ -0,0 +1,133 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Linq;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Newtonsoft.Json;
+using Microsoft.Azure.Common.Extensions;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ public static class StreamAnalyticsCommonUtilities
+ {
+ public static string ExtractNameFromJson(string jsonText)
+ {
+ Dictionary jsonKeyValuePairs;
+
+ try
+ {
+ jsonKeyValuePairs = JsonUtilities.DeserializeJson(jsonText, true);
+ }
+ catch (Exception exception)
+ {
+ throw new JsonSerializationException(string.Format(CultureInfo.InvariantCulture, Resources.InvalidJson, exception.Message));
+ }
+
+ const string NameTagInJson = "Name";
+
+ foreach (var key in jsonKeyValuePairs.Keys)
+ {
+ if (string.Compare(NameTagInJson, key, StringComparison.OrdinalIgnoreCase) == 0)
+ {
+ return (string)jsonKeyValuePairs[key];
+ }
+ }
+
+ return string.Empty;
+ }
+
+ public static Dictionary ExtractTagsFromJson(string jsonText)
+ {
+ Dictionary jsonKeyValuePairs = JsonUtilities.DeserializeJson(jsonText);
+ const string TagsKeyInJson = "tags";
+
+ foreach (var key in jsonKeyValuePairs.Keys)
+ {
+ if (string.Compare(TagsKeyInJson, key, StringComparison.OrdinalIgnoreCase) == 0)
+ {
+ var tags = (jsonKeyValuePairs[key] as Dictionary).ToDictionary(
+ p => p.Key,
+ p => (string)p.Value);
+
+ return tags;
+ }
+ }
+
+ return null;
+ }
+
+ public static Dictionary ToDictionary(this Hashtable hashTable)
+ {
+ return hashTable.Cast().ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString());
+ }
+
+ public static bool TagsAreEqual(IDictionary first, IDictionary second)
+ {
+ bool equal = false;
+ if (first.Count == second.Count)
+ {
+ equal = true;
+ foreach (var pair in first)
+ {
+ string value;
+ if (second.TryGetValue(pair.Key, out value))
+ {
+ if (!value.Equals(pair.Value))
+ {
+ equal = false;
+ break;
+ }
+ }
+ else
+ {
+ // Require key be present.
+ equal = false;
+ break;
+ }
+ }
+ }
+
+ return equal;
+ }
+
+ public static string ExtractResourceGroupFromId(string jobCSMId)
+ {
+ if (string.IsNullOrWhiteSpace(jobCSMId))
+ {
+ throw new ArgumentNullException("jobCSMId");
+ }
+
+ int startIndex = jobCSMId.IndexOf("/resourceGroups/", StringComparison.OrdinalIgnoreCase);
+ if (startIndex < 0)
+ {
+ throw new ArgumentException("id must contain \"/resourceGroups/\"", "jobCSMId");
+ }
+
+ startIndex += "/resourceGroups/".Length;
+
+ int endIndex = jobCSMId.IndexOf("/", startIndex, StringComparison.OrdinalIgnoreCase);
+ if (endIndex < 0)
+ {
+ throw new ArgumentException("id must contain \"/\" after \"/resourceGroups/\"", "jobCSMId");
+ }
+
+ return jobCSMId.Substring(startIndex, endIndex - startIndex);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsResourceProviderBaseCmdlet.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsResourceProviderBaseCmdlet.cs
new file mode 100644
index 000000000000..9c7ab9f957d2
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsResourceProviderBaseCmdlet.cs
@@ -0,0 +1,25 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System.Management.Automation;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ public abstract class StreamAnalyticsResourceProviderBaseCmdlet : StreamAnalyticsBaseCmdlet
+ {
+ [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group name.")]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Subscription/GetAzureStreamAnalyticsQuotasCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Subscription/GetAzureStreamAnalyticsQuotasCommand.cs
new file mode 100644
index 000000000000..a98bcd5a7e23
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Subscription/GetAzureStreamAnalyticsQuotasCommand.cs
@@ -0,0 +1,40 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System.Collections.Generic;
+using System.Management.Automation;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsCommon.Get, Constants.StreamAnalyticsQuota), OutputType(typeof(List), typeof(PSQuota))]
+ public class GetAzureStreamAnalyticsQuotasCommand : StreamAnalyticsBaseCmdlet
+ {
+ [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The location of the azure stream analytics quota.")]
+ [ValidateNotNullOrEmpty]
+ public string Location { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (Location != null && string.IsNullOrWhiteSpace(Location))
+ {
+ throw new PSArgumentNullException("Location");
+ }
+
+ WriteObject(StreamAnalyticsClient.GetQuotas(Location), true);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Transformation/GetAzureStreamAnalyticsTransformationCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Transformation/GetAzureStreamAnalyticsTransformationCommand.cs
new file mode 100644
index 000000000000..032d0cda2c61
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Transformation/GetAzureStreamAnalyticsTransformationCommand.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.Management.Automation;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsCommon.Get, Constants.StreamAnalyticsTransformation), OutputType(typeof(List), typeof(PSTransformation))]
+ public class GetAzureStreamAnalyticsTransformationCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string JobName { get; set; }
+
+ [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics transformation name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName))
+ {
+ throw new PSArgumentNullException("ResourceGroupName");
+ }
+
+ if (JobName != null && string.IsNullOrWhiteSpace(JobName))
+ {
+ throw new PSArgumentNullException("JobName");
+ }
+
+ if (Name != null && string.IsNullOrWhiteSpace(Name))
+ {
+ throw new PSArgumentNullException("Name");
+ }
+
+ WriteObject(StreamAnalyticsClient.GetTransformation(ResourceGroupName, JobName, Name));
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Transformation/NewAzureStreamAnalyticsTransformationCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Transformation/NewAzureStreamAnalyticsTransformationCommand.cs
new file mode 100644
index 000000000000..2e6018278b22
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Transformation/NewAzureStreamAnalyticsTransformationCommand.cs
@@ -0,0 +1,67 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.StreamAnalytics.Models;
+using Microsoft.Azure.Commands.StreamAnalytics.Properties;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+
+namespace Microsoft.Azure.Commands.StreamAnalytics
+{
+ [Cmdlet(VerbsCommon.New, Constants.StreamAnalyticsTransformation), OutputType(typeof(PSTransformation))]
+ public class NewAzureStreamAnalyticsTransformationCommand : StreamAnalyticsResourceProviderBaseCmdlet
+ {
+ [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics job name.")]
+ [ValidateNotNullOrEmpty]
+ public string JobName { get; set; }
+
+ [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics transformation name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Position = 3, Mandatory = true, HelpMessage = "The stream analytics transformation JSON file path.")]
+ [ValidateNotNullOrEmpty]
+ public string File { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")]
+ public SwitchParameter Force { get; set; }
+
+ [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)]
+ public override void ExecuteCmdlet()
+ {
+ string rawJsonContent = StreamAnalyticsClient.ReadJsonFileContent(this.TryResolvePath(File));
+
+ Name = ResolveResourceName(rawJsonContent, Name, "Transformation");
+
+ if (Name != null && string.IsNullOrWhiteSpace(Name))
+ {
+ throw new ArgumentException(Resources.TransformationNameCannotBeEmpty);
+ }
+
+ CreatePSTransformationParameter parameter = new CreatePSTransformationParameter
+ {
+ ResourceGroupName = ResourceGroupName,
+ JobName = JobName,
+ TransformationName = Name,
+ RawJsonContent = rawJsonContent,
+ Force = Force.IsPresent,
+ ConfirmAction = ConfirmAction
+ };
+
+ WriteObject(StreamAnalyticsClient.CreatePSTransformation(parameter));
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config
new file mode 100644
index 000000000000..13f6d3867e27
--- /dev/null
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ 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 fdedd95890ca..7b4da8b9743b 100644
--- a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj
+++ b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj
@@ -106,6 +106,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{65c3a86a-716d-4e7d-ab67-1db00b3bf72d}
Commands.Common.Storage
diff --git a/src/ResourceManager/Tags/Commands.Tags/Model/TagsClient.cs b/src/ResourceManager/Tags/Commands.Tags/Model/TagsClient.cs
index b4c460ab6f15..135981ca718b 100644
--- a/src/ResourceManager/Tags/Commands.Tags/Model/TagsClient.cs
+++ b/src/ResourceManager/Tags/Commands.Tags/Model/TagsClient.cs
@@ -19,8 +19,9 @@
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Resources.Models;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.Tags.Model
{
diff --git a/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj b/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj
index 075d0daa9067..76b33eb455a6 100644
--- a/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj
+++ b/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj
@@ -159,6 +159,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
diff --git a/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationClient.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationClient.cs
index 83de8f67ee7e..ef1d5de7d28e 100644
--- a/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationClient.cs
+++ b/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationClient.cs
@@ -23,12 +23,13 @@
using Microsoft.Azure.Commands.Automation.Properties;
using Microsoft.Azure.Management.Automation;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Newtonsoft.Json;
namespace Microsoft.Azure.Commands.Automation.Common
{
using AutomationManagement = Management.Automation;
+ using Microsoft.Azure.Common.Extensions;
public class AutomationClient : IAutomationClient
{
diff --git a/src/ServiceManagement/Automation/Commands.Automation/Common/IAutomationClient.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/IAutomationClient.cs
index 0ec14ddcb7d3..cc001f934108 100644
--- a/src/ServiceManagement/Automation/Commands.Automation/Common/IAutomationClient.cs
+++ b/src/ServiceManagement/Automation/Commands.Automation/Common/IAutomationClient.cs
@@ -16,7 +16,7 @@
using System.Collections;
using System.Collections.Generic;
using Microsoft.Azure.Commands.Automation.Model;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
namespace Microsoft.Azure.Commands.Automation.Common
{
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj
index 7be82b7d1727..bc6bc775eec0 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj
@@ -97,7 +97,7 @@
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
False
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1
index 1c454870be6a..0cc98f0727b4 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1
@@ -12,7 +12,7 @@
ModuleToProcess = '.\Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll'
# Version number of this module.
-ModuleVersion = '0.8.11'
+ModuleVersion = '0.8.12'
# ID used to uniquely identify this module
GUID = 'a9343cbd-175c-4f72-90c7-2abe9b300644'
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config
index 3a846474ee94..c2db1baba761 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config
@@ -12,7 +12,7 @@
-
+
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1
index d01504557f57..1b74ce905875 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1
@@ -12,7 +12,7 @@
ModuleToProcess = '.\Microsoft.WindowsAzure.Commands.ServiceManagement.Preview.dll'
# Version number of this module.
-ModuleVersion = '0.8.11'
+ModuleVersion = '0.8.12'
# ID used to uniquely identify this module
GUID = '1C72E555-E83F-45E4-AED2-AF3278828DCD'
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj
index 7554bfa4a04d..7b8829ed0f50 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj
@@ -97,11 +97,11 @@
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.1.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.3.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
False
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config
index 835cb1f46de4..9ac585e925be 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config
@@ -12,8 +12,8 @@
-
-
+
+
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj
index 938d3f3f7517..af6bed8d34bd 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj
@@ -99,11 +99,10 @@
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
-
- False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.1.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
+
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.3.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
False
@@ -477,6 +476,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{65c3a86a-716d-4e7d-ab67-1db00b3bf72d}
Commands.Common.Storage
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdSASUriTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdSASUriTest.cs
index ecd8cc84743f..283b04ed0b29 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdSASUriTest.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdSASUriTest.cs
@@ -16,7 +16,7 @@
using System.IO;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage.Blob;
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdTest.cs
index e7fdccb07a9f..fbfba24dce32 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdTest.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdTest.cs
@@ -16,7 +16,7 @@
using System.IO;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests
{
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMAccessExtensionTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMAccessExtensionTests.cs
index ecc912dfada4..d7d37b6320c4 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMAccessExtensionTests.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMAccessExtensionTests.cs
@@ -22,6 +22,7 @@
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ExtensionTests
{
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMSqlServerExtensionTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMSqlServerExtensionTests.cs
index 421b795d6718..7e31f421770a 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMSqlServerExtensionTests.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMSqlServerExtensionTests.cs
@@ -58,7 +58,7 @@ public void TestCleanUp()
}
- [TestMethod(), TestCategory(Category.Sequential), TestProperty("Feature", "IAAS"), Priority(0), Owner("seths"), Description("Test the cmdlet ((Get,Set,Remove)-AzureVMSqlServerExtension)")]
+ [TestMethod(), TestCategory("Scenario"), TestProperty("Feature", "IAAS"), Priority(0), Owner("seths"), Description("Test the cmdlet ((Get,Set,Remove)-AzureVMSqlServerExtension)")]
public void GetAzureVMSqlServerExtensionTest()
{
try
@@ -97,7 +97,7 @@ public void GetAzureVMSqlServerExtensionTest()
}
}
- [TestMethod(), TestCategory(Category.Sequential), TestProperty("Feature", "IAAS"), Priority(0), Owner("seths"), Description("Test the cmdlet ((Get,Set)-AzureVMSqlServerExtension)")]
+ [TestMethod(), TestCategory("Scenario"), TestProperty("Feature", "IAAS"), Priority(0), Owner("seths"), Description("Test the cmdlet ((Get,Set)-AzureVMSqlServerExtension)")]
public void UpdateVMWithSqlServerExtensionTest()
{
try
@@ -130,7 +130,7 @@ public void UpdateVMWithSqlServerExtensionTest()
}
}
- [TestMethod(), TestCategory(Category.Sequential), TestProperty("Feature", "IAAS"), Priority(0), Owner("seths"), Description("Test the cmdlet ((Get,Set)-AzureVMSqlServerExtension)")]
+ [TestMethod(), TestCategory("Scenario"), TestProperty("Feature", "IAAS"), Priority(0), Owner("seths"), Description("Test the cmdlet ((Get,Set)-AzureVMSqlServerExtension)")]
public void AddRoleWithSqlServerExtensionTest()
{
try
@@ -161,7 +161,7 @@ public void AddRoleWithSqlServerExtensionTest()
}
- [TestMethod(), TestCategory(Category.Sequential), TestProperty("Feature", "IAAS"), Priority(0), Owner("seths"), Description("Test the cmdlet ((Get,Set)-AzureVMSqlServerExtension)")]
+ [TestMethod(), TestCategory("Scenario"), TestProperty("Feature", "IAAS"), Priority(0), Owner("seths"), Description("Test the cmdlet ((Get,Set)-AzureVMSqlServerExtension)")]
public void UpdateRoleWithSqlServerExtensionTest()
{
try
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTest.cs
index d1a018fae11c..0d9d3c02922f 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTest.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTest.cs
@@ -24,7 +24,7 @@
using System.Text;
using System.Xml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo;
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs
index 1ef6e4d15619..40d7b084e751 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs
@@ -148,10 +148,14 @@ public void AzureVMImageTest()
string oldLabel = "old label";
string newLabel = "new label";
+ string vmSize = "Small";
+ var iconUri = "http://www.bing.com";
+ var smallIconUri = "http://www.bing.com";
+ bool showInGui = true;
try
{
- OSImageContext result = vmPowershellCmdlets.AddAzureVMImage(newImageName, mediaLocation, OS.Windows, oldLabel);
+ OSImageContext result = vmPowershellCmdlets.AddAzureVMImage(newImageName, mediaLocation, OS.Windows, oldLabel, vmSize, iconUri, smallIconUri, showInGui);
OSImageContext resultReturned = vmPowershellCmdlets.GetAzureVMImage(newImageName)[0];
Assert.IsTrue(!string.IsNullOrEmpty(resultReturned.IOType));
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/GenericIaaSExtensionTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/GenericIaaSExtensionTests.cs
index d1abbb377cf2..6d7ac843a565 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/GenericIaaSExtensionTests.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/GenericIaaSExtensionTests.cs
@@ -22,6 +22,7 @@
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests
{
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureVMImageCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureVMImageCmdletInfo.cs
index e26da970f9a4..44c3b4982683 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureVMImageCmdletInfo.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureVMImageCmdletInfo.cs
@@ -43,6 +43,25 @@ public AddAzureVMImageCmdletInfo(string imageName, string mediaLocation, OS os,
}
}
+ public AddAzureVMImageCmdletInfo(string imageName, string mediaLocation, OS os, string label, string recommendedSize, string iconUri, string smallIconUri, bool showInGui)
+ : this(imageName, mediaLocation, os, label, recommendedSize)
+ {
+ if (!string.IsNullOrEmpty(iconUri))
+ {
+ cmdletParams.Add(new CmdletParam("IconUri", iconUri));
+ }
+
+ if (!string.IsNullOrEmpty(iconUri))
+ {
+ cmdletParams.Add(new CmdletParam("SmallIconUri", smallIconUri));
+ }
+
+ if (showInGui)
+ {
+ cmdletParams.Add(new CmdletParam("ShowInGui"));
+ }
+ }
+
public AddAzureVMImageCmdletInfo(
string imageName,
string mediaLocation,
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SaveAzureVhdTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SaveAzureVhdTest.cs
index 1120a465e35d..f0f5e9982c48 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SaveAzureVhdTest.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SaveAzureVhdTest.cs
@@ -16,7 +16,7 @@
using System.IO;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Sync.Download;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ScenarioTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ScenarioTest.cs
index f1ba137d59dd..892a29864284 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ScenarioTest.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ScenarioTest.cs
@@ -27,7 +27,7 @@
using System.Xml;
using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo;
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs
index 8dfbbc242567..65805b657a79 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs
@@ -22,7 +22,7 @@
using System.Security.Cryptography.X509Certificates;
using System.Xml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Storage;
using Microsoft.WindowsAzure.Commands.Profile.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions;
@@ -55,6 +55,23 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests
public class ServiceManagementCmdletTestHelper
{
+ private T RunPSCmdletAndReturnFirst(PowershellCore.CmdletsInfo cmdlet, bool debug = false, bool retryOnConflict = true)
+ {
+ var result = default(T);
+ if (retryOnConflict)
+ {
+ Utilities.RetryActionUntilSuccess(
+ () => result = RunPSCmdletAndReturnFirstHelper(cmdlet),
+ "ConflictError", 3, 60);
+ }
+ else
+ {
+ result = RunPSCmdletAndReturnFirstHelper(cmdlet);
+ }
+ return result;
+
+ }
+
///
/// Run a powershell cmdlet that returns the first PSObject as a return value.
///
@@ -62,7 +79,7 @@ public class ServiceManagementCmdletTestHelper
///
///
///
- private T RunPSCmdletAndReturnFirst(PowershellCore.CmdletsInfo cmdlet, bool debug = false)
+ private T RunPSCmdletAndReturnFirstHelper(PowershellCore.CmdletsInfo cmdlet, bool debug = false)
{
var azurePowershellCmdlet = new WindowsAzurePowershellCmdlet(cmdlet);
Collection result = azurePowershellCmdlet.Run(debug);
@@ -91,6 +108,23 @@ private T RunPSCmdletAndReturnFirst(PowershellCore.CmdletsInfo cmdlet, bool d
return default(T);
}
+ private Collection RunPSCmdletAndReturnAll(PowershellCore.CmdletsInfo cmdlet, bool debug = false, bool retryOnConflict = true)
+ {
+ var result = new Collection();
+ if (retryOnConflict)
+ {
+ Utilities.RetryActionUntilSuccess(
+ () => result = RunPSCmdletAndReturnAllHelper(cmdlet),
+ "ConflictError", 3, 60);
+ }
+ else
+ {
+ result = RunPSCmdletAndReturnAllHelper(cmdlet);
+ }
+ return result;
+ }
+
+
///
/// Run a powershell cmdlet that returns a collection of PSObjects as a return value.
///
@@ -98,7 +132,7 @@ private T RunPSCmdletAndReturnFirst(PowershellCore.CmdletsInfo cmdlet, bool d
///
///
///
- private Collection RunPSCmdletAndReturnAll(PowershellCore.CmdletsInfo cmdlet, bool debug = false)
+ private Collection RunPSCmdletAndReturnAllHelper(PowershellCore.CmdletsInfo cmdlet, bool debug = false)
{
var azurePowershellCmdlet = new WindowsAzurePowershellCmdlet(cmdlet);
Collection result = azurePowershellCmdlet.Run(debug);
@@ -1314,9 +1348,7 @@ public SM.PersistentVMRoleContext ExportAzureVM(string vmName, string serviceNam
public ManagementOperationContext UpdateAzureVM(string vmName, string serviceName, SM.PersistentVM persistentVM)
{
ManagementOperationContext result = new ManagementOperationContext();
- Utilities.RetryActionUntilSuccess(
- () => result = RunPSCmdletAndReturnFirst(new UpdateAzureVMCmdletInfo(vmName, serviceName, persistentVM)),
- "409", 3, 60);
+ result = RunPSCmdletAndReturnFirst(new UpdateAzureVMCmdletInfo(vmName, serviceName, persistentVM));
return result;
}
@@ -1324,11 +1356,11 @@ public ManagementOperationContext UpdateAzureVM(string vmName, string serviceNam
#region AzureVMImage
- public SM.OSImageContext AddAzureVMImage(string imageName, string mediaLocation, OS os, string label = null, string recommendedSize = null)
+ public SM.OSImageContext AddAzureVMImage(string imageName, string mediaLocation, OS os, string label = null, string recommendedSize = null, string iconUri = null, string smallIconUri = null, bool showInGui = false)
{
SM.OSImageContext result = new SM.OSImageContext();
Utilities.RetryActionUntilSuccess(
- () => result = RunPSCmdletAndReturnFirst(new AddAzureVMImageCmdletInfo(imageName, mediaLocation, os, label, recommendedSize)),
+ () => result = RunPSCmdletAndReturnFirst(new AddAzureVMImageCmdletInfo(imageName, mediaLocation, os, label, recommendedSize, iconUri, smallIconUri, showInGui)),
"409", 3, 60);
return result;
}
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs
index ef084d8d9fac..7c5f0b74ddc6 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs
@@ -20,7 +20,7 @@
using System.Threading;
using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Profile.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.Properties;
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Utilities.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Utilities.cs
index ed6de93117d4..c1c5c632d3bc 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Utilities.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Utilities.cs
@@ -586,7 +586,7 @@ public static void RetryActionUntilSuccess(Action act, string errorMessage, int
}
catch (Exception e)
{
- if (e.ToString().Contains(errorMessage))
+ if (e.ToString().Contains(errorMessage) || (e.InnerException != null && e.InnerException.ToString().Contains(errorMessage)))
{
Console.WriteLine("{0} error occurs! retrying ...", errorMessage);
if (e.InnerException != null)
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config
index 47e809bbc43a..0a7ec7bb6770 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config
@@ -13,8 +13,8 @@
-
-
+
+
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj
index 4cd52cf3cdc8..6dd3df82b68a 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj
@@ -99,11 +99,10 @@
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
-
- False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.1.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
+
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.3.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
False
@@ -205,6 +204,7 @@
+
@@ -500,6 +500,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{65c3a86a-716d-4e7d-ab67-1db00b3bf72d}
Commands.Common.Storage
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/NewAzureDeployment.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/NewAzureDeployment.cs
index a8dc507d4915..a87cf667d1e7 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/NewAzureDeployment.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/NewAzureDeployment.cs
@@ -16,7 +16,7 @@
using System;
using System.Management.Automation;
using System.Net;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
@@ -111,7 +111,7 @@ public virtual void NewPaaSDeploymentProcess()
AssertNoPersistenVmRoleExistsInDeployment(PVM.DeploymentSlotType.Production);
AssertNoPersistenVmRoleExistsInDeployment(PVM.DeploymentSlotType.Staging);
- var storageName = CurrentContext.Subscription.GetProperty(Commands.Common.Models.AzureSubscription.Property.StorageAccount);
+ var storageName = CurrentContext.Subscription.GetProperty(AzureSubscription.Property.StorageAccount);
Uri packageUrl;
if (this.Package.StartsWith(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) ||
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs
index 7c2db3e46472..4fdc9c4c49fc 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs
@@ -15,7 +15,7 @@
using System;
using System.Management.Automation;
using System.Net;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/AddAzureVMImage.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/AddAzureVMImage.cs
index 83c9acfcfd99..33ec1435b200 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/AddAzureVMImage.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/AddAzureVMImage.cs
@@ -65,6 +65,15 @@ public class AddAzureVMImage : ServiceManagementBaseCmdlet
[Parameter(Position = 9, ValueFromPipelineByPropertyName = true, HelpMessage = " Specifies the size to use for the virtual machine that is created from the OS image.")]
public string RecommendedVMSize { get; set; }
+ [Parameter(Position = 10, ValueFromPipelineByPropertyName = true, HelpMessage = "Icon Uri.")]
+ public Uri IconUri { get; set; }
+
+ [Parameter(Position = 11, ValueFromPipelineByPropertyName = true, HelpMessage = "Small Icon Uri.")]
+ public Uri SmallIconUri { get; set; }
+
+ [Parameter(Position = 12, ValueFromPipelineByPropertyName = true, HelpMessage = "To show in GUI.")]
+ public SwitchParameter ShowInGui { get; set; }
+
public void ExecuteCommand()
{
var imageType = new VirtualMachineImageHelper(this.ComputeClient).GetImageType(this.ImageName);
@@ -94,7 +103,10 @@ public void ExecuteCommand()
ImageFamily = this.ImageFamily,
PublishedDate = this.PublishedDate,
PrivacyUri = this.PrivacyUri,
- RecommendedVMSize = this.RecommendedVMSize
+ RecommendedVMSize = this.RecommendedVMSize,
+ IconUri = this.IconUri,
+ SmallIconUri = this.SmallIconUri,
+ ShowInGui = this.ShowInGui
};
this.ExecuteClientActionNewSM(
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/AddAzureDataDisk.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/AddAzureDataDisk.cs
index 123d19bb833f..17abeb97d913 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/AddAzureDataDisk.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/AddAzureDataDisk.cs
@@ -19,9 +19,10 @@
using System.Linq;
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS
{
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs
index 8208a8b9a1a6..246196cfa6f9 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs
@@ -76,6 +76,12 @@ public class SetAzureVMChefExtensionCommand : VirtualMachineChefExtensionCmdletB
[ValidateNotNullOrEmpty]
public string OrganizationName { get; set; }
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ HelpMessage = "Flag to opt for auto chef-client update. Chef-client update is false by default.")]
+ [ValidateNotNullOrEmpty]
+ public SwitchParameter AutoUpdateChefClient { get; set; }
+
[Parameter(
Mandatory = true,
ParameterSetName = LinuxParameterSetName,
@@ -102,9 +108,12 @@ internal void ExecuteCommand()
private string GetLatestChefExtensionVersion()
{
var extensionList = this.ComputeClient.VirtualMachineExtensions.List();
- return extensionList.ResourceExtensions.Where(
+ var version = extensionList.ResourceExtensions.Where(
extension => extension.Publisher == ExtensionDefaultPublisher
&& extension.Name == base.extensionName).Max(extension => extension.Version);
+ string[] separators = {"."};
+ string majorVersion = version.Split(separators, StringSplitOptions.None)[0];
+ return majorVersion + ".*";
}
private void SetDefault()
@@ -141,6 +150,7 @@ private void SetPublicConfig()
bool IsChefServerUrlEmpty = string.IsNullOrEmpty(this.ChefServerUrl);
bool IsValidationClientNameEmpty = string.IsNullOrEmpty(this.ValidationClientName);
bool IsRunListEmpty = string.IsNullOrEmpty(this.RunList);
+ string AutoUpdateChefClient = this.AutoUpdateChefClient.IsPresent ? "true" : "false";
//Cases handled:
// 1. When clientRb given by user and:
@@ -192,14 +202,16 @@ private void SetPublicConfig()
if (IsRunListEmpty)
{
- this.PublicConfiguration = string.Format("{{{0}}}",
+ this.PublicConfiguration = string.Format("{{{0},{1}}}",
+ string.Format(AutoUpdateTemplate, AutoUpdateChefClient),
string.Format(ClientRbTemplate, ClientConfig));
}
else
{
- this.PublicConfiguration = string.Format("{{{0},{1}}}",
- string.Format(ClientRbTemplate, ClientConfig),
- string.Format(RunListTemplate, this.RunList));
+ this.PublicConfiguration = string.Format("{{{0},{1},{2}}}",
+ string.Format(AutoUpdateTemplate, AutoUpdateChefClient),
+ string.Format(ClientRbTemplate, ClientConfig),
+ string.Format(RunListTemplate, this.RunList));
}
}
@@ -223,4 +235,4 @@ protected override void ProcessRecord()
ExecuteCommand();
}
}
-}
\ No newline at end of file
+}
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/VirtualMachineChefExtensionCmdletBase.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/VirtualMachineChefExtensionCmdletBase.cs
index edef71c6b0e9..3dcd2e58393d 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/VirtualMachineChefExtensionCmdletBase.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/VirtualMachineChefExtensionCmdletBase.cs
@@ -22,6 +22,7 @@ public class VirtualMachineChefExtensionCmdletBase : VirtualMachineExtensionCmdl
protected const string ExtensionDefaultName = "ChefClient";
protected const string LinuxExtensionName = "LinuxChefClient";
protected const string PrivateConfigurationTemplate = "{{\"validation_key\":\"{0}\"}}";
+ protected const string AutoUpdateTemplate = "\"autoUpdateClient\":\"{0}\"";
protected const string ClientRbTemplate = "\"client_rb\":\"{0}\"";
protected const string RunListTemplate = "\"runlist\": \"\\\"{0}\\\"\"";
@@ -44,4 +45,4 @@ protected string GetPlatformSpecificExtensionName()
else { return null; }
}
}
-}
\ No newline at end of file
+}
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionCmdletBase.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionCmdletBase.cs
index 9d4a84bd1257..1b139bd0242f 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionCmdletBase.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionCmdletBase.cs
@@ -21,6 +21,7 @@
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions
{
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/SetAzureVMCustomScriptExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/SetAzureVMCustomScriptExtension.cs
index 232aa49bb7bf..23167af9a292 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/SetAzureVMCustomScriptExtension.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/SetAzureVMCustomScriptExtension.cs
@@ -16,12 +16,13 @@
using System.Linq;
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage.Blob;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions
{
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/VirtualMachineCustomScriptExtensionCmdletBase.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/VirtualMachineCustomScriptExtensionCmdletBase.cs
index eb1769245b3e..f7af774ca2f4 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/VirtualMachineCustomScriptExtensionCmdletBase.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/VirtualMachineCustomScriptExtensionCmdletBase.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Newtonsoft.Json;
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ServiceManagementBaseCmdletExtentions.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ServiceManagementBaseCmdletExtentions.cs
index 2b930f601209..05233b2f906d 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ServiceManagementBaseCmdletExtentions.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ServiceManagementBaseCmdletExtentions.cs
@@ -15,7 +15,7 @@
using System;
using System.Globalization;
using System.Management.Automation;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Storage;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerAutoPatchingPatchCategoryEnum.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerAutoPatchingPatchCategoryEnum.cs
index 428dd8addf52..c0cd8cda7d3b 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerAutoPatchingPatchCategoryEnum.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerAutoPatchingPatchCategoryEnum.cs
@@ -27,11 +27,6 @@ public enum AzureVMSqlServerAutoPatchingPatchCategoryEnum
///
/// Important patches
///
- Important = 0,
-
- ///
- /// Optional patches
- ///
- Optional = 1
+ Important = 1,
}
}
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerAutoPatchingSettings.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerAutoPatchingSettings.cs
index 3e2c4e031c68..0c1ebaf6fe57 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerAutoPatchingSettings.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerAutoPatchingSettings.cs
@@ -19,9 +19,6 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions
///
public class AutoPatchingSettings
{
- private const string Important = "important";
- private const string Optional = "optional";
-
///
/// Enable / Disable auto patching
///
@@ -36,53 +33,15 @@ public class AutoPatchingSettings
/// Maintainance Windows Start hour ( 0 to 23 )
///
public int MaintenanceWindowStartingHour { get; set; }
-
+
///
/// Maintainance window duration in minutes
///
public int MaintenanceWindowDuration { get; set; }
-
- ///
- /// pathc category returned as string
- ///
- public string PatchCategory
- {
- get
- {
- return this.patchCategory.ToString("G");
- }
- }
-
- private AzureVMSqlServerAutoPatchingPatchCategoryEnum patchCategory = AzureVMSqlServerAutoPatchingPatchCategoryEnum.Unknown;
-
- public void UpdatePatchingCategory(AzureVMSqlServerAutoPatchingPatchCategoryEnum category)
- {
- this.patchCategory = category;
- }
///
- /// Update patching category enum
+ /// Patch category returned as string
///
- ///
- public void UpdatePatchingCategory(string category)
- {
- if (!string.IsNullOrEmpty(category))
- {
- switch (category.ToLower())
- {
- case Important:
- this.patchCategory = AzureVMSqlServerAutoPatchingPatchCategoryEnum.Important;
- break;
-
- case Optional:
- this.patchCategory = AzureVMSqlServerAutoPatchingPatchCategoryEnum.Optional;
- break;
-
- default:
- this.patchCategory = AzureVMSqlServerAutoPatchingPatchCategoryEnum.Unknown;
- break;
- }
- }
- }
+ public string PatchCategory { get; set; }
}
}
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerAutoTelemetrySettings.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerAutoTelemetrySettings.cs
new file mode 100644
index 000000000000..0e6eae811435
--- /dev/null
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerAutoTelemetrySettings.cs
@@ -0,0 +1,29 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System.Security;
+
+namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions
+{
+ ///
+ /// AutoTelemetry settings to configure telemetry collection on SQL VM
+ ///
+ public class AutoTelemetrySettings
+ {
+ ///
+ /// The name of the region the VM is running in.
+ ///
+ public string Region { get; set; }
+ }
+}
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerPublicSettings.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerPublicSettings.cs
index 91e551788795..ab7c69677d64 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerPublicSettings.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/AzureVMSqlServerPublicSettings.cs
@@ -28,5 +28,10 @@ public class SqlServerPublicSettings
/// Auto-backup settings
///
public AutoBackupSettings AutoBackupSettings { get; set; }
+
+ ///
+ /// Auto-telemetry settings
+ ///
+ public AutoTelemetrySettings AutoTelemetrySettings { get; set; }
}
}
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/GetAzureVMSqlServerExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/GetAzureVMSqlServerExtension.cs
index b44a978410ed..c179bbcbd5e4 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/GetAzureVMSqlServerExtension.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/GetAzureVMSqlServerExtension.cs
@@ -76,7 +76,7 @@ private VirtualMachineSqlServerExtensionContext GetExtensionContext(ResourceExte
PrivateConfiguration = SecureStringHelper.GetSecureString(PrivateConfiguration),
RoleName = VM.GetInstance().RoleName,
};
-
+
// gather extension status messages
List statusMessageList = new List();
@@ -155,7 +155,7 @@ private VirtualMachineSqlServerExtensionContext GetExtensionContext(ResourceExte
NSM.DeploymentSlot.Production);
}
catch (CloudException e)
- {
+ {
if (e.Response.StatusCode != HttpStatusCode.NotFound)
{
throw;
@@ -188,13 +188,13 @@ private VirtualMachineSqlServerExtensionContext GetExtensionContext(ResourceExte
private AutoPatchingSettings DeSerializeAutoPatchingSettings(string category, string input)
{
AutoPatchingSettings aps = new AutoPatchingSettings();
-
+
if (!string.IsNullOrEmpty(input))
{
try
{
aps = JsonConvert.DeserializeObject(input);
- aps.UpdatePatchingCategory(this.ResolvePatchCategoryStringforPowerShell(aps.PatchCategory));
+ aps.PatchCategory = this.ResolvePatchCategoryStringforPowerShell(aps.PatchCategory);
}
catch (JsonReaderException jre)
{
@@ -231,28 +231,22 @@ private AutoBackupSettings DeSerializeAutoBackupSettings(string category, string
///
/// Map strings Auto-patching public settings -> Powershell API
/// "WindowsMandatoryUpdates" -> "Important"
- /// "MicrosoftOptionalUpdates" -> "Optional"
///
///
///
- private AzureVMSqlServerAutoPatchingPatchCategoryEnum ResolvePatchCategoryStringforPowerShell(string category)
+ private string ResolvePatchCategoryStringforPowerShell(string category)
{
- AzureVMSqlServerAutoPatchingPatchCategoryEnum patchCategory = AzureVMSqlServerAutoPatchingPatchCategoryEnum.Important;
+ string patchCategory = string.Empty;
if (!string.IsNullOrEmpty(category))
{
switch (category.ToLower())
{
case "windowsmandatoryupdates":
- patchCategory = AzureVMSqlServerAutoPatchingPatchCategoryEnum.Important;
- break;
-
- case "microsoftoptionalupdates":
- patchCategory = AzureVMSqlServerAutoPatchingPatchCategoryEnum.Optional;
+ patchCategory = AzureVMSqlServerAutoPatchingPatchCategoryEnum.Important.ToString("G");
break;
default:
- patchCategory = AzureVMSqlServerAutoPatchingPatchCategoryEnum.Unknown;
break;
}
}
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/NewAzureVMSqlServerAutoPatchingConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/NewAzureVMSqlServerAutoPatchingConfig.cs
index 2747fdf5646b..1f2d71567066 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/NewAzureVMSqlServerAutoPatchingConfig.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/NewAzureVMSqlServerAutoPatchingConfig.cs
@@ -24,11 +24,11 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions
///
/// Helper cmdlet to construct instance of AutoPatching settings class
///
- [Cmdlet(
- VerbsCommon.New,
- AzureVMSqlServerAutoPatchingConfigNoun),
- OutputType(
- typeof(AutoPatchingSettings))]
+ [Cmdlet(
+ VerbsCommon.New,
+ AzureVMSqlServerAutoPatchingConfigNoun),
+ OutputType(
+ typeof(AutoPatchingSettings))]
public class NewAzureVMSqlServerAutoPatchingConfigCommand : PSCmdlet
{
protected const string AzureVMSqlServerAutoPatchingConfigNoun = "AzureVMSqlServerAutoPatchingConfig";
@@ -47,7 +47,7 @@ public class NewAzureVMSqlServerAutoPatchingConfigCommand : PSCmdlet
public int MaintenanceWindowDuration { get; set; }
[Parameter]
- [ValidateSetAttribute(new string[] { "Important", "Optional" })]
+ [ValidateSetAttribute(new string[] { "Important" })]
public string PatchCategory { get; set; }
///
@@ -68,7 +68,7 @@ protected override void ProcessRecord()
autoPatchingSettings.DayOfWeek = DayOfWeek;
autoPatchingSettings.MaintenanceWindowStartingHour = MaintenanceWindowStartingHour;
autoPatchingSettings.MaintenanceWindowDuration = MaintenanceWindowDuration;
- autoPatchingSettings.UpdatePatchingCategory(PatchCategory);
+ autoPatchingSettings.PatchCategory = PatchCategory;
WriteObject(autoPatchingSettings);
}
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/SetAzureVMSqlServerExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/SetAzureVMSqlServerExtension.cs
index d45c3c1d2a86..42177ad9f257 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/SetAzureVMSqlServerExtension.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/SetAzureVMSqlServerExtension.cs
@@ -18,6 +18,7 @@
using Microsoft.WindowsAzure.Commands.Common.Storage;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
+using System.Net;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions
{
@@ -33,8 +34,8 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions
typeof(IPersistentVM))]
public class SetAzureVMSqlServerExtensionCommand : VirtualMachineSqlServerExtensionCmdletBase
{
- protected const string EnableExtensionParamSetName = "EnableSqlServerExtension";
- protected const string DisableSqlServerExtensionParamSetName = "DisableSqlServerExtension";
+ protected const string EnableExtensionParamSetName = "EnableSqlServerExtension";
+ protected const string DisableSqlServerExtensionParamSetName = "DisableSqlServerExtension";
protected const string UninstallSqlServerExtensionParamSetName = "UninstallSqlServerExtension";
[Parameter(
@@ -105,10 +106,58 @@ protected override void ValidateParameters()
{
base.ValidateParameters();
this.ReferenceName = string.IsNullOrEmpty(this.ReferenceName) ? ExtensionDefaultName : this.ReferenceName;
-
+ this.SetupAutoTelemetrySettings();
this.PublicConfiguration = GetPublicConfiguration();
this.PrivateConfiguration = GetPrivateConfiguration();
this.Version = this.Version ?? ExtensionDefaultVersion;
}
+
+ private void SetupAutoTelemetrySettings()
+ {
+ if (this.AutoTelemetrySettings == null || string.IsNullOrEmpty(this.AutoTelemetrySettings.Region))
+ {
+ foreach (var hs in this.ComputeClient.HostedServices.List().HostedServices)
+ {
+ try
+ {
+ var deployment = this.ComputeClient.Deployments.GetBySlot(hs.ServiceName, Management.Compute.Models.DeploymentSlot.Production);
+ if (deployment != null)
+ {
+ var role = deployment.RoleInstances.FirstOrDefault(r => r.RoleName == VM.GetInstance().RoleName);
+
+ string location = String.Empty;
+ if (role != null)
+ {
+ if (null != hs.Properties)
+ {
+ if (!string.IsNullOrEmpty(hs.Properties.Location))
+ {
+ location = hs.Properties.Location;
+ }
+ else
+ {
+ if (!string.IsNullOrEmpty(hs.Properties.AffinityGroup))
+ {
+ location = this.ManagementClient.AffinityGroups.Get(hs.Properties.AffinityGroup).Location;
+ }
+ }
+ }
+
+ this.AutoTelemetrySettings = new AutoTelemetrySettings() { Region = location };
+ WriteVerboseWithTimestamp("VM Location:" + location);
+ break;
+ }
+ }
+ }
+ catch (CloudException e)
+ {
+ if (e.Response.StatusCode != HttpStatusCode.NotFound)
+ {
+ throw;
+ }
+ }
+ }
+ }
+ }
}
}
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/VirtualMachineSqlServerExtensionCmdletBase.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/VirtualMachineSqlServerExtensionCmdletBase.cs
index 654a6bfd9f29..f4cdcacf6e3b 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/VirtualMachineSqlServerExtensionCmdletBase.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/VirtualMachineSqlServerExtensionCmdletBase.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Newtonsoft.Json;
@@ -37,7 +38,7 @@ public class VirtualMachineSqlServerExtensionCmdletBase : VirtualMachineExtensio
///
/// Extension's default version
///
- protected const string ExtensionDefaultVersion = "1.0";
+ protected const string ExtensionDefaultVersion = "1.*";
///
/// value of Auto-patching settings object that can be set by derived classes
@@ -49,6 +50,11 @@ public class VirtualMachineSqlServerExtensionCmdletBase : VirtualMachineExtensio
///
public virtual AutoBackupSettings AutoBackupSettings { get; set; }
+ ///
+ /// value of Auto-telemetry settings object that can be set by derived classes
+ ///
+ public virtual AutoTelemetrySettings AutoTelemetrySettings { get; set; }
+
///
/// Sets extension's publisher and name
///
@@ -68,7 +74,8 @@ protected string GetPublicConfiguration()
new SqlServerPublicSettings
{
AutoPatchingSettings = this.AutoPatchingSettings,
- AutoBackupSettings = this.AutoBackupSettings
+ AutoBackupSettings = this.AutoBackupSettings,
+ AutoTelemetrySettings = this.AutoTelemetrySettings
}));
}
@@ -81,7 +88,7 @@ protected string GetPrivateConfiguration()
return JsonUtilities.TryFormatJson(JsonConvert.SerializeObject(
new SqlServerPrivateSettings
{
- StorageUrl = (this.AutoBackupSettings == null)? string.Empty: this.AutoBackupSettings.StorageUrl,
+ StorageUrl = (this.AutoBackupSettings == null) ? string.Empty : this.AutoBackupSettings.StorageUrl,
StorageAccessKey = (this.AutoBackupSettings == null) ? string.Empty : this.AutoBackupSettings.StorageAccessKey,
Password = (this.AutoBackupSettings == null) ? string.Empty : this.AutoBackupSettings.Password
}));
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkSecurityGroupConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkSecurityGroupConfig.cs
index 9bee4f32e509..441282b2ab56 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkSecurityGroupConfig.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkSecurityGroupConfig.cs
@@ -19,6 +19,7 @@
using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model;
using Microsoft.WindowsAzure.Commands.Common;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS
{
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureQuickVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureQuickVM.cs
index 6a3627f7560b..fe3ff8b244fa 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureQuickVM.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureQuickVM.cs
@@ -21,7 +21,7 @@
using System.Net;
using System.Security.Cryptography.X509Certificates;
using AutoMapper;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Common;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers;
using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions;
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs
index 1120de3088aa..18678c8dc634 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs
@@ -18,7 +18,7 @@
using System.Management.Automation;
using System.Net;
using AutoMapper;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVMConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVMConfig.cs
index 5a99d880d1b4..fb08778cb8ef 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVMConfig.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVMConfig.cs
@@ -16,7 +16,7 @@
using System;
using System.Collections.ObjectModel;
using System.Management.Automation;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/UpdateAzureVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/UpdateAzureVM.cs
index 7617aa7753ee..95f00ff5e63e 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/UpdateAzureVM.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/UpdateAzureVM.cs
@@ -17,7 +17,7 @@
using System.Linq;
using System.Management.Automation;
using AutoMapper;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml
index 182e82e58aa7..c14640929f68 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml
@@ -32701,6 +32701,17 @@ PS C:\> Get-AzureVM -ServiceName "ContosoService03" -Name "Con
+
+ AutoUpdateChefClient
+
+ Flag to opt for auto chef-client update. Chef-client update is false by default.
+
+
+ Boolean
+
+
+ false
+
Linux
@@ -33136,7 +33147,7 @@ PS C:\> Get-AzureVM -ServiceName "ContosoService03" -Name "Con
PatchCategory
- Defines if recommended updates should be included.
+ Defines if Important updates should be included.
string
@@ -33195,7 +33206,7 @@ PS C:\> Get-AzureVM -ServiceName "ContosoService03" -Name "Con
PatchCategory
- Defines if recommended updates should be included.
+ Defines if important updates should be included.
string
@@ -33261,14 +33272,14 @@ PS C:\> Get-AzureVM -ServiceName "ContosoService03" -Name "Con
- C:\PS> $aps = New-AzureVMSqlServerAutoPatchingConfig -Enable -DayOfWeek "Thursday" -MaintenanceWindowStartingHour 11 -MaintenanceWindowDuration 120 -PatchCategory "Optional"
+ C:\PS> $aps = New-AzureVMSqlServerAutoPatchingConfig -Enable -DayOfWeek "Thursday" -MaintenanceWindowStartingHour 11 -MaintenanceWindowDuration 120 -PatchCategory "Important"
PS C:\> $aps
Enable : True
DayOfWeek : Thursday
MaintenanceWindowStartingHour : 11
MaintenanceWindowDuration : 120
- PatchCategory : Optional
+ PatchCategory : Important
This command creates configuration object that can be used to configure automatic patching using Set-AzureVMSqlServerExtension
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/StorageServices/StorageCredentialsFactory.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/StorageServices/StorageCredentialsFactory.cs
index 8b989e796b39..c12a470e24ab 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/StorageServices/StorageCredentialsFactory.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/StorageServices/StorageCredentialsFactory.cs
@@ -13,7 +13,7 @@
// ----------------------------------------------------------------------------------
using System;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties;
using Microsoft.WindowsAzure.Commands.Sync.Download;
using Microsoft.WindowsAzure.Management.Storage;
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config
index 835cb1f46de4..9ac585e925be 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config
@@ -12,8 +12,8 @@
-
-
+
+
diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj
index 8ad59476a26f..66268195ceec 100644
--- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj
+++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj
@@ -149,6 +149,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1 b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1
index 3cb527a38bb4..b32ffa779388 100644
--- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1
+++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1
@@ -12,7 +12,7 @@
ModuleToProcess = '.\Microsoft.WindowsAzure.Commands.ExpressRoute.dll'
# Version number of this module.
-ModuleVersion = '0.8.11'
+ModuleVersion = '0.8.12'
# ID used to uniquely identify this module
GUID = 'e5b10573-30da-456a-9319-4c0a5f8bed4a'
diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs
index cb14378a0e79..a8d9340e11d3 100644
--- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs
+++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs
@@ -14,7 +14,7 @@
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Common;
namespace Microsoft.WindowsAzure.Commands.ExpressRoute
@@ -25,6 +25,8 @@ namespace Microsoft.WindowsAzure.Commands.ExpressRoute
using System.Collections.Generic;
using System.Net;
using Utilities.Common;
+ using Microsoft.Azure.Common.Extensions.Models;
+ using Microsoft.Azure.Common.Extensions;
public class ExpressRouteClient
@@ -94,7 +96,7 @@ public AzureDedicatedCircuit GetAzureDedicatedCircuit(string serviceKey)
return (Client.DedicatedCircuits.Get(serviceKey)).DedicatedCircuit;
}
- public AzureDedicatedCircuit NewAzureDedicatedCircuit(string circuitName,
+ public AzureDedicatedCircuit NewAzureDedicatedCircuit(string circuitName,
UInt32 bandwidth, string location, string serviceProviderName)
{
return (Client.DedicatedCircuits.New(new DedicatedCircuitNewParameters()
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj
index ce0aa0c4258f..fad22f253ca0 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj
@@ -209,6 +209,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{3b48a77b-5956-4a62-9081-92ba04b02b27}
Commands.Common.Test
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CommandTests/HDInsightGetCommandTests.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CommandTests/HDInsightGetCommandTests.cs
index fa6e95cb3bc9..ff0db4f6a304 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CommandTests/HDInsightGetCommandTests.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CommandTests/HDInsightGetCommandTests.cs
@@ -18,7 +18,7 @@
using Microsoft.Hadoop.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Test.HDInsight.CmdLetTests;
using Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.Utilities;
using Microsoft.WindowsAzure.Management.HDInsight;
@@ -26,6 +26,7 @@
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.ServiceLocation;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.HDInsight.CommandTests
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulator.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulator.cs
index 707b1ebc29ff..be2be604af89 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulator.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulator.cs
@@ -17,10 +17,11 @@
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.Utilities;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.Simulators
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulatorFactory.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulatorFactory.cs
index fa9d1e79a8c3..a1c485b1486c 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulatorFactory.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulatorFactory.cs
@@ -12,7 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces;
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.Simulators
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Utilities/IntegrationTestBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Utilities/IntegrationTestBase.cs
index 1b3b73b190fa..54edc408d01c 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Utilities/IntegrationTestBase.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Utilities/IntegrationTestBase.cs
@@ -21,7 +21,7 @@
using System.Security.Cryptography.X509Certificates;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.PowerShellTestAbstraction.Concretes;
using Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.PowerShellTestAbstraction.Interfaces;
@@ -35,6 +35,7 @@
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.ServiceLocation;
using Microsoft.WindowsAzure.Management.HDInsight.Framework.Core;
using Microsoft.WindowsAzure.Management.HDInsight.Logging;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.Utilities
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs
index f44e44c940b8..b5df97274f09 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs
@@ -17,13 +17,14 @@
using System.Security.Cryptography.X509Certificates;
using System.Text;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Logging;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.ServiceLocation;
using Microsoft.WindowsAzure.Management.HDInsight.Logging;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.PSCmdlets
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj
index 1b5491787cef..a9ccabd2e293 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj
@@ -322,6 +322,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/AddAzureHDInsightStorageCommand.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/AddAzureHDInsightStorageCommand.cs
index 25a1031b0912..337e4d49d2a5 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/AddAzureHDInsightStorageCommand.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/AddAzureHDInsightStorageCommand.cs
@@ -16,7 +16,7 @@
using System.Collections.ObjectModel;
using System.Threading;
using System.Threading.Tasks;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Commands.CommandInterfaces;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects;
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/UseAzureHDInsightClusterCommand.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/UseAzureHDInsightClusterCommand.cs
index ce40cf65eabf..8c7a3bd75978 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/UseAzureHDInsightClusterCommand.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/UseAzureHDInsightClusterCommand.cs
@@ -20,6 +20,7 @@
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Commands.CommandImplementations
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightClusterCommandBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightClusterCommandBase.cs
index 1b7efc87dd02..a037f725e205 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightClusterCommandBase.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightClusterCommandBase.cs
@@ -17,6 +17,7 @@
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.ServiceLocation;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandBase.cs
index b4a0ca978f5d..dee236bc6b37 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandBase.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandBase.cs
@@ -16,7 +16,7 @@
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Management.HDInsight.Framework.Core;
using Microsoft.WindowsAzure.Management.HDInsight.Logging;
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandExtensions.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandExtensions.cs
index 07e347d88d3b..c19a310bf8f2 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandExtensions.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandExtensions.cs
@@ -17,13 +17,13 @@
using System.Reflection;
using Microsoft.Hadoop.Client;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Factories;
-using Microsoft.WindowsAzure.Commands.Common.Models;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Commands.CommandImplementations;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions;
using System.Diagnostics;
+using Microsoft.Azure.Common.Extensions.Authentication;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightJobCommandExecutorBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightJobCommandExecutorBase.cs
index d2d26f9dc1a3..7d4f1c814611 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightJobCommandExecutorBase.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightJobCommandExecutorBase.cs
@@ -18,10 +18,11 @@
using System.Threading;
using Microsoft.Hadoop.Client;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.ServiceLocation;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolver.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolver.cs
index 893d8ba2b11e..e2630298b462 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolver.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolver.cs
@@ -14,7 +14,7 @@
using System;
using System.Linq;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions;
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolverFactory.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolverFactory.cs
index 0da5844a0e5b..dda48854ea49 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolverFactory.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolverFactory.cs
@@ -12,7 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces;
namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightCommandBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightCommandBase.cs
index 1817da51d5bd..1aa735f604de 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightCommandBase.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightCommandBase.cs
@@ -14,7 +14,7 @@
using System.Threading;
using System.Threading.Tasks;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolver.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolver.cs
index 365eb5274966..7a9c3aed34cc 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolver.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolver.cs
@@ -12,7 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolverFactory.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolverFactory.cs
index 9f6f04fe28d6..785b11d32e51 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolverFactory.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolverFactory.cs
@@ -12,7 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/IInvokeAzureHDInsightJobCommand.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/IInvokeAzureHDInsightJobCommand.cs
index b14ab4086fb7..56a779457f8b 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/IInvokeAzureHDInsightJobCommand.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/IInvokeAzureHDInsightJobCommand.cs
@@ -15,7 +15,7 @@
using System.Collections.ObjectModel;
using System.Threading;
using System.Threading.Tasks;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects;
using Microsoft.WindowsAzure.Management.HDInsight.Logging;
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/InvokeAzureHDInsightJobCommandBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/InvokeAzureHDInsightJobCommandBase.cs
index 1b4e22a07739..e0928f28f103 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/InvokeAzureHDInsightJobCommandBase.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/InvokeAzureHDInsightJobCommandBase.cs
@@ -21,7 +21,7 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Hadoop.Client;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Commands.BaseCommandInterfaces;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects;
using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions;
diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj
index 5d5afb66da44..263a10a59f99 100644
--- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj
+++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj
@@ -160,6 +160,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{3b48a77b-5956-4a62-9081-92ba04b02b27}
Commands.Common.Test
diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTestsBase.cs b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTestsBase.cs
index 320cd6660e95..77de25285d93 100644
--- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTestsBase.cs
+++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTestsBase.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
using Microsoft.Azure.Management.ManagedCache;
using Microsoft.WindowsAzure.Commands.ScenarioTest;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ManagedCacheEndToEndTest.json b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ManagedCacheEndToEndTest.json
index a957bbcef232..ca77a395ed58 100644
--- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ManagedCacheEndToEndTest.json
+++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ManagedCacheEndToEndTest.json
@@ -9,8 +9,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n",
@@ -47,8 +47,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -85,8 +85,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -123,8 +123,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -161,8 +161,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -199,8 +199,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -237,8 +237,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -275,8 +275,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -313,8 +313,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -351,8 +351,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -389,8 +389,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -427,8 +427,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -465,8 +465,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -503,8 +503,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -541,8 +541,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -579,8 +579,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -617,8 +617,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -655,8 +655,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -693,8 +693,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -731,8 +731,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -769,8 +769,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -807,8 +807,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -845,8 +845,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 2\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n",
@@ -883,8 +883,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "true",
@@ -918,8 +918,8 @@
"RequestBody": "\r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.0.0\r\n 1024\r\n \r\n \r\n \r\n",
"RequestHeaders": {
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
],
"x-ms-version": [
"2012-08-01"
@@ -965,8 +965,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
],
"client-tracking-id": [
"20"
@@ -1006,8 +1006,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
],
"client-tracking-id": [
"3"
@@ -1044,8 +1044,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
],
"client-tracking-id": [
"3"
@@ -1082,8 +1082,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n",
@@ -1117,8 +1117,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n",
@@ -1152,8 +1152,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 2\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n",
@@ -1187,8 +1187,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 2\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n",
@@ -1222,8 +1222,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 2\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n",
@@ -1257,8 +1257,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
],
"client-tracking-id": [
"20"
@@ -1295,8 +1295,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
],
"client-tracking-id": [
"20"
@@ -1333,8 +1333,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n YWNzOmh0dHBzOi8vb25lc2RrMjYwODQ1ODEtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC8vV1JBUHYwLjkvJm93bmVyJmk5cUEvcVp1eUpCRzZvT1gxY1k4NTAwWW4yUGNjVGROZFNianpMT29sY289Jmh0dHA6Ly9vbmVzZGsyNjA4LmNhY2hlLndpbmRvd3MubmV0Lw==\r\n YWNzOmh0dHBzOi8vb25lc2RrMjYwODQ1ODEtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC8vV1JBUHYwLjkvJm93bmVyJkpmdHpnYS9pVjJjMzF4V0tiUWlBRi9qb043SHoybVBCaUczMlhjQmUwcDA9Jmh0dHA6Ly9vbmVzZGsyNjA4LmNhY2hlLndpbmRvd3MubmV0Lw==\r\n",
@@ -1371,8 +1371,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
]
},
"ResponseBody": "\r\n YWNzOmh0dHBzOi8vb25lc2RrMjYwODQ1ODEtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC8vV1JBUHYwLjkvJm93bmVyJllLSmJFeTVvSEZvZkRmdmt6VTRqMTViWnlkNlEwbG1pUmFmZ2ZtQ2phVTQ9Jmh0dHA6Ly9vbmVzZGsyNjA4LmNhY2hlLndpbmRvd3MubmV0Lw==\r\n YWNzOmh0dHBzOi8vb25lc2RrMjYwODQ1ODEtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC8vV1JBUHYwLjkvJm93bmVyJkpmdHpnYS9pVjJjMzF4V0tiUWlBRi9qb043SHoybVBCaUczMlhjQmUwcDA9Jmh0dHA6Ly9vbmVzZGsyNjA4LmNhY2hlLndpbmRvd3MubmV0Lw==\r\n",
@@ -1409,8 +1409,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
],
"client-tracking-id": [
"40"
@@ -1447,8 +1447,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
],
"client-tracking-id": [
"40"
@@ -1485,8 +1485,8 @@
"2012-08-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.11",
- "AzurePowershell/v0.8.11"
+ "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.12",
+ "AzurePowershell/v0.8.12"
],
"client-tracking-id": [
"40"
diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj
index 1aeed4f80c51..6191b85ddc9e 100644
--- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj
+++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj
@@ -138,6 +138,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{CD5AA507-F5EF-473D-855B-84B91A1ABE54}
Commands
diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/PSCacheClient.cs b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/PSCacheClient.cs
index 9eb6f3f20df5..a2638475cde2 100644
--- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/PSCacheClient.cs
+++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/PSCacheClient.cs
@@ -24,8 +24,9 @@
using Microsoft.Azure.Management.ManagedCache.Models;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.ManagedCache
{
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/Commands.Network.Test.csproj b/src/ServiceManagement/Network/Commands.Network.Test/Commands.Network.Test.csproj
index 70a0695d54b3..ce47d125cc78 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/Commands.Network.Test.csproj
+++ b/src/ServiceManagement/Network/Commands.Network.Test/Commands.Network.Test.csproj
@@ -80,34 +80,10 @@
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll
-
- False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
-
-
- ..\..\..\packages\Microsoft.WindowsAzure.Management.MediaServices.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.MediaServices.dll
-
-
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Monitoring.1.0.0\lib\net40\Microsoft.WindowsAzure.Management.Monitoring.dll
-
-
- False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.1.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
-
-
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Scheduler.3.0.0\lib\net40\Microsoft.WindowsAzure.Management.Scheduler.dll
-
-
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Sql.3.0.0\lib\net40\Microsoft.WindowsAzure.Management.Sql.dll
-
-
- False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll
-
-
- ..\..\..\packages\Microsoft.WindowsAzure.Management.WebSites.3.0.0\lib\net40\Microsoft.WindowsAzure.Management.WebSites.dll
+
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.3.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
False
@@ -176,6 +152,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/Common.ps1 b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/Common.ps1
index a5159eda70ef..72704bb9d806 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/Common.ps1
+++ b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/Common.ps1
@@ -62,7 +62,7 @@ Creates a Security Group.
#>
function New-NetworkSecurityGroup
{
- param([string] $securityGroupName)
+ param([string] $securityGroupName, [string] $location = $location)
New-AzureNetworkSecurityGroup -Name $securityGroupName -Location $location -Label $NSGLabel
}
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NSGScenarioTests.cs b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NSGScenarioTests.cs
index 76088876f3c2..bbd2fc043116 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NSGScenarioTests.cs
+++ b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NSGScenarioTests.cs
@@ -25,6 +25,7 @@ namespace Microsoft.Azure.Commands.Network.Test.ScenarioTests
using Microsoft.WindowsAzure.Testing;
using Xunit;
using Microsoft.WindowsAzure.Management;
+ using Microsoft.Azure.Common.Extensions;
public class NSGScenarioTests
{
@@ -99,6 +100,14 @@ public void TestRemoveNSGFromSubnet()
this.RunPowerShellTest("Test-RemoveNetworkSecurityGroupFromSubnet");
}
+ [Fact]
+ [Trait(Category.Service, Category.Network)]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestSetNSGToSubnetInDiffRegion()
+ {
+ this.RunPowerShellTest("Test-SetNetworkSecurityGroupToSubnetInDifferentRegion");
+ }
+
#region Test setup
protected void SetupManagementClients()
{
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NetworkSecurityGroupTests.ps1 b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NetworkSecurityGroupTests.ps1
index 661cec11cb1c..faccb5a544c6 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NetworkSecurityGroupTests.ps1
+++ b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NetworkSecurityGroupTests.ps1
@@ -174,6 +174,24 @@ function Test-SetAndGetNetworkSecurityGroupForSubnet
Assert-AreEqual $securityGroupFromSubnet.Name $securityGroupName
}
+<#
+.SYNOPSIS
+Tests Set and Get-AzureNetworkSecurityGroupForSubnet
+#>
+function Test-SetNetworkSecurityGroupToSubnetInDifferentRegion
+{
+ # Setup
+ $securityGroupName = Get-SecurityGroupName
+ $securityRuleName = Get-SecurityRuleName
+ $securityGroupLocation = $locations[1].Name
+ $createdSecurityGroup = New-NetworkSecurityGroup $securityGroupName $securityGroupLocation
+ Set-AzureVNetConfig ($(Get-Location).Path + "\TestData\SimpleNetworkConfiguration.xml")
+
+ # Assert
+ $expectedMessage = "BadRequest : The region europewest specified for the Network Security Group $securityGroupName is different than the region europenorth that Virtual Network $VirtualNetworkName belongs to, they need to belong to the same region."
+ Assert-Throws { Set-AzureNetworkSecurityGroupToSubnet -Name $securityGroupName -VirtualNetwork $VirtualNetworkName -Subnet $SubnetName -Force } $expectedMessage
+}
+
########################## Remove Network Security Group for Subnet Tests #############################
<#
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTestsBase.cs b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTestsBase.cs
index 36be43cff76b..3c80c9221637 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTestsBase.cs
+++ b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTestsBase.cs
@@ -18,6 +18,7 @@
namespace Microsoft.Azure.Commands.Network.Test.ScenarioTests
{
+ using Microsoft.Azure.Common.Extensions;
using WindowsAzure.Management.Network;
public abstract class NetworkTestsBase
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/.ctor.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/.ctor.json
index e434c612391f..1f6d0a6fc915 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/.ctor.json
+++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/.ctor.json
@@ -1,308 +1,387 @@
{
"Entries": [
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/locations",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9sb2NhdGlvbnM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.9"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n",
+ "ResponseBody": "\r\n \r\n North Europe\r\n North Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West Europe\r\n West Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US 2\r\n East US 2\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Central US\r\n Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n South Central US\r\n South Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US\r\n East US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Southeast Asia\r\n Southeast Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East Asia\r\n East Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan West\r\n Japan West\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan East\r\n Japan East\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Brazil South\r\n Brazil South\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "23545"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "90002b98149e23708e876b3156f8ffff"
+ "8273f0fe450530c39de7ede5b3e1c08e"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:21:03 GMT"
+ "Fri, 05 Dec 2014 00:59:40 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/90002b98149e23708e876b3156f8ffff",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzkwMDAyYjk4MTQ5ZTIzNzA4ZTg3NmIzMTU2ZjhmZmZm",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/8273f0fe450530c39de7ede5b3e1c08e",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzgyNzNmMGZlNDUwNTMwYzM5ZGU3ZWRlNWIzZTFjMDhl",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.9"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n 90002b98-149e-2370-8e87-6b3156f8ffff\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 8273f0fe-4505-30c3-9de7-ede5b3e1c08e\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "b393774b1823282495a2aa9d3da192f2"
+ "fb9419bcb289308d911bbab9e27619f7"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:21:04 GMT"
+ "Fri, 05 Dec 2014 00:59:40 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/media",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL21lZGlh",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/media",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL21lZGlh",
"RequestMethod": "PUT",
"RequestBody": "\r\n \r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/octet-stream"
+ ],
+ "Content-Length": [
+ "257"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "159"
+ "191"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "324579022e8f206f904ab0ba78c2d7a2"
+ "17db8e1adab23373b0c14c4f0dbc3488"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:21:05 GMT"
+ "Fri, 05 Dec 2014 00:59:41 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/324579022e8f206f904ab0ba78c2d7a2",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzMyNDU3OTAyMmU4ZjIwNmY5MDRhYjBiYTc4YzJkN2Ey",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/17db8e1adab23373b0c14c4f0dbc3488",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzE3ZGI4ZTFhZGFiMjMzNzNiMGMxNGM0ZjBkYmMzNDg4",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "159"
+ "191"
]
},
- "ResponseBody": "\r\n 32457902-2e8f-206f-904a-b0ba78c2d7a2\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 17db8e1a-dab2-3373-b0c1-4c4f0dbc3488\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "f92a5bb2b4f92de4848df93dc9874c37"
+ "aef8332191be31d7a20cc61b4c805f67"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:21:06 GMT"
+ "Fri, 05 Dec 2014 00:59:41 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/324579022e8f206f904ab0ba78c2d7a2",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzMyNDU3OTAyMmU4ZjIwNmY5MDRhYjBiYTc4YzJkN2Ey",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/17db8e1adab23373b0c14c4f0dbc3488",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzE3ZGI4ZTFhZGFiMjMzNzNiMGMxNGM0ZjBkYmMzNDg4",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "159"
+ "191"
]
},
- "ResponseBody": "\r\n 32457902-2e8f-206f-904a-b0ba78c2d7a2\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 17db8e1a-dab2-3373-b0c1-4c4f0dbc3488\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "f2eae6b827652987be0f92f023dc9583"
+ "82c05320576f357896af46afb979a557"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:21:37 GMT"
+ "Fri, 05 Dec 2014 01:00:11 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n \r\n NetworkTests1329\r\n \r\n North Central US\r\n \r\n \r\n NetworkTests2209\r\n \r\n North Central US\r\n \r\n \r\n NetworkTests8401\r\n \r\n North Central US\r\n \r\n \r\n onesdk6910\r\n \r\n North Central US\r\n \r\n \r\n randomName\r\n \r\n West US\r\n \r\n \r\n randomName2\r\n \r\n West US\r\n \r\n \r\n securityGroupName\r\n North Central US\r\n \r\n",
+ "ResponseBody": "\r\n \r\n nsginus\r\n West US\r\n \r\n \r\n onesdk2556\r\n \r\n North Europe\r\n \r\n \r\n testnsg\r\n North Europe\r\n \r\n \r\n testnsg2\r\n North Europe\r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "572"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "b30a7959cd72240387e1021cce3cb18b"
+ "acf3e75df97a3284b5d54ae619cdbf6e"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:21:37 GMT"
+ "Fri, 05 Dec 2014 01:00:12 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEw",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk2556",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNTU2",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "164"
+ "196"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "88cb4014c7062302b8aa0c49f0d04f81"
+ "8db21b11f6a530fdba15695c91f9bc42"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:21:39 GMT"
+ "Fri, 05 Dec 2014 01:00:13 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/88cb4014c7062302b8aa0c49f0d04f81",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzg4Y2I0MDE0YzcwNjIzMDJiOGFhMGM0OWYwZDA0Zjgx",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/8db21b11f6a530fdba15695c91f9bc42",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzhkYjIxYjExZjZhNTMwZmRiYTE1Njk1YzkxZjliYzQy",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "164"
+ "196"
]
},
- "ResponseBody": "\r\n 88cb4014-c706-2302-b8aa-0c49f0d04f81\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 8db21b11-f6a5-30fd-ba15-695c91f9bc42\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "909d028dea1e2bf395c6245044aa3673"
+ "e53d550cf349354c9fbcd3f84283b88c"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:21:39 GMT"
+ "Fri, 05 Dec 2014 01:00:13 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/88cb4014c7062302b8aa0c49f0d04f81",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzg4Y2I0MDE0YzcwNjIzMDJiOGFhMGM0OWYwZDA0Zjgx",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/8db21b11f6a530fdba15695c91f9bc42",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzhkYjIxYjExZjZhNTMwZmRiYTE1Njk1YzkxZjliYzQy",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "164"
+ "196"
]
},
- "ResponseBody": "\r\n 88cb4014-c706-2302-b8aa-0c49f0d04f81\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 8db21b11-f6a5-30fd-ba15-695c91f9bc42\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "ff2171d6253d269b86adf91750ef38e2"
+ "82efac1eed3039678ac33d199defa8ab"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:22:11 GMT"
+ "Fri, 05 Dec 2014 01:00:43 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
@@ -310,5 +389,7 @@
}
],
"Names": {},
- "Variables": {}
+ "Variables": {
+ "SubscriptionId": "0a312069-c667-43e9-97c0-d104eced63f7"
+ }
}
\ No newline at end of file
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestCreateAndRemoveNSG.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestCreateAndRemoveNSG.json
index 836d6b9de054..9a259b676523 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestCreateAndRemoveNSG.json
+++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestCreateAndRemoveNSG.json
@@ -1,340 +1,428 @@
{
"Entries": [
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/locations",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9sb2NhdGlvbnM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n",
+ "ResponseBody": "\r\n \r\n North Europe\r\n North Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West Europe\r\n West Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US 2\r\n East US 2\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Central US\r\n Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n South Central US\r\n South Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US\r\n East US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Southeast Asia\r\n Southeast Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East Asia\r\n East Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan West\r\n Japan West\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan East\r\n Japan East\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Brazil South\r\n Brazil South\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "23545"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "0d407ff22cad25f59565671c2ebbb224"
+ "259797ccaf323a688b492e156d088305"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:15:46 GMT"
+ "Fri, 05 Dec 2014 00:55:52 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/0d407ff22cad25f59565671c2ebbb224",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzBkNDA3ZmYyMmNhZDI1ZjU5NTY1NjcxYzJlYmJiMjI0",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/259797ccaf323a688b492e156d088305",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzI1OTc5N2NjYWYzMjNhNjg4YjQ5MmUxNTZkMDg4MzA1",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n 0d407ff2-2cad-25f5-9565-671c2ebbb224\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 259797cc-af32-3a68-8b49-2e156d088305\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "b6c57592e54c2a45b5aa08a834f09150"
+ "c2515a4870dd31df9d0138be108a4984"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:15:46 GMT"
+ "Fri, 05 Dec 2014 00:55:52 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
"RequestMethod": "POST",
- "RequestBody": "\r\n onesdk1679\r\n \r\n North Central US\r\n",
+ "RequestBody": "\r\n onesdk2502\r\n \r\n North Europe\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "197"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "102"
+ "152"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "7a7f3df488782f86860b8d61a2259e32"
+ "22273f5b05e4361db48e90434bd99f63"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:15:47 GMT"
+ "Fri, 05 Dec 2014 00:55:55 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/7a7f3df488782f86860b8d61a2259e32",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzdhN2YzZGY0ODg3ODJmODY4NjBiOGQ2MWEyMjU5ZTMy",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/22273f5b05e4361db48e90434bd99f63",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzIyMjczZjViMDVlNDM2MWRiNDhlOTA0MzRiZDk5ZjYz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "102"
+ "152"
]
},
- "ResponseBody": "\r\n 7a7f3df4-8878-2f86-860b-8d61a2259e32\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 22273f5b-05e4-361d-b48e-90434bd99f63\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "39ea466914b02d28bb7fdea820359b23"
+ "5e3f32d0bf0231dd88be49aab9c2bf5a"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:15:48 GMT"
+ "Fri, 05 Dec 2014 00:55:55 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/7a7f3df488782f86860b8d61a2259e32",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzdhN2YzZGY0ODg3ODJmODY4NjBiOGQ2MWEyMjU5ZTMy",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/22273f5b05e4361db48e90434bd99f63",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzIyMjczZjViMDVlNDM2MWRiNDhlOTA0MzRiZDk5ZjYz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "102"
+ "152"
]
},
- "ResponseBody": "\r\n 7a7f3df4-8878-2f86-860b-8d61a2259e32\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 22273f5b-05e4-361d-b48e-90434bd99f63\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "827297175ba4208a9e9bf85b1d7279bb"
+ "12a7839dfb3e39b985648a2fb0b25dae"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:16:18 GMT"
+ "Fri, 05 Dec 2014 00:56:25 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk1679?",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsxNjc5Pw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk2502?",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNTAyPw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk1679\r\n \r\n North Central US\r\n",
+ "ResponseBody": "\r\n onesdk2502\r\n \r\n North Europe\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "235"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "0ffac78a638920b8bd7c5d09dc033389"
+ "5ea806de316d3d95b40de852689f91b5"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:16:18 GMT"
+ "Fri, 05 Dec 2014 00:56:27 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk1679?",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsxNjc5Pw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk2502?",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNTAyPw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n ResourceNotFound\r\n The Network Security Group onesdk1679 does not exist.\r\n",
+ "ResponseBody": "\r\n ResourceNotFound\r\n The Network Security Group onesdk2502 does not exist.\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "218"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "398ac1ad62cc21ce99fa1b36913437ec"
+ "de68657991ac3f3d896358ea6a73f8c6"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:16:52 GMT"
+ "Fri, 05 Dec 2014 00:56:58 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 404
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk1679",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsxNjc5",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk2502",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNTAy",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "107"
+ "157"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "3eb11b0270b9259d9544ef65793df3a3"
+ "e0d80715528f3c0c982ca6b5c6064984"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:16:21 GMT"
+ "Fri, 05 Dec 2014 00:56:27 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/3eb11b0270b9259d9544ef65793df3a3",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzNlYjExYjAyNzBiOTI1OWQ5NTQ0ZWY2NTc5M2RmM2Ez",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/e0d80715528f3c0c982ca6b5c6064984",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2UwZDgwNzE1NTI4ZjNjMGM5ODJjYTZiNWM2MDY0OTg0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "107"
+ "157"
]
},
- "ResponseBody": "\r\n 3eb11b02-70b9-259d-9544-ef65793df3a3\r\n InProgress\r\n",
+ "ResponseBody": "\r\n e0d80715-528f-3c0c-982c-a6b5c6064984\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "b0e953d8f6022f1186afe8bb335f195f"
+ "79639964a3e23b868e5817d7796ce80b"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:16:21 GMT"
+ "Fri, 05 Dec 2014 00:56:27 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/3eb11b0270b9259d9544ef65793df3a3",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzNlYjExYjAyNzBiOTI1OWQ5NTQ0ZWY2NTc5M2RmM2Ez",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/e0d80715528f3c0c982ca6b5c6064984",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2UwZDgwNzE1NTI4ZjNjMGM5ODJjYTZiNWM2MDY0OTg0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "107"
+ "157"
]
},
- "ResponseBody": "\r\n 3eb11b02-70b9-259d-9544-ef65793df3a3\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n e0d80715-528f-3c0c-982c-a6b5c6064984\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "ffde9c0d9e332aad8514f565b0ed4a86"
+ "07435a66f01238278b93a58b49ca15ed"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:16:52 GMT"
+ "Fri, 05 Dec 2014 00:56:57 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
@@ -343,8 +431,10 @@
],
"Names": {
"Test-CreateAndRemoveNetworkSecurityGroup": [
- "onesdk1679"
+ "onesdk2502"
]
},
- "Variables": {}
+ "Variables": {
+ "SubscriptionId": "0a312069-c667-43e9-97c0-d104eced63f7"
+ }
}
\ No newline at end of file
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestGetMultipleNSGs.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestGetMultipleNSGs.json
index 546b22136bc9..62189cca6126 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestGetMultipleNSGs.json
+++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestGetMultipleNSGs.json
@@ -1,372 +1,475 @@
{
"Entries": [
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/locations",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9sb2NhdGlvbnM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n",
+ "ResponseBody": "\r\n \r\n North Europe\r\n North Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West Europe\r\n West Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US 2\r\n East US 2\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Central US\r\n Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n South Central US\r\n South Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US\r\n East US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Southeast Asia\r\n Southeast Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East Asia\r\n East Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan West\r\n Japan West\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan East\r\n Japan East\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Brazil South\r\n Brazil South\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "23545"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "09de9bf1f1ea2e6aae48f361daaa888c"
+ "bb85d55cc5473758944a9237d0a809aa"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:07:37 GMT"
+ "Fri, 05 Dec 2014 00:44:25 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/09de9bf1f1ea2e6aae48f361daaa888c",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzA5ZGU5YmYxZjFlYTJlNmFhZTQ4ZjM2MWRhYWE4ODhj",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/bb85d55cc5473758944a9237d0a809aa",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2JiODVkNTVjYzU0NzM3NTg5NDRhOTIzN2QwYTgwOWFh",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n 09de9bf1-f1ea-2e6a-ae48-f361daaa888c\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n bb85d55c-c547-3758-944a-9237d0a809aa\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "2eaa925dfcb7219989b97532cb426198"
+ "4a914ea1c89139bd88220ae006a23f54"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:07:39 GMT"
+ "Fri, 05 Dec 2014 00:44:25 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
"RequestMethod": "POST",
- "RequestBody": "\r\n onesdk2651\r\n \r\n North Central US\r\n",
+ "RequestBody": "\r\n onesdk59791\r\n \r\n North Europe\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "198"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "23"
+ "27"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "c367e0ab21a224fcb49991b5624e035e"
+ "487e37aa3ea63c2bbf0ce6edb5b864f5"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:07:40 GMT"
+ "Fri, 05 Dec 2014 00:44:24 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
"RequestMethod": "POST",
- "RequestBody": "\r\n onesdk42982\r\n \r\n North Central US\r\n",
+ "RequestBody": "\r\n onesdk18402\r\n \r\n North Europe\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "198"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "28"
+ "32"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "a8cc7aff277829a2abc2579385e146d5"
+ "4cb2bd7092f433f1973c0dac05a2d21e"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:08:13 GMT"
+ "Fri, 05 Dec 2014 00:44:57 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/c367e0ab21a224fcb49991b5624e035e",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2MzNjdlMGFiMjFhMjI0ZmNiNDk5OTFiNTYyNGUwMzVl",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/487e37aa3ea63c2bbf0ce6edb5b864f5",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzQ4N2UzN2FhM2VhNjNjMmJiZjBjZTZlZGI1Yjg2NGY1",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "23"
+ "27"
]
},
- "ResponseBody": "\r\n c367e0ab-21a2-24fc-b499-91b5624e035e\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 487e37aa-3ea6-3c2b-bf0c-e6edb5b864f5\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "1081ac6504782bcd81399a3d3a39e5b6"
+ "45c73b8b4ca731c2bfaf7418e4a738a6"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:07:40 GMT"
+ "Fri, 05 Dec 2014 00:44:25 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/c367e0ab21a224fcb49991b5624e035e",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2MzNjdlMGFiMjFhMjI0ZmNiNDk5OTFiNTYyNGUwMzVl",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/487e37aa3ea63c2bbf0ce6edb5b864f5",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzQ4N2UzN2FhM2VhNjNjMmJiZjBjZTZlZGI1Yjg2NGY1",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "23"
+ "27"
]
},
- "ResponseBody": "\r\n c367e0ab-21a2-24fc-b499-91b5624e035e\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 487e37aa-3ea6-3c2b-bf0c-e6edb5b864f5\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "b3fe1bc771462d08b0143b9edfb0f494"
+ "fdde9017f7ef322b9a03fc28ceb34964"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:08:11 GMT"
+ "Fri, 05 Dec 2014 00:44:55 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk2651?",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNjUxPw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk59791?",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs1OTc5MT8=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk2651\r\n \r\n North Central US\r\n",
+ "ResponseBody": "\r\n onesdk59791\r\n \r\n North Europe\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "236"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "67f68f88248a2de38a60c8807f246d9e"
+ "fb592d7f705931278acee9c32a497d5e"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:08:12 GMT"
+ "Fri, 05 Dec 2014 00:44:55 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/a8cc7aff277829a2abc2579385e146d5",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2E4Y2M3YWZmMjc3ODI5YTJhYmMyNTc5Mzg1ZTE0NmQ1",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/4cb2bd7092f433f1973c0dac05a2d21e",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzRjYjJiZDcwOTJmNDMzZjE5NzNjMGRhYzA1YTJkMjFl",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "28"
+ "32"
]
},
- "ResponseBody": "\r\n a8cc7aff-2778-29a2-abc2-579385e146d5\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 4cb2bd70-92f4-33f1-973c-0dac05a2d21e\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "3bacc4315f592dc68942b3c8aea41143"
+ "047ef52b98d439e381aa5dd9c15a0c9b"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:08:13 GMT"
+ "Fri, 05 Dec 2014 00:44:57 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/a8cc7aff277829a2abc2579385e146d5",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2E4Y2M3YWZmMjc3ODI5YTJhYmMyNTc5Mzg1ZTE0NmQ1",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/4cb2bd7092f433f1973c0dac05a2d21e",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzRjYjJiZDcwOTJmNDMzZjE5NzNjMGRhYzA1YTJkMjFl",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "28"
+ "32"
]
},
- "ResponseBody": "\r\n a8cc7aff-2778-29a2-abc2-579385e146d5\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 4cb2bd70-92f4-33f1-973c-0dac05a2d21e\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "b877edddef092c20aef8a0fb86e1d14c"
+ "4e4460debdbb37d1b36d65b9f00e17b5"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:08:45 GMT"
+ "Fri, 05 Dec 2014 00:45:27 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk42982?",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs0Mjk4Mj8=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk18402?",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsxODQwMj8=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk42982\r\n \r\n North Central US\r\n",
+ "ResponseBody": "\r\n onesdk18402\r\n \r\n North Europe\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "236"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "382f9285bebf242384f3636cf183e894"
+ "9ddce69d966c3585a0d4c246a135799b"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:08:45 GMT"
+ "Fri, 05 Dec 2014 00:45:27 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n \r\n NetworkTests1329\r\n \r\n North Central US\r\n \r\n \r\n NetworkTests2209\r\n \r\n North Central US\r\n \r\n \r\n NetworkTests8401\r\n \r\n North Central US\r\n \r\n \r\n onesdk2651\r\n \r\n North Central US\r\n \r\n \r\n onesdk42982\r\n \r\n North Central US\r\n \r\n \r\n randomName\r\n \r\n West US\r\n \r\n \r\n randomName2\r\n \r\n West US\r\n \r\n \r\n securityGroupName\r\n North Central US\r\n \r\n",
+ "ResponseBody": "\r\n \r\n nsginus\r\n West US\r\n \r\n \r\n onesdk18402\r\n \r\n North Europe\r\n \r\n \r\n onesdk59791\r\n \r\n North Europe\r\n \r\n \r\n testnsg\r\n North Europe\r\n \r\n \r\n testnsg2\r\n North Europe\r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "707"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth"
+ ],
"x-ms-request-id": [
- "f63509d2028b29ac8b3d10c0670f5d99"
+ "c868b6083aba3a3fbfa3c37180319bb0"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:08:46 GMT"
+ "Fri, 05 Dec 2014 00:45:30 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
@@ -375,9 +478,11 @@
],
"Names": {
"Test-GetMultipleNetworkSecurityGroups": [
- "onesdk265",
- "onesdk4298"
+ "onesdk5979",
+ "onesdk1840"
]
},
- "Variables": {}
+ "Variables": {
+ "SubscriptionId": "0a312069-c667-43e9-97c0-d104eced63f7"
+ }
}
\ No newline at end of file
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGFromSubnet.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGFromSubnet.json
index 0e970391d928..d40491145208 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGFromSubnet.json
+++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGFromSubnet.json
@@ -1,550 +1,698 @@
{
"Entries": [
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/locations",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9sb2NhdGlvbnM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n",
+ "ResponseBody": "\r\n \r\n North Europe\r\n North Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West Europe\r\n West Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US 2\r\n East US 2\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Central US\r\n Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n South Central US\r\n South Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US\r\n East US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Southeast Asia\r\n Southeast Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East Asia\r\n East Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan West\r\n Japan West\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan East\r\n Japan East\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Brazil South\r\n Brazil South\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "23545"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "ecf4a0e8cf8126b8895752a2c9edba99"
+ "7ddb9a25702c3ac0b5d44f4f47a557b1"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:22:12 GMT"
+ "Fri, 05 Dec 2014 00:57:34 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/ecf4a0e8cf8126b8895752a2c9edba99",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2VjZjRhMGU4Y2Y4MTI2Yjg4OTU3NTJhMmM5ZWRiYTk5",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/7ddb9a25702c3ac0b5d44f4f47a557b1",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzdkZGI5YTI1NzAyYzNhYzBiNWQ0NGY0ZjQ3YTU1N2Ix",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n ecf4a0e8-cf81-26b8-8957-52a2c9edba99\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 7ddb9a25-702c-3ac0-b5d4-4f4f47a557b1\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "76fe2c744f302dcba5626dc552bdc444"
+ "6fef415d87e73ee7a42f4424f9a352bf"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:22:12 GMT"
+ "Fri, 05 Dec 2014 00:57:34 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
"RequestMethod": "POST",
- "RequestBody": "\r\n onesdk4044\r\n \r\n North Central US\r\n",
+ "RequestBody": "\r\n onesdk2556\r\n \r\n North Europe\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "197"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "170"
+ "171"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "1854d0dbd8bd26e49be374d38e0015dd"
+ "a3fda01716bc3666a6489125a3c32bfa"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:22:14 GMT"
+ "Fri, 05 Dec 2014 00:57:33 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/1854d0dbd8bd26e49be374d38e0015dd",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzE4NTRkMGRiZDhiZDI2ZTQ5YmUzNzRkMzhlMDAxNWRk",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/a3fda01716bc3666a6489125a3c32bfa",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2EzZmRhMDE3MTZiYzM2NjZhNjQ4OTEyNWEzYzMyYmZh",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "170"
+ "171"
]
},
- "ResponseBody": "\r\n 1854d0db-d8bd-26e4-9be3-74d38e0015dd\r\n InProgress\r\n",
+ "ResponseBody": "\r\n a3fda017-16bc-3666-a648-9125a3c32bfa\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "ae56e1b9d4752e9482602575e95ce4dc"
+ "2665dddca1f03c5c8c7ea1ba5d91f9db"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:22:15 GMT"
+ "Fri, 05 Dec 2014 00:57:33 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/1854d0dbd8bd26e49be374d38e0015dd",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzE4NTRkMGRiZDhiZDI2ZTQ5YmUzNzRkMzhlMDAxNWRk",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/a3fda01716bc3666a6489125a3c32bfa",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2EzZmRhMDE3MTZiYzM2NjZhNjQ4OTEyNWEzYzMyYmZh",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "170"
+ "171"
]
},
- "ResponseBody": "\r\n 1854d0db-d8bd-26e4-9be3-74d38e0015dd\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n a3fda017-16bc-3666-a648-9125a3c32bfa\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "58ca27fd4bc62eceba824ba3db9d1409"
+ "20c88c4baba63d8ea1723fe55e044968"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:22:46 GMT"
+ "Fri, 05 Dec 2014 00:58:04 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk4044?",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs0MDQ0Pw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk2556?",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNTU2Pw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk4044\r\n \r\n North Central US\r\n",
+ "ResponseBody": "\r\n onesdk2556\r\n \r\n North Europe\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "235"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "0ecc3617889b2ff898db50f443fbcda8"
+ "a9350c50d100335d9ddbd9fb1da82a0b"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:22:46 GMT"
+ "Fri, 05 Dec 2014 00:58:04 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/media",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL21lZGlh",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/media",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL21lZGlh",
"RequestMethod": "PUT",
- "RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 192.168.100.0/24\r\n \r\n \r\n \r\n 192.168.100.0/28\r\n \r\n \r\n \r\n \r\n \r\n \r\n",
+ "RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 192.168.100.0/24\r\n \r\n \r\n \r\n 192.168.100.0/28\r\n \r\n \r\n \r\n \r\n \r\n \r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/octet-stream"
+ ],
+ "Content-Length": [
+ "766"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "175"
+ "176"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "2ab9cc53081a2347be1249a56ae6f79b"
+ "6cd67436d75934d0bc8e977aa0db564c"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:22:48 GMT"
+ "Fri, 05 Dec 2014 00:58:05 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/2ab9cc53081a2347be1249a56ae6f79b",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzJhYjljYzUzMDgxYTIzNDdiZTEyNDlhNTZhZTZmNzli",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/6cd67436d75934d0bc8e977aa0db564c",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzZjZDY3NDM2ZDc1OTM0ZDBiYzhlOTc3YWEwZGI1NjRj",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "175"
+ "176"
]
},
- "ResponseBody": "\r\n 2ab9cc53-081a-2347-be12-49a56ae6f79b\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 6cd67436-d759-34d0-bc8e-977aa0db564c\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "3c9ceccb5f66280ca857247e2fec7802"
+ "6ff150caef803140b907e03b76c37736"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:22:49 GMT"
+ "Fri, 05 Dec 2014 00:58:06 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/2ab9cc53081a2347be1249a56ae6f79b",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzJhYjljYzUzMDgxYTIzNDdiZTEyNDlhNTZhZTZmNzli",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/6cd67436d75934d0bc8e977aa0db564c",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzZjZDY3NDM2ZDc1OTM0ZDBiYzhlOTc3YWEwZGI1NjRj",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "175"
+ "176"
]
},
- "ResponseBody": "\r\n 2ab9cc53-081a-2347-be12-49a56ae6f79b\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 6cd67436-d759-34d0-bc8e-977aa0db564c\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "a65298c24ca62f5283cf6333f96ea7d9"
+ "98fa4554c8d23b5f8f98081bf658f679"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:23:20 GMT"
+ "Fri, 05 Dec 2014 00:58:35 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=",
"RequestMethod": "POST",
- "RequestBody": "\r\n onesdk4044\r\n",
+ "RequestBody": "\r\n onesdk2556\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "124"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "179"
+ "180"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "4a2af08e3aac2fefac5e34336c578ccb"
+ "fe0c4bf0d03d34138b5fa048bed62e32"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:23:21 GMT"
+ "Fri, 05 Dec 2014 00:58:37 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/4a2af08e3aac2fefac5e34336c578ccb",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzRhMmFmMDhlM2FhYzJmZWZhYzVlMzQzMzZjNTc4Y2Ni",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/fe0c4bf0d03d34138b5fa048bed62e32",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2ZlMGM0YmYwZDAzZDM0MTM4YjVmYTA0OGJlZDYyZTMy",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "179"
+ "180"
]
},
- "ResponseBody": "\r\n 4a2af08e-3aac-2fef-ac5e-34336c578ccb\r\n InProgress\r\n",
+ "ResponseBody": "\r\n fe0c4bf0-d03d-3413-8b5f-a048bed62e32\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "778cd93289a6273e9720a8bb0afe05bb"
+ "16ba0edd93793744b6adf211879794b9"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:23:21 GMT"
+ "Fri, 05 Dec 2014 00:58:37 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/4a2af08e3aac2fefac5e34336c578ccb",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzRhMmFmMDhlM2FhYzJmZWZhYzVlMzQzMzZjNTc4Y2Ni",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/fe0c4bf0d03d34138b5fa048bed62e32",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2ZlMGM0YmYwZDAzZDM0MTM4YjVmYTA0OGJlZDYyZTMy",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "179"
+ "180"
]
},
- "ResponseBody": "\r\n 4a2af08e-3aac-2fef-ac5e-34336c578ccb\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n fe0c4bf0-d03d-3413-8b5f-a048bed62e32\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "c35b2fd4ced22730b53e76af270c3807"
+ "224e1bcd261333ddbf57b7c9b0cc7c94"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:23:52 GMT"
+ "Fri, 05 Dec 2014 00:59:07 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups/onesdk4044",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHMvb25lc2RrNDA0NA==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups/onesdk2556",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHMvb25lc2RrMjU1Ng==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "183"
+ "184"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "54bfb8588df5206e98e8b8cb1c6338bf"
+ "800a510a623634e79bf04a95fa212a41"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:23:53 GMT"
+ "Fri, 05 Dec 2014 00:59:08 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/54bfb8588df5206e98e8b8cb1c6338bf",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzU0YmZiODU4OGRmNTIwNmU5OGU4YjhjYjFjNjMzOGJm",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/800a510a623634e79bf04a95fa212a41",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzgwMGE1MTBhNjIzNjM0ZTc5YmYwNGE5NWZhMjEyYTQx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "183"
+ "184"
]
},
- "ResponseBody": "\r\n 54bfb858-8df5-206e-98e8-b8cb1c6338bf\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 800a510a-6236-34e7-9bf0-4a95fa212a41\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "e646b503dc5b2875983d5d7295d820ce"
+ "3a80363ab53c3e9aa3e0b1d065759ad0"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:23:53 GMT"
+ "Fri, 05 Dec 2014 00:59:08 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/54bfb8588df5206e98e8b8cb1c6338bf",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzU0YmZiODU4OGRmNTIwNmU5OGU4YjhjYjFjNjMzOGJm",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/800a510a623634e79bf04a95fa212a41",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzgwMGE1MTBhNjIzNjM0ZTc5YmYwNGE5NWZhMjEyYTQx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "183"
+ "184"
]
},
- "ResponseBody": "\r\n 54bfb858-8df5-206e-98e8-b8cb1c6338bf\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 800a510a-6236-34e7-9bf0-4a95fa212a41\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "e5230997c4272736a4a1a0796222a405"
+ "83665de2cdfb37ea9f65b99a8b67d478"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:24:24 GMT"
+ "Fri, 05 Dec 2014 00:59:38 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
"ResponseBody": "\r\n ResourceNotFound\r\n The virtual network name VirtualNetworkSiteName and subnet FrontEndSubnet does not have any network security group assigned.\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "289"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "1b00b9dfa8622e66bdb05769a7058de1"
+ "655b5af477c837dbb1aa92bcd1cce162"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:24:25 GMT"
+ "Fri, 05 Dec 2014 00:59:39 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
"Microsoft-HTTPAPI/2.0"
]
},
@@ -553,9 +701,11 @@
],
"Names": {
"Test-RemoveNetworkSecurityGroupFromSubnet": [
- "onesdk4044",
- "onesdk3927"
+ "onesdk2556",
+ "onesdk2364"
]
},
- "Variables": {}
+ "Variables": {
+ "SubscriptionId": "0a312069-c667-43e9-97c0-d104eced63f7"
+ }
}
\ No newline at end of file
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGWithNonExistingName.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGWithNonExistingName.json
index 131b42daca57..2f26b8baae14 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGWithNonExistingName.json
+++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGWithNonExistingName.json
@@ -1,171 +1,211 @@
{
"Entries": [
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/locations",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9sb2NhdGlvbnM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n",
+ "ResponseBody": "\r\n \r\n North Europe\r\n North Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West Europe\r\n West Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US 2\r\n East US 2\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Central US\r\n Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n South Central US\r\n South Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US\r\n East US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Southeast Asia\r\n Southeast Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East Asia\r\n East Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan West\r\n Japan West\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan East\r\n Japan East\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Brazil South\r\n Brazil South\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "23545"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "b0ae91864926292e998df1c64a1fe1b6"
+ "12307e81cbf43b58a4a422e8a771bb1e"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:06:27 GMT"
+ "Fri, 05 Dec 2014 00:43:17 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/b0ae91864926292e998df1c64a1fe1b6",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2IwYWU5MTg2NDkyNjI5MmU5OThkZjFjNjRhMWZlMWI2",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/12307e81cbf43b58a4a422e8a771bb1e",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzEyMzA3ZTgxY2JmNDNiNThhNGE0MjJlOGE3NzFiYjFl",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n b0ae9186-4926-292e-998d-f1c64a1fe1b6\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 12307e81-cbf4-3b58-a4a4-22e8a771bb1e\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "bc3eb1726a4b2f25965cb23ae3161fd7"
+ "986b5db9537f3823834db7b130c80ced"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:06:27 GMT"
+ "Fri, 05 Dec 2014 00:43:17 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6386",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2Mzg2",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk6990",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTkw",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "10"
+ "14"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "a45f3373a23b2681bd42495b37757341"
+ "0657d8e161163cdeb073f37e1eb848f3"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:06:28 GMT"
+ "Fri, 05 Dec 2014 00:43:18 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/a45f3373a23b2681bd42495b37757341",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2E0NWYzMzczYTIzYjI2ODFiZDQyNDk1YjM3NzU3MzQx",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/0657d8e161163cdeb073f37e1eb848f3",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzA2NTdkOGUxNjExNjNjZGViMDczZjM3ZTFlYjg0OGYz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "10"
+ "14"
]
},
- "ResponseBody": "\r\n a45f3373-a23b-2681-bd42-495b37757341\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 0657d8e1-6116-3cde-b073-f37e1eb848f3\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "09d5ea32ab192046a34638e0fa3899a7"
+ "dce95388cfed3142adac955351481f47"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:06:29 GMT"
+ "Fri, 05 Dec 2014 00:43:18 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/a45f3373a23b2681bd42495b37757341",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2E0NWYzMzczYTIzYjI2ODFiZDQyNDk1YjM3NzU3MzQx",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/0657d8e161163cdeb073f37e1eb848f3",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzA2NTdkOGUxNjExNjNjZGViMDczZjM3ZTFlYjg0OGYz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "10"
+ "14"
]
},
- "ResponseBody": "\r\n a45f3373-a23b-2681-bd42-495b37757341\r\n Failed\r\n 404\r\n \r\n ResourceNotFound\r\n The Network Security Group onesdk6386 does not exist.\r\n \r\n",
+ "ResponseBody": "\r\n 0657d8e1-6116-3cde-b073-f37e1eb848f3\r\n Failed\r\n 404\r\n \r\n ResourceNotFound\r\n The Network Security Group onesdk6990 does not exist.\r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "345"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "643d1eb84ade2dba9f57ab706db113df"
+ "c04bcb476e30399582a3364e1c75ea28"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:06:59 GMT"
+ "Fri, 05 Dec 2014 00:43:48 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
@@ -174,8 +214,10 @@
],
"Names": {
"Test-RemoveNetworkSecurityGroupWithNonExistingName": [
- "onesdk6386"
+ "onesdk6990"
]
},
- "Variables": {}
+ "Variables": {
+ "SubscriptionId": "0a312069-c667-43e9-97c0-d104eced63f7"
+ }
}
\ No newline at end of file
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSR.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSR.json
index dca10b4363b1..6d3e928eee8d 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSR.json
+++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSR.json
@@ -1,509 +1,645 @@
{
"Entries": [
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/locations",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9sb2NhdGlvbnM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n",
+ "ResponseBody": "\r\n \r\n North Europe\r\n North Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West Europe\r\n West Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US 2\r\n East US 2\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Central US\r\n Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n South Central US\r\n South Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US\r\n East US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Southeast Asia\r\n Southeast Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East Asia\r\n East Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan West\r\n Japan West\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan East\r\n Japan East\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Brazil South\r\n Brazil South\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "23545"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "40562aa1f91e29b2905c34ec845034a2"
+ "ad0100c6d2e63ff3981509dd49840b1f"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:19:17 GMT"
+ "Fri, 05 Dec 2014 00:50:58 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/40562aa1f91e29b2905c34ec845034a2",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzQwNTYyYWExZjkxZTI5YjI5MDVjMzRlYzg0NTAzNGEy",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/ad0100c6d2e63ff3981509dd49840b1f",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2FkMDEwMGM2ZDJlNjNmZjM5ODE1MDlkZDQ5ODQwYjFm",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n 40562aa1-f91e-29b2-905c-34ec845034a2\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n ad0100c6-d2e6-3ff3-9815-09dd49840b1f\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "50dc9b5871382417919d8b5be7aead39"
+ "697be81e457d3fcbbac9dbf8d075d379"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:19:19 GMT"
+ "Fri, 05 Dec 2014 00:50:58 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
"RequestMethod": "POST",
- "RequestBody": "\r\n onesdk6910\r\n \r\n North Central US\r\n",
+ "RequestBody": "\r\n onesdk7566\r\n \r\n North Europe\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "197"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "141"
+ "100"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "5c7de8a8cfe92937aafa1ac032ca7e2a"
+ "e3ddc611f83a38fcaff2c39a13fd18a2"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:19:20 GMT"
+ "Fri, 05 Dec 2014 00:50:59 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/5c7de8a8cfe92937aafa1ac032ca7e2a",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzVjN2RlOGE4Y2ZlOTI5MzdhYWZhMWFjMDMyY2E3ZTJh",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/e3ddc611f83a38fcaff2c39a13fd18a2",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2UzZGRjNjExZjgzYTM4ZmNhZmYyYzM5YTEzZmQxOGEy",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "141"
+ "100"
]
},
- "ResponseBody": "\r\n 5c7de8a8-cfe9-2937-aafa-1ac032ca7e2a\r\n InProgress\r\n",
+ "ResponseBody": "\r\n e3ddc611-f83a-38fc-aff2-c39a13fd18a2\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "9d510040a4ed2e459cdbae4f5e193979"
+ "413b4aa0a4b03ec492787e320bcc9f1b"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:19:20 GMT"
+ "Fri, 05 Dec 2014 00:50:59 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/5c7de8a8cfe92937aafa1ac032ca7e2a",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzVjN2RlOGE4Y2ZlOTI5MzdhYWZhMWFjMDMyY2E3ZTJh",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/e3ddc611f83a38fcaff2c39a13fd18a2",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2UzZGRjNjExZjgzYTM4ZmNhZmYyYzM5YTEzZmQxOGEy",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "141"
+ "100"
]
},
- "ResponseBody": "\r\n 5c7de8a8-cfe9-2937-aafa-1ac032ca7e2a\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n e3ddc611-f83a-38fc-aff2-c39a13fd18a2\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth"
+ ],
"x-ms-request-id": [
- "abb2e073e5a1244b818592e3056adb80"
+ "ba944f3e22a83172a1aa65036b291d7e"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:19:51 GMT"
+ "Fri, 05 Dec 2014 00:51:30 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910?",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEwPw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk7566?",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs3NTY2Pw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk6910\r\n \r\n North Central US\r\n",
+ "ResponseBody": "\r\n onesdk7566\r\n \r\n North Europe\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "235"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "c863c1b53239205580f2867eb74bce12"
+ "8dcf8e9e8aad30cd96de5536110625ab"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:19:51 GMT"
+ "Fri, 05 Dec 2014 00:51:30 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910/rules/onesdk4030",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEwL3J1bGVzL29uZXNkazQwMzA=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk7566/rules/onesdk4891",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs3NTY2L3J1bGVzL29uZXNkazQ4OTE=",
"RequestMethod": "PUT",
"RequestBody": "\r\n Outbound\r\n 500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n TCP\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "367"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "146"
+ "105"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "de86eef2ae152390a715362f11558363"
+ "aff65f73d03c300c8c88ffb585c7ecf7"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:19:53 GMT"
+ "Fri, 05 Dec 2014 00:51:30 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/de86eef2ae152390a715362f11558363",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2RlODZlZWYyYWUxNTIzOTBhNzE1MzYyZjExNTU4MzYz",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/aff65f73d03c300c8c88ffb585c7ecf7",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2FmZjY1ZjczZDAzYzMwMGM4Yzg4ZmZiNTg1YzdlY2Y3",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "146"
+ "105"
]
},
- "ResponseBody": "\r\n de86eef2-ae15-2390-a715-362f11558363\r\n InProgress\r\n",
+ "ResponseBody": "\r\n aff65f73-d03c-300c-8c88-ffb585c7ecf7\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "5fe44717babe2141bc2614d058626816"
+ "09ea25708d6e3c37b681f006c1b52b0d"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:19:53 GMT"
+ "Fri, 05 Dec 2014 00:51:31 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/de86eef2ae152390a715362f11558363",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2RlODZlZWYyYWUxNTIzOTBhNzE1MzYyZjExNTU4MzYz",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/aff65f73d03c300c8c88ffb585c7ecf7",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2FmZjY1ZjczZDAzYzMwMGM4Yzg4ZmZiNTg1YzdlY2Y3",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "146"
+ "105"
]
},
- "ResponseBody": "\r\n de86eef2-ae15-2390-a715-362f11558363\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n aff65f73-d03c-300c-8c88-ffb585c7ecf7\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "d01fda22918b2abbb7469859c2d797e5"
+ "cf7ee5b99b633931bd6dc98768f87dbe"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:20:25 GMT"
+ "Fri, 05 Dec 2014 00:52:01 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910?detaillevel=Full",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEwP2RldGFpbGxldmVsPUZ1bGw=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk7566?detaillevel=Full",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs3NTY2P2RldGFpbGxldmVsPUZ1bGw=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk6910\r\n \r\n North Central US\r\n \r\n \r\n onesdk4030\r\n Outbound\r\n 500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n TCP\r\n Active\r\n \r\n \r\n ALLOW VNET OUTBOUND\r\n Outbound\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW VNET INBOUND\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW INTERNET OUTBOUND\r\n Outbound\r\n 65001\r\n *\r\n *\r\n Internet\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL OUTBOUND\r\n Outbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL INBOUND\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n",
+ "ResponseBody": "\r\n onesdk7566\r\n \r\n North Europe\r\n \r\n \r\n onesdk4891\r\n Outbound\r\n 500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n TCP\r\n Active\r\n \r\n \r\n ALLOW VNET INBOUND\r\n Inbound\r\n 65000\r\n Allow\r\n VIRTUAL_NETWORK\r\n *\r\n VIRTUAL_NETWORK\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW VNET OUTBOUND\r\n Outbound\r\n 65000\r\n Allow\r\n VIRTUAL_NETWORK\r\n *\r\n VIRTUAL_NETWORK\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW AZURE LOAD BALANCER INBOUND\r\n Inbound\r\n 65001\r\n Allow\r\n AZURE_LOADBALANCER\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW INTERNET OUTBOUND\r\n Outbound\r\n 65001\r\n Allow\r\n *\r\n *\r\n INTERNET\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL OUTBOUND\r\n Outbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL INBOUND\r\n Inbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "2848"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "71279c0afb4e253b900bad4fa3811d8c"
+ "72c3f4f9fe5338fbba635b2375dfdb5f"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:20:25 GMT"
+ "Fri, 05 Dec 2014 00:52:01 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910?detaillevel=Full",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEwP2RldGFpbGxldmVsPUZ1bGw=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk7566?detaillevel=Full",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs3NTY2P2RldGFpbGxldmVsPUZ1bGw=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk6910\r\n \r\n North Central US\r\n \r\n \r\n ALLOW VNET INBOUND\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW VNET OUTBOUND\r\n Outbound\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW INTERNET OUTBOUND\r\n Outbound\r\n 65001\r\n *\r\n *\r\n Internet\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL OUTBOUND\r\n Outbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL INBOUND\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n",
+ "ResponseBody": "\r\n onesdk7566\r\n \r\n North Europe\r\n \r\n \r\n ALLOW VNET OUTBOUND\r\n Outbound\r\n 65000\r\n Allow\r\n VIRTUAL_NETWORK\r\n *\r\n VIRTUAL_NETWORK\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW VNET INBOUND\r\n Inbound\r\n 65000\r\n Allow\r\n VIRTUAL_NETWORK\r\n *\r\n VIRTUAL_NETWORK\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW AZURE LOAD BALANCER INBOUND\r\n Inbound\r\n 65001\r\n Allow\r\n AZURE_LOADBALANCER\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW INTERNET OUTBOUND\r\n Outbound\r\n 65001\r\n Allow\r\n *\r\n *\r\n INTERNET\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL OUTBOUND\r\n Outbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL INBOUND\r\n Inbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "2521"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "1006abf51d912275a24ca141ae643955"
+ "41103ccb0ac2397eb1f400b6a1b8bdd5"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:21:01 GMT"
+ "Fri, 05 Dec 2014 00:52:33 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910?detaillevel=Full",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEwP2RldGFpbGxldmVsPUZ1bGw=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk7566?detaillevel=Full",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs3NTY2P2RldGFpbGxldmVsPUZ1bGw=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk6910\r\n \r\n North Central US\r\n \r\n \r\n ALLOW VNET INBOUND\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW VNET OUTBOUND\r\n Outbound\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW INTERNET OUTBOUND\r\n Outbound\r\n 65001\r\n *\r\n *\r\n Internet\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL OUTBOUND\r\n Outbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL INBOUND\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n",
+ "ResponseBody": "\r\n onesdk7566\r\n \r\n North Europe\r\n \r\n \r\n ALLOW VNET OUTBOUND\r\n Outbound\r\n 65000\r\n Allow\r\n VIRTUAL_NETWORK\r\n *\r\n VIRTUAL_NETWORK\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW VNET INBOUND\r\n Inbound\r\n 65000\r\n Allow\r\n VIRTUAL_NETWORK\r\n *\r\n VIRTUAL_NETWORK\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW AZURE LOAD BALANCER INBOUND\r\n Inbound\r\n 65001\r\n Allow\r\n AZURE_LOADBALANCER\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW INTERNET OUTBOUND\r\n Outbound\r\n 65001\r\n Allow\r\n *\r\n *\r\n INTERNET\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL OUTBOUND\r\n Outbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL INBOUND\r\n Inbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "2521"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "5eb7834698c023d688148916010528b5"
+ "8e2da220c2283511a5d59ab0cba34713"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:21:02 GMT"
+ "Fri, 05 Dec 2014 00:52:33 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910/rules/onesdk4030",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEwL3J1bGVzL29uZXNkazQwMzA=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk7566/rules/onesdk4891",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs3NTY2L3J1bGVzL29uZXNkazQ4OTE=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "151"
+ "110"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "d63850dab72f28d7a6ea1546159e7549"
+ "bba87a2bd90d30aa9c762982a67bbf59"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:20:27 GMT"
+ "Fri, 05 Dec 2014 00:52:02 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/d63850dab72f28d7a6ea1546159e7549",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2Q2Mzg1MGRhYjcyZjI4ZDdhNmVhMTU0NjE1OWU3NTQ5",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/bba87a2bd90d30aa9c762982a67bbf59",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2JiYTg3YTJiZDkwZDMwYWE5Yzc2Mjk4MmE2N2JiZjU5",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "151"
+ "110"
]
},
- "ResponseBody": "\r\n d63850da-b72f-28d7-a6ea-1546159e7549\r\n InProgress\r\n",
+ "ResponseBody": "\r\n bba87a2b-d90d-30aa-9c76-2982a67bbf59\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "8b20057a4e2227e493488ded0b92a608"
+ "92c9bdafe7463a32b95a6a8547000673"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:20:27 GMT"
+ "Fri, 05 Dec 2014 00:52:02 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/d63850dab72f28d7a6ea1546159e7549",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2Q2Mzg1MGRhYjcyZjI4ZDdhNmVhMTU0NjE1OWU3NTQ5",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/bba87a2bd90d30aa9c762982a67bbf59",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2JiYTg3YTJiZDkwZDMwYWE5Yzc2Mjk4MmE2N2JiZjU5",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "151"
+ "110"
]
},
- "ResponseBody": "\r\n d63850da-b72f-28d7-a6ea-1546159e7549\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n bba87a2b-d90d-30aa-9c76-2982a67bbf59\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "2da7605f47e52fd2a536dba8a2d4b03f"
+ "37873c2005593c4d8191c80f578ed1f9"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:20:58 GMT"
+ "Fri, 05 Dec 2014 00:52:33 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
@@ -512,9 +648,11 @@
],
"Names": {
"Test-RemoveNetworkSecurityRule": [
- "onesdk6910",
- "onesdk4030"
+ "onesdk7566",
+ "onesdk4891"
]
},
- "Variables": {}
+ "Variables": {
+ "SubscriptionId": "0a312069-c667-43e9-97c0-d104eced63f7"
+ }
}
\ No newline at end of file
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetAndGetNSGForSubnet.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetAndGetNSGForSubnet.json
index 6ca73547f746..61452cf8a1c0 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetAndGetNSGForSubnet.json
+++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetAndGetNSGForSubnet.json
@@ -1,477 +1,610 @@
{
"Entries": [
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/locations",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9sb2NhdGlvbnM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n",
+ "ResponseBody": "\r\n \r\n North Europe\r\n North Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West Europe\r\n West Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US 2\r\n East US 2\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Central US\r\n Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n South Central US\r\n South Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US\r\n East US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Southeast Asia\r\n Southeast Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East Asia\r\n East Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan West\r\n Japan West\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan East\r\n Japan East\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Brazil South\r\n Brazil South\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "23545"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "f4a8e7c50d49276fa6b661956782b06a"
+ "2583e9f033573062b7882c31712e6e14"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:12:50 GMT"
+ "Fri, 05 Dec 2014 01:00:45 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/f4a8e7c50d49276fa6b661956782b06a",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2Y0YThlN2M1MGQ0OTI3NmZhNmI2NjE5NTY3ODJiMDZh",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/2583e9f033573062b7882c31712e6e14",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzI1ODNlOWYwMzM1NzMwNjJiNzg4MmMzMTcxMmU2ZTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n f4a8e7c5-0d49-276f-a6b6-61956782b06a\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 2583e9f0-3357-3062-b788-2c31712e6e14\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "5432af590c59265f92628327f3753232"
+ "e789dd21d0813e7aafbc3383bdedd52f"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:12:52 GMT"
+ "Fri, 05 Dec 2014 01:00:45 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
"RequestMethod": "POST",
- "RequestBody": "\r\n onesdk7428\r\n \r\n North Central US\r\n",
+ "RequestBody": "\r\n onesdk9376\r\n \r\n North Europe\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "197"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "74"
+ "202"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "16a87d7fa3b724589d88572d3d46667c"
+ "027ca052904a3d7a999a3a039fc8bb67"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:12:53 GMT"
+ "Fri, 05 Dec 2014 01:00:46 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/16a87d7fa3b724589d88572d3d46667c",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzE2YTg3ZDdmYTNiNzI0NTg5ZDg4NTcyZDNkNDY2Njdj",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/027ca052904a3d7a999a3a039fc8bb67",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzAyN2NhMDUyOTA0YTNkN2E5OTlhM2EwMzlmYzhiYjY3",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "74"
+ "202"
]
},
- "ResponseBody": "\r\n 16a87d7f-a3b7-2458-9d88-572d3d46667c\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 027ca052-904a-3d7a-999a-3a039fc8bb67\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "14cc081a7d892840afe83fd86101363c"
+ "06fbb61e930c30279bd00ef12170430b"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:12:53 GMT"
+ "Fri, 05 Dec 2014 01:00:46 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/16a87d7fa3b724589d88572d3d46667c",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzE2YTg3ZDdmYTNiNzI0NTg5ZDg4NTcyZDNkNDY2Njdj",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/027ca052904a3d7a999a3a039fc8bb67",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzAyN2NhMDUyOTA0YTNkN2E5OTlhM2EwMzlmYzhiYjY3",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "74"
+ "202"
]
},
- "ResponseBody": "\r\n 16a87d7f-a3b7-2458-9d88-572d3d46667c\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 027ca052-904a-3d7a-999a-3a039fc8bb67\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "d1d8b3b85f7e2475ade65981d2d1f4d1"
+ "8aca41a79305372fbfac3555db6e43c1"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:13:25 GMT"
+ "Fri, 05 Dec 2014 01:01:17 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk7428?",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs3NDI4Pw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk9376?",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs5Mzc2Pw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk7428\r\n \r\n North Central US\r\n",
+ "ResponseBody": "\r\n onesdk9376\r\n \r\n North Europe\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "235"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "bb699f39003e28d8b8f210a3f8cbaba8"
+ "6408b9f240683f05a46be0959608381f"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:13:26 GMT"
+ "Fri, 05 Dec 2014 01:01:18 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk7428?",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs3NDI4Pw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk9376?",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs5Mzc2Pw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk7428\r\n \r\n North Central US\r\n",
+ "ResponseBody": "\r\n onesdk9376\r\n \r\n North Europe\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "235"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "d4c87a2c093c24ac82ef84af8844531c"
+ "96b44d82eef234d6a4773f5c5cf1bb77"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:14:31 GMT"
+ "Fri, 05 Dec 2014 01:02:20 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/media",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL21lZGlh",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/media",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL21lZGlh",
"RequestMethod": "PUT",
- "RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 192.168.100.0/24\r\n \r\n \r\n \r\n 192.168.100.0/28\r\n \r\n \r\n \r\n \r\n \r\n \r\n",
+ "RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 192.168.100.0/24\r\n \r\n \r\n \r\n 192.168.100.0/28\r\n \r\n \r\n \r\n \r\n \r\n \r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/octet-stream"
+ ],
+ "Content-Length": [
+ "766"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "79"
+ "207"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "13198bec779329a8bea659fd248c6f85"
+ "1e65f2b8b6e73e36a4ea1f3623deeb32"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:13:27 GMT"
+ "Fri, 05 Dec 2014 01:01:19 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/13198bec779329a8bea659fd248c6f85",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzEzMTk4YmVjNzc5MzI5YThiZWE2NTlmZDI0OGM2Zjg1",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/1e65f2b8b6e73e36a4ea1f3623deeb32",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzFlNjVmMmI4YjZlNzNlMzZhNGVhMWYzNjIzZGVlYjMy",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "79"
+ "207"
]
},
- "ResponseBody": "\r\n 13198bec-7793-29a8-bea6-59fd248c6f85\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 1e65f2b8-b6e7-3e36-a4ea-1f3623deeb32\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "8805b30095f22404bcf35987736175e7"
+ "61b1a3a0e1f43fcabdbe12376d812345"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:13:28 GMT"
+ "Fri, 05 Dec 2014 01:01:19 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/13198bec779329a8bea659fd248c6f85",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzEzMTk4YmVjNzc5MzI5YThiZWE2NTlmZDI0OGM2Zjg1",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/1e65f2b8b6e73e36a4ea1f3623deeb32",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzFlNjVmMmI4YjZlNzNlMzZhNGVhMWYzNjIzZGVlYjMy",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "79"
+ "207"
]
},
- "ResponseBody": "\r\n 13198bec-7793-29a8-bea6-59fd248c6f85\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 1e65f2b8-b6e7-3e36-a4ea-1f3623deeb32\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "73587928530b29e692c2e99fac042127"
+ "f32227ff649a343c9a74e67f5c34d04e"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:13:58 GMT"
+ "Fri, 05 Dec 2014 01:01:49 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=",
"RequestMethod": "POST",
- "RequestBody": "\r\n onesdk7428\r\n",
+ "RequestBody": "\r\n onesdk9376\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "124"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "83"
+ "211"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "9dd0df61e044289085618505cd5b87f6"
+ "645c4fd5cdf731b19173ff72a69a86b5"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:13:59 GMT"
+ "Fri, 05 Dec 2014 01:01:50 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/9dd0df61e044289085618505cd5b87f6",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzlkZDBkZjYxZTA0NDI4OTA4NTYxODUwNWNkNWI4N2Y2",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/645c4fd5cdf731b19173ff72a69a86b5",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzY0NWM0ZmQ1Y2RmNzMxYjE5MTczZmY3MmE2OWE4NmI1",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "83"
+ "211"
]
},
- "ResponseBody": "\r\n 9dd0df61-e044-2890-8561-8505cd5b87f6\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 645c4fd5-cdf7-31b1-9173-ff72a69a86b5\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "abe16bb060d727f398fda3f3b26b9d48"
+ "8f1c1a2901023b7bbb0c087ee7426d7e"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:13:59 GMT"
+ "Fri, 05 Dec 2014 01:01:50 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/9dd0df61e044289085618505cd5b87f6",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzlkZDBkZjYxZTA0NDI4OTA4NTYxODUwNWNkNWI4N2Y2",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/645c4fd5cdf731b19173ff72a69a86b5",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzY0NWM0ZmQ1Y2RmNzMxYjE5MTczZmY3MmE2OWE4NmI1",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "83"
+ "211"
]
},
- "ResponseBody": "\r\n 9dd0df61-e044-2890-8561-8505cd5b87f6\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 645c4fd5-cdf7-31b1-9173-ff72a69a86b5\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "3f68f98e029223f8984fedb8135c8378"
+ "5c2198c750da341da4bc6c5d98a24e30"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:14:30 GMT"
+ "Fri, 05 Dec 2014 01:02:20 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk7428\r\n Created\r\n",
+ "ResponseBody": "\r\n onesdk9376\r\n Created\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "192"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "8b0263e2bf5b204e93f663ba6eae8ad8"
+ "0541625401123f2093135288719dea01"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:14:31 GMT"
+ "Fri, 05 Dec 2014 01:02:20 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
@@ -480,9 +613,11 @@
],
"Names": {
"Test-SetAndGetNetworkSecurityGroupForSubnet": [
- "onesdk7428",
- "onesdk1878"
+ "onesdk9376",
+ "onesdk7902"
]
},
- "Variables": {}
+ "Variables": {
+ "SubscriptionId": "0a312069-c667-43e9-97c0-d104eced63f7"
+ }
}
\ No newline at end of file
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSGToSubnetInDiffRegion.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSGToSubnetInDiffRegion.json
new file mode 100644
index 000000000000..645a602af2ba
--- /dev/null
+++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSGToSubnetInDiffRegion.json
@@ -0,0 +1,541 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/locations",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9sb2NhdGlvbnM=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n \r\n North Europe\r\n North Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West Europe\r\n West Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US 2\r\n East US 2\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Central US\r\n Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n South Central US\r\n South Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US\r\n East US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Southeast Asia\r\n Southeast Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East Asia\r\n East Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan West\r\n Japan West\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan East\r\n Japan East\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Brazil South\r\n Brazil South\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "23545"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
+ "x-ms-request-id": [
+ "7258ee9e49983c9a954a3308f3600b8a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 05 Dec 2014 00:48:16 GMT"
+ ],
+ "Server": [
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/7258ee9e49983c9a954a3308f3600b8a",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzcyNThlZTllNDk5ODNjOWE5NTRhMzMwOGYzNjAwYjhh",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n 7258ee9e-4998-3c9a-954a-3308f3600b8a\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
+ "x-ms-request-id": [
+ "262d1551d1d9333ca292da148526ddb8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 05 Dec 2014 00:48:16 GMT"
+ ],
+ "Server": [
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
+ "RequestMethod": "POST",
+ "RequestBody": "\r\n onesdk748\r\n \r\n West Europe\r\n",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "195"
+ ],
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
+ ],
+ "client-tracking-id": [
+ "74"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
+ "x-ms-request-id": [
+ "5c72ad6eec193ea49eca53b8b2550b46"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 05 Dec 2014 00:48:17 GMT"
+ ],
+ "Server": [
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/5c72ad6eec193ea49eca53b8b2550b46",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzVjNzJhZDZlZWMxOTNlYTQ5ZWNhNTNiOGIyNTUwYjQ2",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
+ ],
+ "client-tracking-id": [
+ "74"
+ ]
+ },
+ "ResponseBody": "\r\n 5c72ad6e-ec19-3ea4-9eca-53b8b2550b46\r\n InProgress\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
+ "x-ms-request-id": [
+ "23310b2110913fc99c2452f8cbcc2b02"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 05 Dec 2014 00:48:17 GMT"
+ ],
+ "Server": [
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/5c72ad6eec193ea49eca53b8b2550b46",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzVjNzJhZDZlZWMxOTNlYTQ5ZWNhNTNiOGIyNTUwYjQ2",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
+ ],
+ "client-tracking-id": [
+ "74"
+ ]
+ },
+ "ResponseBody": "\r\n 5c72ad6e-ec19-3ea4-9eca-53b8b2550b46\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
+ "x-ms-request-id": [
+ "15a95dfa86ce34ba859e2f880026a21a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 05 Dec 2014 00:48:48 GMT"
+ ],
+ "Server": [
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk748?",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs3NDg/",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n onesdk748\r\n \r\n West Europe\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "233"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
+ "x-ms-request-id": [
+ "f47d2fe2254e3450b03e6843ffd828c4"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 05 Dec 2014 00:48:48 GMT"
+ ],
+ "Server": [
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/media",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL21lZGlh",
+ "RequestMethod": "PUT",
+ "RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 192.168.100.0/24\r\n \r\n \r\n \r\n 192.168.100.0/28\r\n \r\n \r\n \r\n \r\n \r\n \r\n",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/octet-stream"
+ ],
+ "Content-Length": [
+ "766"
+ ],
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
+ ],
+ "client-tracking-id": [
+ "79"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
+ "x-ms-request-id": [
+ "748fba820a9139afa49c71ac663f0503"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 05 Dec 2014 00:48:49 GMT"
+ ],
+ "Server": [
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/748fba820a9139afa49c71ac663f0503",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzc0OGZiYTgyMGE5MTM5YWZhNDljNzFhYzY2M2YwNTAz",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
+ ],
+ "client-tracking-id": [
+ "79"
+ ]
+ },
+ "ResponseBody": "\r\n 748fba82-0a91-39af-a49c-71ac663f0503\r\n InProgress\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
+ "x-ms-request-id": [
+ "f33a3a8b3f973b6ab68afa2cc919629b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 05 Dec 2014 00:48:49 GMT"
+ ],
+ "Server": [
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/748fba820a9139afa49c71ac663f0503",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzc0OGZiYTgyMGE5MTM5YWZhNDljNzFhYzY2M2YwNTAz",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
+ ],
+ "client-tracking-id": [
+ "79"
+ ]
+ },
+ "ResponseBody": "\r\n 748fba82-0a91-39af-a49c-71ac663f0503\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
+ "x-ms-request-id": [
+ "e8f7964550233a1da96f943a85cd1732"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 05 Dec 2014 00:49:19 GMT"
+ ],
+ "Server": [
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=",
+ "RequestMethod": "POST",
+ "RequestBody": "\r\n onesdk748\r\n",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "123"
+ ],
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
+ ],
+ "client-tracking-id": [
+ "83"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
+ "x-ms-request-id": [
+ "fd39f0c013043389b8895f76a4ac65f3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 05 Dec 2014 00:49:20 GMT"
+ ],
+ "Server": [
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/fd39f0c013043389b8895f76a4ac65f3",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2ZkMzlmMGMwMTMwNDMzODliODg5NWY3NmE0YWM2NWYz",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
+ ],
+ "client-tracking-id": [
+ "83"
+ ]
+ },
+ "ResponseBody": "\r\n fd39f0c0-1304-3389-b889-5f76a4ac65f3\r\n InProgress\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
+ "x-ms-request-id": [
+ "b93e9ce635bb3d91b839494f5435bd50"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 05 Dec 2014 00:49:20 GMT"
+ ],
+ "Server": [
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/fd39f0c013043389b8895f76a4ac65f3",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2ZkMzlmMGMwMTMwNDMzODliODg5NWY3NmE0YWM2NWYz",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
+ ],
+ "client-tracking-id": [
+ "83"
+ ]
+ },
+ "ResponseBody": "\r\n fd39f0c0-1304-3389-b889-5f76a4ac65f3\r\n Failed\r\n 400\r\n \r\n BadRequest\r\n The region europewest specified for the Network Security Group onesdk748 is different than the region europenorth that Virtual Network VirtualNetworkSiteName belongs to, they need to belong to the same region.\r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "495"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
+ "x-ms-request-id": [
+ "919f8e7c4b6c3763b72465c907979a60"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 05 Dec 2014 00:49:51 GMT"
+ ],
+ "Server": [
+ "1.0.6198.165",
+ "(rd_rdfe_stable.141121-1215)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-SetNetworkSecurityGroupToSubnetInDifferentRegion": [
+ "onesdk748",
+ "onesdk2210"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "0a312069-c667-43e9-97c0-d104eced63f7"
+ }
+}
\ No newline at end of file
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSR.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSR.json
index 27efd7ffc168..ac634549dfff 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSR.json
+++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSR.json
@@ -1,340 +1,434 @@
{
"Entries": [
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/locations",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9sb2NhdGlvbnM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n",
+ "ResponseBody": "\r\n \r\n North Europe\r\n North Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West Europe\r\n West Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US 2\r\n East US 2\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Central US\r\n Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n South Central US\r\n South Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US\r\n East US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Southeast Asia\r\n Southeast Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East Asia\r\n East Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan West\r\n Japan West\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan East\r\n Japan East\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Brazil South\r\n Brazil South\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "23545"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth"
+ ],
"x-ms-request-id": [
- "336595f61f25290f82debec1c67c9e0a"
+ "60e50193060c3821b32cd0da28808d4a"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:10:31 GMT"
+ "Fri, 05 Dec 2014 00:53:42 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/336595f61f25290f82debec1c67c9e0a",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzMzNjU5NWY2MWYyNTI5MGY4MmRlYmVjMWM2N2M5ZTBh",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/60e50193060c3821b32cd0da28808d4a",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzYwZTUwMTkzMDYwYzM4MjFiMzJjZDBkYTI4ODA4ZDRh",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n 336595f6-1f25-290f-82de-bec1c67c9e0a\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 60e50193-060c-3821-b32c-d0da28808d4a\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "9aa34f440f592b3aaa2e63f82adfb3dc"
+ "456b0d95b1b83f0c935d09586a591323"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:10:31 GMT"
+ "Fri, 05 Dec 2014 00:53:43 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
"RequestMethod": "POST",
- "RequestBody": "\r\n onesdk2523\r\n \r\n North Central US\r\n",
+ "RequestBody": "\r\n onesdk882\r\n \r\n North Europe\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "196"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "51"
+ "129"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "6b4baeac087326e1b895b1db840ee49d"
+ "9b1fdf82d162323fad9c582ec17b7a12"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:10:33 GMT"
+ "Fri, 05 Dec 2014 00:53:42 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/6b4baeac087326e1b895b1db840ee49d",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzZiNGJhZWFjMDg3MzI2ZTFiODk1YjFkYjg0MGVlNDlk",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/9b1fdf82d162323fad9c582ec17b7a12",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzliMWZkZjgyZDE2MjMyM2ZhZDljNTgyZWMxN2I3YTEy",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "51"
+ "129"
]
},
- "ResponseBody": "\r\n 6b4baeac-0873-26e1-b895-b1db840ee49d\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 9b1fdf82-d162-323f-ad9c-582ec17b7a12\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "57185b0805f32b6683e3df0f23c2732c"
+ "dd1bf8c86d28344caed9087fd319df3e"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:10:33 GMT"
+ "Fri, 05 Dec 2014 00:53:43 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/6b4baeac087326e1b895b1db840ee49d",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzZiNGJhZWFjMDg3MzI2ZTFiODk1YjFkYjg0MGVlNDlk",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/9b1fdf82d162323fad9c582ec17b7a12",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzliMWZkZjgyZDE2MjMyM2ZhZDljNTgyZWMxN2I3YTEy",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "51"
+ "129"
]
},
- "ResponseBody": "\r\n 6b4baeac-0873-26e1-b895-b1db840ee49d\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 9b1fdf82-d162-323f-ad9c-582ec17b7a12\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "c48cb678f35121298bf7dbf4de0f4fe2"
+ "4ead099180373727a2e8ecbd9de66e62"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:11:04 GMT"
+ "Fri, 05 Dec 2014 00:54:13 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk2523?",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNTIzPw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk882?",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs4ODI/",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk2523\r\n \r\n North Central US\r\n",
+ "ResponseBody": "\r\n onesdk882\r\n \r\n North Europe\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "234"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "2bcbad9aefc5282fbba7a661606291bc"
+ "42d47e0b87bf3759be466dedc63c511b"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:11:04 GMT"
+ "Fri, 05 Dec 2014 00:54:14 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk2523/rules/onesdk6849",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNTIzL3J1bGVzL29uZXNkazY4NDk=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk882/rules/onesdk2653",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs4ODIvcnVsZXMvb25lc2RrMjY1Mw==",
"RequestMethod": "PUT",
"RequestBody": "\r\n Outbound\r\n 500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n TCP\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "367"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "56"
+ "134"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "fc0bdbc67ccd2b7d9ea10a88445a6711"
+ "a2517969fc2f38449e844903c9bcb51a"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:11:05 GMT"
+ "Fri, 05 Dec 2014 00:54:14 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/fc0bdbc67ccd2b7d9ea10a88445a6711",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2ZjMGJkYmM2N2NjZDJiN2Q5ZWExMGE4ODQ0NWE2NzEx",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/a2517969fc2f38449e844903c9bcb51a",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2EyNTE3OTY5ZmMyZjM4NDQ5ZTg0NDkwM2M5YmNiNTFh",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "56"
+ "134"
]
},
- "ResponseBody": "\r\n fc0bdbc6-7ccd-2b7d-9ea1-0a88445a6711\r\n InProgress\r\n",
+ "ResponseBody": "\r\n a2517969-fc2f-3844-9e84-4903c9bcb51a\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "eb0f44780c702107a69687e37e2387a8"
+ "df0415e1201c3424851ed5fb226e652f"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:11:07 GMT"
+ "Fri, 05 Dec 2014 00:54:14 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/fc0bdbc67ccd2b7d9ea10a88445a6711",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2ZjMGJkYmM2N2NjZDJiN2Q5ZWExMGE4ODQ0NWE2NzEx",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/a2517969fc2f38449e844903c9bcb51a",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zL2EyNTE3OTY5ZmMyZjM4NDQ5ZTg0NDkwM2M5YmNiNTFh",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "56"
+ "134"
]
},
- "ResponseBody": "\r\n fc0bdbc6-7ccd-2b7d-9ea1-0a88445a6711\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n a2517969-fc2f-3844-9e84-4903c9bcb51a\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "4434965aa3fd204faeba27635e1c8201"
+ "7fc7ac31ab6b34798fa10b7274c15faf"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:11:38 GMT"
+ "Fri, 05 Dec 2014 00:54:45 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk2523?detaillevel=Full",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNTIzP2RldGFpbGxldmVsPUZ1bGw=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk882?detaillevel=Full",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs4ODI/ZGV0YWlsbGV2ZWw9RnVsbA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk2523\r\n \r\n North Central US\r\n \r\n \r\n onesdk6849\r\n Outbound\r\n 500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n TCP\r\n Active\r\n \r\n \r\n ALLOW VNET OUTBOUND\r\n Outbound\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW VNET INBOUND\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW INTERNET OUTBOUND\r\n Outbound\r\n 65001\r\n *\r\n *\r\n Internet\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL OUTBOUND\r\n Outbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL INBOUND\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n",
+ "ResponseBody": "\r\n onesdk882\r\n \r\n North Europe\r\n \r\n \r\n onesdk2653\r\n Outbound\r\n 500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n TCP\r\n Active\r\n \r\n \r\n ALLOW VNET INBOUND\r\n Inbound\r\n 65000\r\n Allow\r\n VIRTUAL_NETWORK\r\n *\r\n VIRTUAL_NETWORK\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW VNET OUTBOUND\r\n Outbound\r\n 65000\r\n Allow\r\n VIRTUAL_NETWORK\r\n *\r\n VIRTUAL_NETWORK\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW AZURE LOAD BALANCER INBOUND\r\n Inbound\r\n 65001\r\n Allow\r\n AZURE_LOADBALANCER\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW INTERNET OUTBOUND\r\n Outbound\r\n 65001\r\n Allow\r\n *\r\n *\r\n INTERNET\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL OUTBOUND\r\n Outbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL INBOUND\r\n Inbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "2847"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "2c152661bbd32ea6b7ee623d2afd2703"
+ "9d3c29152ef232d5ade3b4fb885f9ad6"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:11:40 GMT"
+ "Fri, 05 Dec 2014 00:54:46 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
@@ -343,9 +437,11 @@
],
"Names": {
"Test-SetNetworkSecurityRule": [
- "onesdk2523",
- "onesdk6849"
+ "onesdk882",
+ "onesdk2653"
]
},
- "Variables": {}
+ "Variables": {
+ "SubscriptionId": "0a312069-c667-43e9-97c0-d104eced63f7"
+ }
}
\ No newline at end of file
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSRWithInvalidParameter.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSRWithInvalidParameter.json
index 58f239e5d8e2..39e89507bb75 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSRWithInvalidParameter.json
+++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSRWithInvalidParameter.json
@@ -1,238 +1,308 @@
{
"Entries": [
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/locations",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9sb2NhdGlvbnM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n",
+ "ResponseBody": "\r\n \r\n North Europe\r\n North Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West Europe\r\n West Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US 2\r\n East US 2\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Central US\r\n Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n South Central US\r\n South Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US\r\n East US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Southeast Asia\r\n Southeast Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East Asia\r\n East Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan West\r\n Japan West\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Japan East\r\n Japan East\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n Brazil South\r\n Brazil South\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "23545"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "76eb25749d2421e69dc771984800d1bb"
+ "0c2ff06c5b313c858baef84c9cb7159c"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:17:30 GMT"
+ "Fri, 05 Dec 2014 00:46:38 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/76eb25749d2421e69dc771984800d1bb",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzc2ZWIyNTc0OWQyNDIxZTY5ZGM3NzE5ODQ4MDBkMWJi",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/0c2ff06c5b313c858baef84c9cb7159c",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzBjMmZmMDZjNWIzMTNjODU4YmFlZjg0YzljYjcxNTlj",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-05-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0",
- "AzurePowershell/v0.8.11"
+ "Microsoft.WindowsAzure.Management.ManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n 76eb2574-9d24-21e6-9dc7-71984800d1bb\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 0c2ff06c-5b31-3c85-8bae-f84c9cb7159c\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "751194d1ceed23279d78cad3fb872c74"
+ "6e8b40f437973ee6a7a4d6e81dd3565f"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:17:31 GMT"
+ "Fri, 05 Dec 2014 00:46:38 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==",
"RequestMethod": "POST",
- "RequestBody": "\r\n onesdk2475\r\n \r\n North Central US\r\n",
+ "RequestBody": "\r\n onesdk218\r\n \r\n North Europe\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "196"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "121"
+ "54"
]
},
"ResponseBody": "",
"ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "b1bc789976112c1fa43e8c4d2979bc99"
+ "106da196ae233be093168c7d17d8cf16"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:17:32 GMT"
+ "Fri, 05 Dec 2014 00:46:38 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 202
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/b1bc789976112c1fa43e8c4d2979bc99",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2IxYmM3ODk5NzYxMTJjMWZhNDNlOGM0ZDI5NzliYzk5",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/106da196ae233be093168c7d17d8cf16",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzEwNmRhMTk2YWUyMzNiZTA5MzE2OGM3ZDE3ZDhjZjE2",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "121"
+ "54"
]
},
- "ResponseBody": "\r\n b1bc7899-7611-2c1f-a43e-8c4d2979bc99\r\n InProgress\r\n",
+ "ResponseBody": "\r\n 106da196-ae23-3be0-9316-8c7d17d8cf16\r\n InProgress\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "b99ff97bb4712c3d80c17e6d59ac6e69"
+ "70e6af71e3ed3bc89052bc2975d70361"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:17:32 GMT"
+ "Fri, 05 Dec 2014 00:46:38 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/b1bc789976112c1fa43e8c4d2979bc99",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2IxYmM3ODk5NzYxMTJjMWZhNDNlOGM0ZDI5NzliYzk5",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/operations/106da196ae233be093168c7d17d8cf16",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9vcGVyYXRpb25zLzEwNmRhMTk2YWUyMzNiZTA5MzE2OGM3ZDE3ZDhjZjE2",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "121"
+ "54"
]
},
- "ResponseBody": "\r\n b1bc7899-7611-2c1f-a43e-8c4d2979bc99\r\n Succeeded\r\n 200\r\n",
+ "ResponseBody": "\r\n 106da196-ae23-3be0-9316-8c7d17d8cf16\r\n Succeeded\r\n 200\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "b34582a624bc27e784dd27d39421555f"
+ "5c029c1ac6a53954b06fd4cb50e8c683"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:18:04 GMT"
+ "Fri, 05 Dec 2014 00:47:09 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk2475?",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNDc1Pw==",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk218?",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyMTg/",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
]
},
- "ResponseBody": "\r\n onesdk2475\r\n \r\n North Central US\r\n",
+ "ResponseBody": "\r\n onesdk218\r\n \r\n North Europe\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "234"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "e5e05721965d22e9929c492d15690d8c"
+ "4990f0768f403a5283a0f0b9ef29f809"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:18:05 GMT"
+ "Fri, 05 Dec 2014 00:47:09 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk2475/rules/onesdk9407",
- "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNDc1L3J1bGVzL29uZXNkazk0MDc=",
+ "RequestUri": "/0a312069-c667-43e9-97c0-d104eced63f7/services/networking/networksecuritygroups/onesdk218/rules/onesdk6849",
+ "EncodedRequestUri": "LzBhMzEyMDY5LWM2NjctNDNlOS05N2MwLWQxMDRlY2VkNjNmNy9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyMTgvcnVsZXMvb25lc2RrNjg0OQ==",
"RequestMethod": "PUT",
"RequestBody": "\r\n Outbound\r\n 500\r\n Deny\r\n INVALID\r\n *\r\n *\r\n *\r\n TCP\r\n",
"RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "373"
+ ],
"x-ms-version": [
- "2014-09-01"
+ "2014-10-01"
],
"User-Agent": [
- "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0"
+ "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/4.0.0.0"
],
"client-tracking-id": [
- "126"
+ "59"
]
},
"ResponseBody": "\r\n BadRequest\r\n The Source Address Prefix provided 'INVALID' is invalid. Please provide correct CIDR address or one of the allowed Address Tags.\r\n",
"ResponseHeaders": {
+ "Content-Length": [
+ "287"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth2"
+ ],
"x-ms-request-id": [
- "3ab476b870f32bef934ec96ff1e047af"
+ "4bf18acd28653840bbf3eec38f9dffeb"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 17 Oct 2014 19:18:06 GMT"
+ "Fri, 05 Dec 2014 00:47:10 GMT"
],
"Server": [
- "1.0.6195.343",
- "(rd_rdfe_dhf1.141013-1212)",
+ "1.0.6198.167",
+ "(rd_rdfe_stable.141203-1417)",
"Microsoft-HTTPAPI/2.0"
]
},
@@ -241,9 +311,11 @@
],
"Names": {
"Test-SetNetworkSecurityRuleWithInvalidParameter": [
- "onesdk2475",
- "onesdk9407"
+ "onesdk218",
+ "onesdk6849"
]
},
- "Variables": {}
+ "Variables": {
+ "SubscriptionId": "0a312069-c667-43e9-97c0-d104eced63f7"
+ }
}
\ No newline at end of file
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/TestData/SimpleNetworkConfiguration.xml b/src/ServiceManagement/Network/Commands.Network.Test/TestData/SimpleNetworkConfiguration.xml
index a01dbaaa5081..4c8c512c95ae 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/TestData/SimpleNetworkConfiguration.xml
+++ b/src/ServiceManagement/Network/Commands.Network.Test/TestData/SimpleNetworkConfiguration.xml
@@ -6,7 +6,7 @@
-
+
192.168.100.0/24
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/packages.config b/src/ServiceManagement/Network/Commands.Network.Test/packages.config
index 5dffcc2761fe..4ab7e3da8b8f 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/packages.config
+++ b/src/ServiceManagement/Network/Commands.Network.Test/packages.config
@@ -12,16 +12,8 @@
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/src/ServiceManagement/Network/Commands.Network/Commands.Network.csproj b/src/ServiceManagement/Network/Commands.Network/Commands.Network.csproj
index b8521350ee9b..06be7dfcd0cd 100644
--- a/src/ServiceManagement/Network/Commands.Network/Commands.Network.csproj
+++ b/src/ServiceManagement/Network/Commands.Network/Commands.Network.csproj
@@ -57,17 +57,20 @@
False
..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.1\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll
+
+ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.8.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll
+
False
..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.1.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.3.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
-
+
False
- ..\..\..\packages\WindowsAzure.Storage.4.2.1\lib\net40\Microsoft.WindowsAzure.Storage.dll
+ ..\..\..\packages\WindowsAzure.Storage.4.0.0\lib\net40\Microsoft.WindowsAzure.Storage.dll
False
@@ -75,6 +78,7 @@
+
False
@@ -102,6 +106,7 @@
+
@@ -146,6 +151,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{65c3a86a-716d-4e7d-ab67-1db00b3bf72d}
Commands.Common.Storage
diff --git a/src/ServiceManagement/Network/Commands.Network/Gateway/ResetAzureVNetGateway.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/ResetAzureVNetGateway.cs
new file mode 100644
index 000000000000..7616c7088003
--- /dev/null
+++ b/src/ServiceManagement/Network/Commands.Network/Gateway/ResetAzureVNetGateway.cs
@@ -0,0 +1,34 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.Network.Gateway
+{
+ using System.Management.Automation;
+ using WindowsAzure.Management.Network.Models;
+
+ [Cmdlet(VerbsCommon.Reset, "AzureVNetGateway"), OutputType(typeof(GatewayGetOperationStatusResponse))]
+ public class ResetAzureVNetGateway : NetworkCmdletBase
+ {
+ [Parameter(Position = 0, Mandatory = true, HelpMessage = "Virtual network name.")]
+ public string VNetName
+ {
+ get; set;
+ }
+
+ public override void ExecuteCmdlet()
+ {
+ WriteObject(Client.ResetGateway(VNetName));
+ }
+ }
+}
diff --git a/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-help.xml b/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-help.xml
index b8b88a26a70a..01a0edff1ee1 100644
--- a/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-help.xml
+++ b/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-help.xml
@@ -2057,6 +2057,87 @@
+
+
+ Reset-AzureVNetGateway
+
+ Reset the provided virtual network gateway.
+
+
+
+
+ Reset
+ AzureVNetGateway
+
+
+
+
+ Reset the provided virtual network gateway.
+
+
+
+ Reset-AzureVNetGateway
+
+ VNetName
+
+
+
+ String
+
+
+
+
+
+ VNetName
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Resize-AzureVNetGateway
diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkClient.cs b/src/ServiceManagement/Network/Commands.Network/NetworkClient.cs
index b30adf66c3b6..d6b7ae04bf8f 100644
--- a/src/ServiceManagement/Network/Commands.Network/NetworkClient.cs
+++ b/src/ServiceManagement/Network/Commands.Network/NetworkClient.cs
@@ -24,7 +24,6 @@ namespace Microsoft.Azure.Commands.Network
using Routes.Model;
using WindowsAzure;
using WindowsAzure.Commands.Common;
- using WindowsAzure.Commands.Common.Models;
using WindowsAzure.Commands.Common.Storage;
using WindowsAzure.Commands.Utilities.Common;
using WindowsAzure.Common;
@@ -32,6 +31,8 @@ namespace Microsoft.Azure.Commands.Network
using WindowsAzure.Management.Network;
using WindowsAzure.Management.Network.Models;
using WindowsAzure.Storage.Auth;
+ using Microsoft.Azure.Common.Extensions.Models;
+ using Microsoft.Azure.Common.Extensions;
public class NetworkClient
{
@@ -154,6 +155,12 @@ public GatewayGetOperationStatusResponse DeleteGateway(string vnetName)
return client.Gateways.Delete(vnetName);
}
+ public GatewayGetOperationStatusResponse ResetGateway(string vnetName)
+ {
+ ResetGatewayParameters parameters = new ResetGatewayParameters();
+ return client.Gateways.Reset(vnetName, parameters);
+ }
+
public GatewayGetOperationStatusResponse ResizeGateway(string vnetName, string gatewaySKU)
{
ResizeGatewayParameters parameters = new ResizeGatewayParameters()
diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkCmdletBase.cs b/src/ServiceManagement/Network/Commands.Network/NetworkCmdletBase.cs
index bb0016f16b72..87c8b563ba2c 100644
--- a/src/ServiceManagement/Network/Commands.Network/NetworkCmdletBase.cs
+++ b/src/ServiceManagement/Network/Commands.Network/NetworkCmdletBase.cs
@@ -14,8 +14,9 @@
namespace Microsoft.Azure.Commands.Network
{
+ using Microsoft.Azure.Common.Extensions;
+ using Microsoft.Azure.Common.Extensions.Models;
using WindowsAzure.Commands.Common;
- using WindowsAzure.Commands.Common.Models;
using WindowsAzure.Commands.Utilities.Common;
using WindowsAzure.Commands.Utilities.Profile;
diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/SetAzureNetworkSecurityGroupToSubnet.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/SetAzureNetworkSecurityGroupToSubnet.cs
index 0c7080f379e6..e3a68b3cbe63 100644
--- a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/SetAzureNetworkSecurityGroupToSubnet.cs
+++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/SetAzureNetworkSecurityGroupToSubnet.cs
@@ -72,6 +72,10 @@ public override void ExecuteCmdlet()
}
});
}
+ else
+ {
+ throw;
+ }
}
}
}
diff --git a/src/ServiceManagement/Network/Commands.Network/packages.config b/src/ServiceManagement/Network/Commands.Network/packages.config
index 82b77cc182ba..6838a3f5db63 100644
--- a/src/ServiceManagement/Network/Commands.Network/packages.config
+++ b/src/ServiceManagement/Network/Commands.Network/packages.config
@@ -10,10 +10,10 @@
-
+
-
+
-
+
\ No newline at end of file
diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj
index 7ddf3858b47e..9987efb08bd7 100644
--- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj
+++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj
@@ -1,6 +1,5 @@
-
Debug
@@ -15,6 +14,7 @@
..\..\..\
true
+ fe60daf2
true
@@ -63,8 +63,9 @@
..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.1\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll
-
- ..\..\..\packages\Microsoft.Azure.Management.RecoveryServices.0.1.0-preview\lib\net40\Microsoft.WindowsAzure.Management.SiteRecovery.dll
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Management.RecoveryServices.0.1.1-preview\lib\net40\Microsoft.WindowsAzure.Management.SiteRecovery.dll
False
@@ -96,14 +97,9 @@
-
- ..\..\..\packages\xunit.abstractions.2.0.0-beta4-build2738\lib\net35\xunit.abstractions.dll
-
-
- ..\..\..\packages\xunit.assert.2.0.0-beta4-build2738\lib\portable-net45+win+wpa81+wp80+monoandroid+monotouch10\xunit.assert.dll
-
-
- ..\..\..\packages\xunit.core.2.0.0-beta4-build2738\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.dll
+
+ False
+ ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll
@@ -127,6 +123,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
@@ -150,7 +150,6 @@
This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTestsBase.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTestsBase.cs
index f18cf116a2ce..222d7f6a6c23 100644
--- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTestsBase.cs
+++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTestsBase.cs
@@ -27,7 +27,8 @@
using Microsoft.WindowsAzure.Management.SiteRecovery;
using Microsoft.WindowsAzure.Testing;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests
{
diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config
index a3efc42ba1b2..855688631e33 100644
--- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config
+++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config
@@ -2,7 +2,7 @@
-
+
@@ -11,8 +11,5 @@
-
-
-
-
+
\ No newline at end of file
diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj
index 8d5e36cfa7d0..ffeeac1d9294 100644
--- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj
+++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj
@@ -141,6 +141,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClient.cs
index 8ba046e6aa49..1e30a45dd38f 100644
--- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClient.cs
+++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClient.cs
@@ -26,14 +26,14 @@
using Microsoft.Azure.Portal.RecoveryServices.Models.Common;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Factories;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Management.RecoveryServices;
using Microsoft.WindowsAzure.Management.RecoveryServices.Models;
using Microsoft.WindowsAzure.Management.SiteRecovery;
using Microsoft.WindowsAzure.Management.SiteRecovery.Models;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
+using Microsoft.Azure.Common.Extensions.Models;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.RecoveryServices
{
@@ -187,7 +187,7 @@ public string GenerateAgentAuthenticationHeader(string clientRequestId)
/// Custom request headers
public CustomRequestHeaders GetRequestHeaders()
{
- this.ClientRequestId = Guid.NewGuid().ToString() + "-" + DateTime.Now.ToString("yyyy-mm-dd HH:mm:ssZ") + "-P";
+ this.ClientRequestId = Guid.NewGuid().ToString() + "-" + DateTime.Now.ToUniversalTime().ToString("yyyy-MM-dd HH:mm:ssZ") + "-P";
return new CustomRequestHeaders()
{
diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryRecoveryPlan.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryRecoveryPlan.cs
index 7ab4f4bd117c..78d95a792f0f 100644
--- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryRecoveryPlan.cs
+++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryRecoveryPlan.cs
@@ -20,6 +20,7 @@
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Management.SiteRecovery.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.Azure.Commands.RecoveryServices
{
diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj b/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj
index 5ad5d2c9409b..8c6f57f6736a 100644
--- a/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj
+++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj
@@ -69,7 +69,7 @@
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
False
@@ -129,6 +129,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{e1ca72ba-8374-45f6-904d-fd34ecdf5b6f}
Commands.ServiceManagement
diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/AzureAssert.cs b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/AzureAssert.cs
index d3e215eae724..b7450a09710d 100644
--- a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/AzureAssert.cs
+++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/AzureAssert.cs
@@ -26,6 +26,7 @@ namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common
{
using ConfigConfigurationSetting = Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema.ConfigurationSetting;
using DefinitionConfigurationSetting = Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.ConfigurationSetting;
+ using Microsoft.Azure.Common.Extensions;
public static class AzureAssert
{
diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessToken.cs b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessToken.cs
index 2790d8cf256d..242371ecf20d 100644
--- a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessToken.cs
+++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessToken.cs
@@ -13,7 +13,7 @@
// ----------------------------------------------------------------------------------
using System;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
+using Microsoft.Azure.Common.Extensions.Authentication;
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common
{
diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessTokenProvider.cs b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessTokenProvider.cs
index 2166aae9ecdc..f240e0c9bc32 100644
--- a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessTokenProvider.cs
+++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessTokenProvider.cs
@@ -13,9 +13,9 @@
// ----------------------------------------------------------------------------------
using System.Security;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
-using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication;
+using Microsoft.Azure.Common.Extensions.Authentication;
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common
{
diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FileSystemHelper.cs b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FileSystemHelper.cs
index f3b310d1abb7..6dba8bed3435 100644
--- a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FileSystemHelper.cs
+++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FileSystemHelper.cs
@@ -18,6 +18,7 @@
using Microsoft.WindowsAzure.Commands.Common;
using Microsoft.WindowsAzure.Commands.Utilities.CloudService;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common
{
diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config b/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config
index d84fe27eca2b..f2868d2a31f9 100644
--- a/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config
+++ b/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config
@@ -7,7 +7,7 @@
-
+
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/DisableAzureRemoteDesktopCommandTest.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/DisableAzureRemoteDesktopCommandTest.cs
index 8b269008b892..f936935a51b8 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/DisableAzureRemoteDesktopCommandTest.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/DisableAzureRemoteDesktopCommandTest.cs
@@ -23,6 +23,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Common;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Development
{
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureMemcacheRoleTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureMemcacheRoleTests.cs
index 27f967e5350c..3c2c0d037247 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureMemcacheRoleTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureMemcacheRoleTests.cs
@@ -34,6 +34,7 @@ namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Development.Tests
using ConfigConfigurationSetting = Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema.ConfigurationSetting;
using DefinitionConfigurationSetting = Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.ConfigurationSetting;
using TestResources = Commands.Common.Test.Properties.Resources;
+ using Microsoft.Azure.Common.Extensions;
public class EnableAzureMemcacheRoleTests : TestBase
{
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs
index 75fd05db5a10..8f4463b5a538 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs
@@ -26,6 +26,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema;
using Microsoft.WindowsAzure.Commands.Common;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Development
{
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/SaveAzureServiceProjectPackageTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/SaveAzureServiceProjectPackageTests.cs
index b5851fa57a2c..ead84c2be6ca 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/SaveAzureServiceProjectPackageTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/SaveAzureServiceProjectPackageTests.cs
@@ -24,6 +24,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
using Microsoft.WindowsAzure.Commands.Common;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Development
{
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs
index 34fd2df6c4f7..40c618e12f2a 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs
@@ -26,6 +26,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Utilities
{
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs
index 3ff4662130e6..4ca15015db45 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs
@@ -18,7 +18,7 @@
using System.Net;
using System.Threading;
using Xunit;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.CloudService;
@@ -31,6 +31,7 @@
using Moq;
using MockStorageService = Microsoft.WindowsAzure.Commands.Test.Utilities.Common.MockStorageService;
using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Utilities
{
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CsPackTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CsPackTests.cs
index 4763a411a036..720f06a3ee32 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CsPackTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CsPackTests.cs
@@ -20,6 +20,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.CloudService;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Utilities
{
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CsPackUtilTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CsPackUtilTests.cs
index d5bffb1bceca..89fb42c90666 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CsPackUtilTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CsPackUtilTests.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.WindowsAzure.Commands.Common;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.CloudService;
using Microsoft.WindowsAzure.Commands.Utilities.CloudService.AzureTools;
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/GeneralTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/GeneralTests.cs
index 31425f73bd46..67b990cbd864 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/GeneralTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/GeneralTests.cs
@@ -18,6 +18,7 @@
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Utilities
{
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/PublishContextTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/PublishContextTests.cs
index 996c4b7bd747..cc4939661291 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/PublishContextTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/PublishContextTests.cs
@@ -23,6 +23,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.CloudService;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Utilities
{
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/ScaffoldTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/ScaffoldTests.cs
index 1a85239d1612..3114798e5b92 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/ScaffoldTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/ScaffoldTests.cs
@@ -17,6 +17,7 @@
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.CloudService.Scaffolding;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Utilities
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj
index 041540ad328f..7f8081662820 100644
--- a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj
+++ b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj
@@ -93,11 +93,11 @@
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.16.2-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.15.0-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll
..\..\..\packages\Microsoft.WindowsAzure.Management.MediaServices.1.2.0\lib\net40\Microsoft.WindowsAzure.Management.MediaServices.dll
@@ -334,6 +334,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{e1ca72ba-8374-45f6-904d-fd34ecdf5b6f}
Commands.ServiceManagement
diff --git a/src/ServiceManagement/Services/Commands.Test/Environment/AddAzureEnvironmentTests.cs b/src/ServiceManagement/Services/Commands.Test/Environment/AddAzureEnvironmentTests.cs
index 0a18681f19cd..dbae4495621c 100644
--- a/src/ServiceManagement/Services/Commands.Test/Environment/AddAzureEnvironmentTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Environment/AddAzureEnvironmentTests.cs
@@ -16,13 +16,14 @@
using System.Management.Automation;
using System.Reflection;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Profile;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Moq;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Environment
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs b/src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs
index 86cd58ef51b7..0382d1202d30 100644
--- a/src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs
@@ -15,13 +15,14 @@
using System.Collections.Generic;
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Profile;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Moq;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Environment
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Environment/RemoveAzureEnvironmentTests.cs b/src/ServiceManagement/Services/Commands.Test/Environment/RemoveAzureEnvironmentTests.cs
index bb5af475b2be..ad1085a6af8f 100644
--- a/src/ServiceManagement/Services/Commands.Test/Environment/RemoveAzureEnvironmentTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Environment/RemoveAzureEnvironmentTests.cs
@@ -16,13 +16,14 @@
using System.Collections.Generic;
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Profile;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Moq;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Environment
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Environment/SetAzureEnvironmentTests.cs b/src/ServiceManagement/Services/Commands.Test/Environment/SetAzureEnvironmentTests.cs
index c98fbb613994..25587ec8616b 100644
--- a/src/ServiceManagement/Services/Commands.Test/Environment/SetAzureEnvironmentTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Environment/SetAzureEnvironmentTests.cs
@@ -18,12 +18,13 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Profile;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Environment
{
diff --git a/src/ServiceManagement/Services/Commands.Test/MediaServices/GetAzureMediaServicesTests.cs b/src/ServiceManagement/Services/Commands.Test/MediaServices/GetAzureMediaServicesTests.cs
index c582d6eedc9a..dd00777e74fb 100644
--- a/src/ServiceManagement/Services/Commands.Test/MediaServices/GetAzureMediaServicesTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/MediaServices/GetAzureMediaServicesTests.cs
@@ -17,7 +17,7 @@
using System.Threading.Tasks;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.MediaServices;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
@@ -26,6 +26,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.MediaServices.Services.Entities;
using Microsoft.WindowsAzure.Management.MediaServices.Models;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.MediaServices
{
diff --git a/src/ServiceManagement/Services/Commands.Test/MediaServices/MediaServicesClientTests.cs b/src/ServiceManagement/Services/Commands.Test/MediaServices/MediaServicesClientTests.cs
index 7a32a10f6d40..c40cb015bafc 100644
--- a/src/ServiceManagement/Services/Commands.Test/MediaServices/MediaServicesClientTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/MediaServices/MediaServicesClientTests.cs
@@ -6,7 +6,7 @@
using System.Threading;
using System.Threading.Tasks;
using Xunit;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.MediaServices;
using Microsoft.WindowsAzure.Management.MediaServices;
using Microsoft.WindowsAzure.Management.MediaServices.Models;
diff --git a/src/ServiceManagement/Services/Commands.Test/Profile/GetAzurePublishSettingsFileTests.cs b/src/ServiceManagement/Services/Commands.Test/Profile/GetAzurePublishSettingsFileTests.cs
index dc826e3222c1..a053082992b8 100644
--- a/src/ServiceManagement/Services/Commands.Test/Profile/GetAzurePublishSettingsFileTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Profile/GetAzurePublishSettingsFileTests.cs
@@ -19,6 +19,8 @@
using Microsoft.WindowsAzure.Commands.Profile;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Moq;
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.Azure.Common.Extensions.Models;
namespace Microsoft.WindowsAzure.Commands.Test.Profile
{
diff --git a/src/ServiceManagement/Services/Commands.Test/ServiceBus/GetAzureSBNamespaceTest.cs b/src/ServiceManagement/Services/Commands.Test/ServiceBus/GetAzureSBNamespaceTest.cs
index fa71b952eaab..d1c170b9786b 100644
--- a/src/ServiceManagement/Services/Commands.Test/ServiceBus/GetAzureSBNamespaceTest.cs
+++ b/src/ServiceManagement/Services/Commands.Test/ServiceBus/GetAzureSBNamespaceTest.cs
@@ -22,6 +22,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.ServiceBus;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.ServiceBus
{
diff --git a/src/ServiceManagement/Services/Commands.Test/WAPackIaaS/WebClient/GetAbsoluteUriTests.cs b/src/ServiceManagement/Services/Commands.Test/WAPackIaaS/WebClient/GetAbsoluteUriTests.cs
index 4c2e6dbc79c2..9600f704a96c 100644
--- a/src/ServiceManagement/Services/Commands.Test/WAPackIaaS/WebClient/GetAbsoluteUriTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/WAPackIaaS/WebClient/GetAbsoluteUriTests.cs
@@ -15,7 +15,7 @@
using System;
using System.Text;
using Xunit;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS.WebClient;
namespace Microsoft.WindowsAzure.Commands.Test.WAPackIaaS.WebClient
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/DisableAzureWebsiteDiagnosticTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/DisableAzureWebsiteDiagnosticTests.cs
index dd6330e9c20b..765191222d13 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/DisableAzureWebsiteDiagnosticTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/DisableAzureWebsiteDiagnosticTests.cs
@@ -14,12 +14,13 @@
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/EnableAzureWebsiteDiagnosticTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/EnableAzureWebsiteDiagnosticTests.cs
index af3db57ecc19..18fa8a81eb9d 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/EnableAzureWebsiteDiagnosticTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/EnableAzureWebsiteDiagnosticTests.cs
@@ -15,13 +15,14 @@
using System.Collections.Generic;
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.DeploymentEntities;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
using Xunit;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteMetricsTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteMetricsTests.cs
index cb619b5d506f..97b27ddd563d 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteMetricsTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteMetricsTests.cs
@@ -17,13 +17,14 @@
using System.Linq;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteTests.cs
index b00c5f774dc9..466f519b4e57 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteTests.cs
@@ -17,7 +17,7 @@
using System.Linq;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
@@ -26,6 +26,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebsiteDeploymentTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebsiteDeploymentTests.cs
index 7043b0d44993..148fa84cd857 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebsiteDeploymentTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebsiteDeploymentTests.cs
@@ -17,7 +17,7 @@
using System.Linq;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
@@ -25,6 +25,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/NewAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/NewAzureWebSiteTests.cs
index 8a3f66fcac03..2670efa213db 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/NewAzureWebSiteTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/NewAzureWebSiteTests.cs
@@ -15,7 +15,7 @@
using System;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
@@ -23,6 +23,7 @@
using Microsoft.WindowsAzure.Commands.Websites;
using Microsoft.WindowsAzure.Management.WebSites.Models;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/RemoveAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/RemoveAzureWebSiteTests.cs
index 8f86e922c0fb..7d92d34adc01 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/RemoveAzureWebSiteTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/RemoveAzureWebSiteTests.cs
@@ -15,13 +15,14 @@
using System;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/RestartAzureWebsiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/RestartAzureWebsiteTests.cs
index 58e1a9099ef3..e952048e6e09 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/RestartAzureWebsiteTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/RestartAzureWebsiteTests.cs
@@ -15,12 +15,13 @@
using System;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/RestoreAzureWebsiteDeploymentTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/RestoreAzureWebsiteDeploymentTests.cs
index b9aac67c3acf..114c851d2b8f 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/RestoreAzureWebsiteDeploymentTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/RestoreAzureWebsiteDeploymentTests.cs
@@ -17,7 +17,7 @@
using System.Linq;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
@@ -25,6 +25,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/SaveAzureWebsiteLogTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/SaveAzureWebsiteLogTests.cs
index c6471e90303a..0c878701c3c2 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/SaveAzureWebsiteLogTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/SaveAzureWebsiteLogTests.cs
@@ -18,7 +18,7 @@
using System.Text;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
@@ -26,6 +26,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/SetAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/SetAzureWebSiteTests.cs
index baab7d646f42..290079cb57d5 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/SetAzureWebSiteTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/SetAzureWebSiteTests.cs
@@ -17,13 +17,14 @@
using System.Linq;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzurePortalTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzurePortalTests.cs
index 37c350772665..f60098e641f8 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzurePortalTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzurePortalTests.cs
@@ -16,6 +16,7 @@
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Websites;
+using Microsoft.Azure.Common.Extensions.Models;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzureWebsiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzureWebsiteTests.cs
index 4a569bc82829..ab3c9b5129e4 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzureWebsiteTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzureWebsiteTests.cs
@@ -15,13 +15,14 @@
using System;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/StartAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/StartAzureWebSiteTests.cs
index 79d60d38c04c..df9dee13dc96 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/StartAzureWebSiteTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/StartAzureWebSiteTests.cs
@@ -15,12 +15,13 @@
using System;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/StopAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/StopAzureWebSiteTests.cs
index 7a2f97ebbc06..58c7f1acbc4b 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/StopAzureWebSiteTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/StopAzureWebSiteTests.cs
@@ -15,12 +15,13 @@
using System;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/SwitchAzureWebSiteSlotTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/SwitchAzureWebSiteSlotTests.cs
index badb4ec73a60..099cbf223ca9 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/SwitchAzureWebSiteSlotTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/SwitchAzureWebSiteSlotTests.cs
@@ -16,13 +16,14 @@
using System.Collections.Generic;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/UpdateAzureWebsiteRepositoryTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/UpdateAzureWebsiteRepositoryTests.cs
index bb2a8517f450..5210c9759ced 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/UpdateAzureWebsiteRepositoryTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/UpdateAzureWebsiteRepositoryTests.cs
@@ -16,13 +16,14 @@
using System.Collections.Generic;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
using Microsoft.WindowsAzure.Commands.Websites;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/WebHostingPlans/GetAzureWebHostingPlanTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/WebHostingPlans/GetAzureWebHostingPlanTests.cs
index df0b53b9e1a4..52c4c19a050c 100644
--- a/src/ServiceManagement/Services/Commands.Test/Websites/WebHostingPlans/GetAzureWebHostingPlanTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/Websites/WebHostingPlans/GetAzureWebHostingPlanTests.cs
@@ -18,13 +18,14 @@
using System.Linq;
using Xunit;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
using Microsoft.WindowsAzure.Commands.Websites.WebHostingPlan;
using Moq;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Test.Websites.WebHostingPlans
{
diff --git a/src/ServiceManagement/Services/Commands.Test/packages.config b/src/ServiceManagement/Services/Commands.Test/packages.config
index 47d2bba97b0d..cb47c9297057 100644
--- a/src/ServiceManagement/Services/Commands.Test/packages.config
+++ b/src/ServiceManagement/Services/Commands.Test/packages.config
@@ -11,8 +11,8 @@
-
-
+
+
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1 b/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1
index e4fd34966889..413200049b78 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1
+++ b/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1
@@ -9,7 +9,7 @@
@{
# Version number of this module.
-ModuleVersion = '0.8.11'
+ModuleVersion = '0.8.12'
# ID used to uniquely identify this module
GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325'
diff --git a/src/ServiceManagement/Services/Commands.Utilities/CloudService/CacheConfigurationFactory.cs b/src/ServiceManagement/Services/Commands.Utilities/CloudService/CacheConfigurationFactory.cs
index e163c564997e..233c833f8ac7 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/CloudService/CacheConfigurationFactory.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/CloudService/CacheConfigurationFactory.cs
@@ -27,6 +27,7 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService
{
using ConfigConfigurationSetting = Common.XmlSchema.ServiceConfigurationSchema.ConfigurationSetting;
using DefinitionConfigurationSetting = Common.XmlSchema.ServiceDefinitionSchema.ConfigurationSetting;
+ using Microsoft.WindowsAzure.Commands.Common;
static class CacheConfigurationFactory
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/CloudService/CloudServiceClient.cs b/src/ServiceManagement/Services/Commands.Utilities/CloudService/CloudServiceClient.cs
index 1b97290245a7..b07ffad44cf0 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/CloudService/CloudServiceClient.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/CloudService/CloudServiceClient.cs
@@ -22,7 +22,7 @@
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Storage;
using Microsoft.WindowsAzure.Commands.Utilities.CloudService.AzureTools;
using Microsoft.WindowsAzure.Commands.Utilities.CloudService.Model;
@@ -41,6 +41,8 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService
{
using ConfigCertificate = Common.XmlSchema.ServiceConfigurationSchema.Certificate;
using ConfigConfigurationSetting = Common.XmlSchema.ServiceConfigurationSchema.ConfigurationSetting;
+ using Microsoft.Azure.Common.Extensions.Models;
+ using Microsoft.Azure.Common.Extensions;
public class CloudServiceClient : ICloudServiceClient
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj b/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj
index d21490724364..e481763fe692 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj
+++ b/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj
@@ -103,11 +103,7 @@
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
-
-
- False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.11.2-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
False
@@ -115,7 +111,7 @@
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.1.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.3.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
False
@@ -223,6 +219,8 @@
+
+
@@ -720,6 +718,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{65c3a86a-716d-4e7d-ab67-1db00b3bf72d}
Commands.Common.Storage
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/CsPack.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/CsPack.cs
index 5ac3c6ec6c3d..40ef0cb6d6e2 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/CsPack.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/CsPack.cs
@@ -22,6 +22,8 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService.AzureTools
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntime.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntime.cs
index f21e0f7f0910..10f309b6141f 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntime.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntime.cs
@@ -22,6 +22,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntimeCollection.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntimeCollection.cs
index 6a192a0ff497..9b853562becf 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntimeCollection.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntimeCollection.cs
@@ -18,6 +18,7 @@
using System.Xml;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntimePackage.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntimePackage.cs
index d4aca37d73a4..0c193412dd3a 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntimePackage.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntimePackage.cs
@@ -17,6 +17,7 @@
using System.Xml;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServicePathInfo.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServicePathInfo.cs
index ad7c9c27ff49..c21ea4fdb4aa 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServicePathInfo.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServicePathInfo.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProject.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProject.cs
index 3a14d0c9c888..ffd12d3e6550 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProject.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProject.cs
@@ -26,6 +26,8 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema;
using Microsoft.WindowsAzure.Commands.Utilities;
+using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CommonUtilities.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/CommonUtilities.cs
index 40e59f90c5ac..dfff278043ad 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/CommonUtilities.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/CommonUtilities.cs
@@ -17,6 +17,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.CloudService;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/JavaScriptPackageHelpers.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/JavaScriptPackageHelpers.cs
index c6d1b7f10d3e..d5a00b52369b 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/JavaScriptPackageHelpers.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/JavaScriptPackageHelpers.cs
@@ -18,6 +18,7 @@
using System.Web.Script.Serialization;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/PublishContext.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/PublishContext.cs
index 136cc8de3401..efd3f357acd2 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/PublishContext.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/PublishContext.cs
@@ -18,6 +18,7 @@
using Microsoft.WindowsAzure.Commands.Common;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/RoleInfo.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/RoleInfo.cs
index 60b8ea583165..f6fd5477ba61 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/RoleInfo.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/RoleInfo.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Common.Extensions;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/NodeRules.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/NodeRules.cs
index 5116a9d19305..4d3077897178 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/NodeRules.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/NodeRules.cs
@@ -17,6 +17,8 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema;
+using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PHPRules.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PHPRules.cs
index 98a087815da9..67d0f22aab6a 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PHPRules.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PHPRules.cs
@@ -17,6 +17,8 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema;
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PythonRules.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PythonRules.cs
index df0e6b8021f0..2d347a777af9 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PythonRules.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PythonRules.cs
@@ -17,6 +17,8 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema;
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/Scaffold.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/Scaffold.cs
index a1cd70481fc8..9eae6d86279d 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/Scaffold.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/Scaffold.cs
@@ -20,6 +20,7 @@
using System.Xml.Linq;
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceComponents.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceComponents.cs
index 59c0b53c06e4..8a71dd4d11f4 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceComponents.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceComponents.cs
@@ -21,6 +21,8 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema;
+using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService
{
diff --git a/src/Common/Commands.Common/XmlSchema/ServiceConfigurationSchema.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceConfigurationSchema.cs
similarity index 99%
rename from src/Common/Commands.Common/XmlSchema/ServiceConfigurationSchema.cs
rename to src/ServiceManagement/Services/Commands.Utilities/Common/ServiceConfigurationSchema.cs
index b7dbffe076b9..9c2e9a899813 100644
--- a/src/Common/Commands.Common/XmlSchema/ServiceConfigurationSchema.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceConfigurationSchema.cs
@@ -10,7 +10,7 @@
// This source code was auto-generated by xsd, Version=4.0.30319.34014 using command:
// xsd.exe "C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.5\schemas\ServiceConfigurationSchema.xsd"
-// /c /namespace:Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema
+// /c /namespace:Microsoft.Azure.Common.Extensions.XmlSchema.ServiceConfigurationSchema
// /language:cs
namespace Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema
{
diff --git a/src/Common/Commands.Common/XmlSchema/ServiceDefinitionSchema.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceDefinitionSchema.cs
similarity index 99%
rename from src/Common/Commands.Common/XmlSchema/ServiceDefinitionSchema.cs
rename to src/ServiceManagement/Services/Commands.Utilities/Common/ServiceDefinitionSchema.cs
index 522b146a9758..0141831de1f5 100644
--- a/src/Common/Commands.Common/XmlSchema/ServiceDefinitionSchema.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceDefinitionSchema.cs
@@ -10,7 +10,7 @@
// This source code was auto-generated by xsd, Version=4.0.30319.34014 using command:
// xsd.exe "C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.5\schemas\ServiceDefinitionSchema.xsd"
-// /c /namespace:Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema
+// /c /namespace:Microsoft.Azure.Common.Extensions.XmlSchema.ServiceDefinitionSchema
// /language:cs
namespace Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs
index 204253015b96..5febc9e247ab 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs
@@ -21,13 +21,14 @@
using System.ServiceModel.Dispatcher;
using AutoMapper;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
using Microsoft.WindowsAzure.Management;
using Microsoft.WindowsAzure.Management.Compute;
using Microsoft.WindowsAzure.Management.Network;
using Microsoft.WindowsAzure.Management.Storage;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceSettings.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceSettings.cs
index 30d06f454e59..b1db82219311 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceSettings.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceSettings.cs
@@ -21,6 +21,7 @@
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/MediaServices/MediaServicesClient.cs b/src/ServiceManagement/Services/Commands.Utilities/MediaServices/MediaServicesClient.cs
index 9886c252fd42..8115b61589d0 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/MediaServices/MediaServicesClient.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/MediaServices/MediaServicesClient.cs
@@ -22,7 +22,7 @@
using System.Xml;
using System.Xml.Serialization;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services;
using Microsoft.WindowsAzure.Management.MediaServices;
@@ -30,6 +30,7 @@
using Microsoft.WindowsAzure.Management.Storage;
using Microsoft.WindowsAzure.Management.Storage.Models;
using Newtonsoft.Json;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.MediaServices
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs
index 99d104d97491..c678fe40b48c 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs
@@ -20,6 +20,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model;
using Microsoft.WindowsAzure.Scheduler;
using Microsoft.WindowsAzure.Scheduler.Models;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.Scheduler
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.cs b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.cs
index 728b6c902af8..0eb9d533ad57 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.cs
@@ -16,7 +16,7 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model;
@@ -24,6 +24,7 @@
using Microsoft.WindowsAzure.Management.Scheduler.Models;
using Microsoft.WindowsAzure.Scheduler;
using Microsoft.WindowsAzure.Scheduler.Models;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.Scheduler
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ServiceBusClientExtensions.cs b/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ServiceBusClientExtensions.cs
index dd353879c61f..9e8c4ca20910 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ServiceBusClientExtensions.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ServiceBusClientExtensions.cs
@@ -22,7 +22,7 @@
using Microsoft.ServiceBus.Messaging;
using Microsoft.ServiceBus.Notifications;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
using Microsoft.WindowsAzure.Management.ServiceBus;
using Microsoft.WindowsAzure.Management.ServiceBus.Models;
@@ -30,6 +30,8 @@
namespace Microsoft.WindowsAzure.Commands.Utilities.ServiceBus
{
using ServiceBusNamespaceDescription = Management.ServiceBus.Models.NamespaceDescription;
+ using Microsoft.Azure.Common.Extensions.Models;
+ using Microsoft.Azure.Common.Extensions;
public class ServiceBusClientExtensions
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Store/StoreClient.cs b/src/ServiceManagement/Services/Commands.Utilities/Store/StoreClient.cs
index 47655197556f..dfa975d3c4f0 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Store/StoreClient.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Store/StoreClient.cs
@@ -19,7 +19,7 @@
using System.Security.Cryptography;
using System.Text;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.MarketplaceServiceReference;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
@@ -32,6 +32,8 @@
namespace Microsoft.WindowsAzure.Commands.Utilities.Store
{
using Resource = Management.Store.Models.CloudServiceListResponse.CloudService.AddOnResource;
+ using Microsoft.Azure.Common.Extensions.Models;
+ using Microsoft.Azure.Common.Extensions;
public class StoreClient
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/WAPackIaaS/WebClient/Subscription.cs b/src/ServiceManagement/Services/Commands.Utilities/WAPackIaaS/WebClient/Subscription.cs
index f33e2b1afa0d..c8b00a60b2f0 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/WAPackIaaS/WebClient/Subscription.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/WAPackIaaS/WebClient/Subscription.cs
@@ -17,8 +17,9 @@
using System.Security;
using System.Security.Cryptography.X509Certificates;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS.WebClient
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs
index 6443c16e7204..d01d08427868 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs
@@ -16,8 +16,9 @@
using System.Net;
using System.Net.Http;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Factories;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
+using Microsoft.Azure.Common.Extensions.Factories;
namespace Microsoft.WindowsAzure.Commands.Utilities.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/RemoteLogStreamManager.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/RemoteLogStreamManager.cs
index 72e84b42ff81..db9701c0cc22 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Websites/RemoteLogStreamManager.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/RemoteLogStreamManager.cs
@@ -18,6 +18,7 @@
using System.Text;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.Utilities.Websites
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/Cache.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/Cache.cs
index 74cf334bcdee..b5c18f3badee 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/Cache.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/Cache.cs
@@ -19,6 +19,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
using Microsoft.WindowsAzure.Commands.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.Websites.Services
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/LinkedRevisionControl.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/LinkedRevisionControl.cs
index 6895ef105b6c..2a9b78ac97af 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/LinkedRevisionControl.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/LinkedRevisionControl.cs
@@ -17,6 +17,7 @@
using System.Linq;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Utilities.Websites.Services
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/WebsitesClient.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/WebsitesClient.cs
index a11fc02974d4..8dc3a6897bc1 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Websites/WebsitesClient.cs
+++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/WebsitesClient.cs
@@ -27,7 +27,7 @@
using Microsoft.Build.Logging;
using Microsoft.Web.Deployment;
using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Common.Storage;
using Microsoft.WindowsAzure.Commands.Utilities.CloudService;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
@@ -47,6 +47,8 @@
namespace Microsoft.WindowsAzure.Commands.Utilities.Websites
{
using Utilities = Services.WebEntities;
+ using Microsoft.Azure.Common.Extensions.Models;
+ using Microsoft.Azure.Common.Extensions;
public class WebsitesClient : IWebsitesClient
{
diff --git a/src/ServiceManagement/Services/Commands.Utilities/packages.config b/src/ServiceManagement/Services/Commands.Utilities/packages.config
index caf4583e1181..e37a49cce74a 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/packages.config
+++ b/src/ServiceManagement/Services/Commands.Utilities/packages.config
@@ -12,10 +12,9 @@
-
-
+
-
+
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureMemcacheRole.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureMemcacheRole.cs
index e28a437e4eb0..8c4fda353f15 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureMemcacheRole.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureMemcacheRole.cs
@@ -32,6 +32,7 @@ namespace Microsoft.WindowsAzure.Commands.CloudService.Development
{
using ConfigConfigurationSetting = Utilities.Common.XmlSchema.ServiceConfigurationSchema.ConfigurationSetting;
using DefinitionConfigurationSetting = Utilities.Common.XmlSchema.ServiceDefinitionSchema.ConfigurationSetting;
+ using Microsoft.WindowsAzure.Commands.Common;
///
/// Enables memcache for specific role.
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureRemoteDesktop.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureRemoteDesktop.cs
index 2f7d9865e3c9..cf1eb84ce317 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureRemoteDesktop.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureRemoteDesktop.cs
@@ -30,6 +30,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
using Certificate = Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema.Certificate;
using ConfigurationSetting = Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema.ConfigurationSetting;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.CloudService.Development
{
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/SaveAzureServiceProjectPackage.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/SaveAzureServiceProjectPackage.cs
index 9b87d6cdbcfd..44776a935b79 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/SaveAzureServiceProjectPackage.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/SaveAzureServiceProjectPackage.cs
@@ -19,6 +19,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.CloudService.AzureTools;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.CloudService.Development
{
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureCacheWorkerRole.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureCacheWorkerRole.cs
index e9194c082ca0..bf88da4f4c45 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureCacheWorkerRole.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureCacheWorkerRole.cs
@@ -21,6 +21,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.CloudService.Development.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureDjangoWebRole.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureDjangoWebRole.cs
index e23145fdf384..03fc10eb49c8 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureDjangoWebRole.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureDjangoWebRole.cs
@@ -20,6 +20,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.CloudService.Development.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureNodeWebRole.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureNodeWebRole.cs
index 14bff8bd55a2..1a858fa26df9 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureNodeWebRole.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureNodeWebRole.cs
@@ -18,6 +18,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.CloudService.Development.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureNodeWorkerRole.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureNodeWorkerRole.cs
index ff6cf0b50a7d..7ba23f1d3683 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureNodeWorkerRole.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureNodeWorkerRole.cs
@@ -18,6 +18,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.CloudService.Development.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzurePHPWebRole.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzurePHPWebRole.cs
index 1ad9bdc7e4bf..61984d0b30ce 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzurePHPWebRole.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzurePHPWebRole.cs
@@ -18,6 +18,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.CloudService.Development.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzurePHPWorkerRole.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzurePHPWorkerRole.cs
index d68c2f8b9a3f..07e5dae3b05b 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzurePHPWorkerRole.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzurePHPWorkerRole.cs
@@ -18,6 +18,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.CloudService.Development.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureWebRole.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureWebRole.cs
index ae68a1ddabbe..b61c7ce13f61 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureWebRole.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureWebRole.cs
@@ -20,6 +20,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.CloudService.Development.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureWorkerRole.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureWorkerRole.cs
index 0dfd9eba9228..bb52897a934b 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureWorkerRole.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureWorkerRole.cs
@@ -19,6 +19,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.CloudService.Development.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/NewAzureRoleTemplate.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/NewAzureRoleTemplate.cs
index 0b3616e50565..18fe8452fa07 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/NewAzureRoleTemplate.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/NewAzureRoleTemplate.cs
@@ -19,6 +19,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.CloudService;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.CloudService.Development.Scaffolding
{
diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/StartAzureEmulator.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/StartAzureEmulator.cs
index c30480f3a02c..24685533648b 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/Development/StartAzureEmulator.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/Development/StartAzureEmulator.cs
@@ -21,6 +21,7 @@
using Microsoft.WindowsAzure.Commands.Utilities.CloudService.AzureTools;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.WindowsAzure.Commands.CloudService.Development
{
diff --git a/src/ServiceManagement/Services/Commands/CloudService/TestAzureName.cs b/src/ServiceManagement/Services/Commands/CloudService/TestAzureName.cs
index 9d9a8c088b56..1c8f38e2ebc9 100644
--- a/src/ServiceManagement/Services/Commands/CloudService/TestAzureName.cs
+++ b/src/ServiceManagement/Services/Commands/CloudService/TestAzureName.cs
@@ -14,11 +14,12 @@
using System.IO;
using System.Management.Automation;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.CloudService;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.ServiceBus;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.CloudService
{
diff --git a/src/ServiceManagement/Services/Commands/Commands.csproj b/src/ServiceManagement/Services/Commands/Commands.csproj
index 6e5c5bac6ef3..207e963871ff 100644
--- a/src/ServiceManagement/Services/Commands/Commands.csproj
+++ b/src/ServiceManagement/Services/Commands/Commands.csproj
@@ -107,7 +107,7 @@
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll
False
@@ -115,7 +115,7 @@
False
- ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.1.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.3.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll
..\..\..\packages\Microsoft.WindowsAzure.Management.Scheduler.4.1.0\lib\net40\Microsoft.WindowsAzure.Management.Scheduler.dll
@@ -336,6 +336,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{4900ec4e-8deb-4412-9108-0bc52f81d457}
Commands.Utilities
diff --git a/src/ServiceManagement/Services/Commands/MediaServices/AzureMediaServicesHttpClientCommandBase.cs b/src/ServiceManagement/Services/Commands/MediaServices/AzureMediaServicesHttpClientCommandBase.cs
index de42618d3072..9f32f435bd8d 100644
--- a/src/ServiceManagement/Services/Commands/MediaServices/AzureMediaServicesHttpClientCommandBase.cs
+++ b/src/ServiceManagement/Services/Commands/MediaServices/AzureMediaServicesHttpClientCommandBase.cs
@@ -14,6 +14,7 @@
using System;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.MediaServices
{
diff --git a/src/ServiceManagement/Services/Commands/Websites/EnableAzureWebsiteDiagnostic.cs b/src/ServiceManagement/Services/Commands/Websites/EnableAzureWebsiteDiagnostic.cs
index 105ddd37a2c2..503cc72e53c5 100644
--- a/src/ServiceManagement/Services/Commands/Websites/EnableAzureWebsiteDiagnostic.cs
+++ b/src/ServiceManagement/Services/Commands/Websites/EnableAzureWebsiteDiagnostic.cs
@@ -14,7 +14,7 @@
using System.Collections.Generic;
using System.Management.Automation;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Websites;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.DeploymentEntities;
diff --git a/src/ServiceManagement/Services/Commands/Websites/NewAzureWebSite.cs b/src/ServiceManagement/Services/Commands/Websites/NewAzureWebSite.cs
index 12c7b2baee7e..f3a1ad735844 100644
--- a/src/ServiceManagement/Services/Commands/Websites/NewAzureWebSite.cs
+++ b/src/ServiceManagement/Services/Commands/Websites/NewAzureWebSite.cs
@@ -32,6 +32,7 @@
namespace Microsoft.WindowsAzure.Commands.Websites
{
using GitClass = Utilities.Websites.Services.Git;
+ using Microsoft.Azure.Common.Extensions;
///
/// Creates a new azure website.
diff --git a/src/ServiceManagement/Services/Commands/Websites/ShowAzurePortal.cs b/src/ServiceManagement/Services/Commands/Websites/ShowAzurePortal.cs
index 0f05ce9d378b..38c49306e520 100644
--- a/src/ServiceManagement/Services/Commands/Websites/ShowAzurePortal.cs
+++ b/src/ServiceManagement/Services/Commands/Websites/ShowAzurePortal.cs
@@ -14,10 +14,10 @@
using System.Management.Automation;
using System.Security.Permissions;
-using Microsoft.WindowsAzure.Commands.Common;
-using Microsoft.WindowsAzure.Commands.Common.Models;
+using Microsoft.Azure.Common.Extensions.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Properties;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.Websites
{
diff --git a/src/ServiceManagement/Services/Commands/packages.config b/src/ServiceManagement/Services/Commands/packages.config
index 3806cbb94119..6e53e1f698dd 100644
--- a/src/ServiceManagement/Services/Commands/packages.config
+++ b/src/ServiceManagement/Services/Commands/packages.config
@@ -12,9 +12,9 @@
-
+
-
+
diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj
index f6f2c213d616..0480193a3d80 100644
--- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj
+++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj
@@ -90,6 +90,7 @@
3.5
+
False
@@ -132,6 +133,18 @@
+
+
+
+
+ Component
+
+
+ Component
+
+
+
+
@@ -183,6 +196,10 @@
+
+ {b95c489c-8cb7-4dcf-8d5f-b9aebdbbaf89}
+ Common.Extensions
+
{DDF5D225-C9C5-42B7-BDB5-2C3646E479AA}
Commands.SqlDatabase
@@ -221,6 +238,9 @@
Designer
+
+ PreserveNewest
+
diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/FunctionalTests/OutputFormatValidator.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/FunctionalTests/OutputFormatValidator.cs
index 361a3282f3c4..f95acb7f8976 100644
--- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/FunctionalTests/OutputFormatValidator.cs
+++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/FunctionalTests/OutputFormatValidator.cs
@@ -16,6 +16,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Extensions;
namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Test.FunctionalTests
{
diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml
index adb7014fefcc..a38c2bc2cc57 100644
--- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml
+++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml
@@ -424,7 +424,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -507,7 +507,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -590,7 +590,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -673,7 +673,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -756,7 +756,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -839,7 +839,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -922,7 +922,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -1005,7 +1005,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -1088,7 +1088,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -1171,7 +1171,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb3'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -1254,7 +1254,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -1342,7 +1342,7 @@
http://localhost:12345/v1/ManagementService.svc/GetAccessToken
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
sqlauthorization
@@ -1401,7 +1401,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Servers()?$top=1
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -1484,7 +1484,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/$metadata
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
AccessToken
@@ -1560,7 +1560,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
POST
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -1691,7 +1691,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -1774,7 +1774,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -1857,7 +1857,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
POST
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -1988,7 +1988,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -2071,7 +2071,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -2154,7 +2154,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
POST
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -2285,7 +2285,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -2368,7 +2368,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -2456,7 +2456,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -2539,7 +2539,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -2622,7 +2622,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)
MERGE
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -2746,7 +2746,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -2829,7 +2829,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -2912,7 +2912,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -2995,7 +2995,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -3078,7 +3078,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)
MERGE
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -3202,7 +3202,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -3285,7 +3285,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -3373,7 +3373,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -3456,7 +3456,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -3539,7 +3539,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)
MERGE
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -3661,7 +3661,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'new_testdb1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -3744,7 +3744,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -3827,7 +3827,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'new_testdb1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -3910,7 +3910,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -3993,7 +3993,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)
MERGE
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -4115,7 +4115,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -4198,7 +4198,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -4286,7 +4286,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -4369,7 +4369,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -4452,7 +4452,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)
DELETE
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -4531,7 +4531,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -4614,7 +4614,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -4697,7 +4697,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)
DELETE
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -4776,7 +4776,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -4859,7 +4859,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -4947,7 +4947,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
POST
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -5077,7 +5077,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb3'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -5165,7 +5165,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -5248,7 +5248,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -5331,7 +5331,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -5414,7 +5414,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'e210706e-cd95-4f72-b5e5-885f8a1406e8')/DimensionSettings
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -5497,7 +5497,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7c4c615-cfb1-464b-b252-925be0a19446')/DimensionSettings
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -5580,7 +5580,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a45fea0c-e63c-4bf0-9f81-9964c86b7d2a')/DimensionSettings
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -5663,7 +5663,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -5746,7 +5746,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -5829,7 +5829,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -5917,7 +5917,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -6000,7 +6000,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -6083,7 +6083,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
POST
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -6214,7 +6214,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -6297,7 +6297,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -6380,7 +6380,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'SetAzureSqlPremiumDatabaseTests_P1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -6463,7 +6463,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -6546,7 +6546,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)
MERGE
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -6670,7 +6670,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'SetAzureSqlPremiumDatabaseTests_P1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -6753,7 +6753,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -6836,7 +6836,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'SetAzureSqlPremiumDatabaseTests_P1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -6919,7 +6919,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -7002,7 +7002,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)
DELETE
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -7086,7 +7086,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)
DELETE
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -7165,7 +7165,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -7248,7 +7248,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -7331,7 +7331,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)
DELETE
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -7410,7 +7410,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -7493,7 +7493,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -7576,7 +7576,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)
DELETE
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -7655,7 +7655,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb3'&$top=2
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -7738,7 +7738,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.8.11
+ AzurePowershell/v0.8.12
DataServiceVersion
@@ -7821,7 +7821,7 @@