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
:param placement_group: Placement group ID if Instance must be part of a placement group.
742
743
:param private_nics: Instance private NICs.
744
+
:param commercial_type: Set the commercial_type for this Instance.
745
+
Warning: This field has some restrictions:
746
+
- Cannot be changed if the Instance is not in `stopped` state.
747
+
- Cannot be changed if the Instance is in a placement group.
748
+
- 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).
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/instance/v1/types_private.py
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -397,6 +397,15 @@ class _UpdateServerRequest:
397
397
Instance private NICs.
398
398
"""
399
399
400
+
commercial_type: Optional[str]
401
+
"""
402
+
Set the commercial_type for this Instance.
403
+
Warning: This field has some restrictions:
404
+
- Cannot be changed if the Instance is not in `stopped` state.
405
+
- Cannot be changed if the Instance is in a placement group.
406
+
- 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).
:param placement_group: Placement group ID if Instance must be part of a placement group.
742
743
:param private_nics: Instance private NICs.
744
+
:param commercial_type: Set the commercial_type for this Instance.
745
+
Warning: This field has some restrictions:
746
+
- Cannot be changed if the Instance is not in `stopped` state.
747
+
- Cannot be changed if the Instance is in a placement group.
748
+
- 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).
Copy file name to clipboardExpand all lines: scaleway/scaleway/instance/v1/types_private.py
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -397,6 +397,15 @@ class _UpdateServerRequest:
397
397
Instance private NICs.
398
398
"""
399
399
400
+
commercial_type: Optional[str]
401
+
"""
402
+
Set the commercial_type for this Instance.
403
+
Warning: This field has some restrictions:
404
+
- Cannot be changed if the Instance is not in `stopped` state.
405
+
- Cannot be changed if the Instance is in a placement group.
406
+
- 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).
0 commit comments