Skip to content

Commit 98658d4

Browse files
apwestgarthnaga-nandyala
authored andcommitted
[App Service] Remove Is Preview flag from CLI commands for App Service automatic s… (#32807)
1 parent 2336206 commit 98658d4

File tree

1 file changed

+4
-4
lines changed
  • src/azure-cli/azure/cli/command_modules/appservice

1 file changed

+4
-4
lines changed

src/azure-cli/azure/cli/command_modules/appservice/_params.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ def load_arguments(self, _):
157157

158158
with self.argument_context('appservice plan update') as c:
159159
c.argument('sku', arg_type=sku_arg_type)
160-
c.argument('elastic_scale', arg_type=get_three_state_flag(), is_preview=True, help='Enable or disable automatic scaling. Set to "true" to enable elastic scale for this plan, or "false" to disable elastic scale for this plan. The SKU must be a Premium V2 SKU (P1V2, P2V2, P3V2) or a Premium V3 SKU (P1V3, P2V3, P3V3)')
161-
c.argument('max_elastic_worker_count', options_list=['--max-elastic-worker-count', '-m'], type=int, is_preview=True, help='Maximum number of instances that the plan can scale out to. The plan must be an elastic scale plan.')
160+
c.argument('elastic_scale', arg_type=get_three_state_flag(), help='Enable or disable automatic scaling. Set to "true" to enable elastic scale for this plan, or "false" to disable elastic scale for this plan. The SKU must be a Premium V2 SKU (P1V2, P2V2, P3V2) or a Premium V3 SKU (P1V3, P2V3, P3V3)')
161+
c.argument('max_elastic_worker_count', options_list=['--max-elastic-worker-count', '-m'], type=int, help='Maximum number of instances that the plan can scale out to. The plan must be an elastic scale plan.')
162162
c.argument('number_of_workers', type=int, help='Number of workers to be allocated.')
163163
c.ignore('allow_pending_state')
164164
c.argument('async_scaling_enabled', arg_type=get_three_state_flag(), help='Enables async scaling for the app service plan. Set to "true" to create an async operation if there are insufficient workers to scale synchronously. The SKU must be Dedicated.')
@@ -449,8 +449,8 @@ def load_arguments(self, _):
449449
arg_type=get_three_state_flag(return_label=True), deprecate_info=c.deprecate(expiration='3.0.0'))
450450
c.argument('skip_dns_registration', help="If true web app hostname is not registered with DNS on creation",
451451
arg_type=get_three_state_flag(return_label=True), deprecate_info=c.deprecate(expiration='3.0.0'))
452-
c.argument('minimum_elastic_instance_count', options_list=["--minimum-elastic-instance-count", "-i"], type=int, is_preview=True, help="Minimum number of instances. App must be in an elastic scale App Service Plan.")
453-
c.argument('prewarmed_instance_count', options_list=["--prewarmed-instance-count", "-w"], type=int, is_preview=True, help="Number of preWarmed instances. App must be in an elastic scale App Service Plan.")
452+
c.argument('minimum_elastic_instance_count', options_list=["--minimum-elastic-instance-count", "-i"], type=int, help="Minimum number of instances. App must be in an elastic scale App Service Plan.")
453+
c.argument('prewarmed_instance_count', options_list=["--prewarmed-instance-count", "-w"], type=int, help="Number of preWarmed instances. App must be in an elastic scale App Service Plan.")
454454
c.argument('basic_auth', help='Enable or disable basic auth.', arg_type=get_enum_type(BASIC_AUTH_TYPES))
455455
c.argument('end_to_end_encryption_enabled', options_list=['--end-to-end-encryption-enabled', '-e'],
456456
help='Enable or disable end-to-end encryption between the Front End and the Workers.',

0 commit comments

Comments
 (0)