From bda72354b4c52676270f7cfd2b20fe42487c19ba Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Thu, 30 Jan 2025 17:12:47 +0000 Subject: [PATCH] feat: update generated APIs --- scaleway-async/scaleway_async/instance/v1/api.py | 8 ++++---- scaleway-async/scaleway_async/instance/v1/types.py | 7 +++---- scaleway/scaleway/instance/v1/api.py | 8 ++++---- scaleway/scaleway/instance/v1/types.py | 7 +++---- 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/scaleway-async/scaleway_async/instance/v1/api.py b/scaleway-async/scaleway_async/instance/v1/api.py index 0871eca8f..e7da5e4b0 100644 --- a/scaleway-async/scaleway_async/instance/v1/api.py +++ b/scaleway-async/scaleway_async/instance/v1/api.py @@ -3445,7 +3445,7 @@ async def list_ips( :param name: Filter on the IP address (Works as a LIKE operation on the IP address). :param per_page: A positive integer lower or equal to 100 to select the number of items to return. :param page: A positive integer to choose the page to return. - :param type_: Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4', 'routed_ipv6' or 'nat'). + :param type_: Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4' or 'routed_ipv6'). :return: :class:`ListIpsResponse ` Usage: @@ -3495,7 +3495,7 @@ async def list_ips_all( :param name: Filter on the IP address (Works as a LIKE operation on the IP address). :param per_page: A positive integer lower or equal to 100 to select the number of items to return. :param page: A positive integer to choose the page to return. - :param type_: Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4', 'routed_ipv6' or 'nat'). + :param type_: Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4' or 'routed_ipv6'). :return: :class:`List[Ip] ` Usage: @@ -3540,7 +3540,7 @@ async def create_ip( One-Of ('project_identifier'): at most one of 'project', 'organization' could be set. :param tags: Tags of the IP. :param server: UUID of the Instance you want to attach the IP to. - :param type_: IP type to reserve (either 'routed_ipv4' or 'routed_ipv6', use of 'nat' is deprecated). + :param type_: IP type to reserve (either 'routed_ipv4' or 'routed_ipv6'). :return: :class:`CreateIpResponse ` Usage: @@ -3618,7 +3618,7 @@ async def update_ip( :param ip: IP ID or IP address. :param zone: Zone to target. If none is passed will use default zone from the config. :param reverse: Reverse domain name. - :param type_: Convert a 'nat' IP to a 'routed_ipv4'. + :param type_: Should have no effect. :param tags: An array of keywords you want to tag this IP with. :param server: :return: :class:`UpdateIpResponse ` diff --git a/scaleway-async/scaleway_async/instance/v1/types.py b/scaleway-async/scaleway_async/instance/v1/types.py index f4770f9eb..c9c90e339 100644 --- a/scaleway-async/scaleway_async/instance/v1/types.py +++ b/scaleway-async/scaleway_async/instance/v1/types.py @@ -66,7 +66,6 @@ def __str__(self) -> str: class IpType(str, Enum, metaclass=StrEnumMeta): UNKNOWN_IPTYPE = "unknown_iptype" - NAT = "nat" ROUTED_IPV4 = "routed_ipv4" ROUTED_IPV6 = "routed_ipv6" @@ -1579,7 +1578,7 @@ class CreateIpRequest: type_: Optional[IpType] """ - IP type to reserve (either 'routed_ipv4' or 'routed_ipv6', use of 'nat' is deprecated). + IP type to reserve (either 'routed_ipv4' or 'routed_ipv6'). """ project: Optional[str] @@ -2444,7 +2443,7 @@ class ListIpsRequest: type_: Optional[str] """ - Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4', 'routed_ipv6' or 'nat'). + Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4' or 'routed_ipv6'). """ @@ -3180,7 +3179,7 @@ class UpdateIpRequest: type_: Optional[IpType] """ - Convert a 'nat' IP to a 'routed_ipv4'. + Should have no effect. """ tags: Optional[List[str]] diff --git a/scaleway/scaleway/instance/v1/api.py b/scaleway/scaleway/instance/v1/api.py index 2402114e7..c3b81a028 100644 --- a/scaleway/scaleway/instance/v1/api.py +++ b/scaleway/scaleway/instance/v1/api.py @@ -3445,7 +3445,7 @@ def list_ips( :param name: Filter on the IP address (Works as a LIKE operation on the IP address). :param per_page: A positive integer lower or equal to 100 to select the number of items to return. :param page: A positive integer to choose the page to return. - :param type_: Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4', 'routed_ipv6' or 'nat'). + :param type_: Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4' or 'routed_ipv6'). :return: :class:`ListIpsResponse ` Usage: @@ -3495,7 +3495,7 @@ def list_ips_all( :param name: Filter on the IP address (Works as a LIKE operation on the IP address). :param per_page: A positive integer lower or equal to 100 to select the number of items to return. :param page: A positive integer to choose the page to return. - :param type_: Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4', 'routed_ipv6' or 'nat'). + :param type_: Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4' or 'routed_ipv6'). :return: :class:`List[Ip] ` Usage: @@ -3540,7 +3540,7 @@ def create_ip( One-Of ('project_identifier'): at most one of 'project', 'organization' could be set. :param tags: Tags of the IP. :param server: UUID of the Instance you want to attach the IP to. - :param type_: IP type to reserve (either 'routed_ipv4' or 'routed_ipv6', use of 'nat' is deprecated). + :param type_: IP type to reserve (either 'routed_ipv4' or 'routed_ipv6'). :return: :class:`CreateIpResponse ` Usage: @@ -3618,7 +3618,7 @@ def update_ip( :param ip: IP ID or IP address. :param zone: Zone to target. If none is passed will use default zone from the config. :param reverse: Reverse domain name. - :param type_: Convert a 'nat' IP to a 'routed_ipv4'. + :param type_: Should have no effect. :param tags: An array of keywords you want to tag this IP with. :param server: :return: :class:`UpdateIpResponse ` diff --git a/scaleway/scaleway/instance/v1/types.py b/scaleway/scaleway/instance/v1/types.py index f4770f9eb..c9c90e339 100644 --- a/scaleway/scaleway/instance/v1/types.py +++ b/scaleway/scaleway/instance/v1/types.py @@ -66,7 +66,6 @@ def __str__(self) -> str: class IpType(str, Enum, metaclass=StrEnumMeta): UNKNOWN_IPTYPE = "unknown_iptype" - NAT = "nat" ROUTED_IPV4 = "routed_ipv4" ROUTED_IPV6 = "routed_ipv6" @@ -1579,7 +1578,7 @@ class CreateIpRequest: type_: Optional[IpType] """ - IP type to reserve (either 'routed_ipv4' or 'routed_ipv6', use of 'nat' is deprecated). + IP type to reserve (either 'routed_ipv4' or 'routed_ipv6'). """ project: Optional[str] @@ -2444,7 +2443,7 @@ class ListIpsRequest: type_: Optional[str] """ - Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4', 'routed_ipv6' or 'nat'). + Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4' or 'routed_ipv6'). """ @@ -3180,7 +3179,7 @@ class UpdateIpRequest: type_: Optional[IpType] """ - Convert a 'nat' IP to a 'routed_ipv4'. + Should have no effect. """ tags: Optional[List[str]]