-
Notifications
You must be signed in to change notification settings - Fork 4k
set default value for auto pause and auto scale settings of New-AzSynapseSparkPool cmdlet #15600
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
@@ -178,13 +178,13 @@ public override void ExecuteCmdlet() | |||
NodeCount = this.enableAutoScale ? (int?) null : this.NodeCount, | |||
NodeSizeFamily = NodeSizeFamily.MemoryOptimized, | |||
NodeSize = NodeSize, | |||
AutoScale = !this.enableAutoScale ? null : new AutoScaleProperties | |||
AutoScale = !this.enableAutoScale ? new AutoScaleProperties { Enabled = this.enableAutoScale } : new AutoScaleProperties |
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.
{ | ||
Enabled = this.enableAutoScale, | ||
MinNodeCount = AutoScaleMinNodeCount, | ||
MaxNodeCount = AutoScaleMaxNodeCount | ||
}, | ||
AutoPause = !EnableAutoPause ? null : new AutoPauseProperties | ||
AutoPause = !EnableAutoPause ? new AutoPauseProperties { Enabled = EnableAutoPause.IsPresent } : new AutoPauseProperties |
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.
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 add changelog |
f6562da
to
c1c24d7
Compare
c1c24d7
to
cd1a60a
Compare
hi @idear1203 @VeryEarly , merging is blocked due to unauthorized, could you please help to do this? |
Description
Set default value for auto pause and auto scale settings of New-AzSynapseSparkPool cmdlet
Checklist
CONTRIBUTING.md
ChangeLog.md
file(s) has been updated:ChangeLog.md
file can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
## Upcoming Release
header -- no new version header should be added