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
7 changes: 7 additions & 0 deletions scaleway-async/scaleway_async/lb/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,10 @@ def unmarshal_AclMatch(data: Any) -> AclMatch:
if field is not None:
args["ip_subnet"] = field

field = data.get("ips_edge_services", None)
if field is not None:
args["ips_edge_services"] = field

field = data.get("http_filter", None)
if field is not None:
args["http_filter"] = field
Expand Down Expand Up @@ -1618,6 +1622,9 @@ def marshal_AclMatch(
if request.ip_subnet is not None:
output["ip_subnet"] = request.ip_subnet

if request.ips_edge_services is not None:
output["ips_edge_services"] = request.ips_edge_services

if request.http_filter is not None:
output["http_filter"] = str(request.http_filter)

Expand Down
5 changes: 5 additions & 0 deletions scaleway-async/scaleway_async/lb/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,11 @@ class AclMatch:
List of IPs or CIDR v4/v6 addresses to filter for from the client side.
"""

ips_edge_services: bool
"""
Defines whether Edge Services IPs should be matched.
"""

http_filter: AclHttpFilter
"""
Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends.
Expand Down
7 changes: 7 additions & 0 deletions scaleway/scaleway/lb/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,10 @@ def unmarshal_AclMatch(data: Any) -> AclMatch:
if field is not None:
args["ip_subnet"] = field

field = data.get("ips_edge_services", None)
if field is not None:
args["ips_edge_services"] = field

field = data.get("http_filter", None)
if field is not None:
args["http_filter"] = field
Expand Down Expand Up @@ -1618,6 +1622,9 @@ def marshal_AclMatch(
if request.ip_subnet is not None:
output["ip_subnet"] = request.ip_subnet

if request.ips_edge_services is not None:
output["ips_edge_services"] = request.ips_edge_services

if request.http_filter is not None:
output["http_filter"] = str(request.http_filter)

Expand Down
5 changes: 5 additions & 0 deletions scaleway/scaleway/lb/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,11 @@ class AclMatch:
List of IPs or CIDR v4/v6 addresses to filter for from the client side.
"""

ips_edge_services: bool
"""
Defines whether Edge Services IPs should be matched.
"""

http_filter: AclHttpFilter
"""
Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends.
Expand Down