Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(lb): remove exclude from lb tag filter #464

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions scaleway-async/scaleway_async/lb/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ async def list_lbs(
page: Optional[int] = None,
organization_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[List[str]] = None,
) -> ListLbsResponse:
"""
List load balancers.
Expand All @@ -228,6 +229,7 @@ async def list_lbs(
:param page: Page number to return, from the paginated results.
: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.
:return: :class:`ListLbsResponse <ListLbsResponse>`

Usage:
Expand All @@ -251,6 +253,7 @@ async def list_lbs(
"page": page,
"page_size": page_size or self.client.default_page_size,
"project_id": project_id or self.client.default_project_id,
"tags": tags,
},
)

Expand All @@ -267,6 +270,7 @@ async def list_lbs_all(
page: Optional[int] = None,
organization_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[List[str]] = None,
) -> List[Lb]:
"""
List load balancers.
Expand All @@ -277,6 +281,7 @@ async def list_lbs_all(
:param page: Page number to return, from the paginated results.
: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.
:return: :class:`List[ListLbsResponse] <List[ListLbsResponse]>`

Usage:
Expand All @@ -297,6 +302,7 @@ async def list_lbs_all(
"page": page,
"organization_id": organization_id,
"project_id": project_id,
"tags": tags,
},
)

Expand Down Expand Up @@ -3181,6 +3187,7 @@ async def list_lbs(
page: Optional[int] = None,
organization_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[List[str]] = None,
) -> ListLbsResponse:
"""
List Load Balancers.
Expand All @@ -3192,6 +3199,7 @@ async def list_lbs(
:param page: Page number to return, from the paginated results.
: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.
:return: :class:`ListLbsResponse <ListLbsResponse>`

Usage:
Expand All @@ -3213,6 +3221,7 @@ async def list_lbs(
"page": page,
"page_size": page_size or self.client.default_page_size,
"project_id": project_id or self.client.default_project_id,
"tags": tags,
},
)

Expand All @@ -3229,6 +3238,7 @@ async def list_lbs_all(
page: Optional[int] = None,
organization_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[List[str]] = None,
) -> List[Lb]:
"""
List Load Balancers.
Expand All @@ -3240,6 +3250,7 @@ async def list_lbs_all(
:param page: Page number to return, from the paginated results.
: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.
:return: :class:`List[ListLbsResponse] <List[ListLbsResponse]>`

Usage:
Expand All @@ -3260,6 +3271,7 @@ async def list_lbs_all(
"page": page,
"organization_id": organization_id,
"project_id": project_id,
"tags": tags,
},
)

Expand Down
Loading
Loading