diff --git a/scaleway-async/scaleway_async/file/v1alpha1/api.py b/scaleway-async/scaleway_async/file/v1alpha1/api.py index 7a3681b2a..ef19df8ad 100644 --- a/scaleway-async/scaleway_async/file/v1alpha1/api.py +++ b/scaleway-async/scaleway_async/file/v1alpha1/api.py @@ -405,7 +405,7 @@ async def create_file_system( Create a new filesystem. To create a new filesystem, you must specify a name, a size, and a project ID. :param name: Name of the filesystem. - :param size: Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + :param size: Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. :param region: Region to target. If none is passed will use default region from the config. :param project_id: UUID of the project the filesystem belongs to. :param type_: Type of the filesystem. @@ -491,8 +491,8 @@ async def update_file_system( :param filesystem_id: UUID of the filesystem. :param region: Region to target. If none is passed will use default region from the config. :param name: When defined, is the new name of the filesystem. - :param size: Size in bytes, with a granularity of 100 GB (10^11 bytes). - Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + :param size: Size in bytes, with a granularity in GB (10^9 bytes). + Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. :param tags: List of tags assigned to the filesystem. :return: :class:`FileSystem ` diff --git a/scaleway-async/scaleway_async/file/v1alpha1/types.py b/scaleway-async/scaleway_async/file/v1alpha1/types.py index 67bd29d45..71e1d7114 100644 --- a/scaleway-async/scaleway_async/file/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/file/v1alpha1/types.py @@ -181,7 +181,7 @@ class CreateFileSystemRequest: size: int """ - Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. """ region: Optional[ScwRegion] = None @@ -434,8 +434,8 @@ class UpdateFileSystemRequest: size: Optional[int] = 0 """ - Size in bytes, with a granularity of 100 GB (10^11 bytes). -Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + Size in bytes, with a granularity in GB (10^9 bytes). +Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. """ tags: Optional[list[str]] = field(default_factory=list) diff --git a/scaleway/scaleway/file/v1alpha1/api.py b/scaleway/scaleway/file/v1alpha1/api.py index 621636e0c..5d9a50648 100644 --- a/scaleway/scaleway/file/v1alpha1/api.py +++ b/scaleway/scaleway/file/v1alpha1/api.py @@ -403,7 +403,7 @@ def create_file_system( Create a new filesystem. To create a new filesystem, you must specify a name, a size, and a project ID. :param name: Name of the filesystem. - :param size: Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + :param size: Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. :param region: Region to target. If none is passed will use default region from the config. :param project_id: UUID of the project the filesystem belongs to. :param type_: Type of the filesystem. @@ -489,8 +489,8 @@ def update_file_system( :param filesystem_id: UUID of the filesystem. :param region: Region to target. If none is passed will use default region from the config. :param name: When defined, is the new name of the filesystem. - :param size: Size in bytes, with a granularity of 100 GB (10^11 bytes). - Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + :param size: Size in bytes, with a granularity in GB (10^9 bytes). + Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. :param tags: List of tags assigned to the filesystem. :return: :class:`FileSystem ` diff --git a/scaleway/scaleway/file/v1alpha1/types.py b/scaleway/scaleway/file/v1alpha1/types.py index 67bd29d45..71e1d7114 100644 --- a/scaleway/scaleway/file/v1alpha1/types.py +++ b/scaleway/scaleway/file/v1alpha1/types.py @@ -181,7 +181,7 @@ class CreateFileSystemRequest: size: int """ - Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. """ region: Optional[ScwRegion] = None @@ -434,8 +434,8 @@ class UpdateFileSystemRequest: size: Optional[int] = 0 """ - Size in bytes, with a granularity of 100 GB (10^11 bytes). -Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + Size in bytes, with a granularity in GB (10^9 bytes). +Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. """ tags: Optional[list[str]] = field(default_factory=list)