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
3 changes: 0 additions & 3 deletions scaleway-async/scaleway_async/applesilicon/v1alpha1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,15 +642,13 @@ async def reinstall_server(
server_id: str,
zone: Optional[ScwZone] = None,
os_id: Optional[str] = None,
runner_configuration: Optional[RunnerConfiguration] = None,
) -> Server:
"""
Reinstall a server.
Reinstall an existing Apple silicon server (specified by its server ID) from a new image (OS). All the data on the disk is deleted and all configuration is reset to the defailt configuration values of the image (OS).
:param server_id: UUID of the server you want to reinstall.
:param zone: Zone to target. If none is passed will use default zone from the config.
:param os_id: Reinstall the server with the target OS, when no os_id provided the default OS for the server type is used.
:param runner_configuration: Specify the configuration to install an optional CICD runner on the server during installation.
:return: :class:`Server <Server>`

Usage:
Expand All @@ -672,7 +670,6 @@ async def reinstall_server(
server_id=server_id,
zone=zone,
os_id=os_id,
runner_configuration=runner_configuration,
),
self.client,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1060,11 +1060,6 @@ def marshal_ReinstallServerRequest(
if request.os_id is not None:
output["os_id"] = request.os_id

if request.runner_configuration is not None:
output["runner_configuration"] = marshal_RunnerConfiguration(
request.runner_configuration, defaults
)

return output


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -915,11 +915,6 @@ class ReinstallServerRequest:
Reinstall the server with the target OS, when no os_id provided the default OS for the server type is used.
"""

runner_configuration: Optional[RunnerConfiguration] = None
"""
Specify the configuration to install an optional CICD runner on the server during installation.
"""


@dataclass
class SetServerPrivateNetworksResponse:
Expand Down
3 changes: 0 additions & 3 deletions scaleway/scaleway/applesilicon/v1alpha1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,15 +642,13 @@ def reinstall_server(
server_id: str,
zone: Optional[ScwZone] = None,
os_id: Optional[str] = None,
runner_configuration: Optional[RunnerConfiguration] = None,
) -> Server:
"""
Reinstall a server.
Reinstall an existing Apple silicon server (specified by its server ID) from a new image (OS). All the data on the disk is deleted and all configuration is reset to the defailt configuration values of the image (OS).
:param server_id: UUID of the server you want to reinstall.
:param zone: Zone to target. If none is passed will use default zone from the config.
:param os_id: Reinstall the server with the target OS, when no os_id provided the default OS for the server type is used.
:param runner_configuration: Specify the configuration to install an optional CICD runner on the server during installation.
:return: :class:`Server <Server>`

Usage:
Expand All @@ -672,7 +670,6 @@ def reinstall_server(
server_id=server_id,
zone=zone,
os_id=os_id,
runner_configuration=runner_configuration,
),
self.client,
),
Expand Down
5 changes: 0 additions & 5 deletions scaleway/scaleway/applesilicon/v1alpha1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1060,11 +1060,6 @@ def marshal_ReinstallServerRequest(
if request.os_id is not None:
output["os_id"] = request.os_id

if request.runner_configuration is not None:
output["runner_configuration"] = marshal_RunnerConfiguration(
request.runner_configuration, defaults
)

return output


Expand Down
5 changes: 0 additions & 5 deletions scaleway/scaleway/applesilicon/v1alpha1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,11 +915,6 @@ class ReinstallServerRequest:
Reinstall the server with the target OS, when no os_id provided the default OS for the server type is used.
"""

runner_configuration: Optional[RunnerConfiguration] = None
"""
Specify the configuration to install an optional CICD runner on the server during installation.
"""


@dataclass
class SetServerPrivateNetworksResponse:
Expand Down