diff --git a/scaleway-async/scaleway_async/applesilicon/v1alpha1/marshalling.py b/scaleway-async/scaleway_async/applesilicon/v1alpha1/marshalling.py index f5981064b..57ba88031 100644 --- a/scaleway-async/scaleway_async/applesilicon/v1alpha1/marshalling.py +++ b/scaleway-async/scaleway_async/applesilicon/v1alpha1/marshalling.py @@ -278,6 +278,10 @@ def unmarshal_Server(data: Any) -> Server: if field is not None: args["zone"] = field + field = data.get("delivered", None) + if field is not None: + args["delivered"] = field + field = data.get("os", None) if field is not None: args["os"] = unmarshal_OS(field) diff --git a/scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py b/scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py index 9fc9695a5..779b71cf3 100644 --- a/scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py @@ -240,6 +240,11 @@ class Server: Zone of the server. """ + delivered: bool + """ + Set to true once the server has completed its provisioning steps and is ready to use. Some OS configurations might require a reinstallation of the server before delivery depending on the available stock. A reinstallation after the initial delivery will not change this flag and can be tracked using the server status. + """ + os: Optional[OS] """ Initially installed OS, this does not necessarily reflect the current OS version. diff --git a/scaleway/scaleway/applesilicon/v1alpha1/marshalling.py b/scaleway/scaleway/applesilicon/v1alpha1/marshalling.py index f5981064b..57ba88031 100644 --- a/scaleway/scaleway/applesilicon/v1alpha1/marshalling.py +++ b/scaleway/scaleway/applesilicon/v1alpha1/marshalling.py @@ -278,6 +278,10 @@ def unmarshal_Server(data: Any) -> Server: if field is not None: args["zone"] = field + field = data.get("delivered", None) + if field is not None: + args["delivered"] = field + field = data.get("os", None) if field is not None: args["os"] = unmarshal_OS(field) diff --git a/scaleway/scaleway/applesilicon/v1alpha1/types.py b/scaleway/scaleway/applesilicon/v1alpha1/types.py index 9fc9695a5..779b71cf3 100644 --- a/scaleway/scaleway/applesilicon/v1alpha1/types.py +++ b/scaleway/scaleway/applesilicon/v1alpha1/types.py @@ -240,6 +240,11 @@ class Server: Zone of the server. """ + delivered: bool + """ + Set to true once the server has completed its provisioning steps and is ready to use. Some OS configurations might require a reinstallation of the server before delivery depending on the available stock. A reinstallation after the initial delivery will not change this flag and can be tracked using the server status. + """ + os: Optional[OS] """ Initially installed OS, this does not necessarily reflect the current OS version.