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 @@ -266,6 +266,10 @@ def unmarshal_Server(data: Any) -> Server:
if field is not None:
args["sudo_password"] = field

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

field = data.get("status", None)
if field is not None:
args["status"] = field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ class Server:
Admin password required to execute commands.
"""

vnc_port: int
"""
VNC port to use for remote desktop connection.
"""

status: ServerStatus
"""
Current status of the server.
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 @@ -266,6 +266,10 @@ def unmarshal_Server(data: Any) -> Server:
if field is not None:
args["sudo_password"] = field

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

field = data.get("status", None)
if field is not None:
args["status"] = 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 @@ -225,6 +225,11 @@ class Server:
Admin password required to execute commands.
"""

vnc_port: int
"""
VNC port to use for remote desktop connection.
"""

status: ServerStatus
"""
Current status of the server.
Expand Down