Skip to content

Clu #1620

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 12 commits into from
Jan 13, 2016
Merged

Clu #1620

merged 12 commits into from
Jan 13, 2016

Conversation

BurtBiel
Copy link

This PR now contains 2 changes from today, 1) updating the default format to not include object-based ToStrings, and 2) the rename of the cmdlet cli usage params

… overridden object.ToString(). For example, the string type has overridden ToString so it is included in the printed fields.
@azurecla
Copy link

Hi @BurtBiel, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!


It looks like you're working at Microsoft (burtbiel). If you're full-time, we DON'T require a contribution license agreement.



If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@markcowl
Copy link
Member

@azuresdkci retest this please

@@ -3,15 +3,15 @@ set -e
printf "\n=== Managing Virtual Machine Creation in Azure Compute ===\n"

printf "\n1. Creating a new resource group: %s and location: %s.\n" "$groupName" "$location"
az group create -n "$groupName" --location "$location"
az resourcemanager group create -n "$groupName" --location "$location"
Copy link
Member

Choose a reason for hiding this comment

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

This is the most used cmdlet in the entire set opf cmdlets - you have to create a resource group to do anything else. Do we really want the cmdlet name to be so wordy?

Copy link
Author

Choose a reason for hiding this comment

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

Joe/Jason would like to keep the resourcemanager term. Is it possible to create an alias for the term?

Copy link
Member

Choose a reason for hiding this comment

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

@BurtBiel The decision we came to this morning was to use azure resourceGroup [verb]

@markcowl
Copy link
Member

@BurtBiel There are merge conflicts, please update, and please ensure that scenario tests pass, as it looks like at least some shell example scripts were not updated.

@BurtBiel
Copy link
Author

I'm getting setup to check the scenario tests now, I'll let you know the results

@@ -26,6 +26,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
/// Gets the deployment operation.
/// </summary>
[Cmdlet(VerbsCommon.Get, "AzureRmResourceGroupDeploymentOperation"), OutputType(typeof(PSResourceObject))]
[CliCommandAlias("resourcemanager;group;deployment;operation;ls")]
Copy link
Member

Choose a reason for hiding this comment

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

Why don't we use "space" instead of semicolon for noun separator

@BurtBiel
Copy link
Author

about half the tests passed, the failures appear to be for reasons other than the rename.

. 02-Resource.sh
ERROR: The value passed for ResourceId must not be null

. 04-RoleAssignments.sh
2. Creating a new Role Assignment.
Exception of type 'Microsoft.Rest.Azure.CloudException' was thrown.
ERROR: Exception of type 'Microsoft.Rest.Azure.CloudException' was thrown.

. 05-RoleDefinitions.sh
ERROR: The client '[email protected]' with object id '03f1f1bb-c826-4c7b-b368-940c2aa242df' does not have authorization to perform action 'Microsoft.Authorization/roleDefinitions/write' over scope '/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6'.

. 01-Storage-Accounts.sh
Already broken, not updated to use az instead of azure

. 01-VirtualHardDisks.sh
test hung

. 01-AppServicePlan.sh - 03-WebApp
All appear to be busted, syntax errors

  1. Create a new app service plan The value passed for Name must not be empty
    ERROR: The value passed for Name must not be empty

markcowl added a commit that referenced this pull request Jan 13, 2016
@markcowl markcowl merged commit ba03791 into Azure:clu Jan 13, 2016
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.

6 participants