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
10 changes: 7 additions & 3 deletions scaleway-async/scaleway_async/redis/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1161,9 +1161,13 @@ async def update_endpoint(
Update an endpoint.
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.
:param zone: Zone to target. If none is passed will use default zone from the config.
:param endpoint_id:
:param private_network: One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
:param public_network: One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
:param endpoint_id: UUID of the endpoint you want to get.
:param private_network: Private Network details.

One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
:param public_network: Public network details.

One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
:return: :class:`Endpoint <Endpoint>`

Usage:
Expand Down
7 changes: 7 additions & 0 deletions scaleway-async/scaleway_async/redis/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1093,13 +1093,20 @@ class UpdateEndpointRequest:
"""

endpoint_id: str
"""
UUID of the endpoint you want to get.
"""

private_network: Optional[EndpointSpecPrivateNetworkSpec]
"""
Private Network details.

One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
"""

public_network: Optional[EndpointSpecPublicNetworkSpec]
"""
Public network details.

One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
"""
10 changes: 7 additions & 3 deletions scaleway/scaleway/redis/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1161,9 +1161,13 @@ def update_endpoint(
Update an endpoint.
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.
:param zone: Zone to target. If none is passed will use default zone from the config.
:param endpoint_id:
:param private_network: One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
:param public_network: One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
:param endpoint_id: UUID of the endpoint you want to get.
:param private_network: Private Network details.

One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
:param public_network: Public network details.

One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
:return: :class:`Endpoint <Endpoint>`

Usage:
Expand Down
7 changes: 7 additions & 0 deletions scaleway/scaleway/redis/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1093,13 +1093,20 @@ class UpdateEndpointRequest:
"""

endpoint_id: str
"""
UUID of the endpoint you want to get.
"""

private_network: Optional[EndpointSpecPrivateNetworkSpec]
"""
Private Network details.

One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
"""

public_network: Optional[EndpointSpecPublicNetworkSpec]
"""
Public network details.

One-of ('endpoint_type'): at most one of 'private_network', 'public_network' could be set.
"""