Skip to content

Commit abfb937

Browse files
committed
Merge branch 'release-0.9.5' of https://github.com/Azure/azure-powershell into dev
2 parents f760368 + 363c87d commit abfb937

File tree

14 files changed

+4561
-1615
lines changed

14 files changed

+4561
-1615
lines changed

setup/azurecmd.wxs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
33

4-
<?define productName="Microsoft Azure PowerShell - June 2015" ?>
4+
<?define productName="Microsoft Azure PowerShell - July 2015" ?>
55
<?define sourceDir="$(var.SolutionDir)..\src\Package\$(var.Configuration)" ?>
66
<?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>
77

8-
<?define version="0.9.4" ?>
8+
<?define version="0.9.5" ?>
99
<?define versionedStartMenuFolder="Microsoft Azure" ?>
1010
<?define staleStartMenuFolder="Windows Azure" ?>
1111

src/Common/Commands.Common/AzurePowerShell.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ public class AzurePowerShell
2727

2828
public const string AssemblyCopyright = "Copyright © Microsoft";
2929

30-
public const string AssemblyVersion = "0.9.4";
30+
public const string AssemblyVersion = "0.9.5";
3131

32-
public const string AssemblyFileVersion = "0.9.4";
32+
public const string AssemblyFileVersion = "0.9.5";
3333

3434
public const string ProfileFile = "AzureProfile.json";
3535

src/Common/Commands.ScenarioTest/Resources/ServiceManagement/ServiceManagementTests.ps1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,6 @@ function Run-StartAndStopMultipleVirtualMachinesTest
123123
Start-AzureVM -ServiceName $svcName -VM $vmList[0];
124124
Start-AzureVM -ServiceName $svcName -VM $vmList[0],$vmList[1];
125125
Start-AzureVM -ServiceName $svcName -VM $vmList;
126-
}
127-
catch
128-
{
129-
130126
}
131127
finally
132128
{

src/Common/Commands.ScenarioTest/SessionRecords/Microsoft.WindowsAzure.Commands.ScenarioTest.ServiceManagementTests/RunStartAndStopMultipleVirtualMachinesTest.json

Lines changed: 3561 additions & 613 deletions
Large diffs are not rendered by default.

src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@{
1010

1111
# Version number of this module.
12-
ModuleVersion = '0.9.4'
12+
ModuleVersion = '0.9.5'
1313

1414
# ID used to uniquely identify this module
1515
GUID = '81d522a4-6e5d-4105-8f58-376204c47458'

src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@{
1010

1111
# Version number of this module.
12-
ModuleVersion = '0.9.4'
12+
ModuleVersion = '0.9.5'
1313

1414
# ID used to uniquely identify this module
1515
GUID = 'F237EAAA-BD3A-4965-AD4A-BF38598BFEF7'

src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
ModuleToProcess = '.\Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.9.4'
15+
ModuleVersion = '0.9.5'
1616

1717
# ID used to uniquely identify this module
1818
GUID = 'a9343cbd-175c-4f72-90c7-2abe9b300644'

src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
ModuleToProcess = '.\Microsoft.WindowsAzure.Commands.ServiceManagement.Preview.dll'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.9.4'
15+
ModuleVersion = '0.9.5'
1616

1717
# ID used to uniquely identify this module
1818
GUID = '1C72E555-E83F-45E4-AED2-AF3278828DCD'

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,9 @@ public static void SetTestSettings()
294294

295295
protected void StartTest(string testname, DateTime testStartTime)
296296
{
297-
Console.WriteLine("{0} test starts at {1}", testname, testStartTime);
297+
string subId = defaultAzureSubscription.SubscriptionId;
298+
string endPoint = defaultAzureSubscription.ServiceEndpoint;
299+
Console.WriteLine("{0} test starts at {1} for subscription {2} and endpoint {3}", testname, testStartTime, subId, endPoint);
298300
}
299301

300302
private static void Retry(string cmdlet, string message, int maxTry = 1, int intervalSecond = 10)

src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/StartAzureVM.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class StartAzureVMCommand : IaaSDeploymentManagementCmdletBase
3434
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The Virtual Machine to restart.", ParameterSetName = "Input")]
3535
[ValidateNotNullOrEmpty]
3636
[Alias("InputObject")]
37-
public PersistentVM[] VM { get; set; }
37+
public IPersistentVM[] VM { get; set; }
3838

3939
protected override void ExecuteCommand()
4040
{
@@ -47,7 +47,7 @@ protected override void ExecuteCommand()
4747
return;
4848
}
4949

50-
string[] inputRoleNames = (this.ParameterSetName == "ByName") ? this.Name : this.VM.Select(vm => vm.RoleName).ToArray();
50+
string[] inputRoleNames = (this.ParameterSetName == "ByName") ? this.Name : this.VM.Select(vm => vm.GetInstance().RoleName).ToArray();
5151

5252
// Generate a list of role names matching wildcard patterns or
5353
// the exact name specified in the -Name parameter.

src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/StopAzureVM.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class StopAzureVMCommand : IaaSDeploymentManagementCmdletBase
3636
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The Virtual Machine to restart.", ParameterSetName = "Input")]
3737
[ValidateNotNullOrEmpty]
3838
[Alias("InputObject")]
39-
public Model.PersistentVM[] VM { get; set; }
39+
public Model.IPersistentVM[] VM { get; set; }
4040

4141
[Parameter(Position = 2, HelpMessage = "Keeps the VM provisioned")]
4242
public SwitchParameter StayProvisioned { get; set; }
@@ -54,7 +54,7 @@ protected override void ExecuteCommand()
5454
return;
5555
}
5656

57-
string[] inputRoleNames = (this.ParameterSetName == "ByName") ? this.Name : this.VM.Select(vm => vm.RoleName).ToArray();
57+
string[] inputRoleNames = (this.ParameterSetName == "ByName") ? this.Name : this.VM.Select(vm => vm.GetInstance().RoleName).ToArray();
5858

5959
// Generate a list of role names matching regular expressions or
6060
// the exact name specified in the -Name parameter.

src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
ModuleToProcess = '.\Microsoft.WindowsAzure.Commands.ExpressRoute.dll'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.9.4'
15+
ModuleVersion = '0.9.5'
1616

1717
# ID used to uniquely identify this module
1818
GUID = 'e5b10573-30da-456a-9319-4c0a5f8bed4a'

src/ServiceManagement/Services/Commands.Utilities/Azure.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@{
1010

1111
# Version number of this module.
12-
ModuleVersion = '0.9.4'
12+
ModuleVersion = '0.9.5'
1313

1414
# ID used to uniquely identify this module
1515
GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325'

0 commit comments

Comments
 (0)