Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=loadbalancer.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AdaptiveRoutingInitParameters
- type AdaptiveRoutingObservation
- type AdaptiveRoutingParameters
- type CountryPoolsInitParameters
- type CountryPoolsObservation
- type CountryPoolsParameters
- type FixedResponseInitParameters
- type FixedResponseObservation
- type FixedResponseParameters
- type HeaderInitParameters
- type HeaderObservation
- type HeaderParameters
- type LoadBalancer
- func (in *LoadBalancer) DeepCopy() *LoadBalancer
- func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer)
- func (in *LoadBalancer) DeepCopyObject() runtime.Object
- func (mg *LoadBalancer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *LoadBalancer) GetConnectionDetailsMapping() map[string]string
- func (mg *LoadBalancer) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *LoadBalancer) GetID() string
- func (tr *LoadBalancer) GetInitParameters() (map[string]any, error)
- func (mg *LoadBalancer) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *LoadBalancer) GetObservation() (map[string]any, error)
- func (tr *LoadBalancer) GetParameters() (map[string]any, error)
- func (mg *LoadBalancer) GetProviderConfigReference() *xpv1.Reference
- func (mg *LoadBalancer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *LoadBalancer) GetTerraformResourceType() string
- func (tr *LoadBalancer) GetTerraformSchemaVersion() int
- func (mg *LoadBalancer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *LoadBalancer) LateInitialize(attrs []byte) (bool, error)
- func (mg *LoadBalancer) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *LoadBalancer) SetConditions(c ...xpv1.Condition)
- func (mg *LoadBalancer) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *LoadBalancer) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *LoadBalancer) SetObservation(obs map[string]any) error
- func (tr *LoadBalancer) SetParameters(params map[string]any) error
- func (mg *LoadBalancer) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *LoadBalancer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *LoadBalancer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LoadBalancerInitParameters
- type LoadBalancerList
- type LoadBalancerObservation
- type LoadBalancerParameters
- type LoadBalancerSessionAffinityAttributesInitParameters
- type LoadBalancerSessionAffinityAttributesObservation
- type LoadBalancerSessionAffinityAttributesParameters
- type LoadBalancerSpec
- type LoadBalancerStatus
- type LoadSheddingInitParameters
- type LoadSheddingObservation
- type LoadSheddingParameters
- type LocationStrategyInitParameters
- type LocationStrategyObservation
- type LocationStrategyParameters
- type Monitor
- func (in *Monitor) DeepCopy() *Monitor
- func (in *Monitor) DeepCopyInto(out *Monitor)
- func (in *Monitor) DeepCopyObject() runtime.Object
- func (mg *Monitor) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Monitor) GetConnectionDetailsMapping() map[string]string
- func (mg *Monitor) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Monitor) GetID() string
- func (tr *Monitor) GetInitParameters() (map[string]any, error)
- func (mg *Monitor) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Monitor) GetObservation() (map[string]any, error)
- func (tr *Monitor) GetParameters() (map[string]any, error)
- func (mg *Monitor) GetProviderConfigReference() *xpv1.Reference
- func (mg *Monitor) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Monitor) GetTerraformResourceType() string
- func (tr *Monitor) GetTerraformSchemaVersion() int
- func (mg *Monitor) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Monitor) LateInitialize(attrs []byte) (bool, error)
- func (mg *Monitor) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Monitor) SetConditions(c ...xpv1.Condition)
- func (mg *Monitor) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Monitor) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Monitor) SetObservation(obs map[string]any) error
- func (tr *Monitor) SetParameters(params map[string]any) error
- func (mg *Monitor) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Monitor) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Monitor) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MonitorInitParameters
- type MonitorList
- type MonitorObservation
- type MonitorParameters
- type MonitorSpec
- type MonitorStatus
- type OriginSteeringInitParameters
- type OriginSteeringObservation
- type OriginSteeringParameters
- type OriginsHeaderInitParameters
- type OriginsHeaderObservation
- type OriginsHeaderParameters
- type OriginsInitParameters
- type OriginsObservation
- type OriginsParameters
- type OverridesAdaptiveRoutingInitParameters
- type OverridesAdaptiveRoutingObservation
- type OverridesAdaptiveRoutingParameters
- type OverridesCountryPoolsInitParameters
- type OverridesCountryPoolsObservation
- type OverridesCountryPoolsParameters
- type OverridesInitParameters
- type OverridesLocationStrategyInitParameters
- type OverridesLocationStrategyObservation
- type OverridesLocationStrategyParameters
- type OverridesObservation
- type OverridesParameters
- type OverridesPopPoolsInitParameters
- type OverridesPopPoolsObservation
- type OverridesPopPoolsParameters
- type OverridesRandomSteeringInitParameters
- type OverridesRandomSteeringObservation
- type OverridesRandomSteeringParameters
- type OverridesRegionPoolsInitParameters
- type OverridesRegionPoolsObservation
- type OverridesRegionPoolsParameters
- type Pool
- func (in *Pool) DeepCopy() *Pool
- func (in *Pool) DeepCopyInto(out *Pool)
- func (in *Pool) DeepCopyObject() runtime.Object
- func (mg *Pool) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Pool) GetConnectionDetailsMapping() map[string]string
- func (mg *Pool) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Pool) GetID() string
- func (tr *Pool) GetInitParameters() (map[string]any, error)
- func (mg *Pool) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Pool) GetObservation() (map[string]any, error)
- func (tr *Pool) GetParameters() (map[string]any, error)
- func (mg *Pool) GetProviderConfigReference() *xpv1.Reference
- func (mg *Pool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Pool) GetTerraformResourceType() string
- func (tr *Pool) GetTerraformSchemaVersion() int
- func (mg *Pool) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Pool) LateInitialize(attrs []byte) (bool, error)
- func (mg *Pool) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Pool) SetConditions(c ...xpv1.Condition)
- func (mg *Pool) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Pool) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Pool) SetObservation(obs map[string]any) error
- func (tr *Pool) SetParameters(params map[string]any) error
- func (mg *Pool) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Pool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Pool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PoolInitParameters
- type PoolList
- type PoolObservation
- type PoolParameters
- type PoolSpec
- type PoolStatus
- type PopPoolsInitParameters
- type PopPoolsObservation
- type PopPoolsParameters
- type RandomSteeringInitParameters
- type RandomSteeringObservation
- type RandomSteeringParameters
- type RegionPoolsInitParameters
- type RegionPoolsObservation
- type RegionPoolsParameters
- type RulesInitParameters
- type RulesObservation
- type RulesParameters
- type SessionAffinityAttributesInitParameters
- type SessionAffinityAttributesObservation
- type SessionAffinityAttributesParameters
Constants ¶
const ( CRDGroup = "loadbalancer.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( LoadBalancer_Kind = "LoadBalancer" LoadBalancer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LoadBalancer_Kind}.String() LoadBalancer_KindAPIVersion = LoadBalancer_Kind + "." + CRDGroupVersion.String() LoadBalancer_GroupVersionKind = CRDGroupVersion.WithKind(LoadBalancer_Kind) )
Repository type metadata.
var ( Monitor_Kind = "Monitor" Monitor_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Monitor_Kind}.String() Monitor_KindAPIVersion = Monitor_Kind + "." + CRDGroupVersion.String() Monitor_GroupVersionKind = CRDGroupVersion.WithKind(Monitor_Kind) )
Repository type metadata.
var ( Pool_Kind = "Pool" Pool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Pool_Kind}.String() Pool_KindAPIVersion = Pool_Kind + "." + CRDGroupVersion.String() Pool_GroupVersionKind = CRDGroupVersion.WithKind(Pool_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AdaptiveRoutingInitParameters ¶
type AdaptiveRoutingInitParameters struct { // downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set false, zero-downtime failover will only occur between origins within the same pool. Defaults to false. // Extends zero-downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set `false`, zero-downtime failover will only occur between origins within the same pool. Defaults to `false`. FailoverAcrossPools *bool `json:"failoverAcrossPools,omitempty" tf:"failover_across_pools,omitempty"` }
func (*AdaptiveRoutingInitParameters) DeepCopy ¶
func (in *AdaptiveRoutingInitParameters) DeepCopy() *AdaptiveRoutingInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdaptiveRoutingInitParameters.
func (*AdaptiveRoutingInitParameters) DeepCopyInto ¶
func (in *AdaptiveRoutingInitParameters) DeepCopyInto(out *AdaptiveRoutingInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdaptiveRoutingObservation ¶
type AdaptiveRoutingObservation struct { // downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set false, zero-downtime failover will only occur between origins within the same pool. Defaults to false. // Extends zero-downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set `false`, zero-downtime failover will only occur between origins within the same pool. Defaults to `false`. FailoverAcrossPools *bool `json:"failoverAcrossPools,omitempty" tf:"failover_across_pools,omitempty"` }
func (*AdaptiveRoutingObservation) DeepCopy ¶
func (in *AdaptiveRoutingObservation) DeepCopy() *AdaptiveRoutingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdaptiveRoutingObservation.
func (*AdaptiveRoutingObservation) DeepCopyInto ¶
func (in *AdaptiveRoutingObservation) DeepCopyInto(out *AdaptiveRoutingObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdaptiveRoutingParameters ¶
type AdaptiveRoutingParameters struct { // downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set false, zero-downtime failover will only occur between origins within the same pool. Defaults to false. // Extends zero-downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set `false`, zero-downtime failover will only occur between origins within the same pool. Defaults to `false`. // +kubebuilder:validation:Optional FailoverAcrossPools *bool `json:"failoverAcrossPools,omitempty" tf:"failover_across_pools,omitempty"` }
func (*AdaptiveRoutingParameters) DeepCopy ¶
func (in *AdaptiveRoutingParameters) DeepCopy() *AdaptiveRoutingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdaptiveRoutingParameters.
func (*AdaptiveRoutingParameters) DeepCopyInto ¶
func (in *AdaptiveRoutingParameters) DeepCopyInto(out *AdaptiveRoutingParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CountryPoolsInitParameters ¶
type CountryPoolsInitParameters struct { // (String) A country code which can be determined with the Load Balancing Regions API described here. Multiple entries should not be specified with the same country. // A country code which can be determined with the Load Balancing Regions API described [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/). Multiple entries should not be specified with the same country. Country *string `json:"country,omitempty" tf:"country,omitempty"` }
func (*CountryPoolsInitParameters) DeepCopy ¶
func (in *CountryPoolsInitParameters) DeepCopy() *CountryPoolsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CountryPoolsInitParameters.
func (*CountryPoolsInitParameters) DeepCopyInto ¶
func (in *CountryPoolsInitParameters) DeepCopyInto(out *CountryPoolsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CountryPoolsObservation ¶
type CountryPoolsObservation struct { // (String) A country code which can be determined with the Load Balancing Regions API described here. Multiple entries should not be specified with the same country. // A country code which can be determined with the Load Balancing Regions API described [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/). Multiple entries should not be specified with the same country. Country *string `json:"country,omitempty" tf:"country,omitempty"` // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use in the given country. PoolIds []*string `json:"poolIds,omitempty" tf:"pool_ids,omitempty"` }
func (*CountryPoolsObservation) DeepCopy ¶
func (in *CountryPoolsObservation) DeepCopy() *CountryPoolsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CountryPoolsObservation.
func (*CountryPoolsObservation) DeepCopyInto ¶
func (in *CountryPoolsObservation) DeepCopyInto(out *CountryPoolsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CountryPoolsParameters ¶
type CountryPoolsParameters struct { // (String) A country code which can be determined with the Load Balancing Regions API described here. Multiple entries should not be specified with the same country. // A country code which can be determined with the Load Balancing Regions API described [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/). Multiple entries should not be specified with the same country. // +kubebuilder:validation:Optional Country *string `json:"country" tf:"country,omitempty"` // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use in the given country. // +crossplane:generate:reference:type=Pool // +kubebuilder:validation:Optional PoolIds []*string `json:"poolIds,omitempty" tf:"pool_ids,omitempty"` // References to Pool to populate poolIds. // +kubebuilder:validation:Optional PoolIdsRefs []v1.Reference `json:"poolIdsRefs,omitempty" tf:"-"` // Selector for a list of Pool to populate poolIds. // +kubebuilder:validation:Optional PoolIdsSelector *v1.Selector `json:"poolIdsSelector,omitempty" tf:"-"` }
func (*CountryPoolsParameters) DeepCopy ¶
func (in *CountryPoolsParameters) DeepCopy() *CountryPoolsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CountryPoolsParameters.
func (*CountryPoolsParameters) DeepCopyInto ¶
func (in *CountryPoolsParameters) DeepCopyInto(out *CountryPoolsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FixedResponseInitParameters ¶
type FixedResponseInitParameters struct { // type header for this fixed response. // The value of the HTTP context-type header for this fixed response. ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` // (String) The value of the HTTP location header for this fixed response. // The value of the HTTP location header for this fixed response. Location *string `json:"location,omitempty" tf:"location,omitempty"` // (String) The text used as the html body for this fixed response. // The text used as the html body for this fixed response. MessageBody *string `json:"messageBody,omitempty" tf:"message_body,omitempty"` // (Number) The HTTP status code used for this fixed response. // The HTTP status code used for this fixed response. StatusCode *float64 `json:"statusCode,omitempty" tf:"status_code,omitempty"` }
func (*FixedResponseInitParameters) DeepCopy ¶
func (in *FixedResponseInitParameters) DeepCopy() *FixedResponseInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FixedResponseInitParameters.
func (*FixedResponseInitParameters) DeepCopyInto ¶
func (in *FixedResponseInitParameters) DeepCopyInto(out *FixedResponseInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FixedResponseObservation ¶
type FixedResponseObservation struct { // type header for this fixed response. // The value of the HTTP context-type header for this fixed response. ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` // (String) The value of the HTTP location header for this fixed response. // The value of the HTTP location header for this fixed response. Location *string `json:"location,omitempty" tf:"location,omitempty"` // (String) The text used as the html body for this fixed response. // The text used as the html body for this fixed response. MessageBody *string `json:"messageBody,omitempty" tf:"message_body,omitempty"` // (Number) The HTTP status code used for this fixed response. // The HTTP status code used for this fixed response. StatusCode *float64 `json:"statusCode,omitempty" tf:"status_code,omitempty"` }
func (*FixedResponseObservation) DeepCopy ¶
func (in *FixedResponseObservation) DeepCopy() *FixedResponseObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FixedResponseObservation.
func (*FixedResponseObservation) DeepCopyInto ¶
func (in *FixedResponseObservation) DeepCopyInto(out *FixedResponseObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FixedResponseParameters ¶
type FixedResponseParameters struct { // type header for this fixed response. // The value of the HTTP context-type header for this fixed response. // +kubebuilder:validation:Optional ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` // (String) The value of the HTTP location header for this fixed response. // The value of the HTTP location header for this fixed response. // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // (String) The text used as the html body for this fixed response. // The text used as the html body for this fixed response. // +kubebuilder:validation:Optional MessageBody *string `json:"messageBody,omitempty" tf:"message_body,omitempty"` // (Number) The HTTP status code used for this fixed response. // The HTTP status code used for this fixed response. // +kubebuilder:validation:Optional StatusCode *float64 `json:"statusCode,omitempty" tf:"status_code,omitempty"` }
func (*FixedResponseParameters) DeepCopy ¶
func (in *FixedResponseParameters) DeepCopy() *FixedResponseParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FixedResponseParameters.
func (*FixedResponseParameters) DeepCopyInto ¶
func (in *FixedResponseParameters) DeepCopyInto(out *FixedResponseParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HeaderInitParameters ¶
type HeaderInitParameters struct { // Agent header cannot be overridden. (see below for nested schema) // The header name. Header *string `json:"header,omitempty" tf:"header,omitempty"` // (Set of String) A list of values for the header. // A list of values for the header. Values []*string `json:"values,omitempty" tf:"values,omitempty"` }
func (*HeaderInitParameters) DeepCopy ¶
func (in *HeaderInitParameters) DeepCopy() *HeaderInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeaderInitParameters.
func (*HeaderInitParameters) DeepCopyInto ¶
func (in *HeaderInitParameters) DeepCopyInto(out *HeaderInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HeaderObservation ¶
type HeaderObservation struct { // Agent header cannot be overridden. (see below for nested schema) // The header name. Header *string `json:"header,omitempty" tf:"header,omitempty"` // (Set of String) A list of values for the header. // A list of values for the header. Values []*string `json:"values,omitempty" tf:"values,omitempty"` }
func (*HeaderObservation) DeepCopy ¶
func (in *HeaderObservation) DeepCopy() *HeaderObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeaderObservation.
func (*HeaderObservation) DeepCopyInto ¶
func (in *HeaderObservation) DeepCopyInto(out *HeaderObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HeaderParameters ¶
type HeaderParameters struct { // Agent header cannot be overridden. (see below for nested schema) // The header name. // +kubebuilder:validation:Optional Header *string `json:"header" tf:"header,omitempty"` // (Set of String) A list of values for the header. // A list of values for the header. // +kubebuilder:validation:Optional Values []*string `json:"values" tf:"values,omitempty"` }
func (*HeaderParameters) DeepCopy ¶
func (in *HeaderParameters) DeepCopy() *HeaderParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeaderParameters.
func (*HeaderParameters) DeepCopyInto ¶
func (in *HeaderParameters) DeepCopyInto(out *HeaderParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancer ¶
type LoadBalancer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec LoadBalancerSpec `json:"spec"` Status LoadBalancerStatus `json:"status,omitempty"` }
LoadBalancer is the Schema for the LoadBalancers API. Provides a Cloudflare Load Balancer resource. This sits in front of a number of defined pools of origins and provides various options for geographically-aware load balancing. Note that the load balancing feature must be enabled in your Cloudflare account before you can use this resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,cloudflare}
func (*LoadBalancer) DeepCopy ¶
func (in *LoadBalancer) DeepCopy() *LoadBalancer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancer.
func (*LoadBalancer) DeepCopyInto ¶
func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoadBalancer) DeepCopyObject ¶
func (in *LoadBalancer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LoadBalancer) GetCondition ¶
func (mg *LoadBalancer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this LoadBalancer.
func (*LoadBalancer) GetConnectionDetailsMapping ¶
func (tr *LoadBalancer) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this LoadBalancer
func (*LoadBalancer) GetDeletionPolicy ¶
func (mg *LoadBalancer) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this LoadBalancer.
func (*LoadBalancer) GetID ¶
func (tr *LoadBalancer) GetID() string
GetID returns ID of underlying Terraform resource of this LoadBalancer
func (*LoadBalancer) GetInitParameters ¶
func (tr *LoadBalancer) GetInitParameters() (map[string]any, error)
GetInitParameters of this LoadBalancer
func (*LoadBalancer) GetManagementPolicies ¶
func (mg *LoadBalancer) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this LoadBalancer.
func (*LoadBalancer) GetObservation ¶
func (tr *LoadBalancer) GetObservation() (map[string]any, error)
GetObservation of this LoadBalancer
func (*LoadBalancer) GetParameters ¶
func (tr *LoadBalancer) GetParameters() (map[string]any, error)
GetParameters of this LoadBalancer
func (*LoadBalancer) GetProviderConfigReference ¶
func (mg *LoadBalancer) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this LoadBalancer.
func (*LoadBalancer) GetPublishConnectionDetailsTo ¶
func (mg *LoadBalancer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this LoadBalancer.
func (*LoadBalancer) GetTerraformResourceType ¶
func (mg *LoadBalancer) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this LoadBalancer
func (*LoadBalancer) GetTerraformSchemaVersion ¶
func (tr *LoadBalancer) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*LoadBalancer) GetWriteConnectionSecretToReference ¶
func (mg *LoadBalancer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this LoadBalancer.
func (*LoadBalancer) LateInitialize ¶
func (tr *LoadBalancer) LateInitialize(attrs []byte) (bool, error)
LateInitialize this LoadBalancer using its observed tfState. returns True if there are any spec changes for the resource.
func (*LoadBalancer) ResolveReferences ¶
ResolveReferences of this LoadBalancer.
func (*LoadBalancer) SetConditions ¶
func (mg *LoadBalancer) SetConditions(c ...xpv1.Condition)
SetConditions of this LoadBalancer.
func (*LoadBalancer) SetDeletionPolicy ¶
func (mg *LoadBalancer) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this LoadBalancer.
func (*LoadBalancer) SetManagementPolicies ¶
func (mg *LoadBalancer) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this LoadBalancer.
func (*LoadBalancer) SetObservation ¶
func (tr *LoadBalancer) SetObservation(obs map[string]any) error
SetObservation for this LoadBalancer
func (*LoadBalancer) SetParameters ¶
func (tr *LoadBalancer) SetParameters(params map[string]any) error
SetParameters for this LoadBalancer
func (*LoadBalancer) SetProviderConfigReference ¶
func (mg *LoadBalancer) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this LoadBalancer.
func (*LoadBalancer) SetPublishConnectionDetailsTo ¶
func (mg *LoadBalancer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this LoadBalancer.
func (*LoadBalancer) SetWriteConnectionSecretToReference ¶
func (mg *LoadBalancer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this LoadBalancer.
type LoadBalancerInitParameters ¶
type LoadBalancerInitParameters struct { // (Block Set) Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. (see below for nested schema) // Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. AdaptiveRouting []AdaptiveRoutingInitParameters `json:"adaptiveRouting,omitempty" tf:"adaptive_routing,omitempty"` // (Block Set) A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. (see below for nested schema) // A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. CountryPools []CountryPoolsInitParameters `json:"countryPools,omitempty" tf:"country_pools,omitempty"` // (String) Free text description. // Free text description. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Enable or disable the load balancer. Defaults to true. // Enable or disable the load balancer. Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // based steering for non-proxied requests. (see below for nested schema) // Controls location-based steering for non-proxied requests. LocationStrategy []LocationStrategyInitParameters `json:"locationStrategy,omitempty" tf:"location_strategy,omitempty"` // (String) The DNS hostname to associate with your load balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the load balancer will take precedence and the DNS record will not be used. // The DNS hostname to associate with your load balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the load balancer will take precedence and the DNS record will not be used. Name *string `json:"name,omitempty" tf:"name,omitempty"` // of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. (see below for nested schema) // A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. PopPools []PopPoolsInitParameters `json:"popPools,omitempty" tf:"pop_pools,omitempty"` // (Boolean) Whether the hostname gets Cloudflare's origin protection. Defaults to false. Conflicts with ttl. // Whether the hostname gets Cloudflare's origin protection. Defaults to `false`. Conflicts with `ttl`. Proxied *bool `json:"proxied,omitempty" tf:"proxied,omitempty"` // (Block Set) Configures pool weights. When steering_policy="random", a random pool is selected with probability proportional to pool weights. When steering_policy="least_outstanding_requests", pool weights are used to scale each pool's outstanding requests. When steering_policy="least_connections", pool weights are used to scale each pool's open connections. (see below for nested schema) // Configures pool weights. When [`steering_policy="random"`](#steering_policy), a random pool is selected with probability proportional to pool weights. When [`steering_policy="least_outstanding_requests"`](#steering_policy), pool weights are used to scale each pool's outstanding requests. When [`steering_policy="least_connections"`](#steering_policy), pool weights are used to scale each pool's open connections. RandomSteering []RandomSteeringInitParameters `json:"randomSteering,omitempty" tf:"random_steering,omitempty"` // (Block Set) A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. (see below for nested schema) // A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. RegionPools []RegionPoolsInitParameters `json:"regionPools,omitempty" tf:"region_pools,omitempty"` // (Block List) A list of rules for this load balancer to execute. (see below for nested schema) // A list of rules for this load balancer to execute. Rules []RulesInitParameters `json:"rules,omitempty" tf:"rules,omitempty"` // (String) Specifies the type of session affinity the load balancer should use unless specified as none or "" (default). With value cookie, on the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy then a new origin server is calculated and used. Value ip_cookie behaves the same as cookie except the initial origin selection is stable and based on the client's IP address. Available values: "", none, cookie, ip_cookie, header. Defaults to none. // Specifies the type of session affinity the load balancer should use unless specified as `none` or `""` (default). With value `cookie`, on the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy then a new origin server is calculated and used. Value `ip_cookie` behaves the same as `cookie` except the initial origin selection is stable and based on the client's IP address. Available values: `""`, `none`, `cookie`, `ip_cookie`, `header`. Defaults to `none`. SessionAffinity *string `json:"sessionAffinity,omitempty" tf:"session_affinity,omitempty"` // (Block Set) Configure attributes for session affinity. (see below for nested schema) // Configure attributes for session affinity. SessionAffinityAttributes []LoadBalancerSessionAffinityAttributesInitParameters `json:"sessionAffinityAttributes,omitempty" tf:"session_affinity_attributes,omitempty"` // (Number) Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of 82800 (23 hours) will be used unless session_affinity_ttl is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between 1800 and 604800. // Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of `82800` (23 hours) will be used unless [`session_affinity_ttl`](#session_affinity_ttl) is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between `1800` and `604800`. SessionAffinityTTL *float64 `json:"sessionAffinityTtl,omitempty" tf:"session_affinity_ttl,omitempty"` // proxied requests, the country for country_pools is determined by location_strategy. Value random selects a pool randomly. Value dynamic_latency uses round trip time to select the closest pool in default_pool_ids (requires pool health checks). Value proximity uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by location_strategy for non-proxied requests. Value least_outstanding_requests selects a pool by taking into consideration random_steering weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value least_connections selects a pool by taking into consideration random_steering weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value "" maps to geo if you use pop_pools/country_pools/region_pools otherwise off. Available values: off, geo, dynamic_latency, random, proximity, least_outstanding_requests, least_connections, "" Defaults to "". // The method the load balancer uses to determine the route to your origin. Value `off` uses [`default_pool_ids`](#default_pool_ids). Value `geo` uses [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools). For non-proxied requests, the [`country`](#country) for [`country_pools`](#country_pools) is determined by [`location_strategy`](#location_strategy). Value `random` selects a pool randomly. Value `dynamic_latency` uses round trip time to select the closest pool in [`default_pool_ids`](#default_pool_ids) (requires pool health checks). Value `proximity` uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by [`location_strategy`](#location_strategy) for non-proxied requests. Value `least_outstanding_requests` selects a pool by taking into consideration [`random_steering`](#random_steering) weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects a pool by taking into consideration [`random_steering`](#random_steering) weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value `""` maps to `geo` if you use [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) otherwise `off`. Available values: `off`, `geo`, `dynamic_latency`, `random`, `proximity`, `least_outstanding_requests`, `least_connections`, `""` Defaults to `""`. SteeringPolicy *string `json:"steeringPolicy,omitempty" tf:"steering_policy,omitempty"` // (Number) Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to 30. Conflicts with proxied. // Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to `30`. Conflicts with `proxied`. TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` }
func (*LoadBalancerInitParameters) DeepCopy ¶
func (in *LoadBalancerInitParameters) DeepCopy() *LoadBalancerInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerInitParameters.
func (*LoadBalancerInitParameters) DeepCopyInto ¶
func (in *LoadBalancerInitParameters) DeepCopyInto(out *LoadBalancerInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerList ¶
type LoadBalancerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LoadBalancer `json:"items"` }
LoadBalancerList contains a list of LoadBalancers
func (*LoadBalancerList) DeepCopy ¶
func (in *LoadBalancerList) DeepCopy() *LoadBalancerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerList.
func (*LoadBalancerList) DeepCopyInto ¶
func (in *LoadBalancerList) DeepCopyInto(out *LoadBalancerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoadBalancerList) DeepCopyObject ¶
func (in *LoadBalancerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LoadBalancerList) GetItems ¶
func (l *LoadBalancerList) GetItems() []resource.Managed
GetItems of this LoadBalancerList.
type LoadBalancerObservation ¶
type LoadBalancerObservation struct { // (Block Set) Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. (see below for nested schema) // Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. AdaptiveRouting []AdaptiveRoutingObservation `json:"adaptiveRouting,omitempty" tf:"adaptive_routing,omitempty"` // (Block Set) A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. (see below for nested schema) // A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. CountryPools []CountryPoolsObservation `json:"countryPools,omitempty" tf:"country_pools,omitempty"` // (String) The RFC3339 timestamp of when the load balancer was created. // The RFC3339 timestamp of when the load balancer was created. CreatedOn *string `json:"createdOn,omitempty" tf:"created_on,omitempty"` // (List of String) A list of pool IDs ordered by their failover priority. Used whenever pop_pools/country_pools/region_pools are not defined. // A list of pool IDs ordered by their failover priority. Used whenever [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) are not defined. DefaultPoolIds []*string `json:"defaultPoolIds,omitempty" tf:"default_pool_ids,omitempty"` // (String) Free text description. // Free text description. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Enable or disable the load balancer. Defaults to true. // Enable or disable the load balancer. Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (String) The pool ID to use when all other pools are detected as unhealthy. // The pool ID to use when all other pools are detected as unhealthy. FallbackPoolID *string `json:"fallbackPoolId,omitempty" tf:"fallback_pool_id,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // based steering for non-proxied requests. (see below for nested schema) // Controls location-based steering for non-proxied requests. LocationStrategy []LocationStrategyObservation `json:"locationStrategy,omitempty" tf:"location_strategy,omitempty"` // (String) The RFC3339 timestamp of when the load balancer was last modified. // The RFC3339 timestamp of when the load balancer was last modified. ModifiedOn *string `json:"modifiedOn,omitempty" tf:"modified_on,omitempty"` // (String) The DNS hostname to associate with your load balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the load balancer will take precedence and the DNS record will not be used. // The DNS hostname to associate with your load balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the load balancer will take precedence and the DNS record will not be used. Name *string `json:"name,omitempty" tf:"name,omitempty"` // of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. (see below for nested schema) // A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. PopPools []PopPoolsObservation `json:"popPools,omitempty" tf:"pop_pools,omitempty"` // (Boolean) Whether the hostname gets Cloudflare's origin protection. Defaults to false. Conflicts with ttl. // Whether the hostname gets Cloudflare's origin protection. Defaults to `false`. Conflicts with `ttl`. Proxied *bool `json:"proxied,omitempty" tf:"proxied,omitempty"` // (Block Set) Configures pool weights. When steering_policy="random", a random pool is selected with probability proportional to pool weights. When steering_policy="least_outstanding_requests", pool weights are used to scale each pool's outstanding requests. When steering_policy="least_connections", pool weights are used to scale each pool's open connections. (see below for nested schema) // Configures pool weights. When [`steering_policy="random"`](#steering_policy), a random pool is selected with probability proportional to pool weights. When [`steering_policy="least_outstanding_requests"`](#steering_policy), pool weights are used to scale each pool's outstanding requests. When [`steering_policy="least_connections"`](#steering_policy), pool weights are used to scale each pool's open connections. RandomSteering []RandomSteeringObservation `json:"randomSteering,omitempty" tf:"random_steering,omitempty"` // (Block Set) A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. (see below for nested schema) // A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. RegionPools []RegionPoolsObservation `json:"regionPools,omitempty" tf:"region_pools,omitempty"` // (Block List) A list of rules for this load balancer to execute. (see below for nested schema) // A list of rules for this load balancer to execute. Rules []RulesObservation `json:"rules,omitempty" tf:"rules,omitempty"` // (String) Specifies the type of session affinity the load balancer should use unless specified as none or "" (default). With value cookie, on the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy then a new origin server is calculated and used. Value ip_cookie behaves the same as cookie except the initial origin selection is stable and based on the client's IP address. Available values: "", none, cookie, ip_cookie, header. Defaults to none. // Specifies the type of session affinity the load balancer should use unless specified as `none` or `""` (default). With value `cookie`, on the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy then a new origin server is calculated and used. Value `ip_cookie` behaves the same as `cookie` except the initial origin selection is stable and based on the client's IP address. Available values: `""`, `none`, `cookie`, `ip_cookie`, `header`. Defaults to `none`. SessionAffinity *string `json:"sessionAffinity,omitempty" tf:"session_affinity,omitempty"` // (Block Set) Configure attributes for session affinity. (see below for nested schema) // Configure attributes for session affinity. SessionAffinityAttributes []LoadBalancerSessionAffinityAttributesObservation `json:"sessionAffinityAttributes,omitempty" tf:"session_affinity_attributes,omitempty"` // (Number) Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of 82800 (23 hours) will be used unless session_affinity_ttl is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between 1800 and 604800. // Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of `82800` (23 hours) will be used unless [`session_affinity_ttl`](#session_affinity_ttl) is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between `1800` and `604800`. SessionAffinityTTL *float64 `json:"sessionAffinityTtl,omitempty" tf:"session_affinity_ttl,omitempty"` // proxied requests, the country for country_pools is determined by location_strategy. Value random selects a pool randomly. Value dynamic_latency uses round trip time to select the closest pool in default_pool_ids (requires pool health checks). Value proximity uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by location_strategy for non-proxied requests. Value least_outstanding_requests selects a pool by taking into consideration random_steering weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value least_connections selects a pool by taking into consideration random_steering weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value "" maps to geo if you use pop_pools/country_pools/region_pools otherwise off. Available values: off, geo, dynamic_latency, random, proximity, least_outstanding_requests, least_connections, "" Defaults to "". // The method the load balancer uses to determine the route to your origin. Value `off` uses [`default_pool_ids`](#default_pool_ids). Value `geo` uses [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools). For non-proxied requests, the [`country`](#country) for [`country_pools`](#country_pools) is determined by [`location_strategy`](#location_strategy). Value `random` selects a pool randomly. Value `dynamic_latency` uses round trip time to select the closest pool in [`default_pool_ids`](#default_pool_ids) (requires pool health checks). Value `proximity` uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by [`location_strategy`](#location_strategy) for non-proxied requests. Value `least_outstanding_requests` selects a pool by taking into consideration [`random_steering`](#random_steering) weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects a pool by taking into consideration [`random_steering`](#random_steering) weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value `""` maps to `geo` if you use [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) otherwise `off`. Available values: `off`, `geo`, `dynamic_latency`, `random`, `proximity`, `least_outstanding_requests`, `least_connections`, `""` Defaults to `""`. SteeringPolicy *string `json:"steeringPolicy,omitempty" tf:"steering_policy,omitempty"` // (Number) Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to 30. Conflicts with proxied. // Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to `30`. Conflicts with `proxied`. TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` // (String) The zone ID to add the load balancer to. Modifying this attribute will force creation of a new resource. // The zone ID to add the load balancer to. **Modifying this attribute will force creation of a new resource.** ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"` }
func (*LoadBalancerObservation) DeepCopy ¶
func (in *LoadBalancerObservation) DeepCopy() *LoadBalancerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerObservation.
func (*LoadBalancerObservation) DeepCopyInto ¶
func (in *LoadBalancerObservation) DeepCopyInto(out *LoadBalancerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerParameters ¶
type LoadBalancerParameters struct { // (Block Set) Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. (see below for nested schema) // Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. // +kubebuilder:validation:Optional AdaptiveRouting []AdaptiveRoutingParameters `json:"adaptiveRouting,omitempty" tf:"adaptive_routing,omitempty"` // (Block Set) A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. (see below for nested schema) // A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. // +kubebuilder:validation:Optional CountryPools []CountryPoolsParameters `json:"countryPools,omitempty" tf:"country_pools,omitempty"` // (List of String) A list of pool IDs ordered by their failover priority. Used whenever pop_pools/country_pools/region_pools are not defined. // A list of pool IDs ordered by their failover priority. Used whenever [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) are not defined. // +crossplane:generate:reference:type=Pool // +kubebuilder:validation:Optional DefaultPoolIds []*string `json:"defaultPoolIds,omitempty" tf:"default_pool_ids,omitempty"` // References to Pool to populate defaultPoolIds. // +kubebuilder:validation:Optional DefaultPoolIdsRefs []v1.Reference `json:"defaultPoolIdsRefs,omitempty" tf:"-"` // Selector for a list of Pool to populate defaultPoolIds. // +kubebuilder:validation:Optional DefaultPoolIdsSelector *v1.Selector `json:"defaultPoolIdsSelector,omitempty" tf:"-"` // (String) Free text description. // Free text description. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Enable or disable the load balancer. Defaults to true. // Enable or disable the load balancer. Defaults to `true`. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (String) The pool ID to use when all other pools are detected as unhealthy. // The pool ID to use when all other pools are detected as unhealthy. // +crossplane:generate:reference:type=Pool // +kubebuilder:validation:Optional FallbackPoolID *string `json:"fallbackPoolId,omitempty" tf:"fallback_pool_id,omitempty"` // Reference to a Pool to populate fallbackPoolId. // +kubebuilder:validation:Optional FallbackPoolIDRef *v1.Reference `json:"fallbackPoolIdRef,omitempty" tf:"-"` // Selector for a Pool to populate fallbackPoolId. // +kubebuilder:validation:Optional FallbackPoolIDSelector *v1.Selector `json:"fallbackPoolIdSelector,omitempty" tf:"-"` // based steering for non-proxied requests. (see below for nested schema) // Controls location-based steering for non-proxied requests. // +kubebuilder:validation:Optional LocationStrategy []LocationStrategyParameters `json:"locationStrategy,omitempty" tf:"location_strategy,omitempty"` // (String) The DNS hostname to associate with your load balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the load balancer will take precedence and the DNS record will not be used. // The DNS hostname to associate with your load balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the load balancer will take precedence and the DNS record will not be used. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. (see below for nested schema) // A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. // +kubebuilder:validation:Optional PopPools []PopPoolsParameters `json:"popPools,omitempty" tf:"pop_pools,omitempty"` // (Boolean) Whether the hostname gets Cloudflare's origin protection. Defaults to false. Conflicts with ttl. // Whether the hostname gets Cloudflare's origin protection. Defaults to `false`. Conflicts with `ttl`. // +kubebuilder:validation:Optional Proxied *bool `json:"proxied,omitempty" tf:"proxied,omitempty"` // (Block Set) Configures pool weights. When steering_policy="random", a random pool is selected with probability proportional to pool weights. When steering_policy="least_outstanding_requests", pool weights are used to scale each pool's outstanding requests. When steering_policy="least_connections", pool weights are used to scale each pool's open connections. (see below for nested schema) // Configures pool weights. When [`steering_policy="random"`](#steering_policy), a random pool is selected with probability proportional to pool weights. When [`steering_policy="least_outstanding_requests"`](#steering_policy), pool weights are used to scale each pool's outstanding requests. When [`steering_policy="least_connections"`](#steering_policy), pool weights are used to scale each pool's open connections. // +kubebuilder:validation:Optional RandomSteering []RandomSteeringParameters `json:"randomSteering,omitempty" tf:"random_steering,omitempty"` // (Block Set) A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. (see below for nested schema) // A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. // +kubebuilder:validation:Optional RegionPools []RegionPoolsParameters `json:"regionPools,omitempty" tf:"region_pools,omitempty"` // (Block List) A list of rules for this load balancer to execute. (see below for nested schema) // A list of rules for this load balancer to execute. // +kubebuilder:validation:Optional Rules []RulesParameters `json:"rules,omitempty" tf:"rules,omitempty"` // (String) Specifies the type of session affinity the load balancer should use unless specified as none or "" (default). With value cookie, on the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy then a new origin server is calculated and used. Value ip_cookie behaves the same as cookie except the initial origin selection is stable and based on the client's IP address. Available values: "", none, cookie, ip_cookie, header. Defaults to none. // Specifies the type of session affinity the load balancer should use unless specified as `none` or `""` (default). With value `cookie`, on the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy then a new origin server is calculated and used. Value `ip_cookie` behaves the same as `cookie` except the initial origin selection is stable and based on the client's IP address. Available values: `""`, `none`, `cookie`, `ip_cookie`, `header`. Defaults to `none`. // +kubebuilder:validation:Optional SessionAffinity *string `json:"sessionAffinity,omitempty" tf:"session_affinity,omitempty"` // (Block Set) Configure attributes for session affinity. (see below for nested schema) // Configure attributes for session affinity. // +kubebuilder:validation:Optional SessionAffinityAttributes []LoadBalancerSessionAffinityAttributesParameters `json:"sessionAffinityAttributes,omitempty" tf:"session_affinity_attributes,omitempty"` // (Number) Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of 82800 (23 hours) will be used unless session_affinity_ttl is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between 1800 and 604800. // Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of `82800` (23 hours) will be used unless [`session_affinity_ttl`](#session_affinity_ttl) is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between `1800` and `604800`. // +kubebuilder:validation:Optional SessionAffinityTTL *float64 `json:"sessionAffinityTtl,omitempty" tf:"session_affinity_ttl,omitempty"` // proxied requests, the country for country_pools is determined by location_strategy. Value random selects a pool randomly. Value dynamic_latency uses round trip time to select the closest pool in default_pool_ids (requires pool health checks). Value proximity uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by location_strategy for non-proxied requests. Value least_outstanding_requests selects a pool by taking into consideration random_steering weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value least_connections selects a pool by taking into consideration random_steering weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value "" maps to geo if you use pop_pools/country_pools/region_pools otherwise off. Available values: off, geo, dynamic_latency, random, proximity, least_outstanding_requests, least_connections, "" Defaults to "". // The method the load balancer uses to determine the route to your origin. Value `off` uses [`default_pool_ids`](#default_pool_ids). Value `geo` uses [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools). For non-proxied requests, the [`country`](#country) for [`country_pools`](#country_pools) is determined by [`location_strategy`](#location_strategy). Value `random` selects a pool randomly. Value `dynamic_latency` uses round trip time to select the closest pool in [`default_pool_ids`](#default_pool_ids) (requires pool health checks). Value `proximity` uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by [`location_strategy`](#location_strategy) for non-proxied requests. Value `least_outstanding_requests` selects a pool by taking into consideration [`random_steering`](#random_steering) weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects a pool by taking into consideration [`random_steering`](#random_steering) weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value `""` maps to `geo` if you use [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) otherwise `off`. Available values: `off`, `geo`, `dynamic_latency`, `random`, `proximity`, `least_outstanding_requests`, `least_connections`, `""` Defaults to `""`. // +kubebuilder:validation:Optional SteeringPolicy *string `json:"steeringPolicy,omitempty" tf:"steering_policy,omitempty"` // (Number) Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to 30. Conflicts with proxied. // Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to `30`. Conflicts with `proxied`. // +kubebuilder:validation:Optional TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` // (String) The zone ID to add the load balancer to. Modifying this attribute will force creation of a new resource. // The zone ID to add the load balancer to. **Modifying this attribute will force creation of a new resource.** // +crossplane:generate:reference:type=github.com/milkpirate/provider-cloudflare/apis/zone/v1alpha1.Zone // +kubebuilder:validation:Optional ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"` // Reference to a Zone in zone to populate zoneId. // +kubebuilder:validation:Optional ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"` // Selector for a Zone in zone to populate zoneId. // +kubebuilder:validation:Optional ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"` }
func (*LoadBalancerParameters) DeepCopy ¶
func (in *LoadBalancerParameters) DeepCopy() *LoadBalancerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerParameters.
func (*LoadBalancerParameters) DeepCopyInto ¶
func (in *LoadBalancerParameters) DeepCopyInto(out *LoadBalancerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerSessionAffinityAttributesInitParameters ¶
type LoadBalancerSessionAffinityAttributesInitParameters struct { // (Number) Configures the drain duration in seconds. This field is only used when session affinity is enabled on the load balancer. Defaults to 0. // Configures the drain duration in seconds. This field is only used when session affinity is enabled on the load balancer. Defaults to `0`. DrainDuration *float64 `json:"drainDuration,omitempty" tf:"drain_duration,omitempty"` // (List of String) Configures the HTTP header names to use when header session affinity is enabled. // Configures the HTTP header names to use when header session affinity is enabled. Headers []*string `json:"headers,omitempty" tf:"headers,omitempty"` // (Boolean) Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to false. // Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to `false`. RequireAllHeaders *bool `json:"requireAllHeaders,omitempty" tf:"require_all_headers,omitempty"` // (String) Configures the SameSite attribute on session affinity cookie. Value Auto will be translated to Lax or None depending if Always Use HTTPS is enabled. Note: when using value None, then you can not set secure="Never". Available values: Auto, Lax, None, Strict. // Configures the SameSite attribute on session affinity cookie. Value `Auto` will be translated to `Lax` or `None` depending if Always Use HTTPS is enabled. Note: when using value `None`, then you can not set [`secure="Never"`](#secure). Available values: `Auto`, `Lax`, `None`, `Strict`. Defaults to `Auto`. Samesite *string `json:"samesite,omitempty" tf:"samesite,omitempty"` // Cookie header, Never indicates the Secure attribute will not be set, and Auto will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: Auto, Always, Never. // Configures the Secure attribute on session affinity cookie. Value `Always` indicates the Secure attribute will be set in the Set-Cookie header, `Never` indicates the Secure attribute will not be set, and `Auto` will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: `Auto`, `Always`, `Never`. Defaults to `Auto`. Secure *string `json:"secure,omitempty" tf:"secure,omitempty"` // downtime failover between origins within a pool when session affinity is enabled. Value none means no failover takes place for sessions pinned to the origin. Value temporary means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value sticky means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: none, temporary, sticky. // Configures the zero-downtime failover between origins within a pool when session affinity is enabled. Value `none` means no failover takes place for sessions pinned to the origin. Value `temporary` means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value `sticky` means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: `none`, `temporary`, `sticky`. Defaults to `none`. ZeroDowntimeFailover *string `json:"zeroDowntimeFailover,omitempty" tf:"zero_downtime_failover,omitempty"` }
func (*LoadBalancerSessionAffinityAttributesInitParameters) DeepCopy ¶
func (in *LoadBalancerSessionAffinityAttributesInitParameters) DeepCopy() *LoadBalancerSessionAffinityAttributesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerSessionAffinityAttributesInitParameters.
func (*LoadBalancerSessionAffinityAttributesInitParameters) DeepCopyInto ¶
func (in *LoadBalancerSessionAffinityAttributesInitParameters) DeepCopyInto(out *LoadBalancerSessionAffinityAttributesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerSessionAffinityAttributesObservation ¶
type LoadBalancerSessionAffinityAttributesObservation struct { // (Number) Configures the drain duration in seconds. This field is only used when session affinity is enabled on the load balancer. Defaults to 0. // Configures the drain duration in seconds. This field is only used when session affinity is enabled on the load balancer. Defaults to `0`. DrainDuration *float64 `json:"drainDuration,omitempty" tf:"drain_duration,omitempty"` // (List of String) Configures the HTTP header names to use when header session affinity is enabled. // Configures the HTTP header names to use when header session affinity is enabled. Headers []*string `json:"headers,omitempty" tf:"headers,omitempty"` // (Boolean) Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to false. // Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to `false`. RequireAllHeaders *bool `json:"requireAllHeaders,omitempty" tf:"require_all_headers,omitempty"` // (String) Configures the SameSite attribute on session affinity cookie. Value Auto will be translated to Lax or None depending if Always Use HTTPS is enabled. Note: when using value None, then you can not set secure="Never". Available values: Auto, Lax, None, Strict. // Configures the SameSite attribute on session affinity cookie. Value `Auto` will be translated to `Lax` or `None` depending if Always Use HTTPS is enabled. Note: when using value `None`, then you can not set [`secure="Never"`](#secure). Available values: `Auto`, `Lax`, `None`, `Strict`. Defaults to `Auto`. Samesite *string `json:"samesite,omitempty" tf:"samesite,omitempty"` // Cookie header, Never indicates the Secure attribute will not be set, and Auto will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: Auto, Always, Never. // Configures the Secure attribute on session affinity cookie. Value `Always` indicates the Secure attribute will be set in the Set-Cookie header, `Never` indicates the Secure attribute will not be set, and `Auto` will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: `Auto`, `Always`, `Never`. Defaults to `Auto`. Secure *string `json:"secure,omitempty" tf:"secure,omitempty"` // downtime failover between origins within a pool when session affinity is enabled. Value none means no failover takes place for sessions pinned to the origin. Value temporary means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value sticky means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: none, temporary, sticky. // Configures the zero-downtime failover between origins within a pool when session affinity is enabled. Value `none` means no failover takes place for sessions pinned to the origin. Value `temporary` means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value `sticky` means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: `none`, `temporary`, `sticky`. Defaults to `none`. ZeroDowntimeFailover *string `json:"zeroDowntimeFailover,omitempty" tf:"zero_downtime_failover,omitempty"` }
func (*LoadBalancerSessionAffinityAttributesObservation) DeepCopy ¶
func (in *LoadBalancerSessionAffinityAttributesObservation) DeepCopy() *LoadBalancerSessionAffinityAttributesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerSessionAffinityAttributesObservation.
func (*LoadBalancerSessionAffinityAttributesObservation) DeepCopyInto ¶
func (in *LoadBalancerSessionAffinityAttributesObservation) DeepCopyInto(out *LoadBalancerSessionAffinityAttributesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerSessionAffinityAttributesParameters ¶
type LoadBalancerSessionAffinityAttributesParameters struct { // (Number) Configures the drain duration in seconds. This field is only used when session affinity is enabled on the load balancer. Defaults to 0. // Configures the drain duration in seconds. This field is only used when session affinity is enabled on the load balancer. Defaults to `0`. // +kubebuilder:validation:Optional DrainDuration *float64 `json:"drainDuration,omitempty" tf:"drain_duration,omitempty"` // (List of String) Configures the HTTP header names to use when header session affinity is enabled. // Configures the HTTP header names to use when header session affinity is enabled. // +kubebuilder:validation:Optional Headers []*string `json:"headers,omitempty" tf:"headers,omitempty"` // (Boolean) Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to false. // Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to `false`. // +kubebuilder:validation:Optional RequireAllHeaders *bool `json:"requireAllHeaders,omitempty" tf:"require_all_headers,omitempty"` // (String) Configures the SameSite attribute on session affinity cookie. Value Auto will be translated to Lax or None depending if Always Use HTTPS is enabled. Note: when using value None, then you can not set secure="Never". Available values: Auto, Lax, None, Strict. // Configures the SameSite attribute on session affinity cookie. Value `Auto` will be translated to `Lax` or `None` depending if Always Use HTTPS is enabled. Note: when using value `None`, then you can not set [`secure="Never"`](#secure). Available values: `Auto`, `Lax`, `None`, `Strict`. Defaults to `Auto`. // +kubebuilder:validation:Optional Samesite *string `json:"samesite,omitempty" tf:"samesite,omitempty"` // Cookie header, Never indicates the Secure attribute will not be set, and Auto will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: Auto, Always, Never. // Configures the Secure attribute on session affinity cookie. Value `Always` indicates the Secure attribute will be set in the Set-Cookie header, `Never` indicates the Secure attribute will not be set, and `Auto` will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: `Auto`, `Always`, `Never`. Defaults to `Auto`. // +kubebuilder:validation:Optional Secure *string `json:"secure,omitempty" tf:"secure,omitempty"` // downtime failover between origins within a pool when session affinity is enabled. Value none means no failover takes place for sessions pinned to the origin. Value temporary means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value sticky means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: none, temporary, sticky. // Configures the zero-downtime failover between origins within a pool when session affinity is enabled. Value `none` means no failover takes place for sessions pinned to the origin. Value `temporary` means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value `sticky` means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: `none`, `temporary`, `sticky`. Defaults to `none`. // +kubebuilder:validation:Optional ZeroDowntimeFailover *string `json:"zeroDowntimeFailover,omitempty" tf:"zero_downtime_failover,omitempty"` }
func (*LoadBalancerSessionAffinityAttributesParameters) DeepCopy ¶
func (in *LoadBalancerSessionAffinityAttributesParameters) DeepCopy() *LoadBalancerSessionAffinityAttributesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerSessionAffinityAttributesParameters.
func (*LoadBalancerSessionAffinityAttributesParameters) DeepCopyInto ¶
func (in *LoadBalancerSessionAffinityAttributesParameters) DeepCopyInto(out *LoadBalancerSessionAffinityAttributesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerSpec ¶
type LoadBalancerSpec struct { v1.ResourceSpec `json:",inline"` ForProvider LoadBalancerParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider LoadBalancerInitParameters `json:"initProvider,omitempty"` }
LoadBalancerSpec defines the desired state of LoadBalancer
func (*LoadBalancerSpec) DeepCopy ¶
func (in *LoadBalancerSpec) DeepCopy() *LoadBalancerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerSpec.
func (*LoadBalancerSpec) DeepCopyInto ¶
func (in *LoadBalancerSpec) DeepCopyInto(out *LoadBalancerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerStatus ¶
type LoadBalancerStatus struct { v1.ResourceStatus `json:",inline"` AtProvider LoadBalancerObservation `json:"atProvider,omitempty"` }
LoadBalancerStatus defines the observed state of LoadBalancer.
func (*LoadBalancerStatus) DeepCopy ¶
func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus.
func (*LoadBalancerStatus) DeepCopyInto ¶
func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadSheddingInitParameters ¶
type LoadSheddingInitParameters struct { // 100. Defaults to 0. // Percent of traffic to shed 0 - 100. Defaults to `0`. DefaultPercent *float64 `json:"defaultPercent,omitempty" tf:"default_percent,omitempty"` // (String) Method of shedding traffic. Available values: "", hash, random. Defaults to "". // Method of shedding traffic. Available values: `""`, `hash`, `random`. Defaults to `""`. DefaultPolicy *string `json:"defaultPolicy,omitempty" tf:"default_policy,omitempty"` // 100. Defaults to 0. // Percent of session traffic to shed 0 - 100. Defaults to `0`. SessionPercent *float64 `json:"sessionPercent,omitempty" tf:"session_percent,omitempty"` // (String) Method of shedding traffic. Available values: "", hash. Defaults to "". // Method of shedding traffic. Available values: `""`, `hash`. Defaults to `""`. SessionPolicy *string `json:"sessionPolicy,omitempty" tf:"session_policy,omitempty"` }
func (*LoadSheddingInitParameters) DeepCopy ¶
func (in *LoadSheddingInitParameters) DeepCopy() *LoadSheddingInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadSheddingInitParameters.
func (*LoadSheddingInitParameters) DeepCopyInto ¶
func (in *LoadSheddingInitParameters) DeepCopyInto(out *LoadSheddingInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadSheddingObservation ¶
type LoadSheddingObservation struct { // 100. Defaults to 0. // Percent of traffic to shed 0 - 100. Defaults to `0`. DefaultPercent *float64 `json:"defaultPercent,omitempty" tf:"default_percent,omitempty"` // (String) Method of shedding traffic. Available values: "", hash, random. Defaults to "". // Method of shedding traffic. Available values: `""`, `hash`, `random`. Defaults to `""`. DefaultPolicy *string `json:"defaultPolicy,omitempty" tf:"default_policy,omitempty"` // 100. Defaults to 0. // Percent of session traffic to shed 0 - 100. Defaults to `0`. SessionPercent *float64 `json:"sessionPercent,omitempty" tf:"session_percent,omitempty"` // (String) Method of shedding traffic. Available values: "", hash. Defaults to "". // Method of shedding traffic. Available values: `""`, `hash`. Defaults to `""`. SessionPolicy *string `json:"sessionPolicy,omitempty" tf:"session_policy,omitempty"` }
func (*LoadSheddingObservation) DeepCopy ¶
func (in *LoadSheddingObservation) DeepCopy() *LoadSheddingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadSheddingObservation.
func (*LoadSheddingObservation) DeepCopyInto ¶
func (in *LoadSheddingObservation) DeepCopyInto(out *LoadSheddingObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadSheddingParameters ¶
type LoadSheddingParameters struct { // 100. Defaults to 0. // Percent of traffic to shed 0 - 100. Defaults to `0`. // +kubebuilder:validation:Optional DefaultPercent *float64 `json:"defaultPercent,omitempty" tf:"default_percent,omitempty"` // (String) Method of shedding traffic. Available values: "", hash, random. Defaults to "". // Method of shedding traffic. Available values: `""`, `hash`, `random`. Defaults to `""`. // +kubebuilder:validation:Optional DefaultPolicy *string `json:"defaultPolicy,omitempty" tf:"default_policy,omitempty"` // 100. Defaults to 0. // Percent of session traffic to shed 0 - 100. Defaults to `0`. // +kubebuilder:validation:Optional SessionPercent *float64 `json:"sessionPercent,omitempty" tf:"session_percent,omitempty"` // (String) Method of shedding traffic. Available values: "", hash. Defaults to "". // Method of shedding traffic. Available values: `""`, `hash`. Defaults to `""`. // +kubebuilder:validation:Optional SessionPolicy *string `json:"sessionPolicy,omitempty" tf:"session_policy,omitempty"` }
func (*LoadSheddingParameters) DeepCopy ¶
func (in *LoadSheddingParameters) DeepCopy() *LoadSheddingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadSheddingParameters.
func (*LoadSheddingParameters) DeepCopyInto ¶
func (in *LoadSheddingParameters) DeepCopyInto(out *LoadSheddingParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationStrategyInitParameters ¶
type LocationStrategyInitParameters struct { // (String) Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value pop will use the Cloudflare PoP location. Value resolver_ip will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: pop, resolver_ip. Defaults to pop. // Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value `pop` will use the Cloudflare PoP location. Value `resolver_ip` will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: `pop`, `resolver_ip`. Defaults to `pop`. Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // (String) Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value always will always prefer ECS, never will never prefer ECS, proximity will prefer ECS only when steering_policy="proximity", and geo will prefer ECS only when steering_policy="geo". Available values: always, never, proximity, geo. Defaults to proximity. // Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value `always` will always prefer ECS, `never` will never prefer ECS, `proximity` will prefer ECS only when [`steering_policy="proximity"`](#steering_policy), and `geo` will prefer ECS only when [`steering_policy="geo"`](#steering_policy). Available values: `always`, `never`, `proximity`, `geo`. Defaults to `proximity`. PreferEcs *string `json:"preferEcs,omitempty" tf:"prefer_ecs,omitempty"` }
func (*LocationStrategyInitParameters) DeepCopy ¶
func (in *LocationStrategyInitParameters) DeepCopy() *LocationStrategyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationStrategyInitParameters.
func (*LocationStrategyInitParameters) DeepCopyInto ¶
func (in *LocationStrategyInitParameters) DeepCopyInto(out *LocationStrategyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationStrategyObservation ¶
type LocationStrategyObservation struct { // (String) Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value pop will use the Cloudflare PoP location. Value resolver_ip will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: pop, resolver_ip. Defaults to pop. // Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value `pop` will use the Cloudflare PoP location. Value `resolver_ip` will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: `pop`, `resolver_ip`. Defaults to `pop`. Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // (String) Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value always will always prefer ECS, never will never prefer ECS, proximity will prefer ECS only when steering_policy="proximity", and geo will prefer ECS only when steering_policy="geo". Available values: always, never, proximity, geo. Defaults to proximity. // Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value `always` will always prefer ECS, `never` will never prefer ECS, `proximity` will prefer ECS only when [`steering_policy="proximity"`](#steering_policy), and `geo` will prefer ECS only when [`steering_policy="geo"`](#steering_policy). Available values: `always`, `never`, `proximity`, `geo`. Defaults to `proximity`. PreferEcs *string `json:"preferEcs,omitempty" tf:"prefer_ecs,omitempty"` }
func (*LocationStrategyObservation) DeepCopy ¶
func (in *LocationStrategyObservation) DeepCopy() *LocationStrategyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationStrategyObservation.
func (*LocationStrategyObservation) DeepCopyInto ¶
func (in *LocationStrategyObservation) DeepCopyInto(out *LocationStrategyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationStrategyParameters ¶
type LocationStrategyParameters struct { // (String) Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value pop will use the Cloudflare PoP location. Value resolver_ip will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: pop, resolver_ip. Defaults to pop. // Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value `pop` will use the Cloudflare PoP location. Value `resolver_ip` will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: `pop`, `resolver_ip`. Defaults to `pop`. // +kubebuilder:validation:Optional Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // (String) Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value always will always prefer ECS, never will never prefer ECS, proximity will prefer ECS only when steering_policy="proximity", and geo will prefer ECS only when steering_policy="geo". Available values: always, never, proximity, geo. Defaults to proximity. // Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value `always` will always prefer ECS, `never` will never prefer ECS, `proximity` will prefer ECS only when [`steering_policy="proximity"`](#steering_policy), and `geo` will prefer ECS only when [`steering_policy="geo"`](#steering_policy). Available values: `always`, `never`, `proximity`, `geo`. Defaults to `proximity`. // +kubebuilder:validation:Optional PreferEcs *string `json:"preferEcs,omitempty" tf:"prefer_ecs,omitempty"` }
func (*LocationStrategyParameters) DeepCopy ¶
func (in *LocationStrategyParameters) DeepCopy() *LocationStrategyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationStrategyParameters.
func (*LocationStrategyParameters) DeepCopyInto ¶
func (in *LocationStrategyParameters) DeepCopyInto(out *LocationStrategyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Monitor ¶
type Monitor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MonitorSpec `json:"spec"` Status MonitorStatus `json:"status,omitempty"` }
Monitor is the Schema for the Monitors API. If Cloudflare's Load Balancing to load-balance across multiple origin servers or data centers, you configure one of these Monitors to actively check the availability of those servers over HTTP(S) or TCP. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,cloudflare}
func (*Monitor) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitor.
func (*Monitor) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Monitor) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Monitor) GetCondition ¶
func (mg *Monitor) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Monitor.
func (*Monitor) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Monitor
func (*Monitor) GetDeletionPolicy ¶
func (mg *Monitor) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Monitor.
func (*Monitor) GetInitParameters ¶
GetInitParameters of this Monitor
func (*Monitor) GetManagementPolicies ¶
func (mg *Monitor) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Monitor.
func (*Monitor) GetObservation ¶
GetObservation of this Monitor
func (*Monitor) GetParameters ¶
GetParameters of this Monitor
func (*Monitor) GetProviderConfigReference ¶
GetProviderConfigReference of this Monitor.
func (*Monitor) GetPublishConnectionDetailsTo ¶
func (mg *Monitor) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Monitor.
func (*Monitor) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Monitor
func (*Monitor) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Monitor) GetWriteConnectionSecretToReference ¶
func (mg *Monitor) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Monitor.
func (*Monitor) LateInitialize ¶
LateInitialize this Monitor using its observed tfState. returns True if there are any spec changes for the resource.
func (*Monitor) ResolveReferences ¶
ResolveReferences of this Monitor.
func (*Monitor) SetConditions ¶
SetConditions of this Monitor.
func (*Monitor) SetDeletionPolicy ¶
func (mg *Monitor) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Monitor.
func (*Monitor) SetManagementPolicies ¶
func (mg *Monitor) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Monitor.
func (*Monitor) SetObservation ¶
SetObservation for this Monitor
func (*Monitor) SetParameters ¶
SetParameters for this Monitor
func (*Monitor) SetProviderConfigReference ¶
SetProviderConfigReference of this Monitor.
func (*Monitor) SetPublishConnectionDetailsTo ¶
func (mg *Monitor) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Monitor.
func (*Monitor) SetWriteConnectionSecretToReference ¶
func (mg *Monitor) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Monitor.
type MonitorInitParameters ¶
type MonitorInitParameters struct { // (Boolean) Do not validate the certificate when monitor use HTTPS. Only valid if type is "http" or "https". // Do not validate the certificate when monitor use HTTPS. Only valid if `type` is "http" or "https". AllowInsecure *bool `json:"allowInsecure,omitempty" tf:"allow_insecure,omitempty"` // (Number) To be marked unhealthy the monitored origin must fail this healthcheck N consecutive times. Defaults to 0. // To be marked unhealthy the monitored origin must fail this healthcheck N consecutive times. Defaults to `0`. ConsecutiveDown *float64 `json:"consecutiveDown,omitempty" tf:"consecutive_down,omitempty"` // (Number) To be marked healthy the monitored origin must pass this healthcheck N consecutive times. Defaults to 0. // To be marked healthy the monitored origin must pass this healthcheck N consecutive times. Defaults to `0`. ConsecutiveUp *float64 `json:"consecutiveUp,omitempty" tf:"consecutive_up,omitempty"` // (String) Free text description. // Free text description. Description *string `json:"description,omitempty" tf:"description,omitempty"` // insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. Only valid if type is "http" or "https". // A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. Only valid if `type` is "http" or "https". ExpectedBody *string `json:"expectedBody,omitempty" tf:"expected_body,omitempty"` // (String) The expected HTTP response code or code range of the health check. Eg 2xx. Only valid and required if type is "http" or "https". // The expected HTTP response code or code range of the health check. Eg `2xx`. Only valid and required if `type` is "http" or "https". ExpectedCodes *string `json:"expectedCodes,omitempty" tf:"expected_codes,omitempty"` // (Boolean) Follow redirects if returned by the origin. Only valid if type is "http" or "https". // Follow redirects if returned by the origin. Only valid if `type` is "http" or "https". FollowRedirects *bool `json:"followRedirects,omitempty" tf:"follow_redirects,omitempty"` // Agent header cannot be overridden. (see below for nested schema) // The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot be overridden. Header []HeaderInitParameters `json:"header,omitempty" tf:"header,omitempty"` // (Number) The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations. Defaults to 60. // The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations. Defaults to `60`. Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"` // (String) The method to use for the health check. // The method to use for the health check. Method *string `json:"method,omitempty" tf:"method,omitempty"` // (String) The endpoint path to health check against. // The endpoint path to health check against. Path *string `json:"path,omitempty" tf:"path,omitempty"` // (Number) The port number to use for the healthcheck, required when creating a TCP monitor. // The port number to use for the healthcheck, required when creating a TCP monitor. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // (String) Assign this monitor to emulate the specified zone while probing. Only valid if type is "http" or "https". // Assign this monitor to emulate the specified zone while probing. Only valid if `type` is "http" or "https". ProbeZone *string `json:"probeZone,omitempty" tf:"probe_zone,omitempty"` // (Number) The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Defaults to 2. // The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Defaults to `2`. Retries *float64 `json:"retries,omitempty" tf:"retries,omitempty"` // (Number) The timeout (in seconds) before marking the health check as failed. Defaults to 5. // The timeout (in seconds) before marking the health check as failed. Defaults to `5`. Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"` // (String) The protocol to use for the healthcheck. Available values: http, https, tcp, udp_icmp, icmp_ping, smtp. Defaults to http. // The protocol to use for the healthcheck. Available values: `http`, `https`, `tcp`, `udp_icmp`, `icmp_ping`, `smtp`. Defaults to `http`. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*MonitorInitParameters) DeepCopy ¶
func (in *MonitorInitParameters) DeepCopy() *MonitorInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorInitParameters.
func (*MonitorInitParameters) DeepCopyInto ¶
func (in *MonitorInitParameters) DeepCopyInto(out *MonitorInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorList ¶
type MonitorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Monitor `json:"items"` }
MonitorList contains a list of Monitors
func (*MonitorList) DeepCopy ¶
func (in *MonitorList) DeepCopy() *MonitorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorList.
func (*MonitorList) DeepCopyInto ¶
func (in *MonitorList) DeepCopyInto(out *MonitorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitorList) DeepCopyObject ¶
func (in *MonitorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MonitorList) GetItems ¶
func (l *MonitorList) GetItems() []resource.Managed
GetItems of this MonitorList.
type MonitorObservation ¶
type MonitorObservation struct { // (String) The account identifier to target for the resource. // The account identifier to target for the resource. AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` // (Boolean) Do not validate the certificate when monitor use HTTPS. Only valid if type is "http" or "https". // Do not validate the certificate when monitor use HTTPS. Only valid if `type` is "http" or "https". AllowInsecure *bool `json:"allowInsecure,omitempty" tf:"allow_insecure,omitempty"` // (Number) To be marked unhealthy the monitored origin must fail this healthcheck N consecutive times. Defaults to 0. // To be marked unhealthy the monitored origin must fail this healthcheck N consecutive times. Defaults to `0`. ConsecutiveDown *float64 `json:"consecutiveDown,omitempty" tf:"consecutive_down,omitempty"` // (Number) To be marked healthy the monitored origin must pass this healthcheck N consecutive times. Defaults to 0. // To be marked healthy the monitored origin must pass this healthcheck N consecutive times. Defaults to `0`. ConsecutiveUp *float64 `json:"consecutiveUp,omitempty" tf:"consecutive_up,omitempty"` // (String) The RFC3339 timestamp of when the load balancer monitor was created. // The RFC3339 timestamp of when the load balancer monitor was created. CreatedOn *string `json:"createdOn,omitempty" tf:"created_on,omitempty"` // (String) Free text description. // Free text description. Description *string `json:"description,omitempty" tf:"description,omitempty"` // insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. Only valid if type is "http" or "https". // A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. Only valid if `type` is "http" or "https". ExpectedBody *string `json:"expectedBody,omitempty" tf:"expected_body,omitempty"` // (String) The expected HTTP response code or code range of the health check. Eg 2xx. Only valid and required if type is "http" or "https". // The expected HTTP response code or code range of the health check. Eg `2xx`. Only valid and required if `type` is "http" or "https". ExpectedCodes *string `json:"expectedCodes,omitempty" tf:"expected_codes,omitempty"` // (Boolean) Follow redirects if returned by the origin. Only valid if type is "http" or "https". // Follow redirects if returned by the origin. Only valid if `type` is "http" or "https". FollowRedirects *bool `json:"followRedirects,omitempty" tf:"follow_redirects,omitempty"` // Agent header cannot be overridden. (see below for nested schema) // The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot be overridden. Header []HeaderObservation `json:"header,omitempty" tf:"header,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Number) The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations. Defaults to 60. // The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations. Defaults to `60`. Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"` // (String) The method to use for the health check. // The method to use for the health check. Method *string `json:"method,omitempty" tf:"method,omitempty"` // (String) The RFC3339 timestamp of when the load balancer monitor was last modified. // The RFC3339 timestamp of when the load balancer monitor was last modified. ModifiedOn *string `json:"modifiedOn,omitempty" tf:"modified_on,omitempty"` // (String) The endpoint path to health check against. // The endpoint path to health check against. Path *string `json:"path,omitempty" tf:"path,omitempty"` // (Number) The port number to use for the healthcheck, required when creating a TCP monitor. // The port number to use for the healthcheck, required when creating a TCP monitor. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // (String) Assign this monitor to emulate the specified zone while probing. Only valid if type is "http" or "https". // Assign this monitor to emulate the specified zone while probing. Only valid if `type` is "http" or "https". ProbeZone *string `json:"probeZone,omitempty" tf:"probe_zone,omitempty"` // (Number) The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Defaults to 2. // The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Defaults to `2`. Retries *float64 `json:"retries,omitempty" tf:"retries,omitempty"` // (Number) The timeout (in seconds) before marking the health check as failed. Defaults to 5. // The timeout (in seconds) before marking the health check as failed. Defaults to `5`. Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"` // (String) The protocol to use for the healthcheck. Available values: http, https, tcp, udp_icmp, icmp_ping, smtp. Defaults to http. // The protocol to use for the healthcheck. Available values: `http`, `https`, `tcp`, `udp_icmp`, `icmp_ping`, `smtp`. Defaults to `http`. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*MonitorObservation) DeepCopy ¶
func (in *MonitorObservation) DeepCopy() *MonitorObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorObservation.
func (*MonitorObservation) DeepCopyInto ¶
func (in *MonitorObservation) DeepCopyInto(out *MonitorObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorParameters ¶
type MonitorParameters struct { // (String) The account identifier to target for the resource. // The account identifier to target for the resource. // +crossplane:generate:reference:type=github.com/milkpirate/provider-cloudflare/apis/account/v1alpha1.Account // +kubebuilder:validation:Optional AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` // Reference to a Account in account to populate accountId. // +kubebuilder:validation:Optional AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"` // Selector for a Account in account to populate accountId. // +kubebuilder:validation:Optional AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"` // (Boolean) Do not validate the certificate when monitor use HTTPS. Only valid if type is "http" or "https". // Do not validate the certificate when monitor use HTTPS. Only valid if `type` is "http" or "https". // +kubebuilder:validation:Optional AllowInsecure *bool `json:"allowInsecure,omitempty" tf:"allow_insecure,omitempty"` // (Number) To be marked unhealthy the monitored origin must fail this healthcheck N consecutive times. Defaults to 0. // To be marked unhealthy the monitored origin must fail this healthcheck N consecutive times. Defaults to `0`. // +kubebuilder:validation:Optional ConsecutiveDown *float64 `json:"consecutiveDown,omitempty" tf:"consecutive_down,omitempty"` // (Number) To be marked healthy the monitored origin must pass this healthcheck N consecutive times. Defaults to 0. // To be marked healthy the monitored origin must pass this healthcheck N consecutive times. Defaults to `0`. // +kubebuilder:validation:Optional ConsecutiveUp *float64 `json:"consecutiveUp,omitempty" tf:"consecutive_up,omitempty"` // (String) Free text description. // Free text description. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. Only valid if type is "http" or "https". // A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. Only valid if `type` is "http" or "https". // +kubebuilder:validation:Optional ExpectedBody *string `json:"expectedBody,omitempty" tf:"expected_body,omitempty"` // (String) The expected HTTP response code or code range of the health check. Eg 2xx. Only valid and required if type is "http" or "https". // The expected HTTP response code or code range of the health check. Eg `2xx`. Only valid and required if `type` is "http" or "https". // +kubebuilder:validation:Optional ExpectedCodes *string `json:"expectedCodes,omitempty" tf:"expected_codes,omitempty"` // (Boolean) Follow redirects if returned by the origin. Only valid if type is "http" or "https". // Follow redirects if returned by the origin. Only valid if `type` is "http" or "https". // +kubebuilder:validation:Optional FollowRedirects *bool `json:"followRedirects,omitempty" tf:"follow_redirects,omitempty"` // Agent header cannot be overridden. (see below for nested schema) // The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot be overridden. // +kubebuilder:validation:Optional Header []HeaderParameters `json:"header,omitempty" tf:"header,omitempty"` // (Number) The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations. Defaults to 60. // The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations. Defaults to `60`. // +kubebuilder:validation:Optional Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"` // (String) The method to use for the health check. // The method to use for the health check. // +kubebuilder:validation:Optional Method *string `json:"method,omitempty" tf:"method,omitempty"` // (String) The endpoint path to health check against. // The endpoint path to health check against. // +kubebuilder:validation:Optional Path *string `json:"path,omitempty" tf:"path,omitempty"` // (Number) The port number to use for the healthcheck, required when creating a TCP monitor. // The port number to use for the healthcheck, required when creating a TCP monitor. // +kubebuilder:validation:Optional Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // (String) Assign this monitor to emulate the specified zone while probing. Only valid if type is "http" or "https". // Assign this monitor to emulate the specified zone while probing. Only valid if `type` is "http" or "https". // +kubebuilder:validation:Optional ProbeZone *string `json:"probeZone,omitempty" tf:"probe_zone,omitempty"` // (Number) The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Defaults to 2. // The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Defaults to `2`. // +kubebuilder:validation:Optional Retries *float64 `json:"retries,omitempty" tf:"retries,omitempty"` // (Number) The timeout (in seconds) before marking the health check as failed. Defaults to 5. // The timeout (in seconds) before marking the health check as failed. Defaults to `5`. // +kubebuilder:validation:Optional Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"` // (String) The protocol to use for the healthcheck. Available values: http, https, tcp, udp_icmp, icmp_ping, smtp. Defaults to http. // The protocol to use for the healthcheck. Available values: `http`, `https`, `tcp`, `udp_icmp`, `icmp_ping`, `smtp`. Defaults to `http`. // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*MonitorParameters) DeepCopy ¶
func (in *MonitorParameters) DeepCopy() *MonitorParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorParameters.
func (*MonitorParameters) DeepCopyInto ¶
func (in *MonitorParameters) DeepCopyInto(out *MonitorParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpec ¶
type MonitorSpec struct { v1.ResourceSpec `json:",inline"` ForProvider MonitorParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider MonitorInitParameters `json:"initProvider,omitempty"` }
MonitorSpec defines the desired state of Monitor
func (*MonitorSpec) DeepCopy ¶
func (in *MonitorSpec) DeepCopy() *MonitorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpec.
func (*MonitorSpec) DeepCopyInto ¶
func (in *MonitorSpec) DeepCopyInto(out *MonitorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorStatus ¶
type MonitorStatus struct { v1.ResourceStatus `json:",inline"` AtProvider MonitorObservation `json:"atProvider,omitempty"` }
MonitorStatus defines the observed state of Monitor.
func (*MonitorStatus) DeepCopy ¶
func (in *MonitorStatus) DeepCopy() *MonitorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorStatus.
func (*MonitorStatus) DeepCopyInto ¶
func (in *MonitorStatus) DeepCopyInto(out *MonitorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginSteeringInitParameters ¶
type OriginSteeringInitParameters struct { // Connecting-IP address. Value least_outstanding_requests selects an origin by taking into consideration origin weights, as well as each origin's number of outstanding requests. Origins with more pending requests are weighted proportionately less relative to others. Value least_connections selects an origin by taking into consideration origin weights, as well as each origin's number of open connections. Origins with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Available values: "", hash, random, least_outstanding_requests, least_connections. Defaults to random. // Origin steering policy to be used. Value `random` selects an origin randomly. Value `hash` selects an origin by computing a hash over the CF-Connecting-IP address. Value `least_outstanding_requests` selects an origin by taking into consideration origin weights, as well as each origin's number of outstanding requests. Origins with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects an origin by taking into consideration origin weights, as well as each origin's number of open connections. Origins with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Available values: `""`, `hash`, `random`, `least_outstanding_requests`, `least_connections`. Defaults to `random`. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` }
func (*OriginSteeringInitParameters) DeepCopy ¶
func (in *OriginSteeringInitParameters) DeepCopy() *OriginSteeringInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginSteeringInitParameters.
func (*OriginSteeringInitParameters) DeepCopyInto ¶
func (in *OriginSteeringInitParameters) DeepCopyInto(out *OriginSteeringInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginSteeringObservation ¶
type OriginSteeringObservation struct { // Connecting-IP address. Value least_outstanding_requests selects an origin by taking into consideration origin weights, as well as each origin's number of outstanding requests. Origins with more pending requests are weighted proportionately less relative to others. Value least_connections selects an origin by taking into consideration origin weights, as well as each origin's number of open connections. Origins with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Available values: "", hash, random, least_outstanding_requests, least_connections. Defaults to random. // Origin steering policy to be used. Value `random` selects an origin randomly. Value `hash` selects an origin by computing a hash over the CF-Connecting-IP address. Value `least_outstanding_requests` selects an origin by taking into consideration origin weights, as well as each origin's number of outstanding requests. Origins with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects an origin by taking into consideration origin weights, as well as each origin's number of open connections. Origins with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Available values: `""`, `hash`, `random`, `least_outstanding_requests`, `least_connections`. Defaults to `random`. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` }
func (*OriginSteeringObservation) DeepCopy ¶
func (in *OriginSteeringObservation) DeepCopy() *OriginSteeringObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginSteeringObservation.
func (*OriginSteeringObservation) DeepCopyInto ¶
func (in *OriginSteeringObservation) DeepCopyInto(out *OriginSteeringObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginSteeringParameters ¶
type OriginSteeringParameters struct { // Connecting-IP address. Value least_outstanding_requests selects an origin by taking into consideration origin weights, as well as each origin's number of outstanding requests. Origins with more pending requests are weighted proportionately less relative to others. Value least_connections selects an origin by taking into consideration origin weights, as well as each origin's number of open connections. Origins with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Available values: "", hash, random, least_outstanding_requests, least_connections. Defaults to random. // Origin steering policy to be used. Value `random` selects an origin randomly. Value `hash` selects an origin by computing a hash over the CF-Connecting-IP address. Value `least_outstanding_requests` selects an origin by taking into consideration origin weights, as well as each origin's number of outstanding requests. Origins with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects an origin by taking into consideration origin weights, as well as each origin's number of open connections. Origins with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Available values: `""`, `hash`, `random`, `least_outstanding_requests`, `least_connections`. Defaults to `random`. // +kubebuilder:validation:Optional Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` }
func (*OriginSteeringParameters) DeepCopy ¶
func (in *OriginSteeringParameters) DeepCopy() *OriginSteeringParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginSteeringParameters.
func (*OriginSteeringParameters) DeepCopyInto ¶
func (in *OriginSteeringParameters) DeepCopyInto(out *OriginSteeringParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginsHeaderInitParameters ¶
type OriginsHeaderInitParameters struct { // (Block Set) HTTP request headers. (see below for nested schema) // HTTP Header name. Header *string `json:"header,omitempty" tf:"header,omitempty"` // (Set of String) Values for the HTTP headers. // Values for the HTTP headers. Values []*string `json:"values,omitempty" tf:"values,omitempty"` }
func (*OriginsHeaderInitParameters) DeepCopy ¶
func (in *OriginsHeaderInitParameters) DeepCopy() *OriginsHeaderInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginsHeaderInitParameters.
func (*OriginsHeaderInitParameters) DeepCopyInto ¶
func (in *OriginsHeaderInitParameters) DeepCopyInto(out *OriginsHeaderInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginsHeaderObservation ¶
type OriginsHeaderObservation struct { // (Block Set) HTTP request headers. (see below for nested schema) // HTTP Header name. Header *string `json:"header,omitempty" tf:"header,omitempty"` // (Set of String) Values for the HTTP headers. // Values for the HTTP headers. Values []*string `json:"values,omitempty" tf:"values,omitempty"` }
func (*OriginsHeaderObservation) DeepCopy ¶
func (in *OriginsHeaderObservation) DeepCopy() *OriginsHeaderObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginsHeaderObservation.
func (*OriginsHeaderObservation) DeepCopyInto ¶
func (in *OriginsHeaderObservation) DeepCopyInto(out *OriginsHeaderObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginsHeaderParameters ¶
type OriginsHeaderParameters struct { // (Block Set) HTTP request headers. (see below for nested schema) // HTTP Header name. // +kubebuilder:validation:Optional Header *string `json:"header" tf:"header,omitempty"` // (Set of String) Values for the HTTP headers. // Values for the HTTP headers. // +kubebuilder:validation:Optional Values []*string `json:"values" tf:"values,omitempty"` }
func (*OriginsHeaderParameters) DeepCopy ¶
func (in *OriginsHeaderParameters) DeepCopy() *OriginsHeaderParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginsHeaderParameters.
func (*OriginsHeaderParameters) DeepCopyInto ¶
func (in *OriginsHeaderParameters) DeepCopyInto(out *OriginsHeaderParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginsInitParameters ¶
type OriginsInitParameters struct { // (String) The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname. // The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname. Address *string `json:"address,omitempty" tf:"address,omitempty"` // (Boolean) Whether to enable (the default) this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). Defaults to true. // Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks. Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (Block Set) HTTP request headers. (see below for nested schema) // HTTP request headers. Header []OriginsHeaderInitParameters `json:"header,omitempty" tf:"header,omitempty"` // (String) A short name (tag) for the pool. // A human-identifiable name for the origin. Name *string `json:"name,omitempty" tf:"name,omitempty"` // 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. When origin_steering.policy="least_outstanding_requests", weight is used to scale the origin's outstanding requests. When origin_steering.policy="least_connections", weight is used to scale the origin's open connections. Defaults to 1. // The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. When [`origin_steering.policy="least_outstanding_requests"`](#policy), weight is used to scale the origin's outstanding requests. When [`origin_steering.policy="least_connections"`](#policy), weight is used to scale the origin's open connections. Defaults to `1`. Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"` }
func (*OriginsInitParameters) DeepCopy ¶
func (in *OriginsInitParameters) DeepCopy() *OriginsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginsInitParameters.
func (*OriginsInitParameters) DeepCopyInto ¶
func (in *OriginsInitParameters) DeepCopyInto(out *OriginsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginsObservation ¶
type OriginsObservation struct { // (String) The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname. // The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname. Address *string `json:"address,omitempty" tf:"address,omitempty"` // (Boolean) Whether to enable (the default) this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). Defaults to true. // Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks. Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (Block Set) HTTP request headers. (see below for nested schema) // HTTP request headers. Header []OriginsHeaderObservation `json:"header,omitempty" tf:"header,omitempty"` // (String) A short name (tag) for the pool. // A human-identifiable name for the origin. Name *string `json:"name,omitempty" tf:"name,omitempty"` // 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. When origin_steering.policy="least_outstanding_requests", weight is used to scale the origin's outstanding requests. When origin_steering.policy="least_connections", weight is used to scale the origin's open connections. Defaults to 1. // The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. When [`origin_steering.policy="least_outstanding_requests"`](#policy), weight is used to scale the origin's outstanding requests. When [`origin_steering.policy="least_connections"`](#policy), weight is used to scale the origin's open connections. Defaults to `1`. Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"` }
func (*OriginsObservation) DeepCopy ¶
func (in *OriginsObservation) DeepCopy() *OriginsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginsObservation.
func (*OriginsObservation) DeepCopyInto ¶
func (in *OriginsObservation) DeepCopyInto(out *OriginsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginsParameters ¶
type OriginsParameters struct { // (String) The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname. // The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname. // +kubebuilder:validation:Optional Address *string `json:"address" tf:"address,omitempty"` // (Boolean) Whether to enable (the default) this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). Defaults to true. // Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks. Defaults to `true`. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (Block Set) HTTP request headers. (see below for nested schema) // HTTP request headers. // +kubebuilder:validation:Optional Header []OriginsHeaderParameters `json:"header,omitempty" tf:"header,omitempty"` // (String) A short name (tag) for the pool. // A human-identifiable name for the origin. // +kubebuilder:validation:Optional Name *string `json:"name" tf:"name,omitempty"` // 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. When origin_steering.policy="least_outstanding_requests", weight is used to scale the origin's outstanding requests. When origin_steering.policy="least_connections", weight is used to scale the origin's open connections. Defaults to 1. // The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. When [`origin_steering.policy="least_outstanding_requests"`](#policy), weight is used to scale the origin's outstanding requests. When [`origin_steering.policy="least_connections"`](#policy), weight is used to scale the origin's open connections. Defaults to `1`. // +kubebuilder:validation:Optional Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"` }
func (*OriginsParameters) DeepCopy ¶
func (in *OriginsParameters) DeepCopy() *OriginsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginsParameters.
func (*OriginsParameters) DeepCopyInto ¶
func (in *OriginsParameters) DeepCopyInto(out *OriginsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesAdaptiveRoutingInitParameters ¶
type OverridesAdaptiveRoutingInitParameters struct { // downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set false, zero-downtime failover will only occur between origins within the same pool. Defaults to false. // Extends zero-downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set `false`, zero-downtime failover will only occur between origins within the same pool. FailoverAcrossPools *bool `json:"failoverAcrossPools,omitempty" tf:"failover_across_pools,omitempty"` }
func (*OverridesAdaptiveRoutingInitParameters) DeepCopy ¶
func (in *OverridesAdaptiveRoutingInitParameters) DeepCopy() *OverridesAdaptiveRoutingInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesAdaptiveRoutingInitParameters.
func (*OverridesAdaptiveRoutingInitParameters) DeepCopyInto ¶
func (in *OverridesAdaptiveRoutingInitParameters) DeepCopyInto(out *OverridesAdaptiveRoutingInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesAdaptiveRoutingObservation ¶
type OverridesAdaptiveRoutingObservation struct { // downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set false, zero-downtime failover will only occur between origins within the same pool. Defaults to false. // Extends zero-downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set `false`, zero-downtime failover will only occur between origins within the same pool. FailoverAcrossPools *bool `json:"failoverAcrossPools,omitempty" tf:"failover_across_pools,omitempty"` }
func (*OverridesAdaptiveRoutingObservation) DeepCopy ¶
func (in *OverridesAdaptiveRoutingObservation) DeepCopy() *OverridesAdaptiveRoutingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesAdaptiveRoutingObservation.
func (*OverridesAdaptiveRoutingObservation) DeepCopyInto ¶
func (in *OverridesAdaptiveRoutingObservation) DeepCopyInto(out *OverridesAdaptiveRoutingObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesAdaptiveRoutingParameters ¶
type OverridesAdaptiveRoutingParameters struct { // downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set false, zero-downtime failover will only occur between origins within the same pool. Defaults to false. // Extends zero-downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set `false`, zero-downtime failover will only occur between origins within the same pool. // +kubebuilder:validation:Optional FailoverAcrossPools *bool `json:"failoverAcrossPools,omitempty" tf:"failover_across_pools,omitempty"` }
func (*OverridesAdaptiveRoutingParameters) DeepCopy ¶
func (in *OverridesAdaptiveRoutingParameters) DeepCopy() *OverridesAdaptiveRoutingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesAdaptiveRoutingParameters.
func (*OverridesAdaptiveRoutingParameters) DeepCopyInto ¶
func (in *OverridesAdaptiveRoutingParameters) DeepCopyInto(out *OverridesAdaptiveRoutingParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesCountryPoolsInitParameters ¶
type OverridesCountryPoolsInitParameters struct { // (String) A country code which can be determined with the Load Balancing Regions API described here. Multiple entries should not be specified with the same country. // A country code which can be determined with the Load Balancing Regions API described [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/). Multiple entries should not be specified with the same country. Country *string `json:"country,omitempty" tf:"country,omitempty"` // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use in the given country. PoolIds []*string `json:"poolIds,omitempty" tf:"pool_ids,omitempty"` }
func (*OverridesCountryPoolsInitParameters) DeepCopy ¶
func (in *OverridesCountryPoolsInitParameters) DeepCopy() *OverridesCountryPoolsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesCountryPoolsInitParameters.
func (*OverridesCountryPoolsInitParameters) DeepCopyInto ¶
func (in *OverridesCountryPoolsInitParameters) DeepCopyInto(out *OverridesCountryPoolsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesCountryPoolsObservation ¶
type OverridesCountryPoolsObservation struct { // (String) A country code which can be determined with the Load Balancing Regions API described here. Multiple entries should not be specified with the same country. // A country code which can be determined with the Load Balancing Regions API described [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/). Multiple entries should not be specified with the same country. Country *string `json:"country,omitempty" tf:"country,omitempty"` // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use in the given country. PoolIds []*string `json:"poolIds,omitempty" tf:"pool_ids,omitempty"` }
func (*OverridesCountryPoolsObservation) DeepCopy ¶
func (in *OverridesCountryPoolsObservation) DeepCopy() *OverridesCountryPoolsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesCountryPoolsObservation.
func (*OverridesCountryPoolsObservation) DeepCopyInto ¶
func (in *OverridesCountryPoolsObservation) DeepCopyInto(out *OverridesCountryPoolsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesCountryPoolsParameters ¶
type OverridesCountryPoolsParameters struct { // (String) A country code which can be determined with the Load Balancing Regions API described here. Multiple entries should not be specified with the same country. // A country code which can be determined with the Load Balancing Regions API described [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/). Multiple entries should not be specified with the same country. // +kubebuilder:validation:Optional Country *string `json:"country" tf:"country,omitempty"` // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use in the given country. // +kubebuilder:validation:Optional PoolIds []*string `json:"poolIds" tf:"pool_ids,omitempty"` }
func (*OverridesCountryPoolsParameters) DeepCopy ¶
func (in *OverridesCountryPoolsParameters) DeepCopy() *OverridesCountryPoolsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesCountryPoolsParameters.
func (*OverridesCountryPoolsParameters) DeepCopyInto ¶
func (in *OverridesCountryPoolsParameters) DeepCopyInto(out *OverridesCountryPoolsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesInitParameters ¶
type OverridesInitParameters struct { // (Block Set) Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. (see below for nested schema) // Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. AdaptiveRouting []OverridesAdaptiveRoutingInitParameters `json:"adaptiveRouting,omitempty" tf:"adaptive_routing,omitempty"` // (Block Set) A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. (see below for nested schema) // A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. CountryPools []OverridesCountryPoolsInitParameters `json:"countryPools,omitempty" tf:"country_pools,omitempty"` // (List of String) A list of pool IDs ordered by their failover priority. Used whenever pop_pools/country_pools/region_pools are not defined. // A list of pool IDs ordered by their failover priority. Used whenever [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) are not defined. DefaultPools []*string `json:"defaultPools,omitempty" tf:"default_pools,omitempty"` // (String) The pool ID to use when all other pools are detected as unhealthy. // The pool ID to use when all other pools are detected as unhealthy. FallbackPool *string `json:"fallbackPool,omitempty" tf:"fallback_pool,omitempty"` // based steering for non-proxied requests. (see below for nested schema) // Controls location-based steering for non-proxied requests. LocationStrategy []OverridesLocationStrategyInitParameters `json:"locationStrategy,omitempty" tf:"location_strategy,omitempty"` // of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. (see below for nested schema) // A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. PopPools []OverridesPopPoolsInitParameters `json:"popPools,omitempty" tf:"pop_pools,omitempty"` // (Block Set) Configures pool weights. When steering_policy="random", a random pool is selected with probability proportional to pool weights. When steering_policy="least_outstanding_requests", pool weights are used to scale each pool's outstanding requests. When steering_policy="least_connections", pool weights are used to scale each pool's open connections. (see below for nested schema) // Configures pool weights. When [`steering_policy="random"`](#steering_policy), a random pool is selected with probability proportional to pool weights. When [`steering_policy="least_outstanding_requests"`](#steering_policy), pool weights are used to scale each pool's outstanding requests. When [`steering_policy="least_connections"`](#steering_policy), pool weights are used to scale each pool's open connections. RandomSteering []OverridesRandomSteeringInitParameters `json:"randomSteering,omitempty" tf:"random_steering,omitempty"` // (Block Set) A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. (see below for nested schema) // A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. RegionPools []OverridesRegionPoolsInitParameters `json:"regionPools,omitempty" tf:"region_pools,omitempty"` // (String) Specifies the type of session affinity the load balancer should use unless specified as none or "" (default). With value cookie, on the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy then a new origin server is calculated and used. Value ip_cookie behaves the same as cookie except the initial origin selection is stable and based on the client's IP address. Available values: "", none, cookie, ip_cookie, header. Defaults to none. // Configure attributes for session affinity. SessionAffinity *string `json:"sessionAffinity,omitempty" tf:"session_affinity,omitempty"` // (Block Set) Configure attributes for session affinity. (see below for nested schema) // Configure attributes for session affinity. Note that the property [`drain_duration`](#drain_duration) is not currently supported as a rule override. SessionAffinityAttributes []SessionAffinityAttributesInitParameters `json:"sessionAffinityAttributes,omitempty" tf:"session_affinity_attributes,omitempty"` // (Number) Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of 82800 (23 hours) will be used unless session_affinity_ttl is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between 1800 and 604800. // Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of `82800` (23 hours) will be used unless [`session_affinity_ttl`](#session_affinity_ttl) is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between `1800` and `604800`. SessionAffinityTTL *float64 `json:"sessionAffinityTtl,omitempty" tf:"session_affinity_ttl,omitempty"` // proxied requests, the country for country_pools is determined by location_strategy. Value random selects a pool randomly. Value dynamic_latency uses round trip time to select the closest pool in default_pool_ids (requires pool health checks). Value proximity uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by location_strategy for non-proxied requests. Value least_outstanding_requests selects a pool by taking into consideration random_steering weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value least_connections selects a pool by taking into consideration random_steering weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value "" maps to geo if you use pop_pools/country_pools/region_pools otherwise off. Available values: off, geo, dynamic_latency, random, proximity, least_outstanding_requests, least_connections, "" Defaults to "". // The method the load balancer uses to determine the route to your origin. Value `off` uses [`default_pool_ids`](#default_pool_ids). Value `geo` uses [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools). For non-proxied requests, the [`country`](#country) for [`country_pools`](#country_pools) is determined by [`location_strategy`](#location_strategy). Value `random` selects a pool randomly. Value `dynamic_latency` uses round trip time to select the closest pool in [`default_pool_ids`](#default_pool_ids) (requires pool health checks). Value `proximity` uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by [`location_strategy`](#location_strategy) for non-proxied requests. Value `least_outstanding_requests` selects a pool by taking into consideration [`random_steering`](#random_steering) weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects a pool by taking into consideration [`random_steering`](#random_steering) weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value `""` maps to `geo` if you use [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) otherwise `off`. Available values: `off`, `geo`, `dynamic_latency`, `random`, `proximity`, `least_outstanding_requests`, `least_connections`, `""` Defaults to `""`. SteeringPolicy *string `json:"steeringPolicy,omitempty" tf:"steering_policy,omitempty"` // (Number) Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to 30. Conflicts with proxied. // Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to `30`. TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` }
func (*OverridesInitParameters) DeepCopy ¶
func (in *OverridesInitParameters) DeepCopy() *OverridesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesInitParameters.
func (*OverridesInitParameters) DeepCopyInto ¶
func (in *OverridesInitParameters) DeepCopyInto(out *OverridesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesLocationStrategyInitParameters ¶
type OverridesLocationStrategyInitParameters struct { // (String) Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value pop will use the Cloudflare PoP location. Value resolver_ip will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: pop, resolver_ip. Defaults to pop. // Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value `pop` will use the Cloudflare PoP location. Value `resolver_ip` will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: `pop`, `resolver_ip`. Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // (String) Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value always will always prefer ECS, never will never prefer ECS, proximity will prefer ECS only when steering_policy="proximity", and geo will prefer ECS only when steering_policy="geo". Available values: always, never, proximity, geo. Defaults to proximity. // Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value `always` will always prefer ECS, `never` will never prefer ECS, `proximity` will prefer ECS only when [`steering_policy="proximity"`](#steering_policy), and `geo` will prefer ECS only when [`steering_policy="geo"`](#steering_policy). Available values: `always`, `never`, `proximity`, `geo`. PreferEcs *string `json:"preferEcs,omitempty" tf:"prefer_ecs,omitempty"` }
func (*OverridesLocationStrategyInitParameters) DeepCopy ¶
func (in *OverridesLocationStrategyInitParameters) DeepCopy() *OverridesLocationStrategyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesLocationStrategyInitParameters.
func (*OverridesLocationStrategyInitParameters) DeepCopyInto ¶
func (in *OverridesLocationStrategyInitParameters) DeepCopyInto(out *OverridesLocationStrategyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesLocationStrategyObservation ¶
type OverridesLocationStrategyObservation struct { // (String) Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value pop will use the Cloudflare PoP location. Value resolver_ip will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: pop, resolver_ip. Defaults to pop. // Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value `pop` will use the Cloudflare PoP location. Value `resolver_ip` will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: `pop`, `resolver_ip`. Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // (String) Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value always will always prefer ECS, never will never prefer ECS, proximity will prefer ECS only when steering_policy="proximity", and geo will prefer ECS only when steering_policy="geo". Available values: always, never, proximity, geo. Defaults to proximity. // Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value `always` will always prefer ECS, `never` will never prefer ECS, `proximity` will prefer ECS only when [`steering_policy="proximity"`](#steering_policy), and `geo` will prefer ECS only when [`steering_policy="geo"`](#steering_policy). Available values: `always`, `never`, `proximity`, `geo`. PreferEcs *string `json:"preferEcs,omitempty" tf:"prefer_ecs,omitempty"` }
func (*OverridesLocationStrategyObservation) DeepCopy ¶
func (in *OverridesLocationStrategyObservation) DeepCopy() *OverridesLocationStrategyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesLocationStrategyObservation.
func (*OverridesLocationStrategyObservation) DeepCopyInto ¶
func (in *OverridesLocationStrategyObservation) DeepCopyInto(out *OverridesLocationStrategyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesLocationStrategyParameters ¶
type OverridesLocationStrategyParameters struct { // (String) Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value pop will use the Cloudflare PoP location. Value resolver_ip will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: pop, resolver_ip. Defaults to pop. // Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value `pop` will use the Cloudflare PoP location. Value `resolver_ip` will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: `pop`, `resolver_ip`. // +kubebuilder:validation:Optional Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // (String) Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value always will always prefer ECS, never will never prefer ECS, proximity will prefer ECS only when steering_policy="proximity", and geo will prefer ECS only when steering_policy="geo". Available values: always, never, proximity, geo. Defaults to proximity. // Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value `always` will always prefer ECS, `never` will never prefer ECS, `proximity` will prefer ECS only when [`steering_policy="proximity"`](#steering_policy), and `geo` will prefer ECS only when [`steering_policy="geo"`](#steering_policy). Available values: `always`, `never`, `proximity`, `geo`. // +kubebuilder:validation:Optional PreferEcs *string `json:"preferEcs,omitempty" tf:"prefer_ecs,omitempty"` }
func (*OverridesLocationStrategyParameters) DeepCopy ¶
func (in *OverridesLocationStrategyParameters) DeepCopy() *OverridesLocationStrategyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesLocationStrategyParameters.
func (*OverridesLocationStrategyParameters) DeepCopyInto ¶
func (in *OverridesLocationStrategyParameters) DeepCopyInto(out *OverridesLocationStrategyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesObservation ¶
type OverridesObservation struct { // (Block Set) Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. (see below for nested schema) // Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. AdaptiveRouting []OverridesAdaptiveRoutingObservation `json:"adaptiveRouting,omitempty" tf:"adaptive_routing,omitempty"` // (Block Set) A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. (see below for nested schema) // A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. CountryPools []OverridesCountryPoolsObservation `json:"countryPools,omitempty" tf:"country_pools,omitempty"` // (List of String) A list of pool IDs ordered by their failover priority. Used whenever pop_pools/country_pools/region_pools are not defined. // A list of pool IDs ordered by their failover priority. Used whenever [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) are not defined. DefaultPools []*string `json:"defaultPools,omitempty" tf:"default_pools,omitempty"` // (String) The pool ID to use when all other pools are detected as unhealthy. // The pool ID to use when all other pools are detected as unhealthy. FallbackPool *string `json:"fallbackPool,omitempty" tf:"fallback_pool,omitempty"` // based steering for non-proxied requests. (see below for nested schema) // Controls location-based steering for non-proxied requests. LocationStrategy []OverridesLocationStrategyObservation `json:"locationStrategy,omitempty" tf:"location_strategy,omitempty"` // of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. (see below for nested schema) // A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. PopPools []OverridesPopPoolsObservation `json:"popPools,omitempty" tf:"pop_pools,omitempty"` // (Block Set) Configures pool weights. When steering_policy="random", a random pool is selected with probability proportional to pool weights. When steering_policy="least_outstanding_requests", pool weights are used to scale each pool's outstanding requests. When steering_policy="least_connections", pool weights are used to scale each pool's open connections. (see below for nested schema) // Configures pool weights. When [`steering_policy="random"`](#steering_policy), a random pool is selected with probability proportional to pool weights. When [`steering_policy="least_outstanding_requests"`](#steering_policy), pool weights are used to scale each pool's outstanding requests. When [`steering_policy="least_connections"`](#steering_policy), pool weights are used to scale each pool's open connections. RandomSteering []OverridesRandomSteeringObservation `json:"randomSteering,omitempty" tf:"random_steering,omitempty"` // (Block Set) A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. (see below for nested schema) // A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. RegionPools []OverridesRegionPoolsObservation `json:"regionPools,omitempty" tf:"region_pools,omitempty"` // (String) Specifies the type of session affinity the load balancer should use unless specified as none or "" (default). With value cookie, on the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy then a new origin server is calculated and used. Value ip_cookie behaves the same as cookie except the initial origin selection is stable and based on the client's IP address. Available values: "", none, cookie, ip_cookie, header. Defaults to none. // Configure attributes for session affinity. SessionAffinity *string `json:"sessionAffinity,omitempty" tf:"session_affinity,omitempty"` // (Block Set) Configure attributes for session affinity. (see below for nested schema) // Configure attributes for session affinity. Note that the property [`drain_duration`](#drain_duration) is not currently supported as a rule override. SessionAffinityAttributes []SessionAffinityAttributesObservation `json:"sessionAffinityAttributes,omitempty" tf:"session_affinity_attributes,omitempty"` // (Number) Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of 82800 (23 hours) will be used unless session_affinity_ttl is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between 1800 and 604800. // Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of `82800` (23 hours) will be used unless [`session_affinity_ttl`](#session_affinity_ttl) is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between `1800` and `604800`. SessionAffinityTTL *float64 `json:"sessionAffinityTtl,omitempty" tf:"session_affinity_ttl,omitempty"` // proxied requests, the country for country_pools is determined by location_strategy. Value random selects a pool randomly. Value dynamic_latency uses round trip time to select the closest pool in default_pool_ids (requires pool health checks). Value proximity uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by location_strategy for non-proxied requests. Value least_outstanding_requests selects a pool by taking into consideration random_steering weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value least_connections selects a pool by taking into consideration random_steering weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value "" maps to geo if you use pop_pools/country_pools/region_pools otherwise off. Available values: off, geo, dynamic_latency, random, proximity, least_outstanding_requests, least_connections, "" Defaults to "". // The method the load balancer uses to determine the route to your origin. Value `off` uses [`default_pool_ids`](#default_pool_ids). Value `geo` uses [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools). For non-proxied requests, the [`country`](#country) for [`country_pools`](#country_pools) is determined by [`location_strategy`](#location_strategy). Value `random` selects a pool randomly. Value `dynamic_latency` uses round trip time to select the closest pool in [`default_pool_ids`](#default_pool_ids) (requires pool health checks). Value `proximity` uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by [`location_strategy`](#location_strategy) for non-proxied requests. Value `least_outstanding_requests` selects a pool by taking into consideration [`random_steering`](#random_steering) weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects a pool by taking into consideration [`random_steering`](#random_steering) weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value `""` maps to `geo` if you use [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) otherwise `off`. Available values: `off`, `geo`, `dynamic_latency`, `random`, `proximity`, `least_outstanding_requests`, `least_connections`, `""` Defaults to `""`. SteeringPolicy *string `json:"steeringPolicy,omitempty" tf:"steering_policy,omitempty"` // (Number) Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to 30. Conflicts with proxied. // Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to `30`. TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` }
func (*OverridesObservation) DeepCopy ¶
func (in *OverridesObservation) DeepCopy() *OverridesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesObservation.
func (*OverridesObservation) DeepCopyInto ¶
func (in *OverridesObservation) DeepCopyInto(out *OverridesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesParameters ¶
type OverridesParameters struct { // (Block Set) Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. (see below for nested schema) // Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. // +kubebuilder:validation:Optional AdaptiveRouting []OverridesAdaptiveRoutingParameters `json:"adaptiveRouting,omitempty" tf:"adaptive_routing,omitempty"` // (Block Set) A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. (see below for nested schema) // A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. // +kubebuilder:validation:Optional CountryPools []OverridesCountryPoolsParameters `json:"countryPools,omitempty" tf:"country_pools,omitempty"` // (List of String) A list of pool IDs ordered by their failover priority. Used whenever pop_pools/country_pools/region_pools are not defined. // A list of pool IDs ordered by their failover priority. Used whenever [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) are not defined. // +kubebuilder:validation:Optional DefaultPools []*string `json:"defaultPools,omitempty" tf:"default_pools,omitempty"` // (String) The pool ID to use when all other pools are detected as unhealthy. // The pool ID to use when all other pools are detected as unhealthy. // +kubebuilder:validation:Optional FallbackPool *string `json:"fallbackPool,omitempty" tf:"fallback_pool,omitempty"` // based steering for non-proxied requests. (see below for nested schema) // Controls location-based steering for non-proxied requests. // +kubebuilder:validation:Optional LocationStrategy []OverridesLocationStrategyParameters `json:"locationStrategy,omitempty" tf:"location_strategy,omitempty"` // of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. (see below for nested schema) // A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. // +kubebuilder:validation:Optional PopPools []OverridesPopPoolsParameters `json:"popPools,omitempty" tf:"pop_pools,omitempty"` // (Block Set) Configures pool weights. When steering_policy="random", a random pool is selected with probability proportional to pool weights. When steering_policy="least_outstanding_requests", pool weights are used to scale each pool's outstanding requests. When steering_policy="least_connections", pool weights are used to scale each pool's open connections. (see below for nested schema) // Configures pool weights. When [`steering_policy="random"`](#steering_policy), a random pool is selected with probability proportional to pool weights. When [`steering_policy="least_outstanding_requests"`](#steering_policy), pool weights are used to scale each pool's outstanding requests. When [`steering_policy="least_connections"`](#steering_policy), pool weights are used to scale each pool's open connections. // +kubebuilder:validation:Optional RandomSteering []OverridesRandomSteeringParameters `json:"randomSteering,omitempty" tf:"random_steering,omitempty"` // (Block Set) A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. (see below for nested schema) // A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. // +kubebuilder:validation:Optional RegionPools []OverridesRegionPoolsParameters `json:"regionPools,omitempty" tf:"region_pools,omitempty"` // (String) Specifies the type of session affinity the load balancer should use unless specified as none or "" (default). With value cookie, on the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy then a new origin server is calculated and used. Value ip_cookie behaves the same as cookie except the initial origin selection is stable and based on the client's IP address. Available values: "", none, cookie, ip_cookie, header. Defaults to none. // Configure attributes for session affinity. // +kubebuilder:validation:Optional SessionAffinity *string `json:"sessionAffinity,omitempty" tf:"session_affinity,omitempty"` // (Block Set) Configure attributes for session affinity. (see below for nested schema) // Configure attributes for session affinity. Note that the property [`drain_duration`](#drain_duration) is not currently supported as a rule override. // +kubebuilder:validation:Optional SessionAffinityAttributes []SessionAffinityAttributesParameters `json:"sessionAffinityAttributes,omitempty" tf:"session_affinity_attributes,omitempty"` // (Number) Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of 82800 (23 hours) will be used unless session_affinity_ttl is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between 1800 and 604800. // Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of `82800` (23 hours) will be used unless [`session_affinity_ttl`](#session_affinity_ttl) is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between `1800` and `604800`. // +kubebuilder:validation:Optional SessionAffinityTTL *float64 `json:"sessionAffinityTtl,omitempty" tf:"session_affinity_ttl,omitempty"` // proxied requests, the country for country_pools is determined by location_strategy. Value random selects a pool randomly. Value dynamic_latency uses round trip time to select the closest pool in default_pool_ids (requires pool health checks). Value proximity uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by location_strategy for non-proxied requests. Value least_outstanding_requests selects a pool by taking into consideration random_steering weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value least_connections selects a pool by taking into consideration random_steering weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value "" maps to geo if you use pop_pools/country_pools/region_pools otherwise off. Available values: off, geo, dynamic_latency, random, proximity, least_outstanding_requests, least_connections, "" Defaults to "". // The method the load balancer uses to determine the route to your origin. Value `off` uses [`default_pool_ids`](#default_pool_ids). Value `geo` uses [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools). For non-proxied requests, the [`country`](#country) for [`country_pools`](#country_pools) is determined by [`location_strategy`](#location_strategy). Value `random` selects a pool randomly. Value `dynamic_latency` uses round trip time to select the closest pool in [`default_pool_ids`](#default_pool_ids) (requires pool health checks). Value `proximity` uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by [`location_strategy`](#location_strategy) for non-proxied requests. Value `least_outstanding_requests` selects a pool by taking into consideration [`random_steering`](#random_steering) weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects a pool by taking into consideration [`random_steering`](#random_steering) weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value `""` maps to `geo` if you use [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) otherwise `off`. Available values: `off`, `geo`, `dynamic_latency`, `random`, `proximity`, `least_outstanding_requests`, `least_connections`, `""` Defaults to `""`. // +kubebuilder:validation:Optional SteeringPolicy *string `json:"steeringPolicy,omitempty" tf:"steering_policy,omitempty"` // (Number) Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to 30. Conflicts with proxied. // Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to `30`. // +kubebuilder:validation:Optional TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` }
func (*OverridesParameters) DeepCopy ¶
func (in *OverridesParameters) DeepCopy() *OverridesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesParameters.
func (*OverridesParameters) DeepCopyInto ¶
func (in *OverridesParameters) DeepCopyInto(out *OverridesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesPopPoolsInitParameters ¶
type OverridesPopPoolsInitParameters struct { // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use for traffic reaching the given PoP. PoolIds []*string `json:"poolIds,omitempty" tf:"pool_ids,omitempty"` // letter code for the Point-of-Presence. Allowed values can be found in the list of datacenters on the status page. Multiple entries should not be specified with the same PoP. // A 3-letter code for the Point-of-Presence. Allowed values can be found in the list of datacenters on the [status page](https://www.cloudflarestatus.com/). Multiple entries should not be specified with the same PoP. Pop *string `json:"pop,omitempty" tf:"pop,omitempty"` }
func (*OverridesPopPoolsInitParameters) DeepCopy ¶
func (in *OverridesPopPoolsInitParameters) DeepCopy() *OverridesPopPoolsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesPopPoolsInitParameters.
func (*OverridesPopPoolsInitParameters) DeepCopyInto ¶
func (in *OverridesPopPoolsInitParameters) DeepCopyInto(out *OverridesPopPoolsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesPopPoolsObservation ¶
type OverridesPopPoolsObservation struct { // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use for traffic reaching the given PoP. PoolIds []*string `json:"poolIds,omitempty" tf:"pool_ids,omitempty"` // letter code for the Point-of-Presence. Allowed values can be found in the list of datacenters on the status page. Multiple entries should not be specified with the same PoP. // A 3-letter code for the Point-of-Presence. Allowed values can be found in the list of datacenters on the [status page](https://www.cloudflarestatus.com/). Multiple entries should not be specified with the same PoP. Pop *string `json:"pop,omitempty" tf:"pop,omitempty"` }
func (*OverridesPopPoolsObservation) DeepCopy ¶
func (in *OverridesPopPoolsObservation) DeepCopy() *OverridesPopPoolsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesPopPoolsObservation.
func (*OverridesPopPoolsObservation) DeepCopyInto ¶
func (in *OverridesPopPoolsObservation) DeepCopyInto(out *OverridesPopPoolsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesPopPoolsParameters ¶
type OverridesPopPoolsParameters struct { // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use for traffic reaching the given PoP. // +kubebuilder:validation:Optional PoolIds []*string `json:"poolIds" tf:"pool_ids,omitempty"` // letter code for the Point-of-Presence. Allowed values can be found in the list of datacenters on the status page. Multiple entries should not be specified with the same PoP. // A 3-letter code for the Point-of-Presence. Allowed values can be found in the list of datacenters on the [status page](https://www.cloudflarestatus.com/). Multiple entries should not be specified with the same PoP. // +kubebuilder:validation:Optional Pop *string `json:"pop" tf:"pop,omitempty"` }
func (*OverridesPopPoolsParameters) DeepCopy ¶
func (in *OverridesPopPoolsParameters) DeepCopy() *OverridesPopPoolsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesPopPoolsParameters.
func (*OverridesPopPoolsParameters) DeepCopyInto ¶
func (in *OverridesPopPoolsParameters) DeepCopyInto(out *OverridesPopPoolsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesRandomSteeringInitParameters ¶
type OverridesRandomSteeringInitParameters struct { // (Number) The default weight for pools in the load balancer that are not specified in the pool_weights map. // The default weight for pools in the load balancer that are not specified in the [`pool_weights`](#pool_weights) map. DefaultWeight *float64 `json:"defaultWeight,omitempty" tf:"default_weight,omitempty"` // (Map of Number) A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. // A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. PoolWeights map[string]*float64 `json:"poolWeights,omitempty" tf:"pool_weights,omitempty"` }
func (*OverridesRandomSteeringInitParameters) DeepCopy ¶
func (in *OverridesRandomSteeringInitParameters) DeepCopy() *OverridesRandomSteeringInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesRandomSteeringInitParameters.
func (*OverridesRandomSteeringInitParameters) DeepCopyInto ¶
func (in *OverridesRandomSteeringInitParameters) DeepCopyInto(out *OverridesRandomSteeringInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesRandomSteeringObservation ¶
type OverridesRandomSteeringObservation struct { // (Number) The default weight for pools in the load balancer that are not specified in the pool_weights map. // The default weight for pools in the load balancer that are not specified in the [`pool_weights`](#pool_weights) map. DefaultWeight *float64 `json:"defaultWeight,omitempty" tf:"default_weight,omitempty"` // (Map of Number) A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. // A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. PoolWeights map[string]*float64 `json:"poolWeights,omitempty" tf:"pool_weights,omitempty"` }
func (*OverridesRandomSteeringObservation) DeepCopy ¶
func (in *OverridesRandomSteeringObservation) DeepCopy() *OverridesRandomSteeringObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesRandomSteeringObservation.
func (*OverridesRandomSteeringObservation) DeepCopyInto ¶
func (in *OverridesRandomSteeringObservation) DeepCopyInto(out *OverridesRandomSteeringObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesRandomSteeringParameters ¶
type OverridesRandomSteeringParameters struct { // (Number) The default weight for pools in the load balancer that are not specified in the pool_weights map. // The default weight for pools in the load balancer that are not specified in the [`pool_weights`](#pool_weights) map. // +kubebuilder:validation:Optional DefaultWeight *float64 `json:"defaultWeight,omitempty" tf:"default_weight,omitempty"` // (Map of Number) A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. // A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. // +kubebuilder:validation:Optional PoolWeights map[string]*float64 `json:"poolWeights,omitempty" tf:"pool_weights,omitempty"` }
func (*OverridesRandomSteeringParameters) DeepCopy ¶
func (in *OverridesRandomSteeringParameters) DeepCopy() *OverridesRandomSteeringParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesRandomSteeringParameters.
func (*OverridesRandomSteeringParameters) DeepCopyInto ¶
func (in *OverridesRandomSteeringParameters) DeepCopyInto(out *OverridesRandomSteeringParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesRegionPoolsInitParameters ¶
type OverridesRegionPoolsInitParameters struct { // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use in the given region. PoolIds []*string `json:"poolIds,omitempty" tf:"pool_ids,omitempty"` // (String) A region code which must be in the list defined here. Multiple entries should not be specified with the same region. // A region code which must be in the list defined [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/#list-of-load-balancer-regions). Multiple entries should not be specified with the same region. Region *string `json:"region,omitempty" tf:"region,omitempty"` }
func (*OverridesRegionPoolsInitParameters) DeepCopy ¶
func (in *OverridesRegionPoolsInitParameters) DeepCopy() *OverridesRegionPoolsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesRegionPoolsInitParameters.
func (*OverridesRegionPoolsInitParameters) DeepCopyInto ¶
func (in *OverridesRegionPoolsInitParameters) DeepCopyInto(out *OverridesRegionPoolsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesRegionPoolsObservation ¶
type OverridesRegionPoolsObservation struct { // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use in the given region. PoolIds []*string `json:"poolIds,omitempty" tf:"pool_ids,omitempty"` // (String) A region code which must be in the list defined here. Multiple entries should not be specified with the same region. // A region code which must be in the list defined [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/#list-of-load-balancer-regions). Multiple entries should not be specified with the same region. Region *string `json:"region,omitempty" tf:"region,omitempty"` }
func (*OverridesRegionPoolsObservation) DeepCopy ¶
func (in *OverridesRegionPoolsObservation) DeepCopy() *OverridesRegionPoolsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesRegionPoolsObservation.
func (*OverridesRegionPoolsObservation) DeepCopyInto ¶
func (in *OverridesRegionPoolsObservation) DeepCopyInto(out *OverridesRegionPoolsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesRegionPoolsParameters ¶
type OverridesRegionPoolsParameters struct { // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use in the given region. // +kubebuilder:validation:Optional PoolIds []*string `json:"poolIds" tf:"pool_ids,omitempty"` // (String) A region code which must be in the list defined here. Multiple entries should not be specified with the same region. // A region code which must be in the list defined [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/#list-of-load-balancer-regions). Multiple entries should not be specified with the same region. // +kubebuilder:validation:Optional Region *string `json:"region" tf:"region,omitempty"` }
func (*OverridesRegionPoolsParameters) DeepCopy ¶
func (in *OverridesRegionPoolsParameters) DeepCopy() *OverridesRegionPoolsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesRegionPoolsParameters.
func (*OverridesRegionPoolsParameters) DeepCopyInto ¶
func (in *OverridesRegionPoolsParameters) DeepCopyInto(out *OverridesRegionPoolsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Pool ¶
type Pool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.origins) || (has(self.initProvider) && has(self.initProvider.origins))",message="spec.forProvider.origins is a required parameter" Spec PoolSpec `json:"spec"` Status PoolStatus `json:"status,omitempty"` }
Pool is the Schema for the Pools API. Provides a Cloudflare Load Balancer pool resource. This provides a pool of origins that can be used by a Cloudflare Load Balancer. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,cloudflare}
func (*Pool) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pool.
func (*Pool) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Pool) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Pool) GetCondition ¶
func (mg *Pool) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Pool.
func (*Pool) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Pool
func (*Pool) GetDeletionPolicy ¶
func (mg *Pool) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Pool.
func (*Pool) GetInitParameters ¶
GetInitParameters of this Pool
func (*Pool) GetManagementPolicies ¶
func (mg *Pool) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Pool.
func (*Pool) GetObservation ¶
GetObservation of this Pool
func (*Pool) GetParameters ¶
GetParameters of this Pool
func (*Pool) GetProviderConfigReference ¶
GetProviderConfigReference of this Pool.
func (*Pool) GetPublishConnectionDetailsTo ¶
func (mg *Pool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Pool.
func (*Pool) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Pool
func (*Pool) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Pool) GetWriteConnectionSecretToReference ¶
func (mg *Pool) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Pool.
func (*Pool) LateInitialize ¶
LateInitialize this Pool using its observed tfState. returns True if there are any spec changes for the resource.
func (*Pool) ResolveReferences ¶
ResolveReferences of this Pool.
func (*Pool) SetConditions ¶
SetConditions of this Pool.
func (*Pool) SetDeletionPolicy ¶
func (mg *Pool) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Pool.
func (*Pool) SetManagementPolicies ¶
func (mg *Pool) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Pool.
func (*Pool) SetObservation ¶
SetObservation for this Pool
func (*Pool) SetParameters ¶
SetParameters for this Pool
func (*Pool) SetProviderConfigReference ¶
SetProviderConfigReference of this Pool.
func (*Pool) SetPublishConnectionDetailsTo ¶
func (mg *Pool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Pool.
func (*Pool) SetWriteConnectionSecretToReference ¶
func (mg *Pool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Pool.
type PoolInitParameters ¶
type PoolInitParameters struct { // (Set of String) A list of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found here. // A list of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api). CheckRegions []*string `json:"checkRegions,omitempty" tf:"check_regions,omitempty"` // (String) Free text description. // Free text description. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to enable (the default) this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). Defaults to true. // Whether to enable (the default) this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (Number) The latitude this pool is physically located at; used for proximity steering. // The latitude this pool is physically located at; used for proximity steering. Latitude *float64 `json:"latitude,omitempty" tf:"latitude,omitempty"` // (Block Set) Setting for controlling load shedding for this pool. (see below for nested schema) // Setting for controlling load shedding for this pool. LoadShedding []LoadSheddingInitParameters `json:"loadShedding,omitempty" tf:"load_shedding,omitempty"` // (Number) The longitude this pool is physically located at; used for proximity steering. // The longitude this pool is physically located at; used for proximity steering. Longitude *float64 `json:"longitude,omitempty" tf:"longitude,omitempty"` // (Number) The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and we will failover to the next available pool. Defaults to 1. // The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and we will failover to the next available pool. Defaults to `1`. MinimumOrigins *float64 `json:"minimumOrigins,omitempty" tf:"minimum_origins,omitempty"` // (String) A short name (tag) for the pool. // A short name (tag) for the pool. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list. // The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list. NotificationEmail *string `json:"notificationEmail,omitempty" tf:"notification_email,omitempty"` // (Block Set) Set an origin steering policy to control origin selection within a pool. (see below for nested schema) // Set an origin steering policy to control origin selection within a pool. OriginSteering []OriginSteeringInitParameters `json:"originSteering,omitempty" tf:"origin_steering,omitempty"` // (Block Set, Min: 1) The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. (see below for nested schema) // The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. Origins []OriginsInitParameters `json:"origins,omitempty" tf:"origins,omitempty"` }
func (*PoolInitParameters) DeepCopy ¶
func (in *PoolInitParameters) DeepCopy() *PoolInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolInitParameters.
func (*PoolInitParameters) DeepCopyInto ¶
func (in *PoolInitParameters) DeepCopyInto(out *PoolInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoolList ¶
type PoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Pool `json:"items"` }
PoolList contains a list of Pools
func (*PoolList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolList.
func (*PoolList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PoolList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PoolObservation ¶
type PoolObservation struct { // (String) The account identifier to target for the resource. // The account identifier to target for the resource. AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` // (Set of String) A list of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found here. // A list of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api). CheckRegions []*string `json:"checkRegions,omitempty" tf:"check_regions,omitempty"` // (String) The RFC3339 timestamp of when the load balancer was created. // The RFC3339 timestamp of when the load balancer was created. CreatedOn *string `json:"createdOn,omitempty" tf:"created_on,omitempty"` // (String) Free text description. // Free text description. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to enable (the default) this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). Defaults to true. // Whether to enable (the default) this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Number) The latitude this pool is physically located at; used for proximity steering. // The latitude this pool is physically located at; used for proximity steering. Latitude *float64 `json:"latitude,omitempty" tf:"latitude,omitempty"` // (Block Set) Setting for controlling load shedding for this pool. (see below for nested schema) // Setting for controlling load shedding for this pool. LoadShedding []LoadSheddingObservation `json:"loadShedding,omitempty" tf:"load_shedding,omitempty"` // (Number) The longitude this pool is physically located at; used for proximity steering. // The longitude this pool is physically located at; used for proximity steering. Longitude *float64 `json:"longitude,omitempty" tf:"longitude,omitempty"` // (Number) The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and we will failover to the next available pool. Defaults to 1. // The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and we will failover to the next available pool. Defaults to `1`. MinimumOrigins *float64 `json:"minimumOrigins,omitempty" tf:"minimum_origins,omitempty"` // (String) The RFC3339 timestamp of when the load balancer was last modified. // The RFC3339 timestamp of when the load balancer was last modified. ModifiedOn *string `json:"modifiedOn,omitempty" tf:"modified_on,omitempty"` // (String) The ID of the Monitor to use for health checking origins within this pool. // The ID of the Monitor to use for health checking origins within this pool. Monitor *string `json:"monitor,omitempty" tf:"monitor,omitempty"` // (String) A short name (tag) for the pool. // A short name (tag) for the pool. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list. // The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list. NotificationEmail *string `json:"notificationEmail,omitempty" tf:"notification_email,omitempty"` // (Block Set) Set an origin steering policy to control origin selection within a pool. (see below for nested schema) // Set an origin steering policy to control origin selection within a pool. OriginSteering []OriginSteeringObservation `json:"originSteering,omitempty" tf:"origin_steering,omitempty"` // (Block Set, Min: 1) The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. (see below for nested schema) // The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. Origins []OriginsObservation `json:"origins,omitempty" tf:"origins,omitempty"` }
func (*PoolObservation) DeepCopy ¶
func (in *PoolObservation) DeepCopy() *PoolObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolObservation.
func (*PoolObservation) DeepCopyInto ¶
func (in *PoolObservation) DeepCopyInto(out *PoolObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoolParameters ¶
type PoolParameters struct { // (String) The account identifier to target for the resource. // The account identifier to target for the resource. // +crossplane:generate:reference:type=github.com/milkpirate/provider-cloudflare/apis/account/v1alpha1.Account // +kubebuilder:validation:Optional AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` // Reference to a Account in account to populate accountId. // +kubebuilder:validation:Optional AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"` // Selector for a Account in account to populate accountId. // +kubebuilder:validation:Optional AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"` // (Set of String) A list of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found here. // A list of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api). // +kubebuilder:validation:Optional CheckRegions []*string `json:"checkRegions,omitempty" tf:"check_regions,omitempty"` // (String) Free text description. // Free text description. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether to enable (the default) this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). Defaults to true. // Whether to enable (the default) this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). Defaults to `true`. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (Number) The latitude this pool is physically located at; used for proximity steering. // The latitude this pool is physically located at; used for proximity steering. // +kubebuilder:validation:Optional Latitude *float64 `json:"latitude,omitempty" tf:"latitude,omitempty"` // (Block Set) Setting for controlling load shedding for this pool. (see below for nested schema) // Setting for controlling load shedding for this pool. // +kubebuilder:validation:Optional LoadShedding []LoadSheddingParameters `json:"loadShedding,omitempty" tf:"load_shedding,omitempty"` // (Number) The longitude this pool is physically located at; used for proximity steering. // The longitude this pool is physically located at; used for proximity steering. // +kubebuilder:validation:Optional Longitude *float64 `json:"longitude,omitempty" tf:"longitude,omitempty"` // (Number) The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and we will failover to the next available pool. Defaults to 1. // The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and we will failover to the next available pool. Defaults to `1`. // +kubebuilder:validation:Optional MinimumOrigins *float64 `json:"minimumOrigins,omitempty" tf:"minimum_origins,omitempty"` // (String) The ID of the Monitor to use for health checking origins within this pool. // The ID of the Monitor to use for health checking origins within this pool. // +crossplane:generate:reference:type=Monitor // +kubebuilder:validation:Optional Monitor *string `json:"monitor,omitempty" tf:"monitor,omitempty"` // Reference to a Monitor to populate monitor. // +kubebuilder:validation:Optional MonitorRef *v1.Reference `json:"monitorRef,omitempty" tf:"-"` // Selector for a Monitor to populate monitor. // +kubebuilder:validation:Optional MonitorSelector *v1.Selector `json:"monitorSelector,omitempty" tf:"-"` // (String) A short name (tag) for the pool. // A short name (tag) for the pool. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list. // The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list. // +kubebuilder:validation:Optional NotificationEmail *string `json:"notificationEmail,omitempty" tf:"notification_email,omitempty"` // (Block Set) Set an origin steering policy to control origin selection within a pool. (see below for nested schema) // Set an origin steering policy to control origin selection within a pool. // +kubebuilder:validation:Optional OriginSteering []OriginSteeringParameters `json:"originSteering,omitempty" tf:"origin_steering,omitempty"` // (Block Set, Min: 1) The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. (see below for nested schema) // The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. // +kubebuilder:validation:Optional Origins []OriginsParameters `json:"origins,omitempty" tf:"origins,omitempty"` }
func (*PoolParameters) DeepCopy ¶
func (in *PoolParameters) DeepCopy() *PoolParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolParameters.
func (*PoolParameters) DeepCopyInto ¶
func (in *PoolParameters) DeepCopyInto(out *PoolParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoolSpec ¶
type PoolSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PoolParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider PoolInitParameters `json:"initProvider,omitempty"` }
PoolSpec defines the desired state of Pool
func (*PoolSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolSpec.
func (*PoolSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoolStatus ¶
type PoolStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PoolObservation `json:"atProvider,omitempty"` }
PoolStatus defines the observed state of Pool.
func (*PoolStatus) DeepCopy ¶
func (in *PoolStatus) DeepCopy() *PoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolStatus.
func (*PoolStatus) DeepCopyInto ¶
func (in *PoolStatus) DeepCopyInto(out *PoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PopPoolsInitParameters ¶
type PopPoolsInitParameters struct { // letter code for the Point-of-Presence. Allowed values can be found in the list of datacenters on the status page. Multiple entries should not be specified with the same PoP. // A 3-letter code for the Point-of-Presence. Allowed values can be found in the list of datacenters on the [status page](https://www.cloudflarestatus.com/). Multiple entries should not be specified with the same PoP. Pop *string `json:"pop,omitempty" tf:"pop,omitempty"` }
func (*PopPoolsInitParameters) DeepCopy ¶
func (in *PopPoolsInitParameters) DeepCopy() *PopPoolsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PopPoolsInitParameters.
func (*PopPoolsInitParameters) DeepCopyInto ¶
func (in *PopPoolsInitParameters) DeepCopyInto(out *PopPoolsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PopPoolsObservation ¶
type PopPoolsObservation struct { // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use for traffic reaching the given PoP. PoolIds []*string `json:"poolIds,omitempty" tf:"pool_ids,omitempty"` // letter code for the Point-of-Presence. Allowed values can be found in the list of datacenters on the status page. Multiple entries should not be specified with the same PoP. // A 3-letter code for the Point-of-Presence. Allowed values can be found in the list of datacenters on the [status page](https://www.cloudflarestatus.com/). Multiple entries should not be specified with the same PoP. Pop *string `json:"pop,omitempty" tf:"pop,omitempty"` }
func (*PopPoolsObservation) DeepCopy ¶
func (in *PopPoolsObservation) DeepCopy() *PopPoolsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PopPoolsObservation.
func (*PopPoolsObservation) DeepCopyInto ¶
func (in *PopPoolsObservation) DeepCopyInto(out *PopPoolsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PopPoolsParameters ¶
type PopPoolsParameters struct { // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use for traffic reaching the given PoP. // +crossplane:generate:reference:type=Pool // +kubebuilder:validation:Optional PoolIds []*string `json:"poolIds,omitempty" tf:"pool_ids,omitempty"` // References to Pool to populate poolIds. // +kubebuilder:validation:Optional PoolIdsRefs []v1.Reference `json:"poolIdsRefs,omitempty" tf:"-"` // Selector for a list of Pool to populate poolIds. // +kubebuilder:validation:Optional PoolIdsSelector *v1.Selector `json:"poolIdsSelector,omitempty" tf:"-"` // letter code for the Point-of-Presence. Allowed values can be found in the list of datacenters on the status page. Multiple entries should not be specified with the same PoP. // A 3-letter code for the Point-of-Presence. Allowed values can be found in the list of datacenters on the [status page](https://www.cloudflarestatus.com/). Multiple entries should not be specified with the same PoP. // +kubebuilder:validation:Optional Pop *string `json:"pop" tf:"pop,omitempty"` }
func (*PopPoolsParameters) DeepCopy ¶
func (in *PopPoolsParameters) DeepCopy() *PopPoolsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PopPoolsParameters.
func (*PopPoolsParameters) DeepCopyInto ¶
func (in *PopPoolsParameters) DeepCopyInto(out *PopPoolsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RandomSteeringInitParameters ¶
type RandomSteeringInitParameters struct { // (Number) The default weight for pools in the load balancer that are not specified in the pool_weights map. // The default weight for pools in the load balancer that are not specified in the [`pool_weights`](#pool_weights) map. DefaultWeight *float64 `json:"defaultWeight,omitempty" tf:"default_weight,omitempty"` // (Map of Number) A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. // A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. PoolWeights map[string]*float64 `json:"poolWeights,omitempty" tf:"pool_weights,omitempty"` }
func (*RandomSteeringInitParameters) DeepCopy ¶
func (in *RandomSteeringInitParameters) DeepCopy() *RandomSteeringInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RandomSteeringInitParameters.
func (*RandomSteeringInitParameters) DeepCopyInto ¶
func (in *RandomSteeringInitParameters) DeepCopyInto(out *RandomSteeringInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RandomSteeringObservation ¶
type RandomSteeringObservation struct { // (Number) The default weight for pools in the load balancer that are not specified in the pool_weights map. // The default weight for pools in the load balancer that are not specified in the [`pool_weights`](#pool_weights) map. DefaultWeight *float64 `json:"defaultWeight,omitempty" tf:"default_weight,omitempty"` // (Map of Number) A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. // A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. PoolWeights map[string]*float64 `json:"poolWeights,omitempty" tf:"pool_weights,omitempty"` }
func (*RandomSteeringObservation) DeepCopy ¶
func (in *RandomSteeringObservation) DeepCopy() *RandomSteeringObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RandomSteeringObservation.
func (*RandomSteeringObservation) DeepCopyInto ¶
func (in *RandomSteeringObservation) DeepCopyInto(out *RandomSteeringObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RandomSteeringParameters ¶
type RandomSteeringParameters struct { // (Number) The default weight for pools in the load balancer that are not specified in the pool_weights map. // The default weight for pools in the load balancer that are not specified in the [`pool_weights`](#pool_weights) map. // +kubebuilder:validation:Optional DefaultWeight *float64 `json:"defaultWeight,omitempty" tf:"default_weight,omitempty"` // (Map of Number) A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. // A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. // +kubebuilder:validation:Optional PoolWeights map[string]*float64 `json:"poolWeights,omitempty" tf:"pool_weights,omitempty"` }
func (*RandomSteeringParameters) DeepCopy ¶
func (in *RandomSteeringParameters) DeepCopy() *RandomSteeringParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RandomSteeringParameters.
func (*RandomSteeringParameters) DeepCopyInto ¶
func (in *RandomSteeringParameters) DeepCopyInto(out *RandomSteeringParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegionPoolsInitParameters ¶
type RegionPoolsInitParameters struct { // (String) A region code which must be in the list defined here. Multiple entries should not be specified with the same region. // A region code which must be in the list defined [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/#list-of-load-balancer-regions). Multiple entries should not be specified with the same region. Region *string `json:"region,omitempty" tf:"region,omitempty"` }
func (*RegionPoolsInitParameters) DeepCopy ¶
func (in *RegionPoolsInitParameters) DeepCopy() *RegionPoolsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegionPoolsInitParameters.
func (*RegionPoolsInitParameters) DeepCopyInto ¶
func (in *RegionPoolsInitParameters) DeepCopyInto(out *RegionPoolsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegionPoolsObservation ¶
type RegionPoolsObservation struct { // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use in the given region. PoolIds []*string `json:"poolIds,omitempty" tf:"pool_ids,omitempty"` // (String) A region code which must be in the list defined here. Multiple entries should not be specified with the same region. // A region code which must be in the list defined [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/#list-of-load-balancer-regions). Multiple entries should not be specified with the same region. Region *string `json:"region,omitempty" tf:"region,omitempty"` }
func (*RegionPoolsObservation) DeepCopy ¶
func (in *RegionPoolsObservation) DeepCopy() *RegionPoolsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegionPoolsObservation.
func (*RegionPoolsObservation) DeepCopyInto ¶
func (in *RegionPoolsObservation) DeepCopyInto(out *RegionPoolsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegionPoolsParameters ¶
type RegionPoolsParameters struct { // (List of String) A list of pool IDs in failover priority to use in the given country. // A list of pool IDs in failover priority to use in the given region. // +crossplane:generate:reference:type=Pool // +kubebuilder:validation:Optional PoolIds []*string `json:"poolIds,omitempty" tf:"pool_ids,omitempty"` // References to Pool to populate poolIds. // +kubebuilder:validation:Optional PoolIdsRefs []v1.Reference `json:"poolIdsRefs,omitempty" tf:"-"` // Selector for a list of Pool to populate poolIds. // +kubebuilder:validation:Optional PoolIdsSelector *v1.Selector `json:"poolIdsSelector,omitempty" tf:"-"` // (String) A region code which must be in the list defined here. Multiple entries should not be specified with the same region. // A region code which must be in the list defined [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/#list-of-load-balancer-regions). Multiple entries should not be specified with the same region. // +kubebuilder:validation:Optional Region *string `json:"region" tf:"region,omitempty"` }
func (*RegionPoolsParameters) DeepCopy ¶
func (in *RegionPoolsParameters) DeepCopy() *RegionPoolsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegionPoolsParameters.
func (*RegionPoolsParameters) DeepCopyInto ¶
func (in *RegionPoolsParameters) DeepCopyInto(out *RegionPoolsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulesInitParameters ¶
type RulesInitParameters struct { // (String) The statement to evaluate to determine if this rule's effects should be applied. An empty condition is always true. See load balancing rules. // The statement to evaluate to determine if this rule's effects should be applied. An empty condition is always true. See [load balancing rules](https://developers.cloudflare.com/load-balancing/understand-basics/load-balancing-rules). Condition *string `json:"condition,omitempty" tf:"condition,omitempty"` // (Boolean) A disabled rule will not be executed. // A disabled rule will not be executed. Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` // (Block List, Max: 1) Settings for a HTTP response to return directly to the eyeball if the condition is true. Note: overrides or fixed_response must be set. (see below for nested schema) // Settings for a HTTP response to return directly to the eyeball if the condition is true. Note: [`overrides`](#overrides) or [`fixed_response`](#fixed_response) must be set. FixedResponse []FixedResponseInitParameters `json:"fixedResponse,omitempty" tf:"fixed_response,omitempty"` // (String) The DNS hostname to associate with your load balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the load balancer will take precedence and the DNS record will not be used. // Human readable name for this rule. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (Block List) The load balancer settings to alter if this rule's condition is true. Note: overrides or fixed_response must be set. (see below for nested schema) // The load balancer settings to alter if this rule's [`condition`](#condition) is true. Note: [`overrides`](#overrides) or [`fixed_response`](#fixed_response) must be set. Overrides []OverridesInitParameters `json:"overrides,omitempty" tf:"overrides,omitempty"` // (Number) Priority used when determining the order of rule execution. Lower values are executed first. If not provided, the list order will be used. // Priority used when determining the order of rule execution. Lower values are executed first. If not provided, the list order will be used. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` // (Boolean) Terminates indicates that if this rule is true no further rules should be executed. Note: setting a fixed_response forces this field to true. // Terminates indicates that if this rule is true no further rules should be executed. Note: setting a [`fixed_response`](#fixed_response) forces this field to `true`. Terminates *bool `json:"terminates,omitempty" tf:"terminates,omitempty"` }
func (*RulesInitParameters) DeepCopy ¶
func (in *RulesInitParameters) DeepCopy() *RulesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesInitParameters.
func (*RulesInitParameters) DeepCopyInto ¶
func (in *RulesInitParameters) DeepCopyInto(out *RulesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulesObservation ¶
type RulesObservation struct { // (String) The statement to evaluate to determine if this rule's effects should be applied. An empty condition is always true. See load balancing rules. // The statement to evaluate to determine if this rule's effects should be applied. An empty condition is always true. See [load balancing rules](https://developers.cloudflare.com/load-balancing/understand-basics/load-balancing-rules). Condition *string `json:"condition,omitempty" tf:"condition,omitempty"` // (Boolean) A disabled rule will not be executed. // A disabled rule will not be executed. Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` // (Block List, Max: 1) Settings for a HTTP response to return directly to the eyeball if the condition is true. Note: overrides or fixed_response must be set. (see below for nested schema) // Settings for a HTTP response to return directly to the eyeball if the condition is true. Note: [`overrides`](#overrides) or [`fixed_response`](#fixed_response) must be set. FixedResponse []FixedResponseObservation `json:"fixedResponse,omitempty" tf:"fixed_response,omitempty"` // (String) The DNS hostname to associate with your load balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the load balancer will take precedence and the DNS record will not be used. // Human readable name for this rule. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (Block List) The load balancer settings to alter if this rule's condition is true. Note: overrides or fixed_response must be set. (see below for nested schema) // The load balancer settings to alter if this rule's [`condition`](#condition) is true. Note: [`overrides`](#overrides) or [`fixed_response`](#fixed_response) must be set. Overrides []OverridesObservation `json:"overrides,omitempty" tf:"overrides,omitempty"` // (Number) Priority used when determining the order of rule execution. Lower values are executed first. If not provided, the list order will be used. // Priority used when determining the order of rule execution. Lower values are executed first. If not provided, the list order will be used. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` // (Boolean) Terminates indicates that if this rule is true no further rules should be executed. Note: setting a fixed_response forces this field to true. // Terminates indicates that if this rule is true no further rules should be executed. Note: setting a [`fixed_response`](#fixed_response) forces this field to `true`. Terminates *bool `json:"terminates,omitempty" tf:"terminates,omitempty"` }
func (*RulesObservation) DeepCopy ¶
func (in *RulesObservation) DeepCopy() *RulesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesObservation.
func (*RulesObservation) DeepCopyInto ¶
func (in *RulesObservation) DeepCopyInto(out *RulesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulesParameters ¶
type RulesParameters struct { // (String) The statement to evaluate to determine if this rule's effects should be applied. An empty condition is always true. See load balancing rules. // The statement to evaluate to determine if this rule's effects should be applied. An empty condition is always true. See [load balancing rules](https://developers.cloudflare.com/load-balancing/understand-basics/load-balancing-rules). // +kubebuilder:validation:Optional Condition *string `json:"condition,omitempty" tf:"condition,omitempty"` // (Boolean) A disabled rule will not be executed. // A disabled rule will not be executed. // +kubebuilder:validation:Optional Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` // (Block List, Max: 1) Settings for a HTTP response to return directly to the eyeball if the condition is true. Note: overrides or fixed_response must be set. (see below for nested schema) // Settings for a HTTP response to return directly to the eyeball if the condition is true. Note: [`overrides`](#overrides) or [`fixed_response`](#fixed_response) must be set. // +kubebuilder:validation:Optional FixedResponse []FixedResponseParameters `json:"fixedResponse,omitempty" tf:"fixed_response,omitempty"` // (String) The DNS hostname to associate with your load balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the load balancer will take precedence and the DNS record will not be used. // Human readable name for this rule. // +kubebuilder:validation:Optional Name *string `json:"name" tf:"name,omitempty"` // (Block List) The load balancer settings to alter if this rule's condition is true. Note: overrides or fixed_response must be set. (see below for nested schema) // The load balancer settings to alter if this rule's [`condition`](#condition) is true. Note: [`overrides`](#overrides) or [`fixed_response`](#fixed_response) must be set. // +kubebuilder:validation:Optional Overrides []OverridesParameters `json:"overrides,omitempty" tf:"overrides,omitempty"` // (Number) Priority used when determining the order of rule execution. Lower values are executed first. If not provided, the list order will be used. // Priority used when determining the order of rule execution. Lower values are executed first. If not provided, the list order will be used. // +kubebuilder:validation:Optional Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` // (Boolean) Terminates indicates that if this rule is true no further rules should be executed. Note: setting a fixed_response forces this field to true. // Terminates indicates that if this rule is true no further rules should be executed. Note: setting a [`fixed_response`](#fixed_response) forces this field to `true`. // +kubebuilder:validation:Optional Terminates *bool `json:"terminates,omitempty" tf:"terminates,omitempty"` }
func (*RulesParameters) DeepCopy ¶
func (in *RulesParameters) DeepCopy() *RulesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesParameters.
func (*RulesParameters) DeepCopyInto ¶
func (in *RulesParameters) DeepCopyInto(out *RulesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SessionAffinityAttributesInitParameters ¶
type SessionAffinityAttributesInitParameters struct { // (List of String) Configures the HTTP header names to use when header session affinity is enabled. // Configures the HTTP header names to use when header session affinity is enabled. Headers []*string `json:"headers,omitempty" tf:"headers,omitempty"` // (Boolean) Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to false. // Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to `false`. RequireAllHeaders *bool `json:"requireAllHeaders,omitempty" tf:"require_all_headers,omitempty"` // (String) Configures the SameSite attribute on session affinity cookie. Value Auto will be translated to Lax or None depending if Always Use HTTPS is enabled. Note: when using value None, then you can not set secure="Never". Available values: Auto, Lax, None, Strict. // Configures the SameSite attribute on session affinity cookie. Value `Auto` will be translated to `Lax` or `None` depending if Always Use HTTPS is enabled. Note: when using value `None`, then you can not set [`secure="Never"`](#secure). Available values: `Auto`, `Lax`, `None`, `Strict`. Samesite *string `json:"samesite,omitempty" tf:"samesite,omitempty"` // Cookie header, Never indicates the Secure attribute will not be set, and Auto will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: Auto, Always, Never. // Configures the Secure attribute on session affinity cookie. Value `Always` indicates the Secure attribute will be set in the Set-Cookie header, `Never` indicates the Secure attribute will not be set, and `Auto` will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: `Auto`, `Always`, `Never`. Secure *string `json:"secure,omitempty" tf:"secure,omitempty"` // downtime failover between origins within a pool when session affinity is enabled. Value none means no failover takes place for sessions pinned to the origin. Value temporary means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value sticky means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: none, temporary, sticky. // Configures the zero-downtime failover between origins within a pool when session affinity is enabled. Value `none` means no failover takes place for sessions pinned to the origin. Value `temporary` means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value `sticky` means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: `none`, `temporary`, `sticky`. ZeroDowntimeFailover *string `json:"zeroDowntimeFailover,omitempty" tf:"zero_downtime_failover,omitempty"` }
func (*SessionAffinityAttributesInitParameters) DeepCopy ¶
func (in *SessionAffinityAttributesInitParameters) DeepCopy() *SessionAffinityAttributesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionAffinityAttributesInitParameters.
func (*SessionAffinityAttributesInitParameters) DeepCopyInto ¶
func (in *SessionAffinityAttributesInitParameters) DeepCopyInto(out *SessionAffinityAttributesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SessionAffinityAttributesObservation ¶
type SessionAffinityAttributesObservation struct { // (List of String) Configures the HTTP header names to use when header session affinity is enabled. // Configures the HTTP header names to use when header session affinity is enabled. Headers []*string `json:"headers,omitempty" tf:"headers,omitempty"` // (Boolean) Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to false. // Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to `false`. RequireAllHeaders *bool `json:"requireAllHeaders,omitempty" tf:"require_all_headers,omitempty"` // (String) Configures the SameSite attribute on session affinity cookie. Value Auto will be translated to Lax or None depending if Always Use HTTPS is enabled. Note: when using value None, then you can not set secure="Never". Available values: Auto, Lax, None, Strict. // Configures the SameSite attribute on session affinity cookie. Value `Auto` will be translated to `Lax` or `None` depending if Always Use HTTPS is enabled. Note: when using value `None`, then you can not set [`secure="Never"`](#secure). Available values: `Auto`, `Lax`, `None`, `Strict`. Samesite *string `json:"samesite,omitempty" tf:"samesite,omitempty"` // Cookie header, Never indicates the Secure attribute will not be set, and Auto will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: Auto, Always, Never. // Configures the Secure attribute on session affinity cookie. Value `Always` indicates the Secure attribute will be set in the Set-Cookie header, `Never` indicates the Secure attribute will not be set, and `Auto` will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: `Auto`, `Always`, `Never`. Secure *string `json:"secure,omitempty" tf:"secure,omitempty"` // downtime failover between origins within a pool when session affinity is enabled. Value none means no failover takes place for sessions pinned to the origin. Value temporary means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value sticky means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: none, temporary, sticky. // Configures the zero-downtime failover between origins within a pool when session affinity is enabled. Value `none` means no failover takes place for sessions pinned to the origin. Value `temporary` means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value `sticky` means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: `none`, `temporary`, `sticky`. ZeroDowntimeFailover *string `json:"zeroDowntimeFailover,omitempty" tf:"zero_downtime_failover,omitempty"` }
func (*SessionAffinityAttributesObservation) DeepCopy ¶
func (in *SessionAffinityAttributesObservation) DeepCopy() *SessionAffinityAttributesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionAffinityAttributesObservation.
func (*SessionAffinityAttributesObservation) DeepCopyInto ¶
func (in *SessionAffinityAttributesObservation) DeepCopyInto(out *SessionAffinityAttributesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SessionAffinityAttributesParameters ¶
type SessionAffinityAttributesParameters struct { // (List of String) Configures the HTTP header names to use when header session affinity is enabled. // Configures the HTTP header names to use when header session affinity is enabled. // +kubebuilder:validation:Optional Headers []*string `json:"headers,omitempty" tf:"headers,omitempty"` // (Boolean) Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to false. // Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to `false`. // +kubebuilder:validation:Optional RequireAllHeaders *bool `json:"requireAllHeaders,omitempty" tf:"require_all_headers,omitempty"` // (String) Configures the SameSite attribute on session affinity cookie. Value Auto will be translated to Lax or None depending if Always Use HTTPS is enabled. Note: when using value None, then you can not set secure="Never". Available values: Auto, Lax, None, Strict. // Configures the SameSite attribute on session affinity cookie. Value `Auto` will be translated to `Lax` or `None` depending if Always Use HTTPS is enabled. Note: when using value `None`, then you can not set [`secure="Never"`](#secure). Available values: `Auto`, `Lax`, `None`, `Strict`. // +kubebuilder:validation:Optional Samesite *string `json:"samesite,omitempty" tf:"samesite,omitempty"` // Cookie header, Never indicates the Secure attribute will not be set, and Auto will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: Auto, Always, Never. // Configures the Secure attribute on session affinity cookie. Value `Always` indicates the Secure attribute will be set in the Set-Cookie header, `Never` indicates the Secure attribute will not be set, and `Auto` will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: `Auto`, `Always`, `Never`. // +kubebuilder:validation:Optional Secure *string `json:"secure,omitempty" tf:"secure,omitempty"` // downtime failover between origins within a pool when session affinity is enabled. Value none means no failover takes place for sessions pinned to the origin. Value temporary means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value sticky means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: none, temporary, sticky. // Configures the zero-downtime failover between origins within a pool when session affinity is enabled. Value `none` means no failover takes place for sessions pinned to the origin. Value `temporary` means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value `sticky` means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: `none`, `temporary`, `sticky`. // +kubebuilder:validation:Optional ZeroDowntimeFailover *string `json:"zeroDowntimeFailover,omitempty" tf:"zero_downtime_failover,omitempty"` }
func (*SessionAffinityAttributesParameters) DeepCopy ¶
func (in *SessionAffinityAttributesParameters) DeepCopy() *SessionAffinityAttributesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionAffinityAttributesParameters.
func (*SessionAffinityAttributesParameters) DeepCopyInto ¶
func (in *SessionAffinityAttributesParameters) DeepCopyInto(out *SessionAffinityAttributesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.