You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param route_stage_id: ID of the route stage to update.
2092
2092
:param waf_stage_id: ID of the WAF stage HTTP requests should be forwarded to when no rules are matched.
2093
2093
One-Of ('next'): at most one of 'waf_stage_id', 'backend_stage_id' could be set.
2094
-
:param backend_stage_id:
2094
+
:param backend_stage_id: ID of the backend stage HTTP requests should be forwarded to when no rules are matched.
2095
2095
One-Of ('next'): at most one of 'waf_stage_id', 'backend_stage_id' could be set.
2096
2096
:return: :class:`RouteStage <RouteStage>`
2097
2097
@@ -2187,7 +2187,7 @@ async def set_route_rules(
2187
2187
Set route rules.
2188
2188
Set the rules of an existing route stage, specified by its `route_stage_id`.
2189
2189
:param route_stage_id: ID of the route stage to update.
2190
-
:param route_rules: List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
2190
+
:param route_rules: List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
Add route rules to an existing route stage, specified by its `route_stage_id`.
2229
2229
:param route_stage_id: ID of the route stage to update.
2230
-
:param route_rules: List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
2230
+
:param route_rules: List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
2231
2231
:param after_position: Add rules after the given position.
2232
2232
One-Of ('position'): at most one of 'after_position', 'before_position' could be set.
2233
2233
:param before_position: Add rules before the given position.
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/edge_services/v1beta1/types.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -857,7 +857,7 @@ class AddRouteRulesRequest:
857
857
default_factory=list
858
858
)
859
859
"""
860
-
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
860
+
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
861
861
"""
862
862
863
863
after_position: Optional[int] =0
@@ -869,7 +869,7 @@ class AddRouteRulesRequest:
869
869
classAddRouteRulesResponse:
870
870
route_rules: list[RouteRule]
871
871
"""
872
-
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
872
+
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
873
873
"""
874
874
875
875
@@ -1577,7 +1577,7 @@ class ListRouteRulesRequest:
1577
1577
classListRouteRulesResponse:
1578
1578
route_rules: list[RouteRule]
1579
1579
"""
1580
-
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
1580
+
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
1581
1581
"""
1582
1582
1583
1583
total_count: int
@@ -1774,15 +1774,15 @@ class SetRouteRulesRequest:
1774
1774
default_factory=list
1775
1775
)
1776
1776
"""
1777
-
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
1777
+
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
1778
1778
"""
1779
1779
1780
1780
1781
1781
@dataclass
1782
1782
classSetRouteRulesResponse:
1783
1783
route_rules: list[RouteRule]
1784
1784
"""
1785
-
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
1785
+
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
Copy file name to clipboardExpand all lines: scaleway/scaleway/edge_services/v1beta1/api.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2013,11 +2013,11 @@ def create_route_stage(
2013
2013
) ->RouteStage:
2014
2014
"""
2015
2015
Create route stage.
2016
-
Create a new route stage. You must specify the `waf_stage_id` field to customize the route.
2016
+
Create a new route stage. You must specify the `waf_stage_id` or `backend_stage_id` fields to customize the route.
2017
2017
:param pipeline_id: Pipeline ID the route stage belongs to.
2018
2018
:param waf_stage_id: ID of the WAF stage HTTP requests should be forwarded to when no rules are matched.
2019
2019
One-Of ('next'): at most one of 'waf_stage_id', 'backend_stage_id' could be set.
2020
-
:param backend_stage_id:
2020
+
:param backend_stage_id: ID of the backend stage HTTP requests should be forwarded to when no rules are matched.
2021
2021
One-Of ('next'): at most one of 'waf_stage_id', 'backend_stage_id' could be set.
2022
2022
:return: :class:`RouteStage <RouteStage>`
2023
2023
@@ -2089,7 +2089,7 @@ def update_route_stage(
2089
2089
:param route_stage_id: ID of the route stage to update.
2090
2090
:param waf_stage_id: ID of the WAF stage HTTP requests should be forwarded to when no rules are matched.
2091
2091
One-Of ('next'): at most one of 'waf_stage_id', 'backend_stage_id' could be set.
2092
-
:param backend_stage_id:
2092
+
:param backend_stage_id: ID of the backend stage HTTP requests should be forwarded to when no rules are matched.
2093
2093
One-Of ('next'): at most one of 'waf_stage_id', 'backend_stage_id' could be set.
2094
2094
:return: :class:`RouteStage <RouteStage>`
2095
2095
@@ -2185,7 +2185,7 @@ def set_route_rules(
2185
2185
Set route rules.
2186
2186
Set the rules of an existing route stage, specified by its `route_stage_id`.
2187
2187
:param route_stage_id: ID of the route stage to update.
2188
-
:param route_rules: List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
2188
+
:param route_rules: List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
Add route rules to an existing route stage, specified by its `route_stage_id`.
2227
2227
:param route_stage_id: ID of the route stage to update.
2228
-
:param route_rules: List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
2228
+
:param route_rules: List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
2229
2229
:param after_position: Add rules after the given position.
2230
2230
One-Of ('position'): at most one of 'after_position', 'before_position' could be set.
2231
2231
:param before_position: Add rules before the given position.
Copy file name to clipboardExpand all lines: scaleway/scaleway/edge_services/v1beta1/types.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -857,7 +857,7 @@ class AddRouteRulesRequest:
857
857
default_factory=list
858
858
)
859
859
"""
860
-
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
860
+
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
861
861
"""
862
862
863
863
after_position: Optional[int] =0
@@ -869,7 +869,7 @@ class AddRouteRulesRequest:
869
869
classAddRouteRulesResponse:
870
870
route_rules: list[RouteRule]
871
871
"""
872
-
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
872
+
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
873
873
"""
874
874
875
875
@@ -1577,7 +1577,7 @@ class ListRouteRulesRequest:
1577
1577
classListRouteRulesResponse:
1578
1578
route_rules: list[RouteRule]
1579
1579
"""
1580
-
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
1580
+
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
1581
1581
"""
1582
1582
1583
1583
total_count: int
@@ -1774,15 +1774,15 @@ class SetRouteRulesRequest:
1774
1774
default_factory=list
1775
1775
)
1776
1776
"""
1777
-
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
1777
+
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
1778
1778
"""
1779
1779
1780
1780
1781
1781
@dataclass
1782
1782
classSetRouteRulesResponse:
1783
1783
route_rules: list[RouteRule]
1784
1784
"""
1785
-
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
1785
+
List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
0 commit comments