Skip to content
Merged
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
13 changes: 13 additions & 0 deletions scaleway-async/scaleway_async/lb/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1948,6 +1948,13 @@ async def list_backend_stats(
backend_id: Optional[str] = None,
) -> ListBackendStatsResponse:
"""
List backend server statistics.
:param region: Region to target. If none is passed will use default region from the config.
:param lb_id: Load Balancer ID.
:param page: The page number to return, from the paginated results.
:param page_size: Number of items to return.
:param backend_id: ID of the backend.
:return: :class:`ListBackendStatsResponse <ListBackendStatsResponse>`

Usage:
::
Expand Down Expand Up @@ -1983,6 +1990,12 @@ async def list_backend_stats_all(
backend_id: Optional[str] = None,
) -> List[BackendServerStats]:
"""
List backend server statistics.
:param region: Region to target. If none is passed will use default region from the config.
:param lb_id: Load Balancer ID.
:param page: The page number to return, from the paginated results.
:param page_size: Number of items to return.
:param backend_id: ID of the backend.
:return: :class:`List[ListBackendStatsResponse] <List[ListBackendStatsResponse]>`

Usage:
Expand Down
2 changes: 1 addition & 1 deletion scaleway-async/scaleway_async/lb/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ class AclActionRedirect:

target: str
"""
Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{ host \}\}, \{\{ query \}\}, \{\{ path \}\} and \{\{ scheme \}\}.
Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\}.
"""

code: Optional[int]
Expand Down
13 changes: 13 additions & 0 deletions scaleway/scaleway/lb/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1948,6 +1948,13 @@ def list_backend_stats(
backend_id: Optional[str] = None,
) -> ListBackendStatsResponse:
"""
List backend server statistics.
:param region: Region to target. If none is passed will use default region from the config.
:param lb_id: Load Balancer ID.
:param page: The page number to return, from the paginated results.
:param page_size: Number of items to return.
:param backend_id: ID of the backend.
:return: :class:`ListBackendStatsResponse <ListBackendStatsResponse>`

Usage:
::
Expand Down Expand Up @@ -1983,6 +1990,12 @@ def list_backend_stats_all(
backend_id: Optional[str] = None,
) -> List[BackendServerStats]:
"""
List backend server statistics.
:param region: Region to target. If none is passed will use default region from the config.
:param lb_id: Load Balancer ID.
:param page: The page number to return, from the paginated results.
:param page_size: Number of items to return.
:param backend_id: ID of the backend.
:return: :class:`List[ListBackendStatsResponse] <List[ListBackendStatsResponse]>`

Usage:
Expand Down
2 changes: 1 addition & 1 deletion scaleway/scaleway/lb/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ class AclActionRedirect:

target: str
"""
Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{ host \}\}, \{\{ query \}\}, \{\{ path \}\} and \{\{ scheme \}\}.
Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\}.
"""

code: Optional[int]
Expand Down