-
Notifications
You must be signed in to change notification settings - Fork 4k
Availability Set for VM simple parameter set #5307
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
Conversation
@twitchax please, review. |
$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $password | ||
|
||
# Common | ||
$x = New-AzureRmVM -Name $vmname -Credential $cred -AvailabilitySetName $vmname |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, I think we decided to use the availability set if it existed, but not to create one if it did not exist
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to prepare a fix for this. This code was written before the decision is made.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please a dd a changelog endtry in the comput cmdlets changelog for thsi change. Also, please file an issue for adding the automated validation for this (test debt)
@markcowl done. |
on demand run here: https://azuresdkci.westus2.cloudapp.azure.com/job/powershell-demand/411/ |
Availabbility Set for VM simple parameter set
Description
Availabbility Set for VM simple parameter set
TODO
This checklist is used to make sure that common guidelines for a pull request are followed. You can find a more complete discussion of PowerShell cmdlet best practices here.
General Guidelines
Testing Guidelines
Cmdlet Signature Guidelines
ShouldProcess
and haveSupportShouldProcess=true
specified in the cmdlet attribute. You can find more information onShouldProcess
here.OutputType
attribute if any output is produced - if the cmdlet produces no output, it should implement aPassThru
parameter.Cmdlet Parameter Guidelines