diff --git a/scaleway-async/scaleway_async/redis/v1/api.py b/scaleway-async/scaleway_async/redis/v1/api.py index 335cd0299..c20c92c6d 100644 --- a/scaleway-async/scaleway_async/redis/v1/api.py +++ b/scaleway-async/scaleway_async/redis/v1/api.py @@ -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 ` Usage: diff --git a/scaleway-async/scaleway_async/redis/v1/types.py b/scaleway-async/scaleway_async/redis/v1/types.py index 922bef524..4c09bb4ac 100644 --- a/scaleway-async/scaleway_async/redis/v1/types.py +++ b/scaleway-async/scaleway_async/redis/v1/types.py @@ -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. """ diff --git a/scaleway/scaleway/redis/v1/api.py b/scaleway/scaleway/redis/v1/api.py index 68b6c559f..d9d7271d6 100644 --- a/scaleway/scaleway/redis/v1/api.py +++ b/scaleway/scaleway/redis/v1/api.py @@ -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 ` Usage: diff --git a/scaleway/scaleway/redis/v1/types.py b/scaleway/scaleway/redis/v1/types.py index 922bef524..4c09bb4ac 100644 --- a/scaleway/scaleway/redis/v1/types.py +++ b/scaleway/scaleway/redis/v1/types.py @@ -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. """