RuleEngine is the Schema for the RuleEngines API. Provides a resource to create a teo rule_engine
Type
CRD
Group
teo.tencentcloud.crossplane.io
Version
v1alpha1
apiVersion: teo.tencentcloud.crossplane.io/v1alpha1
kind: RuleEngine
RuleEngineSpec defines the desired state of RuleEngine
No description provided.
Rule items list. Rule items list.
The feature to be executed. Feature to be executed.
Feature operation with a status code. Features of this type include: Feature operation with a status code. Features of this type include:
ErrorPage
: Custom error page.StatusCodeCache
: Status code cache TTL.
Note: This field may return null, indicating that no valid values can be obtained.Operation parameter. Operation parameter.
The parameter value of the match type. It can be an empty string only when Target=query string/request header and Operator=exist/notexist. The parameter value.
Common operation. Values: Common operation. Values:
AccessUrlRedirect
: Access URL rewrite.UpstreamUrlRedirect
: Origin-pull URL rewrite.QUIC
: QUIC.WebSocket
: WebSocket.VideoSeek
: Video dragging.Authentication
: Token authentication.CacheKey
: Custom cache key.Cache
: Node cache TTL.MaxAge
: Browser cache TTL.OfflineCache
: Offline cache.SmartRouting
: Smart acceleration.RangeOriginPull
: Range GETs.UpstreamHttp2
: HTTP/2 forwarding.HostHeader
: Host header rewrite.ForceRedirect
: Force HTTPS.OriginPullProtocol
: Origin-pull HTTPS.CachePrefresh
: Cache prefresh.Compression
: Smart compression.Hsts
.ClientIpHeader
.SslTlsSecureConf
.OcspStapling
.Http2
: HTTP/2 access.UpstreamFollowRedirect
: Follow origin redirect.Origin
: Origin.
Note: This field may return null
, indicating that no valid value can be obtained.Feature operation with a request/response header. Features of this type include: Feature operation with a request/response header. Features of this type include:
RequestHeader
: HTTP request header modification.ResponseHeader
: HTTP response header modification.
Note: This field may return null, indicating that no valid values can be obtained.The condition that determines if a feature should run. Note: If any condition in the array is met, the feature will run. OR Conditions list of the rule. Rule would be triggered if any of the condition is true.
AND Conditions list of the rule. Rule would be triggered if all conditions are true. AND Conditions list of the rule. Rule would be triggered if all conditions are true.
The parameter value of the match type. It can be an empty string only when Target=query string/request header and Operator=exist/notexist.
The parameter value of the match type. It can be an empty string only when Target=query string/request header
and Operator=exist/notexist
.
Target=extension
, enter the file extension, such as "jpg" and "txt".Target=filename
, enter the file name, such as "foo" in "foo.jpg".Target=all
, it indicates any site request.Target=host
, enter the host under the current site, such as "www.maxx55.com".Target=url
, enter the partial URL path under the current site, such as "/example".Target=full_url
, enter the complete URL under the current site. It must contain the HTTP protocol, host, and path, such as "https://www.maxx55.cn/example".Target=client_country
, enter the ISO-3166 country/region code.Target=query_string
, enter the value of the query string, such as "cn" and "1" in "lang=cn&version=1".Target=request_header
, enter the HTTP request header value, such as "zh-CN,zh;q=0.9" in the "Accept-Language:zh-CN,zh;q=0.9" header.The nested rule. The nested rule.
Rule items list. Nested rule settings.
The feature to be executed. The feature to be executed.
Feature operation with a status code. Features of this type include: Feature operation with a status code. Features of this type include:
ErrorPage
: Custom error page.StatusCodeCache
: Status code cache TTL.
Note: This field may return null, indicating that no valid values can be obtained.Operation parameter. Operation parameter.
The parameter value of the match type. It can be an empty string only when Target=query string/request header and Operator=exist/notexist. The parameter value.
Common operation. Values: Common operation. Values:
AccessUrlRedirect
: Access URL rewrite.UpstreamUrlRedirect
: Origin-pull URL rewrite.QUIC
: QUIC.WebSocket
: WebSocket.VideoSeek
: Video dragging.Authentication
: Token authentication.CacheKey
: Custom cache key.Cache
: Node cache TTL.MaxAge
: Browser cache TTL.OfflineCache
: Offline cache.SmartRouting
: Smart acceleration.RangeOriginPull
: Range GETs.UpstreamHttp2
: HTTP/2 forwarding.HostHeader
: Host header rewrite.ForceRedirect
: Force HTTPS.OriginPullProtocol
: Origin-pull HTTPS.CachePrefresh
: Cache prefresh.Compression
: Smart compression.Hsts
.ClientIpHeader
.SslTlsSecureConf
.OcspStapling
.Http2
: HTTP/2 access.UpstreamFollowRedirect
: Follow origin redirect.Origin
: Origin.
Note: This field may return null
, indicating that no valid value can be obtained.Feature operation with a request/response header. Features of this type include: Feature operation with a request/response header. Features of this type include:
RequestHeader
: HTTP request header modification.ResponseHeader
: HTTP response header modification.
Note: This field may return null, indicating that no valid values can be obtained.The condition that determines if a feature should run. Note: If any condition in the array is met, the feature will run. The condition that determines if a feature should run. Note: If any condition in the array is met, the feature will run.
AND Conditions list of the rule. Rule would be triggered if all conditions are true. Rule engine condition. This condition will be considered met if all items in the array are met.
The parameter value of the match type. It can be an empty string only when Target=query string/request header and Operator=exist/notexist.
The parameter value of the match type. It can be an empty string only when Target=query string/request header
and Operator=exist/notexist
.
Target=extension
, enter the file extension, such as "jpg" and "txt".Target=filename
, enter the file name, such as "foo" in "foo.jpg".Target=all
, it indicates any site request.Target=host
, enter the host under the current site, such as "www.maxx55.com".Target=url
, enter the partial URL path under the current site, such as "/example".Target=full_url
, enter the complete URL under the current site. It must contain the HTTP protocol, host, and path, such as "https://www.maxx55.cn/example".Target=client_country
, enter the ISO-3166 country/region code.Target=query_string
, enter the value of the query string, such as "cn" and "1" in "lang=cn&version=1".Target=request_header
, enter the HTTP request header value, such as "zh-CN,zh;q=0.9" in the "Accept-Language:zh-CN,zh;q=0.9" header.rule tag list. Tag of the rule.
rule tag list. rule tag list.
Reference to a Zone to populate zoneId.
Policies for referencing.
Selector for a Zone to populate zoneId.
Policies for selection.
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.
Rule items list. Rule items list.
The feature to be executed. Feature to be executed.
Feature operation with a status code. Features of this type include: Feature operation with a status code. Features of this type include:
ErrorPage
: Custom error page.StatusCodeCache
: Status code cache TTL.
Note: This field may return null, indicating that no valid values can be obtained.Operation parameter. Operation parameter.
The parameter value of the match type. It can be an empty string only when Target=query string/request header and Operator=exist/notexist. The parameter value.
Common operation. Values: Common operation. Values:
AccessUrlRedirect
: Access URL rewrite.UpstreamUrlRedirect
: Origin-pull URL rewrite.QUIC
: QUIC.WebSocket
: WebSocket.VideoSeek
: Video dragging.Authentication
: Token authentication.CacheKey
: Custom cache key.Cache
: Node cache TTL.MaxAge
: Browser cache TTL.OfflineCache
: Offline cache.SmartRouting
: Smart acceleration.RangeOriginPull
: Range GETs.UpstreamHttp2
: HTTP/2 forwarding.HostHeader
: Host header rewrite.ForceRedirect
: Force HTTPS.OriginPullProtocol
: Origin-pull HTTPS.CachePrefresh
: Cache prefresh.Compression
: Smart compression.Hsts
.ClientIpHeader
.SslTlsSecureConf
.OcspStapling
.Http2
: HTTP/2 access.UpstreamFollowRedirect
: Follow origin redirect.Origin
: Origin.
Note: This field may return null
, indicating that no valid value can be obtained.Feature operation with a request/response header. Features of this type include: Feature operation with a request/response header. Features of this type include:
RequestHeader
: HTTP request header modification.ResponseHeader
: HTTP response header modification.
Note: This field may return null, indicating that no valid values can be obtained.The condition that determines if a feature should run. Note: If any condition in the array is met, the feature will run. OR Conditions list of the rule. Rule would be triggered if any of the condition is true.
AND Conditions list of the rule. Rule would be triggered if all conditions are true. AND Conditions list of the rule. Rule would be triggered if all conditions are true.
The parameter value of the match type. It can be an empty string only when Target=query string/request header and Operator=exist/notexist.
The parameter value of the match type. It can be an empty string only when Target=query string/request header
and Operator=exist/notexist
.
Target=extension
, enter the file extension, such as "jpg" and "txt".Target=filename
, enter the file name, such as "foo" in "foo.jpg".Target=all
, it indicates any site request.Target=host
, enter the host under the current site, such as "www.maxx55.com".Target=url
, enter the partial URL path under the current site, such as "/example".Target=full_url
, enter the complete URL under the current site. It must contain the HTTP protocol, host, and path, such as "https://www.maxx55.cn/example".Target=client_country
, enter the ISO-3166 country/region code.Target=query_string
, enter the value of the query string, such as "cn" and "1" in "lang=cn&version=1".Target=request_header
, enter the HTTP request header value, such as "zh-CN,zh;q=0.9" in the "Accept-Language:zh-CN,zh;q=0.9" header.The nested rule. The nested rule.
Rule items list. Nested rule settings.
The feature to be executed. The feature to be executed.
Feature operation with a status code. Features of this type include: Feature operation with a status code. Features of this type include:
ErrorPage
: Custom error page.StatusCodeCache
: Status code cache TTL.
Note: This field may return null, indicating that no valid values can be obtained.Operation parameter. Operation parameter.
The parameter value of the match type. It can be an empty string only when Target=query string/request header and Operator=exist/notexist. The parameter value.
Common operation. Values: Common operation. Values:
AccessUrlRedirect
: Access URL rewrite.UpstreamUrlRedirect
: Origin-pull URL rewrite.QUIC
: QUIC.WebSocket
: WebSocket.VideoSeek
: Video dragging.Authentication
: Token authentication.CacheKey
: Custom cache key.Cache
: Node cache TTL.MaxAge
: Browser cache TTL.OfflineCache
: Offline cache.SmartRouting
: Smart acceleration.RangeOriginPull
: Range GETs.UpstreamHttp2
: HTTP/2 forwarding.HostHeader
: Host header rewrite.ForceRedirect
: Force HTTPS.OriginPullProtocol
: Origin-pull HTTPS.CachePrefresh
: Cache prefresh.Compression
: Smart compression.Hsts
.ClientIpHeader
.SslTlsSecureConf
.OcspStapling
.Http2
: HTTP/2 access.UpstreamFollowRedirect
: Follow origin redirect.Origin
: Origin.
Note: This field may return null
, indicating that no valid value can be obtained.Feature operation with a request/response header. Features of this type include: Feature operation with a request/response header. Features of this type include:
RequestHeader
: HTTP request header modification.ResponseHeader
: HTTP response header modification.
Note: This field may return null, indicating that no valid values can be obtained.The condition that determines if a feature should run. Note: If any condition in the array is met, the feature will run. The condition that determines if a feature should run. Note: If any condition in the array is met, the feature will run.
AND Conditions list of the rule. Rule would be triggered if all conditions are true. Rule engine condition. This condition will be considered met if all items in the array are met.
The parameter value of the match type. It can be an empty string only when Target=query string/request header and Operator=exist/notexist.
The parameter value of the match type. It can be an empty string only when Target=query string/request header
and Operator=exist/notexist
.
Target=extension
, enter the file extension, such as "jpg" and "txt".Target=filename
, enter the file name, such as "foo" in "foo.jpg".Target=all
, it indicates any site request.Target=host
, enter the host under the current site, such as "www.maxx55.com".Target=url
, enter the partial URL path under the current site, such as "/example".Target=full_url
, enter the complete URL under the current site. It must contain the HTTP protocol, host, and path, such as "https://www.maxx55.cn/example".Target=client_country
, enter the ISO-3166 country/region code.Target=query_string
, enter the value of the query string, such as "cn" and "1" in "lang=cn&version=1".Target=request_header
, enter the HTTP request header value, such as "zh-CN,zh;q=0.9" in the "Accept-Language:zh-CN,zh;q=0.9" header.rule tag list. Tag of the rule.
rule tag list. rule tag list.
Reference to a Zone to populate zoneId.
Policies for referencing.
Selector for a Zone to populate zoneId.
Policies for selection.
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
RuleEngineStatus defines the observed state of RuleEngine.
No description provided.
Rule items list. Rule items list.
The feature to be executed. Feature to be executed.
Feature operation with a status code. Features of this type include: Feature operation with a status code. Features of this type include:
ErrorPage
: Custom error page.StatusCodeCache
: Status code cache TTL.
Note: This field may return null, indicating that no valid values can be obtained.Operation parameter. Operation parameter.
The parameter value of the match type. It can be an empty string only when Target=query string/request header and Operator=exist/notexist. The parameter value.
Common operation. Values: Common operation. Values:
AccessUrlRedirect
: Access URL rewrite.UpstreamUrlRedirect
: Origin-pull URL rewrite.QUIC
: QUIC.WebSocket
: WebSocket.VideoSeek
: Video dragging.Authentication
: Token authentication.CacheKey
: Custom cache key.Cache
: Node cache TTL.MaxAge
: Browser cache TTL.OfflineCache
: Offline cache.SmartRouting
: Smart acceleration.RangeOriginPull
: Range GETs.UpstreamHttp2
: HTTP/2 forwarding.HostHeader
: Host header rewrite.ForceRedirect
: Force HTTPS.OriginPullProtocol
: Origin-pull HTTPS.CachePrefresh
: Cache prefresh.Compression
: Smart compression.Hsts
.ClientIpHeader
.SslTlsSecureConf
.OcspStapling
.Http2
: HTTP/2 access.UpstreamFollowRedirect
: Follow origin redirect.Origin
: Origin.
Note: This field may return null
, indicating that no valid value can be obtained.Feature operation with a request/response header. Features of this type include: Feature operation with a request/response header. Features of this type include:
RequestHeader
: HTTP request header modification.ResponseHeader
: HTTP response header modification.
Note: This field may return null, indicating that no valid values can be obtained.The condition that determines if a feature should run. Note: If any condition in the array is met, the feature will run. OR Conditions list of the rule. Rule would be triggered if any of the condition is true.
AND Conditions list of the rule. Rule would be triggered if all conditions are true. AND Conditions list of the rule. Rule would be triggered if all conditions are true.
The parameter value of the match type. It can be an empty string only when Target=query string/request header and Operator=exist/notexist.
The parameter value of the match type. It can be an empty string only when Target=query string/request header
and Operator=exist/notexist
.
Target=extension
, enter the file extension, such as "jpg" and "txt".Target=filename
, enter the file name, such as "foo" in "foo.jpg".Target=all
, it indicates any site request.Target=host
, enter the host under the current site, such as "www.maxx55.com".Target=url
, enter the partial URL path under the current site, such as "/example".Target=full_url
, enter the complete URL under the current site. It must contain the HTTP protocol, host, and path, such as "https://www.maxx55.cn/example".Target=client_country
, enter the ISO-3166 country/region code.Target=query_string
, enter the value of the query string, such as "cn" and "1" in "lang=cn&version=1".Target=request_header
, enter the HTTP request header value, such as "zh-CN,zh;q=0.9" in the "Accept-Language:zh-CN,zh;q=0.9" header.The nested rule. The nested rule.
Rule items list. Nested rule settings.
The feature to be executed. The feature to be executed.
Feature operation with a status code. Features of this type include: Feature operation with a status code. Features of this type include:
ErrorPage
: Custom error page.StatusCodeCache
: Status code cache TTL.
Note: This field may return null, indicating that no valid values can be obtained.Operation parameter. Operation parameter.
The parameter value of the match type. It can be an empty string only when Target=query string/request header and Operator=exist/notexist. The parameter value.
Common operation. Values: Common operation. Values:
AccessUrlRedirect
: Access URL rewrite.UpstreamUrlRedirect
: Origin-pull URL rewrite.QUIC
: QUIC.WebSocket
: WebSocket.VideoSeek
: Video dragging.Authentication
: Token authentication.CacheKey
: Custom cache key.Cache
: Node cache TTL.MaxAge
: Browser cache TTL.OfflineCache
: Offline cache.SmartRouting
: Smart acceleration.RangeOriginPull
: Range GETs.UpstreamHttp2
: HTTP/2 forwarding.HostHeader
: Host header rewrite.ForceRedirect
: Force HTTPS.OriginPullProtocol
: Origin-pull HTTPS.CachePrefresh
: Cache prefresh.Compression
: Smart compression.Hsts
.ClientIpHeader
.SslTlsSecureConf
.OcspStapling
.Http2
: HTTP/2 access.UpstreamFollowRedirect
: Follow origin redirect.Origin
: Origin.
Note: This field may return null
, indicating that no valid value can be obtained.Feature operation with a request/response header. Features of this type include: Feature operation with a request/response header. Features of this type include:
RequestHeader
: HTTP request header modification.ResponseHeader
: HTTP response header modification.
Note: This field may return null, indicating that no valid values can be obtained.The condition that determines if a feature should run. Note: If any condition in the array is met, the feature will run. The condition that determines if a feature should run. Note: If any condition in the array is met, the feature will run.
AND Conditions list of the rule. Rule would be triggered if all conditions are true. Rule engine condition. This condition will be considered met if all items in the array are met.
The parameter value of the match type. It can be an empty string only when Target=query string/request header and Operator=exist/notexist.
The parameter value of the match type. It can be an empty string only when Target=query string/request header
and Operator=exist/notexist
.
Target=extension
, enter the file extension, such as "jpg" and "txt".Target=filename
, enter the file name, such as "foo" in "foo.jpg".Target=all
, it indicates any site request.Target=host
, enter the host under the current site, such as "www.maxx55.com".Target=url
, enter the partial URL path under the current site, such as "/example".Target=full_url
, enter the complete URL under the current site. It must contain the HTTP protocol, host, and path, such as "https://www.maxx55.cn/example".Target=client_country
, enter the ISO-3166 country/region code.Target=query_string
, enter the value of the query string, such as "cn" and "1" in "lang=cn&version=1".Target=request_header
, enter the HTTP request header value, such as "zh-CN,zh;q=0.9" in the "Accept-Language:zh-CN,zh;q=0.9" header.rule tag list. Tag of the rule.
rule tag list. rule tag list.
Conditions of the resource.