Skip to content

Commit 0fc65cc

Browse files
authored
feat(lb): enable devtools generation for path_begin new route feature (scaleway#2550)
1 parent c222117 commit 0fc65cc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

api/lb/v1/lb_sdk.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,15 +1676,19 @@ type PrivateNetworkStaticConfig struct {
16761676
// RouteMatch: route match.
16771677
type RouteMatch struct {
16781678
// Sni: value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. This field should be set for routes on TCP Load Balancers.
1679-
// Precisely one of Sni, HostHeader must be set.
1679+
// Precisely one of Sni, HostHeader, PathBegin must be set.
16801680
Sni *string `json:"sni,omitempty"`
16811681

16821682
// HostHeader: value to match in the HTTP Host request header from an incoming request. This field should be set for routes on HTTP Load Balancers.
1683-
// Precisely one of Sni, HostHeader must be set.
1683+
// Precisely one of Sni, HostHeader, PathBegin must be set.
16841684
HostHeader *string `json:"host_header,omitempty"`
16851685

16861686
// MatchSubdomains: if true, all subdomains will match.
16871687
MatchSubdomains bool `json:"match_subdomains"`
1688+
1689+
// PathBegin: value to match in the URL beginning path from an incoming request.
1690+
// Precisely one of Sni, HostHeader, PathBegin must be set.
1691+
PathBegin *string `json:"path_begin,omitempty"`
16881692
}
16891693

16901694
// CreateCertificateRequestCustomCertificate: create certificate request custom certificate.

0 commit comments

Comments
 (0)