-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Support setting 'Per Site Scaling' on AppService plan create #11009
Conversation
6cddbdf
to
43bb561
Compare
43bb561
to
b2d2df4
Compare
c.argument('per_site_scaling', action='store_true', required=False, help='Enable per-app scaling at the ' | ||
'App Service plan level to allow for ' | ||
'scaling an app independently from ' | ||
'the App Service plan that hosts it.') |
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.
Maybe you can put help= in a new line.
Update HISTORY.rst. Thanks. |
@@ -205,6 +209,7 @@ def load_arguments(self, _): | |||
c.argument('allowed_origins', options_list=['--allowed-origins', '-a'], nargs='*', help='space separated origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). To allow all, use "*" and remove all other origins from the list') | |||
|
|||
with self.argument_context(scope + ' config set') as c: | |||
c.argument('number_of_workers', options_list=['--number-of-workers'], help='The number of workers to be allocated.', type=int) |
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.
options_list can be ommited
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.
thanks for the quick PR on this.
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.
Looks good to me
Fixes #7888
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).
I adhere to the Command Guidelines.