Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scaleway-async/scaleway_async/file/v1alpha1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 <FileSystem>`

Expand Down
6 changes: 3 additions & 3 deletions scaleway-async/scaleway_async/file/v1alpha1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions scaleway/scaleway/file/v1alpha1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 <FileSystem>`

Expand Down
6 changes: 3 additions & 3 deletions scaleway/scaleway/file/v1alpha1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
Loading