Skip to content

Commit 85bd352

Browse files
authored
docs(redis): update update endpoint documentation (#106)
1 parent 0606e2a commit 85bd352

File tree

2 files changed

+14
-0
lines changed
  • scaleway-async/scaleway_async/redis/v1
  • scaleway/scaleway/redis/v1

2 files changed

+14
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,6 +1158,13 @@ async def update_endpoint(
11581158
public_network: Optional[EndpointSpecPublicNetworkSpec] = None,
11591159
) -> Endpoint:
11601160
"""
1161+
Update an endpoint.
1162+
Update information about a Redis™ Database Instance (Redis™ cluster) endpoint. Full details about the endpoint, like `ips`, `port`, `private_network` and `public_network` specifications are returned in the response.
1163+
:param zone: Zone to target. If none is passed will use default zone from the config.
1164+
:param endpoint_id:
1165+
:param private_network: One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
1166+
:param public_network: One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
1167+
:return: :class:`Endpoint <Endpoint>`
11611168
11621169
Usage:
11631170
::

scaleway/scaleway/redis/v1/api.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,6 +1158,13 @@ def update_endpoint(
11581158
public_network: Optional[EndpointSpecPublicNetworkSpec] = None,
11591159
) -> Endpoint:
11601160
"""
1161+
Update an endpoint.
1162+
Update information about a Redis™ Database Instance (Redis™ cluster) endpoint. Full details about the endpoint, like `ips`, `port`, `private_network` and `public_network` specifications are returned in the response.
1163+
:param zone: Zone to target. If none is passed will use default zone from the config.
1164+
:param endpoint_id:
1165+
:param private_network: One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
1166+
:param public_network: One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
1167+
:return: :class:`Endpoint <Endpoint>`
11611168
11621169
Usage:
11631170
::

0 commit comments

Comments
 (0)