diff --git a/setup/azurecmd.wxs b/setup/azurecmd.wxs
index cbb42ddd1f00..1d0b416685a9 100644
--- a/setup/azurecmd.wxs
+++ b/setup/azurecmd.wxs
@@ -5,7 +5,7 @@
-
+
@@ -69,7 +69,7 @@
-
+
diff --git a/src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs b/src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs
index 6f37a649d717..87905f9bf0a1 100644
--- a/src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs
+++ b/src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs
@@ -24,5 +24,5 @@
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("c565107e-98a9-4703-85cd-a7efc3d8da7b")]
-[assembly: AssemblyVersion("0.9.8")]
-[assembly: AssemblyFileVersion("0.9.8")]
+[assembly: AssemblyVersion("0.9.9")]
+[assembly: AssemblyFileVersion("0.9.9")]
diff --git a/src/Common/Commands.Common/AzurePowerShell.cs b/src/Common/Commands.Common/AzurePowerShell.cs
index dd3e122f685f..10b42c12ee2b 100644
--- a/src/Common/Commands.Common/AzurePowerShell.cs
+++ b/src/Common/Commands.Common/AzurePowerShell.cs
@@ -27,9 +27,9 @@ public class AzurePowerShell
public const string AssemblyCopyright = "Copyright © Microsoft";
- public const string AssemblyVersion = "0.9.8";
+ public const string AssemblyVersion = "0.9.9";
- public const string AssemblyFileVersion = "0.9.8";
+ public const string AssemblyFileVersion = "0.9.9";
public const string ProfileFile = "AzureProfile.json";
diff --git a/src/Common/Commands.Profile/Commands.Profile.csproj b/src/Common/Commands.Profile/Commands.Profile.csproj
index 2048bc5c31f9..106e1f5036d0 100644
--- a/src/Common/Commands.Profile/Commands.Profile.csproj
+++ b/src/Common/Commands.Profile/Commands.Profile.csproj
@@ -141,7 +141,6 @@
-
diff --git a/src/Common/Commands.Profile/SwitchAzureMode.cs b/src/Common/Commands.Profile/SwitchAzureMode.cs
deleted file mode 100644
index 8fd6a71d5211..000000000000
--- a/src/Common/Commands.Profile/SwitchAzureMode.cs
+++ /dev/null
@@ -1,89 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.Management.Automation;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
-using Microsoft.Azure.Common.Authentication;
-
-namespace Microsoft.WindowsAzure.Commands.Profile
-{
- ///
- /// Switches between ServiceManagement and ResourceManager modes.
- ///
- [Cmdlet(VerbsCommon.Switch, "AzureMode")]
- public class SwitchAzureMode : AzureSMCmdlet
- {
- [Parameter(Position = 0, Mandatory = true, HelpMessage = "Name of the mode to switch to. Valid values are AzureServiceManagement and AzureResourceManager")]
- [ValidateSet("AzureServiceManagement", "AzureResourceManager", IgnoreCase = false)]
- public string Name { get; set; }
-
- [Parameter(Position = 1, Mandatory = false, HelpMessage = "If specified, save the module switch at machine level")]
- public SwitchParameter Global { get; set; }
-
- public override void ExecuteCmdlet()
- {
- WriteWarning(Resources.SwitchAzureModeDeprecated);
- AzureModule moduleToImport = (AzureModule)Enum.Parse(typeof(AzureModule), Name, false);
- AzureModule moduleToRemove = moduleToImport == AzureModule.AzureResourceManager ? AzureModule.AzureServiceManagement : AzureModule.AzureResourceManager;
- RemoveAzureModule(FileUtilities.GetModuleName(moduleToRemove), FileUtilities.GetPSModulePathForModule(moduleToRemove));
- ImportAzureModule(FileUtilities.GetModuleName(moduleToImport), FileUtilities.GetPSModulePathForModule(moduleToImport));
- }
-
- private void ImportAzureModule(string name, string path)
- {
- if (!IsLoaded(name))
- {
- WriteVerbose(string.Format("Adding {0} module path to PSModulePath...", path));
- PowerShellUtilities.AddModuleToPSModulePath(path);
-
- WriteVerbose(string.Format("Importing {0} module...", name));
- this.ImportModule(name);
-
- if (Global)
- {
- PowerShellUtilities.AddModuleToPSModulePath(path, EnvironmentVariableTarget.Machine);
- }
- }
- }
-
- private bool IsLoaded(string moduleName)
- {
- return this.GetLoadedModules().Exists(m => m.Name.Equals(moduleName));
- }
-
- private void RemoveAzureModule(string name, string path)
- {
- if (IsLoaded(name))
- {
- WriteVerbose(string.Format("Removing {0} module...", name));
- this.RemoveModule(name);
-
- if (name.Equals(FileUtilities.GetModuleName(AzureModule.AzureServiceManagement)))
- {
- this.RemoveAzureAliases();
- }
-
- WriteVerbose(string.Format("Removing {0} module path from PSModulePath...", path));
- PowerShellUtilities.RemoveModuleFromPSModulePath(path);
-
- if (Global)
- {
- PowerShellUtilities.RemoveModuleFromPSModulePath(path, EnvironmentVariableTarget.Machine);
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/Common/Commands.ResourceManager.Common/Properties/Resources.Designer.cs b/src/Common/Commands.ResourceManager.Common/Properties/Resources.Designer.cs
index 4d7c2df97a6b..900a6a82fe96 100644
--- a/src/Common/Commands.ResourceManager.Common/Properties/Resources.Designer.cs
+++ b/src/Common/Commands.ResourceManager.Common/Properties/Resources.Designer.cs
@@ -126,6 +126,15 @@ public static string InvalidDefaultSubscription {
}
}
+ ///
+ /// Looks up a localized string similar to The provided account {0} does not have access to any subscriptions. Please try logging in with different credentials..
+ ///
+ public static string NoSubscriptionFound {
+ get {
+ return ResourceManager.GetString("NoSubscriptionFound", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Tenant '{0}' was not found. Please verify that your account has access to this tenant..
///
diff --git a/src/Common/Commands.ResourceManager.Common/Properties/Resources.resx b/src/Common/Commands.ResourceManager.Common/Properties/Resources.resx
index c5b53f978b1a..617f62d27d76 100644
--- a/src/Common/Commands.ResourceManager.Common/Properties/Resources.resx
+++ b/src/Common/Commands.ResourceManager.Common/Properties/Resources.resx
@@ -148,6 +148,9 @@ Select Y to enable data collection [Y/N]:
No default subscription has been designated. Use Select-AzureSubscription -Default <subscriptionName> to set the default subscription.
+
+ The provided account {0} does not have access to any subscriptions. Please try logging in with different credentials.
+
Tenant '{0}' was not found. Please verify that your account has access to this tenant.
diff --git a/src/Common/Commands.ResourceManager.Common/RMProfileClient.cs b/src/Common/Commands.ResourceManager.Common/RMProfileClient.cs
index 24170448de7d..8c2a8ceec9a1 100644
--- a/src/Common/Commands.ResourceManager.Common/RMProfileClient.cs
+++ b/src/Common/Commands.ResourceManager.Common/RMProfileClient.cs
@@ -54,7 +54,8 @@ public AzureRMProfile Login(AzureAccount account, AzureEnvironment environment,
// (tenant is present and subscription is not provided)
if (!string.IsNullOrEmpty(tenantId))
{
- TryGetTenantSubscription(account, environment, tenantId, subscriptionId, password, promptBehavior, out newSubscription, out newTenant);
+ var token = AcquireAccessToken(account, environment, tenantId, password, promptBehavior);
+ TryGetTenantSubscription(token, account, environment, tenantId, subscriptionId, out newSubscription, out newTenant);
}
// (tenant is not provided and subscription is present) OR
// (tenant is not provided and subscription is not provided)
@@ -63,16 +64,21 @@ public AzureRMProfile Login(AzureAccount account, AzureEnvironment environment,
foreach(var tenant in ListAccountTenants(account, environment, password, promptBehavior))
{
AzureTenant tempTenant;
- if (TryGetTenantSubscription(account, environment, tenant.Id.ToString(), subscriptionId, password, ShowDialog.Auto, out newSubscription, out tempTenant))
- {
+ AzureSubscription tempSubscription;
+ var token = AcquireAccessToken(account, environment, tenant.Id.ToString(), password,
+ ShowDialog.Auto);
+ if (newTenant == null && TryGetTenantSubscription(token, account, environment, tenant.Id.ToString(), subscriptionId, out tempSubscription, out tempTenant) &&
+ newTenant == null)
+ {
newTenant = tempTenant;
+ newSubscription = tempSubscription;
}
}
}
if (newSubscription == null)
{
- throw new PSInvalidOperationException("Subscription was not found.");
+ throw new PSInvalidOperationException(String.Format(Properties.Resources.NoSubscriptionFound, account.Id));
}
_profile.Context = new AzureContext(newSubscription, account, environment, newTenant);
@@ -135,12 +141,14 @@ public bool TryGetSubscription(string tenantId, string subscriptionId, out Azure
{
if (string.IsNullOrWhiteSpace(tenantId))
{
- throw new ArgumentNullException("Please provide a valid tenant Id");
+ throw new ArgumentNullException("Please provide a valid tenant Id.");
}
AzureTenant tenant;
- return TryGetTenantSubscription(_profile.Context.Account, _profile.Context.Environment,
- tenantId, subscriptionId, null, ShowDialog.Never, out subscription, out tenant);
+ var token = AcquireAccessToken(_profile.Context.Account, _profile.Context.Environment,
+ tenantId, null, ShowDialog.Never);
+ return TryGetTenantSubscription(token, _profile.Context.Account, _profile.Context.Environment,
+ tenantId, subscriptionId, out subscription, out tenant);
}
public AzureEnvironment AddOrSetEnvironment(AzureEnvironment environment)
@@ -235,23 +243,30 @@ private AzureEnvironment MergeEnvironmentProperties(AzureEnvironment environment
return mergedEnvironment;
}
- private bool TryGetTenantSubscription(
- AzureAccount account,
- AzureEnvironment environment,
- string tenantId,
- string subscriptionId,
- SecureString password,
- ShowDialog promptBehavior,
+ private IAccessToken AcquireAccessToken(AzureAccount account,
+ AzureEnvironment environment,
+ string tenantId,
+ SecureString password,
+ ShowDialog promptBehavior)
+ {
+ return AzureSession.AuthenticationFactory.Authenticate(
+ account,
+ environment,
+ tenantId,
+ password,
+ promptBehavior,
+ TokenCache.DefaultShared);
+ }
+
+ private bool TryGetTenantSubscription(IAccessToken accessToken,
+ AzureAccount account,
+ AzureEnvironment environment,
+ string tenantId,
+ string subscriptionId,
out AzureSubscription subscription,
out AzureTenant tenant)
{
- var accessToken = AzureSession.AuthenticationFactory.Authenticate(
- account,
- environment,
- tenantId,
- password,
- promptBehavior,
- TokenCache.DefaultShared);
+
using (var subscriptionClient = AzureSession.ClientFactory.CreateCustomClient(
new TokenCloudCredentials(accessToken.AccessToken),
environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ResourceManager)))
@@ -311,13 +326,8 @@ private bool TryGetTenantSubscription(
private List ListAccountTenants(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior)
{
- var commonTenantToken = AzureSession.AuthenticationFactory.Authenticate(
- account,
- environment,
- AuthenticationFactory.CommonAdTenant,
- password,
- promptBehavior,
- TokenCache.DefaultShared);
+ var commonTenantToken = AcquireAccessToken( account, environment, AuthenticationFactory.CommonAdTenant,
+ password, promptBehavior);
using (var subscriptionClient = AzureSession.ClientFactory.CreateCustomClient(
new TokenCloudCredentials(commonTenantToken.AccessToken),
@@ -341,13 +351,7 @@ public IEnumerable ListTenants()
private IEnumerable ListSubscriptionsForTenant(AzureAccount account, AzureEnvironment environment,
SecureString password, ShowDialog promptBehavior, string tenantId)
{
- var accessToken = AzureSession.AuthenticationFactory.Authenticate(
- account,
- environment,
- tenantId,
- password,
- promptBehavior,
- TokenCache.DefaultShared);
+ var accessToken = AcquireAccessToken(account, environment, tenantId, password, promptBehavior);
using (var subscriptionClient = AzureSession.ClientFactory.CreateCustomClient(
new TokenCloudCredentials(accessToken.AccessToken),
environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ResourceManager)))
diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.psd1 b/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.psd1
index 4fbf85a653bb..2fabd8b39195 100644
--- a/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.psd1
+++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.psd1
@@ -9,7 +9,7 @@
@{
# Version number of this module.
-ModuleVersion = '0.9.8'
+ModuleVersion = '0.9.9'
# ID used to uniquely identify this module
GUID = 'F237EAAA-BD3A-4965-AD4A-BF38598BFEF7'
diff --git a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1
index 4bb25e2325ce..b0d98fe4a1a0 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.9.8'
+ModuleVersion = '0.9.9'
# ID used to uniquely identify this module
GUID = '81d522a4-6e5d-4105-8f58-376204c47458'
diff --git a/src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.psd1 b/src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.psd1
index f2861daf4d58..ff01dda09b5d 100644
--- a/src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.psd1
+++ b/src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.psd1
@@ -9,7 +9,7 @@
@{
# Version number of this module.
-ModuleVersion = '0.9.8'
+ModuleVersion = '0.9.9'
# ID used to uniquely identify this module
GUID = 'F237EAAA-BD3A-4965-AD4A-BF38598BFEF7'
diff --git a/src/ResourceManager/Tags/Commands.Tags/Properties/AssemblyInfo.cs b/src/ResourceManager/Tags/Commands.Tags/Properties/AssemblyInfo.cs
index 62532602486c..86e179aeed0c 100644
--- a/src/ResourceManager/Tags/Commands.Tags/Properties/AssemblyInfo.cs
+++ b/src/ResourceManager/Tags/Commands.Tags/Properties/AssemblyInfo.cs
@@ -25,8 +25,8 @@
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("e386b843-f3f0-4db3-8664-37d16b860dde")]
-[assembly: AssemblyVersion("0.9.8")]
-[assembly: AssemblyFileVersion("0.9.8")]
+[assembly: AssemblyVersion("0.9.9")]
+[assembly: AssemblyFileVersion("0.9.9")]
#if SIGN
[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.Resources.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
#else
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1
index 43a1bb5bd6ce..7b6acc6aadce 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.9.8'
+ModuleVersion = '0.9.9'
# ID used to uniquely identify this module
GUID = 'a9343cbd-175c-4f72-90c7-2abe9b300644'
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1
index ee3eb52270af..1378afbfe0de 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.9.8'
+ModuleVersion = '0.9.9'
# ID used to uniquely identify this module
GUID = '1C72E555-E83F-45E4-AED2-AF3278828DCD'
diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1 b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1
index 9c7160b5b54c..819d8b64094e 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.9.8'
+ModuleVersion = '0.9.9'
# ID used to uniquely identify this module
GUID = 'e5b10573-30da-456a-9319-4c0a5f8bed4a'
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1 b/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1
index d7e67e1c1c41..b6e5a697a138 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.9.8'
+ModuleVersion = '0.9.9'
# ID used to uniquely identify this module
GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325'
diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml
index e3eee1ffdd03..53f86937813d 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.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -507,7 +507,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -590,7 +590,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -673,7 +673,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -756,7 +756,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -839,7 +839,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -922,7 +922,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -1005,7 +1005,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -1088,7 +1088,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -1171,7 +1171,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb3'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -1254,7 +1254,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -1342,7 +1342,7 @@
http://localhost:12345/v1/ManagementService.svc/GetAccessToken
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
sqlauthorization
@@ -1401,7 +1401,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Servers()?$top=1
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -1484,7 +1484,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/$metadata
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
AccessToken
@@ -1560,7 +1560,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
POST
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -1691,7 +1691,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -1774,7 +1774,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -1857,7 +1857,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
POST
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -1988,7 +1988,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -2071,7 +2071,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -2154,7 +2154,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
POST
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -2285,7 +2285,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -2368,7 +2368,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -2456,7 +2456,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -2539,7 +2539,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -2622,7 +2622,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)
MERGE
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -2746,7 +2746,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -2829,7 +2829,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -2912,7 +2912,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -2995,7 +2995,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -3078,7 +3078,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)
MERGE
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -3202,7 +3202,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -3285,7 +3285,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -3373,7 +3373,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -3456,7 +3456,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -3539,7 +3539,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)
MERGE
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
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.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -3744,7 +3744,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
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.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -3910,7 +3910,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -3993,7 +3993,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)
MERGE
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -4115,7 +4115,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -4198,7 +4198,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -4286,7 +4286,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -4369,7 +4369,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -4452,7 +4452,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)
DELETE
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -4531,7 +4531,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -4614,7 +4614,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -4697,7 +4697,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)
DELETE
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -4776,7 +4776,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -4859,7 +4859,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -4947,7 +4947,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
POST
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -5077,7 +5077,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb3'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -5165,7 +5165,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -5248,7 +5248,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -5331,7 +5331,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -5414,7 +5414,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'e210706e-cd95-4f72-b5e5-885f8a1406e8')/DimensionSettings
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -5497,7 +5497,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7c4c615-cfb1-464b-b252-925be0a19446')/DimensionSettings
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -5580,7 +5580,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a45fea0c-e63c-4bf0-9f81-9964c86b7d2a')/DimensionSettings
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -5663,7 +5663,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -5746,7 +5746,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -5829,7 +5829,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -5917,7 +5917,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -6000,7 +6000,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -6083,7 +6083,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases
POST
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -6214,7 +6214,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -6297,7 +6297,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
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.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -6463,7 +6463,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -6546,7 +6546,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)
MERGE
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
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.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -6753,7 +6753,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
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.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -6919,7 +6919,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -7002,7 +7002,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)
DELETE
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -7086,7 +7086,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)
DELETE
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -7165,7 +7165,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -7248,7 +7248,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -7331,7 +7331,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)
DELETE
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -7410,7 +7410,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -7493,7 +7493,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -7576,7 +7576,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)
DELETE
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9
DataServiceVersion
@@ -7655,7 +7655,7 @@
http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb3'&$top=2
GET
- AzurePowershell/v0.9.8
+ AzurePowershell/v0.9.9