Skip to content

Commit 21c1600

Browse files
authored
docs(lb): add missing method for regionalized API (#234)
1 parent 1eb5131 commit 21c1600

File tree

2 files changed

+26
-0
lines changed
  • scaleway-async/scaleway_async/lb/v1
  • scaleway/scaleway/lb/v1

2 files changed

+26
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1948,6 +1948,13 @@ async def list_backend_stats(
19481948
backend_id: Optional[str] = None,
19491949
) -> ListBackendStatsResponse:
19501950
"""
1951+
List backend server statistics.
1952+
:param region: Region to target. If none is passed will use default region from the config.
1953+
:param lb_id: Load Balancer ID.
1954+
:param page: The page number to return, from the paginated results.
1955+
:param page_size: Number of items to return.
1956+
:param backend_id: ID of the backend.
1957+
:return: :class:`ListBackendStatsResponse <ListBackendStatsResponse>`
19511958
19521959
Usage:
19531960
::
@@ -1983,6 +1990,12 @@ async def list_backend_stats_all(
19831990
backend_id: Optional[str] = None,
19841991
) -> List[BackendServerStats]:
19851992
"""
1993+
List backend server statistics.
1994+
:param region: Region to target. If none is passed will use default region from the config.
1995+
:param lb_id: Load Balancer ID.
1996+
:param page: The page number to return, from the paginated results.
1997+
:param page_size: Number of items to return.
1998+
:param backend_id: ID of the backend.
19861999
:return: :class:`List[ListBackendStatsResponse] <List[ListBackendStatsResponse]>`
19872000
19882001
Usage:

scaleway/scaleway/lb/v1/api.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1948,6 +1948,13 @@ def list_backend_stats(
19481948
backend_id: Optional[str] = None,
19491949
) -> ListBackendStatsResponse:
19501950
"""
1951+
List backend server statistics.
1952+
:param region: Region to target. If none is passed will use default region from the config.
1953+
:param lb_id: Load Balancer ID.
1954+
:param page: The page number to return, from the paginated results.
1955+
:param page_size: Number of items to return.
1956+
:param backend_id: ID of the backend.
1957+
:return: :class:`ListBackendStatsResponse <ListBackendStatsResponse>`
19511958
19521959
Usage:
19531960
::
@@ -1983,6 +1990,12 @@ def list_backend_stats_all(
19831990
backend_id: Optional[str] = None,
19841991
) -> List[BackendServerStats]:
19851992
"""
1993+
List backend server statistics.
1994+
:param region: Region to target. If none is passed will use default region from the config.
1995+
:param lb_id: Load Balancer ID.
1996+
:param page: The page number to return, from the paginated results.
1997+
:param page_size: Number of items to return.
1998+
:param backend_id: ID of the backend.
19861999
:return: :class:`List[ListBackendStatsResponse] <List[ListBackendStatsResponse]>`
19872000
19882001
Usage:

0 commit comments

Comments
 (0)