Skip to content

Remove -all parameter from Get-AzureRMSubscription and Set-AzureRMContext #1194

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 5 commits into from
Oct 29, 2015

Conversation

yugangw-msft
Copy link
Contributor

@hovsepm @amarzavery
Please get review started.
I made consolidation on the logics of "get-by-name" and "get-by-id", after confirmed with multiple people that there are duplicates

CreateTenant(tenantId)));
TryGetSubscriptionById(tenantId, subscriptionId, out subscription);
}
else
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is a public method, shouldn't we have a check here for subscriptionName not being null or whitespace? And throw an ArgumentException if not?

@markcowl
Copy link
Member

Reviewed, a couple of nits, otherwise this looks great

Hao Chen and others added 3 commits October 28, 2015 14:43
@yugangw-msft
Copy link
Contributor Author

addressed all review feedback. Waiting for CI passing and the on-demand job passing
http://azuresdkci.cloudapp.net/view/1-AzurePowerShell/job/powershell-on-demand/281/

@markcowl
Copy link
Member

@yugangw-msft Looks like you need to pull the latest

markcowl added a commit that referenced this pull request Oct 29, 2015
Remove -all parameter from Get-AzureRMSubscription and Set-AzureRMContext
@markcowl markcowl merged commit 6586a2b into Azure:dev Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants