diff --git a/src/containerapp/HISTORY.rst b/src/containerapp/HISTORY.rst index 93c3fcb4703..7f59ee2d06c 100644 --- a/src/containerapp/HISTORY.rst +++ b/src/containerapp/HISTORY.rst @@ -2,6 +2,9 @@ Release History =============== +upcoming +++++++ +* Removed preview tag for some command groups and params (e.g. 'az containerapp job', 'az containerapp env storage', 'az containerapp env workload-profile') 0.3.37 ++++++ diff --git a/src/containerapp/azext_containerapp/_params.py b/src/containerapp/azext_containerapp/_params.py index 27f9e782388..d1396faafe8 100644 --- a/src/containerapp/azext_containerapp/_params.py +++ b/src/containerapp/azext_containerapp/_params.py @@ -120,9 +120,9 @@ def load_arguments(self, _): with self.argument_context('containerapp create') as c: c.argument('traffic_weights', nargs='*', options_list=['--traffic-weight'], help="A list of revision weight(s) for the container app. Space-separated values in 'revision_name=weight' format. For latest revision, use 'latest=weight'") - c.argument('workload_profile_name', options_list=['--workload-profile-name', '-w'], help="Name of the workload profile to run the app on.", is_preview=True) - c.argument('secret_volume_mount', help="Path to mount all secrets e.g. mnt/secrets", is_preview=True) - c.argument('termination_grace_period', type=int, options_list=['--termination-grace-period', '--tgp'], help="Duration in seconds a replica is given to gracefully shut down before it is forcefully terminated. (Default: 30)", is_preview=True) + c.argument('workload_profile_name', options_list=['--workload-profile-name', '-w'], help="Name of the workload profile to run the app on.") + c.argument('secret_volume_mount', help="Path to mount all secrets e.g. mnt/secrets") + c.argument('termination_grace_period', type=int, options_list=['--termination-grace-period', '--tgp'], help="Duration in seconds a replica is given to gracefully shut down before it is forcefully terminated. (Default: 30)") with self.argument_context('containerapp create', arg_group='Identity') as c: c.argument('user_assigned', nargs='+', help="Space-separated user identities to be assigned.") @@ -142,9 +142,9 @@ def load_arguments(self, _): with self.argument_context('containerapp update', arg_group='Container') as c: c.argument('image', options_list=['--image', '-i'], help="Container image, e.g. publisher/image-name:tag.") - c.argument('workload_profile_name', options_list=['--workload-profile-name', '-w'], help='The friendly name for the workload profile', is_preview=True) - c.argument('secret_volume_mount', help="Path to mount all secrets e.g. mnt/secrets", is_preview=True) - c.argument('termination_grace_period', type=int, options_list=['--termination-grace-period', '--tgp'], help="Duration in seconds a replica is given to gracefully shut down before it is forcefully terminated. (Default: 30)", is_preview=True) + c.argument('workload_profile_name', options_list=['--workload-profile-name', '-w'], help='The friendly name for the workload profile') + c.argument('secret_volume_mount', help="Path to mount all secrets e.g. mnt/secrets") + c.argument('termination_grace_period', type=int, options_list=['--termination-grace-period', '--tgp'], help="Duration in seconds a replica is given to gracefully shut down before it is forcefully terminated. (Default: 30)") # Springboard with self.argument_context('containerapp update', arg_group='Service Binding') as c: @@ -272,7 +272,7 @@ def load_arguments(self, _): with self.argument_context('containerapp revision copy') as c: c.argument('from_revision', help='Revision to copy from. Default: latest revision.') c.argument('image', options_list=['--image', '-i'], help="Container image, e.g. publisher/image-name:tag.") - c.argument('workload_profile_name', options_list=['--workload-profile-name', '-w'], help='The friendly name for the workload profile', is_preview=True) + c.argument('workload_profile_name', options_list=['--workload-profile-name', '-w'], help='The friendly name for the workload profile') with self.argument_context('containerapp revision label') as c: c.argument('name', id_part=None) @@ -419,7 +419,7 @@ def load_arguments(self, _): c.argument('thumbprint', options_list=['--thumbprint', '-t'], help='Thumbprint of the certificate.') c.argument('certificate', options_list=['--certificate', '-c'], help='Name or resource id of the certificate.') c.argument('environment', options_list=['--environment', '-e'], help='Name or resource id of the Container App environment.') - c.argument('validation_method', options_list=['--validation-method', '-v'], help='Validation method of custom domain ownership.', is_preview=True) + c.argument('validation_method', options_list=['--validation-method', '-v'], help='Validation method of custom domain ownership.') with self.argument_context('containerapp hostname add') as c: c.argument('hostname', help='The custom domain name.') diff --git a/src/containerapp/azext_containerapp/commands.py b/src/containerapp/azext_containerapp/commands.py index 9ed2d8835ca..b118add8f38 100644 --- a/src/containerapp/azext_containerapp/commands.py +++ b/src/containerapp/azext_containerapp/commands.py @@ -43,7 +43,7 @@ def load_command_table(self, _): g.custom_command('delete', 'delete_managed_environment', supports_no_wait=True, confirmation=True, exception_handler=ex_handler_factory()) g.custom_command('update', 'update_managed_environment', supports_no_wait=True, exception_handler=ex_handler_factory()) - with self.command_group('containerapp job', is_preview=True) as g: + with self.command_group('containerapp job') as g: g.custom_show_command('show', 'show_containerappsjob') g.custom_command('list', 'list_containerappsjob') g.custom_command('create', 'create_containerappsjob', supports_no_wait=True, exception_handler=ex_handler_factory()) @@ -79,7 +79,7 @@ def load_command_table(self, _): g.custom_command('upload', 'upload_certificate') g.custom_command('delete', 'delete_certificate', confirmation=True, exception_handler=ex_handler_factory(), is_preview=True) - with self.command_group('containerapp env storage', is_preview=True) as g: + with self.command_group('containerapp env storage') as g: g.custom_show_command('show', 'show_storage') g.custom_command('list', 'list_storage') g.custom_command('set', 'create_or_update_storage', supports_no_wait=True, exception_handler=ex_handler_factory()) @@ -207,7 +207,7 @@ def load_command_table(self, _): g.custom_command('upload', 'upload_ssl', exception_handler=ex_handler_factory()) with self.command_group('containerapp hostname') as g: - g.custom_command('add', 'add_hostname', exception_handler=ex_handler_factory(), is_preview=True) + g.custom_command('add', 'add_hostname', exception_handler=ex_handler_factory()) g.custom_command('bind', 'bind_hostname', exception_handler=ex_handler_factory()) g.custom_command('list', 'list_hostname') g.custom_command('delete', 'delete_hostname', confirmation=True, exception_handler=ex_handler_factory()) @@ -215,7 +215,7 @@ def load_command_table(self, _): with self.command_group('containerapp compose') as g: g.custom_command('create', 'create_containerapps_from_compose') - with self.command_group('containerapp env workload-profile', is_preview=True) as g: + with self.command_group('containerapp env workload-profile') as g: g.custom_command('list-supported', 'list_supported_workload_profiles') g.custom_command('list', 'list_workload_profiles') g.custom_show_command('show', 'show_workload_profile')