From 0beaa825bd7ed71d4ff9c992471dbba8c93a66c8 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 23 Jun 2026 15:04:51 +0000 Subject: [PATCH] feat: update generated APIs --- scaleway-async/scaleway_async/k8s/v1/api.py | 6 ++++++ scaleway-async/scaleway_async/k8s/v1/types.py | 5 +++++ scaleway/scaleway/k8s/v1/api.py | 6 ++++++ scaleway/scaleway/k8s/v1/types.py | 5 +++++ 4 files changed, 22 insertions(+) diff --git a/scaleway-async/scaleway_async/k8s/v1/api.py b/scaleway-async/scaleway_async/k8s/v1/api.py index 0d7bdaf4f..bf5ac3673 100644 --- a/scaleway-async/scaleway_async/k8s/v1/api.py +++ b/scaleway-async/scaleway_async/k8s/v1/api.py @@ -126,6 +126,7 @@ async def list_clusters( status: Optional[ClusterStatus] = None, type_: Optional[str] = None, private_network_id: Optional[str] = None, + version: Optional[str] = None, ) -> ListClustersResponse: """ List Clusters. @@ -140,6 +141,7 @@ async def list_clusters( :param status: Status to filter on, only clusters with this status will be returned. :param type_: Type to filter on, only clusters with this type will be returned. :param private_network_id: Private Network ID to filter on, only clusters within this Private Network will be returned. + :param version: Version to filter on, only cluster matching this prefix version will be returned. :return: :class:`ListClustersResponse ` Usage: @@ -166,6 +168,7 @@ async def list_clusters( "project_id": project_id or self.client.default_project_id, "status": status, "type": type_, + "version": version, }, ) @@ -185,6 +188,7 @@ async def list_clusters_all( status: Optional[ClusterStatus] = None, type_: Optional[str] = None, private_network_id: Optional[str] = None, + version: Optional[str] = None, ) -> list[Cluster]: """ List Clusters. @@ -199,6 +203,7 @@ async def list_clusters_all( :param status: Status to filter on, only clusters with this status will be returned. :param type_: Type to filter on, only clusters with this type will be returned. :param private_network_id: Private Network ID to filter on, only clusters within this Private Network will be returned. + :param version: Version to filter on, only cluster matching this prefix version will be returned. :return: :class:`list[Cluster] ` Usage: @@ -222,6 +227,7 @@ async def list_clusters_all( "status": status, "type_": type_, "private_network_id": private_network_id, + "version": version, }, ) diff --git a/scaleway-async/scaleway_async/k8s/v1/types.py b/scaleway-async/scaleway_async/k8s/v1/types.py index e50e09fae..7afeeffed 100644 --- a/scaleway-async/scaleway_async/k8s/v1/types.py +++ b/scaleway-async/scaleway_async/k8s/v1/types.py @@ -1844,6 +1844,11 @@ class ListClustersRequest: Private Network ID to filter on, only clusters within this Private Network will be returned. """ + version: Optional[str] = None + """ + Version to filter on, only cluster matching this prefix version will be returned. + """ + @dataclass class ListClustersResponse: diff --git a/scaleway/scaleway/k8s/v1/api.py b/scaleway/scaleway/k8s/v1/api.py index 8d8d45f08..7a5627432 100644 --- a/scaleway/scaleway/k8s/v1/api.py +++ b/scaleway/scaleway/k8s/v1/api.py @@ -126,6 +126,7 @@ def list_clusters( status: Optional[ClusterStatus] = None, type_: Optional[str] = None, private_network_id: Optional[str] = None, + version: Optional[str] = None, ) -> ListClustersResponse: """ List Clusters. @@ -140,6 +141,7 @@ def list_clusters( :param status: Status to filter on, only clusters with this status will be returned. :param type_: Type to filter on, only clusters with this type will be returned. :param private_network_id: Private Network ID to filter on, only clusters within this Private Network will be returned. + :param version: Version to filter on, only cluster matching this prefix version will be returned. :return: :class:`ListClustersResponse ` Usage: @@ -166,6 +168,7 @@ def list_clusters( "project_id": project_id or self.client.default_project_id, "status": status, "type": type_, + "version": version, }, ) @@ -185,6 +188,7 @@ def list_clusters_all( status: Optional[ClusterStatus] = None, type_: Optional[str] = None, private_network_id: Optional[str] = None, + version: Optional[str] = None, ) -> list[Cluster]: """ List Clusters. @@ -199,6 +203,7 @@ def list_clusters_all( :param status: Status to filter on, only clusters with this status will be returned. :param type_: Type to filter on, only clusters with this type will be returned. :param private_network_id: Private Network ID to filter on, only clusters within this Private Network will be returned. + :param version: Version to filter on, only cluster matching this prefix version will be returned. :return: :class:`list[Cluster] ` Usage: @@ -222,6 +227,7 @@ def list_clusters_all( "status": status, "type_": type_, "private_network_id": private_network_id, + "version": version, }, ) diff --git a/scaleway/scaleway/k8s/v1/types.py b/scaleway/scaleway/k8s/v1/types.py index e50e09fae..7afeeffed 100644 --- a/scaleway/scaleway/k8s/v1/types.py +++ b/scaleway/scaleway/k8s/v1/types.py @@ -1844,6 +1844,11 @@ class ListClustersRequest: Private Network ID to filter on, only clusters within this Private Network will be returned. """ + version: Optional[str] = None + """ + Version to filter on, only cluster matching this prefix version will be returned. + """ + @dataclass class ListClustersResponse: