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: 6 additions & 0 deletions scaleway-async/scaleway_async/instance/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -2220,6 +2220,12 @@ def unmarshal_ServerType(data: Any) -> ServerType:
else:
args["scratch_storage_max_size"] = None

field = data.get("block_bandwidth", None)
if field is not None:
args["block_bandwidth"] = field
else:
args["block_bandwidth"] = None

return ServerType(**args)


Expand Down
5 changes: 5 additions & 0 deletions scaleway-async/scaleway_async/instance/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1410,6 +1410,11 @@ class ServerType:
Maximum available scratch storage.
"""

block_bandwidth: Optional[int]
"""
The maximum bandwidth allocated to block storage access (in bytes per second).
"""


@dataclass
class VolumeType:
Expand Down
6 changes: 6 additions & 0 deletions scaleway/scaleway/instance/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -2220,6 +2220,12 @@ def unmarshal_ServerType(data: Any) -> ServerType:
else:
args["scratch_storage_max_size"] = None

field = data.get("block_bandwidth", None)
if field is not None:
args["block_bandwidth"] = field
else:
args["block_bandwidth"] = None

return ServerType(**args)


Expand Down
5 changes: 5 additions & 0 deletions scaleway/scaleway/instance/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1410,6 +1410,11 @@ class ServerType:
Maximum available scratch storage.
"""

block_bandwidth: Optional[int]
"""
The maximum bandwidth allocated to block storage access (in bytes per second).
"""


@dataclass
class VolumeType:
Expand Down