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
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions scaleway/scaleway/applesilicon/v1alpha1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 5 additions & 0 deletions scaleway/scaleway/applesilicon/v1alpha1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down