diff --git a/scaleway-async/scaleway_async/lb/v1/api.py b/scaleway-async/scaleway_async/lb/v1/api.py index 0d75e2d48..2e625ca7b 100644 --- a/scaleway-async/scaleway_async/lb/v1/api.py +++ b/scaleway-async/scaleway_async/lb/v1/api.py @@ -218,6 +218,7 @@ async def list_lbs( organization_id: Optional[str] = None, project_id: Optional[str] = None, tags: Optional[list[str]] = None, + lb_ids: Optional[list[str]] = None, ) -> ListLbsResponse: """ List Load Balancers. @@ -230,6 +231,7 @@ async def list_lbs( :param organization_id: Organization ID to filter for, only Load Balancers from this Organization will be returned. :param project_id: Project ID to filter for, only Load Balancers from this Project will be returned. :param tags: Filter by tag, only Load Balancers with one or more matching tags will be returned. + :param lb_ids: Filter by lb_ids, only Load Balancers with these IDs will be returned. :return: :class:`ListLbsResponse ` Usage: @@ -244,6 +246,7 @@ async def list_lbs( "GET", f"/lb/v1/zones/{param_zone}/lbs", params={ + "lb_ids": lb_ids, "name": name, "order_by": order_by, "organization_id": organization_id @@ -269,6 +272,7 @@ async def list_lbs_all( organization_id: Optional[str] = None, project_id: Optional[str] = None, tags: Optional[list[str]] = None, + lb_ids: Optional[list[str]] = None, ) -> list[Lb]: """ List Load Balancers. @@ -281,6 +285,7 @@ async def list_lbs_all( :param organization_id: Organization ID to filter for, only Load Balancers from this Organization will be returned. :param project_id: Project ID to filter for, only Load Balancers from this Project will be returned. :param tags: Filter by tag, only Load Balancers with one or more matching tags will be returned. + :param lb_ids: Filter by lb_ids, only Load Balancers with these IDs will be returned. :return: :class:`list[Lb] ` Usage: @@ -302,6 +307,7 @@ async def list_lbs_all( "organization_id": organization_id, "project_id": project_id, "tags": tags, + "lb_ids": lb_ids, }, ) @@ -3256,6 +3262,7 @@ async def list_lbs( organization_id: Optional[str] = None, project_id: Optional[str] = None, tags: Optional[list[str]] = None, + lb_ids: Optional[list[str]] = None, ) -> ListLbsResponse: """ List load balancers. @@ -3267,6 +3274,7 @@ async def list_lbs( :param organization_id: Organization ID to filter for, only Load Balancers from this Organization will be returned. :param project_id: Project ID to filter for, only Load Balancers from this Project will be returned. :param tags: Filter by tag, only Load Balancers with one or more matching tags will be returned. + :param lb_ids: Filter by lb_ids, only Load Balancers with these IDs will be returned. :return: :class:`ListLbsResponse ` Usage: @@ -3283,6 +3291,7 @@ async def list_lbs( "GET", f"/lb/v1/regions/{param_region}/lbs", params={ + "lb_ids": lb_ids, "name": name, "order_by": order_by, "organization_id": organization_id @@ -3308,6 +3317,7 @@ async def list_lbs_all( organization_id: Optional[str] = None, project_id: Optional[str] = None, tags: Optional[list[str]] = None, + lb_ids: Optional[list[str]] = None, ) -> list[Lb]: """ List load balancers. @@ -3319,6 +3329,7 @@ async def list_lbs_all( :param organization_id: Organization ID to filter for, only Load Balancers from this Organization will be returned. :param project_id: Project ID to filter for, only Load Balancers from this Project will be returned. :param tags: Filter by tag, only Load Balancers with one or more matching tags will be returned. + :param lb_ids: Filter by lb_ids, only Load Balancers with these IDs will be returned. :return: :class:`list[Lb] ` Usage: @@ -3340,6 +3351,7 @@ async def list_lbs_all( "organization_id": organization_id, "project_id": project_id, "tags": tags, + "lb_ids": lb_ids, }, ) diff --git a/scaleway-async/scaleway_async/lb/v1/types.py b/scaleway-async/scaleway_async/lb/v1/types.py index f99f3741a..1857c9ed1 100644 --- a/scaleway-async/scaleway_async/lb/v1/types.py +++ b/scaleway-async/scaleway_async/lb/v1/types.py @@ -2317,6 +2317,11 @@ class ListLbsRequest: Filter by tag, only Load Balancers with one or more matching tags will be returned. """ + lb_ids: Optional[list[str]] = field(default_factory=list) + """ + Filter by lb_ids, only Load Balancers with these IDs will be returned. + """ + @dataclass class ListLbsResponse: @@ -3899,6 +3904,11 @@ class ZonedApiListLbsRequest: Filter by tag, only Load Balancers with one or more matching tags will be returned. """ + lb_ids: Optional[list[str]] = field(default_factory=list) + """ + Filter by lb_ids, only Load Balancers with these IDs will be returned. + """ + @dataclass class ZonedApiListRoutesRequest: diff --git a/scaleway/scaleway/lb/v1/api.py b/scaleway/scaleway/lb/v1/api.py index acc4b25b8..276901659 100644 --- a/scaleway/scaleway/lb/v1/api.py +++ b/scaleway/scaleway/lb/v1/api.py @@ -218,6 +218,7 @@ def list_lbs( organization_id: Optional[str] = None, project_id: Optional[str] = None, tags: Optional[list[str]] = None, + lb_ids: Optional[list[str]] = None, ) -> ListLbsResponse: """ List Load Balancers. @@ -230,6 +231,7 @@ def list_lbs( :param organization_id: Organization ID to filter for, only Load Balancers from this Organization will be returned. :param project_id: Project ID to filter for, only Load Balancers from this Project will be returned. :param tags: Filter by tag, only Load Balancers with one or more matching tags will be returned. + :param lb_ids: Filter by lb_ids, only Load Balancers with these IDs will be returned. :return: :class:`ListLbsResponse ` Usage: @@ -244,6 +246,7 @@ def list_lbs( "GET", f"/lb/v1/zones/{param_zone}/lbs", params={ + "lb_ids": lb_ids, "name": name, "order_by": order_by, "organization_id": organization_id @@ -269,6 +272,7 @@ def list_lbs_all( organization_id: Optional[str] = None, project_id: Optional[str] = None, tags: Optional[list[str]] = None, + lb_ids: Optional[list[str]] = None, ) -> list[Lb]: """ List Load Balancers. @@ -281,6 +285,7 @@ def list_lbs_all( :param organization_id: Organization ID to filter for, only Load Balancers from this Organization will be returned. :param project_id: Project ID to filter for, only Load Balancers from this Project will be returned. :param tags: Filter by tag, only Load Balancers with one or more matching tags will be returned. + :param lb_ids: Filter by lb_ids, only Load Balancers with these IDs will be returned. :return: :class:`list[Lb] ` Usage: @@ -302,6 +307,7 @@ def list_lbs_all( "organization_id": organization_id, "project_id": project_id, "tags": tags, + "lb_ids": lb_ids, }, ) @@ -3254,6 +3260,7 @@ def list_lbs( organization_id: Optional[str] = None, project_id: Optional[str] = None, tags: Optional[list[str]] = None, + lb_ids: Optional[list[str]] = None, ) -> ListLbsResponse: """ List load balancers. @@ -3265,6 +3272,7 @@ def list_lbs( :param organization_id: Organization ID to filter for, only Load Balancers from this Organization will be returned. :param project_id: Project ID to filter for, only Load Balancers from this Project will be returned. :param tags: Filter by tag, only Load Balancers with one or more matching tags will be returned. + :param lb_ids: Filter by lb_ids, only Load Balancers with these IDs will be returned. :return: :class:`ListLbsResponse ` Usage: @@ -3281,6 +3289,7 @@ def list_lbs( "GET", f"/lb/v1/regions/{param_region}/lbs", params={ + "lb_ids": lb_ids, "name": name, "order_by": order_by, "organization_id": organization_id @@ -3306,6 +3315,7 @@ def list_lbs_all( organization_id: Optional[str] = None, project_id: Optional[str] = None, tags: Optional[list[str]] = None, + lb_ids: Optional[list[str]] = None, ) -> list[Lb]: """ List load balancers. @@ -3317,6 +3327,7 @@ def list_lbs_all( :param organization_id: Organization ID to filter for, only Load Balancers from this Organization will be returned. :param project_id: Project ID to filter for, only Load Balancers from this Project will be returned. :param tags: Filter by tag, only Load Balancers with one or more matching tags will be returned. + :param lb_ids: Filter by lb_ids, only Load Balancers with these IDs will be returned. :return: :class:`list[Lb] ` Usage: @@ -3338,6 +3349,7 @@ def list_lbs_all( "organization_id": organization_id, "project_id": project_id, "tags": tags, + "lb_ids": lb_ids, }, ) diff --git a/scaleway/scaleway/lb/v1/types.py b/scaleway/scaleway/lb/v1/types.py index f99f3741a..1857c9ed1 100644 --- a/scaleway/scaleway/lb/v1/types.py +++ b/scaleway/scaleway/lb/v1/types.py @@ -2317,6 +2317,11 @@ class ListLbsRequest: Filter by tag, only Load Balancers with one or more matching tags will be returned. """ + lb_ids: Optional[list[str]] = field(default_factory=list) + """ + Filter by lb_ids, only Load Balancers with these IDs will be returned. + """ + @dataclass class ListLbsResponse: @@ -3899,6 +3904,11 @@ class ZonedApiListLbsRequest: Filter by tag, only Load Balancers with one or more matching tags will be returned. """ + lb_ids: Optional[list[str]] = field(default_factory=list) + """ + Filter by lb_ids, only Load Balancers with these IDs will be returned. + """ + @dataclass class ZonedApiListRoutesRequest: