diff --git a/scaleway-async/scaleway_async/instance/v1/marshalling.py b/scaleway-async/scaleway_async/instance/v1/marshalling.py index bb6462059..483f73baf 100644 --- a/scaleway-async/scaleway_async/instance/v1/marshalling.py +++ b/scaleway-async/scaleway_async/instance/v1/marshalling.py @@ -2056,6 +2056,10 @@ def unmarshal_ServerTypeCapabilities(data: Any) -> ServerTypeCapabilities: if field is not None: args["boot_types"] = [BootType(v) for v in field] if field is not None else None + field = data.get("max_file_systems", None) + if field is not None: + args["max_file_systems"] = field + field = data.get("block_storage", None) if field is not None: args["block_storage"] = field diff --git a/scaleway-async/scaleway_async/instance/v1/types.py b/scaleway-async/scaleway_async/instance/v1/types.py index e7cef113b..411487815 100644 --- a/scaleway-async/scaleway_async/instance/v1/types.py +++ b/scaleway-async/scaleway_async/instance/v1/types.py @@ -708,6 +708,11 @@ class ServerTypeCapabilities: List of supported boot types. """ + max_file_systems: int + """ + Max number of SFS (Scaleway File Systems) that can be attached to the Instance. + """ + block_storage: Optional[bool] """ Defines whether the Instance supports block storage. diff --git a/scaleway/scaleway/instance/v1/marshalling.py b/scaleway/scaleway/instance/v1/marshalling.py index bb6462059..483f73baf 100644 --- a/scaleway/scaleway/instance/v1/marshalling.py +++ b/scaleway/scaleway/instance/v1/marshalling.py @@ -2056,6 +2056,10 @@ def unmarshal_ServerTypeCapabilities(data: Any) -> ServerTypeCapabilities: if field is not None: args["boot_types"] = [BootType(v) for v in field] if field is not None else None + field = data.get("max_file_systems", None) + if field is not None: + args["max_file_systems"] = field + field = data.get("block_storage", None) if field is not None: args["block_storage"] = field diff --git a/scaleway/scaleway/instance/v1/types.py b/scaleway/scaleway/instance/v1/types.py index e7cef113b..411487815 100644 --- a/scaleway/scaleway/instance/v1/types.py +++ b/scaleway/scaleway/instance/v1/types.py @@ -708,6 +708,11 @@ class ServerTypeCapabilities: List of supported boot types. """ + max_file_systems: int + """ + Max number of SFS (Scaleway File Systems) that can be attached to the Instance. + """ + block_storage: Optional[bool] """ Defines whether the Instance supports block storage.