@@ -9,45 +9,53 @@ type TunnelOptions struct {
99 // Gets or sets a value indicating whether web-forwarding of this tunnel can run on any
1010 // cluster (region) without redirecting to the home cluster. This is only applicable if
1111 // the tunnel has a name and web-forwarding uses it.
12- IsGloballyAvailable bool `json:"isGloballyAvailable,omitempty"`
12+ IsGloballyAvailable bool `json:"isGloballyAvailable,omitempty"`
1313
1414 // Gets or sets a value for `Host` header rewriting to use in web-forwarding of this
1515 // tunnel or port. By default, with this property null or empty, web-forwarding uses
1616 // "localhost" to rewrite the header. Web-fowarding will use this property instead if it
1717 // is not null or empty. Port-level option, if set, takes precedence over this option on
1818 // the tunnel level. The option is ignored if IsHostHeaderUnchanged is true.
19- HostHeader string `json:"hostHeader,omitempty"`
19+ HostHeader string `json:"hostHeader,omitempty"`
2020
2121 // Gets or sets a value indicating whether `Host` header is rewritten or the header value
2222 // stays intact. By default, if false, web-forwarding rewrites the host header with the
2323 // value from HostHeader property or "localhost". If true, the host header will be
2424 // whatever the tunnel's web-forwarding host is, e.g. tunnel-name-8080.devtunnels.ms.
2525 // Port-level option, if set, takes precedence over this option on the tunnel level.
26- IsHostHeaderUnchanged bool `json:"isHostHeaderUnchanged,omitempty"`
26+ IsHostHeaderUnchanged bool `json:"isHostHeaderUnchanged,omitempty"`
2727
2828 // Gets or sets a value for `Origin` header rewriting to use in web-forwarding of this
2929 // tunnel or port. By default, with this property null or empty, web-forwarding uses
3030 // "http(s)://localhost" to rewrite the header. Web-fowarding will use this property
3131 // instead if it is not null or empty. Port-level option, if set, takes precedence over
3232 // this option on the tunnel level. The option is ignored if IsOriginHeaderUnchanged is
3333 // true.
34- OriginHeader string `json:"originHeader,omitempty"`
34+ OriginHeader string `json:"originHeader,omitempty"`
3535
3636 // Gets or sets a value indicating whether `Origin` header is rewritten or the header
3737 // value stays intact. By default, if false, web-forwarding rewrites the origin header
3838 // with the value from OriginHeader property or "http(s)://localhost". If true, the
3939 // Origin header will be whatever the tunnel's web-forwarding Origin is, e.g.
4040 // https://tunnel-name-8080.devtunnels.ms. Port-level option, if set, takes precedence
4141 // over this option on the tunnel level.
42- IsOriginHeaderUnchanged bool `json:"isOriginHeaderUnchanged,omitempty"`
42+ IsOriginHeaderUnchanged bool `json:"isOriginHeaderUnchanged,omitempty"`
4343
4444 // Gets or sets if inspection is enabled for the tunnel.
45- IsInspectionEnabled bool `json:"isInspectionEnabled,omitempty"`
45+ IsInspectionEnabled bool `json:"isInspectionEnabled,omitempty"`
4646
4747 // Gets or sets a value indicating whether web requests to a tunnel can use the tunnel
4848 // web authentication cookie if they come from a different site. Specifically, this
4949 // controls whether the tunnel web-forwarding authentication cookie is marked as
5050 // SameSite=None. The default is false, which means the cookie is marked as SameSite=Lax.
5151 // This only applies to tunnels that require authentication.
52- IsCrossSiteAuthenticationEnabled bool `json:"isCrossSiteAuthenticationEnabled,omitempty"`
52+ IsCrossSiteAuthenticationEnabled bool `json:"isCrossSiteAuthenticationEnabled,omitempty"`
53+
54+ // Gets or sets a value indicating whether the tunnel web-forwarding authentication
55+ // cookie is set as Partitioned (CHIPS). The default is false. This only applies to
56+ // tunnels that require authentication.
57+ //
58+ // A partitioned cookie always also has SameSite=None for compatbility with browsers that
59+ // do not support partitioning.
60+ IsPartitionedSiteAuthenticationEnabled bool `json:"isPartitionedSiteAuthenticationEnabled,omitempty"`
5361}
0 commit comments