diff --git a/src/azure-cli/azure/cli/command_modules/storage/_params.py b/src/azure-cli/azure/cli/command_modules/storage/_params.py index 92b64582a1a..9738fe94544 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/_params.py +++ b/src/azure-cli/azure/cli/command_modules/storage/_params.py @@ -1256,10 +1256,10 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem help='Metadata in space-separated key=value pairs that is associated with the share. ' 'This overwrites any existing metadata', validator=validate_metadata) - c.argument('enabled_protocols', arg_type=get_enum_type(t_enabled_protocols), is_preview=True, + c.argument('enabled_protocols', arg_type=get_enum_type(t_enabled_protocols), min_api='2019-06-01', help='Immutable property for file shares protocol. NFS protocol will be ' 'only available for premium file shares (file shares in the FileStorage account type).') - c.argument('root_squash', arg_type=get_enum_type(t_root_squash), is_preview=True, + c.argument('root_squash', arg_type=get_enum_type(t_root_squash), min_api='2019-06-01', help='Reduction of the access rights for the remote superuser.') c.argument('access_tier', arg_type=get_enum_type(t_access_tier), min_api='2019-06-01', help='Access tier for specific share. GpV2 account can choose between TransactionOptimized ' diff --git a/src/azure-cli/azure/cli/command_modules/storage/commands.py b/src/azure-cli/azure/cli/command_modules/storage/commands.py index 202a0390f45..bb206de9320 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/commands.py +++ b/src/azure-cli/azure/cli/command_modules/storage/commands.py @@ -273,7 +273,7 @@ def get_custom_sdk(custom_module, client_factory, resource_type=ResourceType.DAT with self.command_group('storage account file-service-properties', file_service_mgmt_sdk, custom_command_type=get_custom_sdk('account', client_factory=cf_mgmt_file_services, resource_type=ResourceType.MGMT_STORAGE), - resource_type=ResourceType.MGMT_STORAGE, min_api='2019-06-01', is_preview=True) as g: + resource_type=ResourceType.MGMT_STORAGE, min_api='2019-06-01') as g: g.show_command('show', 'get_service_properties') g.generic_update_command('update', getter_name='get_service_properties',