Skip to content

Commit 42f2e1a

Browse files
authored
docs(lb): fix ACL match field description (scaleway#2656)
1 parent f392049 commit 42f2e1a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

api/lb/v1/lb_sdk.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ type Frontend struct {
16291629
// ConnectionRateLimit: rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
16301630
ConnectionRateLimit *uint32 `json:"connection_rate_limit"`
16311631

1632-
// EnableAccessLogs: defines wether to enable access logs on the frontend.
1632+
// EnableAccessLogs: defines whether to enable access logs on the frontend.
16331633
EnableAccessLogs bool `json:"enable_access_logs"`
16341634
}
16351635

@@ -1740,7 +1740,7 @@ type ACL struct {
17401740
// Name: ACL name.
17411741
Name string `json:"name"`
17421742

1743-
// Match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required.
1743+
// Match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required.
17441744
Match *ACLMatch `json:"match"`
17451745

17461746
// Action: action to take when incoming traffic matches an ACL filter.
@@ -1844,7 +1844,7 @@ type ACLSpec struct {
18441844
// Action: action to take when incoming traffic matches an ACL filter.
18451845
Action *ACLAction `json:"action"`
18461846

1847-
// Match: ACL match filter object. One of `ip_subnet` or `http_filter` and `http_filter_value` are required.
1847+
// Match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` and `http_filter_value` are required.
18481848
Match *ACLMatch `json:"match"`
18491849

18501850
// Index: priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
@@ -1907,7 +1907,7 @@ type CreateACLRequest struct {
19071907
// Action: action to take when incoming traffic matches an ACL filter.
19081908
Action *ACLAction `json:"action"`
19091909

1910-
// Match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required.
1910+
// Match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required.
19111911
Match *ACLMatch `json:"match,omitempty"`
19121912

19131913
// Index: priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
@@ -2082,7 +2082,7 @@ type CreateFrontendRequest struct {
20822082
// ConnectionRateLimit: rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
20832083
ConnectionRateLimit *uint32 `json:"connection_rate_limit,omitempty"`
20842084

2085-
// EnableAccessLogs: defines wether to enable access logs on the frontend.
2085+
// EnableAccessLogs: defines whether to enable access logs on the frontend.
20862086
EnableAccessLogs bool `json:"enable_access_logs"`
20872087
}
20882088

@@ -3040,7 +3040,7 @@ type UpdateACLRequest struct {
30403040
// Action: action to take when incoming traffic matches an ACL filter.
30413041
Action *ACLAction `json:"action"`
30423042

3043-
// Match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required.
3043+
// Match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required.
30443044
Match *ACLMatch `json:"match,omitempty"`
30453045

30463046
// Index: priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
@@ -3201,7 +3201,7 @@ type UpdateFrontendRequest struct {
32013201
// ConnectionRateLimit: rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
32023202
ConnectionRateLimit *uint32 `json:"connection_rate_limit,omitempty"`
32033203

3204-
// EnableAccessLogs: defines wether to enable access logs on the frontend.
3204+
// EnableAccessLogs: defines whether to enable access logs on the frontend.
32053205
EnableAccessLogs *bool `json:"enable_access_logs,omitempty"`
32063206
}
32073207

@@ -3448,7 +3448,7 @@ type ZonedAPICreateACLRequest struct {
34483448
// Action: action to take when incoming traffic matches an ACL filter.
34493449
Action *ACLAction `json:"action"`
34503450

3451-
// Match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required.
3451+
// Match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required.
34523452
Match *ACLMatch `json:"match,omitempty"`
34533453

34543454
// Index: priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
@@ -3623,7 +3623,7 @@ type ZonedAPICreateFrontendRequest struct {
36233623
// ConnectionRateLimit: rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
36243624
ConnectionRateLimit *uint32 `json:"connection_rate_limit,omitempty"`
36253625

3626-
// EnableAccessLogs: defines wether to enable access logs on the frontend.
3626+
// EnableAccessLogs: defines whether to enable access logs on the frontend.
36273627
EnableAccessLogs bool `json:"enable_access_logs"`
36283628
}
36293629

@@ -4251,7 +4251,7 @@ type ZonedAPIUpdateACLRequest struct {
42514251
// Action: action to take when incoming traffic matches an ACL filter.
42524252
Action *ACLAction `json:"action"`
42534253

4254-
// Match: ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required.
4254+
// Match: ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required.
42554255
Match *ACLMatch `json:"match,omitempty"`
42564256

42574257
// Index: priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
@@ -4412,7 +4412,7 @@ type ZonedAPIUpdateFrontendRequest struct {
44124412
// ConnectionRateLimit: rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
44134413
ConnectionRateLimit *uint32 `json:"connection_rate_limit,omitempty"`
44144414

4415-
// EnableAccessLogs: defines wether to enable access logs on the frontend.
4415+
// EnableAccessLogs: defines whether to enable access logs on the frontend.
44164416
EnableAccessLogs *bool `json:"enable_access_logs,omitempty"`
44174417
}
44184418

0 commit comments

Comments
 (0)