alicloud_esa_cache_ruleNivis Nix constructor for the alicloud_esa_cache_rule resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
site_id,
additional_cacheable_ports ? null,
browser_cache_mode ? null,
browser_cache_ttl ? null,
bypass_cache ? null,
cache_deception_armor ? null,
cache_reserve_eligibility ? null,
check_presence_cookie ? null,
check_presence_header ? null,
edge_cache_mode ? null,
edge_cache_ttl ? null,
edge_status_code_cache_ttl ? null,
id ? null,
include_cookie ? null,
include_header ? null,
post_body_cache_key ? null,
post_body_size_limit ? null,
post_cache ? null,
query_string ? null,
query_string_mode ? null,
rule ? null,
rule_enable ? null,
rule_name ? null,
sequence ? null,
serve_stale ? null,
site_version ? null,
sort_query_string_for_cache ? null,
user_device_type ? null,
user_geo ? null,
user_language ? null,
timeouts ? null,
overrides ? {}
}Required arguments
site_id
Optional arguments
additional_cacheable_ports(defaults tonull)browser_cache_mode(defaults tonull)browser_cache_ttl(defaults tonull)bypass_cache(defaults tonull)cache_deception_armor(defaults tonull)cache_reserve_eligibility(defaults tonull)check_presence_cookie(defaults tonull)check_presence_header(defaults tonull)edge_cache_mode(defaults tonull)edge_cache_ttl(defaults tonull)edge_status_code_cache_ttl(defaults tonull)id(defaults tonull)include_cookie(defaults tonull)include_header(defaults tonull)post_body_cache_key(defaults tonull)post_body_size_limit(defaults tonull)post_cache(defaults tonull)query_string(defaults tonull)query_string_mode(defaults tonull)rule(defaults tonull)rule_enable(defaults tonull)rule_name(defaults tonull)sequence(defaults tonull)serve_stale(defaults tonull)site_version(defaults tonull)sort_query_string_for_cache(defaults tonull)user_device_type(defaults tonull)user_geo(defaults tonull)user_language(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
cache_rule_id
Example
alicloud_esa_cache_rule {
name = "esa_cache_rule";
site_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.