You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/instance/v1/api.py
+16-74Lines changed: 16 additions & 74 deletions
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,6 @@
70
70
ExportSnapshotResponse,
71
71
GetBootscriptResponse,
72
72
GetDashboardResponse,
73
-
GetEncryptedRdpPasswordResponse,
74
73
GetImageResponse,
75
74
GetIpResponse,
76
75
GetPlacementGroupResponse,
@@ -166,7 +165,6 @@
166
165
unmarshal_ExportSnapshotResponse,
167
166
unmarshal_GetBootscriptResponse,
168
167
unmarshal_GetDashboardResponse,
169
-
unmarshal_GetEncryptedRdpPasswordResponse,
170
168
unmarshal_GetImageResponse,
171
169
unmarshal_GetIpResponse,
172
170
unmarshal_GetPlacementGroupResponse,
@@ -555,7 +553,7 @@ async def _create_server(
555
553
:param tags: Instance tags.
556
554
:param security_group: Security group ID.
557
555
:param placement_group: Placement group ID if Instance must be part of a placement group.
558
-
:param admin_password_encryption_ssh_key_id: UUID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it. Mandatory for Windows OS.
556
+
:param admin_password_encryption_ssh_key_id: The public_key value of this key is used to encrypt the admin password.
:param ipv6: Instance IPv6 address (deprecated when `routed_ip_enabled` is `True`).
@@ -729,6 +728,7 @@ async def _set_server(
729
728
:param arch: Instance architecture (refers to the CPU architecture used for the Instance, e.g. x86_64, arm64).
730
729
:param placement_group: Instance placement group.
731
730
:param private_nics: Instance private NICs.
731
+
:param admin_password_encryption_ssh_key_id: The public_key value of this key is used to encrypt the admin password. When set to an empty string, reset this value and admin_password_encrypted_value to an empty string so a new password may be generated.
- Cannot be changed if the Instance is not in `stopped` state.
835
837
- Cannot be changed if the Instance is in a placement group.
836
838
- Local storage requirements of the target commercial_types must be fulfilled (i.e. if an Instance has 80GB of local storage, it can be changed into a GP1-XS, which has a maximum of 150GB, but it cannot be changed into a DEV1-S, which has only 20GB).
839
+
:param admin_password_encryption_ssh_key_id: The public_key value of this key is used to encrypt the admin password. When set to an empty string, reset this value and admin_password_encrypted_value to an empty string so a new password may be generated.
0 commit comments