File tree 6 files changed +26
-0
lines changed
scaleway/scaleway/instance/v1
scaleway-async/scaleway_async/instance/v1 6 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -907,6 +907,7 @@ async def server_action(
907
907
action : Optional [ServerAction ] = None ,
908
908
name : Optional [str ] = None ,
909
909
volumes : Optional [Dict [str , ServerActionRequestVolumeBackupTemplate ]] = None ,
910
+ disable_ipv6 : Optional [bool ] = None ,
910
911
) -> ServerActionResponse :
911
912
"""
912
913
Perform action.
@@ -929,6 +930,8 @@ async def server_action(
929
930
This field should only be specified when performing a backup action.
930
931
:param volumes: For each volume UUID, the snapshot parameters of the volume.
931
932
This field should only be specified when performing a backup action.
933
+ :param disable_ipv6: Disable IPv6 on the Instance while performing migration to routed IPs.
934
+ This field should only be specified when performing a enable_routed_ip action.
932
935
:return: :class:`ServerActionResponse <ServerActionResponse>`
933
936
934
937
Usage:
@@ -952,6 +955,7 @@ async def server_action(
952
955
action = action ,
953
956
name = name ,
954
957
volumes = volumes ,
958
+ disable_ipv6 = disable_ipv6 ,
955
959
),
956
960
self .client ,
957
961
),
Original file line number Diff line number Diff line change @@ -3228,6 +3228,9 @@ def marshal_ServerActionRequest(
3228
3228
for key , value in request .volumes .items ()
3229
3229
}
3230
3230
3231
+ if request .disable_ipv6 is not None :
3232
+ output ["disable_ipv6" ] = request .disable_ipv6
3233
+
3231
3234
return output
3232
3235
3233
3236
Original file line number Diff line number Diff line change @@ -2983,6 +2983,12 @@ class ServerActionRequest:
2983
2983
This field should only be specified when performing a backup action.
2984
2984
"""
2985
2985
2986
+ disable_ipv6 : Optional [bool ]
2987
+ """
2988
+ Disable IPv6 on the Instance while performing migration to routed IPs.
2989
+ This field should only be specified when performing a enable_routed_ip action.
2990
+ """
2991
+
2986
2992
2987
2993
@dataclass
2988
2994
class ServerActionResponse :
Original file line number Diff line number Diff line change @@ -907,6 +907,7 @@ def server_action(
907
907
action : Optional [ServerAction ] = None ,
908
908
name : Optional [str ] = None ,
909
909
volumes : Optional [Dict [str , ServerActionRequestVolumeBackupTemplate ]] = None ,
910
+ disable_ipv6 : Optional [bool ] = None ,
910
911
) -> ServerActionResponse :
911
912
"""
912
913
Perform action.
@@ -929,6 +930,8 @@ def server_action(
929
930
This field should only be specified when performing a backup action.
930
931
:param volumes: For each volume UUID, the snapshot parameters of the volume.
931
932
This field should only be specified when performing a backup action.
933
+ :param disable_ipv6: Disable IPv6 on the Instance while performing migration to routed IPs.
934
+ This field should only be specified when performing a enable_routed_ip action.
932
935
:return: :class:`ServerActionResponse <ServerActionResponse>`
933
936
934
937
Usage:
@@ -952,6 +955,7 @@ def server_action(
952
955
action = action ,
953
956
name = name ,
954
957
volumes = volumes ,
958
+ disable_ipv6 = disable_ipv6 ,
955
959
),
956
960
self .client ,
957
961
),
Original file line number Diff line number Diff line change @@ -3228,6 +3228,9 @@ def marshal_ServerActionRequest(
3228
3228
for key , value in request .volumes .items ()
3229
3229
}
3230
3230
3231
+ if request .disable_ipv6 is not None :
3232
+ output ["disable_ipv6" ] = request .disable_ipv6
3233
+
3231
3234
return output
3232
3235
3233
3236
Original file line number Diff line number Diff line change @@ -2983,6 +2983,12 @@ class ServerActionRequest:
2983
2983
This field should only be specified when performing a backup action.
2984
2984
"""
2985
2985
2986
+ disable_ipv6 : Optional [bool ]
2987
+ """
2988
+ Disable IPv6 on the Instance while performing migration to routed IPs.
2989
+ This field should only be specified when performing a enable_routed_ip action.
2990
+ """
2991
+
2986
2992
2987
2993
@dataclass
2988
2994
class ServerActionResponse :
You can’t perform that action at this time.
0 commit comments