From 35aa3a75607de4c20538497014b22a16f3bf7ce2 Mon Sep 17 00:00:00 2001 From: RouxAntoine Date: Fri, 12 Apr 2024 00:38:03 +0200 Subject: [PATCH] feature: upgrade version --- .../kubernetes/traefik/v1alpha1/middleware.go | 3 +- .../traefik/v1alpha1/middlewareTCP.go | 3 +- .../traefik/v1alpha1/pulumiTypes.go | 3226 +++++++++++++---- .../traefik/v1alpha1/serversTransport.go | 5 +- .../traefik/v1alpha1/serversTransportTCP.go | 5 +- crds/kubernetes/traefik/v1alpha1/tlsoption.go | 3 +- crds/kubernetes/traefik/v1alpha1/tlsstore.go | 5 +- .../traefik/v1alpha1/traefikService.go | 6 +- 8 files changed, 2533 insertions(+), 723 deletions(-) diff --git a/crds/kubernetes/traefik/v1alpha1/middleware.go b/crds/kubernetes/traefik/v1alpha1/middleware.go index 3e5f5b8..9d73a6d 100644 --- a/crds/kubernetes/traefik/v1alpha1/middleware.go +++ b/crds/kubernetes/traefik/v1alpha1/middleware.go @@ -13,7 +13,8 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) -// Middleware is the CRD implementation of a Traefik Middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/overview/ +// Middleware is the CRD implementation of a Traefik Middleware. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/overview/ type Middleware struct { pulumi.CustomResourceState diff --git a/crds/kubernetes/traefik/v1alpha1/middlewareTCP.go b/crds/kubernetes/traefik/v1alpha1/middlewareTCP.go index e06f406..a970461 100644 --- a/crds/kubernetes/traefik/v1alpha1/middlewareTCP.go +++ b/crds/kubernetes/traefik/v1alpha1/middlewareTCP.go @@ -13,7 +13,8 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) -// MiddlewareTCP is the CRD implementation of a Traefik TCP middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/overview/ +// MiddlewareTCP is the CRD implementation of a Traefik TCP middleware. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/overview/ type MiddlewareTCP struct { pulumi.CustomResourceState diff --git a/crds/kubernetes/traefik/v1alpha1/pulumiTypes.go b/crds/kubernetes/traefik/v1alpha1/pulumiTypes.go index 22f11ca..8a75109 100644 --- a/crds/kubernetes/traefik/v1alpha1/pulumiTypes.go +++ b/crds/kubernetes/traefik/v1alpha1/pulumiTypes.go @@ -29,11 +29,15 @@ type IngressRouteMetadata struct { // IngressRouteSpec defines the desired state of IngressRoute. type IngressRouteSpec struct { - // EntryPoints defines the list of entry point names to bind to. Entry points have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ Default: all. + // EntryPoints defines the list of entry point names to bind to. + // Entry points have to be configured in the static configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/ + // Default: all. EntryPoints []string `pulumi:"entryPoints"` // Routes defines the list of routes. Routes []IngressRouteSpecRoutes `pulumi:"routes"` - // TLS defines the TLS configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls + // TLS defines the TLS configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls Tls *IngressRouteSpecTls `pulumi:"tls"` } @@ -50,11 +54,15 @@ type IngressRouteSpecInput interface { // IngressRouteSpec defines the desired state of IngressRoute. type IngressRouteSpecArgs struct { - // EntryPoints defines the list of entry point names to bind to. Entry points have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ Default: all. + // EntryPoints defines the list of entry point names to bind to. + // Entry points have to be configured in the static configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/ + // Default: all. EntryPoints pulumi.StringArrayInput `pulumi:"entryPoints"` // Routes defines the list of routes. Routes IngressRouteSpecRoutesArrayInput `pulumi:"routes"` - // TLS defines the TLS configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls + // TLS defines the TLS configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls Tls IngressRouteSpecTlsPtrInput `pulumi:"tls"` } @@ -154,7 +162,10 @@ func (o IngressRouteSpecOutput) ToOutput(ctx context.Context) pulumix.Output[Ing } } -// EntryPoints defines the list of entry point names to bind to. Entry points have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ Default: all. +// EntryPoints defines the list of entry point names to bind to. +// Entry points have to be configured in the static configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/ +// Default: all. func (o IngressRouteSpecOutput) EntryPoints() pulumi.StringArrayOutput { return o.ApplyT(func(v IngressRouteSpec) []string { return v.EntryPoints }).(pulumi.StringArrayOutput) } @@ -164,7 +175,8 @@ func (o IngressRouteSpecOutput) Routes() IngressRouteSpecRoutesArrayOutput { return o.ApplyT(func(v IngressRouteSpec) []IngressRouteSpecRoutes { return v.Routes }).(IngressRouteSpecRoutesArrayOutput) } -// TLS defines the TLS configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls +// TLS defines the TLS configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls func (o IngressRouteSpecOutput) Tls() IngressRouteSpecTlsPtrOutput { return o.ApplyT(func(v IngressRouteSpec) *IngressRouteSpecTls { return v.Tls }).(IngressRouteSpecTlsPtrOutput) } @@ -199,7 +211,10 @@ func (o IngressRouteSpecPtrOutput) Elem() IngressRouteSpecOutput { }).(IngressRouteSpecOutput) } -// EntryPoints defines the list of entry point names to bind to. Entry points have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ Default: all. +// EntryPoints defines the list of entry point names to bind to. +// Entry points have to be configured in the static configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/ +// Default: all. func (o IngressRouteSpecPtrOutput) EntryPoints() pulumi.StringArrayOutput { return o.ApplyT(func(v *IngressRouteSpec) []string { if v == nil { @@ -219,7 +234,8 @@ func (o IngressRouteSpecPtrOutput) Routes() IngressRouteSpecRoutesArrayOutput { }).(IngressRouteSpecRoutesArrayOutput) } -// TLS defines the TLS configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls +// TLS defines the TLS configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls func (o IngressRouteSpecPtrOutput) Tls() IngressRouteSpecTlsPtrOutput { return o.ApplyT(func(v *IngressRouteSpec) *IngressRouteSpecTls { if v == nil { @@ -231,15 +247,20 @@ func (o IngressRouteSpecPtrOutput) Tls() IngressRouteSpecTlsPtrOutput { // Route holds the HTTP route configuration. type IngressRouteSpecRoutes struct { - // Kind defines the kind of the route. Rule is the only supported kind. + // Kind defines the kind of the route. + // Rule is the only supported kind. Kind string `pulumi:"kind"` - // Match defines the router's rule. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule + // Match defines the router's rule. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule Match string `pulumi:"match"` - // Middlewares defines the list of references to Middleware resources. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-middleware + // Middlewares defines the list of references to Middleware resources. + // More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-middleware Middlewares []IngressRouteSpecRoutesMiddlewares `pulumi:"middlewares"` - // Priority defines the router's priority. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority + // Priority defines the router's priority. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority Priority *int `pulumi:"priority"` - // Services defines the list of Service. It can contain any combination of TraefikService and/or reference to a Kubernetes Service. + // Services defines the list of Service. + // It can contain any combination of TraefikService and/or reference to a Kubernetes Service. Services []IngressRouteSpecRoutesServices `pulumi:"services"` } @@ -256,15 +277,20 @@ type IngressRouteSpecRoutesInput interface { // Route holds the HTTP route configuration. type IngressRouteSpecRoutesArgs struct { - // Kind defines the kind of the route. Rule is the only supported kind. + // Kind defines the kind of the route. + // Rule is the only supported kind. Kind pulumi.StringInput `pulumi:"kind"` - // Match defines the router's rule. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule + // Match defines the router's rule. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule Match pulumi.StringInput `pulumi:"match"` - // Middlewares defines the list of references to Middleware resources. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-middleware + // Middlewares defines the list of references to Middleware resources. + // More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-middleware Middlewares IngressRouteSpecRoutesMiddlewaresArrayInput `pulumi:"middlewares"` - // Priority defines the router's priority. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority + // Priority defines the router's priority. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority Priority pulumi.IntPtrInput `pulumi:"priority"` - // Services defines the list of Service. It can contain any combination of TraefikService and/or reference to a Kubernetes Service. + // Services defines the list of Service. + // It can contain any combination of TraefikService and/or reference to a Kubernetes Service. Services IngressRouteSpecRoutesServicesArrayInput `pulumi:"services"` } @@ -338,27 +364,32 @@ func (o IngressRouteSpecRoutesOutput) ToOutput(ctx context.Context) pulumix.Outp } } -// Kind defines the kind of the route. Rule is the only supported kind. +// Kind defines the kind of the route. +// Rule is the only supported kind. func (o IngressRouteSpecRoutesOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v IngressRouteSpecRoutes) string { return v.Kind }).(pulumi.StringOutput) } -// Match defines the router's rule. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule +// Match defines the router's rule. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule func (o IngressRouteSpecRoutesOutput) Match() pulumi.StringOutput { return o.ApplyT(func(v IngressRouteSpecRoutes) string { return v.Match }).(pulumi.StringOutput) } -// Middlewares defines the list of references to Middleware resources. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-middleware +// Middlewares defines the list of references to Middleware resources. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-middleware func (o IngressRouteSpecRoutesOutput) Middlewares() IngressRouteSpecRoutesMiddlewaresArrayOutput { return o.ApplyT(func(v IngressRouteSpecRoutes) []IngressRouteSpecRoutesMiddlewares { return v.Middlewares }).(IngressRouteSpecRoutesMiddlewaresArrayOutput) } -// Priority defines the router's priority. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority +// Priority defines the router's priority. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority func (o IngressRouteSpecRoutesOutput) Priority() pulumi.IntPtrOutput { return o.ApplyT(func(v IngressRouteSpecRoutes) *int { return v.Priority }).(pulumi.IntPtrOutput) } -// Services defines the list of Service. It can contain any combination of TraefikService and/or reference to a Kubernetes Service. +// Services defines the list of Service. +// It can contain any combination of TraefikService and/or reference to a Kubernetes Service. func (o IngressRouteSpecRoutesOutput) Services() IngressRouteSpecRoutesServicesArrayOutput { return o.ApplyT(func(v IngressRouteSpecRoutes) []IngressRouteSpecRoutesServices { return v.Services }).(IngressRouteSpecRoutesServicesArrayOutput) } @@ -526,27 +557,39 @@ func (o IngressRouteSpecRoutesMiddlewaresArrayOutput) Index(i pulumi.IntInput) I type IngressRouteSpecRoutesServices struct { // Kind defines the kind of the Service. Kind *string `pulumi:"kind"` - // Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. + // Name defines the name of the referenced Kubernetes Service or TraefikService. + // The differentiation between the two is specified in the Kind field. Name string `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service or TraefikService. Namespace *string `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB *bool `pulumi:"nativeLB"` - // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. + // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. + // By default, passHostHeader is true. PassHostHeader *bool `pulumi:"passHostHeader"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port interface{} `pulumi:"port"` // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. ResponseForwarding *IngressRouteSpecRoutesServicesResponseForwarding `pulumi:"responseForwarding"` - // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. + // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. + // It defaults to https when Kubernetes Service port is 443, http otherwise. Scheme *string `pulumi:"scheme"` - // ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. + // ServersTransport defines the name of ServersTransport resource to use. + // It allows to configure the transport between Traefik and your servers. + // Can only be used on a Kubernetes Service. ServersTransport *string `pulumi:"serversTransport"` - // Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions + // Sticky defines the sticky sessions configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions Sticky *IngressRouteSpecRoutesServicesSticky `pulumi:"sticky"` - // Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. + // Strategy defines the load balancing strategy between the servers. + // RoundRobin is the only supported value at the moment. Strategy *string `pulumi:"strategy"` - // Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). + // Weight defines the weight and should only be specified when Name references a TraefikService object + // (and to be precise, one that embeds a Weighted Round Robin). Weight *int `pulumi:"weight"` } @@ -565,27 +608,39 @@ type IngressRouteSpecRoutesServicesInput interface { type IngressRouteSpecRoutesServicesArgs struct { // Kind defines the kind of the Service. Kind pulumi.StringPtrInput `pulumi:"kind"` - // Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. + // Name defines the name of the referenced Kubernetes Service or TraefikService. + // The differentiation between the two is specified in the Kind field. Name pulumi.StringInput `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service or TraefikService. Namespace pulumi.StringPtrInput `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB pulumi.BoolPtrInput `pulumi:"nativeLB"` - // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. + // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. + // By default, passHostHeader is true. PassHostHeader pulumi.BoolPtrInput `pulumi:"passHostHeader"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port pulumi.Input `pulumi:"port"` // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. ResponseForwarding IngressRouteSpecRoutesServicesResponseForwardingPtrInput `pulumi:"responseForwarding"` - // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. + // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. + // It defaults to https when Kubernetes Service port is 443, http otherwise. Scheme pulumi.StringPtrInput `pulumi:"scheme"` - // ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. + // ServersTransport defines the name of ServersTransport resource to use. + // It allows to configure the transport between Traefik and your servers. + // Can only be used on a Kubernetes Service. ServersTransport pulumi.StringPtrInput `pulumi:"serversTransport"` - // Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions + // Sticky defines the sticky sessions configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions Sticky IngressRouteSpecRoutesServicesStickyPtrInput `pulumi:"sticky"` - // Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. + // Strategy defines the load balancing strategy between the servers. + // RoundRobin is the only supported value at the moment. Strategy pulumi.StringPtrInput `pulumi:"strategy"` - // Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). + // Weight defines the weight and should only be specified when Name references a TraefikService object + // (and to be precise, one that embeds a Weighted Round Robin). Weight pulumi.IntPtrInput `pulumi:"weight"` } @@ -664,7 +719,8 @@ func (o IngressRouteSpecRoutesServicesOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressRouteSpecRoutesServices) *string { return v.Kind }).(pulumi.StringPtrOutput) } -// Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. +// Name defines the name of the referenced Kubernetes Service or TraefikService. +// The differentiation between the two is specified in the Kind field. func (o IngressRouteSpecRoutesServicesOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v IngressRouteSpecRoutesServices) string { return v.Name }).(pulumi.StringOutput) } @@ -674,17 +730,22 @@ func (o IngressRouteSpecRoutesServicesOutput) Namespace() pulumi.StringPtrOutput return o.ApplyT(func(v IngressRouteSpecRoutesServices) *string { return v.Namespace }).(pulumi.StringPtrOutput) } -// NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. +// NativeLB controls, when creating the load-balancer, +// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. +// The Kubernetes Service itself does load-balance to the pods. +// By default, NativeLB is false. func (o IngressRouteSpecRoutesServicesOutput) NativeLB() pulumi.BoolPtrOutput { return o.ApplyT(func(v IngressRouteSpecRoutesServices) *bool { return v.NativeLB }).(pulumi.BoolPtrOutput) } -// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. +// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. +// By default, passHostHeader is true. func (o IngressRouteSpecRoutesServicesOutput) PassHostHeader() pulumi.BoolPtrOutput { return o.ApplyT(func(v IngressRouteSpecRoutesServices) *bool { return v.PassHostHeader }).(pulumi.BoolPtrOutput) } -// Port defines the port of a Kubernetes Service. This can be a reference to a named port. +// Port defines the port of a Kubernetes Service. +// This can be a reference to a named port. func (o IngressRouteSpecRoutesServicesOutput) Port() pulumi.AnyOutput { return o.ApplyT(func(v IngressRouteSpecRoutesServices) interface{} { return v.Port }).(pulumi.AnyOutput) } @@ -696,27 +757,33 @@ func (o IngressRouteSpecRoutesServicesOutput) ResponseForwarding() IngressRouteS }).(IngressRouteSpecRoutesServicesResponseForwardingPtrOutput) } -// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. +// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. +// It defaults to https when Kubernetes Service port is 443, http otherwise. func (o IngressRouteSpecRoutesServicesOutput) Scheme() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressRouteSpecRoutesServices) *string { return v.Scheme }).(pulumi.StringPtrOutput) } -// ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. +// ServersTransport defines the name of ServersTransport resource to use. +// It allows to configure the transport between Traefik and your servers. +// Can only be used on a Kubernetes Service. func (o IngressRouteSpecRoutesServicesOutput) ServersTransport() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressRouteSpecRoutesServices) *string { return v.ServersTransport }).(pulumi.StringPtrOutput) } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions func (o IngressRouteSpecRoutesServicesOutput) Sticky() IngressRouteSpecRoutesServicesStickyPtrOutput { return o.ApplyT(func(v IngressRouteSpecRoutesServices) *IngressRouteSpecRoutesServicesSticky { return v.Sticky }).(IngressRouteSpecRoutesServicesStickyPtrOutput) } -// Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. +// Strategy defines the load balancing strategy between the servers. +// RoundRobin is the only supported value at the moment. func (o IngressRouteSpecRoutesServicesOutput) Strategy() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressRouteSpecRoutesServices) *string { return v.Strategy }).(pulumi.StringPtrOutput) } -// Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). +// Weight defines the weight and should only be specified when Name references a TraefikService object +// (and to be precise, one that embeds a Weighted Round Robin). func (o IngressRouteSpecRoutesServicesOutput) Weight() pulumi.IntPtrOutput { return o.ApplyT(func(v IngressRouteSpecRoutesServices) *int { return v.Weight }).(pulumi.IntPtrOutput) } @@ -749,7 +816,11 @@ func (o IngressRouteSpecRoutesServicesArrayOutput) Index(i pulumi.IntInput) Ingr // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. type IngressRouteSpecRoutesServicesResponseForwarding struct { - // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms + // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. + // A negative value means to flush immediately after each write to the client. + // This configuration is ignored when ReverseProxy recognizes a response as a streaming response; + // for such responses, writes are flushed to the client immediately. + // Default: 100ms FlushInterval *string `pulumi:"flushInterval"` } @@ -766,7 +837,11 @@ type IngressRouteSpecRoutesServicesResponseForwardingInput interface { // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. type IngressRouteSpecRoutesServicesResponseForwardingArgs struct { - // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms + // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. + // A negative value means to flush immediately after each write to the client. + // This configuration is ignored when ReverseProxy recognizes a response as a streaming response; + // for such responses, writes are flushed to the client immediately. + // Default: 100ms FlushInterval pulumi.StringPtrInput `pulumi:"flushInterval"` } @@ -866,7 +941,11 @@ func (o IngressRouteSpecRoutesServicesResponseForwardingOutput) ToOutput(ctx con } } -// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms +// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. +// A negative value means to flush immediately after each write to the client. +// This configuration is ignored when ReverseProxy recognizes a response as a streaming response; +// for such responses, writes are flushed to the client immediately. +// Default: 100ms func (o IngressRouteSpecRoutesServicesResponseForwardingOutput) FlushInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressRouteSpecRoutesServicesResponseForwarding) *string { return v.FlushInterval }).(pulumi.StringPtrOutput) } @@ -901,7 +980,11 @@ func (o IngressRouteSpecRoutesServicesResponseForwardingPtrOutput) Elem() Ingres }).(IngressRouteSpecRoutesServicesResponseForwardingOutput) } -// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms +// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. +// A negative value means to flush immediately after each write to the client. +// This configuration is ignored when ReverseProxy recognizes a response as a streaming response; +// for such responses, writes are flushed to the client immediately. +// Default: 100ms func (o IngressRouteSpecRoutesServicesResponseForwardingPtrOutput) FlushInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v *IngressRouteSpecRoutesServicesResponseForwarding) *string { if v == nil { @@ -911,7 +994,8 @@ func (o IngressRouteSpecRoutesServicesResponseForwardingPtrOutput) FlushInterval }).(pulumi.StringPtrOutput) } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type IngressRouteSpecRoutesServicesSticky struct { // Cookie defines the sticky cookie configuration. Cookie *IngressRouteSpecRoutesServicesStickyCookie `pulumi:"cookie"` @@ -928,7 +1012,8 @@ type IngressRouteSpecRoutesServicesStickyInput interface { ToIngressRouteSpecRoutesServicesStickyOutputWithContext(context.Context) IngressRouteSpecRoutesServicesStickyOutput } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type IngressRouteSpecRoutesServicesStickyArgs struct { // Cookie defines the sticky cookie configuration. Cookie IngressRouteSpecRoutesServicesStickyCookiePtrInput `pulumi:"cookie"` @@ -999,7 +1084,8 @@ func (i *ingressRouteSpecRoutesServicesStickyPtrType) ToOutput(ctx context.Conte } } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type IngressRouteSpecRoutesServicesStickyOutput struct{ *pulumi.OutputState } func (IngressRouteSpecRoutesServicesStickyOutput) ElementType() reflect.Type { @@ -1083,7 +1169,8 @@ type IngressRouteSpecRoutesServicesStickyCookie struct { HttpOnly *bool `pulumi:"httpOnly"` // Name defines the Cookie name. Name *string `pulumi:"name"` - // SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite + // SameSite defines the same site policy. + // More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite SameSite *string `pulumi:"sameSite"` // Secure defines whether the cookie can only be transmitted over an encrypted connection (i.e. HTTPS). Secure *bool `pulumi:"secure"` @@ -1106,7 +1193,8 @@ type IngressRouteSpecRoutesServicesStickyCookieArgs struct { HttpOnly pulumi.BoolPtrInput `pulumi:"httpOnly"` // Name defines the Cookie name. Name pulumi.StringPtrInput `pulumi:"name"` - // SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite + // SameSite defines the same site policy. + // More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite SameSite pulumi.StringPtrInput `pulumi:"sameSite"` // Secure defines whether the cookie can only be transmitted over an encrypted connection (i.e. HTTPS). Secure pulumi.BoolPtrInput `pulumi:"secure"` @@ -1218,7 +1306,8 @@ func (o IngressRouteSpecRoutesServicesStickyCookieOutput) Name() pulumi.StringPt return o.ApplyT(func(v IngressRouteSpecRoutesServicesStickyCookie) *string { return v.Name }).(pulumi.StringPtrOutput) } -// SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +// SameSite defines the same site policy. +// More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite func (o IngressRouteSpecRoutesServicesStickyCookieOutput) SameSite() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressRouteSpecRoutesServicesStickyCookie) *string { return v.SameSite }).(pulumi.StringPtrOutput) } @@ -1278,7 +1367,8 @@ func (o IngressRouteSpecRoutesServicesStickyCookiePtrOutput) Name() pulumi.Strin }).(pulumi.StringPtrOutput) } -// SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +// SameSite defines the same site policy. +// More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite func (o IngressRouteSpecRoutesServicesStickyCookiePtrOutput) SameSite() pulumi.StringPtrOutput { return o.ApplyT(func(v *IngressRouteSpecRoutesServicesStickyCookie) *string { if v == nil { @@ -1298,17 +1388,24 @@ func (o IngressRouteSpecRoutesServicesStickyCookiePtrOutput) Secure() pulumi.Boo }).(pulumi.BoolPtrOutput) } -// TLS defines the TLS configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls +// TLS defines the TLS configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls type IngressRouteSpecTls struct { - // CertResolver defines the name of the certificate resolver to use. Cert resolvers have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers + // CertResolver defines the name of the certificate resolver to use. + // Cert resolvers have to be configured in the static configuration. + // More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers CertResolver *string `pulumi:"certResolver"` - // Domains defines the list of domains that will be used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains + // Domains defines the list of domains that will be used to issue certificates. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains Domains []IngressRouteSpecTlsDomains `pulumi:"domains"` - // Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options + // Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. + // If not defined, the `default` TLSOption is used. + // More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options Options *IngressRouteSpecTlsOptions `pulumi:"options"` // SecretName is the name of the referenced Kubernetes Secret to specify the certificate details. SecretName *string `pulumi:"secretName"` - // Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. + // Store defines the reference to the TLSStore, that will be used to store certificates. + // Please note that only `default` TLSStore can be used. Store *IngressRouteSpecTlsStore `pulumi:"store"` } @@ -1323,17 +1420,24 @@ type IngressRouteSpecTlsInput interface { ToIngressRouteSpecTlsOutputWithContext(context.Context) IngressRouteSpecTlsOutput } -// TLS defines the TLS configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls +// TLS defines the TLS configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls type IngressRouteSpecTlsArgs struct { - // CertResolver defines the name of the certificate resolver to use. Cert resolvers have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers + // CertResolver defines the name of the certificate resolver to use. + // Cert resolvers have to be configured in the static configuration. + // More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers CertResolver pulumi.StringPtrInput `pulumi:"certResolver"` - // Domains defines the list of domains that will be used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains + // Domains defines the list of domains that will be used to issue certificates. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains Domains IngressRouteSpecTlsDomainsArrayInput `pulumi:"domains"` - // Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options + // Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. + // If not defined, the `default` TLSOption is used. + // More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options Options IngressRouteSpecTlsOptionsPtrInput `pulumi:"options"` // SecretName is the name of the referenced Kubernetes Secret to specify the certificate details. SecretName pulumi.StringPtrInput `pulumi:"secretName"` - // Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. + // Store defines the reference to the TLSStore, that will be used to store certificates. + // Please note that only `default` TLSStore can be used. Store IngressRouteSpecTlsStorePtrInput `pulumi:"store"` } @@ -1402,7 +1506,8 @@ func (i *ingressRouteSpecTlsPtrType) ToOutput(ctx context.Context) pulumix.Outpu } } -// TLS defines the TLS configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls +// TLS defines the TLS configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls type IngressRouteSpecTlsOutput struct{ *pulumi.OutputState } func (IngressRouteSpecTlsOutput) ElementType() reflect.Type { @@ -1433,17 +1538,22 @@ func (o IngressRouteSpecTlsOutput) ToOutput(ctx context.Context) pulumix.Output[ } } -// CertResolver defines the name of the certificate resolver to use. Cert resolvers have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers +// CertResolver defines the name of the certificate resolver to use. +// Cert resolvers have to be configured in the static configuration. +// More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers func (o IngressRouteSpecTlsOutput) CertResolver() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressRouteSpecTls) *string { return v.CertResolver }).(pulumi.StringPtrOutput) } -// Domains defines the list of domains that will be used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains +// Domains defines the list of domains that will be used to issue certificates. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains func (o IngressRouteSpecTlsOutput) Domains() IngressRouteSpecTlsDomainsArrayOutput { return o.ApplyT(func(v IngressRouteSpecTls) []IngressRouteSpecTlsDomains { return v.Domains }).(IngressRouteSpecTlsDomainsArrayOutput) } -// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options +// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. +// If not defined, the `default` TLSOption is used. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options func (o IngressRouteSpecTlsOutput) Options() IngressRouteSpecTlsOptionsPtrOutput { return o.ApplyT(func(v IngressRouteSpecTls) *IngressRouteSpecTlsOptions { return v.Options }).(IngressRouteSpecTlsOptionsPtrOutput) } @@ -1453,7 +1563,8 @@ func (o IngressRouteSpecTlsOutput) SecretName() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressRouteSpecTls) *string { return v.SecretName }).(pulumi.StringPtrOutput) } -// Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. +// Store defines the reference to the TLSStore, that will be used to store certificates. +// Please note that only `default` TLSStore can be used. func (o IngressRouteSpecTlsOutput) Store() IngressRouteSpecTlsStorePtrOutput { return o.ApplyT(func(v IngressRouteSpecTls) *IngressRouteSpecTlsStore { return v.Store }).(IngressRouteSpecTlsStorePtrOutput) } @@ -1488,7 +1599,9 @@ func (o IngressRouteSpecTlsPtrOutput) Elem() IngressRouteSpecTlsOutput { }).(IngressRouteSpecTlsOutput) } -// CertResolver defines the name of the certificate resolver to use. Cert resolvers have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers +// CertResolver defines the name of the certificate resolver to use. +// Cert resolvers have to be configured in the static configuration. +// More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers func (o IngressRouteSpecTlsPtrOutput) CertResolver() pulumi.StringPtrOutput { return o.ApplyT(func(v *IngressRouteSpecTls) *string { if v == nil { @@ -1498,7 +1611,8 @@ func (o IngressRouteSpecTlsPtrOutput) CertResolver() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// Domains defines the list of domains that will be used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains +// Domains defines the list of domains that will be used to issue certificates. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains func (o IngressRouteSpecTlsPtrOutput) Domains() IngressRouteSpecTlsDomainsArrayOutput { return o.ApplyT(func(v *IngressRouteSpecTls) []IngressRouteSpecTlsDomains { if v == nil { @@ -1508,7 +1622,9 @@ func (o IngressRouteSpecTlsPtrOutput) Domains() IngressRouteSpecTlsDomainsArrayO }).(IngressRouteSpecTlsDomainsArrayOutput) } -// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options +// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. +// If not defined, the `default` TLSOption is used. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options func (o IngressRouteSpecTlsPtrOutput) Options() IngressRouteSpecTlsOptionsPtrOutput { return o.ApplyT(func(v *IngressRouteSpecTls) *IngressRouteSpecTlsOptions { if v == nil { @@ -1528,7 +1644,8 @@ func (o IngressRouteSpecTlsPtrOutput) SecretName() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. +// Store defines the reference to the TLSStore, that will be used to store certificates. +// Please note that only `default` TLSStore can be used. func (o IngressRouteSpecTlsPtrOutput) Store() IngressRouteSpecTlsStorePtrOutput { return o.ApplyT(func(v *IngressRouteSpecTls) *IngressRouteSpecTlsStore { if v == nil { @@ -1671,11 +1788,15 @@ func (o IngressRouteSpecTlsDomainsArrayOutput) Index(i pulumi.IntInput) IngressR }).(IngressRouteSpecTlsDomainsOutput) } -// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options +// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. +// If not defined, the `default` TLSOption is used. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options type IngressRouteSpecTlsOptions struct { - // Name defines the name of the referenced TLSOption. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption + // Name defines the name of the referenced TLSOption. + // More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption Name string `pulumi:"name"` - // Namespace defines the namespace of the referenced TLSOption. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption + // Namespace defines the namespace of the referenced TLSOption. + // More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption Namespace *string `pulumi:"namespace"` } @@ -1690,11 +1811,15 @@ type IngressRouteSpecTlsOptionsInput interface { ToIngressRouteSpecTlsOptionsOutputWithContext(context.Context) IngressRouteSpecTlsOptionsOutput } -// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options +// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. +// If not defined, the `default` TLSOption is used. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options type IngressRouteSpecTlsOptionsArgs struct { - // Name defines the name of the referenced TLSOption. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption + // Name defines the name of the referenced TLSOption. + // More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption Name pulumi.StringInput `pulumi:"name"` - // Namespace defines the namespace of the referenced TLSOption. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption + // Namespace defines the namespace of the referenced TLSOption. + // More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption Namespace pulumi.StringPtrInput `pulumi:"namespace"` } @@ -1763,7 +1888,9 @@ func (i *ingressRouteSpecTlsOptionsPtrType) ToOutput(ctx context.Context) pulumi } } -// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options +// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. +// If not defined, the `default` TLSOption is used. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options type IngressRouteSpecTlsOptionsOutput struct{ *pulumi.OutputState } func (IngressRouteSpecTlsOptionsOutput) ElementType() reflect.Type { @@ -1794,12 +1921,14 @@ func (o IngressRouteSpecTlsOptionsOutput) ToOutput(ctx context.Context) pulumix. } } -// Name defines the name of the referenced TLSOption. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption +// Name defines the name of the referenced TLSOption. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption func (o IngressRouteSpecTlsOptionsOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v IngressRouteSpecTlsOptions) string { return v.Name }).(pulumi.StringOutput) } -// Namespace defines the namespace of the referenced TLSOption. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption +// Namespace defines the namespace of the referenced TLSOption. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption func (o IngressRouteSpecTlsOptionsOutput) Namespace() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressRouteSpecTlsOptions) *string { return v.Namespace }).(pulumi.StringPtrOutput) } @@ -1834,7 +1963,8 @@ func (o IngressRouteSpecTlsOptionsPtrOutput) Elem() IngressRouteSpecTlsOptionsOu }).(IngressRouteSpecTlsOptionsOutput) } -// Name defines the name of the referenced TLSOption. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption +// Name defines the name of the referenced TLSOption. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption func (o IngressRouteSpecTlsOptionsPtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *IngressRouteSpecTlsOptions) *string { if v == nil { @@ -1844,7 +1974,8 @@ func (o IngressRouteSpecTlsOptionsPtrOutput) Name() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// Namespace defines the namespace of the referenced TLSOption. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption +// Namespace defines the namespace of the referenced TLSOption. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption func (o IngressRouteSpecTlsOptionsPtrOutput) Namespace() pulumi.StringPtrOutput { return o.ApplyT(func(v *IngressRouteSpecTlsOptions) *string { if v == nil { @@ -1854,11 +1985,14 @@ func (o IngressRouteSpecTlsOptionsPtrOutput) Namespace() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } -// Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. +// Store defines the reference to the TLSStore, that will be used to store certificates. +// Please note that only `default` TLSStore can be used. type IngressRouteSpecTlsStore struct { - // Name defines the name of the referenced TLSStore. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore + // Name defines the name of the referenced TLSStore. + // More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore Name string `pulumi:"name"` - // Namespace defines the namespace of the referenced TLSStore. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore + // Namespace defines the namespace of the referenced TLSStore. + // More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore Namespace *string `pulumi:"namespace"` } @@ -1873,11 +2007,14 @@ type IngressRouteSpecTlsStoreInput interface { ToIngressRouteSpecTlsStoreOutputWithContext(context.Context) IngressRouteSpecTlsStoreOutput } -// Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. +// Store defines the reference to the TLSStore, that will be used to store certificates. +// Please note that only `default` TLSStore can be used. type IngressRouteSpecTlsStoreArgs struct { - // Name defines the name of the referenced TLSStore. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore + // Name defines the name of the referenced TLSStore. + // More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore Name pulumi.StringInput `pulumi:"name"` - // Namespace defines the namespace of the referenced TLSStore. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore + // Namespace defines the namespace of the referenced TLSStore. + // More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore Namespace pulumi.StringPtrInput `pulumi:"namespace"` } @@ -1946,7 +2083,8 @@ func (i *ingressRouteSpecTlsStorePtrType) ToOutput(ctx context.Context) pulumix. } } -// Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. +// Store defines the reference to the TLSStore, that will be used to store certificates. +// Please note that only `default` TLSStore can be used. type IngressRouteSpecTlsStoreOutput struct{ *pulumi.OutputState } func (IngressRouteSpecTlsStoreOutput) ElementType() reflect.Type { @@ -1977,12 +2115,14 @@ func (o IngressRouteSpecTlsStoreOutput) ToOutput(ctx context.Context) pulumix.Ou } } -// Name defines the name of the referenced TLSStore. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore +// Name defines the name of the referenced TLSStore. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore func (o IngressRouteSpecTlsStoreOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v IngressRouteSpecTlsStore) string { return v.Name }).(pulumi.StringOutput) } -// Namespace defines the namespace of the referenced TLSStore. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore +// Namespace defines the namespace of the referenced TLSStore. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore func (o IngressRouteSpecTlsStoreOutput) Namespace() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressRouteSpecTlsStore) *string { return v.Namespace }).(pulumi.StringPtrOutput) } @@ -2017,7 +2157,8 @@ func (o IngressRouteSpecTlsStorePtrOutput) Elem() IngressRouteSpecTlsStoreOutput }).(IngressRouteSpecTlsStoreOutput) } -// Name defines the name of the referenced TLSStore. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore +// Name defines the name of the referenced TLSStore. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore func (o IngressRouteSpecTlsStorePtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *IngressRouteSpecTlsStore) *string { if v == nil { @@ -2027,7 +2168,8 @@ func (o IngressRouteSpecTlsStorePtrOutput) Name() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// Namespace defines the namespace of the referenced TLSStore. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore +// Namespace defines the namespace of the referenced TLSStore. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore func (o IngressRouteSpecTlsStorePtrOutput) Namespace() pulumi.StringPtrOutput { return o.ApplyT(func(v *IngressRouteSpecTlsStore) *string { if v == nil { @@ -2051,11 +2193,15 @@ type IngressRouteTCPMetadata struct { // IngressRouteTCPSpec defines the desired state of IngressRouteTCP. type IngressRouteTCPSpec struct { - // EntryPoints defines the list of entry point names to bind to. Entry points have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ Default: all. + // EntryPoints defines the list of entry point names to bind to. + // Entry points have to be configured in the static configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/ + // Default: all. EntryPoints []string `pulumi:"entryPoints"` // Routes defines the list of routes. Routes []IngressRouteTCPSpecRoutes `pulumi:"routes"` - // TLS defines the TLS configuration on a layer 4 / TCP Route. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1 + // TLS defines the TLS configuration on a layer 4 / TCP Route. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1 Tls *IngressRouteTCPSpecTls `pulumi:"tls"` } @@ -2072,11 +2218,15 @@ type IngressRouteTCPSpecInput interface { // IngressRouteTCPSpec defines the desired state of IngressRouteTCP. type IngressRouteTCPSpecArgs struct { - // EntryPoints defines the list of entry point names to bind to. Entry points have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ Default: all. + // EntryPoints defines the list of entry point names to bind to. + // Entry points have to be configured in the static configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/ + // Default: all. EntryPoints pulumi.StringArrayInput `pulumi:"entryPoints"` // Routes defines the list of routes. Routes IngressRouteTCPSpecRoutesArrayInput `pulumi:"routes"` - // TLS defines the TLS configuration on a layer 4 / TCP Route. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1 + // TLS defines the TLS configuration on a layer 4 / TCP Route. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1 Tls IngressRouteTCPSpecTlsPtrInput `pulumi:"tls"` } @@ -2176,7 +2326,10 @@ func (o IngressRouteTCPSpecOutput) ToOutput(ctx context.Context) pulumix.Output[ } } -// EntryPoints defines the list of entry point names to bind to. Entry points have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ Default: all. +// EntryPoints defines the list of entry point names to bind to. +// Entry points have to be configured in the static configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/ +// Default: all. func (o IngressRouteTCPSpecOutput) EntryPoints() pulumi.StringArrayOutput { return o.ApplyT(func(v IngressRouteTCPSpec) []string { return v.EntryPoints }).(pulumi.StringArrayOutput) } @@ -2186,7 +2339,8 @@ func (o IngressRouteTCPSpecOutput) Routes() IngressRouteTCPSpecRoutesArrayOutput return o.ApplyT(func(v IngressRouteTCPSpec) []IngressRouteTCPSpecRoutes { return v.Routes }).(IngressRouteTCPSpecRoutesArrayOutput) } -// TLS defines the TLS configuration on a layer 4 / TCP Route. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1 +// TLS defines the TLS configuration on a layer 4 / TCP Route. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1 func (o IngressRouteTCPSpecOutput) Tls() IngressRouteTCPSpecTlsPtrOutput { return o.ApplyT(func(v IngressRouteTCPSpec) *IngressRouteTCPSpecTls { return v.Tls }).(IngressRouteTCPSpecTlsPtrOutput) } @@ -2221,7 +2375,10 @@ func (o IngressRouteTCPSpecPtrOutput) Elem() IngressRouteTCPSpecOutput { }).(IngressRouteTCPSpecOutput) } -// EntryPoints defines the list of entry point names to bind to. Entry points have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ Default: all. +// EntryPoints defines the list of entry point names to bind to. +// Entry points have to be configured in the static configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/ +// Default: all. func (o IngressRouteTCPSpecPtrOutput) EntryPoints() pulumi.StringArrayOutput { return o.ApplyT(func(v *IngressRouteTCPSpec) []string { if v == nil { @@ -2241,7 +2398,8 @@ func (o IngressRouteTCPSpecPtrOutput) Routes() IngressRouteTCPSpecRoutesArrayOut }).(IngressRouteTCPSpecRoutesArrayOutput) } -// TLS defines the TLS configuration on a layer 4 / TCP Route. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1 +// TLS defines the TLS configuration on a layer 4 / TCP Route. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1 func (o IngressRouteTCPSpecPtrOutput) Tls() IngressRouteTCPSpecTlsPtrOutput { return o.ApplyT(func(v *IngressRouteTCPSpec) *IngressRouteTCPSpecTls { if v == nil { @@ -2253,11 +2411,13 @@ func (o IngressRouteTCPSpecPtrOutput) Tls() IngressRouteTCPSpecTlsPtrOutput { // RouteTCP holds the TCP route configuration. type IngressRouteTCPSpecRoutes struct { - // Match defines the router's rule. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule_1 + // Match defines the router's rule. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule_1 Match string `pulumi:"match"` // Middlewares defines the list of references to MiddlewareTCP resources. Middlewares []IngressRouteTCPSpecRoutesMiddlewares `pulumi:"middlewares"` - // Priority defines the router's priority. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority_1 + // Priority defines the router's priority. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority_1 Priority *int `pulumi:"priority"` // Services defines the list of TCP services. Services []IngressRouteTCPSpecRoutesServices `pulumi:"services"` @@ -2276,11 +2436,13 @@ type IngressRouteTCPSpecRoutesInput interface { // RouteTCP holds the TCP route configuration. type IngressRouteTCPSpecRoutesArgs struct { - // Match defines the router's rule. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule_1 + // Match defines the router's rule. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule_1 Match pulumi.StringInput `pulumi:"match"` // Middlewares defines the list of references to MiddlewareTCP resources. Middlewares IngressRouteTCPSpecRoutesMiddlewaresArrayInput `pulumi:"middlewares"` - // Priority defines the router's priority. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority_1 + // Priority defines the router's priority. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority_1 Priority pulumi.IntPtrInput `pulumi:"priority"` // Services defines the list of TCP services. Services IngressRouteTCPSpecRoutesServicesArrayInput `pulumi:"services"` @@ -2356,7 +2518,8 @@ func (o IngressRouteTCPSpecRoutesOutput) ToOutput(ctx context.Context) pulumix.O } } -// Match defines the router's rule. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule_1 +// Match defines the router's rule. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule_1 func (o IngressRouteTCPSpecRoutesOutput) Match() pulumi.StringOutput { return o.ApplyT(func(v IngressRouteTCPSpecRoutes) string { return v.Match }).(pulumi.StringOutput) } @@ -2366,7 +2529,8 @@ func (o IngressRouteTCPSpecRoutesOutput) Middlewares() IngressRouteTCPSpecRoutes return o.ApplyT(func(v IngressRouteTCPSpecRoutes) []IngressRouteTCPSpecRoutesMiddlewares { return v.Middlewares }).(IngressRouteTCPSpecRoutesMiddlewaresArrayOutput) } -// Priority defines the router's priority. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority_1 +// Priority defines the router's priority. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority_1 func (o IngressRouteTCPSpecRoutesOutput) Priority() pulumi.IntPtrOutput { return o.ApplyT(func(v IngressRouteTCPSpecRoutes) *int { return v.Priority }).(pulumi.IntPtrOutput) } @@ -2541,13 +2705,22 @@ type IngressRouteTCPSpecRoutesServices struct { Name string `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service. Namespace *string `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB *bool `pulumi:"nativeLB"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port interface{} `pulumi:"port"` - // ProxyProtocol defines the PROXY protocol configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#proxy-protocol + // ProxyProtocol defines the PROXY protocol configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/services/#proxy-protocol ProxyProtocol *IngressRouteTCPSpecRoutesServicesProxyProtocol `pulumi:"proxyProtocol"` - // TerminationDelay defines the deadline that the proxy sets, after one of its connected peers indicates it has closed the writing capability of its connection, to close the reading capability as well, hence fully terminating the connection. It is a duration in milliseconds, defaulting to 100. A negative value means an infinite deadline (i.e. the reading capability is never closed). + // TerminationDelay defines the deadline that the proxy sets, after one of its connected peers indicates + // it has closed the writing capability of its connection, to close the reading capability as well, + // hence fully terminating the connection. + // It is a duration in milliseconds, defaulting to 100. + // A negative value means an infinite deadline (i.e. the reading capability is never closed). TerminationDelay *int `pulumi:"terminationDelay"` // Weight defines the weight used when balancing requests between multiple Kubernetes Service. Weight *int `pulumi:"weight"` @@ -2570,13 +2743,22 @@ type IngressRouteTCPSpecRoutesServicesArgs struct { Name pulumi.StringInput `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service. Namespace pulumi.StringPtrInput `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB pulumi.BoolPtrInput `pulumi:"nativeLB"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port pulumi.Input `pulumi:"port"` - // ProxyProtocol defines the PROXY protocol configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#proxy-protocol + // ProxyProtocol defines the PROXY protocol configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/services/#proxy-protocol ProxyProtocol IngressRouteTCPSpecRoutesServicesProxyProtocolPtrInput `pulumi:"proxyProtocol"` - // TerminationDelay defines the deadline that the proxy sets, after one of its connected peers indicates it has closed the writing capability of its connection, to close the reading capability as well, hence fully terminating the connection. It is a duration in milliseconds, defaulting to 100. A negative value means an infinite deadline (i.e. the reading capability is never closed). + // TerminationDelay defines the deadline that the proxy sets, after one of its connected peers indicates + // it has closed the writing capability of its connection, to close the reading capability as well, + // hence fully terminating the connection. + // It is a duration in milliseconds, defaulting to 100. + // A negative value means an infinite deadline (i.e. the reading capability is never closed). TerminationDelay pulumi.IntPtrInput `pulumi:"terminationDelay"` // Weight defines the weight used when balancing requests between multiple Kubernetes Service. Weight pulumi.IntPtrInput `pulumi:"weight"` @@ -2662,24 +2844,33 @@ func (o IngressRouteTCPSpecRoutesServicesOutput) Namespace() pulumi.StringPtrOut return o.ApplyT(func(v IngressRouteTCPSpecRoutesServices) *string { return v.Namespace }).(pulumi.StringPtrOutput) } -// NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. +// NativeLB controls, when creating the load-balancer, +// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. +// The Kubernetes Service itself does load-balance to the pods. +// By default, NativeLB is false. func (o IngressRouteTCPSpecRoutesServicesOutput) NativeLB() pulumi.BoolPtrOutput { return o.ApplyT(func(v IngressRouteTCPSpecRoutesServices) *bool { return v.NativeLB }).(pulumi.BoolPtrOutput) } -// Port defines the port of a Kubernetes Service. This can be a reference to a named port. +// Port defines the port of a Kubernetes Service. +// This can be a reference to a named port. func (o IngressRouteTCPSpecRoutesServicesOutput) Port() pulumi.AnyOutput { return o.ApplyT(func(v IngressRouteTCPSpecRoutesServices) interface{} { return v.Port }).(pulumi.AnyOutput) } -// ProxyProtocol defines the PROXY protocol configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#proxy-protocol +// ProxyProtocol defines the PROXY protocol configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#proxy-protocol func (o IngressRouteTCPSpecRoutesServicesOutput) ProxyProtocol() IngressRouteTCPSpecRoutesServicesProxyProtocolPtrOutput { return o.ApplyT(func(v IngressRouteTCPSpecRoutesServices) *IngressRouteTCPSpecRoutesServicesProxyProtocol { return v.ProxyProtocol }).(IngressRouteTCPSpecRoutesServicesProxyProtocolPtrOutput) } -// TerminationDelay defines the deadline that the proxy sets, after one of its connected peers indicates it has closed the writing capability of its connection, to close the reading capability as well, hence fully terminating the connection. It is a duration in milliseconds, defaulting to 100. A negative value means an infinite deadline (i.e. the reading capability is never closed). +// TerminationDelay defines the deadline that the proxy sets, after one of its connected peers indicates +// it has closed the writing capability of its connection, to close the reading capability as well, +// hence fully terminating the connection. +// It is a duration in milliseconds, defaulting to 100. +// A negative value means an infinite deadline (i.e. the reading capability is never closed). func (o IngressRouteTCPSpecRoutesServicesOutput) TerminationDelay() pulumi.IntPtrOutput { return o.ApplyT(func(v IngressRouteTCPSpecRoutesServices) *int { return v.TerminationDelay }).(pulumi.IntPtrOutput) } @@ -2715,7 +2906,8 @@ func (o IngressRouteTCPSpecRoutesServicesArrayOutput) Index(i pulumi.IntInput) I }).(IngressRouteTCPSpecRoutesServicesOutput) } -// ProxyProtocol defines the PROXY protocol configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#proxy-protocol +// ProxyProtocol defines the PROXY protocol configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#proxy-protocol type IngressRouteTCPSpecRoutesServicesProxyProtocol struct { // Version defines the PROXY Protocol version to use. Version *int `pulumi:"version"` @@ -2732,7 +2924,8 @@ type IngressRouteTCPSpecRoutesServicesProxyProtocolInput interface { ToIngressRouteTCPSpecRoutesServicesProxyProtocolOutputWithContext(context.Context) IngressRouteTCPSpecRoutesServicesProxyProtocolOutput } -// ProxyProtocol defines the PROXY protocol configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#proxy-protocol +// ProxyProtocol defines the PROXY protocol configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#proxy-protocol type IngressRouteTCPSpecRoutesServicesProxyProtocolArgs struct { // Version defines the PROXY Protocol version to use. Version pulumi.IntPtrInput `pulumi:"version"` @@ -2803,7 +2996,8 @@ func (i *ingressRouteTCPSpecRoutesServicesProxyProtocolPtrType) ToOutput(ctx con } } -// ProxyProtocol defines the PROXY protocol configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#proxy-protocol +// ProxyProtocol defines the PROXY protocol configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#proxy-protocol type IngressRouteTCPSpecRoutesServicesProxyProtocolOutput struct{ *pulumi.OutputState } func (IngressRouteTCPSpecRoutesServicesProxyProtocolOutput) ElementType() reflect.Type { @@ -2879,19 +3073,26 @@ func (o IngressRouteTCPSpecRoutesServicesProxyProtocolPtrOutput) Version() pulum }).(pulumi.IntPtrOutput) } -// TLS defines the TLS configuration on a layer 4 / TCP Route. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1 +// TLS defines the TLS configuration on a layer 4 / TCP Route. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1 type IngressRouteTCPSpecTls struct { - // CertResolver defines the name of the certificate resolver to use. Cert resolvers have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers + // CertResolver defines the name of the certificate resolver to use. + // Cert resolvers have to be configured in the static configuration. + // More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers CertResolver *string `pulumi:"certResolver"` - // Domains defines the list of domains that will be used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains + // Domains defines the list of domains that will be used to issue certificates. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains Domains []IngressRouteTCPSpecTlsDomains `pulumi:"domains"` - // Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options + // Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. + // If not defined, the `default` TLSOption is used. + // More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options Options *IngressRouteTCPSpecTlsOptions `pulumi:"options"` // Passthrough defines whether a TLS router will terminate the TLS connection. Passthrough *bool `pulumi:"passthrough"` // SecretName is the name of the referenced Kubernetes Secret to specify the certificate details. SecretName *string `pulumi:"secretName"` - // Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. + // Store defines the reference to the TLSStore, that will be used to store certificates. + // Please note that only `default` TLSStore can be used. Store *IngressRouteTCPSpecTlsStore `pulumi:"store"` } @@ -2906,19 +3107,26 @@ type IngressRouteTCPSpecTlsInput interface { ToIngressRouteTCPSpecTlsOutputWithContext(context.Context) IngressRouteTCPSpecTlsOutput } -// TLS defines the TLS configuration on a layer 4 / TCP Route. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1 +// TLS defines the TLS configuration on a layer 4 / TCP Route. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1 type IngressRouteTCPSpecTlsArgs struct { - // CertResolver defines the name of the certificate resolver to use. Cert resolvers have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers + // CertResolver defines the name of the certificate resolver to use. + // Cert resolvers have to be configured in the static configuration. + // More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers CertResolver pulumi.StringPtrInput `pulumi:"certResolver"` - // Domains defines the list of domains that will be used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains + // Domains defines the list of domains that will be used to issue certificates. + // More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains Domains IngressRouteTCPSpecTlsDomainsArrayInput `pulumi:"domains"` - // Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options + // Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. + // If not defined, the `default` TLSOption is used. + // More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options Options IngressRouteTCPSpecTlsOptionsPtrInput `pulumi:"options"` // Passthrough defines whether a TLS router will terminate the TLS connection. Passthrough pulumi.BoolPtrInput `pulumi:"passthrough"` // SecretName is the name of the referenced Kubernetes Secret to specify the certificate details. SecretName pulumi.StringPtrInput `pulumi:"secretName"` - // Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. + // Store defines the reference to the TLSStore, that will be used to store certificates. + // Please note that only `default` TLSStore can be used. Store IngressRouteTCPSpecTlsStorePtrInput `pulumi:"store"` } @@ -2987,7 +3195,8 @@ func (i *ingressRouteTCPSpecTlsPtrType) ToOutput(ctx context.Context) pulumix.Ou } } -// TLS defines the TLS configuration on a layer 4 / TCP Route. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1 +// TLS defines the TLS configuration on a layer 4 / TCP Route. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1 type IngressRouteTCPSpecTlsOutput struct{ *pulumi.OutputState } func (IngressRouteTCPSpecTlsOutput) ElementType() reflect.Type { @@ -3018,17 +3227,22 @@ func (o IngressRouteTCPSpecTlsOutput) ToOutput(ctx context.Context) pulumix.Outp } } -// CertResolver defines the name of the certificate resolver to use. Cert resolvers have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers +// CertResolver defines the name of the certificate resolver to use. +// Cert resolvers have to be configured in the static configuration. +// More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers func (o IngressRouteTCPSpecTlsOutput) CertResolver() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressRouteTCPSpecTls) *string { return v.CertResolver }).(pulumi.StringPtrOutput) } -// Domains defines the list of domains that will be used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains +// Domains defines the list of domains that will be used to issue certificates. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains func (o IngressRouteTCPSpecTlsOutput) Domains() IngressRouteTCPSpecTlsDomainsArrayOutput { return o.ApplyT(func(v IngressRouteTCPSpecTls) []IngressRouteTCPSpecTlsDomains { return v.Domains }).(IngressRouteTCPSpecTlsDomainsArrayOutput) } -// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options +// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. +// If not defined, the `default` TLSOption is used. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options func (o IngressRouteTCPSpecTlsOutput) Options() IngressRouteTCPSpecTlsOptionsPtrOutput { return o.ApplyT(func(v IngressRouteTCPSpecTls) *IngressRouteTCPSpecTlsOptions { return v.Options }).(IngressRouteTCPSpecTlsOptionsPtrOutput) } @@ -3043,7 +3257,8 @@ func (o IngressRouteTCPSpecTlsOutput) SecretName() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressRouteTCPSpecTls) *string { return v.SecretName }).(pulumi.StringPtrOutput) } -// Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. +// Store defines the reference to the TLSStore, that will be used to store certificates. +// Please note that only `default` TLSStore can be used. func (o IngressRouteTCPSpecTlsOutput) Store() IngressRouteTCPSpecTlsStorePtrOutput { return o.ApplyT(func(v IngressRouteTCPSpecTls) *IngressRouteTCPSpecTlsStore { return v.Store }).(IngressRouteTCPSpecTlsStorePtrOutput) } @@ -3078,7 +3293,9 @@ func (o IngressRouteTCPSpecTlsPtrOutput) Elem() IngressRouteTCPSpecTlsOutput { }).(IngressRouteTCPSpecTlsOutput) } -// CertResolver defines the name of the certificate resolver to use. Cert resolvers have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers +// CertResolver defines the name of the certificate resolver to use. +// Cert resolvers have to be configured in the static configuration. +// More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers func (o IngressRouteTCPSpecTlsPtrOutput) CertResolver() pulumi.StringPtrOutput { return o.ApplyT(func(v *IngressRouteTCPSpecTls) *string { if v == nil { @@ -3088,7 +3305,8 @@ func (o IngressRouteTCPSpecTlsPtrOutput) CertResolver() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// Domains defines the list of domains that will be used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains +// Domains defines the list of domains that will be used to issue certificates. +// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains func (o IngressRouteTCPSpecTlsPtrOutput) Domains() IngressRouteTCPSpecTlsDomainsArrayOutput { return o.ApplyT(func(v *IngressRouteTCPSpecTls) []IngressRouteTCPSpecTlsDomains { if v == nil { @@ -3098,7 +3316,9 @@ func (o IngressRouteTCPSpecTlsPtrOutput) Domains() IngressRouteTCPSpecTlsDomains }).(IngressRouteTCPSpecTlsDomainsArrayOutput) } -// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options +// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. +// If not defined, the `default` TLSOption is used. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options func (o IngressRouteTCPSpecTlsPtrOutput) Options() IngressRouteTCPSpecTlsOptionsPtrOutput { return o.ApplyT(func(v *IngressRouteTCPSpecTls) *IngressRouteTCPSpecTlsOptions { if v == nil { @@ -3128,7 +3348,8 @@ func (o IngressRouteTCPSpecTlsPtrOutput) SecretName() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. +// Store defines the reference to the TLSStore, that will be used to store certificates. +// Please note that only `default` TLSStore can be used. func (o IngressRouteTCPSpecTlsPtrOutput) Store() IngressRouteTCPSpecTlsStorePtrOutput { return o.ApplyT(func(v *IngressRouteTCPSpecTls) *IngressRouteTCPSpecTlsStore { if v == nil { @@ -3271,7 +3492,9 @@ func (o IngressRouteTCPSpecTlsDomainsArrayOutput) Index(i pulumi.IntInput) Ingre }).(IngressRouteTCPSpecTlsDomainsOutput) } -// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options +// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. +// If not defined, the `default` TLSOption is used. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options type IngressRouteTCPSpecTlsOptions struct { // Name defines the name of the referenced Traefik resource. Name string `pulumi:"name"` @@ -3290,7 +3513,9 @@ type IngressRouteTCPSpecTlsOptionsInput interface { ToIngressRouteTCPSpecTlsOptionsOutputWithContext(context.Context) IngressRouteTCPSpecTlsOptionsOutput } -// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options +// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. +// If not defined, the `default` TLSOption is used. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options type IngressRouteTCPSpecTlsOptionsArgs struct { // Name defines the name of the referenced Traefik resource. Name pulumi.StringInput `pulumi:"name"` @@ -3363,7 +3588,9 @@ func (i *ingressRouteTCPSpecTlsOptionsPtrType) ToOutput(ctx context.Context) pul } } -// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. If not defined, the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options +// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. +// If not defined, the `default` TLSOption is used. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options type IngressRouteTCPSpecTlsOptionsOutput struct{ *pulumi.OutputState } func (IngressRouteTCPSpecTlsOptionsOutput) ElementType() reflect.Type { @@ -3454,7 +3681,8 @@ func (o IngressRouteTCPSpecTlsOptionsPtrOutput) Namespace() pulumi.StringPtrOutp }).(pulumi.StringPtrOutput) } -// Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. +// Store defines the reference to the TLSStore, that will be used to store certificates. +// Please note that only `default` TLSStore can be used. type IngressRouteTCPSpecTlsStore struct { // Name defines the name of the referenced Traefik resource. Name string `pulumi:"name"` @@ -3473,7 +3701,8 @@ type IngressRouteTCPSpecTlsStoreInput interface { ToIngressRouteTCPSpecTlsStoreOutputWithContext(context.Context) IngressRouteTCPSpecTlsStoreOutput } -// Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. +// Store defines the reference to the TLSStore, that will be used to store certificates. +// Please note that only `default` TLSStore can be used. type IngressRouteTCPSpecTlsStoreArgs struct { // Name defines the name of the referenced Traefik resource. Name pulumi.StringInput `pulumi:"name"` @@ -3546,7 +3775,8 @@ func (i *ingressRouteTCPSpecTlsStorePtrType) ToOutput(ctx context.Context) pulum } } -// Store defines the reference to the TLSStore, that will be used to store certificates. Please note that only `default` TLSStore can be used. +// Store defines the reference to the TLSStore, that will be used to store certificates. +// Please note that only `default` TLSStore can be used. type IngressRouteTCPSpecTlsStoreOutput struct{ *pulumi.OutputState } func (IngressRouteTCPSpecTlsStoreOutput) ElementType() reflect.Type { @@ -3651,7 +3881,10 @@ type IngressRouteUDPMetadata struct { // IngressRouteUDPSpec defines the desired state of a IngressRouteUDP. type IngressRouteUDPSpec struct { - // EntryPoints defines the list of entry point names to bind to. Entry points have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ Default: all. + // EntryPoints defines the list of entry point names to bind to. + // Entry points have to be configured in the static configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/ + // Default: all. EntryPoints []string `pulumi:"entryPoints"` // Routes defines the list of routes. Routes []IngressRouteUDPSpecRoutes `pulumi:"routes"` @@ -3670,7 +3903,10 @@ type IngressRouteUDPSpecInput interface { // IngressRouteUDPSpec defines the desired state of a IngressRouteUDP. type IngressRouteUDPSpecArgs struct { - // EntryPoints defines the list of entry point names to bind to. Entry points have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ Default: all. + // EntryPoints defines the list of entry point names to bind to. + // Entry points have to be configured in the static configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/ + // Default: all. EntryPoints pulumi.StringArrayInput `pulumi:"entryPoints"` // Routes defines the list of routes. Routes IngressRouteUDPSpecRoutesArrayInput `pulumi:"routes"` @@ -3772,7 +4008,10 @@ func (o IngressRouteUDPSpecOutput) ToOutput(ctx context.Context) pulumix.Output[ } } -// EntryPoints defines the list of entry point names to bind to. Entry points have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ Default: all. +// EntryPoints defines the list of entry point names to bind to. +// Entry points have to be configured in the static configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/ +// Default: all. func (o IngressRouteUDPSpecOutput) EntryPoints() pulumi.StringArrayOutput { return o.ApplyT(func(v IngressRouteUDPSpec) []string { return v.EntryPoints }).(pulumi.StringArrayOutput) } @@ -3812,7 +4051,10 @@ func (o IngressRouteUDPSpecPtrOutput) Elem() IngressRouteUDPSpecOutput { }).(IngressRouteUDPSpecOutput) } -// EntryPoints defines the list of entry point names to bind to. Entry points have to be configured in the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ Default: all. +// EntryPoints defines the list of entry point names to bind to. +// Entry points have to be configured in the static configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/ +// Default: all. func (o IngressRouteUDPSpecPtrOutput) EntryPoints() pulumi.StringArrayOutput { return o.ApplyT(func(v *IngressRouteUDPSpec) []string { if v == nil { @@ -3962,9 +4204,13 @@ type IngressRouteUDPSpecRoutesServices struct { Name string `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service. Namespace *string `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB *bool `pulumi:"nativeLB"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port interface{} `pulumi:"port"` // Weight defines the weight used when balancing requests between multiple Kubernetes Service. Weight *int `pulumi:"weight"` @@ -3987,9 +4233,13 @@ type IngressRouteUDPSpecRoutesServicesArgs struct { Name pulumi.StringInput `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service. Namespace pulumi.StringPtrInput `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB pulumi.BoolPtrInput `pulumi:"nativeLB"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port pulumi.Input `pulumi:"port"` // Weight defines the weight used when balancing requests between multiple Kubernetes Service. Weight pulumi.IntPtrInput `pulumi:"weight"` @@ -4075,12 +4325,16 @@ func (o IngressRouteUDPSpecRoutesServicesOutput) Namespace() pulumi.StringPtrOut return o.ApplyT(func(v IngressRouteUDPSpecRoutesServices) *string { return v.Namespace }).(pulumi.StringPtrOutput) } -// NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. +// NativeLB controls, when creating the load-balancer, +// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. +// The Kubernetes Service itself does load-balance to the pods. +// By default, NativeLB is false. func (o IngressRouteUDPSpecRoutesServicesOutput) NativeLB() pulumi.BoolPtrOutput { return o.ApplyT(func(v IngressRouteUDPSpecRoutesServices) *bool { return v.NativeLB }).(pulumi.BoolPtrOutput) } -// Port defines the port of a Kubernetes Service. This can be a reference to a named port. +// Port defines the port of a Kubernetes Service. +// This can be a reference to a named port. func (o IngressRouteUDPSpecRoutesServicesOutput) Port() pulumi.AnyOutput { return o.ApplyT(func(v IngressRouteUDPSpecRoutesServices) interface{} { return v.Port }).(pulumi.AnyOutput) } @@ -4116,7 +4370,8 @@ func (o IngressRouteUDPSpecRoutesServicesArrayOutput) Index(i pulumi.IntInput) I }).(IngressRouteUDPSpecRoutesServicesOutput) } -// Middleware is the CRD implementation of a Traefik Middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/overview/ +// Middleware is the CRD implementation of a Traefik Middleware. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/overview/ type MiddlewareType struct { ApiVersion *string `pulumi:"apiVersion"` Kind *string `pulumi:"kind"` @@ -4130,51 +4385,99 @@ type MiddlewareMetadata struct { // MiddlewareSpec defines the desired state of a Middleware. type MiddlewareSpec struct { - // AddPrefix holds the add prefix middleware configuration. This middleware updates the path of a request before forwarding it. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/addprefix/ + // AddPrefix holds the add prefix middleware configuration. + // This middleware updates the path of a request before forwarding it. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/addprefix/ AddPrefix *MiddlewareSpecAddPrefix `pulumi:"addPrefix"` - // BasicAuth holds the basic auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/ + // BasicAuth holds the basic auth middleware configuration. + // This middleware restricts access to your services to known users. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/ BasicAuth *MiddlewareSpecBasicAuth `pulumi:"basicAuth"` - // Buffering holds the buffering middleware configuration. This middleware retries or limits the size of requests that can be forwarded to backends. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#maxrequestbodybytes + // Buffering holds the buffering middleware configuration. + // This middleware retries or limits the size of requests that can be forwarded to backends. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#maxrequestbodybytes Buffering *MiddlewareSpecBuffering `pulumi:"buffering"` - // Chain holds the configuration of the chain middleware. This middleware enables to define reusable combinations of other pieces of middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/chain/ + // Chain holds the configuration of the chain middleware. + // This middleware enables to define reusable combinations of other pieces of middleware. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/chain/ Chain *MiddlewareSpecChain `pulumi:"chain"` // CircuitBreaker holds the circuit breaker configuration. CircuitBreaker *MiddlewareSpecCircuitBreaker `pulumi:"circuitBreaker"` - // Compress holds the compress middleware configuration. This middleware compresses responses before sending them to the client, using gzip compression. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/compress/ + // Compress holds the compress middleware configuration. + // This middleware compresses responses before sending them to the client, using gzip compression. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/compress/ Compress *MiddlewareSpecCompress `pulumi:"compress"` - // ContentType holds the content-type middleware configuration. This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. + // ContentType holds the content-type middleware configuration. + // This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. ContentType *MiddlewareSpecContentType `pulumi:"contentType"` - // DigestAuth holds the digest auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/digestauth/ + // DigestAuth holds the digest auth middleware configuration. + // This middleware restricts access to your services to known users. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/digestauth/ DigestAuth *MiddlewareSpecDigestAuth `pulumi:"digestAuth"` - // ErrorPage holds the custom error middleware configuration. This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/ + // ErrorPage holds the custom error middleware configuration. + // This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/ Errors *MiddlewareSpecErrors `pulumi:"errors"` - // ForwardAuth holds the forward auth middleware configuration. This middleware delegates the request authentication to a Service. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/ + // ForwardAuth holds the forward auth middleware configuration. + // This middleware delegates the request authentication to a Service. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/ ForwardAuth *MiddlewareSpecForwardAuth `pulumi:"forwardAuth"` - // Headers holds the headers middleware configuration. This middleware manages the requests and responses headers. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/headers/#customrequestheaders + // Headers holds the headers middleware configuration. + // This middleware manages the requests and responses headers. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/headers/#customrequestheaders Headers *MiddlewareSpecHeaders `pulumi:"headers"` - // InFlightReq holds the in-flight request middleware configuration. This middleware limits the number of requests being processed and served concurrently. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/ + // InFlightReq holds the in-flight request middleware configuration. + // This middleware limits the number of requests being processed and served concurrently. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/ InFlightReq *MiddlewareSpecInFlightReq `pulumi:"inFlightReq"` - // IPWhiteList holds the IP whitelist middleware configuration. This middleware accepts / refuses requests based on the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/ + // IPAllowList holds the IP allowlist middleware configuration. + // This middleware accepts / refuses requests based on the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/ + IpAllowList *MiddlewareSpecIpAllowList `pulumi:"ipAllowList"` + // IPWhiteList holds the IP whitelist middleware configuration. + // This middleware accepts / refuses requests based on the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipwhitelist/ + // Deprecated: please use IPAllowList instead. IpWhiteList *MiddlewareSpecIpWhiteList `pulumi:"ipWhiteList"` - // PassTLSClientCert holds the pass TLS client cert middleware configuration. This middleware adds the selected data from the passed client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/passtlsclientcert/ + // PassTLSClientCert holds the pass TLS client cert middleware configuration. + // This middleware adds the selected data from the passed client TLS certificate to a header. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/passtlsclientcert/ PassTLSClientCert *MiddlewareSpecPassTLSClientCert `pulumi:"passTLSClientCert"` - // Plugin defines the middleware plugin configuration. More info: https://doc.traefik.io/traefik/plugins/ + // Plugin defines the middleware plugin configuration. + // More info: https://doc.traefik.io/traefik/plugins/ Plugin map[string]map[string]interface{} `pulumi:"plugin"` - // RateLimit holds the rate limit configuration. This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ratelimit/ + // RateLimit holds the rate limit configuration. + // This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ratelimit/ RateLimit *MiddlewareSpecRateLimit `pulumi:"rateLimit"` - // RedirectRegex holds the redirect regex middleware configuration. This middleware redirects a request using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectregex/#regex + // RedirectRegex holds the redirect regex middleware configuration. + // This middleware redirects a request using regex matching and replacement. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectregex/#regex RedirectRegex *MiddlewareSpecRedirectRegex `pulumi:"redirectRegex"` - // RedirectScheme holds the redirect scheme middleware configuration. This middleware redirects requests from a scheme/port to another. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectscheme/ + // RedirectScheme holds the redirect scheme middleware configuration. + // This middleware redirects requests from a scheme/port to another. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectscheme/ RedirectScheme *MiddlewareSpecRedirectScheme `pulumi:"redirectScheme"` - // ReplacePath holds the replace path middleware configuration. This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepath/ + // ReplacePath holds the replace path middleware configuration. + // This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepath/ ReplacePath *MiddlewareSpecReplacePath `pulumi:"replacePath"` - // ReplacePathRegex holds the replace path regex middleware configuration. This middleware replaces the path of a URL using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepathregex/ + // ReplacePathRegex holds the replace path regex middleware configuration. + // This middleware replaces the path of a URL using regex matching and replacement. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepathregex/ ReplacePathRegex *MiddlewareSpecReplacePathRegex `pulumi:"replacePathRegex"` - // Retry holds the retry middleware configuration. This middleware reissues requests a given number of times to a backend server if that server does not reply. As soon as the server answers, the middleware stops retrying, regardless of the response status. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/retry/ + // Retry holds the retry middleware configuration. + // This middleware reissues requests a given number of times to a backend server if that server does not reply. + // As soon as the server answers, the middleware stops retrying, regardless of the response status. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/retry/ Retry *MiddlewareSpecRetry `pulumi:"retry"` - // StripPrefix holds the strip prefix middleware configuration. This middleware removes the specified prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefix/ + // StripPrefix holds the strip prefix middleware configuration. + // This middleware removes the specified prefixes from the URL path. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefix/ StripPrefix *MiddlewareSpecStripPrefix `pulumi:"stripPrefix"` - // StripPrefixRegex holds the strip prefix regex middleware configuration. This middleware removes the matching prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefixregex/ + // StripPrefixRegex holds the strip prefix regex middleware configuration. + // This middleware removes the matching prefixes from the URL path. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefixregex/ StripPrefixRegex *MiddlewareSpecStripPrefixRegex `pulumi:"stripPrefixRegex"` } @@ -4191,51 +4494,99 @@ type MiddlewareSpecInput interface { // MiddlewareSpec defines the desired state of a Middleware. type MiddlewareSpecArgs struct { - // AddPrefix holds the add prefix middleware configuration. This middleware updates the path of a request before forwarding it. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/addprefix/ + // AddPrefix holds the add prefix middleware configuration. + // This middleware updates the path of a request before forwarding it. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/addprefix/ AddPrefix MiddlewareSpecAddPrefixPtrInput `pulumi:"addPrefix"` - // BasicAuth holds the basic auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/ + // BasicAuth holds the basic auth middleware configuration. + // This middleware restricts access to your services to known users. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/ BasicAuth MiddlewareSpecBasicAuthPtrInput `pulumi:"basicAuth"` - // Buffering holds the buffering middleware configuration. This middleware retries or limits the size of requests that can be forwarded to backends. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#maxrequestbodybytes + // Buffering holds the buffering middleware configuration. + // This middleware retries or limits the size of requests that can be forwarded to backends. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#maxrequestbodybytes Buffering MiddlewareSpecBufferingPtrInput `pulumi:"buffering"` - // Chain holds the configuration of the chain middleware. This middleware enables to define reusable combinations of other pieces of middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/chain/ + // Chain holds the configuration of the chain middleware. + // This middleware enables to define reusable combinations of other pieces of middleware. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/chain/ Chain MiddlewareSpecChainPtrInput `pulumi:"chain"` // CircuitBreaker holds the circuit breaker configuration. CircuitBreaker MiddlewareSpecCircuitBreakerPtrInput `pulumi:"circuitBreaker"` - // Compress holds the compress middleware configuration. This middleware compresses responses before sending them to the client, using gzip compression. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/compress/ + // Compress holds the compress middleware configuration. + // This middleware compresses responses before sending them to the client, using gzip compression. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/compress/ Compress MiddlewareSpecCompressPtrInput `pulumi:"compress"` - // ContentType holds the content-type middleware configuration. This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. + // ContentType holds the content-type middleware configuration. + // This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. ContentType MiddlewareSpecContentTypePtrInput `pulumi:"contentType"` - // DigestAuth holds the digest auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/digestauth/ + // DigestAuth holds the digest auth middleware configuration. + // This middleware restricts access to your services to known users. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/digestauth/ DigestAuth MiddlewareSpecDigestAuthPtrInput `pulumi:"digestAuth"` - // ErrorPage holds the custom error middleware configuration. This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/ + // ErrorPage holds the custom error middleware configuration. + // This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/ Errors MiddlewareSpecErrorsPtrInput `pulumi:"errors"` - // ForwardAuth holds the forward auth middleware configuration. This middleware delegates the request authentication to a Service. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/ + // ForwardAuth holds the forward auth middleware configuration. + // This middleware delegates the request authentication to a Service. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/ ForwardAuth MiddlewareSpecForwardAuthPtrInput `pulumi:"forwardAuth"` - // Headers holds the headers middleware configuration. This middleware manages the requests and responses headers. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/headers/#customrequestheaders + // Headers holds the headers middleware configuration. + // This middleware manages the requests and responses headers. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/headers/#customrequestheaders Headers MiddlewareSpecHeadersPtrInput `pulumi:"headers"` - // InFlightReq holds the in-flight request middleware configuration. This middleware limits the number of requests being processed and served concurrently. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/ + // InFlightReq holds the in-flight request middleware configuration. + // This middleware limits the number of requests being processed and served concurrently. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/ InFlightReq MiddlewareSpecInFlightReqPtrInput `pulumi:"inFlightReq"` - // IPWhiteList holds the IP whitelist middleware configuration. This middleware accepts / refuses requests based on the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/ + // IPAllowList holds the IP allowlist middleware configuration. + // This middleware accepts / refuses requests based on the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/ + IpAllowList MiddlewareSpecIpAllowListPtrInput `pulumi:"ipAllowList"` + // IPWhiteList holds the IP whitelist middleware configuration. + // This middleware accepts / refuses requests based on the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipwhitelist/ + // Deprecated: please use IPAllowList instead. IpWhiteList MiddlewareSpecIpWhiteListPtrInput `pulumi:"ipWhiteList"` - // PassTLSClientCert holds the pass TLS client cert middleware configuration. This middleware adds the selected data from the passed client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/passtlsclientcert/ + // PassTLSClientCert holds the pass TLS client cert middleware configuration. + // This middleware adds the selected data from the passed client TLS certificate to a header. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/passtlsclientcert/ PassTLSClientCert MiddlewareSpecPassTLSClientCertPtrInput `pulumi:"passTLSClientCert"` - // Plugin defines the middleware plugin configuration. More info: https://doc.traefik.io/traefik/plugins/ + // Plugin defines the middleware plugin configuration. + // More info: https://doc.traefik.io/traefik/plugins/ Plugin pulumi.MapMapInput `pulumi:"plugin"` - // RateLimit holds the rate limit configuration. This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ratelimit/ + // RateLimit holds the rate limit configuration. + // This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ratelimit/ RateLimit MiddlewareSpecRateLimitPtrInput `pulumi:"rateLimit"` - // RedirectRegex holds the redirect regex middleware configuration. This middleware redirects a request using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectregex/#regex + // RedirectRegex holds the redirect regex middleware configuration. + // This middleware redirects a request using regex matching and replacement. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectregex/#regex RedirectRegex MiddlewareSpecRedirectRegexPtrInput `pulumi:"redirectRegex"` - // RedirectScheme holds the redirect scheme middleware configuration. This middleware redirects requests from a scheme/port to another. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectscheme/ + // RedirectScheme holds the redirect scheme middleware configuration. + // This middleware redirects requests from a scheme/port to another. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectscheme/ RedirectScheme MiddlewareSpecRedirectSchemePtrInput `pulumi:"redirectScheme"` - // ReplacePath holds the replace path middleware configuration. This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepath/ + // ReplacePath holds the replace path middleware configuration. + // This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepath/ ReplacePath MiddlewareSpecReplacePathPtrInput `pulumi:"replacePath"` - // ReplacePathRegex holds the replace path regex middleware configuration. This middleware replaces the path of a URL using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepathregex/ + // ReplacePathRegex holds the replace path regex middleware configuration. + // This middleware replaces the path of a URL using regex matching and replacement. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepathregex/ ReplacePathRegex MiddlewareSpecReplacePathRegexPtrInput `pulumi:"replacePathRegex"` - // Retry holds the retry middleware configuration. This middleware reissues requests a given number of times to a backend server if that server does not reply. As soon as the server answers, the middleware stops retrying, regardless of the response status. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/retry/ + // Retry holds the retry middleware configuration. + // This middleware reissues requests a given number of times to a backend server if that server does not reply. + // As soon as the server answers, the middleware stops retrying, regardless of the response status. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/retry/ Retry MiddlewareSpecRetryPtrInput `pulumi:"retry"` - // StripPrefix holds the strip prefix middleware configuration. This middleware removes the specified prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefix/ + // StripPrefix holds the strip prefix middleware configuration. + // This middleware removes the specified prefixes from the URL path. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefix/ StripPrefix MiddlewareSpecStripPrefixPtrInput `pulumi:"stripPrefix"` - // StripPrefixRegex holds the strip prefix regex middleware configuration. This middleware removes the matching prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefixregex/ + // StripPrefixRegex holds the strip prefix regex middleware configuration. + // This middleware removes the matching prefixes from the URL path. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefixregex/ StripPrefixRegex MiddlewareSpecStripPrefixRegexPtrInput `pulumi:"stripPrefixRegex"` } @@ -4335,22 +4686,30 @@ func (o MiddlewareSpecOutput) ToOutput(ctx context.Context) pulumix.Output[Middl } } -// AddPrefix holds the add prefix middleware configuration. This middleware updates the path of a request before forwarding it. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/addprefix/ +// AddPrefix holds the add prefix middleware configuration. +// This middleware updates the path of a request before forwarding it. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/addprefix/ func (o MiddlewareSpecOutput) AddPrefix() MiddlewareSpecAddPrefixPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecAddPrefix { return v.AddPrefix }).(MiddlewareSpecAddPrefixPtrOutput) } -// BasicAuth holds the basic auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/ +// BasicAuth holds the basic auth middleware configuration. +// This middleware restricts access to your services to known users. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/ func (o MiddlewareSpecOutput) BasicAuth() MiddlewareSpecBasicAuthPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecBasicAuth { return v.BasicAuth }).(MiddlewareSpecBasicAuthPtrOutput) } -// Buffering holds the buffering middleware configuration. This middleware retries or limits the size of requests that can be forwarded to backends. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#maxrequestbodybytes +// Buffering holds the buffering middleware configuration. +// This middleware retries or limits the size of requests that can be forwarded to backends. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#maxrequestbodybytes func (o MiddlewareSpecOutput) Buffering() MiddlewareSpecBufferingPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecBuffering { return v.Buffering }).(MiddlewareSpecBufferingPtrOutput) } -// Chain holds the configuration of the chain middleware. This middleware enables to define reusable combinations of other pieces of middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/chain/ +// Chain holds the configuration of the chain middleware. +// This middleware enables to define reusable combinations of other pieces of middleware. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/chain/ func (o MiddlewareSpecOutput) Chain() MiddlewareSpecChainPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecChain { return v.Chain }).(MiddlewareSpecChainPtrOutput) } @@ -4360,92 +4719,135 @@ func (o MiddlewareSpecOutput) CircuitBreaker() MiddlewareSpecCircuitBreakerPtrOu return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecCircuitBreaker { return v.CircuitBreaker }).(MiddlewareSpecCircuitBreakerPtrOutput) } -// Compress holds the compress middleware configuration. This middleware compresses responses before sending them to the client, using gzip compression. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/compress/ +// Compress holds the compress middleware configuration. +// This middleware compresses responses before sending them to the client, using gzip compression. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/compress/ func (o MiddlewareSpecOutput) Compress() MiddlewareSpecCompressPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecCompress { return v.Compress }).(MiddlewareSpecCompressPtrOutput) } -// ContentType holds the content-type middleware configuration. This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. +// ContentType holds the content-type middleware configuration. +// This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. func (o MiddlewareSpecOutput) ContentType() MiddlewareSpecContentTypePtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecContentType { return v.ContentType }).(MiddlewareSpecContentTypePtrOutput) } -// DigestAuth holds the digest auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/digestauth/ +// DigestAuth holds the digest auth middleware configuration. +// This middleware restricts access to your services to known users. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/digestauth/ func (o MiddlewareSpecOutput) DigestAuth() MiddlewareSpecDigestAuthPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecDigestAuth { return v.DigestAuth }).(MiddlewareSpecDigestAuthPtrOutput) } -// ErrorPage holds the custom error middleware configuration. This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/ +// ErrorPage holds the custom error middleware configuration. +// This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/ func (o MiddlewareSpecOutput) Errors() MiddlewareSpecErrorsPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecErrors { return v.Errors }).(MiddlewareSpecErrorsPtrOutput) } -// ForwardAuth holds the forward auth middleware configuration. This middleware delegates the request authentication to a Service. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/ +// ForwardAuth holds the forward auth middleware configuration. +// This middleware delegates the request authentication to a Service. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/ func (o MiddlewareSpecOutput) ForwardAuth() MiddlewareSpecForwardAuthPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecForwardAuth { return v.ForwardAuth }).(MiddlewareSpecForwardAuthPtrOutput) } -// Headers holds the headers middleware configuration. This middleware manages the requests and responses headers. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/headers/#customrequestheaders +// Headers holds the headers middleware configuration. +// This middleware manages the requests and responses headers. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/headers/#customrequestheaders func (o MiddlewareSpecOutput) Headers() MiddlewareSpecHeadersPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecHeaders { return v.Headers }).(MiddlewareSpecHeadersPtrOutput) } -// InFlightReq holds the in-flight request middleware configuration. This middleware limits the number of requests being processed and served concurrently. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/ +// InFlightReq holds the in-flight request middleware configuration. +// This middleware limits the number of requests being processed and served concurrently. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/ func (o MiddlewareSpecOutput) InFlightReq() MiddlewareSpecInFlightReqPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecInFlightReq { return v.InFlightReq }).(MiddlewareSpecInFlightReqPtrOutput) } -// IPWhiteList holds the IP whitelist middleware configuration. This middleware accepts / refuses requests based on the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/ +// IPAllowList holds the IP allowlist middleware configuration. +// This middleware accepts / refuses requests based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/ +func (o MiddlewareSpecOutput) IpAllowList() MiddlewareSpecIpAllowListPtrOutput { + return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecIpAllowList { return v.IpAllowList }).(MiddlewareSpecIpAllowListPtrOutput) +} + +// IPWhiteList holds the IP whitelist middleware configuration. +// This middleware accepts / refuses requests based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipwhitelist/ +// Deprecated: please use IPAllowList instead. func (o MiddlewareSpecOutput) IpWhiteList() MiddlewareSpecIpWhiteListPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecIpWhiteList { return v.IpWhiteList }).(MiddlewareSpecIpWhiteListPtrOutput) } -// PassTLSClientCert holds the pass TLS client cert middleware configuration. This middleware adds the selected data from the passed client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/passtlsclientcert/ +// PassTLSClientCert holds the pass TLS client cert middleware configuration. +// This middleware adds the selected data from the passed client TLS certificate to a header. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/passtlsclientcert/ func (o MiddlewareSpecOutput) PassTLSClientCert() MiddlewareSpecPassTLSClientCertPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecPassTLSClientCert { return v.PassTLSClientCert }).(MiddlewareSpecPassTLSClientCertPtrOutput) } -// Plugin defines the middleware plugin configuration. More info: https://doc.traefik.io/traefik/plugins/ +// Plugin defines the middleware plugin configuration. +// More info: https://doc.traefik.io/traefik/plugins/ func (o MiddlewareSpecOutput) Plugin() pulumi.MapMapOutput { return o.ApplyT(func(v MiddlewareSpec) map[string]map[string]interface{} { return v.Plugin }).(pulumi.MapMapOutput) } -// RateLimit holds the rate limit configuration. This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ratelimit/ +// RateLimit holds the rate limit configuration. +// This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ratelimit/ func (o MiddlewareSpecOutput) RateLimit() MiddlewareSpecRateLimitPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecRateLimit { return v.RateLimit }).(MiddlewareSpecRateLimitPtrOutput) } -// RedirectRegex holds the redirect regex middleware configuration. This middleware redirects a request using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectregex/#regex +// RedirectRegex holds the redirect regex middleware configuration. +// This middleware redirects a request using regex matching and replacement. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectregex/#regex func (o MiddlewareSpecOutput) RedirectRegex() MiddlewareSpecRedirectRegexPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecRedirectRegex { return v.RedirectRegex }).(MiddlewareSpecRedirectRegexPtrOutput) } -// RedirectScheme holds the redirect scheme middleware configuration. This middleware redirects requests from a scheme/port to another. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectscheme/ +// RedirectScheme holds the redirect scheme middleware configuration. +// This middleware redirects requests from a scheme/port to another. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectscheme/ func (o MiddlewareSpecOutput) RedirectScheme() MiddlewareSpecRedirectSchemePtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecRedirectScheme { return v.RedirectScheme }).(MiddlewareSpecRedirectSchemePtrOutput) } -// ReplacePath holds the replace path middleware configuration. This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepath/ +// ReplacePath holds the replace path middleware configuration. +// This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepath/ func (o MiddlewareSpecOutput) ReplacePath() MiddlewareSpecReplacePathPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecReplacePath { return v.ReplacePath }).(MiddlewareSpecReplacePathPtrOutput) } -// ReplacePathRegex holds the replace path regex middleware configuration. This middleware replaces the path of a URL using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepathregex/ +// ReplacePathRegex holds the replace path regex middleware configuration. +// This middleware replaces the path of a URL using regex matching and replacement. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepathregex/ func (o MiddlewareSpecOutput) ReplacePathRegex() MiddlewareSpecReplacePathRegexPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecReplacePathRegex { return v.ReplacePathRegex }).(MiddlewareSpecReplacePathRegexPtrOutput) } -// Retry holds the retry middleware configuration. This middleware reissues requests a given number of times to a backend server if that server does not reply. As soon as the server answers, the middleware stops retrying, regardless of the response status. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/retry/ +// Retry holds the retry middleware configuration. +// This middleware reissues requests a given number of times to a backend server if that server does not reply. +// As soon as the server answers, the middleware stops retrying, regardless of the response status. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/retry/ func (o MiddlewareSpecOutput) Retry() MiddlewareSpecRetryPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecRetry { return v.Retry }).(MiddlewareSpecRetryPtrOutput) } -// StripPrefix holds the strip prefix middleware configuration. This middleware removes the specified prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefix/ +// StripPrefix holds the strip prefix middleware configuration. +// This middleware removes the specified prefixes from the URL path. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefix/ func (o MiddlewareSpecOutput) StripPrefix() MiddlewareSpecStripPrefixPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecStripPrefix { return v.StripPrefix }).(MiddlewareSpecStripPrefixPtrOutput) } -// StripPrefixRegex holds the strip prefix regex middleware configuration. This middleware removes the matching prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefixregex/ +// StripPrefixRegex holds the strip prefix regex middleware configuration. +// This middleware removes the matching prefixes from the URL path. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefixregex/ func (o MiddlewareSpecOutput) StripPrefixRegex() MiddlewareSpecStripPrefixRegexPtrOutput { return o.ApplyT(func(v MiddlewareSpec) *MiddlewareSpecStripPrefixRegex { return v.StripPrefixRegex }).(MiddlewareSpecStripPrefixRegexPtrOutput) } @@ -4480,7 +4882,9 @@ func (o MiddlewareSpecPtrOutput) Elem() MiddlewareSpecOutput { }).(MiddlewareSpecOutput) } -// AddPrefix holds the add prefix middleware configuration. This middleware updates the path of a request before forwarding it. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/addprefix/ +// AddPrefix holds the add prefix middleware configuration. +// This middleware updates the path of a request before forwarding it. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/addprefix/ func (o MiddlewareSpecPtrOutput) AddPrefix() MiddlewareSpecAddPrefixPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecAddPrefix { if v == nil { @@ -4490,7 +4894,9 @@ func (o MiddlewareSpecPtrOutput) AddPrefix() MiddlewareSpecAddPrefixPtrOutput { }).(MiddlewareSpecAddPrefixPtrOutput) } -// BasicAuth holds the basic auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/ +// BasicAuth holds the basic auth middleware configuration. +// This middleware restricts access to your services to known users. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/ func (o MiddlewareSpecPtrOutput) BasicAuth() MiddlewareSpecBasicAuthPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecBasicAuth { if v == nil { @@ -4500,7 +4906,9 @@ func (o MiddlewareSpecPtrOutput) BasicAuth() MiddlewareSpecBasicAuthPtrOutput { }).(MiddlewareSpecBasicAuthPtrOutput) } -// Buffering holds the buffering middleware configuration. This middleware retries or limits the size of requests that can be forwarded to backends. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#maxrequestbodybytes +// Buffering holds the buffering middleware configuration. +// This middleware retries or limits the size of requests that can be forwarded to backends. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#maxrequestbodybytes func (o MiddlewareSpecPtrOutput) Buffering() MiddlewareSpecBufferingPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecBuffering { if v == nil { @@ -4510,7 +4918,9 @@ func (o MiddlewareSpecPtrOutput) Buffering() MiddlewareSpecBufferingPtrOutput { }).(MiddlewareSpecBufferingPtrOutput) } -// Chain holds the configuration of the chain middleware. This middleware enables to define reusable combinations of other pieces of middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/chain/ +// Chain holds the configuration of the chain middleware. +// This middleware enables to define reusable combinations of other pieces of middleware. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/chain/ func (o MiddlewareSpecPtrOutput) Chain() MiddlewareSpecChainPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecChain { if v == nil { @@ -4530,7 +4940,9 @@ func (o MiddlewareSpecPtrOutput) CircuitBreaker() MiddlewareSpecCircuitBreakerPt }).(MiddlewareSpecCircuitBreakerPtrOutput) } -// Compress holds the compress middleware configuration. This middleware compresses responses before sending them to the client, using gzip compression. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/compress/ +// Compress holds the compress middleware configuration. +// This middleware compresses responses before sending them to the client, using gzip compression. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/compress/ func (o MiddlewareSpecPtrOutput) Compress() MiddlewareSpecCompressPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecCompress { if v == nil { @@ -4540,7 +4952,8 @@ func (o MiddlewareSpecPtrOutput) Compress() MiddlewareSpecCompressPtrOutput { }).(MiddlewareSpecCompressPtrOutput) } -// ContentType holds the content-type middleware configuration. This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. +// ContentType holds the content-type middleware configuration. +// This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. func (o MiddlewareSpecPtrOutput) ContentType() MiddlewareSpecContentTypePtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecContentType { if v == nil { @@ -4550,7 +4963,9 @@ func (o MiddlewareSpecPtrOutput) ContentType() MiddlewareSpecContentTypePtrOutpu }).(MiddlewareSpecContentTypePtrOutput) } -// DigestAuth holds the digest auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/digestauth/ +// DigestAuth holds the digest auth middleware configuration. +// This middleware restricts access to your services to known users. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/digestauth/ func (o MiddlewareSpecPtrOutput) DigestAuth() MiddlewareSpecDigestAuthPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecDigestAuth { if v == nil { @@ -4560,7 +4975,9 @@ func (o MiddlewareSpecPtrOutput) DigestAuth() MiddlewareSpecDigestAuthPtrOutput }).(MiddlewareSpecDigestAuthPtrOutput) } -// ErrorPage holds the custom error middleware configuration. This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/ +// ErrorPage holds the custom error middleware configuration. +// This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/ func (o MiddlewareSpecPtrOutput) Errors() MiddlewareSpecErrorsPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecErrors { if v == nil { @@ -4570,7 +4987,9 @@ func (o MiddlewareSpecPtrOutput) Errors() MiddlewareSpecErrorsPtrOutput { }).(MiddlewareSpecErrorsPtrOutput) } -// ForwardAuth holds the forward auth middleware configuration. This middleware delegates the request authentication to a Service. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/ +// ForwardAuth holds the forward auth middleware configuration. +// This middleware delegates the request authentication to a Service. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/ func (o MiddlewareSpecPtrOutput) ForwardAuth() MiddlewareSpecForwardAuthPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecForwardAuth { if v == nil { @@ -4580,7 +4999,9 @@ func (o MiddlewareSpecPtrOutput) ForwardAuth() MiddlewareSpecForwardAuthPtrOutpu }).(MiddlewareSpecForwardAuthPtrOutput) } -// Headers holds the headers middleware configuration. This middleware manages the requests and responses headers. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/headers/#customrequestheaders +// Headers holds the headers middleware configuration. +// This middleware manages the requests and responses headers. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/headers/#customrequestheaders func (o MiddlewareSpecPtrOutput) Headers() MiddlewareSpecHeadersPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecHeaders { if v == nil { @@ -4590,7 +5011,9 @@ func (o MiddlewareSpecPtrOutput) Headers() MiddlewareSpecHeadersPtrOutput { }).(MiddlewareSpecHeadersPtrOutput) } -// InFlightReq holds the in-flight request middleware configuration. This middleware limits the number of requests being processed and served concurrently. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/ +// InFlightReq holds the in-flight request middleware configuration. +// This middleware limits the number of requests being processed and served concurrently. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/ func (o MiddlewareSpecPtrOutput) InFlightReq() MiddlewareSpecInFlightReqPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecInFlightReq { if v == nil { @@ -4600,7 +5023,22 @@ func (o MiddlewareSpecPtrOutput) InFlightReq() MiddlewareSpecInFlightReqPtrOutpu }).(MiddlewareSpecInFlightReqPtrOutput) } -// IPWhiteList holds the IP whitelist middleware configuration. This middleware accepts / refuses requests based on the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/ +// IPAllowList holds the IP allowlist middleware configuration. +// This middleware accepts / refuses requests based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/ +func (o MiddlewareSpecPtrOutput) IpAllowList() MiddlewareSpecIpAllowListPtrOutput { + return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecIpAllowList { + if v == nil { + return nil + } + return v.IpAllowList + }).(MiddlewareSpecIpAllowListPtrOutput) +} + +// IPWhiteList holds the IP whitelist middleware configuration. +// This middleware accepts / refuses requests based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipwhitelist/ +// Deprecated: please use IPAllowList instead. func (o MiddlewareSpecPtrOutput) IpWhiteList() MiddlewareSpecIpWhiteListPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecIpWhiteList { if v == nil { @@ -4610,7 +5048,9 @@ func (o MiddlewareSpecPtrOutput) IpWhiteList() MiddlewareSpecIpWhiteListPtrOutpu }).(MiddlewareSpecIpWhiteListPtrOutput) } -// PassTLSClientCert holds the pass TLS client cert middleware configuration. This middleware adds the selected data from the passed client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/passtlsclientcert/ +// PassTLSClientCert holds the pass TLS client cert middleware configuration. +// This middleware adds the selected data from the passed client TLS certificate to a header. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/passtlsclientcert/ func (o MiddlewareSpecPtrOutput) PassTLSClientCert() MiddlewareSpecPassTLSClientCertPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecPassTLSClientCert { if v == nil { @@ -4620,7 +5060,8 @@ func (o MiddlewareSpecPtrOutput) PassTLSClientCert() MiddlewareSpecPassTLSClient }).(MiddlewareSpecPassTLSClientCertPtrOutput) } -// Plugin defines the middleware plugin configuration. More info: https://doc.traefik.io/traefik/plugins/ +// Plugin defines the middleware plugin configuration. +// More info: https://doc.traefik.io/traefik/plugins/ func (o MiddlewareSpecPtrOutput) Plugin() pulumi.MapMapOutput { return o.ApplyT(func(v *MiddlewareSpec) map[string]map[string]interface{} { if v == nil { @@ -4630,7 +5071,9 @@ func (o MiddlewareSpecPtrOutput) Plugin() pulumi.MapMapOutput { }).(pulumi.MapMapOutput) } -// RateLimit holds the rate limit configuration. This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ratelimit/ +// RateLimit holds the rate limit configuration. +// This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ratelimit/ func (o MiddlewareSpecPtrOutput) RateLimit() MiddlewareSpecRateLimitPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecRateLimit { if v == nil { @@ -4640,7 +5083,9 @@ func (o MiddlewareSpecPtrOutput) RateLimit() MiddlewareSpecRateLimitPtrOutput { }).(MiddlewareSpecRateLimitPtrOutput) } -// RedirectRegex holds the redirect regex middleware configuration. This middleware redirects a request using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectregex/#regex +// RedirectRegex holds the redirect regex middleware configuration. +// This middleware redirects a request using regex matching and replacement. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectregex/#regex func (o MiddlewareSpecPtrOutput) RedirectRegex() MiddlewareSpecRedirectRegexPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecRedirectRegex { if v == nil { @@ -4650,7 +5095,9 @@ func (o MiddlewareSpecPtrOutput) RedirectRegex() MiddlewareSpecRedirectRegexPtrO }).(MiddlewareSpecRedirectRegexPtrOutput) } -// RedirectScheme holds the redirect scheme middleware configuration. This middleware redirects requests from a scheme/port to another. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectscheme/ +// RedirectScheme holds the redirect scheme middleware configuration. +// This middleware redirects requests from a scheme/port to another. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectscheme/ func (o MiddlewareSpecPtrOutput) RedirectScheme() MiddlewareSpecRedirectSchemePtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecRedirectScheme { if v == nil { @@ -4660,7 +5107,9 @@ func (o MiddlewareSpecPtrOutput) RedirectScheme() MiddlewareSpecRedirectSchemePt }).(MiddlewareSpecRedirectSchemePtrOutput) } -// ReplacePath holds the replace path middleware configuration. This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepath/ +// ReplacePath holds the replace path middleware configuration. +// This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepath/ func (o MiddlewareSpecPtrOutput) ReplacePath() MiddlewareSpecReplacePathPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecReplacePath { if v == nil { @@ -4670,7 +5119,9 @@ func (o MiddlewareSpecPtrOutput) ReplacePath() MiddlewareSpecReplacePathPtrOutpu }).(MiddlewareSpecReplacePathPtrOutput) } -// ReplacePathRegex holds the replace path regex middleware configuration. This middleware replaces the path of a URL using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepathregex/ +// ReplacePathRegex holds the replace path regex middleware configuration. +// This middleware replaces the path of a URL using regex matching and replacement. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepathregex/ func (o MiddlewareSpecPtrOutput) ReplacePathRegex() MiddlewareSpecReplacePathRegexPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecReplacePathRegex { if v == nil { @@ -4680,7 +5131,10 @@ func (o MiddlewareSpecPtrOutput) ReplacePathRegex() MiddlewareSpecReplacePathReg }).(MiddlewareSpecReplacePathRegexPtrOutput) } -// Retry holds the retry middleware configuration. This middleware reissues requests a given number of times to a backend server if that server does not reply. As soon as the server answers, the middleware stops retrying, regardless of the response status. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/retry/ +// Retry holds the retry middleware configuration. +// This middleware reissues requests a given number of times to a backend server if that server does not reply. +// As soon as the server answers, the middleware stops retrying, regardless of the response status. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/retry/ func (o MiddlewareSpecPtrOutput) Retry() MiddlewareSpecRetryPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecRetry { if v == nil { @@ -4690,7 +5144,9 @@ func (o MiddlewareSpecPtrOutput) Retry() MiddlewareSpecRetryPtrOutput { }).(MiddlewareSpecRetryPtrOutput) } -// StripPrefix holds the strip prefix middleware configuration. This middleware removes the specified prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefix/ +// StripPrefix holds the strip prefix middleware configuration. +// This middleware removes the specified prefixes from the URL path. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefix/ func (o MiddlewareSpecPtrOutput) StripPrefix() MiddlewareSpecStripPrefixPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecStripPrefix { if v == nil { @@ -4700,7 +5156,9 @@ func (o MiddlewareSpecPtrOutput) StripPrefix() MiddlewareSpecStripPrefixPtrOutpu }).(MiddlewareSpecStripPrefixPtrOutput) } -// StripPrefixRegex holds the strip prefix regex middleware configuration. This middleware removes the matching prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefixregex/ +// StripPrefixRegex holds the strip prefix regex middleware configuration. +// This middleware removes the matching prefixes from the URL path. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefixregex/ func (o MiddlewareSpecPtrOutput) StripPrefixRegex() MiddlewareSpecStripPrefixRegexPtrOutput { return o.ApplyT(func(v *MiddlewareSpec) *MiddlewareSpecStripPrefixRegex { if v == nil { @@ -4710,9 +5168,12 @@ func (o MiddlewareSpecPtrOutput) StripPrefixRegex() MiddlewareSpecStripPrefixReg }).(MiddlewareSpecStripPrefixRegexPtrOutput) } -// AddPrefix holds the add prefix middleware configuration. This middleware updates the path of a request before forwarding it. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/addprefix/ +// AddPrefix holds the add prefix middleware configuration. +// This middleware updates the path of a request before forwarding it. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/addprefix/ type MiddlewareSpecAddPrefix struct { - // Prefix is the string to add before the current path in the requested URL. It should include a leading slash (/). + // Prefix is the string to add before the current path in the requested URL. + // It should include a leading slash (/). Prefix *string `pulumi:"prefix"` } @@ -4727,9 +5188,12 @@ type MiddlewareSpecAddPrefixInput interface { ToMiddlewareSpecAddPrefixOutputWithContext(context.Context) MiddlewareSpecAddPrefixOutput } -// AddPrefix holds the add prefix middleware configuration. This middleware updates the path of a request before forwarding it. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/addprefix/ +// AddPrefix holds the add prefix middleware configuration. +// This middleware updates the path of a request before forwarding it. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/addprefix/ type MiddlewareSpecAddPrefixArgs struct { - // Prefix is the string to add before the current path in the requested URL. It should include a leading slash (/). + // Prefix is the string to add before the current path in the requested URL. + // It should include a leading slash (/). Prefix pulumi.StringPtrInput `pulumi:"prefix"` } @@ -4798,7 +5262,9 @@ func (i *middlewareSpecAddPrefixPtrType) ToOutput(ctx context.Context) pulumix.O } } -// AddPrefix holds the add prefix middleware configuration. This middleware updates the path of a request before forwarding it. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/addprefix/ +// AddPrefix holds the add prefix middleware configuration. +// This middleware updates the path of a request before forwarding it. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/addprefix/ type MiddlewareSpecAddPrefixOutput struct{ *pulumi.OutputState } func (MiddlewareSpecAddPrefixOutput) ElementType() reflect.Type { @@ -4829,7 +5295,8 @@ func (o MiddlewareSpecAddPrefixOutput) ToOutput(ctx context.Context) pulumix.Out } } -// Prefix is the string to add before the current path in the requested URL. It should include a leading slash (/). +// Prefix is the string to add before the current path in the requested URL. +// It should include a leading slash (/). func (o MiddlewareSpecAddPrefixOutput) Prefix() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecAddPrefix) *string { return v.Prefix }).(pulumi.StringPtrOutput) } @@ -4864,7 +5331,8 @@ func (o MiddlewareSpecAddPrefixPtrOutput) Elem() MiddlewareSpecAddPrefixOutput { }).(MiddlewareSpecAddPrefixOutput) } -// Prefix is the string to add before the current path in the requested URL. It should include a leading slash (/). +// Prefix is the string to add before the current path in the requested URL. +// It should include a leading slash (/). func (o MiddlewareSpecAddPrefixPtrOutput) Prefix() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecAddPrefix) *string { if v == nil { @@ -4874,13 +5342,18 @@ func (o MiddlewareSpecAddPrefixPtrOutput) Prefix() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// BasicAuth holds the basic auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/ +// BasicAuth holds the basic auth middleware configuration. +// This middleware restricts access to your services to known users. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/ type MiddlewareSpecBasicAuth struct { - // HeaderField defines a header field to store the authenticated user. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield + // HeaderField defines a header field to store the authenticated user. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield HeaderField *string `pulumi:"headerField"` - // Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. Default: traefik. + // Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. + // Default: traefik. Realm *string `pulumi:"realm"` - // RemoveHeader sets the removeHeader option to true to remove the authorization header before forwarding the request to your service. Default: false. + // RemoveHeader sets the removeHeader option to true to remove the authorization header before forwarding the request to your service. + // Default: false. RemoveHeader *bool `pulumi:"removeHeader"` // Secret is the name of the referenced Kubernetes Secret containing user credentials. Secret *string `pulumi:"secret"` @@ -4897,13 +5370,18 @@ type MiddlewareSpecBasicAuthInput interface { ToMiddlewareSpecBasicAuthOutputWithContext(context.Context) MiddlewareSpecBasicAuthOutput } -// BasicAuth holds the basic auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/ +// BasicAuth holds the basic auth middleware configuration. +// This middleware restricts access to your services to known users. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/ type MiddlewareSpecBasicAuthArgs struct { - // HeaderField defines a header field to store the authenticated user. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield + // HeaderField defines a header field to store the authenticated user. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield HeaderField pulumi.StringPtrInput `pulumi:"headerField"` - // Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. Default: traefik. + // Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. + // Default: traefik. Realm pulumi.StringPtrInput `pulumi:"realm"` - // RemoveHeader sets the removeHeader option to true to remove the authorization header before forwarding the request to your service. Default: false. + // RemoveHeader sets the removeHeader option to true to remove the authorization header before forwarding the request to your service. + // Default: false. RemoveHeader pulumi.BoolPtrInput `pulumi:"removeHeader"` // Secret is the name of the referenced Kubernetes Secret containing user credentials. Secret pulumi.StringPtrInput `pulumi:"secret"` @@ -4974,7 +5452,9 @@ func (i *middlewareSpecBasicAuthPtrType) ToOutput(ctx context.Context) pulumix.O } } -// BasicAuth holds the basic auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/ +// BasicAuth holds the basic auth middleware configuration. +// This middleware restricts access to your services to known users. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/ type MiddlewareSpecBasicAuthOutput struct{ *pulumi.OutputState } func (MiddlewareSpecBasicAuthOutput) ElementType() reflect.Type { @@ -5005,17 +5485,20 @@ func (o MiddlewareSpecBasicAuthOutput) ToOutput(ctx context.Context) pulumix.Out } } -// HeaderField defines a header field to store the authenticated user. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield +// HeaderField defines a header field to store the authenticated user. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield func (o MiddlewareSpecBasicAuthOutput) HeaderField() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecBasicAuth) *string { return v.HeaderField }).(pulumi.StringPtrOutput) } -// Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. Default: traefik. +// Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. +// Default: traefik. func (o MiddlewareSpecBasicAuthOutput) Realm() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecBasicAuth) *string { return v.Realm }).(pulumi.StringPtrOutput) } -// RemoveHeader sets the removeHeader option to true to remove the authorization header before forwarding the request to your service. Default: false. +// RemoveHeader sets the removeHeader option to true to remove the authorization header before forwarding the request to your service. +// Default: false. func (o MiddlewareSpecBasicAuthOutput) RemoveHeader() pulumi.BoolPtrOutput { return o.ApplyT(func(v MiddlewareSpecBasicAuth) *bool { return v.RemoveHeader }).(pulumi.BoolPtrOutput) } @@ -5055,7 +5538,8 @@ func (o MiddlewareSpecBasicAuthPtrOutput) Elem() MiddlewareSpecBasicAuthOutput { }).(MiddlewareSpecBasicAuthOutput) } -// HeaderField defines a header field to store the authenticated user. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield +// HeaderField defines a header field to store the authenticated user. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield func (o MiddlewareSpecBasicAuthPtrOutput) HeaderField() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecBasicAuth) *string { if v == nil { @@ -5065,7 +5549,8 @@ func (o MiddlewareSpecBasicAuthPtrOutput) HeaderField() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. Default: traefik. +// Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. +// Default: traefik. func (o MiddlewareSpecBasicAuthPtrOutput) Realm() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecBasicAuth) *string { if v == nil { @@ -5075,7 +5560,8 @@ func (o MiddlewareSpecBasicAuthPtrOutput) Realm() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// RemoveHeader sets the removeHeader option to true to remove the authorization header before forwarding the request to your service. Default: false. +// RemoveHeader sets the removeHeader option to true to remove the authorization header before forwarding the request to your service. +// Default: false. func (o MiddlewareSpecBasicAuthPtrOutput) RemoveHeader() pulumi.BoolPtrOutput { return o.ApplyT(func(v *MiddlewareSpecBasicAuth) *bool { if v == nil { @@ -5095,17 +5581,27 @@ func (o MiddlewareSpecBasicAuthPtrOutput) Secret() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// Buffering holds the buffering middleware configuration. This middleware retries or limits the size of requests that can be forwarded to backends. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#maxrequestbodybytes +// Buffering holds the buffering middleware configuration. +// This middleware retries or limits the size of requests that can be forwarded to backends. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#maxrequestbodybytes type MiddlewareSpecBuffering struct { - // MaxRequestBodyBytes defines the maximum allowed body size for the request (in bytes). If the request exceeds the allowed size, it is not forwarded to the service, and the client gets a 413 (Request Entity Too Large) response. Default: 0 (no maximum). + // MaxRequestBodyBytes defines the maximum allowed body size for the request (in bytes). + // If the request exceeds the allowed size, it is not forwarded to the service, and the client gets a 413 (Request Entity Too Large) response. + // Default: 0 (no maximum). MaxRequestBodyBytes *int `pulumi:"maxRequestBodyBytes"` - // MaxResponseBodyBytes defines the maximum allowed response size from the service (in bytes). If the response exceeds the allowed size, it is not forwarded to the client. The client gets a 500 (Internal Server Error) response instead. Default: 0 (no maximum). + // MaxResponseBodyBytes defines the maximum allowed response size from the service (in bytes). + // If the response exceeds the allowed size, it is not forwarded to the client. The client gets a 500 (Internal Server Error) response instead. + // Default: 0 (no maximum). MaxResponseBodyBytes *int `pulumi:"maxResponseBodyBytes"` - // MemRequestBodyBytes defines the threshold (in bytes) from which the request will be buffered on disk instead of in memory. Default: 1048576 (1Mi). + // MemRequestBodyBytes defines the threshold (in bytes) from which the request will be buffered on disk instead of in memory. + // Default: 1048576 (1Mi). MemRequestBodyBytes *int `pulumi:"memRequestBodyBytes"` - // MemResponseBodyBytes defines the threshold (in bytes) from which the response will be buffered on disk instead of in memory. Default: 1048576 (1Mi). + // MemResponseBodyBytes defines the threshold (in bytes) from which the response will be buffered on disk instead of in memory. + // Default: 1048576 (1Mi). MemResponseBodyBytes *int `pulumi:"memResponseBodyBytes"` - // RetryExpression defines the retry conditions. It is a logical combination of functions with operators AND (&&) and OR (||). More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#retryexpression + // RetryExpression defines the retry conditions. + // It is a logical combination of functions with operators AND (&&) and OR (||). + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#retryexpression RetryExpression *string `pulumi:"retryExpression"` } @@ -5120,17 +5616,27 @@ type MiddlewareSpecBufferingInput interface { ToMiddlewareSpecBufferingOutputWithContext(context.Context) MiddlewareSpecBufferingOutput } -// Buffering holds the buffering middleware configuration. This middleware retries or limits the size of requests that can be forwarded to backends. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#maxrequestbodybytes +// Buffering holds the buffering middleware configuration. +// This middleware retries or limits the size of requests that can be forwarded to backends. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#maxrequestbodybytes type MiddlewareSpecBufferingArgs struct { - // MaxRequestBodyBytes defines the maximum allowed body size for the request (in bytes). If the request exceeds the allowed size, it is not forwarded to the service, and the client gets a 413 (Request Entity Too Large) response. Default: 0 (no maximum). + // MaxRequestBodyBytes defines the maximum allowed body size for the request (in bytes). + // If the request exceeds the allowed size, it is not forwarded to the service, and the client gets a 413 (Request Entity Too Large) response. + // Default: 0 (no maximum). MaxRequestBodyBytes pulumi.IntPtrInput `pulumi:"maxRequestBodyBytes"` - // MaxResponseBodyBytes defines the maximum allowed response size from the service (in bytes). If the response exceeds the allowed size, it is not forwarded to the client. The client gets a 500 (Internal Server Error) response instead. Default: 0 (no maximum). + // MaxResponseBodyBytes defines the maximum allowed response size from the service (in bytes). + // If the response exceeds the allowed size, it is not forwarded to the client. The client gets a 500 (Internal Server Error) response instead. + // Default: 0 (no maximum). MaxResponseBodyBytes pulumi.IntPtrInput `pulumi:"maxResponseBodyBytes"` - // MemRequestBodyBytes defines the threshold (in bytes) from which the request will be buffered on disk instead of in memory. Default: 1048576 (1Mi). + // MemRequestBodyBytes defines the threshold (in bytes) from which the request will be buffered on disk instead of in memory. + // Default: 1048576 (1Mi). MemRequestBodyBytes pulumi.IntPtrInput `pulumi:"memRequestBodyBytes"` - // MemResponseBodyBytes defines the threshold (in bytes) from which the response will be buffered on disk instead of in memory. Default: 1048576 (1Mi). + // MemResponseBodyBytes defines the threshold (in bytes) from which the response will be buffered on disk instead of in memory. + // Default: 1048576 (1Mi). MemResponseBodyBytes pulumi.IntPtrInput `pulumi:"memResponseBodyBytes"` - // RetryExpression defines the retry conditions. It is a logical combination of functions with operators AND (&&) and OR (||). More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#retryexpression + // RetryExpression defines the retry conditions. + // It is a logical combination of functions with operators AND (&&) and OR (||). + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#retryexpression RetryExpression pulumi.StringPtrInput `pulumi:"retryExpression"` } @@ -5199,7 +5705,9 @@ func (i *middlewareSpecBufferingPtrType) ToOutput(ctx context.Context) pulumix.O } } -// Buffering holds the buffering middleware configuration. This middleware retries or limits the size of requests that can be forwarded to backends. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#maxrequestbodybytes +// Buffering holds the buffering middleware configuration. +// This middleware retries or limits the size of requests that can be forwarded to backends. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#maxrequestbodybytes type MiddlewareSpecBufferingOutput struct{ *pulumi.OutputState } func (MiddlewareSpecBufferingOutput) ElementType() reflect.Type { @@ -5230,27 +5738,35 @@ func (o MiddlewareSpecBufferingOutput) ToOutput(ctx context.Context) pulumix.Out } } -// MaxRequestBodyBytes defines the maximum allowed body size for the request (in bytes). If the request exceeds the allowed size, it is not forwarded to the service, and the client gets a 413 (Request Entity Too Large) response. Default: 0 (no maximum). +// MaxRequestBodyBytes defines the maximum allowed body size for the request (in bytes). +// If the request exceeds the allowed size, it is not forwarded to the service, and the client gets a 413 (Request Entity Too Large) response. +// Default: 0 (no maximum). func (o MiddlewareSpecBufferingOutput) MaxRequestBodyBytes() pulumi.IntPtrOutput { return o.ApplyT(func(v MiddlewareSpecBuffering) *int { return v.MaxRequestBodyBytes }).(pulumi.IntPtrOutput) } -// MaxResponseBodyBytes defines the maximum allowed response size from the service (in bytes). If the response exceeds the allowed size, it is not forwarded to the client. The client gets a 500 (Internal Server Error) response instead. Default: 0 (no maximum). +// MaxResponseBodyBytes defines the maximum allowed response size from the service (in bytes). +// If the response exceeds the allowed size, it is not forwarded to the client. The client gets a 500 (Internal Server Error) response instead. +// Default: 0 (no maximum). func (o MiddlewareSpecBufferingOutput) MaxResponseBodyBytes() pulumi.IntPtrOutput { return o.ApplyT(func(v MiddlewareSpecBuffering) *int { return v.MaxResponseBodyBytes }).(pulumi.IntPtrOutput) } -// MemRequestBodyBytes defines the threshold (in bytes) from which the request will be buffered on disk instead of in memory. Default: 1048576 (1Mi). +// MemRequestBodyBytes defines the threshold (in bytes) from which the request will be buffered on disk instead of in memory. +// Default: 1048576 (1Mi). func (o MiddlewareSpecBufferingOutput) MemRequestBodyBytes() pulumi.IntPtrOutput { return o.ApplyT(func(v MiddlewareSpecBuffering) *int { return v.MemRequestBodyBytes }).(pulumi.IntPtrOutput) } -// MemResponseBodyBytes defines the threshold (in bytes) from which the response will be buffered on disk instead of in memory. Default: 1048576 (1Mi). +// MemResponseBodyBytes defines the threshold (in bytes) from which the response will be buffered on disk instead of in memory. +// Default: 1048576 (1Mi). func (o MiddlewareSpecBufferingOutput) MemResponseBodyBytes() pulumi.IntPtrOutput { return o.ApplyT(func(v MiddlewareSpecBuffering) *int { return v.MemResponseBodyBytes }).(pulumi.IntPtrOutput) } -// RetryExpression defines the retry conditions. It is a logical combination of functions with operators AND (&&) and OR (||). More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#retryexpression +// RetryExpression defines the retry conditions. +// It is a logical combination of functions with operators AND (&&) and OR (||). +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#retryexpression func (o MiddlewareSpecBufferingOutput) RetryExpression() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecBuffering) *string { return v.RetryExpression }).(pulumi.StringPtrOutput) } @@ -5285,7 +5801,9 @@ func (o MiddlewareSpecBufferingPtrOutput) Elem() MiddlewareSpecBufferingOutput { }).(MiddlewareSpecBufferingOutput) } -// MaxRequestBodyBytes defines the maximum allowed body size for the request (in bytes). If the request exceeds the allowed size, it is not forwarded to the service, and the client gets a 413 (Request Entity Too Large) response. Default: 0 (no maximum). +// MaxRequestBodyBytes defines the maximum allowed body size for the request (in bytes). +// If the request exceeds the allowed size, it is not forwarded to the service, and the client gets a 413 (Request Entity Too Large) response. +// Default: 0 (no maximum). func (o MiddlewareSpecBufferingPtrOutput) MaxRequestBodyBytes() pulumi.IntPtrOutput { return o.ApplyT(func(v *MiddlewareSpecBuffering) *int { if v == nil { @@ -5295,7 +5813,9 @@ func (o MiddlewareSpecBufferingPtrOutput) MaxRequestBodyBytes() pulumi.IntPtrOut }).(pulumi.IntPtrOutput) } -// MaxResponseBodyBytes defines the maximum allowed response size from the service (in bytes). If the response exceeds the allowed size, it is not forwarded to the client. The client gets a 500 (Internal Server Error) response instead. Default: 0 (no maximum). +// MaxResponseBodyBytes defines the maximum allowed response size from the service (in bytes). +// If the response exceeds the allowed size, it is not forwarded to the client. The client gets a 500 (Internal Server Error) response instead. +// Default: 0 (no maximum). func (o MiddlewareSpecBufferingPtrOutput) MaxResponseBodyBytes() pulumi.IntPtrOutput { return o.ApplyT(func(v *MiddlewareSpecBuffering) *int { if v == nil { @@ -5305,7 +5825,8 @@ func (o MiddlewareSpecBufferingPtrOutput) MaxResponseBodyBytes() pulumi.IntPtrOu }).(pulumi.IntPtrOutput) } -// MemRequestBodyBytes defines the threshold (in bytes) from which the request will be buffered on disk instead of in memory. Default: 1048576 (1Mi). +// MemRequestBodyBytes defines the threshold (in bytes) from which the request will be buffered on disk instead of in memory. +// Default: 1048576 (1Mi). func (o MiddlewareSpecBufferingPtrOutput) MemRequestBodyBytes() pulumi.IntPtrOutput { return o.ApplyT(func(v *MiddlewareSpecBuffering) *int { if v == nil { @@ -5315,7 +5836,8 @@ func (o MiddlewareSpecBufferingPtrOutput) MemRequestBodyBytes() pulumi.IntPtrOut }).(pulumi.IntPtrOutput) } -// MemResponseBodyBytes defines the threshold (in bytes) from which the response will be buffered on disk instead of in memory. Default: 1048576 (1Mi). +// MemResponseBodyBytes defines the threshold (in bytes) from which the response will be buffered on disk instead of in memory. +// Default: 1048576 (1Mi). func (o MiddlewareSpecBufferingPtrOutput) MemResponseBodyBytes() pulumi.IntPtrOutput { return o.ApplyT(func(v *MiddlewareSpecBuffering) *int { if v == nil { @@ -5325,7 +5847,9 @@ func (o MiddlewareSpecBufferingPtrOutput) MemResponseBodyBytes() pulumi.IntPtrOu }).(pulumi.IntPtrOutput) } -// RetryExpression defines the retry conditions. It is a logical combination of functions with operators AND (&&) and OR (||). More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#retryexpression +// RetryExpression defines the retry conditions. +// It is a logical combination of functions with operators AND (&&) and OR (||). +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#retryexpression func (o MiddlewareSpecBufferingPtrOutput) RetryExpression() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecBuffering) *string { if v == nil { @@ -5335,7 +5859,9 @@ func (o MiddlewareSpecBufferingPtrOutput) RetryExpression() pulumi.StringPtrOutp }).(pulumi.StringPtrOutput) } -// Chain holds the configuration of the chain middleware. This middleware enables to define reusable combinations of other pieces of middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/chain/ +// Chain holds the configuration of the chain middleware. +// This middleware enables to define reusable combinations of other pieces of middleware. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/chain/ type MiddlewareSpecChain struct { // Middlewares is the list of MiddlewareRef which composes the chain. Middlewares []MiddlewareSpecChainMiddlewares `pulumi:"middlewares"` @@ -5352,7 +5878,9 @@ type MiddlewareSpecChainInput interface { ToMiddlewareSpecChainOutputWithContext(context.Context) MiddlewareSpecChainOutput } -// Chain holds the configuration of the chain middleware. This middleware enables to define reusable combinations of other pieces of middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/chain/ +// Chain holds the configuration of the chain middleware. +// This middleware enables to define reusable combinations of other pieces of middleware. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/chain/ type MiddlewareSpecChainArgs struct { // Middlewares is the list of MiddlewareRef which composes the chain. Middlewares MiddlewareSpecChainMiddlewaresArrayInput `pulumi:"middlewares"` @@ -5423,7 +5951,9 @@ func (i *middlewareSpecChainPtrType) ToOutput(ctx context.Context) pulumix.Outpu } } -// Chain holds the configuration of the chain middleware. This middleware enables to define reusable combinations of other pieces of middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/chain/ +// Chain holds the configuration of the chain middleware. +// This middleware enables to define reusable combinations of other pieces of middleware. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/chain/ type MiddlewareSpecChainOutput struct{ *pulumi.OutputState } func (MiddlewareSpecChainOutput) ElementType() reflect.Type { @@ -5853,11 +6383,14 @@ func (o MiddlewareSpecCircuitBreakerPtrOutput) RecoveryDuration() pulumi.AnyOutp }).(pulumi.AnyOutput) } -// Compress holds the compress middleware configuration. This middleware compresses responses before sending them to the client, using gzip compression. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/compress/ +// Compress holds the compress middleware configuration. +// This middleware compresses responses before sending them to the client, using gzip compression. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/compress/ type MiddlewareSpecCompress struct { // ExcludedContentTypes defines the list of content types to compare the Content-Type header of the incoming requests and responses before compressing. ExcludedContentTypes []string `pulumi:"excludedContentTypes"` - // MinResponseBodyBytes defines the minimum amount of bytes a response body must have to be compressed. Default: 1024. + // MinResponseBodyBytes defines the minimum amount of bytes a response body must have to be compressed. + // Default: 1024. MinResponseBodyBytes *int `pulumi:"minResponseBodyBytes"` } @@ -5872,11 +6405,14 @@ type MiddlewareSpecCompressInput interface { ToMiddlewareSpecCompressOutputWithContext(context.Context) MiddlewareSpecCompressOutput } -// Compress holds the compress middleware configuration. This middleware compresses responses before sending them to the client, using gzip compression. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/compress/ +// Compress holds the compress middleware configuration. +// This middleware compresses responses before sending them to the client, using gzip compression. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/compress/ type MiddlewareSpecCompressArgs struct { // ExcludedContentTypes defines the list of content types to compare the Content-Type header of the incoming requests and responses before compressing. ExcludedContentTypes pulumi.StringArrayInput `pulumi:"excludedContentTypes"` - // MinResponseBodyBytes defines the minimum amount of bytes a response body must have to be compressed. Default: 1024. + // MinResponseBodyBytes defines the minimum amount of bytes a response body must have to be compressed. + // Default: 1024. MinResponseBodyBytes pulumi.IntPtrInput `pulumi:"minResponseBodyBytes"` } @@ -5945,7 +6481,9 @@ func (i *middlewareSpecCompressPtrType) ToOutput(ctx context.Context) pulumix.Ou } } -// Compress holds the compress middleware configuration. This middleware compresses responses before sending them to the client, using gzip compression. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/compress/ +// Compress holds the compress middleware configuration. +// This middleware compresses responses before sending them to the client, using gzip compression. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/compress/ type MiddlewareSpecCompressOutput struct{ *pulumi.OutputState } func (MiddlewareSpecCompressOutput) ElementType() reflect.Type { @@ -5981,7 +6519,8 @@ func (o MiddlewareSpecCompressOutput) ExcludedContentTypes() pulumi.StringArrayO return o.ApplyT(func(v MiddlewareSpecCompress) []string { return v.ExcludedContentTypes }).(pulumi.StringArrayOutput) } -// MinResponseBodyBytes defines the minimum amount of bytes a response body must have to be compressed. Default: 1024. +// MinResponseBodyBytes defines the minimum amount of bytes a response body must have to be compressed. +// Default: 1024. func (o MiddlewareSpecCompressOutput) MinResponseBodyBytes() pulumi.IntPtrOutput { return o.ApplyT(func(v MiddlewareSpecCompress) *int { return v.MinResponseBodyBytes }).(pulumi.IntPtrOutput) } @@ -6026,7 +6565,8 @@ func (o MiddlewareSpecCompressPtrOutput) ExcludedContentTypes() pulumi.StringArr }).(pulumi.StringArrayOutput) } -// MinResponseBodyBytes defines the minimum amount of bytes a response body must have to be compressed. Default: 1024. +// MinResponseBodyBytes defines the minimum amount of bytes a response body must have to be compressed. +// Default: 1024. func (o MiddlewareSpecCompressPtrOutput) MinResponseBodyBytes() pulumi.IntPtrOutput { return o.ApplyT(func(v *MiddlewareSpecCompress) *int { if v == nil { @@ -6036,9 +6576,14 @@ func (o MiddlewareSpecCompressPtrOutput) MinResponseBodyBytes() pulumi.IntPtrOut }).(pulumi.IntPtrOutput) } -// ContentType holds the content-type middleware configuration. This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. +// ContentType holds the content-type middleware configuration. +// This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. type MiddlewareSpecContentType struct { - // AutoDetect specifies whether to let the `Content-Type` header, if it has not been set by the backend, be automatically set to a value derived from the contents of the response. As a proxy, the default behavior should be to leave the header alone, regardless of what the backend did with it. However, the historic default was to always auto-detect and set the header if it was nil, and it is going to be kept that way in order to support users currently relying on it. + // AutoDetect specifies whether to let the `Content-Type` header, if it has not been set by the backend, + // be automatically set to a value derived from the contents of the response. + // As a proxy, the default behavior should be to leave the header alone, regardless of what the backend did with it. + // However, the historic default was to always auto-detect and set the header if it was nil, + // and it is going to be kept that way in order to support users currently relying on it. AutoDetect *bool `pulumi:"autoDetect"` } @@ -6053,9 +6598,14 @@ type MiddlewareSpecContentTypeInput interface { ToMiddlewareSpecContentTypeOutputWithContext(context.Context) MiddlewareSpecContentTypeOutput } -// ContentType holds the content-type middleware configuration. This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. +// ContentType holds the content-type middleware configuration. +// This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. type MiddlewareSpecContentTypeArgs struct { - // AutoDetect specifies whether to let the `Content-Type` header, if it has not been set by the backend, be automatically set to a value derived from the contents of the response. As a proxy, the default behavior should be to leave the header alone, regardless of what the backend did with it. However, the historic default was to always auto-detect and set the header if it was nil, and it is going to be kept that way in order to support users currently relying on it. + // AutoDetect specifies whether to let the `Content-Type` header, if it has not been set by the backend, + // be automatically set to a value derived from the contents of the response. + // As a proxy, the default behavior should be to leave the header alone, regardless of what the backend did with it. + // However, the historic default was to always auto-detect and set the header if it was nil, + // and it is going to be kept that way in order to support users currently relying on it. AutoDetect pulumi.BoolPtrInput `pulumi:"autoDetect"` } @@ -6124,7 +6674,8 @@ func (i *middlewareSpecContentTypePtrType) ToOutput(ctx context.Context) pulumix } } -// ContentType holds the content-type middleware configuration. This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. +// ContentType holds the content-type middleware configuration. +// This middleware exists to enable the correct behavior until at least the default one can be changed in a future version. type MiddlewareSpecContentTypeOutput struct{ *pulumi.OutputState } func (MiddlewareSpecContentTypeOutput) ElementType() reflect.Type { @@ -6155,7 +6706,11 @@ func (o MiddlewareSpecContentTypeOutput) ToOutput(ctx context.Context) pulumix.O } } -// AutoDetect specifies whether to let the `Content-Type` header, if it has not been set by the backend, be automatically set to a value derived from the contents of the response. As a proxy, the default behavior should be to leave the header alone, regardless of what the backend did with it. However, the historic default was to always auto-detect and set the header if it was nil, and it is going to be kept that way in order to support users currently relying on it. +// AutoDetect specifies whether to let the `Content-Type` header, if it has not been set by the backend, +// be automatically set to a value derived from the contents of the response. +// As a proxy, the default behavior should be to leave the header alone, regardless of what the backend did with it. +// However, the historic default was to always auto-detect and set the header if it was nil, +// and it is going to be kept that way in order to support users currently relying on it. func (o MiddlewareSpecContentTypeOutput) AutoDetect() pulumi.BoolPtrOutput { return o.ApplyT(func(v MiddlewareSpecContentType) *bool { return v.AutoDetect }).(pulumi.BoolPtrOutput) } @@ -6190,7 +6745,11 @@ func (o MiddlewareSpecContentTypePtrOutput) Elem() MiddlewareSpecContentTypeOutp }).(MiddlewareSpecContentTypeOutput) } -// AutoDetect specifies whether to let the `Content-Type` header, if it has not been set by the backend, be automatically set to a value derived from the contents of the response. As a proxy, the default behavior should be to leave the header alone, regardless of what the backend did with it. However, the historic default was to always auto-detect and set the header if it was nil, and it is going to be kept that way in order to support users currently relying on it. +// AutoDetect specifies whether to let the `Content-Type` header, if it has not been set by the backend, +// be automatically set to a value derived from the contents of the response. +// As a proxy, the default behavior should be to leave the header alone, regardless of what the backend did with it. +// However, the historic default was to always auto-detect and set the header if it was nil, +// and it is going to be kept that way in order to support users currently relying on it. func (o MiddlewareSpecContentTypePtrOutput) AutoDetect() pulumi.BoolPtrOutput { return o.ApplyT(func(v *MiddlewareSpecContentType) *bool { if v == nil { @@ -6200,11 +6759,15 @@ func (o MiddlewareSpecContentTypePtrOutput) AutoDetect() pulumi.BoolPtrOutput { }).(pulumi.BoolPtrOutput) } -// DigestAuth holds the digest auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/digestauth/ +// DigestAuth holds the digest auth middleware configuration. +// This middleware restricts access to your services to known users. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/digestauth/ type MiddlewareSpecDigestAuth struct { - // HeaderField defines a header field to store the authenticated user. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield + // HeaderField defines a header field to store the authenticated user. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield HeaderField *string `pulumi:"headerField"` - // Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. Default: traefik. + // Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. + // Default: traefik. Realm *string `pulumi:"realm"` // RemoveHeader defines whether to remove the authorization header before forwarding the request to the backend. RemoveHeader *bool `pulumi:"removeHeader"` @@ -6223,11 +6786,15 @@ type MiddlewareSpecDigestAuthInput interface { ToMiddlewareSpecDigestAuthOutputWithContext(context.Context) MiddlewareSpecDigestAuthOutput } -// DigestAuth holds the digest auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/digestauth/ +// DigestAuth holds the digest auth middleware configuration. +// This middleware restricts access to your services to known users. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/digestauth/ type MiddlewareSpecDigestAuthArgs struct { - // HeaderField defines a header field to store the authenticated user. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield + // HeaderField defines a header field to store the authenticated user. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield HeaderField pulumi.StringPtrInput `pulumi:"headerField"` - // Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. Default: traefik. + // Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. + // Default: traefik. Realm pulumi.StringPtrInput `pulumi:"realm"` // RemoveHeader defines whether to remove the authorization header before forwarding the request to the backend. RemoveHeader pulumi.BoolPtrInput `pulumi:"removeHeader"` @@ -6300,7 +6867,9 @@ func (i *middlewareSpecDigestAuthPtrType) ToOutput(ctx context.Context) pulumix. } } -// DigestAuth holds the digest auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/digestauth/ +// DigestAuth holds the digest auth middleware configuration. +// This middleware restricts access to your services to known users. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/digestauth/ type MiddlewareSpecDigestAuthOutput struct{ *pulumi.OutputState } func (MiddlewareSpecDigestAuthOutput) ElementType() reflect.Type { @@ -6331,12 +6900,14 @@ func (o MiddlewareSpecDigestAuthOutput) ToOutput(ctx context.Context) pulumix.Ou } } -// HeaderField defines a header field to store the authenticated user. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield +// HeaderField defines a header field to store the authenticated user. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield func (o MiddlewareSpecDigestAuthOutput) HeaderField() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecDigestAuth) *string { return v.HeaderField }).(pulumi.StringPtrOutput) } -// Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. Default: traefik. +// Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. +// Default: traefik. func (o MiddlewareSpecDigestAuthOutput) Realm() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecDigestAuth) *string { return v.Realm }).(pulumi.StringPtrOutput) } @@ -6381,7 +6952,8 @@ func (o MiddlewareSpecDigestAuthPtrOutput) Elem() MiddlewareSpecDigestAuthOutput }).(MiddlewareSpecDigestAuthOutput) } -// HeaderField defines a header field to store the authenticated user. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield +// HeaderField defines a header field to store the authenticated user. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield func (o MiddlewareSpecDigestAuthPtrOutput) HeaderField() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecDigestAuth) *string { if v == nil { @@ -6391,7 +6963,8 @@ func (o MiddlewareSpecDigestAuthPtrOutput) HeaderField() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } -// Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. Default: traefik. +// Realm allows the protected resources on a server to be partitioned into a set of protection spaces, each with its own authentication scheme. +// Default: traefik. func (o MiddlewareSpecDigestAuthPtrOutput) Realm() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecDigestAuth) *string { if v == nil { @@ -6421,13 +6994,21 @@ func (o MiddlewareSpecDigestAuthPtrOutput) Secret() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// ErrorPage holds the custom error middleware configuration. This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/ +// ErrorPage holds the custom error middleware configuration. +// This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/ type MiddlewareSpecErrors struct { - // Query defines the URL for the error page (hosted by service). The {status} variable can be used in order to insert the status code in the URL. + // Query defines the URL for the error page (hosted by service). + // The {status} variable can be used in order to insert the status code in the URL. Query *string `pulumi:"query"` - // Service defines the reference to a Kubernetes Service that will serve the error page. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/#service + // Service defines the reference to a Kubernetes Service that will serve the error page. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/#service Service *MiddlewareSpecErrorsService `pulumi:"service"` - // Status defines which status or range of statuses should result in an error page. It can be either a status code as a number (500), as multiple comma-separated numbers (500,502), as ranges by separating two codes with a dash (500-599), or a combination of the two (404,418,500-599). + // Status defines which status or range of statuses should result in an error page. + // It can be either a status code as a number (500), + // as multiple comma-separated numbers (500,502), + // as ranges by separating two codes with a dash (500-599), + // or a combination of the two (404,418,500-599). Status []string `pulumi:"status"` } @@ -6442,13 +7023,21 @@ type MiddlewareSpecErrorsInput interface { ToMiddlewareSpecErrorsOutputWithContext(context.Context) MiddlewareSpecErrorsOutput } -// ErrorPage holds the custom error middleware configuration. This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/ +// ErrorPage holds the custom error middleware configuration. +// This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/ type MiddlewareSpecErrorsArgs struct { - // Query defines the URL for the error page (hosted by service). The {status} variable can be used in order to insert the status code in the URL. + // Query defines the URL for the error page (hosted by service). + // The {status} variable can be used in order to insert the status code in the URL. Query pulumi.StringPtrInput `pulumi:"query"` - // Service defines the reference to a Kubernetes Service that will serve the error page. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/#service + // Service defines the reference to a Kubernetes Service that will serve the error page. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/#service Service MiddlewareSpecErrorsServicePtrInput `pulumi:"service"` - // Status defines which status or range of statuses should result in an error page. It can be either a status code as a number (500), as multiple comma-separated numbers (500,502), as ranges by separating two codes with a dash (500-599), or a combination of the two (404,418,500-599). + // Status defines which status or range of statuses should result in an error page. + // It can be either a status code as a number (500), + // as multiple comma-separated numbers (500,502), + // as ranges by separating two codes with a dash (500-599), + // or a combination of the two (404,418,500-599). Status pulumi.StringArrayInput `pulumi:"status"` } @@ -6517,7 +7106,9 @@ func (i *middlewareSpecErrorsPtrType) ToOutput(ctx context.Context) pulumix.Outp } } -// ErrorPage holds the custom error middleware configuration. This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/ +// ErrorPage holds the custom error middleware configuration. +// This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/ type MiddlewareSpecErrorsOutput struct{ *pulumi.OutputState } func (MiddlewareSpecErrorsOutput) ElementType() reflect.Type { @@ -6548,17 +7139,23 @@ func (o MiddlewareSpecErrorsOutput) ToOutput(ctx context.Context) pulumix.Output } } -// Query defines the URL for the error page (hosted by service). The {status} variable can be used in order to insert the status code in the URL. +// Query defines the URL for the error page (hosted by service). +// The {status} variable can be used in order to insert the status code in the URL. func (o MiddlewareSpecErrorsOutput) Query() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecErrors) *string { return v.Query }).(pulumi.StringPtrOutput) } -// Service defines the reference to a Kubernetes Service that will serve the error page. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/#service +// Service defines the reference to a Kubernetes Service that will serve the error page. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/#service func (o MiddlewareSpecErrorsOutput) Service() MiddlewareSpecErrorsServicePtrOutput { return o.ApplyT(func(v MiddlewareSpecErrors) *MiddlewareSpecErrorsService { return v.Service }).(MiddlewareSpecErrorsServicePtrOutput) } -// Status defines which status or range of statuses should result in an error page. It can be either a status code as a number (500), as multiple comma-separated numbers (500,502), as ranges by separating two codes with a dash (500-599), or a combination of the two (404,418,500-599). +// Status defines which status or range of statuses should result in an error page. +// It can be either a status code as a number (500), +// as multiple comma-separated numbers (500,502), +// as ranges by separating two codes with a dash (500-599), +// or a combination of the two (404,418,500-599). func (o MiddlewareSpecErrorsOutput) Status() pulumi.StringArrayOutput { return o.ApplyT(func(v MiddlewareSpecErrors) []string { return v.Status }).(pulumi.StringArrayOutput) } @@ -6593,7 +7190,8 @@ func (o MiddlewareSpecErrorsPtrOutput) Elem() MiddlewareSpecErrorsOutput { }).(MiddlewareSpecErrorsOutput) } -// Query defines the URL for the error page (hosted by service). The {status} variable can be used in order to insert the status code in the URL. +// Query defines the URL for the error page (hosted by service). +// The {status} variable can be used in order to insert the status code in the URL. func (o MiddlewareSpecErrorsPtrOutput) Query() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecErrors) *string { if v == nil { @@ -6603,7 +7201,8 @@ func (o MiddlewareSpecErrorsPtrOutput) Query() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// Service defines the reference to a Kubernetes Service that will serve the error page. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/#service +// Service defines the reference to a Kubernetes Service that will serve the error page. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/#service func (o MiddlewareSpecErrorsPtrOutput) Service() MiddlewareSpecErrorsServicePtrOutput { return o.ApplyT(func(v *MiddlewareSpecErrors) *MiddlewareSpecErrorsService { if v == nil { @@ -6613,7 +7212,11 @@ func (o MiddlewareSpecErrorsPtrOutput) Service() MiddlewareSpecErrorsServicePtrO }).(MiddlewareSpecErrorsServicePtrOutput) } -// Status defines which status or range of statuses should result in an error page. It can be either a status code as a number (500), as multiple comma-separated numbers (500,502), as ranges by separating two codes with a dash (500-599), or a combination of the two (404,418,500-599). +// Status defines which status or range of statuses should result in an error page. +// It can be either a status code as a number (500), +// as multiple comma-separated numbers (500,502), +// as ranges by separating two codes with a dash (500-599), +// or a combination of the two (404,418,500-599). func (o MiddlewareSpecErrorsPtrOutput) Status() pulumi.StringArrayOutput { return o.ApplyT(func(v *MiddlewareSpecErrors) []string { if v == nil { @@ -6623,31 +7226,44 @@ func (o MiddlewareSpecErrorsPtrOutput) Status() pulumi.StringArrayOutput { }).(pulumi.StringArrayOutput) } -// Service defines the reference to a Kubernetes Service that will serve the error page. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/#service +// Service defines the reference to a Kubernetes Service that will serve the error page. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/#service type MiddlewareSpecErrorsService struct { // Kind defines the kind of the Service. Kind *string `pulumi:"kind"` - // Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. + // Name defines the name of the referenced Kubernetes Service or TraefikService. + // The differentiation between the two is specified in the Kind field. Name string `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service or TraefikService. Namespace *string `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB *bool `pulumi:"nativeLB"` - // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. + // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. + // By default, passHostHeader is true. PassHostHeader *bool `pulumi:"passHostHeader"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port interface{} `pulumi:"port"` // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. ResponseForwarding *MiddlewareSpecErrorsServiceResponseForwarding `pulumi:"responseForwarding"` - // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. + // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. + // It defaults to https when Kubernetes Service port is 443, http otherwise. Scheme *string `pulumi:"scheme"` - // ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. + // ServersTransport defines the name of ServersTransport resource to use. + // It allows to configure the transport between Traefik and your servers. + // Can only be used on a Kubernetes Service. ServersTransport *string `pulumi:"serversTransport"` - // Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions + // Sticky defines the sticky sessions configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions Sticky *MiddlewareSpecErrorsServiceSticky `pulumi:"sticky"` - // Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. + // Strategy defines the load balancing strategy between the servers. + // RoundRobin is the only supported value at the moment. Strategy *string `pulumi:"strategy"` - // Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). + // Weight defines the weight and should only be specified when Name references a TraefikService object + // (and to be precise, one that embeds a Weighted Round Robin). Weight *int `pulumi:"weight"` } @@ -6662,31 +7278,44 @@ type MiddlewareSpecErrorsServiceInput interface { ToMiddlewareSpecErrorsServiceOutputWithContext(context.Context) MiddlewareSpecErrorsServiceOutput } -// Service defines the reference to a Kubernetes Service that will serve the error page. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/#service +// Service defines the reference to a Kubernetes Service that will serve the error page. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/#service type MiddlewareSpecErrorsServiceArgs struct { // Kind defines the kind of the Service. Kind pulumi.StringPtrInput `pulumi:"kind"` - // Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. + // Name defines the name of the referenced Kubernetes Service or TraefikService. + // The differentiation between the two is specified in the Kind field. Name pulumi.StringInput `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service or TraefikService. Namespace pulumi.StringPtrInput `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB pulumi.BoolPtrInput `pulumi:"nativeLB"` - // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. + // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. + // By default, passHostHeader is true. PassHostHeader pulumi.BoolPtrInput `pulumi:"passHostHeader"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port pulumi.Input `pulumi:"port"` // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. ResponseForwarding MiddlewareSpecErrorsServiceResponseForwardingPtrInput `pulumi:"responseForwarding"` - // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. + // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. + // It defaults to https when Kubernetes Service port is 443, http otherwise. Scheme pulumi.StringPtrInput `pulumi:"scheme"` - // ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. + // ServersTransport defines the name of ServersTransport resource to use. + // It allows to configure the transport between Traefik and your servers. + // Can only be used on a Kubernetes Service. ServersTransport pulumi.StringPtrInput `pulumi:"serversTransport"` - // Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions + // Sticky defines the sticky sessions configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions Sticky MiddlewareSpecErrorsServiceStickyPtrInput `pulumi:"sticky"` - // Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. + // Strategy defines the load balancing strategy between the servers. + // RoundRobin is the only supported value at the moment. Strategy pulumi.StringPtrInput `pulumi:"strategy"` - // Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). + // Weight defines the weight and should only be specified when Name references a TraefikService object + // (and to be precise, one that embeds a Weighted Round Robin). Weight pulumi.IntPtrInput `pulumi:"weight"` } @@ -6755,7 +7384,8 @@ func (i *middlewareSpecErrorsServicePtrType) ToOutput(ctx context.Context) pulum } } -// Service defines the reference to a Kubernetes Service that will serve the error page. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/#service +// Service defines the reference to a Kubernetes Service that will serve the error page. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/#service type MiddlewareSpecErrorsServiceOutput struct{ *pulumi.OutputState } func (MiddlewareSpecErrorsServiceOutput) ElementType() reflect.Type { @@ -6791,7 +7421,8 @@ func (o MiddlewareSpecErrorsServiceOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecErrorsService) *string { return v.Kind }).(pulumi.StringPtrOutput) } -// Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. +// Name defines the name of the referenced Kubernetes Service or TraefikService. +// The differentiation between the two is specified in the Kind field. func (o MiddlewareSpecErrorsServiceOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v MiddlewareSpecErrorsService) string { return v.Name }).(pulumi.StringOutput) } @@ -6801,17 +7432,22 @@ func (o MiddlewareSpecErrorsServiceOutput) Namespace() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecErrorsService) *string { return v.Namespace }).(pulumi.StringPtrOutput) } -// NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. +// NativeLB controls, when creating the load-balancer, +// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. +// The Kubernetes Service itself does load-balance to the pods. +// By default, NativeLB is false. func (o MiddlewareSpecErrorsServiceOutput) NativeLB() pulumi.BoolPtrOutput { return o.ApplyT(func(v MiddlewareSpecErrorsService) *bool { return v.NativeLB }).(pulumi.BoolPtrOutput) } -// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. +// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. +// By default, passHostHeader is true. func (o MiddlewareSpecErrorsServiceOutput) PassHostHeader() pulumi.BoolPtrOutput { return o.ApplyT(func(v MiddlewareSpecErrorsService) *bool { return v.PassHostHeader }).(pulumi.BoolPtrOutput) } -// Port defines the port of a Kubernetes Service. This can be a reference to a named port. +// Port defines the port of a Kubernetes Service. +// This can be a reference to a named port. func (o MiddlewareSpecErrorsServiceOutput) Port() pulumi.AnyOutput { return o.ApplyT(func(v MiddlewareSpecErrorsService) interface{} { return v.Port }).(pulumi.AnyOutput) } @@ -6823,27 +7459,33 @@ func (o MiddlewareSpecErrorsServiceOutput) ResponseForwarding() MiddlewareSpecEr }).(MiddlewareSpecErrorsServiceResponseForwardingPtrOutput) } -// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. +// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. +// It defaults to https when Kubernetes Service port is 443, http otherwise. func (o MiddlewareSpecErrorsServiceOutput) Scheme() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecErrorsService) *string { return v.Scheme }).(pulumi.StringPtrOutput) } -// ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. +// ServersTransport defines the name of ServersTransport resource to use. +// It allows to configure the transport between Traefik and your servers. +// Can only be used on a Kubernetes Service. func (o MiddlewareSpecErrorsServiceOutput) ServersTransport() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecErrorsService) *string { return v.ServersTransport }).(pulumi.StringPtrOutput) } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions func (o MiddlewareSpecErrorsServiceOutput) Sticky() MiddlewareSpecErrorsServiceStickyPtrOutput { return o.ApplyT(func(v MiddlewareSpecErrorsService) *MiddlewareSpecErrorsServiceSticky { return v.Sticky }).(MiddlewareSpecErrorsServiceStickyPtrOutput) } -// Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. +// Strategy defines the load balancing strategy between the servers. +// RoundRobin is the only supported value at the moment. func (o MiddlewareSpecErrorsServiceOutput) Strategy() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecErrorsService) *string { return v.Strategy }).(pulumi.StringPtrOutput) } -// Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). +// Weight defines the weight and should only be specified when Name references a TraefikService object +// (and to be precise, one that embeds a Weighted Round Robin). func (o MiddlewareSpecErrorsServiceOutput) Weight() pulumi.IntPtrOutput { return o.ApplyT(func(v MiddlewareSpecErrorsService) *int { return v.Weight }).(pulumi.IntPtrOutput) } @@ -6888,7 +7530,8 @@ func (o MiddlewareSpecErrorsServicePtrOutput) Kind() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. +// Name defines the name of the referenced Kubernetes Service or TraefikService. +// The differentiation between the two is specified in the Kind field. func (o MiddlewareSpecErrorsServicePtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecErrorsService) *string { if v == nil { @@ -6908,7 +7551,10 @@ func (o MiddlewareSpecErrorsServicePtrOutput) Namespace() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } -// NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. +// NativeLB controls, when creating the load-balancer, +// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. +// The Kubernetes Service itself does load-balance to the pods. +// By default, NativeLB is false. func (o MiddlewareSpecErrorsServicePtrOutput) NativeLB() pulumi.BoolPtrOutput { return o.ApplyT(func(v *MiddlewareSpecErrorsService) *bool { if v == nil { @@ -6918,7 +7564,8 @@ func (o MiddlewareSpecErrorsServicePtrOutput) NativeLB() pulumi.BoolPtrOutput { }).(pulumi.BoolPtrOutput) } -// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. +// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. +// By default, passHostHeader is true. func (o MiddlewareSpecErrorsServicePtrOutput) PassHostHeader() pulumi.BoolPtrOutput { return o.ApplyT(func(v *MiddlewareSpecErrorsService) *bool { if v == nil { @@ -6928,7 +7575,8 @@ func (o MiddlewareSpecErrorsServicePtrOutput) PassHostHeader() pulumi.BoolPtrOut }).(pulumi.BoolPtrOutput) } -// Port defines the port of a Kubernetes Service. This can be a reference to a named port. +// Port defines the port of a Kubernetes Service. +// This can be a reference to a named port. func (o MiddlewareSpecErrorsServicePtrOutput) Port() pulumi.AnyOutput { return o.ApplyT(func(v *MiddlewareSpecErrorsService) interface{} { if v == nil { @@ -6948,7 +7596,8 @@ func (o MiddlewareSpecErrorsServicePtrOutput) ResponseForwarding() MiddlewareSpe }).(MiddlewareSpecErrorsServiceResponseForwardingPtrOutput) } -// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. +// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. +// It defaults to https when Kubernetes Service port is 443, http otherwise. func (o MiddlewareSpecErrorsServicePtrOutput) Scheme() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecErrorsService) *string { if v == nil { @@ -6958,7 +7607,9 @@ func (o MiddlewareSpecErrorsServicePtrOutput) Scheme() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. +// ServersTransport defines the name of ServersTransport resource to use. +// It allows to configure the transport between Traefik and your servers. +// Can only be used on a Kubernetes Service. func (o MiddlewareSpecErrorsServicePtrOutput) ServersTransport() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecErrorsService) *string { if v == nil { @@ -6968,7 +7619,8 @@ func (o MiddlewareSpecErrorsServicePtrOutput) ServersTransport() pulumi.StringPt }).(pulumi.StringPtrOutput) } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions func (o MiddlewareSpecErrorsServicePtrOutput) Sticky() MiddlewareSpecErrorsServiceStickyPtrOutput { return o.ApplyT(func(v *MiddlewareSpecErrorsService) *MiddlewareSpecErrorsServiceSticky { if v == nil { @@ -6978,7 +7630,8 @@ func (o MiddlewareSpecErrorsServicePtrOutput) Sticky() MiddlewareSpecErrorsServi }).(MiddlewareSpecErrorsServiceStickyPtrOutput) } -// Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. +// Strategy defines the load balancing strategy between the servers. +// RoundRobin is the only supported value at the moment. func (o MiddlewareSpecErrorsServicePtrOutput) Strategy() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecErrorsService) *string { if v == nil { @@ -6988,7 +7641,8 @@ func (o MiddlewareSpecErrorsServicePtrOutput) Strategy() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } -// Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). +// Weight defines the weight and should only be specified when Name references a TraefikService object +// (and to be precise, one that embeds a Weighted Round Robin). func (o MiddlewareSpecErrorsServicePtrOutput) Weight() pulumi.IntPtrOutput { return o.ApplyT(func(v *MiddlewareSpecErrorsService) *int { if v == nil { @@ -7000,7 +7654,11 @@ func (o MiddlewareSpecErrorsServicePtrOutput) Weight() pulumi.IntPtrOutput { // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. type MiddlewareSpecErrorsServiceResponseForwarding struct { - // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms + // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. + // A negative value means to flush immediately after each write to the client. + // This configuration is ignored when ReverseProxy recognizes a response as a streaming response; + // for such responses, writes are flushed to the client immediately. + // Default: 100ms FlushInterval *string `pulumi:"flushInterval"` } @@ -7017,7 +7675,11 @@ type MiddlewareSpecErrorsServiceResponseForwardingInput interface { // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. type MiddlewareSpecErrorsServiceResponseForwardingArgs struct { - // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms + // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. + // A negative value means to flush immediately after each write to the client. + // This configuration is ignored when ReverseProxy recognizes a response as a streaming response; + // for such responses, writes are flushed to the client immediately. + // Default: 100ms FlushInterval pulumi.StringPtrInput `pulumi:"flushInterval"` } @@ -7117,7 +7779,11 @@ func (o MiddlewareSpecErrorsServiceResponseForwardingOutput) ToOutput(ctx contex } } -// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms +// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. +// A negative value means to flush immediately after each write to the client. +// This configuration is ignored when ReverseProxy recognizes a response as a streaming response; +// for such responses, writes are flushed to the client immediately. +// Default: 100ms func (o MiddlewareSpecErrorsServiceResponseForwardingOutput) FlushInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecErrorsServiceResponseForwarding) *string { return v.FlushInterval }).(pulumi.StringPtrOutput) } @@ -7152,7 +7818,11 @@ func (o MiddlewareSpecErrorsServiceResponseForwardingPtrOutput) Elem() Middlewar }).(MiddlewareSpecErrorsServiceResponseForwardingOutput) } -// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms +// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. +// A negative value means to flush immediately after each write to the client. +// This configuration is ignored when ReverseProxy recognizes a response as a streaming response; +// for such responses, writes are flushed to the client immediately. +// Default: 100ms func (o MiddlewareSpecErrorsServiceResponseForwardingPtrOutput) FlushInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecErrorsServiceResponseForwarding) *string { if v == nil { @@ -7162,7 +7832,8 @@ func (o MiddlewareSpecErrorsServiceResponseForwardingPtrOutput) FlushInterval() }).(pulumi.StringPtrOutput) } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type MiddlewareSpecErrorsServiceSticky struct { // Cookie defines the sticky cookie configuration. Cookie *MiddlewareSpecErrorsServiceStickyCookie `pulumi:"cookie"` @@ -7179,7 +7850,8 @@ type MiddlewareSpecErrorsServiceStickyInput interface { ToMiddlewareSpecErrorsServiceStickyOutputWithContext(context.Context) MiddlewareSpecErrorsServiceStickyOutput } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type MiddlewareSpecErrorsServiceStickyArgs struct { // Cookie defines the sticky cookie configuration. Cookie MiddlewareSpecErrorsServiceStickyCookiePtrInput `pulumi:"cookie"` @@ -7250,7 +7922,8 @@ func (i *middlewareSpecErrorsServiceStickyPtrType) ToOutput(ctx context.Context) } } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type MiddlewareSpecErrorsServiceStickyOutput struct{ *pulumi.OutputState } func (MiddlewareSpecErrorsServiceStickyOutput) ElementType() reflect.Type { @@ -7332,7 +8005,8 @@ type MiddlewareSpecErrorsServiceStickyCookie struct { HttpOnly *bool `pulumi:"httpOnly"` // Name defines the Cookie name. Name *string `pulumi:"name"` - // SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite + // SameSite defines the same site policy. + // More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite SameSite *string `pulumi:"sameSite"` // Secure defines whether the cookie can only be transmitted over an encrypted connection (i.e. HTTPS). Secure *bool `pulumi:"secure"` @@ -7355,7 +8029,8 @@ type MiddlewareSpecErrorsServiceStickyCookieArgs struct { HttpOnly pulumi.BoolPtrInput `pulumi:"httpOnly"` // Name defines the Cookie name. Name pulumi.StringPtrInput `pulumi:"name"` - // SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite + // SameSite defines the same site policy. + // More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite SameSite pulumi.StringPtrInput `pulumi:"sameSite"` // Secure defines whether the cookie can only be transmitted over an encrypted connection (i.e. HTTPS). Secure pulumi.BoolPtrInput `pulumi:"secure"` @@ -7467,7 +8142,8 @@ func (o MiddlewareSpecErrorsServiceStickyCookieOutput) Name() pulumi.StringPtrOu return o.ApplyT(func(v MiddlewareSpecErrorsServiceStickyCookie) *string { return v.Name }).(pulumi.StringPtrOutput) } -// SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +// SameSite defines the same site policy. +// More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite func (o MiddlewareSpecErrorsServiceStickyCookieOutput) SameSite() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecErrorsServiceStickyCookie) *string { return v.SameSite }).(pulumi.StringPtrOutput) } @@ -7527,7 +8203,8 @@ func (o MiddlewareSpecErrorsServiceStickyCookiePtrOutput) Name() pulumi.StringPt }).(pulumi.StringPtrOutput) } -// SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +// SameSite defines the same site policy. +// More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite func (o MiddlewareSpecErrorsServiceStickyCookiePtrOutput) SameSite() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecErrorsServiceStickyCookie) *string { if v == nil { @@ -7547,15 +8224,19 @@ func (o MiddlewareSpecErrorsServiceStickyCookiePtrOutput) Secure() pulumi.BoolPt }).(pulumi.BoolPtrOutput) } -// ForwardAuth holds the forward auth middleware configuration. This middleware delegates the request authentication to a Service. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/ +// ForwardAuth holds the forward auth middleware configuration. +// This middleware delegates the request authentication to a Service. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/ type MiddlewareSpecForwardAuth struct { // Address defines the authentication server address. Address *string `pulumi:"address"` - // AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server. If not set or empty then all request headers are passed. + // AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server. + // If not set or empty then all request headers are passed. AuthRequestHeaders []string `pulumi:"authRequestHeaders"` // AuthResponseHeaders defines the list of headers to copy from the authentication server response and set on forwarded request, replacing any existing conflicting headers. AuthResponseHeaders []string `pulumi:"authResponseHeaders"` - // AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/#authresponseheadersregex + // AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/#authresponseheadersregex AuthResponseHeadersRegex *string `pulumi:"authResponseHeadersRegex"` // TLS defines the configuration used to secure the connection to the authentication server. Tls *MiddlewareSpecForwardAuthTls `pulumi:"tls"` @@ -7574,15 +8255,19 @@ type MiddlewareSpecForwardAuthInput interface { ToMiddlewareSpecForwardAuthOutputWithContext(context.Context) MiddlewareSpecForwardAuthOutput } -// ForwardAuth holds the forward auth middleware configuration. This middleware delegates the request authentication to a Service. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/ +// ForwardAuth holds the forward auth middleware configuration. +// This middleware delegates the request authentication to a Service. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/ type MiddlewareSpecForwardAuthArgs struct { // Address defines the authentication server address. Address pulumi.StringPtrInput `pulumi:"address"` - // AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server. If not set or empty then all request headers are passed. + // AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server. + // If not set or empty then all request headers are passed. AuthRequestHeaders pulumi.StringArrayInput `pulumi:"authRequestHeaders"` // AuthResponseHeaders defines the list of headers to copy from the authentication server response and set on forwarded request, replacing any existing conflicting headers. AuthResponseHeaders pulumi.StringArrayInput `pulumi:"authResponseHeaders"` - // AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/#authresponseheadersregex + // AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/#authresponseheadersregex AuthResponseHeadersRegex pulumi.StringPtrInput `pulumi:"authResponseHeadersRegex"` // TLS defines the configuration used to secure the connection to the authentication server. Tls MiddlewareSpecForwardAuthTlsPtrInput `pulumi:"tls"` @@ -7655,7 +8340,9 @@ func (i *middlewareSpecForwardAuthPtrType) ToOutput(ctx context.Context) pulumix } } -// ForwardAuth holds the forward auth middleware configuration. This middleware delegates the request authentication to a Service. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/ +// ForwardAuth holds the forward auth middleware configuration. +// This middleware delegates the request authentication to a Service. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/ type MiddlewareSpecForwardAuthOutput struct{ *pulumi.OutputState } func (MiddlewareSpecForwardAuthOutput) ElementType() reflect.Type { @@ -7691,7 +8378,8 @@ func (o MiddlewareSpecForwardAuthOutput) Address() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecForwardAuth) *string { return v.Address }).(pulumi.StringPtrOutput) } -// AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server. If not set or empty then all request headers are passed. +// AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server. +// If not set or empty then all request headers are passed. func (o MiddlewareSpecForwardAuthOutput) AuthRequestHeaders() pulumi.StringArrayOutput { return o.ApplyT(func(v MiddlewareSpecForwardAuth) []string { return v.AuthRequestHeaders }).(pulumi.StringArrayOutput) } @@ -7701,7 +8389,8 @@ func (o MiddlewareSpecForwardAuthOutput) AuthResponseHeaders() pulumi.StringArra return o.ApplyT(func(v MiddlewareSpecForwardAuth) []string { return v.AuthResponseHeaders }).(pulumi.StringArrayOutput) } -// AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/#authresponseheadersregex +// AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/#authresponseheadersregex func (o MiddlewareSpecForwardAuthOutput) AuthResponseHeadersRegex() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecForwardAuth) *string { return v.AuthResponseHeadersRegex }).(pulumi.StringPtrOutput) } @@ -7756,7 +8445,8 @@ func (o MiddlewareSpecForwardAuthPtrOutput) Address() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server. If not set or empty then all request headers are passed. +// AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server. +// If not set or empty then all request headers are passed. func (o MiddlewareSpecForwardAuthPtrOutput) AuthRequestHeaders() pulumi.StringArrayOutput { return o.ApplyT(func(v *MiddlewareSpecForwardAuth) []string { if v == nil { @@ -7776,7 +8466,8 @@ func (o MiddlewareSpecForwardAuthPtrOutput) AuthResponseHeaders() pulumi.StringA }).(pulumi.StringArrayOutput) } -// AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/#authresponseheadersregex +// AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/#authresponseheadersregex func (o MiddlewareSpecForwardAuthPtrOutput) AuthResponseHeadersRegex() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecForwardAuth) *string { if v == nil { @@ -7809,9 +8500,11 @@ func (o MiddlewareSpecForwardAuthPtrOutput) TrustForwardHeader() pulumi.BoolPtrO // TLS defines the configuration used to secure the connection to the authentication server. type MiddlewareSpecForwardAuthTls struct { CaOptional *bool `pulumi:"caOptional"` - // CASecret is the name of the referenced Kubernetes Secret containing the CA to validate the server certificate. The CA certificate is extracted from key `tls.ca` or `ca.crt`. + // CASecret is the name of the referenced Kubernetes Secret containing the CA to validate the server certificate. + // The CA certificate is extracted from key `tls.ca` or `ca.crt`. CaSecret *string `pulumi:"caSecret"` - // CertSecret is the name of the referenced Kubernetes Secret containing the client certificate. The client certificate is extracted from the keys `tls.crt` and `tls.key`. + // CertSecret is the name of the referenced Kubernetes Secret containing the client certificate. + // The client certificate is extracted from the keys `tls.crt` and `tls.key`. CertSecret *string `pulumi:"certSecret"` // InsecureSkipVerify defines whether the server certificates should be validated. InsecureSkipVerify *bool `pulumi:"insecureSkipVerify"` @@ -7831,9 +8524,11 @@ type MiddlewareSpecForwardAuthTlsInput interface { // TLS defines the configuration used to secure the connection to the authentication server. type MiddlewareSpecForwardAuthTlsArgs struct { CaOptional pulumi.BoolPtrInput `pulumi:"caOptional"` - // CASecret is the name of the referenced Kubernetes Secret containing the CA to validate the server certificate. The CA certificate is extracted from key `tls.ca` or `ca.crt`. + // CASecret is the name of the referenced Kubernetes Secret containing the CA to validate the server certificate. + // The CA certificate is extracted from key `tls.ca` or `ca.crt`. CaSecret pulumi.StringPtrInput `pulumi:"caSecret"` - // CertSecret is the name of the referenced Kubernetes Secret containing the client certificate. The client certificate is extracted from the keys `tls.crt` and `tls.key`. + // CertSecret is the name of the referenced Kubernetes Secret containing the client certificate. + // The client certificate is extracted from the keys `tls.crt` and `tls.key`. CertSecret pulumi.StringPtrInput `pulumi:"certSecret"` // InsecureSkipVerify defines whether the server certificates should be validated. InsecureSkipVerify pulumi.BoolPtrInput `pulumi:"insecureSkipVerify"` @@ -7939,12 +8634,14 @@ func (o MiddlewareSpecForwardAuthTlsOutput) CaOptional() pulumi.BoolPtrOutput { return o.ApplyT(func(v MiddlewareSpecForwardAuthTls) *bool { return v.CaOptional }).(pulumi.BoolPtrOutput) } -// CASecret is the name of the referenced Kubernetes Secret containing the CA to validate the server certificate. The CA certificate is extracted from key `tls.ca` or `ca.crt`. +// CASecret is the name of the referenced Kubernetes Secret containing the CA to validate the server certificate. +// The CA certificate is extracted from key `tls.ca` or `ca.crt`. func (o MiddlewareSpecForwardAuthTlsOutput) CaSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecForwardAuthTls) *string { return v.CaSecret }).(pulumi.StringPtrOutput) } -// CertSecret is the name of the referenced Kubernetes Secret containing the client certificate. The client certificate is extracted from the keys `tls.crt` and `tls.key`. +// CertSecret is the name of the referenced Kubernetes Secret containing the client certificate. +// The client certificate is extracted from the keys `tls.crt` and `tls.key`. func (o MiddlewareSpecForwardAuthTlsOutput) CertSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecForwardAuthTls) *string { return v.CertSecret }).(pulumi.StringPtrOutput) } @@ -7993,7 +8690,8 @@ func (o MiddlewareSpecForwardAuthTlsPtrOutput) CaOptional() pulumi.BoolPtrOutput }).(pulumi.BoolPtrOutput) } -// CASecret is the name of the referenced Kubernetes Secret containing the CA to validate the server certificate. The CA certificate is extracted from key `tls.ca` or `ca.crt`. +// CASecret is the name of the referenced Kubernetes Secret containing the CA to validate the server certificate. +// The CA certificate is extracted from key `tls.ca` or `ca.crt`. func (o MiddlewareSpecForwardAuthTlsPtrOutput) CaSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecForwardAuthTls) *string { if v == nil { @@ -8003,7 +8701,8 @@ func (o MiddlewareSpecForwardAuthTlsPtrOutput) CaSecret() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } -// CertSecret is the name of the referenced Kubernetes Secret containing the client certificate. The client certificate is extracted from the keys `tls.crt` and `tls.key`. +// CertSecret is the name of the referenced Kubernetes Secret containing the client certificate. +// The client certificate is extracted from the keys `tls.crt` and `tls.key`. func (o MiddlewareSpecForwardAuthTlsPtrOutput) CertSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecForwardAuthTls) *string { if v == nil { @@ -8023,7 +8722,9 @@ func (o MiddlewareSpecForwardAuthTlsPtrOutput) InsecureSkipVerify() pulumi.BoolP }).(pulumi.BoolPtrOutput) } -// Headers holds the headers middleware configuration. This middleware manages the requests and responses headers. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/headers/#customrequestheaders +// Headers holds the headers middleware configuration. +// This middleware manages the requests and responses headers. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/headers/#customrequestheaders type MiddlewareSpecHeaders struct { // AccessControlAllowCredentials defines whether the request can include user credentials. AccessControlAllowCredentials *bool `pulumi:"accessControlAllowCredentials"` @@ -8049,9 +8750,11 @@ type MiddlewareSpecHeaders struct { ContentSecurityPolicy *string `pulumi:"contentSecurityPolicy"` // ContentTypeNosniff defines whether to add the X-Content-Type-Options header with the nosniff value. ContentTypeNosniff *bool `pulumi:"contentTypeNosniff"` - // CustomBrowserXSSValue defines the X-XSS-Protection header value. This overrides the BrowserXssFilter option. + // CustomBrowserXSSValue defines the X-XSS-Protection header value. + // This overrides the BrowserXssFilter option. CustomBrowserXSSValue *string `pulumi:"customBrowserXSSValue"` - // CustomFrameOptionsValue defines the X-Frame-Options header value. This overrides the FrameDeny option. + // CustomFrameOptionsValue defines the X-Frame-Options header value. + // This overrides the FrameDeny option. CustomFrameOptionsValue *string `pulumi:"customFrameOptionsValue"` // CustomRequestHeaders defines the header names and values to apply to the request. CustomRequestHeaders map[string]string `pulumi:"customRequestHeaders"` @@ -8065,19 +8768,25 @@ type MiddlewareSpecHeaders struct { FrameDeny *bool `pulumi:"frameDeny"` // HostsProxyHeaders defines the header keys that may hold a proxied hostname value for the request. HostsProxyHeaders []string `pulumi:"hostsProxyHeaders"` - // IsDevelopment defines whether to mitigate the unwanted effects of the AllowedHosts, SSL, and STS options when developing. Usually testing takes place using HTTP, not HTTPS, and on localhost, not your production domain. If you would like your development environment to mimic production with complete Host blocking, SSL redirects, and STS headers, leave this as false. + // IsDevelopment defines whether to mitigate the unwanted effects of the AllowedHosts, SSL, and STS options when developing. + // Usually testing takes place using HTTP, not HTTPS, and on localhost, not your production domain. + // If you would like your development environment to mimic production with complete Host blocking, SSL redirects, + // and STS headers, leave this as false. IsDevelopment *bool `pulumi:"isDevelopment"` - // PermissionsPolicy defines the Permissions-Policy header value. This allows sites to control browser features. + // PermissionsPolicy defines the Permissions-Policy header value. + // This allows sites to control browser features. PermissionsPolicy *string `pulumi:"permissionsPolicy"` // PublicKey is the public key that implements HPKP to prevent MITM attacks with forged certificates. PublicKey *string `pulumi:"publicKey"` - // ReferrerPolicy defines the Referrer-Policy header value. This allows sites to control whether browsers forward the Referer header to other sites. + // ReferrerPolicy defines the Referrer-Policy header value. + // This allows sites to control whether browsers forward the Referer header to other sites. ReferrerPolicy *string `pulumi:"referrerPolicy"` // Deprecated: use RedirectRegex instead. SslForceHost *bool `pulumi:"sslForceHost"` // Deprecated: use RedirectRegex instead. SslHost *string `pulumi:"sslHost"` - // SSLProxyHeaders defines the header keys with associated values that would indicate a valid HTTPS request. It can be useful when using other proxies (example: "X-Forwarded-Proto": "https"). + // SSLProxyHeaders defines the header keys with associated values that would indicate a valid HTTPS request. + // It can be useful when using other proxies (example: "X-Forwarded-Proto": "https"). SslProxyHeaders map[string]string `pulumi:"sslProxyHeaders"` // Deprecated: use EntryPoint redirection or RedirectScheme instead. SslRedirect *bool `pulumi:"sslRedirect"` @@ -8087,7 +8796,8 @@ type MiddlewareSpecHeaders struct { StsIncludeSubdomains *bool `pulumi:"stsIncludeSubdomains"` // STSPreload defines whether the preload flag is appended to the Strict-Transport-Security header. StsPreload *bool `pulumi:"stsPreload"` - // STSSeconds defines the max-age of the Strict-Transport-Security header. If set to 0, the header is not set. + // STSSeconds defines the max-age of the Strict-Transport-Security header. + // If set to 0, the header is not set. StsSeconds *int `pulumi:"stsSeconds"` } @@ -8102,7 +8812,9 @@ type MiddlewareSpecHeadersInput interface { ToMiddlewareSpecHeadersOutputWithContext(context.Context) MiddlewareSpecHeadersOutput } -// Headers holds the headers middleware configuration. This middleware manages the requests and responses headers. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/headers/#customrequestheaders +// Headers holds the headers middleware configuration. +// This middleware manages the requests and responses headers. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/headers/#customrequestheaders type MiddlewareSpecHeadersArgs struct { // AccessControlAllowCredentials defines whether the request can include user credentials. AccessControlAllowCredentials pulumi.BoolPtrInput `pulumi:"accessControlAllowCredentials"` @@ -8128,9 +8840,11 @@ type MiddlewareSpecHeadersArgs struct { ContentSecurityPolicy pulumi.StringPtrInput `pulumi:"contentSecurityPolicy"` // ContentTypeNosniff defines whether to add the X-Content-Type-Options header with the nosniff value. ContentTypeNosniff pulumi.BoolPtrInput `pulumi:"contentTypeNosniff"` - // CustomBrowserXSSValue defines the X-XSS-Protection header value. This overrides the BrowserXssFilter option. + // CustomBrowserXSSValue defines the X-XSS-Protection header value. + // This overrides the BrowserXssFilter option. CustomBrowserXSSValue pulumi.StringPtrInput `pulumi:"customBrowserXSSValue"` - // CustomFrameOptionsValue defines the X-Frame-Options header value. This overrides the FrameDeny option. + // CustomFrameOptionsValue defines the X-Frame-Options header value. + // This overrides the FrameDeny option. CustomFrameOptionsValue pulumi.StringPtrInput `pulumi:"customFrameOptionsValue"` // CustomRequestHeaders defines the header names and values to apply to the request. CustomRequestHeaders pulumi.StringMapInput `pulumi:"customRequestHeaders"` @@ -8144,19 +8858,25 @@ type MiddlewareSpecHeadersArgs struct { FrameDeny pulumi.BoolPtrInput `pulumi:"frameDeny"` // HostsProxyHeaders defines the header keys that may hold a proxied hostname value for the request. HostsProxyHeaders pulumi.StringArrayInput `pulumi:"hostsProxyHeaders"` - // IsDevelopment defines whether to mitigate the unwanted effects of the AllowedHosts, SSL, and STS options when developing. Usually testing takes place using HTTP, not HTTPS, and on localhost, not your production domain. If you would like your development environment to mimic production with complete Host blocking, SSL redirects, and STS headers, leave this as false. + // IsDevelopment defines whether to mitigate the unwanted effects of the AllowedHosts, SSL, and STS options when developing. + // Usually testing takes place using HTTP, not HTTPS, and on localhost, not your production domain. + // If you would like your development environment to mimic production with complete Host blocking, SSL redirects, + // and STS headers, leave this as false. IsDevelopment pulumi.BoolPtrInput `pulumi:"isDevelopment"` - // PermissionsPolicy defines the Permissions-Policy header value. This allows sites to control browser features. + // PermissionsPolicy defines the Permissions-Policy header value. + // This allows sites to control browser features. PermissionsPolicy pulumi.StringPtrInput `pulumi:"permissionsPolicy"` // PublicKey is the public key that implements HPKP to prevent MITM attacks with forged certificates. PublicKey pulumi.StringPtrInput `pulumi:"publicKey"` - // ReferrerPolicy defines the Referrer-Policy header value. This allows sites to control whether browsers forward the Referer header to other sites. + // ReferrerPolicy defines the Referrer-Policy header value. + // This allows sites to control whether browsers forward the Referer header to other sites. ReferrerPolicy pulumi.StringPtrInput `pulumi:"referrerPolicy"` // Deprecated: use RedirectRegex instead. SslForceHost pulumi.BoolPtrInput `pulumi:"sslForceHost"` // Deprecated: use RedirectRegex instead. SslHost pulumi.StringPtrInput `pulumi:"sslHost"` - // SSLProxyHeaders defines the header keys with associated values that would indicate a valid HTTPS request. It can be useful when using other proxies (example: "X-Forwarded-Proto": "https"). + // SSLProxyHeaders defines the header keys with associated values that would indicate a valid HTTPS request. + // It can be useful when using other proxies (example: "X-Forwarded-Proto": "https"). SslProxyHeaders pulumi.StringMapInput `pulumi:"sslProxyHeaders"` // Deprecated: use EntryPoint redirection or RedirectScheme instead. SslRedirect pulumi.BoolPtrInput `pulumi:"sslRedirect"` @@ -8166,7 +8886,8 @@ type MiddlewareSpecHeadersArgs struct { StsIncludeSubdomains pulumi.BoolPtrInput `pulumi:"stsIncludeSubdomains"` // STSPreload defines whether the preload flag is appended to the Strict-Transport-Security header. StsPreload pulumi.BoolPtrInput `pulumi:"stsPreload"` - // STSSeconds defines the max-age of the Strict-Transport-Security header. If set to 0, the header is not set. + // STSSeconds defines the max-age of the Strict-Transport-Security header. + // If set to 0, the header is not set. StsSeconds pulumi.IntPtrInput `pulumi:"stsSeconds"` } @@ -8235,7 +8956,9 @@ func (i *middlewareSpecHeadersPtrType) ToOutput(ctx context.Context) pulumix.Out } } -// Headers holds the headers middleware configuration. This middleware manages the requests and responses headers. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/headers/#customrequestheaders +// Headers holds the headers middleware configuration. +// This middleware manages the requests and responses headers. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/headers/#customrequestheaders type MiddlewareSpecHeadersOutput struct{ *pulumi.OutputState } func (MiddlewareSpecHeadersOutput) ElementType() reflect.Type { @@ -8326,12 +9049,14 @@ func (o MiddlewareSpecHeadersOutput) ContentTypeNosniff() pulumi.BoolPtrOutput { return o.ApplyT(func(v MiddlewareSpecHeaders) *bool { return v.ContentTypeNosniff }).(pulumi.BoolPtrOutput) } -// CustomBrowserXSSValue defines the X-XSS-Protection header value. This overrides the BrowserXssFilter option. +// CustomBrowserXSSValue defines the X-XSS-Protection header value. +// This overrides the BrowserXssFilter option. func (o MiddlewareSpecHeadersOutput) CustomBrowserXSSValue() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecHeaders) *string { return v.CustomBrowserXSSValue }).(pulumi.StringPtrOutput) } -// CustomFrameOptionsValue defines the X-Frame-Options header value. This overrides the FrameDeny option. +// CustomFrameOptionsValue defines the X-Frame-Options header value. +// This overrides the FrameDeny option. func (o MiddlewareSpecHeadersOutput) CustomFrameOptionsValue() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecHeaders) *string { return v.CustomFrameOptionsValue }).(pulumi.StringPtrOutput) } @@ -8366,12 +9091,16 @@ func (o MiddlewareSpecHeadersOutput) HostsProxyHeaders() pulumi.StringArrayOutpu return o.ApplyT(func(v MiddlewareSpecHeaders) []string { return v.HostsProxyHeaders }).(pulumi.StringArrayOutput) } -// IsDevelopment defines whether to mitigate the unwanted effects of the AllowedHosts, SSL, and STS options when developing. Usually testing takes place using HTTP, not HTTPS, and on localhost, not your production domain. If you would like your development environment to mimic production with complete Host blocking, SSL redirects, and STS headers, leave this as false. +// IsDevelopment defines whether to mitigate the unwanted effects of the AllowedHosts, SSL, and STS options when developing. +// Usually testing takes place using HTTP, not HTTPS, and on localhost, not your production domain. +// If you would like your development environment to mimic production with complete Host blocking, SSL redirects, +// and STS headers, leave this as false. func (o MiddlewareSpecHeadersOutput) IsDevelopment() pulumi.BoolPtrOutput { return o.ApplyT(func(v MiddlewareSpecHeaders) *bool { return v.IsDevelopment }).(pulumi.BoolPtrOutput) } -// PermissionsPolicy defines the Permissions-Policy header value. This allows sites to control browser features. +// PermissionsPolicy defines the Permissions-Policy header value. +// This allows sites to control browser features. func (o MiddlewareSpecHeadersOutput) PermissionsPolicy() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecHeaders) *string { return v.PermissionsPolicy }).(pulumi.StringPtrOutput) } @@ -8381,7 +9110,8 @@ func (o MiddlewareSpecHeadersOutput) PublicKey() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecHeaders) *string { return v.PublicKey }).(pulumi.StringPtrOutput) } -// ReferrerPolicy defines the Referrer-Policy header value. This allows sites to control whether browsers forward the Referer header to other sites. +// ReferrerPolicy defines the Referrer-Policy header value. +// This allows sites to control whether browsers forward the Referer header to other sites. func (o MiddlewareSpecHeadersOutput) ReferrerPolicy() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecHeaders) *string { return v.ReferrerPolicy }).(pulumi.StringPtrOutput) } @@ -8396,7 +9126,8 @@ func (o MiddlewareSpecHeadersOutput) SslHost() pulumi.StringPtrOutput { return o.ApplyT(func(v MiddlewareSpecHeaders) *string { return v.SslHost }).(pulumi.StringPtrOutput) } -// SSLProxyHeaders defines the header keys with associated values that would indicate a valid HTTPS request. It can be useful when using other proxies (example: "X-Forwarded-Proto": "https"). +// SSLProxyHeaders defines the header keys with associated values that would indicate a valid HTTPS request. +// It can be useful when using other proxies (example: "X-Forwarded-Proto": "https"). func (o MiddlewareSpecHeadersOutput) SslProxyHeaders() pulumi.StringMapOutput { return o.ApplyT(func(v MiddlewareSpecHeaders) map[string]string { return v.SslProxyHeaders }).(pulumi.StringMapOutput) } @@ -8421,7 +9152,8 @@ func (o MiddlewareSpecHeadersOutput) StsPreload() pulumi.BoolPtrOutput { return o.ApplyT(func(v MiddlewareSpecHeaders) *bool { return v.StsPreload }).(pulumi.BoolPtrOutput) } -// STSSeconds defines the max-age of the Strict-Transport-Security header. If set to 0, the header is not set. +// STSSeconds defines the max-age of the Strict-Transport-Security header. +// If set to 0, the header is not set. func (o MiddlewareSpecHeadersOutput) StsSeconds() pulumi.IntPtrOutput { return o.ApplyT(func(v MiddlewareSpecHeaders) *int { return v.StsSeconds }).(pulumi.IntPtrOutput) } @@ -8576,7 +9308,8 @@ func (o MiddlewareSpecHeadersPtrOutput) ContentTypeNosniff() pulumi.BoolPtrOutpu }).(pulumi.BoolPtrOutput) } -// CustomBrowserXSSValue defines the X-XSS-Protection header value. This overrides the BrowserXssFilter option. +// CustomBrowserXSSValue defines the X-XSS-Protection header value. +// This overrides the BrowserXssFilter option. func (o MiddlewareSpecHeadersPtrOutput) CustomBrowserXSSValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecHeaders) *string { if v == nil { @@ -8586,7 +9319,8 @@ func (o MiddlewareSpecHeadersPtrOutput) CustomBrowserXSSValue() pulumi.StringPtr }).(pulumi.StringPtrOutput) } -// CustomFrameOptionsValue defines the X-Frame-Options header value. This overrides the FrameDeny option. +// CustomFrameOptionsValue defines the X-Frame-Options header value. +// This overrides the FrameDeny option. func (o MiddlewareSpecHeadersPtrOutput) CustomFrameOptionsValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecHeaders) *string { if v == nil { @@ -8656,7 +9390,10 @@ func (o MiddlewareSpecHeadersPtrOutput) HostsProxyHeaders() pulumi.StringArrayOu }).(pulumi.StringArrayOutput) } -// IsDevelopment defines whether to mitigate the unwanted effects of the AllowedHosts, SSL, and STS options when developing. Usually testing takes place using HTTP, not HTTPS, and on localhost, not your production domain. If you would like your development environment to mimic production with complete Host blocking, SSL redirects, and STS headers, leave this as false. +// IsDevelopment defines whether to mitigate the unwanted effects of the AllowedHosts, SSL, and STS options when developing. +// Usually testing takes place using HTTP, not HTTPS, and on localhost, not your production domain. +// If you would like your development environment to mimic production with complete Host blocking, SSL redirects, +// and STS headers, leave this as false. func (o MiddlewareSpecHeadersPtrOutput) IsDevelopment() pulumi.BoolPtrOutput { return o.ApplyT(func(v *MiddlewareSpecHeaders) *bool { if v == nil { @@ -8666,7 +9403,8 @@ func (o MiddlewareSpecHeadersPtrOutput) IsDevelopment() pulumi.BoolPtrOutput { }).(pulumi.BoolPtrOutput) } -// PermissionsPolicy defines the Permissions-Policy header value. This allows sites to control browser features. +// PermissionsPolicy defines the Permissions-Policy header value. +// This allows sites to control browser features. func (o MiddlewareSpecHeadersPtrOutput) PermissionsPolicy() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecHeaders) *string { if v == nil { @@ -8686,7 +9424,8 @@ func (o MiddlewareSpecHeadersPtrOutput) PublicKey() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// ReferrerPolicy defines the Referrer-Policy header value. This allows sites to control whether browsers forward the Referer header to other sites. +// ReferrerPolicy defines the Referrer-Policy header value. +// This allows sites to control whether browsers forward the Referer header to other sites. func (o MiddlewareSpecHeadersPtrOutput) ReferrerPolicy() pulumi.StringPtrOutput { return o.ApplyT(func(v *MiddlewareSpecHeaders) *string { if v == nil { @@ -8716,7 +9455,8 @@ func (o MiddlewareSpecHeadersPtrOutput) SslHost() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// SSLProxyHeaders defines the header keys with associated values that would indicate a valid HTTPS request. It can be useful when using other proxies (example: "X-Forwarded-Proto": "https"). +// SSLProxyHeaders defines the header keys with associated values that would indicate a valid HTTPS request. +// It can be useful when using other proxies (example: "X-Forwarded-Proto": "https"). func (o MiddlewareSpecHeadersPtrOutput) SslProxyHeaders() pulumi.StringMapOutput { return o.ApplyT(func(v *MiddlewareSpecHeaders) map[string]string { if v == nil { @@ -8766,7 +9506,8 @@ func (o MiddlewareSpecHeadersPtrOutput) StsPreload() pulumi.BoolPtrOutput { }).(pulumi.BoolPtrOutput) } -// STSSeconds defines the max-age of the Strict-Transport-Security header. If set to 0, the header is not set. +// STSSeconds defines the max-age of the Strict-Transport-Security header. +// If set to 0, the header is not set. func (o MiddlewareSpecHeadersPtrOutput) StsSeconds() pulumi.IntPtrOutput { return o.ApplyT(func(v *MiddlewareSpecHeaders) *int { if v == nil { @@ -8784,15 +9525,22 @@ type MiddlewareSpecHeadersCustomRequestHeaders struct { type MiddlewareSpecHeadersCustomResponseHeaders struct { } -// SSLProxyHeaders defines the header keys with associated values that would indicate a valid HTTPS request. It can be useful when using other proxies (example: "X-Forwarded-Proto": "https"). +// SSLProxyHeaders defines the header keys with associated values that would indicate a valid HTTPS request. +// It can be useful when using other proxies (example: "X-Forwarded-Proto": "https"). type MiddlewareSpecHeadersSslProxyHeaders struct { } -// InFlightReq holds the in-flight request middleware configuration. This middleware limits the number of requests being processed and served concurrently. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/ +// InFlightReq holds the in-flight request middleware configuration. +// This middleware limits the number of requests being processed and served concurrently. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/ type MiddlewareSpecInFlightReq struct { - // Amount defines the maximum amount of allowed simultaneous in-flight request. The middleware responds with HTTP 429 Too Many Requests if there are already amount requests in progress (based on the same sourceCriterion strategy). + // Amount defines the maximum amount of allowed simultaneous in-flight request. + // The middleware responds with HTTP 429 Too Many Requests if there are already amount requests in progress (based on the same sourceCriterion strategy). Amount *int `pulumi:"amount"` - // SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the requestHost. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/#sourcecriterion + // SourceCriterion defines what criterion is used to group requests as originating from a common source. + // If several strategies are defined at the same time, an error will be raised. + // If none are set, the default is to use the requestHost. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/#sourcecriterion SourceCriterion *MiddlewareSpecInFlightReqSourceCriterion `pulumi:"sourceCriterion"` } @@ -8807,11 +9555,17 @@ type MiddlewareSpecInFlightReqInput interface { ToMiddlewareSpecInFlightReqOutputWithContext(context.Context) MiddlewareSpecInFlightReqOutput } -// InFlightReq holds the in-flight request middleware configuration. This middleware limits the number of requests being processed and served concurrently. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/ +// InFlightReq holds the in-flight request middleware configuration. +// This middleware limits the number of requests being processed and served concurrently. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/ type MiddlewareSpecInFlightReqArgs struct { - // Amount defines the maximum amount of allowed simultaneous in-flight request. The middleware responds with HTTP 429 Too Many Requests if there are already amount requests in progress (based on the same sourceCriterion strategy). + // Amount defines the maximum amount of allowed simultaneous in-flight request. + // The middleware responds with HTTP 429 Too Many Requests if there are already amount requests in progress (based on the same sourceCriterion strategy). Amount pulumi.IntPtrInput `pulumi:"amount"` - // SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the requestHost. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/#sourcecriterion + // SourceCriterion defines what criterion is used to group requests as originating from a common source. + // If several strategies are defined at the same time, an error will be raised. + // If none are set, the default is to use the requestHost. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/#sourcecriterion SourceCriterion MiddlewareSpecInFlightReqSourceCriterionPtrInput `pulumi:"sourceCriterion"` } @@ -8880,7 +9634,9 @@ func (i *middlewareSpecInFlightReqPtrType) ToOutput(ctx context.Context) pulumix } } -// InFlightReq holds the in-flight request middleware configuration. This middleware limits the number of requests being processed and served concurrently. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/ +// InFlightReq holds the in-flight request middleware configuration. +// This middleware limits the number of requests being processed and served concurrently. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/ type MiddlewareSpecInFlightReqOutput struct{ *pulumi.OutputState } func (MiddlewareSpecInFlightReqOutput) ElementType() reflect.Type { @@ -8911,12 +9667,16 @@ func (o MiddlewareSpecInFlightReqOutput) ToOutput(ctx context.Context) pulumix.O } } -// Amount defines the maximum amount of allowed simultaneous in-flight request. The middleware responds with HTTP 429 Too Many Requests if there are already amount requests in progress (based on the same sourceCriterion strategy). +// Amount defines the maximum amount of allowed simultaneous in-flight request. +// The middleware responds with HTTP 429 Too Many Requests if there are already amount requests in progress (based on the same sourceCriterion strategy). func (o MiddlewareSpecInFlightReqOutput) Amount() pulumi.IntPtrOutput { return o.ApplyT(func(v MiddlewareSpecInFlightReq) *int { return v.Amount }).(pulumi.IntPtrOutput) } -// SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the requestHost. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/#sourcecriterion +// SourceCriterion defines what criterion is used to group requests as originating from a common source. +// If several strategies are defined at the same time, an error will be raised. +// If none are set, the default is to use the requestHost. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/#sourcecriterion func (o MiddlewareSpecInFlightReqOutput) SourceCriterion() MiddlewareSpecInFlightReqSourceCriterionPtrOutput { return o.ApplyT(func(v MiddlewareSpecInFlightReq) *MiddlewareSpecInFlightReqSourceCriterion { return v.SourceCriterion }).(MiddlewareSpecInFlightReqSourceCriterionPtrOutput) } @@ -8951,7 +9711,8 @@ func (o MiddlewareSpecInFlightReqPtrOutput) Elem() MiddlewareSpecInFlightReqOutp }).(MiddlewareSpecInFlightReqOutput) } -// Amount defines the maximum amount of allowed simultaneous in-flight request. The middleware responds with HTTP 429 Too Many Requests if there are already amount requests in progress (based on the same sourceCriterion strategy). +// Amount defines the maximum amount of allowed simultaneous in-flight request. +// The middleware responds with HTTP 429 Too Many Requests if there are already amount requests in progress (based on the same sourceCriterion strategy). func (o MiddlewareSpecInFlightReqPtrOutput) Amount() pulumi.IntPtrOutput { return o.ApplyT(func(v *MiddlewareSpecInFlightReq) *int { if v == nil { @@ -8961,7 +9722,10 @@ func (o MiddlewareSpecInFlightReqPtrOutput) Amount() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } -// SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the requestHost. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/#sourcecriterion +// SourceCriterion defines what criterion is used to group requests as originating from a common source. +// If several strategies are defined at the same time, an error will be raised. +// If none are set, the default is to use the requestHost. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/#sourcecriterion func (o MiddlewareSpecInFlightReqPtrOutput) SourceCriterion() MiddlewareSpecInFlightReqSourceCriterionPtrOutput { return o.ApplyT(func(v *MiddlewareSpecInFlightReq) *MiddlewareSpecInFlightReqSourceCriterion { if v == nil { @@ -8971,9 +9735,13 @@ func (o MiddlewareSpecInFlightReqPtrOutput) SourceCriterion() MiddlewareSpecInFl }).(MiddlewareSpecInFlightReqSourceCriterionPtrOutput) } -// SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the requestHost. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/#sourcecriterion +// SourceCriterion defines what criterion is used to group requests as originating from a common source. +// If several strategies are defined at the same time, an error will be raised. +// If none are set, the default is to use the requestHost. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/#sourcecriterion type MiddlewareSpecInFlightReqSourceCriterion struct { - // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy + // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy IpStrategy *MiddlewareSpecInFlightReqSourceCriterionIpStrategy `pulumi:"ipStrategy"` // RequestHeaderName defines the name of the header used to group incoming requests. RequestHeaderName *string `pulumi:"requestHeaderName"` @@ -8992,9 +9760,13 @@ type MiddlewareSpecInFlightReqSourceCriterionInput interface { ToMiddlewareSpecInFlightReqSourceCriterionOutputWithContext(context.Context) MiddlewareSpecInFlightReqSourceCriterionOutput } -// SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the requestHost. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/#sourcecriterion +// SourceCriterion defines what criterion is used to group requests as originating from a common source. +// If several strategies are defined at the same time, an error will be raised. +// If none are set, the default is to use the requestHost. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/#sourcecriterion type MiddlewareSpecInFlightReqSourceCriterionArgs struct { - // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy + // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy IpStrategy MiddlewareSpecInFlightReqSourceCriterionIpStrategyPtrInput `pulumi:"ipStrategy"` // RequestHeaderName defines the name of the header used to group incoming requests. RequestHeaderName pulumi.StringPtrInput `pulumi:"requestHeaderName"` @@ -9067,7 +9839,10 @@ func (i *middlewareSpecInFlightReqSourceCriterionPtrType) ToOutput(ctx context.C } } -// SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the requestHost. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/#sourcecriterion +// SourceCriterion defines what criterion is used to group requests as originating from a common source. +// If several strategies are defined at the same time, an error will be raised. +// If none are set, the default is to use the requestHost. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/#sourcecriterion type MiddlewareSpecInFlightReqSourceCriterionOutput struct{ *pulumi.OutputState } func (MiddlewareSpecInFlightReqSourceCriterionOutput) ElementType() reflect.Type { @@ -9098,7 +9873,8 @@ func (o MiddlewareSpecInFlightReqSourceCriterionOutput) ToOutput(ctx context.Con } } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy func (o MiddlewareSpecInFlightReqSourceCriterionOutput) IpStrategy() MiddlewareSpecInFlightReqSourceCriterionIpStrategyPtrOutput { return o.ApplyT(func(v MiddlewareSpecInFlightReqSourceCriterion) *MiddlewareSpecInFlightReqSourceCriterionIpStrategy { return v.IpStrategy @@ -9145,7 +9921,8 @@ func (o MiddlewareSpecInFlightReqSourceCriterionPtrOutput) Elem() MiddlewareSpec }).(MiddlewareSpecInFlightReqSourceCriterionOutput) } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy func (o MiddlewareSpecInFlightReqSourceCriterionPtrOutput) IpStrategy() MiddlewareSpecInFlightReqSourceCriterionIpStrategyPtrOutput { return o.ApplyT(func(v *MiddlewareSpecInFlightReqSourceCriterion) *MiddlewareSpecInFlightReqSourceCriterionIpStrategy { if v == nil { @@ -9175,7 +9952,8 @@ func (o MiddlewareSpecInFlightReqSourceCriterionPtrOutput) RequestHost() pulumi. }).(pulumi.BoolPtrOutput) } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy type MiddlewareSpecInFlightReqSourceCriterionIpStrategy struct { // Depth tells Traefik to use the X-Forwarded-For header and take the IP located at the depth position (starting from the right). Depth *int `pulumi:"depth"` @@ -9194,7 +9972,8 @@ type MiddlewareSpecInFlightReqSourceCriterionIpStrategyInput interface { ToMiddlewareSpecInFlightReqSourceCriterionIpStrategyOutputWithContext(context.Context) MiddlewareSpecInFlightReqSourceCriterionIpStrategyOutput } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy type MiddlewareSpecInFlightReqSourceCriterionIpStrategyArgs struct { // Depth tells Traefik to use the X-Forwarded-For header and take the IP located at the depth position (starting from the right). Depth pulumi.IntPtrInput `pulumi:"depth"` @@ -9267,7 +10046,8 @@ func (i *middlewareSpecInFlightReqSourceCriterionIpStrategyPtrType) ToOutput(ctx } } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy type MiddlewareSpecInFlightReqSourceCriterionIpStrategyOutput struct{ *pulumi.OutputState } func (MiddlewareSpecInFlightReqSourceCriterionIpStrategyOutput) ElementType() reflect.Type { @@ -9358,9 +10138,392 @@ func (o MiddlewareSpecInFlightReqSourceCriterionIpStrategyPtrOutput) ExcludedIPs }).(pulumi.StringArrayOutput) } -// IPWhiteList holds the IP whitelist middleware configuration. This middleware accepts / refuses requests based on the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/ +// IPAllowList holds the IP allowlist middleware configuration. +// This middleware accepts / refuses requests based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/ +type MiddlewareSpecIpAllowList struct { + // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy + IpStrategy *MiddlewareSpecIpAllowListIpStrategy `pulumi:"ipStrategy"` + // SourceRange defines the set of allowed IPs (or ranges of allowed IPs by using CIDR notation). + SourceRange []string `pulumi:"sourceRange"` +} + +// MiddlewareSpecIpAllowListInput is an input type that accepts MiddlewareSpecIpAllowListArgs and MiddlewareSpecIpAllowListOutput values. +// You can construct a concrete instance of `MiddlewareSpecIpAllowListInput` via: +// +// MiddlewareSpecIpAllowListArgs{...} +type MiddlewareSpecIpAllowListInput interface { + pulumi.Input + + ToMiddlewareSpecIpAllowListOutput() MiddlewareSpecIpAllowListOutput + ToMiddlewareSpecIpAllowListOutputWithContext(context.Context) MiddlewareSpecIpAllowListOutput +} + +// IPAllowList holds the IP allowlist middleware configuration. +// This middleware accepts / refuses requests based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/ +type MiddlewareSpecIpAllowListArgs struct { + // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy + IpStrategy MiddlewareSpecIpAllowListIpStrategyPtrInput `pulumi:"ipStrategy"` + // SourceRange defines the set of allowed IPs (or ranges of allowed IPs by using CIDR notation). + SourceRange pulumi.StringArrayInput `pulumi:"sourceRange"` +} + +func (MiddlewareSpecIpAllowListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MiddlewareSpecIpAllowList)(nil)).Elem() +} + +func (i MiddlewareSpecIpAllowListArgs) ToMiddlewareSpecIpAllowListOutput() MiddlewareSpecIpAllowListOutput { + return i.ToMiddlewareSpecIpAllowListOutputWithContext(context.Background()) +} + +func (i MiddlewareSpecIpAllowListArgs) ToMiddlewareSpecIpAllowListOutputWithContext(ctx context.Context) MiddlewareSpecIpAllowListOutput { + return pulumi.ToOutputWithContext(ctx, i).(MiddlewareSpecIpAllowListOutput) +} + +func (i MiddlewareSpecIpAllowListArgs) ToOutput(ctx context.Context) pulumix.Output[MiddlewareSpecIpAllowList] { + return pulumix.Output[MiddlewareSpecIpAllowList]{ + OutputState: i.ToMiddlewareSpecIpAllowListOutputWithContext(ctx).OutputState, + } +} + +func (i MiddlewareSpecIpAllowListArgs) ToMiddlewareSpecIpAllowListPtrOutput() MiddlewareSpecIpAllowListPtrOutput { + return i.ToMiddlewareSpecIpAllowListPtrOutputWithContext(context.Background()) +} + +func (i MiddlewareSpecIpAllowListArgs) ToMiddlewareSpecIpAllowListPtrOutputWithContext(ctx context.Context) MiddlewareSpecIpAllowListPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MiddlewareSpecIpAllowListOutput).ToMiddlewareSpecIpAllowListPtrOutputWithContext(ctx) +} + +// MiddlewareSpecIpAllowListPtrInput is an input type that accepts MiddlewareSpecIpAllowListArgs, MiddlewareSpecIpAllowListPtr and MiddlewareSpecIpAllowListPtrOutput values. +// You can construct a concrete instance of `MiddlewareSpecIpAllowListPtrInput` via: +// +// MiddlewareSpecIpAllowListArgs{...} +// +// or: +// +// nil +type MiddlewareSpecIpAllowListPtrInput interface { + pulumi.Input + + ToMiddlewareSpecIpAllowListPtrOutput() MiddlewareSpecIpAllowListPtrOutput + ToMiddlewareSpecIpAllowListPtrOutputWithContext(context.Context) MiddlewareSpecIpAllowListPtrOutput +} + +type middlewareSpecIpAllowListPtrType MiddlewareSpecIpAllowListArgs + +func MiddlewareSpecIpAllowListPtr(v *MiddlewareSpecIpAllowListArgs) MiddlewareSpecIpAllowListPtrInput { + return (*middlewareSpecIpAllowListPtrType)(v) +} + +func (*middlewareSpecIpAllowListPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MiddlewareSpecIpAllowList)(nil)).Elem() +} + +func (i *middlewareSpecIpAllowListPtrType) ToMiddlewareSpecIpAllowListPtrOutput() MiddlewareSpecIpAllowListPtrOutput { + return i.ToMiddlewareSpecIpAllowListPtrOutputWithContext(context.Background()) +} + +func (i *middlewareSpecIpAllowListPtrType) ToMiddlewareSpecIpAllowListPtrOutputWithContext(ctx context.Context) MiddlewareSpecIpAllowListPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MiddlewareSpecIpAllowListPtrOutput) +} + +func (i *middlewareSpecIpAllowListPtrType) ToOutput(ctx context.Context) pulumix.Output[*MiddlewareSpecIpAllowList] { + return pulumix.Output[*MiddlewareSpecIpAllowList]{ + OutputState: i.ToMiddlewareSpecIpAllowListPtrOutputWithContext(ctx).OutputState, + } +} + +// IPAllowList holds the IP allowlist middleware configuration. +// This middleware accepts / refuses requests based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/ +type MiddlewareSpecIpAllowListOutput struct{ *pulumi.OutputState } + +func (MiddlewareSpecIpAllowListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MiddlewareSpecIpAllowList)(nil)).Elem() +} + +func (o MiddlewareSpecIpAllowListOutput) ToMiddlewareSpecIpAllowListOutput() MiddlewareSpecIpAllowListOutput { + return o +} + +func (o MiddlewareSpecIpAllowListOutput) ToMiddlewareSpecIpAllowListOutputWithContext(ctx context.Context) MiddlewareSpecIpAllowListOutput { + return o +} + +func (o MiddlewareSpecIpAllowListOutput) ToMiddlewareSpecIpAllowListPtrOutput() MiddlewareSpecIpAllowListPtrOutput { + return o.ToMiddlewareSpecIpAllowListPtrOutputWithContext(context.Background()) +} + +func (o MiddlewareSpecIpAllowListOutput) ToMiddlewareSpecIpAllowListPtrOutputWithContext(ctx context.Context) MiddlewareSpecIpAllowListPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MiddlewareSpecIpAllowList) *MiddlewareSpecIpAllowList { + return &v + }).(MiddlewareSpecIpAllowListPtrOutput) +} + +func (o MiddlewareSpecIpAllowListOutput) ToOutput(ctx context.Context) pulumix.Output[MiddlewareSpecIpAllowList] { + return pulumix.Output[MiddlewareSpecIpAllowList]{ + OutputState: o.OutputState, + } +} + +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy +func (o MiddlewareSpecIpAllowListOutput) IpStrategy() MiddlewareSpecIpAllowListIpStrategyPtrOutput { + return o.ApplyT(func(v MiddlewareSpecIpAllowList) *MiddlewareSpecIpAllowListIpStrategy { return v.IpStrategy }).(MiddlewareSpecIpAllowListIpStrategyPtrOutput) +} + +// SourceRange defines the set of allowed IPs (or ranges of allowed IPs by using CIDR notation). +func (o MiddlewareSpecIpAllowListOutput) SourceRange() pulumi.StringArrayOutput { + return o.ApplyT(func(v MiddlewareSpecIpAllowList) []string { return v.SourceRange }).(pulumi.StringArrayOutput) +} + +type MiddlewareSpecIpAllowListPtrOutput struct{ *pulumi.OutputState } + +func (MiddlewareSpecIpAllowListPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MiddlewareSpecIpAllowList)(nil)).Elem() +} + +func (o MiddlewareSpecIpAllowListPtrOutput) ToMiddlewareSpecIpAllowListPtrOutput() MiddlewareSpecIpAllowListPtrOutput { + return o +} + +func (o MiddlewareSpecIpAllowListPtrOutput) ToMiddlewareSpecIpAllowListPtrOutputWithContext(ctx context.Context) MiddlewareSpecIpAllowListPtrOutput { + return o +} + +func (o MiddlewareSpecIpAllowListPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MiddlewareSpecIpAllowList] { + return pulumix.Output[*MiddlewareSpecIpAllowList]{ + OutputState: o.OutputState, + } +} + +func (o MiddlewareSpecIpAllowListPtrOutput) Elem() MiddlewareSpecIpAllowListOutput { + return o.ApplyT(func(v *MiddlewareSpecIpAllowList) MiddlewareSpecIpAllowList { + if v != nil { + return *v + } + var ret MiddlewareSpecIpAllowList + return ret + }).(MiddlewareSpecIpAllowListOutput) +} + +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy +func (o MiddlewareSpecIpAllowListPtrOutput) IpStrategy() MiddlewareSpecIpAllowListIpStrategyPtrOutput { + return o.ApplyT(func(v *MiddlewareSpecIpAllowList) *MiddlewareSpecIpAllowListIpStrategy { + if v == nil { + return nil + } + return v.IpStrategy + }).(MiddlewareSpecIpAllowListIpStrategyPtrOutput) +} + +// SourceRange defines the set of allowed IPs (or ranges of allowed IPs by using CIDR notation). +func (o MiddlewareSpecIpAllowListPtrOutput) SourceRange() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MiddlewareSpecIpAllowList) []string { + if v == nil { + return nil + } + return v.SourceRange + }).(pulumi.StringArrayOutput) +} + +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy +type MiddlewareSpecIpAllowListIpStrategy struct { + // Depth tells Traefik to use the X-Forwarded-For header and take the IP located at the depth position (starting from the right). + Depth *int `pulumi:"depth"` + // ExcludedIPs configures Traefik to scan the X-Forwarded-For header and select the first IP not in the list. + ExcludedIPs []string `pulumi:"excludedIPs"` +} + +// MiddlewareSpecIpAllowListIpStrategyInput is an input type that accepts MiddlewareSpecIpAllowListIpStrategyArgs and MiddlewareSpecIpAllowListIpStrategyOutput values. +// You can construct a concrete instance of `MiddlewareSpecIpAllowListIpStrategyInput` via: +// +// MiddlewareSpecIpAllowListIpStrategyArgs{...} +type MiddlewareSpecIpAllowListIpStrategyInput interface { + pulumi.Input + + ToMiddlewareSpecIpAllowListIpStrategyOutput() MiddlewareSpecIpAllowListIpStrategyOutput + ToMiddlewareSpecIpAllowListIpStrategyOutputWithContext(context.Context) MiddlewareSpecIpAllowListIpStrategyOutput +} + +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy +type MiddlewareSpecIpAllowListIpStrategyArgs struct { + // Depth tells Traefik to use the X-Forwarded-For header and take the IP located at the depth position (starting from the right). + Depth pulumi.IntPtrInput `pulumi:"depth"` + // ExcludedIPs configures Traefik to scan the X-Forwarded-For header and select the first IP not in the list. + ExcludedIPs pulumi.StringArrayInput `pulumi:"excludedIPs"` +} + +func (MiddlewareSpecIpAllowListIpStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MiddlewareSpecIpAllowListIpStrategy)(nil)).Elem() +} + +func (i MiddlewareSpecIpAllowListIpStrategyArgs) ToMiddlewareSpecIpAllowListIpStrategyOutput() MiddlewareSpecIpAllowListIpStrategyOutput { + return i.ToMiddlewareSpecIpAllowListIpStrategyOutputWithContext(context.Background()) +} + +func (i MiddlewareSpecIpAllowListIpStrategyArgs) ToMiddlewareSpecIpAllowListIpStrategyOutputWithContext(ctx context.Context) MiddlewareSpecIpAllowListIpStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(MiddlewareSpecIpAllowListIpStrategyOutput) +} + +func (i MiddlewareSpecIpAllowListIpStrategyArgs) ToOutput(ctx context.Context) pulumix.Output[MiddlewareSpecIpAllowListIpStrategy] { + return pulumix.Output[MiddlewareSpecIpAllowListIpStrategy]{ + OutputState: i.ToMiddlewareSpecIpAllowListIpStrategyOutputWithContext(ctx).OutputState, + } +} + +func (i MiddlewareSpecIpAllowListIpStrategyArgs) ToMiddlewareSpecIpAllowListIpStrategyPtrOutput() MiddlewareSpecIpAllowListIpStrategyPtrOutput { + return i.ToMiddlewareSpecIpAllowListIpStrategyPtrOutputWithContext(context.Background()) +} + +func (i MiddlewareSpecIpAllowListIpStrategyArgs) ToMiddlewareSpecIpAllowListIpStrategyPtrOutputWithContext(ctx context.Context) MiddlewareSpecIpAllowListIpStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MiddlewareSpecIpAllowListIpStrategyOutput).ToMiddlewareSpecIpAllowListIpStrategyPtrOutputWithContext(ctx) +} + +// MiddlewareSpecIpAllowListIpStrategyPtrInput is an input type that accepts MiddlewareSpecIpAllowListIpStrategyArgs, MiddlewareSpecIpAllowListIpStrategyPtr and MiddlewareSpecIpAllowListIpStrategyPtrOutput values. +// You can construct a concrete instance of `MiddlewareSpecIpAllowListIpStrategyPtrInput` via: +// +// MiddlewareSpecIpAllowListIpStrategyArgs{...} +// +// or: +// +// nil +type MiddlewareSpecIpAllowListIpStrategyPtrInput interface { + pulumi.Input + + ToMiddlewareSpecIpAllowListIpStrategyPtrOutput() MiddlewareSpecIpAllowListIpStrategyPtrOutput + ToMiddlewareSpecIpAllowListIpStrategyPtrOutputWithContext(context.Context) MiddlewareSpecIpAllowListIpStrategyPtrOutput +} + +type middlewareSpecIpAllowListIpStrategyPtrType MiddlewareSpecIpAllowListIpStrategyArgs + +func MiddlewareSpecIpAllowListIpStrategyPtr(v *MiddlewareSpecIpAllowListIpStrategyArgs) MiddlewareSpecIpAllowListIpStrategyPtrInput { + return (*middlewareSpecIpAllowListIpStrategyPtrType)(v) +} + +func (*middlewareSpecIpAllowListIpStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MiddlewareSpecIpAllowListIpStrategy)(nil)).Elem() +} + +func (i *middlewareSpecIpAllowListIpStrategyPtrType) ToMiddlewareSpecIpAllowListIpStrategyPtrOutput() MiddlewareSpecIpAllowListIpStrategyPtrOutput { + return i.ToMiddlewareSpecIpAllowListIpStrategyPtrOutputWithContext(context.Background()) +} + +func (i *middlewareSpecIpAllowListIpStrategyPtrType) ToMiddlewareSpecIpAllowListIpStrategyPtrOutputWithContext(ctx context.Context) MiddlewareSpecIpAllowListIpStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MiddlewareSpecIpAllowListIpStrategyPtrOutput) +} + +func (i *middlewareSpecIpAllowListIpStrategyPtrType) ToOutput(ctx context.Context) pulumix.Output[*MiddlewareSpecIpAllowListIpStrategy] { + return pulumix.Output[*MiddlewareSpecIpAllowListIpStrategy]{ + OutputState: i.ToMiddlewareSpecIpAllowListIpStrategyPtrOutputWithContext(ctx).OutputState, + } +} + +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy +type MiddlewareSpecIpAllowListIpStrategyOutput struct{ *pulumi.OutputState } + +func (MiddlewareSpecIpAllowListIpStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MiddlewareSpecIpAllowListIpStrategy)(nil)).Elem() +} + +func (o MiddlewareSpecIpAllowListIpStrategyOutput) ToMiddlewareSpecIpAllowListIpStrategyOutput() MiddlewareSpecIpAllowListIpStrategyOutput { + return o +} + +func (o MiddlewareSpecIpAllowListIpStrategyOutput) ToMiddlewareSpecIpAllowListIpStrategyOutputWithContext(ctx context.Context) MiddlewareSpecIpAllowListIpStrategyOutput { + return o +} + +func (o MiddlewareSpecIpAllowListIpStrategyOutput) ToMiddlewareSpecIpAllowListIpStrategyPtrOutput() MiddlewareSpecIpAllowListIpStrategyPtrOutput { + return o.ToMiddlewareSpecIpAllowListIpStrategyPtrOutputWithContext(context.Background()) +} + +func (o MiddlewareSpecIpAllowListIpStrategyOutput) ToMiddlewareSpecIpAllowListIpStrategyPtrOutputWithContext(ctx context.Context) MiddlewareSpecIpAllowListIpStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MiddlewareSpecIpAllowListIpStrategy) *MiddlewareSpecIpAllowListIpStrategy { + return &v + }).(MiddlewareSpecIpAllowListIpStrategyPtrOutput) +} + +func (o MiddlewareSpecIpAllowListIpStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[MiddlewareSpecIpAllowListIpStrategy] { + return pulumix.Output[MiddlewareSpecIpAllowListIpStrategy]{ + OutputState: o.OutputState, + } +} + +// Depth tells Traefik to use the X-Forwarded-For header and take the IP located at the depth position (starting from the right). +func (o MiddlewareSpecIpAllowListIpStrategyOutput) Depth() pulumi.IntPtrOutput { + return o.ApplyT(func(v MiddlewareSpecIpAllowListIpStrategy) *int { return v.Depth }).(pulumi.IntPtrOutput) +} + +// ExcludedIPs configures Traefik to scan the X-Forwarded-For header and select the first IP not in the list. +func (o MiddlewareSpecIpAllowListIpStrategyOutput) ExcludedIPs() pulumi.StringArrayOutput { + return o.ApplyT(func(v MiddlewareSpecIpAllowListIpStrategy) []string { return v.ExcludedIPs }).(pulumi.StringArrayOutput) +} + +type MiddlewareSpecIpAllowListIpStrategyPtrOutput struct{ *pulumi.OutputState } + +func (MiddlewareSpecIpAllowListIpStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MiddlewareSpecIpAllowListIpStrategy)(nil)).Elem() +} + +func (o MiddlewareSpecIpAllowListIpStrategyPtrOutput) ToMiddlewareSpecIpAllowListIpStrategyPtrOutput() MiddlewareSpecIpAllowListIpStrategyPtrOutput { + return o +} + +func (o MiddlewareSpecIpAllowListIpStrategyPtrOutput) ToMiddlewareSpecIpAllowListIpStrategyPtrOutputWithContext(ctx context.Context) MiddlewareSpecIpAllowListIpStrategyPtrOutput { + return o +} + +func (o MiddlewareSpecIpAllowListIpStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MiddlewareSpecIpAllowListIpStrategy] { + return pulumix.Output[*MiddlewareSpecIpAllowListIpStrategy]{ + OutputState: o.OutputState, + } +} + +func (o MiddlewareSpecIpAllowListIpStrategyPtrOutput) Elem() MiddlewareSpecIpAllowListIpStrategyOutput { + return o.ApplyT(func(v *MiddlewareSpecIpAllowListIpStrategy) MiddlewareSpecIpAllowListIpStrategy { + if v != nil { + return *v + } + var ret MiddlewareSpecIpAllowListIpStrategy + return ret + }).(MiddlewareSpecIpAllowListIpStrategyOutput) +} + +// Depth tells Traefik to use the X-Forwarded-For header and take the IP located at the depth position (starting from the right). +func (o MiddlewareSpecIpAllowListIpStrategyPtrOutput) Depth() pulumi.IntPtrOutput { + return o.ApplyT(func(v *MiddlewareSpecIpAllowListIpStrategy) *int { + if v == nil { + return nil + } + return v.Depth + }).(pulumi.IntPtrOutput) +} + +// ExcludedIPs configures Traefik to scan the X-Forwarded-For header and select the first IP not in the list. +func (o MiddlewareSpecIpAllowListIpStrategyPtrOutput) ExcludedIPs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MiddlewareSpecIpAllowListIpStrategy) []string { + if v == nil { + return nil + } + return v.ExcludedIPs + }).(pulumi.StringArrayOutput) +} + +// IPWhiteList holds the IP whitelist middleware configuration. +// This middleware accepts / refuses requests based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipwhitelist/ +// Deprecated: please use IPAllowList instead. type MiddlewareSpecIpWhiteList struct { - // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy + // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy IpStrategy *MiddlewareSpecIpWhiteListIpStrategy `pulumi:"ipStrategy"` // SourceRange defines the set of allowed IPs (or ranges of allowed IPs by using CIDR notation). SourceRange []string `pulumi:"sourceRange"` @@ -9377,9 +10540,13 @@ type MiddlewareSpecIpWhiteListInput interface { ToMiddlewareSpecIpWhiteListOutputWithContext(context.Context) MiddlewareSpecIpWhiteListOutput } -// IPWhiteList holds the IP whitelist middleware configuration. This middleware accepts / refuses requests based on the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/ +// IPWhiteList holds the IP whitelist middleware configuration. +// This middleware accepts / refuses requests based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipwhitelist/ +// Deprecated: please use IPAllowList instead. type MiddlewareSpecIpWhiteListArgs struct { - // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy + // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy IpStrategy MiddlewareSpecIpWhiteListIpStrategyPtrInput `pulumi:"ipStrategy"` // SourceRange defines the set of allowed IPs (or ranges of allowed IPs by using CIDR notation). SourceRange pulumi.StringArrayInput `pulumi:"sourceRange"` @@ -9450,7 +10617,10 @@ func (i *middlewareSpecIpWhiteListPtrType) ToOutput(ctx context.Context) pulumix } } -// IPWhiteList holds the IP whitelist middleware configuration. This middleware accepts / refuses requests based on the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/ +// IPWhiteList holds the IP whitelist middleware configuration. +// This middleware accepts / refuses requests based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipwhitelist/ +// Deprecated: please use IPAllowList instead. type MiddlewareSpecIpWhiteListOutput struct{ *pulumi.OutputState } func (MiddlewareSpecIpWhiteListOutput) ElementType() reflect.Type { @@ -9481,7 +10651,8 @@ func (o MiddlewareSpecIpWhiteListOutput) ToOutput(ctx context.Context) pulumix.O } } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy func (o MiddlewareSpecIpWhiteListOutput) IpStrategy() MiddlewareSpecIpWhiteListIpStrategyPtrOutput { return o.ApplyT(func(v MiddlewareSpecIpWhiteList) *MiddlewareSpecIpWhiteListIpStrategy { return v.IpStrategy }).(MiddlewareSpecIpWhiteListIpStrategyPtrOutput) } @@ -9521,7 +10692,8 @@ func (o MiddlewareSpecIpWhiteListPtrOutput) Elem() MiddlewareSpecIpWhiteListOutp }).(MiddlewareSpecIpWhiteListOutput) } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy func (o MiddlewareSpecIpWhiteListPtrOutput) IpStrategy() MiddlewareSpecIpWhiteListIpStrategyPtrOutput { return o.ApplyT(func(v *MiddlewareSpecIpWhiteList) *MiddlewareSpecIpWhiteListIpStrategy { if v == nil { @@ -9541,7 +10713,8 @@ func (o MiddlewareSpecIpWhiteListPtrOutput) SourceRange() pulumi.StringArrayOutp }).(pulumi.StringArrayOutput) } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy type MiddlewareSpecIpWhiteListIpStrategy struct { // Depth tells Traefik to use the X-Forwarded-For header and take the IP located at the depth position (starting from the right). Depth *int `pulumi:"depth"` @@ -9560,7 +10733,8 @@ type MiddlewareSpecIpWhiteListIpStrategyInput interface { ToMiddlewareSpecIpWhiteListIpStrategyOutputWithContext(context.Context) MiddlewareSpecIpWhiteListIpStrategyOutput } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy type MiddlewareSpecIpWhiteListIpStrategyArgs struct { // Depth tells Traefik to use the X-Forwarded-For header and take the IP located at the depth position (starting from the right). Depth pulumi.IntPtrInput `pulumi:"depth"` @@ -9633,7 +10807,8 @@ func (i *middlewareSpecIpWhiteListIpStrategyPtrType) ToOutput(ctx context.Contex } } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy type MiddlewareSpecIpWhiteListIpStrategyOutput struct{ *pulumi.OutputState } func (MiddlewareSpecIpWhiteListIpStrategyOutput) ElementType() reflect.Type { @@ -9724,7 +10899,9 @@ func (o MiddlewareSpecIpWhiteListIpStrategyPtrOutput) ExcludedIPs() pulumi.Strin }).(pulumi.StringArrayOutput) } -// PassTLSClientCert holds the pass TLS client cert middleware configuration. This middleware adds the selected data from the passed client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/passtlsclientcert/ +// PassTLSClientCert holds the pass TLS client cert middleware configuration. +// This middleware adds the selected data from the passed client TLS certificate to a header. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/passtlsclientcert/ type MiddlewareSpecPassTLSClientCert struct { // Info selects the specific client certificate details you want to add to the X-Forwarded-Tls-Client-Cert-Info header. Info *MiddlewareSpecPassTLSClientCertInfo `pulumi:"info"` @@ -9743,7 +10920,9 @@ type MiddlewareSpecPassTLSClientCertInput interface { ToMiddlewareSpecPassTLSClientCertOutputWithContext(context.Context) MiddlewareSpecPassTLSClientCertOutput } -// PassTLSClientCert holds the pass TLS client cert middleware configuration. This middleware adds the selected data from the passed client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/passtlsclientcert/ +// PassTLSClientCert holds the pass TLS client cert middleware configuration. +// This middleware adds the selected data from the passed client TLS certificate to a header. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/passtlsclientcert/ type MiddlewareSpecPassTLSClientCertArgs struct { // Info selects the specific client certificate details you want to add to the X-Forwarded-Tls-Client-Cert-Info header. Info MiddlewareSpecPassTLSClientCertInfoPtrInput `pulumi:"info"` @@ -9816,7 +10995,9 @@ func (i *middlewareSpecPassTLSClientCertPtrType) ToOutput(ctx context.Context) p } } -// PassTLSClientCert holds the pass TLS client cert middleware configuration. This middleware adds the selected data from the passed client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/passtlsclientcert/ +// PassTLSClientCert holds the pass TLS client cert middleware configuration. +// This middleware adds the selected data from the passed client TLS certificate to a header. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/passtlsclientcert/ type MiddlewareSpecPassTLSClientCertOutput struct{ *pulumi.OutputState } func (MiddlewareSpecPassTLSClientCertOutput) ElementType() reflect.Type { @@ -10745,19 +11926,29 @@ func (o MiddlewareSpecPassTLSClientCertInfoSubjectPtrOutput) SerialNumber() pulu }).(pulumi.BoolPtrOutput) } -// Plugin defines the middleware plugin configuration. More info: https://doc.traefik.io/traefik/plugins/ +// Plugin defines the middleware plugin configuration. +// More info: https://doc.traefik.io/traefik/plugins/ type MiddlewareSpecPlugin struct { } -// RateLimit holds the rate limit configuration. This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ratelimit/ +// RateLimit holds the rate limit configuration. +// This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ratelimit/ type MiddlewareSpecRateLimit struct { - // Average is the maximum rate, by default in requests/s, allowed for the given source. It defaults to 0, which means no rate limiting. The rate is actually defined by dividing Average by Period. So for a rate below 1req/s, one needs to define a Period larger than a second. + // Average is the maximum rate, by default in requests/s, allowed for the given source. + // It defaults to 0, which means no rate limiting. + // The rate is actually defined by dividing Average by Period. So for a rate below 1req/s, + // one needs to define a Period larger than a second. Average *int `pulumi:"average"` - // Burst is the maximum number of requests allowed to arrive in the same arbitrarily small period of time. It defaults to 1. + // Burst is the maximum number of requests allowed to arrive in the same arbitrarily small period of time. + // It defaults to 1. Burst *int `pulumi:"burst"` - // Period, in combination with Average, defines the actual maximum rate, such as: r = Average / Period. It defaults to a second. + // Period, in combination with Average, defines the actual maximum rate, such as: + // r = Average / Period. It defaults to a second. Period interface{} `pulumi:"period"` - // SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the request's remote address field (as an ipStrategy). + // SourceCriterion defines what criterion is used to group requests as originating from a common source. + // If several strategies are defined at the same time, an error will be raised. + // If none are set, the default is to use the request's remote address field (as an ipStrategy). SourceCriterion *MiddlewareSpecRateLimitSourceCriterion `pulumi:"sourceCriterion"` } @@ -10772,15 +11963,24 @@ type MiddlewareSpecRateLimitInput interface { ToMiddlewareSpecRateLimitOutputWithContext(context.Context) MiddlewareSpecRateLimitOutput } -// RateLimit holds the rate limit configuration. This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ratelimit/ +// RateLimit holds the rate limit configuration. +// This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ratelimit/ type MiddlewareSpecRateLimitArgs struct { - // Average is the maximum rate, by default in requests/s, allowed for the given source. It defaults to 0, which means no rate limiting. The rate is actually defined by dividing Average by Period. So for a rate below 1req/s, one needs to define a Period larger than a second. + // Average is the maximum rate, by default in requests/s, allowed for the given source. + // It defaults to 0, which means no rate limiting. + // The rate is actually defined by dividing Average by Period. So for a rate below 1req/s, + // one needs to define a Period larger than a second. Average pulumi.IntPtrInput `pulumi:"average"` - // Burst is the maximum number of requests allowed to arrive in the same arbitrarily small period of time. It defaults to 1. + // Burst is the maximum number of requests allowed to arrive in the same arbitrarily small period of time. + // It defaults to 1. Burst pulumi.IntPtrInput `pulumi:"burst"` - // Period, in combination with Average, defines the actual maximum rate, such as: r = Average / Period. It defaults to a second. + // Period, in combination with Average, defines the actual maximum rate, such as: + // r = Average / Period. It defaults to a second. Period pulumi.Input `pulumi:"period"` - // SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the request's remote address field (as an ipStrategy). + // SourceCriterion defines what criterion is used to group requests as originating from a common source. + // If several strategies are defined at the same time, an error will be raised. + // If none are set, the default is to use the request's remote address field (as an ipStrategy). SourceCriterion MiddlewareSpecRateLimitSourceCriterionPtrInput `pulumi:"sourceCriterion"` } @@ -10849,7 +12049,9 @@ func (i *middlewareSpecRateLimitPtrType) ToOutput(ctx context.Context) pulumix.O } } -// RateLimit holds the rate limit configuration. This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ratelimit/ +// RateLimit holds the rate limit configuration. +// This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ratelimit/ type MiddlewareSpecRateLimitOutput struct{ *pulumi.OutputState } func (MiddlewareSpecRateLimitOutput) ElementType() reflect.Type { @@ -10880,22 +12082,29 @@ func (o MiddlewareSpecRateLimitOutput) ToOutput(ctx context.Context) pulumix.Out } } -// Average is the maximum rate, by default in requests/s, allowed for the given source. It defaults to 0, which means no rate limiting. The rate is actually defined by dividing Average by Period. So for a rate below 1req/s, one needs to define a Period larger than a second. +// Average is the maximum rate, by default in requests/s, allowed for the given source. +// It defaults to 0, which means no rate limiting. +// The rate is actually defined by dividing Average by Period. So for a rate below 1req/s, +// one needs to define a Period larger than a second. func (o MiddlewareSpecRateLimitOutput) Average() pulumi.IntPtrOutput { return o.ApplyT(func(v MiddlewareSpecRateLimit) *int { return v.Average }).(pulumi.IntPtrOutput) } -// Burst is the maximum number of requests allowed to arrive in the same arbitrarily small period of time. It defaults to 1. +// Burst is the maximum number of requests allowed to arrive in the same arbitrarily small period of time. +// It defaults to 1. func (o MiddlewareSpecRateLimitOutput) Burst() pulumi.IntPtrOutput { return o.ApplyT(func(v MiddlewareSpecRateLimit) *int { return v.Burst }).(pulumi.IntPtrOutput) } -// Period, in combination with Average, defines the actual maximum rate, such as: r = Average / Period. It defaults to a second. +// Period, in combination with Average, defines the actual maximum rate, such as: +// r = Average / Period. It defaults to a second. func (o MiddlewareSpecRateLimitOutput) Period() pulumi.AnyOutput { return o.ApplyT(func(v MiddlewareSpecRateLimit) interface{} { return v.Period }).(pulumi.AnyOutput) } -// SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the request's remote address field (as an ipStrategy). +// SourceCriterion defines what criterion is used to group requests as originating from a common source. +// If several strategies are defined at the same time, an error will be raised. +// If none are set, the default is to use the request's remote address field (as an ipStrategy). func (o MiddlewareSpecRateLimitOutput) SourceCriterion() MiddlewareSpecRateLimitSourceCriterionPtrOutput { return o.ApplyT(func(v MiddlewareSpecRateLimit) *MiddlewareSpecRateLimitSourceCriterion { return v.SourceCriterion }).(MiddlewareSpecRateLimitSourceCriterionPtrOutput) } @@ -10930,7 +12139,10 @@ func (o MiddlewareSpecRateLimitPtrOutput) Elem() MiddlewareSpecRateLimitOutput { }).(MiddlewareSpecRateLimitOutput) } -// Average is the maximum rate, by default in requests/s, allowed for the given source. It defaults to 0, which means no rate limiting. The rate is actually defined by dividing Average by Period. So for a rate below 1req/s, one needs to define a Period larger than a second. +// Average is the maximum rate, by default in requests/s, allowed for the given source. +// It defaults to 0, which means no rate limiting. +// The rate is actually defined by dividing Average by Period. So for a rate below 1req/s, +// one needs to define a Period larger than a second. func (o MiddlewareSpecRateLimitPtrOutput) Average() pulumi.IntPtrOutput { return o.ApplyT(func(v *MiddlewareSpecRateLimit) *int { if v == nil { @@ -10940,7 +12152,8 @@ func (o MiddlewareSpecRateLimitPtrOutput) Average() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } -// Burst is the maximum number of requests allowed to arrive in the same arbitrarily small period of time. It defaults to 1. +// Burst is the maximum number of requests allowed to arrive in the same arbitrarily small period of time. +// It defaults to 1. func (o MiddlewareSpecRateLimitPtrOutput) Burst() pulumi.IntPtrOutput { return o.ApplyT(func(v *MiddlewareSpecRateLimit) *int { if v == nil { @@ -10950,7 +12163,8 @@ func (o MiddlewareSpecRateLimitPtrOutput) Burst() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } -// Period, in combination with Average, defines the actual maximum rate, such as: r = Average / Period. It defaults to a second. +// Period, in combination with Average, defines the actual maximum rate, such as: +// r = Average / Period. It defaults to a second. func (o MiddlewareSpecRateLimitPtrOutput) Period() pulumi.AnyOutput { return o.ApplyT(func(v *MiddlewareSpecRateLimit) interface{} { if v == nil { @@ -10960,7 +12174,9 @@ func (o MiddlewareSpecRateLimitPtrOutput) Period() pulumi.AnyOutput { }).(pulumi.AnyOutput) } -// SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the request's remote address field (as an ipStrategy). +// SourceCriterion defines what criterion is used to group requests as originating from a common source. +// If several strategies are defined at the same time, an error will be raised. +// If none are set, the default is to use the request's remote address field (as an ipStrategy). func (o MiddlewareSpecRateLimitPtrOutput) SourceCriterion() MiddlewareSpecRateLimitSourceCriterionPtrOutput { return o.ApplyT(func(v *MiddlewareSpecRateLimit) *MiddlewareSpecRateLimitSourceCriterion { if v == nil { @@ -10970,9 +12186,12 @@ func (o MiddlewareSpecRateLimitPtrOutput) SourceCriterion() MiddlewareSpecRateLi }).(MiddlewareSpecRateLimitSourceCriterionPtrOutput) } -// SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the request's remote address field (as an ipStrategy). +// SourceCriterion defines what criterion is used to group requests as originating from a common source. +// If several strategies are defined at the same time, an error will be raised. +// If none are set, the default is to use the request's remote address field (as an ipStrategy). type MiddlewareSpecRateLimitSourceCriterion struct { - // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy + // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy IpStrategy *MiddlewareSpecRateLimitSourceCriterionIpStrategy `pulumi:"ipStrategy"` // RequestHeaderName defines the name of the header used to group incoming requests. RequestHeaderName *string `pulumi:"requestHeaderName"` @@ -10991,9 +12210,12 @@ type MiddlewareSpecRateLimitSourceCriterionInput interface { ToMiddlewareSpecRateLimitSourceCriterionOutputWithContext(context.Context) MiddlewareSpecRateLimitSourceCriterionOutput } -// SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the request's remote address field (as an ipStrategy). +// SourceCriterion defines what criterion is used to group requests as originating from a common source. +// If several strategies are defined at the same time, an error will be raised. +// If none are set, the default is to use the request's remote address field (as an ipStrategy). type MiddlewareSpecRateLimitSourceCriterionArgs struct { - // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy + // IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy IpStrategy MiddlewareSpecRateLimitSourceCriterionIpStrategyPtrInput `pulumi:"ipStrategy"` // RequestHeaderName defines the name of the header used to group incoming requests. RequestHeaderName pulumi.StringPtrInput `pulumi:"requestHeaderName"` @@ -11066,7 +12288,9 @@ func (i *middlewareSpecRateLimitSourceCriterionPtrType) ToOutput(ctx context.Con } } -// SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the request's remote address field (as an ipStrategy). +// SourceCriterion defines what criterion is used to group requests as originating from a common source. +// If several strategies are defined at the same time, an error will be raised. +// If none are set, the default is to use the request's remote address field (as an ipStrategy). type MiddlewareSpecRateLimitSourceCriterionOutput struct{ *pulumi.OutputState } func (MiddlewareSpecRateLimitSourceCriterionOutput) ElementType() reflect.Type { @@ -11097,7 +12321,8 @@ func (o MiddlewareSpecRateLimitSourceCriterionOutput) ToOutput(ctx context.Conte } } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy func (o MiddlewareSpecRateLimitSourceCriterionOutput) IpStrategy() MiddlewareSpecRateLimitSourceCriterionIpStrategyPtrOutput { return o.ApplyT(func(v MiddlewareSpecRateLimitSourceCriterion) *MiddlewareSpecRateLimitSourceCriterionIpStrategy { return v.IpStrategy @@ -11144,7 +12369,8 @@ func (o MiddlewareSpecRateLimitSourceCriterionPtrOutput) Elem() MiddlewareSpecRa }).(MiddlewareSpecRateLimitSourceCriterionOutput) } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy func (o MiddlewareSpecRateLimitSourceCriterionPtrOutput) IpStrategy() MiddlewareSpecRateLimitSourceCriterionIpStrategyPtrOutput { return o.ApplyT(func(v *MiddlewareSpecRateLimitSourceCriterion) *MiddlewareSpecRateLimitSourceCriterionIpStrategy { if v == nil { @@ -11174,7 +12400,8 @@ func (o MiddlewareSpecRateLimitSourceCriterionPtrOutput) RequestHost() pulumi.Bo }).(pulumi.BoolPtrOutput) } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy type MiddlewareSpecRateLimitSourceCriterionIpStrategy struct { // Depth tells Traefik to use the X-Forwarded-For header and take the IP located at the depth position (starting from the right). Depth *int `pulumi:"depth"` @@ -11193,7 +12420,8 @@ type MiddlewareSpecRateLimitSourceCriterionIpStrategyInput interface { ToMiddlewareSpecRateLimitSourceCriterionIpStrategyOutputWithContext(context.Context) MiddlewareSpecRateLimitSourceCriterionIpStrategyOutput } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy type MiddlewareSpecRateLimitSourceCriterionIpStrategyArgs struct { // Depth tells Traefik to use the X-Forwarded-For header and take the IP located at the depth position (starting from the right). Depth pulumi.IntPtrInput `pulumi:"depth"` @@ -11266,7 +12494,8 @@ func (i *middlewareSpecRateLimitSourceCriterionIpStrategyPtrType) ToOutput(ctx c } } -// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/#ipstrategy +// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy type MiddlewareSpecRateLimitSourceCriterionIpStrategyOutput struct{ *pulumi.OutputState } func (MiddlewareSpecRateLimitSourceCriterionIpStrategyOutput) ElementType() reflect.Type { @@ -11357,7 +12586,9 @@ func (o MiddlewareSpecRateLimitSourceCriterionIpStrategyPtrOutput) ExcludedIPs() }).(pulumi.StringArrayOutput) } -// RedirectRegex holds the redirect regex middleware configuration. This middleware redirects a request using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectregex/#regex +// RedirectRegex holds the redirect regex middleware configuration. +// This middleware redirects a request using regex matching and replacement. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectregex/#regex type MiddlewareSpecRedirectRegex struct { // Permanent defines whether the redirection is permanent (301). Permanent *bool `pulumi:"permanent"` @@ -11378,7 +12609,9 @@ type MiddlewareSpecRedirectRegexInput interface { ToMiddlewareSpecRedirectRegexOutputWithContext(context.Context) MiddlewareSpecRedirectRegexOutput } -// RedirectRegex holds the redirect regex middleware configuration. This middleware redirects a request using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectregex/#regex +// RedirectRegex holds the redirect regex middleware configuration. +// This middleware redirects a request using regex matching and replacement. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectregex/#regex type MiddlewareSpecRedirectRegexArgs struct { // Permanent defines whether the redirection is permanent (301). Permanent pulumi.BoolPtrInput `pulumi:"permanent"` @@ -11453,7 +12686,9 @@ func (i *middlewareSpecRedirectRegexPtrType) ToOutput(ctx context.Context) pulum } } -// RedirectRegex holds the redirect regex middleware configuration. This middleware redirects a request using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectregex/#regex +// RedirectRegex holds the redirect regex middleware configuration. +// This middleware redirects a request using regex matching and replacement. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectregex/#regex type MiddlewareSpecRedirectRegexOutput struct{ *pulumi.OutputState } func (MiddlewareSpecRedirectRegexOutput) ElementType() reflect.Type { @@ -11559,7 +12794,9 @@ func (o MiddlewareSpecRedirectRegexPtrOutput) Replacement() pulumi.StringPtrOutp }).(pulumi.StringPtrOutput) } -// RedirectScheme holds the redirect scheme middleware configuration. This middleware redirects requests from a scheme/port to another. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectscheme/ +// RedirectScheme holds the redirect scheme middleware configuration. +// This middleware redirects requests from a scheme/port to another. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectscheme/ type MiddlewareSpecRedirectScheme struct { // Permanent defines whether the redirection is permanent (301). Permanent *bool `pulumi:"permanent"` @@ -11580,7 +12817,9 @@ type MiddlewareSpecRedirectSchemeInput interface { ToMiddlewareSpecRedirectSchemeOutputWithContext(context.Context) MiddlewareSpecRedirectSchemeOutput } -// RedirectScheme holds the redirect scheme middleware configuration. This middleware redirects requests from a scheme/port to another. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectscheme/ +// RedirectScheme holds the redirect scheme middleware configuration. +// This middleware redirects requests from a scheme/port to another. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectscheme/ type MiddlewareSpecRedirectSchemeArgs struct { // Permanent defines whether the redirection is permanent (301). Permanent pulumi.BoolPtrInput `pulumi:"permanent"` @@ -11655,7 +12894,9 @@ func (i *middlewareSpecRedirectSchemePtrType) ToOutput(ctx context.Context) pulu } } -// RedirectScheme holds the redirect scheme middleware configuration. This middleware redirects requests from a scheme/port to another. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectscheme/ +// RedirectScheme holds the redirect scheme middleware configuration. +// This middleware redirects requests from a scheme/port to another. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectscheme/ type MiddlewareSpecRedirectSchemeOutput struct{ *pulumi.OutputState } func (MiddlewareSpecRedirectSchemeOutput) ElementType() reflect.Type { @@ -11761,7 +13002,9 @@ func (o MiddlewareSpecRedirectSchemePtrOutput) Scheme() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// ReplacePath holds the replace path middleware configuration. This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepath/ +// ReplacePath holds the replace path middleware configuration. +// This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepath/ type MiddlewareSpecReplacePath struct { // Path defines the path to use as replacement in the request URL. Path *string `pulumi:"path"` @@ -11778,7 +13021,9 @@ type MiddlewareSpecReplacePathInput interface { ToMiddlewareSpecReplacePathOutputWithContext(context.Context) MiddlewareSpecReplacePathOutput } -// ReplacePath holds the replace path middleware configuration. This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepath/ +// ReplacePath holds the replace path middleware configuration. +// This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepath/ type MiddlewareSpecReplacePathArgs struct { // Path defines the path to use as replacement in the request URL. Path pulumi.StringPtrInput `pulumi:"path"` @@ -11849,7 +13094,9 @@ func (i *middlewareSpecReplacePathPtrType) ToOutput(ctx context.Context) pulumix } } -// ReplacePath holds the replace path middleware configuration. This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepath/ +// ReplacePath holds the replace path middleware configuration. +// This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepath/ type MiddlewareSpecReplacePathOutput struct{ *pulumi.OutputState } func (MiddlewareSpecReplacePathOutput) ElementType() reflect.Type { @@ -11925,7 +13172,9 @@ func (o MiddlewareSpecReplacePathPtrOutput) Path() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// ReplacePathRegex holds the replace path regex middleware configuration. This middleware replaces the path of a URL using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepathregex/ +// ReplacePathRegex holds the replace path regex middleware configuration. +// This middleware replaces the path of a URL using regex matching and replacement. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepathregex/ type MiddlewareSpecReplacePathRegex struct { // Regex defines the regular expression used to match and capture the path from the request URL. Regex *string `pulumi:"regex"` @@ -11944,7 +13193,9 @@ type MiddlewareSpecReplacePathRegexInput interface { ToMiddlewareSpecReplacePathRegexOutputWithContext(context.Context) MiddlewareSpecReplacePathRegexOutput } -// ReplacePathRegex holds the replace path regex middleware configuration. This middleware replaces the path of a URL using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepathregex/ +// ReplacePathRegex holds the replace path regex middleware configuration. +// This middleware replaces the path of a URL using regex matching and replacement. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepathregex/ type MiddlewareSpecReplacePathRegexArgs struct { // Regex defines the regular expression used to match and capture the path from the request URL. Regex pulumi.StringPtrInput `pulumi:"regex"` @@ -12017,7 +13268,9 @@ func (i *middlewareSpecReplacePathRegexPtrType) ToOutput(ctx context.Context) pu } } -// ReplacePathRegex holds the replace path regex middleware configuration. This middleware replaces the path of a URL using regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepathregex/ +// ReplacePathRegex holds the replace path regex middleware configuration. +// This middleware replaces the path of a URL using regex matching and replacement. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepathregex/ type MiddlewareSpecReplacePathRegexOutput struct{ *pulumi.OutputState } func (MiddlewareSpecReplacePathRegexOutput) ElementType() reflect.Type { @@ -12108,11 +13361,18 @@ func (o MiddlewareSpecReplacePathRegexPtrOutput) Replacement() pulumi.StringPtrO }).(pulumi.StringPtrOutput) } -// Retry holds the retry middleware configuration. This middleware reissues requests a given number of times to a backend server if that server does not reply. As soon as the server answers, the middleware stops retrying, regardless of the response status. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/retry/ +// Retry holds the retry middleware configuration. +// This middleware reissues requests a given number of times to a backend server if that server does not reply. +// As soon as the server answers, the middleware stops retrying, regardless of the response status. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/retry/ type MiddlewareSpecRetry struct { // Attempts defines how many times the request should be retried. Attempts *int `pulumi:"attempts"` - // InitialInterval defines the first wait time in the exponential backoff series. The maximum interval is calculated as twice the initialInterval. If unspecified, requests will be retried immediately. The value of initialInterval should be provided in seconds or as a valid duration format, see https://pkg.go.dev/time#ParseDuration. + // InitialInterval defines the first wait time in the exponential backoff series. + // The maximum interval is calculated as twice the initialInterval. + // If unspecified, requests will be retried immediately. + // The value of initialInterval should be provided in seconds or as a valid duration format, + // see https://pkg.go.dev/time#ParseDuration. InitialInterval interface{} `pulumi:"initialInterval"` } @@ -12127,11 +13387,18 @@ type MiddlewareSpecRetryInput interface { ToMiddlewareSpecRetryOutputWithContext(context.Context) MiddlewareSpecRetryOutput } -// Retry holds the retry middleware configuration. This middleware reissues requests a given number of times to a backend server if that server does not reply. As soon as the server answers, the middleware stops retrying, regardless of the response status. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/retry/ +// Retry holds the retry middleware configuration. +// This middleware reissues requests a given number of times to a backend server if that server does not reply. +// As soon as the server answers, the middleware stops retrying, regardless of the response status. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/retry/ type MiddlewareSpecRetryArgs struct { // Attempts defines how many times the request should be retried. Attempts pulumi.IntPtrInput `pulumi:"attempts"` - // InitialInterval defines the first wait time in the exponential backoff series. The maximum interval is calculated as twice the initialInterval. If unspecified, requests will be retried immediately. The value of initialInterval should be provided in seconds or as a valid duration format, see https://pkg.go.dev/time#ParseDuration. + // InitialInterval defines the first wait time in the exponential backoff series. + // The maximum interval is calculated as twice the initialInterval. + // If unspecified, requests will be retried immediately. + // The value of initialInterval should be provided in seconds or as a valid duration format, + // see https://pkg.go.dev/time#ParseDuration. InitialInterval pulumi.Input `pulumi:"initialInterval"` } @@ -12200,7 +13467,10 @@ func (i *middlewareSpecRetryPtrType) ToOutput(ctx context.Context) pulumix.Outpu } } -// Retry holds the retry middleware configuration. This middleware reissues requests a given number of times to a backend server if that server does not reply. As soon as the server answers, the middleware stops retrying, regardless of the response status. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/retry/ +// Retry holds the retry middleware configuration. +// This middleware reissues requests a given number of times to a backend server if that server does not reply. +// As soon as the server answers, the middleware stops retrying, regardless of the response status. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/retry/ type MiddlewareSpecRetryOutput struct{ *pulumi.OutputState } func (MiddlewareSpecRetryOutput) ElementType() reflect.Type { @@ -12236,7 +13506,11 @@ func (o MiddlewareSpecRetryOutput) Attempts() pulumi.IntPtrOutput { return o.ApplyT(func(v MiddlewareSpecRetry) *int { return v.Attempts }).(pulumi.IntPtrOutput) } -// InitialInterval defines the first wait time in the exponential backoff series. The maximum interval is calculated as twice the initialInterval. If unspecified, requests will be retried immediately. The value of initialInterval should be provided in seconds or as a valid duration format, see https://pkg.go.dev/time#ParseDuration. +// InitialInterval defines the first wait time in the exponential backoff series. +// The maximum interval is calculated as twice the initialInterval. +// If unspecified, requests will be retried immediately. +// The value of initialInterval should be provided in seconds or as a valid duration format, +// see https://pkg.go.dev/time#ParseDuration. func (o MiddlewareSpecRetryOutput) InitialInterval() pulumi.AnyOutput { return o.ApplyT(func(v MiddlewareSpecRetry) interface{} { return v.InitialInterval }).(pulumi.AnyOutput) } @@ -12281,7 +13555,11 @@ func (o MiddlewareSpecRetryPtrOutput) Attempts() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } -// InitialInterval defines the first wait time in the exponential backoff series. The maximum interval is calculated as twice the initialInterval. If unspecified, requests will be retried immediately. The value of initialInterval should be provided in seconds or as a valid duration format, see https://pkg.go.dev/time#ParseDuration. +// InitialInterval defines the first wait time in the exponential backoff series. +// The maximum interval is calculated as twice the initialInterval. +// If unspecified, requests will be retried immediately. +// The value of initialInterval should be provided in seconds or as a valid duration format, +// see https://pkg.go.dev/time#ParseDuration. func (o MiddlewareSpecRetryPtrOutput) InitialInterval() pulumi.AnyOutput { return o.ApplyT(func(v *MiddlewareSpecRetry) interface{} { if v == nil { @@ -12291,9 +13569,12 @@ func (o MiddlewareSpecRetryPtrOutput) InitialInterval() pulumi.AnyOutput { }).(pulumi.AnyOutput) } -// StripPrefix holds the strip prefix middleware configuration. This middleware removes the specified prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefix/ +// StripPrefix holds the strip prefix middleware configuration. +// This middleware removes the specified prefixes from the URL path. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefix/ type MiddlewareSpecStripPrefix struct { - // ForceSlash ensures that the resulting stripped path is not the empty string, by replacing it with / when necessary. Default: true. + // ForceSlash ensures that the resulting stripped path is not the empty string, by replacing it with / when necessary. + // Default: true. ForceSlash *bool `pulumi:"forceSlash"` // Prefixes defines the prefixes to strip from the request URL. Prefixes []string `pulumi:"prefixes"` @@ -12310,9 +13591,12 @@ type MiddlewareSpecStripPrefixInput interface { ToMiddlewareSpecStripPrefixOutputWithContext(context.Context) MiddlewareSpecStripPrefixOutput } -// StripPrefix holds the strip prefix middleware configuration. This middleware removes the specified prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefix/ +// StripPrefix holds the strip prefix middleware configuration. +// This middleware removes the specified prefixes from the URL path. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefix/ type MiddlewareSpecStripPrefixArgs struct { - // ForceSlash ensures that the resulting stripped path is not the empty string, by replacing it with / when necessary. Default: true. + // ForceSlash ensures that the resulting stripped path is not the empty string, by replacing it with / when necessary. + // Default: true. ForceSlash pulumi.BoolPtrInput `pulumi:"forceSlash"` // Prefixes defines the prefixes to strip from the request URL. Prefixes pulumi.StringArrayInput `pulumi:"prefixes"` @@ -12383,7 +13667,9 @@ func (i *middlewareSpecStripPrefixPtrType) ToOutput(ctx context.Context) pulumix } } -// StripPrefix holds the strip prefix middleware configuration. This middleware removes the specified prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefix/ +// StripPrefix holds the strip prefix middleware configuration. +// This middleware removes the specified prefixes from the URL path. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefix/ type MiddlewareSpecStripPrefixOutput struct{ *pulumi.OutputState } func (MiddlewareSpecStripPrefixOutput) ElementType() reflect.Type { @@ -12414,7 +13700,8 @@ func (o MiddlewareSpecStripPrefixOutput) ToOutput(ctx context.Context) pulumix.O } } -// ForceSlash ensures that the resulting stripped path is not the empty string, by replacing it with / when necessary. Default: true. +// ForceSlash ensures that the resulting stripped path is not the empty string, by replacing it with / when necessary. +// Default: true. func (o MiddlewareSpecStripPrefixOutput) ForceSlash() pulumi.BoolPtrOutput { return o.ApplyT(func(v MiddlewareSpecStripPrefix) *bool { return v.ForceSlash }).(pulumi.BoolPtrOutput) } @@ -12454,7 +13741,8 @@ func (o MiddlewareSpecStripPrefixPtrOutput) Elem() MiddlewareSpecStripPrefixOutp }).(MiddlewareSpecStripPrefixOutput) } -// ForceSlash ensures that the resulting stripped path is not the empty string, by replacing it with / when necessary. Default: true. +// ForceSlash ensures that the resulting stripped path is not the empty string, by replacing it with / when necessary. +// Default: true. func (o MiddlewareSpecStripPrefixPtrOutput) ForceSlash() pulumi.BoolPtrOutput { return o.ApplyT(func(v *MiddlewareSpecStripPrefix) *bool { if v == nil { @@ -12474,7 +13762,9 @@ func (o MiddlewareSpecStripPrefixPtrOutput) Prefixes() pulumi.StringArrayOutput }).(pulumi.StringArrayOutput) } -// StripPrefixRegex holds the strip prefix regex middleware configuration. This middleware removes the matching prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefixregex/ +// StripPrefixRegex holds the strip prefix regex middleware configuration. +// This middleware removes the matching prefixes from the URL path. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefixregex/ type MiddlewareSpecStripPrefixRegex struct { // Regex defines the regular expression to match the path prefix from the request URL. Regex []string `pulumi:"regex"` @@ -12491,7 +13781,9 @@ type MiddlewareSpecStripPrefixRegexInput interface { ToMiddlewareSpecStripPrefixRegexOutputWithContext(context.Context) MiddlewareSpecStripPrefixRegexOutput } -// StripPrefixRegex holds the strip prefix regex middleware configuration. This middleware removes the matching prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefixregex/ +// StripPrefixRegex holds the strip prefix regex middleware configuration. +// This middleware removes the matching prefixes from the URL path. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefixregex/ type MiddlewareSpecStripPrefixRegexArgs struct { // Regex defines the regular expression to match the path prefix from the request URL. Regex pulumi.StringArrayInput `pulumi:"regex"` @@ -12562,7 +13854,9 @@ func (i *middlewareSpecStripPrefixRegexPtrType) ToOutput(ctx context.Context) pu } } -// StripPrefixRegex holds the strip prefix regex middleware configuration. This middleware removes the matching prefixes from the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefixregex/ +// StripPrefixRegex holds the strip prefix regex middleware configuration. +// This middleware removes the matching prefixes from the URL path. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefixregex/ type MiddlewareSpecStripPrefixRegexOutput struct{ *pulumi.OutputState } func (MiddlewareSpecStripPrefixRegexOutput) ElementType() reflect.Type { @@ -12638,7 +13932,8 @@ func (o MiddlewareSpecStripPrefixRegexPtrOutput) Regex() pulumi.StringArrayOutpu }).(pulumi.StringArrayOutput) } -// MiddlewareTCP is the CRD implementation of a Traefik TCP middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/overview/ +// MiddlewareTCP is the CRD implementation of a Traefik TCP middleware. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/overview/ type MiddlewareTCPType struct { ApiVersion *string `pulumi:"apiVersion"` Kind *string `pulumi:"kind"` @@ -12654,7 +13949,14 @@ type MiddlewareTCPMetadata struct { type MiddlewareTCPSpec struct { // InFlightConn defines the InFlightConn middleware configuration. InFlightConn *MiddlewareTCPSpecInFlightConn `pulumi:"inFlightConn"` + // IPAllowList defines the IPAllowList middleware configuration. + // This middleware accepts/refuses connections based on the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipallowlist/ + IpAllowList *MiddlewareTCPSpecIpAllowList `pulumi:"ipAllowList"` // IPWhiteList defines the IPWhiteList middleware configuration. + // This middleware accepts/refuses connections based on the client IP. + // Deprecated: please use IPAllowList instead. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipwhitelist/ IpWhiteList *MiddlewareTCPSpecIpWhiteList `pulumi:"ipWhiteList"` } @@ -12673,7 +13975,14 @@ type MiddlewareTCPSpecInput interface { type MiddlewareTCPSpecArgs struct { // InFlightConn defines the InFlightConn middleware configuration. InFlightConn MiddlewareTCPSpecInFlightConnPtrInput `pulumi:"inFlightConn"` + // IPAllowList defines the IPAllowList middleware configuration. + // This middleware accepts/refuses connections based on the client IP. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipallowlist/ + IpAllowList MiddlewareTCPSpecIpAllowListPtrInput `pulumi:"ipAllowList"` // IPWhiteList defines the IPWhiteList middleware configuration. + // This middleware accepts/refuses connections based on the client IP. + // Deprecated: please use IPAllowList instead. + // More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipwhitelist/ IpWhiteList MiddlewareTCPSpecIpWhiteListPtrInput `pulumi:"ipWhiteList"` } @@ -12778,7 +14087,17 @@ func (o MiddlewareTCPSpecOutput) InFlightConn() MiddlewareTCPSpecInFlightConnPtr return o.ApplyT(func(v MiddlewareTCPSpec) *MiddlewareTCPSpecInFlightConn { return v.InFlightConn }).(MiddlewareTCPSpecInFlightConnPtrOutput) } +// IPAllowList defines the IPAllowList middleware configuration. +// This middleware accepts/refuses connections based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipallowlist/ +func (o MiddlewareTCPSpecOutput) IpAllowList() MiddlewareTCPSpecIpAllowListPtrOutput { + return o.ApplyT(func(v MiddlewareTCPSpec) *MiddlewareTCPSpecIpAllowList { return v.IpAllowList }).(MiddlewareTCPSpecIpAllowListPtrOutput) +} + // IPWhiteList defines the IPWhiteList middleware configuration. +// This middleware accepts/refuses connections based on the client IP. +// Deprecated: please use IPAllowList instead. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipwhitelist/ func (o MiddlewareTCPSpecOutput) IpWhiteList() MiddlewareTCPSpecIpWhiteListPtrOutput { return o.ApplyT(func(v MiddlewareTCPSpec) *MiddlewareTCPSpecIpWhiteList { return v.IpWhiteList }).(MiddlewareTCPSpecIpWhiteListPtrOutput) } @@ -12823,7 +14142,22 @@ func (o MiddlewareTCPSpecPtrOutput) InFlightConn() MiddlewareTCPSpecInFlightConn }).(MiddlewareTCPSpecInFlightConnPtrOutput) } +// IPAllowList defines the IPAllowList middleware configuration. +// This middleware accepts/refuses connections based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipallowlist/ +func (o MiddlewareTCPSpecPtrOutput) IpAllowList() MiddlewareTCPSpecIpAllowListPtrOutput { + return o.ApplyT(func(v *MiddlewareTCPSpec) *MiddlewareTCPSpecIpAllowList { + if v == nil { + return nil + } + return v.IpAllowList + }).(MiddlewareTCPSpecIpAllowListPtrOutput) +} + // IPWhiteList defines the IPWhiteList middleware configuration. +// This middleware accepts/refuses connections based on the client IP. +// Deprecated: please use IPAllowList instead. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipwhitelist/ func (o MiddlewareTCPSpecPtrOutput) IpWhiteList() MiddlewareTCPSpecIpWhiteListPtrOutput { return o.ApplyT(func(v *MiddlewareTCPSpec) *MiddlewareTCPSpecIpWhiteList { if v == nil { @@ -12835,7 +14169,8 @@ func (o MiddlewareTCPSpecPtrOutput) IpWhiteList() MiddlewareTCPSpecIpWhiteListPt // InFlightConn defines the InFlightConn middleware configuration. type MiddlewareTCPSpecInFlightConn struct { - // Amount defines the maximum amount of allowed simultaneous connections. The middleware closes the connection if there are already amount connections opened. + // Amount defines the maximum amount of allowed simultaneous connections. + // The middleware closes the connection if there are already amount connections opened. Amount *int `pulumi:"amount"` } @@ -12852,7 +14187,8 @@ type MiddlewareTCPSpecInFlightConnInput interface { // InFlightConn defines the InFlightConn middleware configuration. type MiddlewareTCPSpecInFlightConnArgs struct { - // Amount defines the maximum amount of allowed simultaneous connections. The middleware closes the connection if there are already amount connections opened. + // Amount defines the maximum amount of allowed simultaneous connections. + // The middleware closes the connection if there are already amount connections opened. Amount pulumi.IntPtrInput `pulumi:"amount"` } @@ -12952,7 +14288,8 @@ func (o MiddlewareTCPSpecInFlightConnOutput) ToOutput(ctx context.Context) pulum } } -// Amount defines the maximum amount of allowed simultaneous connections. The middleware closes the connection if there are already amount connections opened. +// Amount defines the maximum amount of allowed simultaneous connections. +// The middleware closes the connection if there are already amount connections opened. func (o MiddlewareTCPSpecInFlightConnOutput) Amount() pulumi.IntPtrOutput { return o.ApplyT(func(v MiddlewareTCPSpecInFlightConn) *int { return v.Amount }).(pulumi.IntPtrOutput) } @@ -12987,7 +14324,8 @@ func (o MiddlewareTCPSpecInFlightConnPtrOutput) Elem() MiddlewareTCPSpecInFlight }).(MiddlewareTCPSpecInFlightConnOutput) } -// Amount defines the maximum amount of allowed simultaneous connections. The middleware closes the connection if there are already amount connections opened. +// Amount defines the maximum amount of allowed simultaneous connections. +// The middleware closes the connection if there are already amount connections opened. func (o MiddlewareTCPSpecInFlightConnPtrOutput) Amount() pulumi.IntPtrOutput { return o.ApplyT(func(v *MiddlewareTCPSpecInFlightConn) *int { if v == nil { @@ -12997,7 +14335,180 @@ func (o MiddlewareTCPSpecInFlightConnPtrOutput) Amount() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } +// IPAllowList defines the IPAllowList middleware configuration. +// This middleware accepts/refuses connections based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipallowlist/ +type MiddlewareTCPSpecIpAllowList struct { + // SourceRange defines the allowed IPs (or ranges of allowed IPs by using CIDR notation). + SourceRange []string `pulumi:"sourceRange"` +} + +// MiddlewareTCPSpecIpAllowListInput is an input type that accepts MiddlewareTCPSpecIpAllowListArgs and MiddlewareTCPSpecIpAllowListOutput values. +// You can construct a concrete instance of `MiddlewareTCPSpecIpAllowListInput` via: +// +// MiddlewareTCPSpecIpAllowListArgs{...} +type MiddlewareTCPSpecIpAllowListInput interface { + pulumi.Input + + ToMiddlewareTCPSpecIpAllowListOutput() MiddlewareTCPSpecIpAllowListOutput + ToMiddlewareTCPSpecIpAllowListOutputWithContext(context.Context) MiddlewareTCPSpecIpAllowListOutput +} + +// IPAllowList defines the IPAllowList middleware configuration. +// This middleware accepts/refuses connections based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipallowlist/ +type MiddlewareTCPSpecIpAllowListArgs struct { + // SourceRange defines the allowed IPs (or ranges of allowed IPs by using CIDR notation). + SourceRange pulumi.StringArrayInput `pulumi:"sourceRange"` +} + +func (MiddlewareTCPSpecIpAllowListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MiddlewareTCPSpecIpAllowList)(nil)).Elem() +} + +func (i MiddlewareTCPSpecIpAllowListArgs) ToMiddlewareTCPSpecIpAllowListOutput() MiddlewareTCPSpecIpAllowListOutput { + return i.ToMiddlewareTCPSpecIpAllowListOutputWithContext(context.Background()) +} + +func (i MiddlewareTCPSpecIpAllowListArgs) ToMiddlewareTCPSpecIpAllowListOutputWithContext(ctx context.Context) MiddlewareTCPSpecIpAllowListOutput { + return pulumi.ToOutputWithContext(ctx, i).(MiddlewareTCPSpecIpAllowListOutput) +} + +func (i MiddlewareTCPSpecIpAllowListArgs) ToOutput(ctx context.Context) pulumix.Output[MiddlewareTCPSpecIpAllowList] { + return pulumix.Output[MiddlewareTCPSpecIpAllowList]{ + OutputState: i.ToMiddlewareTCPSpecIpAllowListOutputWithContext(ctx).OutputState, + } +} + +func (i MiddlewareTCPSpecIpAllowListArgs) ToMiddlewareTCPSpecIpAllowListPtrOutput() MiddlewareTCPSpecIpAllowListPtrOutput { + return i.ToMiddlewareTCPSpecIpAllowListPtrOutputWithContext(context.Background()) +} + +func (i MiddlewareTCPSpecIpAllowListArgs) ToMiddlewareTCPSpecIpAllowListPtrOutputWithContext(ctx context.Context) MiddlewareTCPSpecIpAllowListPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MiddlewareTCPSpecIpAllowListOutput).ToMiddlewareTCPSpecIpAllowListPtrOutputWithContext(ctx) +} + +// MiddlewareTCPSpecIpAllowListPtrInput is an input type that accepts MiddlewareTCPSpecIpAllowListArgs, MiddlewareTCPSpecIpAllowListPtr and MiddlewareTCPSpecIpAllowListPtrOutput values. +// You can construct a concrete instance of `MiddlewareTCPSpecIpAllowListPtrInput` via: +// +// MiddlewareTCPSpecIpAllowListArgs{...} +// +// or: +// +// nil +type MiddlewareTCPSpecIpAllowListPtrInput interface { + pulumi.Input + + ToMiddlewareTCPSpecIpAllowListPtrOutput() MiddlewareTCPSpecIpAllowListPtrOutput + ToMiddlewareTCPSpecIpAllowListPtrOutputWithContext(context.Context) MiddlewareTCPSpecIpAllowListPtrOutput +} + +type middlewareTCPSpecIpAllowListPtrType MiddlewareTCPSpecIpAllowListArgs + +func MiddlewareTCPSpecIpAllowListPtr(v *MiddlewareTCPSpecIpAllowListArgs) MiddlewareTCPSpecIpAllowListPtrInput { + return (*middlewareTCPSpecIpAllowListPtrType)(v) +} + +func (*middlewareTCPSpecIpAllowListPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MiddlewareTCPSpecIpAllowList)(nil)).Elem() +} + +func (i *middlewareTCPSpecIpAllowListPtrType) ToMiddlewareTCPSpecIpAllowListPtrOutput() MiddlewareTCPSpecIpAllowListPtrOutput { + return i.ToMiddlewareTCPSpecIpAllowListPtrOutputWithContext(context.Background()) +} + +func (i *middlewareTCPSpecIpAllowListPtrType) ToMiddlewareTCPSpecIpAllowListPtrOutputWithContext(ctx context.Context) MiddlewareTCPSpecIpAllowListPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MiddlewareTCPSpecIpAllowListPtrOutput) +} + +func (i *middlewareTCPSpecIpAllowListPtrType) ToOutput(ctx context.Context) pulumix.Output[*MiddlewareTCPSpecIpAllowList] { + return pulumix.Output[*MiddlewareTCPSpecIpAllowList]{ + OutputState: i.ToMiddlewareTCPSpecIpAllowListPtrOutputWithContext(ctx).OutputState, + } +} + +// IPAllowList defines the IPAllowList middleware configuration. +// This middleware accepts/refuses connections based on the client IP. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipallowlist/ +type MiddlewareTCPSpecIpAllowListOutput struct{ *pulumi.OutputState } + +func (MiddlewareTCPSpecIpAllowListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MiddlewareTCPSpecIpAllowList)(nil)).Elem() +} + +func (o MiddlewareTCPSpecIpAllowListOutput) ToMiddlewareTCPSpecIpAllowListOutput() MiddlewareTCPSpecIpAllowListOutput { + return o +} + +func (o MiddlewareTCPSpecIpAllowListOutput) ToMiddlewareTCPSpecIpAllowListOutputWithContext(ctx context.Context) MiddlewareTCPSpecIpAllowListOutput { + return o +} + +func (o MiddlewareTCPSpecIpAllowListOutput) ToMiddlewareTCPSpecIpAllowListPtrOutput() MiddlewareTCPSpecIpAllowListPtrOutput { + return o.ToMiddlewareTCPSpecIpAllowListPtrOutputWithContext(context.Background()) +} + +func (o MiddlewareTCPSpecIpAllowListOutput) ToMiddlewareTCPSpecIpAllowListPtrOutputWithContext(ctx context.Context) MiddlewareTCPSpecIpAllowListPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MiddlewareTCPSpecIpAllowList) *MiddlewareTCPSpecIpAllowList { + return &v + }).(MiddlewareTCPSpecIpAllowListPtrOutput) +} + +func (o MiddlewareTCPSpecIpAllowListOutput) ToOutput(ctx context.Context) pulumix.Output[MiddlewareTCPSpecIpAllowList] { + return pulumix.Output[MiddlewareTCPSpecIpAllowList]{ + OutputState: o.OutputState, + } +} + +// SourceRange defines the allowed IPs (or ranges of allowed IPs by using CIDR notation). +func (o MiddlewareTCPSpecIpAllowListOutput) SourceRange() pulumi.StringArrayOutput { + return o.ApplyT(func(v MiddlewareTCPSpecIpAllowList) []string { return v.SourceRange }).(pulumi.StringArrayOutput) +} + +type MiddlewareTCPSpecIpAllowListPtrOutput struct{ *pulumi.OutputState } + +func (MiddlewareTCPSpecIpAllowListPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MiddlewareTCPSpecIpAllowList)(nil)).Elem() +} + +func (o MiddlewareTCPSpecIpAllowListPtrOutput) ToMiddlewareTCPSpecIpAllowListPtrOutput() MiddlewareTCPSpecIpAllowListPtrOutput { + return o +} + +func (o MiddlewareTCPSpecIpAllowListPtrOutput) ToMiddlewareTCPSpecIpAllowListPtrOutputWithContext(ctx context.Context) MiddlewareTCPSpecIpAllowListPtrOutput { + return o +} + +func (o MiddlewareTCPSpecIpAllowListPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MiddlewareTCPSpecIpAllowList] { + return pulumix.Output[*MiddlewareTCPSpecIpAllowList]{ + OutputState: o.OutputState, + } +} + +func (o MiddlewareTCPSpecIpAllowListPtrOutput) Elem() MiddlewareTCPSpecIpAllowListOutput { + return o.ApplyT(func(v *MiddlewareTCPSpecIpAllowList) MiddlewareTCPSpecIpAllowList { + if v != nil { + return *v + } + var ret MiddlewareTCPSpecIpAllowList + return ret + }).(MiddlewareTCPSpecIpAllowListOutput) +} + +// SourceRange defines the allowed IPs (or ranges of allowed IPs by using CIDR notation). +func (o MiddlewareTCPSpecIpAllowListPtrOutput) SourceRange() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MiddlewareTCPSpecIpAllowList) []string { + if v == nil { + return nil + } + return v.SourceRange + }).(pulumi.StringArrayOutput) +} + // IPWhiteList defines the IPWhiteList middleware configuration. +// This middleware accepts/refuses connections based on the client IP. +// Deprecated: please use IPAllowList instead. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipwhitelist/ type MiddlewareTCPSpecIpWhiteList struct { // SourceRange defines the allowed IPs (or ranges of allowed IPs by using CIDR notation). SourceRange []string `pulumi:"sourceRange"` @@ -13015,6 +14526,9 @@ type MiddlewareTCPSpecIpWhiteListInput interface { } // IPWhiteList defines the IPWhiteList middleware configuration. +// This middleware accepts/refuses connections based on the client IP. +// Deprecated: please use IPAllowList instead. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipwhitelist/ type MiddlewareTCPSpecIpWhiteListArgs struct { // SourceRange defines the allowed IPs (or ranges of allowed IPs by using CIDR notation). SourceRange pulumi.StringArrayInput `pulumi:"sourceRange"` @@ -13086,6 +14600,9 @@ func (i *middlewareTCPSpecIpWhiteListPtrType) ToOutput(ctx context.Context) pulu } // IPWhiteList defines the IPWhiteList middleware configuration. +// This middleware accepts/refuses connections based on the client IP. +// Deprecated: please use IPAllowList instead. +// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipwhitelist/ type MiddlewareTCPSpecIpWhiteListOutput struct{ *pulumi.OutputState } func (MiddlewareTCPSpecIpWhiteListOutput) ElementType() reflect.Type { @@ -13161,7 +14678,10 @@ func (o MiddlewareTCPSpecIpWhiteListPtrOutput) SourceRange() pulumi.StringArrayO }).(pulumi.StringArrayOutput) } -// ServersTransport is the CRD implementation of a ServersTransport. If no serversTransport is specified, the default@internal will be used. The default@internal serversTransport is created from the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#serverstransport_1 +// ServersTransport is the CRD implementation of a ServersTransport. +// If no serversTransport is specified, the default@internal will be used. +// The default@internal serversTransport is created from the static configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#serverstransport_1 type ServersTransportType struct { ApiVersion *string `pulumi:"apiVersion"` Kind *string `pulumi:"kind"` @@ -13710,7 +15230,10 @@ func (o ServersTransportSpecForwardingTimeoutsPtrOutput) ResponseHeaderTimeout() }).(pulumi.AnyOutput) } -// ServersTransportTCP is the CRD implementation of a TCPServersTransport. If no tcpServersTransport is specified, a default one named default@internal will be used. The default@internal tcpServersTransport can be configured in the static configuration. More info: https://doc.traefik.io/traefik/v3.0/routing/services/#serverstransport_3 +// ServersTransportTCP is the CRD implementation of a TCPServersTransport. +// If no tcpServersTransport is specified, a default one named default@internal will be used. +// The default@internal tcpServersTransport can be configured in the static configuration. +// More info: https://doc.traefik.io/traefik/v3.0/routing/services/#serverstransport_3 type ServersTransportTCPType struct { ApiVersion *string `pulumi:"apiVersion"` Kind *string `pulumi:"kind"` @@ -13949,7 +15472,8 @@ type ServersTransportTCPSpecTls struct { CertificatesSecrets []string `pulumi:"certificatesSecrets"` // InsecureSkipVerify disables TLS certificate verification. InsecureSkipVerify *bool `pulumi:"insecureSkipVerify"` - // MaxIdleConnsPerHost controls the maximum idle (keep-alive) to keep per-host. PeerCertURI defines the peer cert URI used to match against SAN URI during the peer certificate verification. + // MaxIdleConnsPerHost controls the maximum idle (keep-alive) to keep per-host. + // PeerCertURI defines the peer cert URI used to match against SAN URI during the peer certificate verification. PeerCertURI *string `pulumi:"peerCertURI"` // RootCAsSecrets defines a list of CA secret used to validate self-signed certificates. RootCAsSecrets []string `pulumi:"rootCAsSecrets"` @@ -13976,7 +15500,8 @@ type ServersTransportTCPSpecTlsArgs struct { CertificatesSecrets pulumi.StringArrayInput `pulumi:"certificatesSecrets"` // InsecureSkipVerify disables TLS certificate verification. InsecureSkipVerify pulumi.BoolPtrInput `pulumi:"insecureSkipVerify"` - // MaxIdleConnsPerHost controls the maximum idle (keep-alive) to keep per-host. PeerCertURI defines the peer cert URI used to match against SAN URI during the peer certificate verification. + // MaxIdleConnsPerHost controls the maximum idle (keep-alive) to keep per-host. + // PeerCertURI defines the peer cert URI used to match against SAN URI during the peer certificate verification. PeerCertURI pulumi.StringPtrInput `pulumi:"peerCertURI"` // RootCAsSecrets defines a list of CA secret used to validate self-signed certificates. RootCAsSecrets pulumi.StringArrayInput `pulumi:"rootCAsSecrets"` @@ -14092,7 +15617,8 @@ func (o ServersTransportTCPSpecTlsOutput) InsecureSkipVerify() pulumi.BoolPtrOut return o.ApplyT(func(v ServersTransportTCPSpecTls) *bool { return v.InsecureSkipVerify }).(pulumi.BoolPtrOutput) } -// MaxIdleConnsPerHost controls the maximum idle (keep-alive) to keep per-host. PeerCertURI defines the peer cert URI used to match against SAN URI during the peer certificate verification. +// MaxIdleConnsPerHost controls the maximum idle (keep-alive) to keep per-host. +// PeerCertURI defines the peer cert URI used to match against SAN URI during the peer certificate verification. func (o ServersTransportTCPSpecTlsOutput) PeerCertURI() pulumi.StringPtrOutput { return o.ApplyT(func(v ServersTransportTCPSpecTls) *string { return v.PeerCertURI }).(pulumi.StringPtrOutput) } @@ -14162,7 +15688,8 @@ func (o ServersTransportTCPSpecTlsPtrOutput) InsecureSkipVerify() pulumi.BoolPtr }).(pulumi.BoolPtrOutput) } -// MaxIdleConnsPerHost controls the maximum idle (keep-alive) to keep per-host. PeerCertURI defines the peer cert URI used to match against SAN URI during the peer certificate verification. +// MaxIdleConnsPerHost controls the maximum idle (keep-alive) to keep per-host. +// PeerCertURI defines the peer cert URI used to match against SAN URI during the peer certificate verification. func (o ServersTransportTCPSpecTlsPtrOutput) PeerCertURI() pulumi.StringPtrOutput { return o.ApplyT(func(v *ServersTransportTCPSpecTls) *string { if v == nil { @@ -14385,7 +15912,8 @@ func (o ServersTransportTCPSpecTlsSpiffePtrOutput) TrustDomain() pulumi.StringPt }).(pulumi.StringPtrOutput) } -// TLSOption is the CRD implementation of a Traefik TLS Option, allowing to configure some parameters of the TLS connection. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options +// TLSOption is the CRD implementation of a Traefik TLS Option, allowing to configure some parameters of the TLS connection. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options type TLSOptionType struct { ApiVersion *string `pulumi:"apiVersion"` Kind *string `pulumi:"kind"` @@ -14399,19 +15927,28 @@ type TLSOptionMetadata struct { // TLSOptionSpec defines the desired state of a TLSOption. type TLSOptionSpec struct { - // ALPNProtocols defines the list of supported application level protocols for the TLS handshake, in order of preference. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#alpn-protocols + // ALPNProtocols defines the list of supported application level protocols for the TLS handshake, in order of preference. + // More info: https://doc.traefik.io/traefik/v2.11/https/tls/#alpn-protocols AlpnProtocols []string `pulumi:"alpnProtocols"` - // CipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#cipher-suites + // CipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2. + // More info: https://doc.traefik.io/traefik/v2.11/https/tls/#cipher-suites CipherSuites []string `pulumi:"cipherSuites"` // ClientAuth defines the server's policy for TLS Client Authentication. ClientAuth *TLSOptionSpecClientAuth `pulumi:"clientAuth"` - // CurvePreferences defines the preferred elliptic curves in a specific order. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#curve-preferences + // CurvePreferences defines the preferred elliptic curves in a specific order. + // More info: https://doc.traefik.io/traefik/v2.11/https/tls/#curve-preferences CurvePreferences []string `pulumi:"curvePreferences"` - // MaxVersion defines the maximum TLS version that Traefik will accept. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. Default: None. + // MaxVersion defines the maximum TLS version that Traefik will accept. + // Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. + // Default: None. MaxVersion *string `pulumi:"maxVersion"` - // MinVersion defines the minimum TLS version that Traefik will accept. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. Default: VersionTLS10. + // MinVersion defines the minimum TLS version that Traefik will accept. + // Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. + // Default: VersionTLS10. MinVersion *string `pulumi:"minVersion"` - // PreferServerCipherSuites defines whether the server chooses a cipher suite among his own instead of among the client's. It is enabled automatically when minVersion or maxVersion is set. Deprecated: https://github.com/golang/go/issues/45430 + // PreferServerCipherSuites defines whether the server chooses a cipher suite among his own instead of among the client's. + // It is enabled automatically when minVersion or maxVersion is set. + // Deprecated: https://github.com/golang/go/issues/45430 PreferServerCipherSuites *bool `pulumi:"preferServerCipherSuites"` // SniStrict defines whether Traefik allows connections from clients connections that do not specify a server_name extension. SniStrict *bool `pulumi:"sniStrict"` @@ -14430,19 +15967,28 @@ type TLSOptionSpecInput interface { // TLSOptionSpec defines the desired state of a TLSOption. type TLSOptionSpecArgs struct { - // ALPNProtocols defines the list of supported application level protocols for the TLS handshake, in order of preference. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#alpn-protocols + // ALPNProtocols defines the list of supported application level protocols for the TLS handshake, in order of preference. + // More info: https://doc.traefik.io/traefik/v2.11/https/tls/#alpn-protocols AlpnProtocols pulumi.StringArrayInput `pulumi:"alpnProtocols"` - // CipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#cipher-suites + // CipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2. + // More info: https://doc.traefik.io/traefik/v2.11/https/tls/#cipher-suites CipherSuites pulumi.StringArrayInput `pulumi:"cipherSuites"` // ClientAuth defines the server's policy for TLS Client Authentication. ClientAuth TLSOptionSpecClientAuthPtrInput `pulumi:"clientAuth"` - // CurvePreferences defines the preferred elliptic curves in a specific order. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#curve-preferences + // CurvePreferences defines the preferred elliptic curves in a specific order. + // More info: https://doc.traefik.io/traefik/v2.11/https/tls/#curve-preferences CurvePreferences pulumi.StringArrayInput `pulumi:"curvePreferences"` - // MaxVersion defines the maximum TLS version that Traefik will accept. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. Default: None. + // MaxVersion defines the maximum TLS version that Traefik will accept. + // Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. + // Default: None. MaxVersion pulumi.StringPtrInput `pulumi:"maxVersion"` - // MinVersion defines the minimum TLS version that Traefik will accept. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. Default: VersionTLS10. + // MinVersion defines the minimum TLS version that Traefik will accept. + // Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. + // Default: VersionTLS10. MinVersion pulumi.StringPtrInput `pulumi:"minVersion"` - // PreferServerCipherSuites defines whether the server chooses a cipher suite among his own instead of among the client's. It is enabled automatically when minVersion or maxVersion is set. Deprecated: https://github.com/golang/go/issues/45430 + // PreferServerCipherSuites defines whether the server chooses a cipher suite among his own instead of among the client's. + // It is enabled automatically when minVersion or maxVersion is set. + // Deprecated: https://github.com/golang/go/issues/45430 PreferServerCipherSuites pulumi.BoolPtrInput `pulumi:"preferServerCipherSuites"` // SniStrict defines whether Traefik allows connections from clients connections that do not specify a server_name extension. SniStrict pulumi.BoolPtrInput `pulumi:"sniStrict"` @@ -14544,12 +16090,14 @@ func (o TLSOptionSpecOutput) ToOutput(ctx context.Context) pulumix.Output[TLSOpt } } -// ALPNProtocols defines the list of supported application level protocols for the TLS handshake, in order of preference. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#alpn-protocols +// ALPNProtocols defines the list of supported application level protocols for the TLS handshake, in order of preference. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#alpn-protocols func (o TLSOptionSpecOutput) AlpnProtocols() pulumi.StringArrayOutput { return o.ApplyT(func(v TLSOptionSpec) []string { return v.AlpnProtocols }).(pulumi.StringArrayOutput) } -// CipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#cipher-suites +// CipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#cipher-suites func (o TLSOptionSpecOutput) CipherSuites() pulumi.StringArrayOutput { return o.ApplyT(func(v TLSOptionSpec) []string { return v.CipherSuites }).(pulumi.StringArrayOutput) } @@ -14559,22 +16107,29 @@ func (o TLSOptionSpecOutput) ClientAuth() TLSOptionSpecClientAuthPtrOutput { return o.ApplyT(func(v TLSOptionSpec) *TLSOptionSpecClientAuth { return v.ClientAuth }).(TLSOptionSpecClientAuthPtrOutput) } -// CurvePreferences defines the preferred elliptic curves in a specific order. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#curve-preferences +// CurvePreferences defines the preferred elliptic curves in a specific order. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#curve-preferences func (o TLSOptionSpecOutput) CurvePreferences() pulumi.StringArrayOutput { return o.ApplyT(func(v TLSOptionSpec) []string { return v.CurvePreferences }).(pulumi.StringArrayOutput) } -// MaxVersion defines the maximum TLS version that Traefik will accept. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. Default: None. +// MaxVersion defines the maximum TLS version that Traefik will accept. +// Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. +// Default: None. func (o TLSOptionSpecOutput) MaxVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v TLSOptionSpec) *string { return v.MaxVersion }).(pulumi.StringPtrOutput) } -// MinVersion defines the minimum TLS version that Traefik will accept. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. Default: VersionTLS10. +// MinVersion defines the minimum TLS version that Traefik will accept. +// Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. +// Default: VersionTLS10. func (o TLSOptionSpecOutput) MinVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v TLSOptionSpec) *string { return v.MinVersion }).(pulumi.StringPtrOutput) } -// PreferServerCipherSuites defines whether the server chooses a cipher suite among his own instead of among the client's. It is enabled automatically when minVersion or maxVersion is set. Deprecated: https://github.com/golang/go/issues/45430 +// PreferServerCipherSuites defines whether the server chooses a cipher suite among his own instead of among the client's. +// It is enabled automatically when minVersion or maxVersion is set. +// Deprecated: https://github.com/golang/go/issues/45430 func (o TLSOptionSpecOutput) PreferServerCipherSuites() pulumi.BoolPtrOutput { return o.ApplyT(func(v TLSOptionSpec) *bool { return v.PreferServerCipherSuites }).(pulumi.BoolPtrOutput) } @@ -14614,7 +16169,8 @@ func (o TLSOptionSpecPtrOutput) Elem() TLSOptionSpecOutput { }).(TLSOptionSpecOutput) } -// ALPNProtocols defines the list of supported application level protocols for the TLS handshake, in order of preference. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#alpn-protocols +// ALPNProtocols defines the list of supported application level protocols for the TLS handshake, in order of preference. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#alpn-protocols func (o TLSOptionSpecPtrOutput) AlpnProtocols() pulumi.StringArrayOutput { return o.ApplyT(func(v *TLSOptionSpec) []string { if v == nil { @@ -14624,7 +16180,8 @@ func (o TLSOptionSpecPtrOutput) AlpnProtocols() pulumi.StringArrayOutput { }).(pulumi.StringArrayOutput) } -// CipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#cipher-suites +// CipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#cipher-suites func (o TLSOptionSpecPtrOutput) CipherSuites() pulumi.StringArrayOutput { return o.ApplyT(func(v *TLSOptionSpec) []string { if v == nil { @@ -14644,7 +16201,8 @@ func (o TLSOptionSpecPtrOutput) ClientAuth() TLSOptionSpecClientAuthPtrOutput { }).(TLSOptionSpecClientAuthPtrOutput) } -// CurvePreferences defines the preferred elliptic curves in a specific order. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#curve-preferences +// CurvePreferences defines the preferred elliptic curves in a specific order. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#curve-preferences func (o TLSOptionSpecPtrOutput) CurvePreferences() pulumi.StringArrayOutput { return o.ApplyT(func(v *TLSOptionSpec) []string { if v == nil { @@ -14654,7 +16212,9 @@ func (o TLSOptionSpecPtrOutput) CurvePreferences() pulumi.StringArrayOutput { }).(pulumi.StringArrayOutput) } -// MaxVersion defines the maximum TLS version that Traefik will accept. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. Default: None. +// MaxVersion defines the maximum TLS version that Traefik will accept. +// Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. +// Default: None. func (o TLSOptionSpecPtrOutput) MaxVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *TLSOptionSpec) *string { if v == nil { @@ -14664,7 +16224,9 @@ func (o TLSOptionSpecPtrOutput) MaxVersion() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// MinVersion defines the minimum TLS version that Traefik will accept. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. Default: VersionTLS10. +// MinVersion defines the minimum TLS version that Traefik will accept. +// Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. +// Default: VersionTLS10. func (o TLSOptionSpecPtrOutput) MinVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *TLSOptionSpec) *string { if v == nil { @@ -14674,7 +16236,9 @@ func (o TLSOptionSpecPtrOutput) MinVersion() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// PreferServerCipherSuites defines whether the server chooses a cipher suite among his own instead of among the client's. It is enabled automatically when minVersion or maxVersion is set. Deprecated: https://github.com/golang/go/issues/45430 +// PreferServerCipherSuites defines whether the server chooses a cipher suite among his own instead of among the client's. +// It is enabled automatically when minVersion or maxVersion is set. +// Deprecated: https://github.com/golang/go/issues/45430 func (o TLSOptionSpecPtrOutput) PreferServerCipherSuites() pulumi.BoolPtrOutput { return o.ApplyT(func(v *TLSOptionSpec) *bool { if v == nil { @@ -14877,7 +16441,10 @@ func (o TLSOptionSpecClientAuthPtrOutput) SecretNames() pulumi.StringArrayOutput }).(pulumi.StringArrayOutput) } -// TLSStore is the CRD implementation of a Traefik TLS Store. For the time being, only the TLSStore named default is supported. This means that you cannot have two stores that are named default in different Kubernetes namespaces. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#certificates-stores +// TLSStore is the CRD implementation of a Traefik TLS Store. +// For the time being, only the TLSStore named default is supported. +// This means that you cannot have two stores that are named default in different Kubernetes namespaces. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#certificates-stores type TLSStoreType struct { ApiVersion *string `pulumi:"apiVersion"` Kind *string `pulumi:"kind"` @@ -15745,7 +17312,11 @@ func (o TLSStoreSpecDefaultGeneratedCertDomainPtrOutput) Sans() pulumi.StringArr }).(pulumi.StringArrayOutput) } -// TraefikService is the CRD implementation of a Traefik Service. TraefikService object allows to: - Apply weight to Services on load-balancing - Mirror traffic on services More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-traefikservice +// TraefikService is the CRD implementation of a Traefik Service. +// TraefikService object allows to: +// - Apply weight to Services on load-balancing +// - Mirror traffic on services +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-traefikservice type TraefikServiceType struct { ApiVersion *string `pulumi:"apiVersion"` Kind *string `pulumi:"kind"` @@ -15944,31 +17515,45 @@ func (o TraefikServiceSpecPtrOutput) Weighted() TraefikServiceSpecWeightedPtrOut type TraefikServiceSpecMirroring struct { // Kind defines the kind of the Service. Kind *string `pulumi:"kind"` - // MaxBodySize defines the maximum size allowed for the body of the request. If the body is larger, the request is not mirrored. Default value is -1, which means unlimited size. + // MaxBodySize defines the maximum size allowed for the body of the request. + // If the body is larger, the request is not mirrored. + // Default value is -1, which means unlimited size. MaxBodySize *int `pulumi:"maxBodySize"` // Mirrors defines the list of mirrors where Traefik will duplicate the traffic. Mirrors []TraefikServiceSpecMirroringMirrors `pulumi:"mirrors"` - // Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. + // Name defines the name of the referenced Kubernetes Service or TraefikService. + // The differentiation between the two is specified in the Kind field. Name string `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service or TraefikService. Namespace *string `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB *bool `pulumi:"nativeLB"` - // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. + // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. + // By default, passHostHeader is true. PassHostHeader *bool `pulumi:"passHostHeader"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port interface{} `pulumi:"port"` // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. ResponseForwarding *TraefikServiceSpecMirroringResponseForwarding `pulumi:"responseForwarding"` - // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. + // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. + // It defaults to https when Kubernetes Service port is 443, http otherwise. Scheme *string `pulumi:"scheme"` - // ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. + // ServersTransport defines the name of ServersTransport resource to use. + // It allows to configure the transport between Traefik and your servers. + // Can only be used on a Kubernetes Service. ServersTransport *string `pulumi:"serversTransport"` - // Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions + // Sticky defines the sticky sessions configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions Sticky *TraefikServiceSpecMirroringSticky `pulumi:"sticky"` - // Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. + // Strategy defines the load balancing strategy between the servers. + // RoundRobin is the only supported value at the moment. Strategy *string `pulumi:"strategy"` - // Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). + // Weight defines the weight and should only be specified when Name references a TraefikService object + // (and to be precise, one that embeds a Weighted Round Robin). Weight *int `pulumi:"weight"` } @@ -15987,31 +17572,45 @@ type TraefikServiceSpecMirroringInput interface { type TraefikServiceSpecMirroringArgs struct { // Kind defines the kind of the Service. Kind pulumi.StringPtrInput `pulumi:"kind"` - // MaxBodySize defines the maximum size allowed for the body of the request. If the body is larger, the request is not mirrored. Default value is -1, which means unlimited size. + // MaxBodySize defines the maximum size allowed for the body of the request. + // If the body is larger, the request is not mirrored. + // Default value is -1, which means unlimited size. MaxBodySize pulumi.IntPtrInput `pulumi:"maxBodySize"` // Mirrors defines the list of mirrors where Traefik will duplicate the traffic. Mirrors TraefikServiceSpecMirroringMirrorsArrayInput `pulumi:"mirrors"` - // Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. + // Name defines the name of the referenced Kubernetes Service or TraefikService. + // The differentiation between the two is specified in the Kind field. Name pulumi.StringInput `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service or TraefikService. Namespace pulumi.StringPtrInput `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB pulumi.BoolPtrInput `pulumi:"nativeLB"` - // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. + // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. + // By default, passHostHeader is true. PassHostHeader pulumi.BoolPtrInput `pulumi:"passHostHeader"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port pulumi.Input `pulumi:"port"` // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. ResponseForwarding TraefikServiceSpecMirroringResponseForwardingPtrInput `pulumi:"responseForwarding"` - // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. + // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. + // It defaults to https when Kubernetes Service port is 443, http otherwise. Scheme pulumi.StringPtrInput `pulumi:"scheme"` - // ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. + // ServersTransport defines the name of ServersTransport resource to use. + // It allows to configure the transport between Traefik and your servers. + // Can only be used on a Kubernetes Service. ServersTransport pulumi.StringPtrInput `pulumi:"serversTransport"` - // Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions + // Sticky defines the sticky sessions configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions Sticky TraefikServiceSpecMirroringStickyPtrInput `pulumi:"sticky"` - // Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. + // Strategy defines the load balancing strategy between the servers. + // RoundRobin is the only supported value at the moment. Strategy pulumi.StringPtrInput `pulumi:"strategy"` - // Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). + // Weight defines the weight and should only be specified when Name references a TraefikService object + // (and to be precise, one that embeds a Weighted Round Robin). Weight pulumi.IntPtrInput `pulumi:"weight"` } @@ -16116,7 +17715,9 @@ func (o TraefikServiceSpecMirroringOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroring) *string { return v.Kind }).(pulumi.StringPtrOutput) } -// MaxBodySize defines the maximum size allowed for the body of the request. If the body is larger, the request is not mirrored. Default value is -1, which means unlimited size. +// MaxBodySize defines the maximum size allowed for the body of the request. +// If the body is larger, the request is not mirrored. +// Default value is -1, which means unlimited size. func (o TraefikServiceSpecMirroringOutput) MaxBodySize() pulumi.IntPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroring) *int { return v.MaxBodySize }).(pulumi.IntPtrOutput) } @@ -16126,7 +17727,8 @@ func (o TraefikServiceSpecMirroringOutput) Mirrors() TraefikServiceSpecMirroring return o.ApplyT(func(v TraefikServiceSpecMirroring) []TraefikServiceSpecMirroringMirrors { return v.Mirrors }).(TraefikServiceSpecMirroringMirrorsArrayOutput) } -// Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. +// Name defines the name of the referenced Kubernetes Service or TraefikService. +// The differentiation between the two is specified in the Kind field. func (o TraefikServiceSpecMirroringOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v TraefikServiceSpecMirroring) string { return v.Name }).(pulumi.StringOutput) } @@ -16136,17 +17738,22 @@ func (o TraefikServiceSpecMirroringOutput) Namespace() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroring) *string { return v.Namespace }).(pulumi.StringPtrOutput) } -// NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. +// NativeLB controls, when creating the load-balancer, +// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. +// The Kubernetes Service itself does load-balance to the pods. +// By default, NativeLB is false. func (o TraefikServiceSpecMirroringOutput) NativeLB() pulumi.BoolPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroring) *bool { return v.NativeLB }).(pulumi.BoolPtrOutput) } -// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. +// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. +// By default, passHostHeader is true. func (o TraefikServiceSpecMirroringOutput) PassHostHeader() pulumi.BoolPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroring) *bool { return v.PassHostHeader }).(pulumi.BoolPtrOutput) } -// Port defines the port of a Kubernetes Service. This can be a reference to a named port. +// Port defines the port of a Kubernetes Service. +// This can be a reference to a named port. func (o TraefikServiceSpecMirroringOutput) Port() pulumi.AnyOutput { return o.ApplyT(func(v TraefikServiceSpecMirroring) interface{} { return v.Port }).(pulumi.AnyOutput) } @@ -16158,27 +17765,33 @@ func (o TraefikServiceSpecMirroringOutput) ResponseForwarding() TraefikServiceSp }).(TraefikServiceSpecMirroringResponseForwardingPtrOutput) } -// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. +// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. +// It defaults to https when Kubernetes Service port is 443, http otherwise. func (o TraefikServiceSpecMirroringOutput) Scheme() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroring) *string { return v.Scheme }).(pulumi.StringPtrOutput) } -// ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. +// ServersTransport defines the name of ServersTransport resource to use. +// It allows to configure the transport between Traefik and your servers. +// Can only be used on a Kubernetes Service. func (o TraefikServiceSpecMirroringOutput) ServersTransport() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroring) *string { return v.ServersTransport }).(pulumi.StringPtrOutput) } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions func (o TraefikServiceSpecMirroringOutput) Sticky() TraefikServiceSpecMirroringStickyPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroring) *TraefikServiceSpecMirroringSticky { return v.Sticky }).(TraefikServiceSpecMirroringStickyPtrOutput) } -// Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. +// Strategy defines the load balancing strategy between the servers. +// RoundRobin is the only supported value at the moment. func (o TraefikServiceSpecMirroringOutput) Strategy() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroring) *string { return v.Strategy }).(pulumi.StringPtrOutput) } -// Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). +// Weight defines the weight and should only be specified when Name references a TraefikService object +// (and to be precise, one that embeds a Weighted Round Robin). func (o TraefikServiceSpecMirroringOutput) Weight() pulumi.IntPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroring) *int { return v.Weight }).(pulumi.IntPtrOutput) } @@ -16223,7 +17836,9 @@ func (o TraefikServiceSpecMirroringPtrOutput) Kind() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// MaxBodySize defines the maximum size allowed for the body of the request. If the body is larger, the request is not mirrored. Default value is -1, which means unlimited size. +// MaxBodySize defines the maximum size allowed for the body of the request. +// If the body is larger, the request is not mirrored. +// Default value is -1, which means unlimited size. func (o TraefikServiceSpecMirroringPtrOutput) MaxBodySize() pulumi.IntPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroring) *int { if v == nil { @@ -16243,7 +17858,8 @@ func (o TraefikServiceSpecMirroringPtrOutput) Mirrors() TraefikServiceSpecMirror }).(TraefikServiceSpecMirroringMirrorsArrayOutput) } -// Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. +// Name defines the name of the referenced Kubernetes Service or TraefikService. +// The differentiation between the two is specified in the Kind field. func (o TraefikServiceSpecMirroringPtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroring) *string { if v == nil { @@ -16263,7 +17879,10 @@ func (o TraefikServiceSpecMirroringPtrOutput) Namespace() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } -// NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. +// NativeLB controls, when creating the load-balancer, +// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. +// The Kubernetes Service itself does load-balance to the pods. +// By default, NativeLB is false. func (o TraefikServiceSpecMirroringPtrOutput) NativeLB() pulumi.BoolPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroring) *bool { if v == nil { @@ -16273,7 +17892,8 @@ func (o TraefikServiceSpecMirroringPtrOutput) NativeLB() pulumi.BoolPtrOutput { }).(pulumi.BoolPtrOutput) } -// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. +// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. +// By default, passHostHeader is true. func (o TraefikServiceSpecMirroringPtrOutput) PassHostHeader() pulumi.BoolPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroring) *bool { if v == nil { @@ -16283,7 +17903,8 @@ func (o TraefikServiceSpecMirroringPtrOutput) PassHostHeader() pulumi.BoolPtrOut }).(pulumi.BoolPtrOutput) } -// Port defines the port of a Kubernetes Service. This can be a reference to a named port. +// Port defines the port of a Kubernetes Service. +// This can be a reference to a named port. func (o TraefikServiceSpecMirroringPtrOutput) Port() pulumi.AnyOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroring) interface{} { if v == nil { @@ -16303,7 +17924,8 @@ func (o TraefikServiceSpecMirroringPtrOutput) ResponseForwarding() TraefikServic }).(TraefikServiceSpecMirroringResponseForwardingPtrOutput) } -// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. +// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. +// It defaults to https when Kubernetes Service port is 443, http otherwise. func (o TraefikServiceSpecMirroringPtrOutput) Scheme() pulumi.StringPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroring) *string { if v == nil { @@ -16313,7 +17935,9 @@ func (o TraefikServiceSpecMirroringPtrOutput) Scheme() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. +// ServersTransport defines the name of ServersTransport resource to use. +// It allows to configure the transport between Traefik and your servers. +// Can only be used on a Kubernetes Service. func (o TraefikServiceSpecMirroringPtrOutput) ServersTransport() pulumi.StringPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroring) *string { if v == nil { @@ -16323,7 +17947,8 @@ func (o TraefikServiceSpecMirroringPtrOutput) ServersTransport() pulumi.StringPt }).(pulumi.StringPtrOutput) } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions func (o TraefikServiceSpecMirroringPtrOutput) Sticky() TraefikServiceSpecMirroringStickyPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroring) *TraefikServiceSpecMirroringSticky { if v == nil { @@ -16333,7 +17958,8 @@ func (o TraefikServiceSpecMirroringPtrOutput) Sticky() TraefikServiceSpecMirrori }).(TraefikServiceSpecMirroringStickyPtrOutput) } -// Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. +// Strategy defines the load balancing strategy between the servers. +// RoundRobin is the only supported value at the moment. func (o TraefikServiceSpecMirroringPtrOutput) Strategy() pulumi.StringPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroring) *string { if v == nil { @@ -16343,7 +17969,8 @@ func (o TraefikServiceSpecMirroringPtrOutput) Strategy() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } -// Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). +// Weight defines the weight and should only be specified when Name references a TraefikService object +// (and to be precise, one that embeds a Weighted Round Robin). func (o TraefikServiceSpecMirroringPtrOutput) Weight() pulumi.IntPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroring) *int { if v == nil { @@ -16357,29 +17984,42 @@ func (o TraefikServiceSpecMirroringPtrOutput) Weight() pulumi.IntPtrOutput { type TraefikServiceSpecMirroringMirrors struct { // Kind defines the kind of the Service. Kind *string `pulumi:"kind"` - // Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. + // Name defines the name of the referenced Kubernetes Service or TraefikService. + // The differentiation between the two is specified in the Kind field. Name string `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service or TraefikService. Namespace *string `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB *bool `pulumi:"nativeLB"` - // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. + // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. + // By default, passHostHeader is true. PassHostHeader *bool `pulumi:"passHostHeader"` - // Percent defines the part of the traffic to mirror. Supported values: 0 to 100. + // Percent defines the part of the traffic to mirror. + // Supported values: 0 to 100. Percent *int `pulumi:"percent"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port interface{} `pulumi:"port"` // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. ResponseForwarding *TraefikServiceSpecMirroringMirrorsResponseForwarding `pulumi:"responseForwarding"` - // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. + // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. + // It defaults to https when Kubernetes Service port is 443, http otherwise. Scheme *string `pulumi:"scheme"` - // ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. + // ServersTransport defines the name of ServersTransport resource to use. + // It allows to configure the transport between Traefik and your servers. + // Can only be used on a Kubernetes Service. ServersTransport *string `pulumi:"serversTransport"` - // Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions + // Sticky defines the sticky sessions configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions Sticky *TraefikServiceSpecMirroringMirrorsSticky `pulumi:"sticky"` - // Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. + // Strategy defines the load balancing strategy between the servers. + // RoundRobin is the only supported value at the moment. Strategy *string `pulumi:"strategy"` - // Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). + // Weight defines the weight and should only be specified when Name references a TraefikService object + // (and to be precise, one that embeds a Weighted Round Robin). Weight *int `pulumi:"weight"` } @@ -16398,29 +18038,42 @@ type TraefikServiceSpecMirroringMirrorsInput interface { type TraefikServiceSpecMirroringMirrorsArgs struct { // Kind defines the kind of the Service. Kind pulumi.StringPtrInput `pulumi:"kind"` - // Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. + // Name defines the name of the referenced Kubernetes Service or TraefikService. + // The differentiation between the two is specified in the Kind field. Name pulumi.StringInput `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service or TraefikService. Namespace pulumi.StringPtrInput `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB pulumi.BoolPtrInput `pulumi:"nativeLB"` - // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. + // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. + // By default, passHostHeader is true. PassHostHeader pulumi.BoolPtrInput `pulumi:"passHostHeader"` - // Percent defines the part of the traffic to mirror. Supported values: 0 to 100. + // Percent defines the part of the traffic to mirror. + // Supported values: 0 to 100. Percent pulumi.IntPtrInput `pulumi:"percent"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port pulumi.Input `pulumi:"port"` // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. ResponseForwarding TraefikServiceSpecMirroringMirrorsResponseForwardingPtrInput `pulumi:"responseForwarding"` - // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. + // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. + // It defaults to https when Kubernetes Service port is 443, http otherwise. Scheme pulumi.StringPtrInput `pulumi:"scheme"` - // ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. + // ServersTransport defines the name of ServersTransport resource to use. + // It allows to configure the transport between Traefik and your servers. + // Can only be used on a Kubernetes Service. ServersTransport pulumi.StringPtrInput `pulumi:"serversTransport"` - // Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions + // Sticky defines the sticky sessions configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions Sticky TraefikServiceSpecMirroringMirrorsStickyPtrInput `pulumi:"sticky"` - // Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. + // Strategy defines the load balancing strategy between the servers. + // RoundRobin is the only supported value at the moment. Strategy pulumi.StringPtrInput `pulumi:"strategy"` - // Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). + // Weight defines the weight and should only be specified when Name references a TraefikService object + // (and to be precise, one that embeds a Weighted Round Robin). Weight pulumi.IntPtrInput `pulumi:"weight"` } @@ -16499,7 +18152,8 @@ func (o TraefikServiceSpecMirroringMirrorsOutput) Kind() pulumi.StringPtrOutput return o.ApplyT(func(v TraefikServiceSpecMirroringMirrors) *string { return v.Kind }).(pulumi.StringPtrOutput) } -// Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. +// Name defines the name of the referenced Kubernetes Service or TraefikService. +// The differentiation between the two is specified in the Kind field. func (o TraefikServiceSpecMirroringMirrorsOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringMirrors) string { return v.Name }).(pulumi.StringOutput) } @@ -16509,22 +18163,28 @@ func (o TraefikServiceSpecMirroringMirrorsOutput) Namespace() pulumi.StringPtrOu return o.ApplyT(func(v TraefikServiceSpecMirroringMirrors) *string { return v.Namespace }).(pulumi.StringPtrOutput) } -// NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. +// NativeLB controls, when creating the load-balancer, +// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. +// The Kubernetes Service itself does load-balance to the pods. +// By default, NativeLB is false. func (o TraefikServiceSpecMirroringMirrorsOutput) NativeLB() pulumi.BoolPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringMirrors) *bool { return v.NativeLB }).(pulumi.BoolPtrOutput) } -// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. +// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. +// By default, passHostHeader is true. func (o TraefikServiceSpecMirroringMirrorsOutput) PassHostHeader() pulumi.BoolPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringMirrors) *bool { return v.PassHostHeader }).(pulumi.BoolPtrOutput) } -// Percent defines the part of the traffic to mirror. Supported values: 0 to 100. +// Percent defines the part of the traffic to mirror. +// Supported values: 0 to 100. func (o TraefikServiceSpecMirroringMirrorsOutput) Percent() pulumi.IntPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringMirrors) *int { return v.Percent }).(pulumi.IntPtrOutput) } -// Port defines the port of a Kubernetes Service. This can be a reference to a named port. +// Port defines the port of a Kubernetes Service. +// This can be a reference to a named port. func (o TraefikServiceSpecMirroringMirrorsOutput) Port() pulumi.AnyOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringMirrors) interface{} { return v.Port }).(pulumi.AnyOutput) } @@ -16536,27 +18196,33 @@ func (o TraefikServiceSpecMirroringMirrorsOutput) ResponseForwarding() TraefikSe }).(TraefikServiceSpecMirroringMirrorsResponseForwardingPtrOutput) } -// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. +// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. +// It defaults to https when Kubernetes Service port is 443, http otherwise. func (o TraefikServiceSpecMirroringMirrorsOutput) Scheme() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringMirrors) *string { return v.Scheme }).(pulumi.StringPtrOutput) } -// ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. +// ServersTransport defines the name of ServersTransport resource to use. +// It allows to configure the transport between Traefik and your servers. +// Can only be used on a Kubernetes Service. func (o TraefikServiceSpecMirroringMirrorsOutput) ServersTransport() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringMirrors) *string { return v.ServersTransport }).(pulumi.StringPtrOutput) } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions func (o TraefikServiceSpecMirroringMirrorsOutput) Sticky() TraefikServiceSpecMirroringMirrorsStickyPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringMirrors) *TraefikServiceSpecMirroringMirrorsSticky { return v.Sticky }).(TraefikServiceSpecMirroringMirrorsStickyPtrOutput) } -// Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. +// Strategy defines the load balancing strategy between the servers. +// RoundRobin is the only supported value at the moment. func (o TraefikServiceSpecMirroringMirrorsOutput) Strategy() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringMirrors) *string { return v.Strategy }).(pulumi.StringPtrOutput) } -// Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). +// Weight defines the weight and should only be specified when Name references a TraefikService object +// (and to be precise, one that embeds a Weighted Round Robin). func (o TraefikServiceSpecMirroringMirrorsOutput) Weight() pulumi.IntPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringMirrors) *int { return v.Weight }).(pulumi.IntPtrOutput) } @@ -16589,7 +18255,11 @@ func (o TraefikServiceSpecMirroringMirrorsArrayOutput) Index(i pulumi.IntInput) // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. type TraefikServiceSpecMirroringMirrorsResponseForwarding struct { - // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms + // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. + // A negative value means to flush immediately after each write to the client. + // This configuration is ignored when ReverseProxy recognizes a response as a streaming response; + // for such responses, writes are flushed to the client immediately. + // Default: 100ms FlushInterval *string `pulumi:"flushInterval"` } @@ -16606,7 +18276,11 @@ type TraefikServiceSpecMirroringMirrorsResponseForwardingInput interface { // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. type TraefikServiceSpecMirroringMirrorsResponseForwardingArgs struct { - // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms + // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. + // A negative value means to flush immediately after each write to the client. + // This configuration is ignored when ReverseProxy recognizes a response as a streaming response; + // for such responses, writes are flushed to the client immediately. + // Default: 100ms FlushInterval pulumi.StringPtrInput `pulumi:"flushInterval"` } @@ -16706,7 +18380,11 @@ func (o TraefikServiceSpecMirroringMirrorsResponseForwardingOutput) ToOutput(ctx } } -// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms +// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. +// A negative value means to flush immediately after each write to the client. +// This configuration is ignored when ReverseProxy recognizes a response as a streaming response; +// for such responses, writes are flushed to the client immediately. +// Default: 100ms func (o TraefikServiceSpecMirroringMirrorsResponseForwardingOutput) FlushInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringMirrorsResponseForwarding) *string { return v.FlushInterval }).(pulumi.StringPtrOutput) } @@ -16741,7 +18419,11 @@ func (o TraefikServiceSpecMirroringMirrorsResponseForwardingPtrOutput) Elem() Tr }).(TraefikServiceSpecMirroringMirrorsResponseForwardingOutput) } -// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms +// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. +// A negative value means to flush immediately after each write to the client. +// This configuration is ignored when ReverseProxy recognizes a response as a streaming response; +// for such responses, writes are flushed to the client immediately. +// Default: 100ms func (o TraefikServiceSpecMirroringMirrorsResponseForwardingPtrOutput) FlushInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroringMirrorsResponseForwarding) *string { if v == nil { @@ -16751,7 +18433,8 @@ func (o TraefikServiceSpecMirroringMirrorsResponseForwardingPtrOutput) FlushInte }).(pulumi.StringPtrOutput) } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type TraefikServiceSpecMirroringMirrorsSticky struct { // Cookie defines the sticky cookie configuration. Cookie *TraefikServiceSpecMirroringMirrorsStickyCookie `pulumi:"cookie"` @@ -16768,7 +18451,8 @@ type TraefikServiceSpecMirroringMirrorsStickyInput interface { ToTraefikServiceSpecMirroringMirrorsStickyOutputWithContext(context.Context) TraefikServiceSpecMirroringMirrorsStickyOutput } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type TraefikServiceSpecMirroringMirrorsStickyArgs struct { // Cookie defines the sticky cookie configuration. Cookie TraefikServiceSpecMirroringMirrorsStickyCookiePtrInput `pulumi:"cookie"` @@ -16839,7 +18523,8 @@ func (i *traefikServiceSpecMirroringMirrorsStickyPtrType) ToOutput(ctx context.C } } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type TraefikServiceSpecMirroringMirrorsStickyOutput struct{ *pulumi.OutputState } func (TraefikServiceSpecMirroringMirrorsStickyOutput) ElementType() reflect.Type { @@ -16923,7 +18608,8 @@ type TraefikServiceSpecMirroringMirrorsStickyCookie struct { HttpOnly *bool `pulumi:"httpOnly"` // Name defines the Cookie name. Name *string `pulumi:"name"` - // SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite + // SameSite defines the same site policy. + // More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite SameSite *string `pulumi:"sameSite"` // Secure defines whether the cookie can only be transmitted over an encrypted connection (i.e. HTTPS). Secure *bool `pulumi:"secure"` @@ -16946,7 +18632,8 @@ type TraefikServiceSpecMirroringMirrorsStickyCookieArgs struct { HttpOnly pulumi.BoolPtrInput `pulumi:"httpOnly"` // Name defines the Cookie name. Name pulumi.StringPtrInput `pulumi:"name"` - // SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite + // SameSite defines the same site policy. + // More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite SameSite pulumi.StringPtrInput `pulumi:"sameSite"` // Secure defines whether the cookie can only be transmitted over an encrypted connection (i.e. HTTPS). Secure pulumi.BoolPtrInput `pulumi:"secure"` @@ -17058,7 +18745,8 @@ func (o TraefikServiceSpecMirroringMirrorsStickyCookieOutput) Name() pulumi.Stri return o.ApplyT(func(v TraefikServiceSpecMirroringMirrorsStickyCookie) *string { return v.Name }).(pulumi.StringPtrOutput) } -// SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +// SameSite defines the same site policy. +// More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite func (o TraefikServiceSpecMirroringMirrorsStickyCookieOutput) SameSite() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringMirrorsStickyCookie) *string { return v.SameSite }).(pulumi.StringPtrOutput) } @@ -17118,7 +18806,8 @@ func (o TraefikServiceSpecMirroringMirrorsStickyCookiePtrOutput) Name() pulumi.S }).(pulumi.StringPtrOutput) } -// SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +// SameSite defines the same site policy. +// More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite func (o TraefikServiceSpecMirroringMirrorsStickyCookiePtrOutput) SameSite() pulumi.StringPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroringMirrorsStickyCookie) *string { if v == nil { @@ -17140,7 +18829,11 @@ func (o TraefikServiceSpecMirroringMirrorsStickyCookiePtrOutput) Secure() pulumi // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. type TraefikServiceSpecMirroringResponseForwarding struct { - // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms + // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. + // A negative value means to flush immediately after each write to the client. + // This configuration is ignored when ReverseProxy recognizes a response as a streaming response; + // for such responses, writes are flushed to the client immediately. + // Default: 100ms FlushInterval *string `pulumi:"flushInterval"` } @@ -17157,7 +18850,11 @@ type TraefikServiceSpecMirroringResponseForwardingInput interface { // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. type TraefikServiceSpecMirroringResponseForwardingArgs struct { - // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms + // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. + // A negative value means to flush immediately after each write to the client. + // This configuration is ignored when ReverseProxy recognizes a response as a streaming response; + // for such responses, writes are flushed to the client immediately. + // Default: 100ms FlushInterval pulumi.StringPtrInput `pulumi:"flushInterval"` } @@ -17257,7 +18954,11 @@ func (o TraefikServiceSpecMirroringResponseForwardingOutput) ToOutput(ctx contex } } -// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms +// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. +// A negative value means to flush immediately after each write to the client. +// This configuration is ignored when ReverseProxy recognizes a response as a streaming response; +// for such responses, writes are flushed to the client immediately. +// Default: 100ms func (o TraefikServiceSpecMirroringResponseForwardingOutput) FlushInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringResponseForwarding) *string { return v.FlushInterval }).(pulumi.StringPtrOutput) } @@ -17292,7 +18993,11 @@ func (o TraefikServiceSpecMirroringResponseForwardingPtrOutput) Elem() TraefikSe }).(TraefikServiceSpecMirroringResponseForwardingOutput) } -// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms +// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. +// A negative value means to flush immediately after each write to the client. +// This configuration is ignored when ReverseProxy recognizes a response as a streaming response; +// for such responses, writes are flushed to the client immediately. +// Default: 100ms func (o TraefikServiceSpecMirroringResponseForwardingPtrOutput) FlushInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroringResponseForwarding) *string { if v == nil { @@ -17302,7 +19007,8 @@ func (o TraefikServiceSpecMirroringResponseForwardingPtrOutput) FlushInterval() }).(pulumi.StringPtrOutput) } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type TraefikServiceSpecMirroringSticky struct { // Cookie defines the sticky cookie configuration. Cookie *TraefikServiceSpecMirroringStickyCookie `pulumi:"cookie"` @@ -17319,7 +19025,8 @@ type TraefikServiceSpecMirroringStickyInput interface { ToTraefikServiceSpecMirroringStickyOutputWithContext(context.Context) TraefikServiceSpecMirroringStickyOutput } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type TraefikServiceSpecMirroringStickyArgs struct { // Cookie defines the sticky cookie configuration. Cookie TraefikServiceSpecMirroringStickyCookiePtrInput `pulumi:"cookie"` @@ -17390,7 +19097,8 @@ func (i *traefikServiceSpecMirroringStickyPtrType) ToOutput(ctx context.Context) } } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type TraefikServiceSpecMirroringStickyOutput struct{ *pulumi.OutputState } func (TraefikServiceSpecMirroringStickyOutput) ElementType() reflect.Type { @@ -17472,7 +19180,8 @@ type TraefikServiceSpecMirroringStickyCookie struct { HttpOnly *bool `pulumi:"httpOnly"` // Name defines the Cookie name. Name *string `pulumi:"name"` - // SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite + // SameSite defines the same site policy. + // More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite SameSite *string `pulumi:"sameSite"` // Secure defines whether the cookie can only be transmitted over an encrypted connection (i.e. HTTPS). Secure *bool `pulumi:"secure"` @@ -17495,7 +19204,8 @@ type TraefikServiceSpecMirroringStickyCookieArgs struct { HttpOnly pulumi.BoolPtrInput `pulumi:"httpOnly"` // Name defines the Cookie name. Name pulumi.StringPtrInput `pulumi:"name"` - // SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite + // SameSite defines the same site policy. + // More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite SameSite pulumi.StringPtrInput `pulumi:"sameSite"` // Secure defines whether the cookie can only be transmitted over an encrypted connection (i.e. HTTPS). Secure pulumi.BoolPtrInput `pulumi:"secure"` @@ -17607,7 +19317,8 @@ func (o TraefikServiceSpecMirroringStickyCookieOutput) Name() pulumi.StringPtrOu return o.ApplyT(func(v TraefikServiceSpecMirroringStickyCookie) *string { return v.Name }).(pulumi.StringPtrOutput) } -// SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +// SameSite defines the same site policy. +// More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite func (o TraefikServiceSpecMirroringStickyCookieOutput) SameSite() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecMirroringStickyCookie) *string { return v.SameSite }).(pulumi.StringPtrOutput) } @@ -17667,7 +19378,8 @@ func (o TraefikServiceSpecMirroringStickyCookiePtrOutput) Name() pulumi.StringPt }).(pulumi.StringPtrOutput) } -// SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +// SameSite defines the same site policy. +// More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite func (o TraefikServiceSpecMirroringStickyCookiePtrOutput) SameSite() pulumi.StringPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecMirroringStickyCookie) *string { if v == nil { @@ -17691,7 +19403,8 @@ func (o TraefikServiceSpecMirroringStickyCookiePtrOutput) Secure() pulumi.BoolPt type TraefikServiceSpecWeighted struct { // Services defines the list of Kubernetes Service and/or TraefikService to load-balance, with weight. Services []TraefikServiceSpecWeightedServices `pulumi:"services"` - // Sticky defines whether sticky sessions are enabled. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#stickiness-and-load-balancing + // Sticky defines whether sticky sessions are enabled. + // More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#stickiness-and-load-balancing Sticky *TraefikServiceSpecWeightedSticky `pulumi:"sticky"` } @@ -17710,7 +19423,8 @@ type TraefikServiceSpecWeightedInput interface { type TraefikServiceSpecWeightedArgs struct { // Services defines the list of Kubernetes Service and/or TraefikService to load-balance, with weight. Services TraefikServiceSpecWeightedServicesArrayInput `pulumi:"services"` - // Sticky defines whether sticky sessions are enabled. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#stickiness-and-load-balancing + // Sticky defines whether sticky sessions are enabled. + // More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#stickiness-and-load-balancing Sticky TraefikServiceSpecWeightedStickyPtrInput `pulumi:"sticky"` } @@ -17815,7 +19529,8 @@ func (o TraefikServiceSpecWeightedOutput) Services() TraefikServiceSpecWeightedS return o.ApplyT(func(v TraefikServiceSpecWeighted) []TraefikServiceSpecWeightedServices { return v.Services }).(TraefikServiceSpecWeightedServicesArrayOutput) } -// Sticky defines whether sticky sessions are enabled. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#stickiness-and-load-balancing +// Sticky defines whether sticky sessions are enabled. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#stickiness-and-load-balancing func (o TraefikServiceSpecWeightedOutput) Sticky() TraefikServiceSpecWeightedStickyPtrOutput { return o.ApplyT(func(v TraefikServiceSpecWeighted) *TraefikServiceSpecWeightedSticky { return v.Sticky }).(TraefikServiceSpecWeightedStickyPtrOutput) } @@ -17860,7 +19575,8 @@ func (o TraefikServiceSpecWeightedPtrOutput) Services() TraefikServiceSpecWeight }).(TraefikServiceSpecWeightedServicesArrayOutput) } -// Sticky defines whether sticky sessions are enabled. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#stickiness-and-load-balancing +// Sticky defines whether sticky sessions are enabled. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#stickiness-and-load-balancing func (o TraefikServiceSpecWeightedPtrOutput) Sticky() TraefikServiceSpecWeightedStickyPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecWeighted) *TraefikServiceSpecWeightedSticky { if v == nil { @@ -17874,27 +19590,39 @@ func (o TraefikServiceSpecWeightedPtrOutput) Sticky() TraefikServiceSpecWeighted type TraefikServiceSpecWeightedServices struct { // Kind defines the kind of the Service. Kind *string `pulumi:"kind"` - // Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. + // Name defines the name of the referenced Kubernetes Service or TraefikService. + // The differentiation between the two is specified in the Kind field. Name string `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service or TraefikService. Namespace *string `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB *bool `pulumi:"nativeLB"` - // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. + // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. + // By default, passHostHeader is true. PassHostHeader *bool `pulumi:"passHostHeader"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port interface{} `pulumi:"port"` // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. ResponseForwarding *TraefikServiceSpecWeightedServicesResponseForwarding `pulumi:"responseForwarding"` - // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. + // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. + // It defaults to https when Kubernetes Service port is 443, http otherwise. Scheme *string `pulumi:"scheme"` - // ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. + // ServersTransport defines the name of ServersTransport resource to use. + // It allows to configure the transport between Traefik and your servers. + // Can only be used on a Kubernetes Service. ServersTransport *string `pulumi:"serversTransport"` - // Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions + // Sticky defines the sticky sessions configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions Sticky *TraefikServiceSpecWeightedServicesSticky `pulumi:"sticky"` - // Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. + // Strategy defines the load balancing strategy between the servers. + // RoundRobin is the only supported value at the moment. Strategy *string `pulumi:"strategy"` - // Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). + // Weight defines the weight and should only be specified when Name references a TraefikService object + // (and to be precise, one that embeds a Weighted Round Robin). Weight *int `pulumi:"weight"` } @@ -17913,27 +19641,39 @@ type TraefikServiceSpecWeightedServicesInput interface { type TraefikServiceSpecWeightedServicesArgs struct { // Kind defines the kind of the Service. Kind pulumi.StringPtrInput `pulumi:"kind"` - // Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. + // Name defines the name of the referenced Kubernetes Service or TraefikService. + // The differentiation between the two is specified in the Kind field. Name pulumi.StringInput `pulumi:"name"` // Namespace defines the namespace of the referenced Kubernetes Service or TraefikService. Namespace pulumi.StringPtrInput `pulumi:"namespace"` - // NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. + // NativeLB controls, when creating the load-balancer, + // whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. + // The Kubernetes Service itself does load-balance to the pods. + // By default, NativeLB is false. NativeLB pulumi.BoolPtrInput `pulumi:"nativeLB"` - // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. + // PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. + // By default, passHostHeader is true. PassHostHeader pulumi.BoolPtrInput `pulumi:"passHostHeader"` - // Port defines the port of a Kubernetes Service. This can be a reference to a named port. + // Port defines the port of a Kubernetes Service. + // This can be a reference to a named port. Port pulumi.Input `pulumi:"port"` // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. ResponseForwarding TraefikServiceSpecWeightedServicesResponseForwardingPtrInput `pulumi:"responseForwarding"` - // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. + // Scheme defines the scheme to use for the request to the upstream Kubernetes Service. + // It defaults to https when Kubernetes Service port is 443, http otherwise. Scheme pulumi.StringPtrInput `pulumi:"scheme"` - // ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. + // ServersTransport defines the name of ServersTransport resource to use. + // It allows to configure the transport between Traefik and your servers. + // Can only be used on a Kubernetes Service. ServersTransport pulumi.StringPtrInput `pulumi:"serversTransport"` - // Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions + // Sticky defines the sticky sessions configuration. + // More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions Sticky TraefikServiceSpecWeightedServicesStickyPtrInput `pulumi:"sticky"` - // Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. + // Strategy defines the load balancing strategy between the servers. + // RoundRobin is the only supported value at the moment. Strategy pulumi.StringPtrInput `pulumi:"strategy"` - // Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). + // Weight defines the weight and should only be specified when Name references a TraefikService object + // (and to be precise, one that embeds a Weighted Round Robin). Weight pulumi.IntPtrInput `pulumi:"weight"` } @@ -18012,7 +19752,8 @@ func (o TraefikServiceSpecWeightedServicesOutput) Kind() pulumi.StringPtrOutput return o.ApplyT(func(v TraefikServiceSpecWeightedServices) *string { return v.Kind }).(pulumi.StringPtrOutput) } -// Name defines the name of the referenced Kubernetes Service or TraefikService. The differentiation between the two is specified in the Kind field. +// Name defines the name of the referenced Kubernetes Service or TraefikService. +// The differentiation between the two is specified in the Kind field. func (o TraefikServiceSpecWeightedServicesOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v TraefikServiceSpecWeightedServices) string { return v.Name }).(pulumi.StringOutput) } @@ -18022,17 +19763,22 @@ func (o TraefikServiceSpecWeightedServicesOutput) Namespace() pulumi.StringPtrOu return o.ApplyT(func(v TraefikServiceSpecWeightedServices) *string { return v.Namespace }).(pulumi.StringPtrOutput) } -// NativeLB controls, when creating the load-balancer, whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. The Kubernetes Service itself does load-balance to the pods. By default, NativeLB is false. +// NativeLB controls, when creating the load-balancer, +// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP. +// The Kubernetes Service itself does load-balance to the pods. +// By default, NativeLB is false. func (o TraefikServiceSpecWeightedServicesOutput) NativeLB() pulumi.BoolPtrOutput { return o.ApplyT(func(v TraefikServiceSpecWeightedServices) *bool { return v.NativeLB }).(pulumi.BoolPtrOutput) } -// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. By default, passHostHeader is true. +// PassHostHeader defines whether the client Host header is forwarded to the upstream Kubernetes Service. +// By default, passHostHeader is true. func (o TraefikServiceSpecWeightedServicesOutput) PassHostHeader() pulumi.BoolPtrOutput { return o.ApplyT(func(v TraefikServiceSpecWeightedServices) *bool { return v.PassHostHeader }).(pulumi.BoolPtrOutput) } -// Port defines the port of a Kubernetes Service. This can be a reference to a named port. +// Port defines the port of a Kubernetes Service. +// This can be a reference to a named port. func (o TraefikServiceSpecWeightedServicesOutput) Port() pulumi.AnyOutput { return o.ApplyT(func(v TraefikServiceSpecWeightedServices) interface{} { return v.Port }).(pulumi.AnyOutput) } @@ -18044,27 +19790,33 @@ func (o TraefikServiceSpecWeightedServicesOutput) ResponseForwarding() TraefikSe }).(TraefikServiceSpecWeightedServicesResponseForwardingPtrOutput) } -// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. It defaults to https when Kubernetes Service port is 443, http otherwise. +// Scheme defines the scheme to use for the request to the upstream Kubernetes Service. +// It defaults to https when Kubernetes Service port is 443, http otherwise. func (o TraefikServiceSpecWeightedServicesOutput) Scheme() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecWeightedServices) *string { return v.Scheme }).(pulumi.StringPtrOutput) } -// ServersTransport defines the name of ServersTransport resource to use. It allows to configure the transport between Traefik and your servers. Can only be used on a Kubernetes Service. +// ServersTransport defines the name of ServersTransport resource to use. +// It allows to configure the transport between Traefik and your servers. +// Can only be used on a Kubernetes Service. func (o TraefikServiceSpecWeightedServicesOutput) ServersTransport() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecWeightedServices) *string { return v.ServersTransport }).(pulumi.StringPtrOutput) } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions func (o TraefikServiceSpecWeightedServicesOutput) Sticky() TraefikServiceSpecWeightedServicesStickyPtrOutput { return o.ApplyT(func(v TraefikServiceSpecWeightedServices) *TraefikServiceSpecWeightedServicesSticky { return v.Sticky }).(TraefikServiceSpecWeightedServicesStickyPtrOutput) } -// Strategy defines the load balancing strategy between the servers. RoundRobin is the only supported value at the moment. +// Strategy defines the load balancing strategy between the servers. +// RoundRobin is the only supported value at the moment. func (o TraefikServiceSpecWeightedServicesOutput) Strategy() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecWeightedServices) *string { return v.Strategy }).(pulumi.StringPtrOutput) } -// Weight defines the weight and should only be specified when Name references a TraefikService object (and to be precise, one that embeds a Weighted Round Robin). +// Weight defines the weight and should only be specified when Name references a TraefikService object +// (and to be precise, one that embeds a Weighted Round Robin). func (o TraefikServiceSpecWeightedServicesOutput) Weight() pulumi.IntPtrOutput { return o.ApplyT(func(v TraefikServiceSpecWeightedServices) *int { return v.Weight }).(pulumi.IntPtrOutput) } @@ -18097,7 +19849,11 @@ func (o TraefikServiceSpecWeightedServicesArrayOutput) Index(i pulumi.IntInput) // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. type TraefikServiceSpecWeightedServicesResponseForwarding struct { - // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms + // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. + // A negative value means to flush immediately after each write to the client. + // This configuration is ignored when ReverseProxy recognizes a response as a streaming response; + // for such responses, writes are flushed to the client immediately. + // Default: 100ms FlushInterval *string `pulumi:"flushInterval"` } @@ -18114,7 +19870,11 @@ type TraefikServiceSpecWeightedServicesResponseForwardingInput interface { // ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. type TraefikServiceSpecWeightedServicesResponseForwardingArgs struct { - // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms + // FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. + // A negative value means to flush immediately after each write to the client. + // This configuration is ignored when ReverseProxy recognizes a response as a streaming response; + // for such responses, writes are flushed to the client immediately. + // Default: 100ms FlushInterval pulumi.StringPtrInput `pulumi:"flushInterval"` } @@ -18214,7 +19974,11 @@ func (o TraefikServiceSpecWeightedServicesResponseForwardingOutput) ToOutput(ctx } } -// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms +// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. +// A negative value means to flush immediately after each write to the client. +// This configuration is ignored when ReverseProxy recognizes a response as a streaming response; +// for such responses, writes are flushed to the client immediately. +// Default: 100ms func (o TraefikServiceSpecWeightedServicesResponseForwardingOutput) FlushInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecWeightedServicesResponseForwarding) *string { return v.FlushInterval }).(pulumi.StringPtrOutput) } @@ -18249,7 +20013,11 @@ func (o TraefikServiceSpecWeightedServicesResponseForwardingPtrOutput) Elem() Tr }).(TraefikServiceSpecWeightedServicesResponseForwardingOutput) } -// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. A negative value means to flush immediately after each write to the client. This configuration is ignored when ReverseProxy recognizes a response as a streaming response; for such responses, writes are flushed to the client immediately. Default: 100ms +// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. +// A negative value means to flush immediately after each write to the client. +// This configuration is ignored when ReverseProxy recognizes a response as a streaming response; +// for such responses, writes are flushed to the client immediately. +// Default: 100ms func (o TraefikServiceSpecWeightedServicesResponseForwardingPtrOutput) FlushInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecWeightedServicesResponseForwarding) *string { if v == nil { @@ -18259,7 +20027,8 @@ func (o TraefikServiceSpecWeightedServicesResponseForwardingPtrOutput) FlushInte }).(pulumi.StringPtrOutput) } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type TraefikServiceSpecWeightedServicesSticky struct { // Cookie defines the sticky cookie configuration. Cookie *TraefikServiceSpecWeightedServicesStickyCookie `pulumi:"cookie"` @@ -18276,7 +20045,8 @@ type TraefikServiceSpecWeightedServicesStickyInput interface { ToTraefikServiceSpecWeightedServicesStickyOutputWithContext(context.Context) TraefikServiceSpecWeightedServicesStickyOutput } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type TraefikServiceSpecWeightedServicesStickyArgs struct { // Cookie defines the sticky cookie configuration. Cookie TraefikServiceSpecWeightedServicesStickyCookiePtrInput `pulumi:"cookie"` @@ -18347,7 +20117,8 @@ func (i *traefikServiceSpecWeightedServicesStickyPtrType) ToOutput(ctx context.C } } -// Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions +// Sticky defines the sticky sessions configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions type TraefikServiceSpecWeightedServicesStickyOutput struct{ *pulumi.OutputState } func (TraefikServiceSpecWeightedServicesStickyOutput) ElementType() reflect.Type { @@ -18431,7 +20202,8 @@ type TraefikServiceSpecWeightedServicesStickyCookie struct { HttpOnly *bool `pulumi:"httpOnly"` // Name defines the Cookie name. Name *string `pulumi:"name"` - // SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite + // SameSite defines the same site policy. + // More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite SameSite *string `pulumi:"sameSite"` // Secure defines whether the cookie can only be transmitted over an encrypted connection (i.e. HTTPS). Secure *bool `pulumi:"secure"` @@ -18454,7 +20226,8 @@ type TraefikServiceSpecWeightedServicesStickyCookieArgs struct { HttpOnly pulumi.BoolPtrInput `pulumi:"httpOnly"` // Name defines the Cookie name. Name pulumi.StringPtrInput `pulumi:"name"` - // SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite + // SameSite defines the same site policy. + // More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite SameSite pulumi.StringPtrInput `pulumi:"sameSite"` // Secure defines whether the cookie can only be transmitted over an encrypted connection (i.e. HTTPS). Secure pulumi.BoolPtrInput `pulumi:"secure"` @@ -18566,7 +20339,8 @@ func (o TraefikServiceSpecWeightedServicesStickyCookieOutput) Name() pulumi.Stri return o.ApplyT(func(v TraefikServiceSpecWeightedServicesStickyCookie) *string { return v.Name }).(pulumi.StringPtrOutput) } -// SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +// SameSite defines the same site policy. +// More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite func (o TraefikServiceSpecWeightedServicesStickyCookieOutput) SameSite() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecWeightedServicesStickyCookie) *string { return v.SameSite }).(pulumi.StringPtrOutput) } @@ -18626,7 +20400,8 @@ func (o TraefikServiceSpecWeightedServicesStickyCookiePtrOutput) Name() pulumi.S }).(pulumi.StringPtrOutput) } -// SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +// SameSite defines the same site policy. +// More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite func (o TraefikServiceSpecWeightedServicesStickyCookiePtrOutput) SameSite() pulumi.StringPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecWeightedServicesStickyCookie) *string { if v == nil { @@ -18646,7 +20421,8 @@ func (o TraefikServiceSpecWeightedServicesStickyCookiePtrOutput) Secure() pulumi }).(pulumi.BoolPtrOutput) } -// Sticky defines whether sticky sessions are enabled. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#stickiness-and-load-balancing +// Sticky defines whether sticky sessions are enabled. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#stickiness-and-load-balancing type TraefikServiceSpecWeightedSticky struct { // Cookie defines the sticky cookie configuration. Cookie *TraefikServiceSpecWeightedStickyCookie `pulumi:"cookie"` @@ -18663,7 +20439,8 @@ type TraefikServiceSpecWeightedStickyInput interface { ToTraefikServiceSpecWeightedStickyOutputWithContext(context.Context) TraefikServiceSpecWeightedStickyOutput } -// Sticky defines whether sticky sessions are enabled. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#stickiness-and-load-balancing +// Sticky defines whether sticky sessions are enabled. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#stickiness-and-load-balancing type TraefikServiceSpecWeightedStickyArgs struct { // Cookie defines the sticky cookie configuration. Cookie TraefikServiceSpecWeightedStickyCookiePtrInput `pulumi:"cookie"` @@ -18734,7 +20511,8 @@ func (i *traefikServiceSpecWeightedStickyPtrType) ToOutput(ctx context.Context) } } -// Sticky defines whether sticky sessions are enabled. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#stickiness-and-load-balancing +// Sticky defines whether sticky sessions are enabled. +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#stickiness-and-load-balancing type TraefikServiceSpecWeightedStickyOutput struct{ *pulumi.OutputState } func (TraefikServiceSpecWeightedStickyOutput) ElementType() reflect.Type { @@ -18816,7 +20594,8 @@ type TraefikServiceSpecWeightedStickyCookie struct { HttpOnly *bool `pulumi:"httpOnly"` // Name defines the Cookie name. Name *string `pulumi:"name"` - // SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite + // SameSite defines the same site policy. + // More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite SameSite *string `pulumi:"sameSite"` // Secure defines whether the cookie can only be transmitted over an encrypted connection (i.e. HTTPS). Secure *bool `pulumi:"secure"` @@ -18839,7 +20618,8 @@ type TraefikServiceSpecWeightedStickyCookieArgs struct { HttpOnly pulumi.BoolPtrInput `pulumi:"httpOnly"` // Name defines the Cookie name. Name pulumi.StringPtrInput `pulumi:"name"` - // SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite + // SameSite defines the same site policy. + // More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite SameSite pulumi.StringPtrInput `pulumi:"sameSite"` // Secure defines whether the cookie can only be transmitted over an encrypted connection (i.e. HTTPS). Secure pulumi.BoolPtrInput `pulumi:"secure"` @@ -18951,7 +20731,8 @@ func (o TraefikServiceSpecWeightedStickyCookieOutput) Name() pulumi.StringPtrOut return o.ApplyT(func(v TraefikServiceSpecWeightedStickyCookie) *string { return v.Name }).(pulumi.StringPtrOutput) } -// SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +// SameSite defines the same site policy. +// More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite func (o TraefikServiceSpecWeightedStickyCookieOutput) SameSite() pulumi.StringPtrOutput { return o.ApplyT(func(v TraefikServiceSpecWeightedStickyCookie) *string { return v.SameSite }).(pulumi.StringPtrOutput) } @@ -19011,7 +20792,8 @@ func (o TraefikServiceSpecWeightedStickyCookiePtrOutput) Name() pulumi.StringPtr }).(pulumi.StringPtrOutput) } -// SameSite defines the same site policy. More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +// SameSite defines the same site policy. +// More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite func (o TraefikServiceSpecWeightedStickyCookiePtrOutput) SameSite() pulumi.StringPtrOutput { return o.ApplyT(func(v *TraefikServiceSpecWeightedStickyCookie) *string { if v == nil { @@ -19120,6 +20902,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareSpecInFlightReqSourceCriterionPtrInput)(nil)).Elem(), MiddlewareSpecInFlightReqSourceCriterionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareSpecInFlightReqSourceCriterionIpStrategyInput)(nil)).Elem(), MiddlewareSpecInFlightReqSourceCriterionIpStrategyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareSpecInFlightReqSourceCriterionIpStrategyPtrInput)(nil)).Elem(), MiddlewareSpecInFlightReqSourceCriterionIpStrategyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareSpecIpAllowListInput)(nil)).Elem(), MiddlewareSpecIpAllowListArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareSpecIpAllowListPtrInput)(nil)).Elem(), MiddlewareSpecIpAllowListArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareSpecIpAllowListIpStrategyInput)(nil)).Elem(), MiddlewareSpecIpAllowListIpStrategyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareSpecIpAllowListIpStrategyPtrInput)(nil)).Elem(), MiddlewareSpecIpAllowListIpStrategyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareSpecIpWhiteListInput)(nil)).Elem(), MiddlewareSpecIpWhiteListArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareSpecIpWhiteListPtrInput)(nil)).Elem(), MiddlewareSpecIpWhiteListArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareSpecIpWhiteListIpStrategyInput)(nil)).Elem(), MiddlewareSpecIpWhiteListIpStrategyArgs{}) @@ -19156,6 +20942,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareTCPSpecPtrInput)(nil)).Elem(), MiddlewareTCPSpecArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareTCPSpecInFlightConnInput)(nil)).Elem(), MiddlewareTCPSpecInFlightConnArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareTCPSpecInFlightConnPtrInput)(nil)).Elem(), MiddlewareTCPSpecInFlightConnArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareTCPSpecIpAllowListInput)(nil)).Elem(), MiddlewareTCPSpecIpAllowListArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareTCPSpecIpAllowListPtrInput)(nil)).Elem(), MiddlewareTCPSpecIpAllowListArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareTCPSpecIpWhiteListInput)(nil)).Elem(), MiddlewareTCPSpecIpWhiteListArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareTCPSpecIpWhiteListPtrInput)(nil)).Elem(), MiddlewareTCPSpecIpWhiteListArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ServersTransportSpecInput)(nil)).Elem(), ServersTransportSpecArgs{}) @@ -19302,6 +21090,10 @@ func init() { pulumi.RegisterOutputType(MiddlewareSpecInFlightReqSourceCriterionPtrOutput{}) pulumi.RegisterOutputType(MiddlewareSpecInFlightReqSourceCriterionIpStrategyOutput{}) pulumi.RegisterOutputType(MiddlewareSpecInFlightReqSourceCriterionIpStrategyPtrOutput{}) + pulumi.RegisterOutputType(MiddlewareSpecIpAllowListOutput{}) + pulumi.RegisterOutputType(MiddlewareSpecIpAllowListPtrOutput{}) + pulumi.RegisterOutputType(MiddlewareSpecIpAllowListIpStrategyOutput{}) + pulumi.RegisterOutputType(MiddlewareSpecIpAllowListIpStrategyPtrOutput{}) pulumi.RegisterOutputType(MiddlewareSpecIpWhiteListOutput{}) pulumi.RegisterOutputType(MiddlewareSpecIpWhiteListPtrOutput{}) pulumi.RegisterOutputType(MiddlewareSpecIpWhiteListIpStrategyOutput{}) @@ -19338,6 +21130,8 @@ func init() { pulumi.RegisterOutputType(MiddlewareTCPSpecPtrOutput{}) pulumi.RegisterOutputType(MiddlewareTCPSpecInFlightConnOutput{}) pulumi.RegisterOutputType(MiddlewareTCPSpecInFlightConnPtrOutput{}) + pulumi.RegisterOutputType(MiddlewareTCPSpecIpAllowListOutput{}) + pulumi.RegisterOutputType(MiddlewareTCPSpecIpAllowListPtrOutput{}) pulumi.RegisterOutputType(MiddlewareTCPSpecIpWhiteListOutput{}) pulumi.RegisterOutputType(MiddlewareTCPSpecIpWhiteListPtrOutput{}) pulumi.RegisterOutputType(ServersTransportSpecOutput{}) diff --git a/crds/kubernetes/traefik/v1alpha1/serversTransport.go b/crds/kubernetes/traefik/v1alpha1/serversTransport.go index 153e56d..a5cc5b2 100644 --- a/crds/kubernetes/traefik/v1alpha1/serversTransport.go +++ b/crds/kubernetes/traefik/v1alpha1/serversTransport.go @@ -13,7 +13,10 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) -// ServersTransport is the CRD implementation of a ServersTransport. If no serversTransport is specified, the default@internal will be used. The default@internal serversTransport is created from the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#serverstransport_1 +// ServersTransport is the CRD implementation of a ServersTransport. +// If no serversTransport is specified, the default@internal will be used. +// The default@internal serversTransport is created from the static configuration. +// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#serverstransport_1 type ServersTransport struct { pulumi.CustomResourceState diff --git a/crds/kubernetes/traefik/v1alpha1/serversTransportTCP.go b/crds/kubernetes/traefik/v1alpha1/serversTransportTCP.go index 35a3317..7c33f50 100644 --- a/crds/kubernetes/traefik/v1alpha1/serversTransportTCP.go +++ b/crds/kubernetes/traefik/v1alpha1/serversTransportTCP.go @@ -13,7 +13,10 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) -// ServersTransportTCP is the CRD implementation of a TCPServersTransport. If no tcpServersTransport is specified, a default one named default@internal will be used. The default@internal tcpServersTransport can be configured in the static configuration. More info: https://doc.traefik.io/traefik/v3.0/routing/services/#serverstransport_3 +// ServersTransportTCP is the CRD implementation of a TCPServersTransport. +// If no tcpServersTransport is specified, a default one named default@internal will be used. +// The default@internal tcpServersTransport can be configured in the static configuration. +// More info: https://doc.traefik.io/traefik/v3.0/routing/services/#serverstransport_3 type ServersTransportTCP struct { pulumi.CustomResourceState diff --git a/crds/kubernetes/traefik/v1alpha1/tlsoption.go b/crds/kubernetes/traefik/v1alpha1/tlsoption.go index b3c1860..aa8ef73 100644 --- a/crds/kubernetes/traefik/v1alpha1/tlsoption.go +++ b/crds/kubernetes/traefik/v1alpha1/tlsoption.go @@ -13,7 +13,8 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) -// TLSOption is the CRD implementation of a Traefik TLS Option, allowing to configure some parameters of the TLS connection. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options +// TLSOption is the CRD implementation of a Traefik TLS Option, allowing to configure some parameters of the TLS connection. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options type TLSOption struct { pulumi.CustomResourceState diff --git a/crds/kubernetes/traefik/v1alpha1/tlsstore.go b/crds/kubernetes/traefik/v1alpha1/tlsstore.go index b364825..6698a8b 100644 --- a/crds/kubernetes/traefik/v1alpha1/tlsstore.go +++ b/crds/kubernetes/traefik/v1alpha1/tlsstore.go @@ -13,7 +13,10 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) -// TLSStore is the CRD implementation of a Traefik TLS Store. For the time being, only the TLSStore named default is supported. This means that you cannot have two stores that are named default in different Kubernetes namespaces. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#certificates-stores +// TLSStore is the CRD implementation of a Traefik TLS Store. +// For the time being, only the TLSStore named default is supported. +// This means that you cannot have two stores that are named default in different Kubernetes namespaces. +// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#certificates-stores type TLSStore struct { pulumi.CustomResourceState diff --git a/crds/kubernetes/traefik/v1alpha1/traefikService.go b/crds/kubernetes/traefik/v1alpha1/traefikService.go index 41aeb90..c61694e 100644 --- a/crds/kubernetes/traefik/v1alpha1/traefikService.go +++ b/crds/kubernetes/traefik/v1alpha1/traefikService.go @@ -13,7 +13,11 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) -// TraefikService is the CRD implementation of a Traefik Service. TraefikService object allows to: - Apply weight to Services on load-balancing - Mirror traffic on services More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-traefikservice +// TraefikService is the CRD implementation of a Traefik Service. +// TraefikService object allows to: +// - Apply weight to Services on load-balancing +// - Mirror traffic on services +// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-traefikservice type TraefikService struct { pulumi.CustomResourceState