Skip to content

Merging Release 0.9.2 to Master branch #444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 200 commits into from
May 30, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
221de85
merge from storedpolicy branch
zhenyud Dec 1, 2014
33fabbb
Merge branch 'dev' into next
Dec 17, 2014
69235f9
Use property directly instead a separate member in class.
EmmaZhu Dec 23, 2014
dc63110
Use property directly instead a separate member in class.
EmmaZhu Dec 23, 2014
3e2ff52
Merge branch 'dev' of https://github.com/wastoresh/azure-powershell i…
EmmaZhu Jan 29, 2015
c30ba14
Merge pull request #20 from huangpf/dev
AzureRT Mar 24, 2015
3518a23
Merge pull request #15 from Azure/dev
sethusrinivasan Mar 25, 2015
b0274dd
Merge branch 'release-0.8.16' of https://github.com/Azure/azure-power…
huangpf Mar 31, 2015
c04a21f
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
Apr 2, 2015
eacd4dc
Add mocked test to validate DateTime.Max values
Apr 2, 2015
2e515f1
Add support for the SetParameters.xml file to override package config…
naeemkhedarun Apr 2, 2015
0ba136c
Added changes to support bootstrap options for chef extension
Apr 3, 2015
0583743
Added changes to parse chef extension bootstrap option
Apr 6, 2015
2fc14fb
Merge pull request #16 from Azure/dev
sethusrinivasan Apr 13, 2015
5b696fd
Merge branch 'dev' of https://github.com/AzureRT/azure-powershell int…
huangpf Apr 13, 2015
8dea60f
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
huangpf Apr 13, 2015
29adff7
ADF PowerShell change for sprint 47
jackmagic313 Apr 14, 2015
ae0983c
Merge pull request #357 from Azure/master
markcowl Apr 30, 2015
af18570
Merge pull request #1 from Azure/dev
huangpf Apr 30, 2015
c7ee618
Merge branch 'ignite' into dev
eshaparmar Apr 30, 2015
f9f2d9a
Update README.md
markcowl May 1, 2015
bf3190f
Update Stream Analytics PowerShell
atpham256 May 2, 2015
1deb723
fixed Scenario Test for Set-AzureServiceDiagnosticsExtension cmdlet
PashaPash Apr 29, 2015
3f00913
fix for #193 - "The extension ID Default-PaaSDiagnostics-Staging-Ext-…
PashaPash Apr 29, 2015
dfbe868
Merge pull request #17 from Azure/dev
sethusrinivasan May 4, 2015
e8e669c
Merge pull request #2 from Azure/master
huangpf May 5, 2015
e0f30d6
Merge pull request #364 from Azure/master
amarzavery May 5, 2015
6037c75
Merge remote-tracking branch 'Azure/dev' into dev
atpham256 May 5, 2015
173eb34
Fixes for github issues: 310, 329, 335.
amarzavery May 5, 2015
94ed44d
Ported changes for commandlet rename
olignat May 5, 2015
8541aac
Fixed SelectAzureSubscriptionWithPassthroughPrintsSubscription test
stankovski May 5, 2015
e19b79d
Merge pull request #1 from stankovski/dev
amarzavery May 5, 2015
a58af04
Merge pull request #367 from amarzavery/dev
stankovski May 5, 2015
12c1034
Merge remote-tracking branch 'Azure/dev' into dev
atpham256 May 5, 2015
a1016a4
Update Stream Analytics Get-Help Documentation
atpham256 May 5, 2015
20315a6
Fix to the new subscription registiontaion with ADF RP issue.
May 6, 2015
69d3f37
Move resource storage account management cmdlets to a new project.
EmmaZhu May 5, 2015
45dfa3b
Merge pull request #3 from Azure/dev
huangpf May 6, 2015
0fc9fb2
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
eshaparmar May 6, 2015
114fbdd
Delete tests that have coverage in end to end
eshaparmar May 6, 2015
c36c3f1
Merge pull request #18 from Azure/dev
sethusrinivasan May 6, 2015
1fa34e8
WebhookCmdlets
shipram May 6, 2015
88d979b
Added new ADF onpremises encryption for M sources.
May 6, 2015
fcb5951
WebhookCmdlets
shipram May 6, 2015
41f276b
webhookcmdlets3
shipram May 6, 2015
4ed9828
Move resource storage account management cmdlets unittest to a new pr…
EmmaZhu May 7, 2015
0f5f006
Merge branch 'dev' of https://github.com/Azure/azure-powershell into srp
EmmaZhu May 7, 2015
a8319b1
Updating references to use latest HDInsight SDK
vhamine May 7, 2015
e96e19a
Update Stream Analytics PowerShell
atpham256 May 7, 2015
0d535cd
Updating references in HDInsight.Test to use the latest HDInsight SDK
vhamine May 7, 2015
7eaf123
Change help content to make it consistant.
EmmaZhu May 8, 2015
eeafd07
Merge remote-tracking branch 'origin/srp' into dev
EmmaZhu May 8, 2015
cdf0685
Remove unneccessary app.config reference.
EmmaZhu May 8, 2015
da0d34e
Merge pull request #360 from atpham256/dev
stankovski May 8, 2015
ef4fb6f
Merge pull request #374 from vhamine/dev
stankovski May 8, 2015
d33d22b
Merge pull request #4 from Azure/dev
huangpf May 8, 2015
b1e5051
Fixed failing configuration parsing and serialization tests
eshaparmar May 11, 2015
158770e
changed the test category to BVT
eshaparmar May 11, 2015
43b60e4
Merge branch 'dev' of https://github.com/azure/azure-powershell into dev
May 11, 2015
a967e48
update model classes
huangpf May 12, 2015
b99edf4
update
huangpf May 12, 2015
3eb2516
Fixing Set-AzureSqlDatabase when targetting a v11 server through the …
akromm-zz May 13, 2015
1f0475b
Key Vault cmdlet bug fix for GitHub issues 368, 378
divyagandhi01 May 5, 2015
b5fdea1
Adding tests.
akromm-zz May 13, 2015
b5713fb
List All get paged data
safeermohammed May 14, 2015
e58d1f8
Resolve PR comments.
EmmaZhu May 14, 2015
8668e00
Merge branch 'srp' of https://github.com/wastoresh/azure-powershell-p…
EmmaZhu May 14, 2015
cc82553
Addressing code review comments.
akromm-zz May 14, 2015
e3c5862
Merge pull request #381 from divyakgupta/dev
stankovski May 14, 2015
0d0712f
merge from public ps
jackmagic313 May 14, 2015
d1dd9b6
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
jackmagic313 May 14, 2015
f1df0b4
Merge pull request #5 from Azure/dev
huangpf May 14, 2015
72fb072
Updating referenced nuget package version.
akromm-zz May 14, 2015
cc6bc90
Removing reference to app.config.
akromm-zz May 14, 2015
50c38b0
Removing another reference to app.config.
akromm-zz May 14, 2015
121c37c
Fix Set and Move AzureResource commands. DefaultParamSet is now Resou…
vivsriaus May 14, 2015
ce4c1d8
Add copyright to cs files.
EmmaZhu May 15, 2015
d2fe114
Merge pull request #389 from akromm/dev-update-fix-20150513
markcowl May 15, 2015
d0719f5
Support compound identity access policy
May 14, 2015
afd0f58
Merge pull request #6 from Azure/dev
huangpf May 15, 2015
02bb2d1
review comments
safeermohammed May 15, 2015
75eb0fe
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
vivsriaus May 15, 2015
3865aa7
Re-record tests
May 15, 2015
48d9590
Add a scenario test for Move and Set. Accept legacy property object. …
vivsriaus May 15, 2015
858709c
Changes to add DeleteChefConfig option for set chef extension
May 18, 2015
2ba03da
Merge branch 'master' of https://github.com/Azure/azure-powershell in…
yoavrubin May 18, 2015
bc81a61
Merge pull request #19 from Azure/dev
sethusrinivasan May 18, 2015
dcf6e0e
Merge pull request #380 from dscsolutions/delete-tests
May 18, 2015
fa75814
Merge pull request #7 from Azure/dev
huangpf May 18, 2015
7de2457
Throw warning only if using legacy object format
vivsriaus May 19, 2015
01d2830
Merge pull request #400 from YuhuiZhong/ace
ogail May 19, 2015
faddde8
Get-AzureVMSqlServerExtension was not reporting back "AutoBackup" and…
sethusrinivasan May 19, 2015
82bb198
Merge pull request #20 from Azure/dev
sethusrinivasan May 19, 2015
55f1e06
Merge pull request #8 from Azure/dev
huangpf May 19, 2015
a323cc6
Merge pull request #377 from wastoresh/dev
stankovski May 19, 2015
7982004
Update Common.Authentication dll to pick up graph and gallery mooncak…
vivsriaus May 19, 2015
e7ee318
Merge pull request #401 from sethusrinivasan/dev
stankovski May 19, 2015
1f58123
Add app.config back to StorSimple.Test.csproj
vivsriaus May 19, 2015
cc94edd
Merge pull request #321 from ClogenyTechnologies/sid-chef-extension-b…
ogail May 19, 2015
f90bbd5
Merge pull request #390 from vivsriaus/dev
ogail May 19, 2015
3d88c8c
Merge pull request #361 from LogicSoftware/dev
ogail May 19, 2015
e59611e
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
huangpf May 20, 2015
fa3ee24
Merge branch 'dev' of https://github.com/huangpf/azure-powershell int…
huangpf May 20, 2015
9cec9e3
update
huangpf May 20, 2015
599fba5
Alias should be PropertyObject
vivsriaus May 20, 2015
b449be4
Merge pull request #405 from huangpf/dev
ogail May 20, 2015
61feebd
Merge pull request #407 from vivsriaus/dev
ogail May 20, 2015
aab06f5
WORK:3527498 Enabled tests & add recorded tests results for Brooklyn …
Nilambari May 20, 2015
ae01bf3
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
Nilambari May 20, 2015
45aa190
Merge pull request #408 from Nilambari/dev
yugangw-msft May 20, 2015
b63006b
Changing namespace Azure->WindowsAzure for RDFE API specs
yadavbdev May 20, 2015
e20ca14
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
yadavbdev May 20, 2015
d93693d
Merge pull request #9 from Azure/dev
huangpf May 20, 2015
cdf8774
Removing the file newly added but not needed from the project
yadavbdev May 20, 2015
621ea0b
Merge pull request #410 from yadavbdev/dev
yadavbdev May 20, 2015
117634e
Merging alias changes with upstream dev branch changes
markcowl May 21, 2015
40f8328
Merge branch 'dev' of https://github.com/azure/azure-powershell into dev
May 21, 2015
7824e13
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
yoavrubin May 21, 2015
6609d5a
Remove redundant "-All" flag in Get-AzureVM
huangpf May 21, 2015
d46e6e2
fixing schedule test
safeermohammed May 21, 2015
053621e
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
safeermohammed May 21, 2015
6ffec05
Cmdlets for webhooks and Tests
shipram May 21, 2015
c035421
Merge branch 'dev' of https://github.com/AzureAutomationTeam/azure-po…
shipram May 21, 2015
2e11ddd
saving work
shipram May 21, 2015
0243237
removing unwanted file
shipram May 21, 2015
8cbee16
Changing alias infrastructure for sql aliases
markcowl May 21, 2015
301cfe0
Deprecating Switch-AzureMode
markcowl May 21, 2015
93e41fb
Move the generated format content to a separate file.
huangpf May 21, 2015
0537585
Implemented paging in Get cmdlets
shipram May 21, 2015
7dd9cb4
fixed param order
shipram May 21, 2015
f1fb934
deleted unwanted file
shipram May 21, 2015
fc59a7e
Fixes to structure for alias script
markcowl May 21, 2015
f0009d0
Upgrade ADF gateway encryption nuget version.
May 22, 2015
c999ef2
addressed code review comments
shipram May 22, 2015
f09125d
Update PS Output Types & Format for VM/Ext/AVSet Cmdlets
huangpf May 22, 2015
921c3e1
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
huangpf May 22, 2015
7edfeee
Add Force parameter to Remove-AzureAvailabilitySet
May 22, 2015
58fcb41
Combine Get-AzureVMImage and Get-AzureVMImageDetail cmdlets
May 22, 2015
39d57bf
Fix piping issue for Remove-AzureVMDataDisk
May 22, 2015
8dedf30
Merge branch 'dev' of https://github.com/huangpf/azure-powershell int…
May 22, 2015
2811ed6
Merge pull request #412 from huangpf/dev
markcowl May 22, 2015
301140c
Removing the alias option from data masking rule
yoavrubin May 22, 2015
9f910dd
Fix for combining image and imagedetails
May 22, 2015
4eaf626
Update the output of Remove-AzureAvailabilitySet cmdlet
May 22, 2015
0bcc52d
Add test for piping of Remove-AzureVMDataDisk and Remove-AzureVMNetwo…
May 22, 2015
a06dfeb
Merge branch 'dev' of https://github.com/Azure/azure-powershell into …
May 22, 2015
f33cbc3
Fixing tests
markcowl May 22, 2015
9deef66
Merge pull request #414 from yitao-zhang/dev
markcowl May 22, 2015
7774bc7
Add help file for Key Vault cmdlets
divyagandhi01 May 22, 2015
a89ec8b
Merge pull request #415 from markcowl/sqlps1
markcowl May 22, 2015
ddb6da5
Merge remote-tracking branch 'upstream/dev' into dev
naeemkhedarun May 22, 2015
966574c
Fix bug PowerShell returns an exception when listing keys in a vault …
May 22, 2015
f8048be
Merge pull request #5 from shipram/dev
safeermohammed May 22, 2015
5757972
Change NicIds to NetworkInterfaceIds
May 22, 2015
5819480
Merge branch 'dev' of https://github.com/Azure/azure-powershell into …
May 22, 2015
eb4ff91
Updated to new SDK 1.0.3
safeermohammed May 22, 2015
9bf5b03
Merge pull request #416 from yoavrubin/dev
ogail May 22, 2015
bcf0742
Merge pull request #417 from hyonholee/dev2
ogail May 22, 2015
169e479
Merge pull request #419 from divyakgupta/dev
ogail May 22, 2015
237ab20
Merge pull request #420 from YuhuiZhong/dev
ogail May 22, 2015
100bccb
Fix output of VM object
May 22, 2015
74efb3d
Merge branch 'dev' of https://github.com/Azure/azure-powershell into …
May 22, 2015
2a5f8ba
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
jackmagic313 May 22, 2015
7f1eba5
Check correct value for setparameters is passed to the web client.
naeemkhedarun May 23, 2015
ec6b68f
ADF PowerShell Change for sprint 49
jackmagic313 May 23, 2015
da9ca43
Merge remote-tracking branch 'upstream/dev' into dev
naeemkhedarun May 23, 2015
964c830
Get all accounts at subscription level
safeermohammed May 23, 2015
c525427
VMImage cmdlet help file changes
May 23, 2015
2cd333c
Deprecating old event types
yoavrubin May 26, 2015
1795372
defaulting Streamtype to any
safeermohammed May 26, 2015
fe5ce94
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
safeermohammed May 26, 2015
bde506b
Merge pull request #421 from hyonholee/dev2
markcowl May 26, 2015
f4ae086
Merge pull request #423 from jackmagic313/dev
markcowl May 26, 2015
0eb0d57
Merge pull request #424 from singhkay/dev
markcowl May 26, 2015
6fdede4
adding wxi
yoavrubin May 26, 2015
cd5331b
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
yoavrubin May 26, 2015
a541017
Merge pull request #427 from yoavrubin/dev
May 26, 2015
2be1493
Merge pull request #316 from naeemkhedarun/dev
May 26, 2015
e073bb8
Merge pull request #422 from AzureAutomationTeam/dev
May 26, 2015
82b1567
Updated release version
stankovski May 27, 2015
c53c972
Merge pull request #430 from stankovski/release-0.9.2
stankovski May 27, 2015
8e707e0
Fixing tests from bad merge
akromm-zz May 27, 2015
3f5717e
Adding missing DLLs to WIX installer
stankovski May 27, 2015
51a239c
Merge pull request #433 from stankovski/release-0.9.2
stankovski May 27, 2015
81ef292
Add help xml file for ARM cmdlets
vivsriaus May 27, 2015
97faee3
Merge pull request #434 from akromm/dev-pr-fixed
stankovski May 27, 2015
f231a6c
Merge pull request #435 from vivsriaus/release-0.9.2
stankovski May 27, 2015
2382078
Add help for Set-AzureResource
vivsriaus May 27, 2015
3188440
Add help for set-azureresourcelock
vivsriaus May 27, 2015
5abb5ad
Fix message
vivsriaus May 27, 2015
c4d82a3
Revert "Fix piping issue for Remove-AzureVMDataDisk"
May 27, 2015
5978c66
Revert "Add test for piping of Remove-AzureVMDataDisk and Remove-Azur…
May 22, 2015
32ae525
Add notes for ARM cmdlets
vivsriaus May 27, 2015
e8e0578
Merge pull request #437 from vivsriaus/release-0.9.2
stankovski May 28, 2015
768d789
Merge pull request #438 from hyonholee/dev3
stankovski May 28, 2015
24583ff
Merge pull request #439 from Azure/vivsriaus-patch-1
stankovski May 28, 2015
8f7bf17
Added changelog for release 0.9.2
May 30, 2015
d92b7b0
Merge pull request #445 from hovsepm/release-0.9.2
May 30, 2015
869ee19
Fixed release 0.9.2 comments
May 30, 2015
839e03f
Merge pull request #446 from hovsepm/release-0.9.2
May 30, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 31 additions & 3 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
2015.05.29 version 0.9.2
* Deprecated Switch-AzureMode
* Profile
* Fixed bug in Get-AzureSubscription and Select-AzureSubscription cmdlets
* Added Automation cmdlets
* Get-AzureAutomationWebhook
* New-AzureAutomationWebhook
* Remove-AzureAutomationWebhook
* Set-AzureAutomationWebhook
* Azure Compute
* Get-AzureVMImage and Get-AzureVMImageDetail are combined (Get-AzureVMImageDetail gives a warning message for future deprecation)
* Get-AzureVMExtensionImage and Get-AzureVMExtensionImageDetail are combined (Get-AzureVMExtensionImageDetail gives a warning message for future deprecation)
* Tags are added in VM resources
* Get-AzureVM now gets resource group name from piping
* -All switch is removed from Get-AzureVM
* Get-AzureVM -Status output is updated
* -Force parameter is added for Remove-AzureAvailabilitySet
* Outputs of New-AzureAvailabilitySet, Get-AzureAvailabilitySet, and Remove-AzureAvailabilitySet are updated
* Azure Key Vault
* Update Set-AzureKeyVaultAccessPolicy and Remove-AzureKeyVaultAccessPolicy cmdlets
* Fixed bugs
* Azure Data Factories
* Base cmdlet type switch to use Profile
* New-AzureDataFactoryEncryptedValue cmdlet supporting M data sources
* Azure Resource Manager
* Fixed bug in Move-AzureResource cmdlet
* Fixed bug in Set-AzureResource cmdlet

2015.05.04 version 0.9.1
* Azure SQL Database: new support for configuring audit retention.
* Azure Automation
Expand Down Expand Up @@ -332,7 +360,7 @@
* Set-AzureVMCustomScriptExtension
* Set-AzureVMAccessExtension
* Show 'Regions' property for Get-AzureVMAvailableExtensions cmdlet
* Add 'ResizedSizeInGB' pramater for the following cmdlets
* Add 'ResizedSizeInGB' parameter for the following cmdlets
* Update-AzureDisk
* Set-AzureOSDisk
* Set-AzureDataDisk (DiskName parameter is also added along with ResizedSizeInGB)
Expand Down Expand Up @@ -437,7 +465,7 @@
* Compute
* Set-AzureVMImage cmdlets - added IconUri, SmallIconUri, and ShowInGui parameters
* Sql
* Added Sql Servver v12 support to SQL authentication context for SqlAzure cmdlets
* Added Sql Server v12 support to SQL authentication context for SqlAzure cmdlets

2014.11.14 Version 0.8.11
* Profile
Expand Down Expand Up @@ -760,7 +788,7 @@
* Remove-AzureVMImageOSDiskConfig
* Set-AzureVMImageDataDiskConfig
* Remove-AzureVMImageDataDiskConfig
* Virtual network improvments
* Virtual network improvements
* Set-AzureVnetGatewayKey
* Azure Automation cmdlets
* Get-AzureAutomationAccount
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<meta name="google-site-verification" content="tZgbB2s-hTI0IePQQRCjHqL_Vf0j_XJmehXAHJerrn4" />
# Microsoft Azure PowerShell

This repository contains a set of PowerShell cmdlets for developers and administrators to develop, deploy and manage Microsoft Azure applications.
Expand Down
2 changes: 1 addition & 1 deletion setup/azurecmd.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<?define sourceDir="$(var.SolutionDir)..\src\Package\$(var.Configuration)" ?>
<?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>

<?define version="0.9.1" ?>
<?define version="0.9.2" ?>
<?define versionedStartMenuFolder="Microsoft Azure" ?>
<?define staleStartMenuFolder="Windows Azure" ?>

Expand Down
198 changes: 190 additions & 8 deletions setup/azurecmdfiles.wxi

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions src/AzurePowershell.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8531411A-0137-4E27-9C5E-49E07C245048}"
ProjectSection(SolutionItems) = preProject
Expand Down Expand Up @@ -210,6 +210,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ApiManagement", "R
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ApiManagement.Test", "ResourceManager\ApiManagement\Commands.ApiManagement.Test\Commands.ApiManagement.Test.csproj", "{BEC9ECE9-A3D6-4B24-A682-1FA890647D9D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Management.Storage", "ResourceManager\Storage\Commands.Management.Storage\Commands.Management.Storage.csproj", "{A50AB133-5C04-4A17-9054-F8343683EC23}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Management.Storage.Test", "ResourceManager\Storage\Commands.Management.Storage.Test\Commands.Management.Storage.Test.csproj", "{7D1D3B56-4EB4-4819-86FD-43330DED8EE7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -512,12 +516,19 @@ Global
{BEC9ECE9-A3D6-4B24-A682-1FA890647D9D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BEC9ECE9-A3D6-4B24-A682-1FA890647D9D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BEC9ECE9-A3D6-4B24-A682-1FA890647D9D}.Release|Any CPU.Build.0 = Release|Any CPU
{A50AB133-5C04-4A17-9054-F8343683EC23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A50AB133-5C04-4A17-9054-F8343683EC23}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A50AB133-5C04-4A17-9054-F8343683EC23}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A50AB133-5C04-4A17-9054-F8343683EC23}.Release|Any CPU.Build.0 = Release|Any CPU
{7D1D3B56-4EB4-4819-86FD-43330DED8EE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7D1D3B56-4EB4-4819-86FD-43330DED8EE7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7D1D3B56-4EB4-4819-86FD-43330DED8EE7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7D1D3B56-4EB4-4819-86FD-43330DED8EE7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{B7FD03F6-98BC-4F54-9A14-0455E579FCD4} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{37455286-D8A7-4E0C-8B4D-C517D20C641A} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{D6F470A6-7395-4B8B-9D29-44DF0EC8F624} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{A3965B66-5A3E-4B8C-9574-28E5958D4828} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
Expand All @@ -528,6 +539,7 @@ Global
{4BC0E3D3-6EDD-43AA-8F15-DCFED8ACC93D} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{9D5A40CA-5594-4F5C-8230-7ADF7CC0558E} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{3B48A77B-5956-4A62-9081-92BA04B02B27} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{B7FD03F6-98BC-4F54-9A14-0455E579FCD4} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{4C2FE49A-09E1-4979-AD46-CD64FD04C8F7} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{374D4000-DEDE-4995-9B63-E3B9FE0C4D29} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{127D0D51-FDEA-4E1A-8CD8-34DEB5C2F7F6} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
Expand All @@ -553,5 +565,6 @@ Global
{5764A3A4-586C-4536-8481-13007CAC111B} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{59D1B5DC-9175-43EC-90C6-CBA601B3565F} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{BEC9ECE9-A3D6-4B24-A682-1FA890647D9D} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{7D1D3B56-4EB4-4819-86FD-43330DED8EE7} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</Reference>
<Reference Include="Microsoft.Azure.Common.Authentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.25-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Common.NetFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/Commands.Common.Storage/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<packages>
<package id="Hyak.Common" version="1.0.2" targetFramework="net45" />
<package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Authentication" version="1.0.25-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Authentication" version="1.0.26-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
<package id="Microsoft.Azure.Management.Resources" version="2.18.0-preview" targetFramework="net45" />
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</Reference>
<Reference Include="Microsoft.Azure.Common.Authentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.25-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Common.NetFramework">
<HintPath>..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/Commands.Common.Test/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<packages>
<package id="Hyak.Common" version="1.0.2" targetFramework="net45" />
<package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Authentication" version="1.0.25-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Authentication" version="1.0.26-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
<package id="Microsoft.Azure.Management.Resources" version="2.18.0-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Test.HttpRecorder" version="1.0.5562.19686-prerelease" targetFramework="net45" />
Expand Down
4 changes: 2 additions & 2 deletions src/Common/Commands.Common/AzurePowerShell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ public class AzurePowerShell

public const string AssemblyCopyright = "Copyright © Microsoft";

public const string AssemblyVersion = "0.9.1";
public const string AssemblyVersion = "0.9.2";

public const string AssemblyFileVersion = "0.9.1";
public const string AssemblyFileVersion = "0.9.2";

public const string ProfileFile = "AzureProfile.json";

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Commands.Common/Commands.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</Reference>
<Reference Include="Microsoft.Azure.Common.Authentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.25-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Common.NetFramework">
<SpecificVersion>False</SpecificVersion>
Expand Down
11 changes: 10 additions & 1 deletion src/Common/Commands.Common/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/Common/Commands.Common/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1358,4 +1358,7 @@ use and privacy statement at &lt;url&gt; and (c) agree to sharing my contact inf
<data name="AzureProfileMustNotBeNull" xml:space="preserve">
<value>Selected profile must not be null.</value>
</data>
<data name="SwitchAzureModeDeprecated" xml:space="preserve">
<value>The Switch-AzureMode cmdlet is deprecated and will be removed in a future release.</value>
</data>
</root>
2 changes: 1 addition & 1 deletion src/Common/Commands.Common/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package id="Hyak.Common" version="1.0.2" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.2" targetFramework="net45" />
<package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Authentication" version="1.0.25-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Authentication" version="1.0.26-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
<package id="Microsoft.Azure.Management.Resources" version="2.18.0-preview" targetFramework="net45" />
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />
Expand Down
2 changes: 1 addition & 1 deletion src/Common/Commands.Profile/Commands.Profile.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</Reference>
<Reference Include="Microsoft.Azure.Common.Authentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.25-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Common.NetFramework">
<HintPath>..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>
Expand Down
17 changes: 17 additions & 0 deletions src/Common/Commands.Profile/Models/PsAzureSubscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,29 @@
// limitations under the License.
// ----------------------------------------------------------------------------------

using System.Linq;
using Microsoft.Azure.Common.Authentication;
using Microsoft.Azure.Common.Authentication.Models;

namespace Microsoft.WindowsAzure.Commands.Profile.Models
{
public class PSAzureSubscription
{
public PSAzureSubscription() {}
public PSAzureSubscription(AzureSubscription subscription, AzureProfile profile)
{
SubscriptionId = subscription.Id.ToString();
SubscriptionName = subscription.Name;
Environment = subscription.Environment;
SupportedModes = subscription.GetProperty(AzureSubscription.Property.SupportedModes);
DefaultAccount = subscription.Account;
Accounts = profile.Accounts.Values.Where(a => a.HasSubscription(subscription.Id)).ToArray();
IsDefault = subscription.IsPropertySet(AzureSubscription.Property.Default);
IsCurrent = profile.Context.Subscription != null && profile.Context.Subscription.Id == subscription.Id;
CurrentStorageAccountName = subscription.GetProperty(AzureSubscription.Property.StorageAccount);
TenantId = subscription.GetPropertyAsArray(AzureSubscription.Property.Tenants).FirstOrDefault();
}

public string SubscriptionId { get; set; }
public string SubscriptionName { get; set; }
public string Environment { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public PSAzureSubscriptionExtended(PSAzureSubscription subscription)
base.Accounts = subscription.Accounts;
base.IsDefault = subscription.IsDefault;
base.IsCurrent = subscription.IsCurrent;
base.TenantId = subscription.TenantId;
}
public string ActiveDirectoryUserId { get; set; }
public AzureAccount Account { get; set; }
Expand Down
25 changes: 4 additions & 21 deletions src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace Microsoft.WindowsAzure.Commands.Profile
/// the AzureProfile layer.
/// </summary>
[Cmdlet(VerbsCommon.Get, "AzureSubscription", DefaultParameterSetName = "ByName")]
[OutputType(typeof(AzureSubscription))]
[OutputType(typeof(PSAzureSubscription))]
public class GetAzureSubscriptionCommand : SubscriptionCmdletBase
{
public GetAzureSubscriptionCommand()
Expand Down Expand Up @@ -141,29 +141,12 @@ private void WriteSubscriptions(IEnumerable<AzureSubscription> subscriptions)
}
else
{
subscriptionOutput = subscriptions.Select(ConstructPsAzureSubscription);
subscriptionOutput = subscriptions.Select(s => new PSAzureSubscription(s, ProfileClient.Profile));
}

WriteObject(subscriptionOutput, true);
}

private PSAzureSubscription ConstructPsAzureSubscription(AzureSubscription subscription)
{
PSAzureSubscription psObject = new PSAzureSubscription();

psObject.SubscriptionId = subscription.Id.ToString();
psObject.SubscriptionName = subscription.Name;
psObject.Environment = subscription.Environment;
psObject.SupportedModes = subscription.GetProperty(AzureSubscription.Property.SupportedModes);
psObject.DefaultAccount = subscription.Account;
psObject.Accounts = ProfileClient.Profile.Accounts.Values.Where(a => a.HasSubscription(subscription.Id)).ToArray();
psObject.IsDefault = subscription.IsPropertySet(AzureSubscription.Property.Default);
psObject.IsCurrent = Profile.Context.Subscription != null && Profile.Context.Subscription.Id == subscription.Id;
psObject.CurrentStorageAccountName = subscription.GetProperty(AzureSubscription.Property.StorageAccount);
psObject.TenantId = subscription.GetPropertyAsArray(AzureSubscription.Property.Tenants).FirstOrDefault();
return psObject;
}

private PSAzureSubscriptionExtended ConstructPsAzureSubscriptionExtended(AzureSubscription subscription, IClientFactory clientFactory)
{
using (var client = clientFactory.CreateClient<ManagementClient>(Profile, subscription, AzureEnvironment.Endpoint.ServiceManagement))
Expand All @@ -172,8 +155,8 @@ private PSAzureSubscriptionExtended ConstructPsAzureSubscriptionExtended(AzureSu
var environment = ProfileClient.GetEnvironmentOrDefault(subscription.Environment);
var account = ProfileClient.Profile.Accounts[subscription.Account];
bool isCert = account.Type == AzureAccount.AccountType.Certificate;

PSAzureSubscriptionExtended result = new PSAzureSubscriptionExtended(ConstructPsAzureSubscription(subscription))
var psAzureSubscription = new PSAzureSubscription(subscription, ProfileClient.Profile);
PSAzureSubscriptionExtended result = new PSAzureSubscriptionExtended(psAzureSubscription)
{
AccountAdminLiveEmailId = response.AccountAdminLiveEmailId,
ActiveDirectoryUserId = subscription.Account,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Profile;
using Microsoft.Azure.Common.Authentication;
using Microsoft.WindowsAzure.Commands.Profile.Models;

namespace Microsoft.WindowsAzure.Commands.Profile
{


[Cmdlet(VerbsCommon.Select, "AzureSubscription", DefaultParameterSetName = SelectSubscriptionByNameParameterSet)]
[OutputType(typeof(AzureSubscription))]
[OutputType(typeof(PSAzureSubscription))]
public class SelectAzureSubscriptionCommand : SubscriptionCmdletBase
{
private const string SelectSubscriptionByIdParameterSet = "SelectSubscriptionByIdParameterSet";
Expand Down Expand Up @@ -123,7 +124,7 @@ public override void ExecuteCmdlet()

if (PassThru.IsPresent && azureSubscription != null)
{
WriteObject(azureSubscription);
WriteObject(new PSAzureSubscription(azureSubscription, ProfileClient.Profile));
}
}

Expand Down
Loading