From 79c22d4d650a7b0ca3fe9a79d8cb3247687962b4 Mon Sep 17 00:00:00 2001 From: Yacine FODIL Date: Thu, 24 Jul 2025 13:26:42 +0200 Subject: [PATCH] docs(lb): fix ACL match field description --- scaleway-async/scaleway_async/lb/v1/api.py | 16 +++++++------- scaleway-async/scaleway_async/lb/v1/types.py | 22 ++++++++++---------- scaleway/scaleway/lb/v1/api.py | 16 +++++++------- scaleway/scaleway/lb/v1/types.py | 22 ++++++++++---------- 4 files changed, 38 insertions(+), 38 deletions(-) diff --git a/scaleway-async/scaleway_async/lb/v1/api.py b/scaleway-async/scaleway_async/lb/v1/api.py index 094e682f3..cdd76556c 100644 --- a/scaleway-async/scaleway_async/lb/v1/api.py +++ b/scaleway-async/scaleway_async/lb/v1/api.py @@ -1527,7 +1527,7 @@ async def create_frontend( :param lb_id: Load Balancer ID (ID of the Load Balancer to attach the frontend to). :param backend_id: Backend ID (ID of the backend the frontend should pass traffic to). :param enable_http3: Defines whether to enable HTTP/3 protocol on the frontend. - :param enable_access_logs: Defines wether to enable access logs on the frontend. + :param enable_access_logs: Defines whether to enable access logs on the frontend. :param zone: Zone to target. If none is passed will use default zone from the config. :param name: Name for the frontend. :param timeout_client: Maximum allowed inactivity time on the client side. @@ -1635,7 +1635,7 @@ async def update_frontend( :param certificate_id: Certificate ID, deprecated in favor of certificate_ids array. :param certificate_ids: List of SSL/TLS certificate IDs to bind to the frontend. :param connection_rate_limit: Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second. - :param enable_access_logs: Defines wether to enable access logs on the frontend. + :param enable_access_logs: Defines whether to enable access logs on the frontend. :return: :class:`Frontend ` Usage: @@ -2168,7 +2168,7 @@ async def create_acl( :param description: ACL description. :param zone: Zone to target. If none is passed will use default zone from the config. :param name: ACL name. - :param match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + :param match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. :return: :class:`Acl ` Usage: @@ -2256,7 +2256,7 @@ async def update_acl( :param action: Action to take when incoming traffic matches an ACL filter. :param index: Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). :param zone: Zone to target. If none is passed will use default zone from the config. - :param match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + :param match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. :param description: ACL description. :return: :class:`Acl ` @@ -4574,7 +4574,7 @@ async def create_frontend( :param lb_id: Load Balancer ID (ID of the Load Balancer to attach the frontend to). :param backend_id: Backend ID (ID of the backend the frontend should pass traffic to). :param enable_http3: Defines whether to enable HTTP/3 protocol on the frontend. - :param enable_access_logs: Defines wether to enable access logs on the frontend. + :param enable_access_logs: Defines whether to enable access logs on the frontend. :param region: Region to target. If none is passed will use default region from the config. :param name: Name for the frontend. :param timeout_client: Maximum allowed inactivity time on the client side. @@ -4684,7 +4684,7 @@ async def update_frontend( :param certificate_id: Certificate ID, deprecated in favor of certificate_ids array. :param certificate_ids: List of SSL/TLS certificate IDs to bind to the frontend. :param connection_rate_limit: Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second. - :param enable_access_logs: Defines wether to enable access logs on the frontend. + :param enable_access_logs: Defines whether to enable access logs on the frontend. :return: :class:`Frontend ` Usage: @@ -5225,7 +5225,7 @@ async def create_acl( :param description: ACL description. :param region: Region to target. If none is passed will use default region from the config. :param name: ACL name. - :param match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + :param match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. :return: :class:`Acl ` Usage: @@ -5315,7 +5315,7 @@ async def update_acl( :param action: Action to take when incoming traffic matches an ACL filter. :param index: Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). :param region: Region to target. If none is passed will use default region from the config. - :param match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + :param match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. :param description: ACL description. :return: :class:`Acl ` diff --git a/scaleway-async/scaleway_async/lb/v1/types.py b/scaleway-async/scaleway_async/lb/v1/types.py index 106f8f49a..4d8290ed1 100644 --- a/scaleway-async/scaleway_async/lb/v1/types.py +++ b/scaleway-async/scaleway_async/lb/v1/types.py @@ -936,7 +936,7 @@ class Frontend: enable_access_logs: bool """ - Defines wether to enable access logs on the frontend. + Defines whether to enable access logs on the frontend. """ certificate: Optional[Certificate] @@ -1070,7 +1070,7 @@ class Acl: match: Optional[AclMatch] """ - ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. """ action: Optional[AclAction] @@ -1218,7 +1218,7 @@ class AclSpec: match: Optional[AclMatch] """ - ACL match filter object. One of `ip_subnet` or `http_filter` and `http_filter_value` are required. + ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` and `http_filter_value` are required. """ @@ -1307,7 +1307,7 @@ class CreateAclRequest: match: Optional[AclMatch] """ - ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. """ @@ -1475,7 +1475,7 @@ class CreateFrontendRequest: enable_access_logs: bool """ - Defines wether to enable access logs on the frontend. + Defines whether to enable access logs on the frontend. """ region: Optional[ScwRegion] @@ -2530,7 +2530,7 @@ class UpdateAclRequest: match: Optional[AclMatch] """ - ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. """ description: Optional[str] @@ -2719,7 +2719,7 @@ class UpdateFrontendRequest: enable_access_logs: Optional[bool] """ - Defines wether to enable access logs on the frontend. + Defines whether to enable access logs on the frontend. """ @@ -2971,7 +2971,7 @@ class ZonedApiCreateAclRequest: match: Optional[AclMatch] """ - ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. """ @@ -3139,7 +3139,7 @@ class ZonedApiCreateFrontendRequest: enable_access_logs: bool """ - Defines wether to enable access logs on the frontend. + Defines whether to enable access logs on the frontend. """ zone: Optional[ScwZone] @@ -4048,7 +4048,7 @@ class ZonedApiUpdateAclRequest: match: Optional[AclMatch] """ - ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. """ description: Optional[str] @@ -4237,7 +4237,7 @@ class ZonedApiUpdateFrontendRequest: enable_access_logs: Optional[bool] """ - Defines wether to enable access logs on the frontend. + Defines whether to enable access logs on the frontend. """ diff --git a/scaleway/scaleway/lb/v1/api.py b/scaleway/scaleway/lb/v1/api.py index 80efd7c83..c8fdd1414 100644 --- a/scaleway/scaleway/lb/v1/api.py +++ b/scaleway/scaleway/lb/v1/api.py @@ -1527,7 +1527,7 @@ def create_frontend( :param lb_id: Load Balancer ID (ID of the Load Balancer to attach the frontend to). :param backend_id: Backend ID (ID of the backend the frontend should pass traffic to). :param enable_http3: Defines whether to enable HTTP/3 protocol on the frontend. - :param enable_access_logs: Defines wether to enable access logs on the frontend. + :param enable_access_logs: Defines whether to enable access logs on the frontend. :param zone: Zone to target. If none is passed will use default zone from the config. :param name: Name for the frontend. :param timeout_client: Maximum allowed inactivity time on the client side. @@ -1635,7 +1635,7 @@ def update_frontend( :param certificate_id: Certificate ID, deprecated in favor of certificate_ids array. :param certificate_ids: List of SSL/TLS certificate IDs to bind to the frontend. :param connection_rate_limit: Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second. - :param enable_access_logs: Defines wether to enable access logs on the frontend. + :param enable_access_logs: Defines whether to enable access logs on the frontend. :return: :class:`Frontend ` Usage: @@ -2168,7 +2168,7 @@ def create_acl( :param description: ACL description. :param zone: Zone to target. If none is passed will use default zone from the config. :param name: ACL name. - :param match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + :param match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. :return: :class:`Acl ` Usage: @@ -2256,7 +2256,7 @@ def update_acl( :param action: Action to take when incoming traffic matches an ACL filter. :param index: Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). :param zone: Zone to target. If none is passed will use default zone from the config. - :param match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + :param match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. :param description: ACL description. :return: :class:`Acl ` @@ -4572,7 +4572,7 @@ def create_frontend( :param lb_id: Load Balancer ID (ID of the Load Balancer to attach the frontend to). :param backend_id: Backend ID (ID of the backend the frontend should pass traffic to). :param enable_http3: Defines whether to enable HTTP/3 protocol on the frontend. - :param enable_access_logs: Defines wether to enable access logs on the frontend. + :param enable_access_logs: Defines whether to enable access logs on the frontend. :param region: Region to target. If none is passed will use default region from the config. :param name: Name for the frontend. :param timeout_client: Maximum allowed inactivity time on the client side. @@ -4682,7 +4682,7 @@ def update_frontend( :param certificate_id: Certificate ID, deprecated in favor of certificate_ids array. :param certificate_ids: List of SSL/TLS certificate IDs to bind to the frontend. :param connection_rate_limit: Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second. - :param enable_access_logs: Defines wether to enable access logs on the frontend. + :param enable_access_logs: Defines whether to enable access logs on the frontend. :return: :class:`Frontend ` Usage: @@ -5223,7 +5223,7 @@ def create_acl( :param description: ACL description. :param region: Region to target. If none is passed will use default region from the config. :param name: ACL name. - :param match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + :param match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. :return: :class:`Acl ` Usage: @@ -5313,7 +5313,7 @@ def update_acl( :param action: Action to take when incoming traffic matches an ACL filter. :param index: Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). :param region: Region to target. If none is passed will use default region from the config. - :param match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + :param match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. :param description: ACL description. :return: :class:`Acl ` diff --git a/scaleway/scaleway/lb/v1/types.py b/scaleway/scaleway/lb/v1/types.py index 106f8f49a..4d8290ed1 100644 --- a/scaleway/scaleway/lb/v1/types.py +++ b/scaleway/scaleway/lb/v1/types.py @@ -936,7 +936,7 @@ class Frontend: enable_access_logs: bool """ - Defines wether to enable access logs on the frontend. + Defines whether to enable access logs on the frontend. """ certificate: Optional[Certificate] @@ -1070,7 +1070,7 @@ class Acl: match: Optional[AclMatch] """ - ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. """ action: Optional[AclAction] @@ -1218,7 +1218,7 @@ class AclSpec: match: Optional[AclMatch] """ - ACL match filter object. One of `ip_subnet` or `http_filter` and `http_filter_value` are required. + ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` and `http_filter_value` are required. """ @@ -1307,7 +1307,7 @@ class CreateAclRequest: match: Optional[AclMatch] """ - ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. """ @@ -1475,7 +1475,7 @@ class CreateFrontendRequest: enable_access_logs: bool """ - Defines wether to enable access logs on the frontend. + Defines whether to enable access logs on the frontend. """ region: Optional[ScwRegion] @@ -2530,7 +2530,7 @@ class UpdateAclRequest: match: Optional[AclMatch] """ - ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. """ description: Optional[str] @@ -2719,7 +2719,7 @@ class UpdateFrontendRequest: enable_access_logs: Optional[bool] """ - Defines wether to enable access logs on the frontend. + Defines whether to enable access logs on the frontend. """ @@ -2971,7 +2971,7 @@ class ZonedApiCreateAclRequest: match: Optional[AclMatch] """ - ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. """ @@ -3139,7 +3139,7 @@ class ZonedApiCreateFrontendRequest: enable_access_logs: bool """ - Defines wether to enable access logs on the frontend. + Defines whether to enable access logs on the frontend. """ zone: Optional[ScwZone] @@ -4048,7 +4048,7 @@ class ZonedApiUpdateAclRequest: match: Optional[AclMatch] """ - ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required. + ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required. """ description: Optional[str] @@ -4237,7 +4237,7 @@ class ZonedApiUpdateFrontendRequest: enable_access_logs: Optional[bool] """ - Defines wether to enable access logs on the frontend. + Defines whether to enable access logs on the frontend. """