Skip to content

Commit 7b09c81

Browse files
authored
feat(k8s): enable support for MigrateClusterToRoutedIPsRequest (#633)
1 parent ab2d8f1 commit 7b09c81

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

scaleway-async/scaleway_async/k8s/v1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ async def migrate_cluster_to_routed_i_ps(
723723
"""
724724
Migrate a cluster to Routed IPs.
725725
Migrate the nodes of an existing cluster to Routed IPs and enable Routed IPs for all future nodes.
726-
:param cluster_id:
726+
:param cluster_id: Cluster ID for which the routed ip will be enabled for the nodes.
727727
:param region: Region to target. If none is passed will use default region from the config.
728728
:return: :class:`Cluster <Cluster>`
729729

scaleway-async/scaleway_async/k8s/v1/types.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,6 +1697,9 @@ class ListVersionsResponse:
16971697
@dataclass
16981698
class MigrateClusterToRoutedIPsRequest:
16991699
cluster_id: str
1700+
"""
1701+
Cluster ID for which the routed ip will be enabled for the nodes.
1702+
"""
17001703

17011704
region: Optional[Region]
17021705
"""

scaleway/scaleway/k8s/v1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ def migrate_cluster_to_routed_i_ps(
723723
"""
724724
Migrate a cluster to Routed IPs.
725725
Migrate the nodes of an existing cluster to Routed IPs and enable Routed IPs for all future nodes.
726-
:param cluster_id:
726+
:param cluster_id: Cluster ID for which the routed ip will be enabled for the nodes.
727727
:param region: Region to target. If none is passed will use default region from the config.
728728
:return: :class:`Cluster <Cluster>`
729729

scaleway/scaleway/k8s/v1/types.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,6 +1697,9 @@ class ListVersionsResponse:
16971697
@dataclass
16981698
class MigrateClusterToRoutedIPsRequest:
16991699
cluster_id: str
1700+
"""
1701+
Cluster ID for which the routed ip will be enabled for the nodes.
1702+
"""
17001703

17011704
region: Optional[Region]
17021705
"""

0 commit comments

Comments
 (0)