tencentcloud.TeoZoneSetting
Explore with Pulumi AI
Provides a resource to create a teo zone_setting
NOTE: The current resource has been deprecated, please use
tencentcloud.TeoL7AccSetting
.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TeoZoneSetting;
import com.pulumi.tencentcloud.TeoZoneSettingArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingCacheArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingCacheFollowOriginArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingCacheNoCacheArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingCacheKeyArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingCacheKeyQueryStringArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingCachePrefreshArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingClientIpHeaderArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingCompressionArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingForceRedirectArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingHttpsArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingHttpsHstsArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingIpv6Args;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingMaxAgeArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingOfflineCacheArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingOriginArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingPostMaxSizeArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingQuicArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingSmartRoutingArgs;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingUpstreamHttp2Args;
import com.pulumi.tencentcloud.inputs.TeoZoneSettingWebSocketArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var zoneSetting = new TeoZoneSetting("zoneSetting", TeoZoneSettingArgs.builder()
.cache(TeoZoneSettingCacheArgs.builder()
.followOrigin(TeoZoneSettingCacheFollowOriginArgs.builder()
.switch_("on")
.build())
.noCache(TeoZoneSettingCacheNoCacheArgs.builder()
.switch_("off")
.build())
.build())
.cacheKey(TeoZoneSettingCacheKeyArgs.builder()
.fullUrlCache("on")
.ignoreCase("off")
.queryString(TeoZoneSettingCacheKeyQueryStringArgs.builder()
.action("includeCustom")
.switch_("off")
.value()
.build())
.build())
.cachePrefresh(TeoZoneSettingCachePrefreshArgs.builder()
.percent(90)
.switch_("off")
.build())
.clientIpHeader(TeoZoneSettingClientIpHeaderArgs.builder()
.switch_("off")
.build())
.compression(TeoZoneSettingCompressionArgs.builder()
.algorithms(
"brotli",
"gzip")
.switch_("on")
.build())
.forceRedirect(TeoZoneSettingForceRedirectArgs.builder()
.redirectStatusCode(302)
.switch_("off")
.build())
.https(TeoZoneSettingHttpsArgs.builder()
.hsts(TeoZoneSettingHttpsHstsArgs.builder()
.includeSubDomains("off")
.maxAge(0)
.preload("off")
.switch_("off")
.build())
.http2("on")
.ocspStapling("off")
.tlsVersions(
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3")
.build())
.ipv6(TeoZoneSettingIpv6Args.builder()
.switch_("off")
.build())
.maxAge(TeoZoneSettingMaxAgeArgs.builder()
.followOrigin("on")
.maxAgeTime(0)
.build())
.offlineCache(TeoZoneSettingOfflineCacheArgs.builder()
.switch_("on")
.build())
.origin(TeoZoneSettingOriginArgs.builder()
.backupOrigins()
.originPullProtocol("follow")
.origins()
.build())
.postMaxSize(TeoZoneSettingPostMaxSizeArgs.builder()
.maxSize(524288000)
.switch_("on")
.build())
.quic(TeoZoneSettingQuicArgs.builder()
.switch_("off")
.build())
.smartRouting(TeoZoneSettingSmartRoutingArgs.builder()
.switch_("off")
.build())
.upstreamHttp2(TeoZoneSettingUpstreamHttp2Args.builder()
.switch_("off")
.build())
.webSocket(TeoZoneSettingWebSocketArgs.builder()
.switch_("off")
.timeout(30)
.build())
.zoneId("zone-297z8rf93cfw")
.build());
}
}
resources:
zoneSetting:
type: tencentcloud:TeoZoneSetting
properties:
cache:
followOrigin:
switch: on
noCache:
switch: off
cacheKey:
fullUrlCache: on
ignoreCase: off
queryString:
action: includeCustom
switch: off
value: []
cachePrefresh:
percent: 90
switch: off
clientIpHeader:
switch: off
compression:
algorithms:
- brotli
- gzip
switch: on
forceRedirect:
redirectStatusCode: 302
switch: off
https:
hsts:
includeSubDomains: off
maxAge: 0
preload: off
switch: off
http2: on
ocspStapling: off
tlsVersions:
- TLSv1
- TLSv1.1
- TLSv1.2
- TLSv1.3
ipv6:
switch: off
maxAge:
followOrigin: on
maxAgeTime: 0
offlineCache:
switch: on
origin:
backupOrigins: []
originPullProtocol: follow
origins: []
postMaxSize:
maxSize: 5.24288e+08
switch: on
quic:
switch: off
smartRouting:
switch: off
upstreamHttp2:
switch: off
webSocket:
switch: off
timeout: 30
zoneId: zone-297z8rf93cfw
Create TeoZoneSetting Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TeoZoneSetting(name: string, args: TeoZoneSettingArgs, opts?: CustomResourceOptions);
@overload
def TeoZoneSetting(resource_name: str,
args: TeoZoneSettingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TeoZoneSetting(resource_name: str,
opts: Optional[ResourceOptions] = None,
zone_id: Optional[str] = None,
max_age: Optional[TeoZoneSettingMaxAgeArgs] = None,
origin: Optional[TeoZoneSettingOriginArgs] = None,
client_ip_header: Optional[TeoZoneSettingClientIpHeaderArgs] = None,
compression: Optional[TeoZoneSettingCompressionArgs] = None,
force_redirect: Optional[TeoZoneSettingForceRedirectArgs] = None,
https: Optional[TeoZoneSettingHttpsArgs] = None,
ipv6: Optional[TeoZoneSettingIpv6Args] = None,
cache: Optional[TeoZoneSettingCacheArgs] = None,
cache_prefresh: Optional[TeoZoneSettingCachePrefreshArgs] = None,
post_max_size: Optional[TeoZoneSettingPostMaxSizeArgs] = None,
offline_cache: Optional[TeoZoneSettingOfflineCacheArgs] = None,
quic: Optional[TeoZoneSettingQuicArgs] = None,
smart_routing: Optional[TeoZoneSettingSmartRoutingArgs] = None,
teo_zone_setting_id: Optional[str] = None,
upstream_http2: Optional[TeoZoneSettingUpstreamHttp2Args] = None,
web_socket: Optional[TeoZoneSettingWebSocketArgs] = None,
cache_key: Optional[TeoZoneSettingCacheKeyArgs] = None)
func NewTeoZoneSetting(ctx *Context, name string, args TeoZoneSettingArgs, opts ...ResourceOption) (*TeoZoneSetting, error)
public TeoZoneSetting(string name, TeoZoneSettingArgs args, CustomResourceOptions? opts = null)
public TeoZoneSetting(String name, TeoZoneSettingArgs args)
public TeoZoneSetting(String name, TeoZoneSettingArgs args, CustomResourceOptions options)
type: tencentcloud:TeoZoneSetting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TeoZoneSettingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TeoZoneSettingArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TeoZoneSettingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeoZoneSettingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeoZoneSettingArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TeoZoneSetting Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TeoZoneSetting resource accepts the following input properties:
- Zone
Id string - Site ID.
- Cache
Teo
Zone Setting Cache - Cache expiration time configuration.
- Cache
Key TeoZone Setting Cache Key - Node cache key configuration.
- Cache
Prefresh TeoZone Setting Cache Prefresh - Cache pre-refresh configuration.
- Client
Ip TeoHeader Zone Setting Client Ip Header - Origin-pull client IP header configuration.
- Compression
Teo
Zone Setting Compression - Smart compression configuration.
- Force
Redirect TeoZone Setting Force Redirect - Force HTTPS redirect configuration.
- Https
Teo
Zone Setting Https - HTTPS acceleration configuration.
- Ipv6
Teo
Zone Setting Ipv6 - IPv6 access configuration.
- Max
Age TeoZone Setting Max Age - Browser cache configuration.
- Offline
Cache TeoZone Setting Offline Cache - Offline cache configuration.
- Origin
Teo
Zone Setting Origin - Origin server configuration.
- Post
Max TeoSize Zone Setting Post Max Size - Maximum size of files transferred over POST request.
- Quic
Teo
Zone Setting Quic - QUIC access configuration.
- Smart
Routing TeoZone Setting Smart Routing - Smart acceleration configuration.
- Teo
Zone stringSetting Id - ID of the resource.
- Upstream
Http2 TeoZone Setting Upstream Http2 - HTTP2 origin-pull configuration.
- Web
Socket TeoZone Setting Web Socket - WebSocket configuration.
- Zone
Id string - Site ID.
- Cache
Teo
Zone Setting Cache Args - Cache expiration time configuration.
- Cache
Key TeoZone Setting Cache Key Args - Node cache key configuration.
- Cache
Prefresh TeoZone Setting Cache Prefresh Args - Cache pre-refresh configuration.
- Client
Ip TeoHeader Zone Setting Client Ip Header Args - Origin-pull client IP header configuration.
- Compression
Teo
Zone Setting Compression Args - Smart compression configuration.
- Force
Redirect TeoZone Setting Force Redirect Args - Force HTTPS redirect configuration.
- Https
Teo
Zone Setting Https Args - HTTPS acceleration configuration.
- Ipv6
Teo
Zone Setting Ipv6Args - IPv6 access configuration.
- Max
Age TeoZone Setting Max Age Args - Browser cache configuration.
- Offline
Cache TeoZone Setting Offline Cache Args - Offline cache configuration.
- Origin
Teo
Zone Setting Origin Args - Origin server configuration.
- Post
Max TeoSize Zone Setting Post Max Size Args - Maximum size of files transferred over POST request.
- Quic
Teo
Zone Setting Quic Args - QUIC access configuration.
- Smart
Routing TeoZone Setting Smart Routing Args - Smart acceleration configuration.
- Teo
Zone stringSetting Id - ID of the resource.
- Upstream
Http2 TeoZone Setting Upstream Http2Args - HTTP2 origin-pull configuration.
- Web
Socket TeoZone Setting Web Socket Args - WebSocket configuration.
- zone
Id String - Site ID.
- cache
Teo
Zone Setting Cache - Cache expiration time configuration.
- cache
Key TeoZone Setting Cache Key - Node cache key configuration.
- cache
Prefresh TeoZone Setting Cache Prefresh - Cache pre-refresh configuration.
- client
Ip TeoHeader Zone Setting Client Ip Header - Origin-pull client IP header configuration.
- compression
Teo
Zone Setting Compression - Smart compression configuration.
- force
Redirect TeoZone Setting Force Redirect - Force HTTPS redirect configuration.
- https
Teo
Zone Setting Https - HTTPS acceleration configuration.
- ipv6
Teo
Zone Setting Ipv6 - IPv6 access configuration.
- max
Age TeoZone Setting Max Age - Browser cache configuration.
- offline
Cache TeoZone Setting Offline Cache - Offline cache configuration.
- origin
Teo
Zone Setting Origin - Origin server configuration.
- post
Max TeoSize Zone Setting Post Max Size - Maximum size of files transferred over POST request.
- quic
Teo
Zone Setting Quic - QUIC access configuration.
- smart
Routing TeoZone Setting Smart Routing - Smart acceleration configuration.
- teo
Zone StringSetting Id - ID of the resource.
- upstream
Http2 TeoZone Setting Upstream Http2 - HTTP2 origin-pull configuration.
- web
Socket TeoZone Setting Web Socket - WebSocket configuration.
- zone
Id string - Site ID.
- cache
Teo
Zone Setting Cache - Cache expiration time configuration.
- cache
Key TeoZone Setting Cache Key - Node cache key configuration.
- cache
Prefresh TeoZone Setting Cache Prefresh - Cache pre-refresh configuration.
- client
Ip TeoHeader Zone Setting Client Ip Header - Origin-pull client IP header configuration.
- compression
Teo
Zone Setting Compression - Smart compression configuration.
- force
Redirect TeoZone Setting Force Redirect - Force HTTPS redirect configuration.
- https
Teo
Zone Setting Https - HTTPS acceleration configuration.
- ipv6
Teo
Zone Setting Ipv6 - IPv6 access configuration.
- max
Age TeoZone Setting Max Age - Browser cache configuration.
- offline
Cache TeoZone Setting Offline Cache - Offline cache configuration.
- origin
Teo
Zone Setting Origin - Origin server configuration.
- post
Max TeoSize Zone Setting Post Max Size - Maximum size of files transferred over POST request.
- quic
Teo
Zone Setting Quic - QUIC access configuration.
- smart
Routing TeoZone Setting Smart Routing - Smart acceleration configuration.
- teo
Zone stringSetting Id - ID of the resource.
- upstream
Http2 TeoZone Setting Upstream Http2 - HTTP2 origin-pull configuration.
- web
Socket TeoZone Setting Web Socket - WebSocket configuration.
- zone_
id str - Site ID.
- cache
Teo
Zone Setting Cache Args - Cache expiration time configuration.
- cache_
key TeoZone Setting Cache Key Args - Node cache key configuration.
- cache_
prefresh TeoZone Setting Cache Prefresh Args - Cache pre-refresh configuration.
- client_
ip_ Teoheader Zone Setting Client Ip Header Args - Origin-pull client IP header configuration.
- compression
Teo
Zone Setting Compression Args - Smart compression configuration.
- force_
redirect TeoZone Setting Force Redirect Args - Force HTTPS redirect configuration.
- https
Teo
Zone Setting Https Args - HTTPS acceleration configuration.
- ipv6
Teo
Zone Setting Ipv6Args - IPv6 access configuration.
- max_
age TeoZone Setting Max Age Args - Browser cache configuration.
- offline_
cache TeoZone Setting Offline Cache Args - Offline cache configuration.
- origin
Teo
Zone Setting Origin Args - Origin server configuration.
- post_
max_ Teosize Zone Setting Post Max Size Args - Maximum size of files transferred over POST request.
- quic
Teo
Zone Setting Quic Args - QUIC access configuration.
- smart_
routing TeoZone Setting Smart Routing Args - Smart acceleration configuration.
- teo_
zone_ strsetting_ id - ID of the resource.
- upstream_
http2 TeoZone Setting Upstream Http2Args - HTTP2 origin-pull configuration.
- web_
socket TeoZone Setting Web Socket Args - WebSocket configuration.
- zone
Id String - Site ID.
- cache Property Map
- Cache expiration time configuration.
- cache
Key Property Map - Node cache key configuration.
- cache
Prefresh Property Map - Cache pre-refresh configuration.
- client
Ip Property MapHeader - Origin-pull client IP header configuration.
- compression Property Map
- Smart compression configuration.
- force
Redirect Property Map - Force HTTPS redirect configuration.
- https Property Map
- HTTPS acceleration configuration.
- ipv6 Property Map
- IPv6 access configuration.
- max
Age Property Map - Browser cache configuration.
- offline
Cache Property Map - Offline cache configuration.
- origin Property Map
- Origin server configuration.
- post
Max Property MapSize - Maximum size of files transferred over POST request.
- quic Property Map
- QUIC access configuration.
- smart
Routing Property Map - Smart acceleration configuration.
- teo
Zone StringSetting Id - ID of the resource.
- upstream
Http2 Property Map - HTTP2 origin-pull configuration.
- web
Socket Property Map - WebSocket configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the TeoZoneSetting resource produces the following output properties:
Look up Existing TeoZoneSetting Resource
Get an existing TeoZoneSetting resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TeoZoneSettingState, opts?: CustomResourceOptions): TeoZoneSetting
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
area: Optional[str] = None,
cache: Optional[TeoZoneSettingCacheArgs] = None,
cache_key: Optional[TeoZoneSettingCacheKeyArgs] = None,
cache_prefresh: Optional[TeoZoneSettingCachePrefreshArgs] = None,
client_ip_header: Optional[TeoZoneSettingClientIpHeaderArgs] = None,
compression: Optional[TeoZoneSettingCompressionArgs] = None,
force_redirect: Optional[TeoZoneSettingForceRedirectArgs] = None,
https: Optional[TeoZoneSettingHttpsArgs] = None,
ipv6: Optional[TeoZoneSettingIpv6Args] = None,
max_age: Optional[TeoZoneSettingMaxAgeArgs] = None,
offline_cache: Optional[TeoZoneSettingOfflineCacheArgs] = None,
origin: Optional[TeoZoneSettingOriginArgs] = None,
post_max_size: Optional[TeoZoneSettingPostMaxSizeArgs] = None,
quic: Optional[TeoZoneSettingQuicArgs] = None,
smart_routing: Optional[TeoZoneSettingSmartRoutingArgs] = None,
teo_zone_setting_id: Optional[str] = None,
upstream_http2: Optional[TeoZoneSettingUpstreamHttp2Args] = None,
web_socket: Optional[TeoZoneSettingWebSocketArgs] = None,
zone_id: Optional[str] = None) -> TeoZoneSetting
func GetTeoZoneSetting(ctx *Context, name string, id IDInput, state *TeoZoneSettingState, opts ...ResourceOption) (*TeoZoneSetting, error)
public static TeoZoneSetting Get(string name, Input<string> id, TeoZoneSettingState? state, CustomResourceOptions? opts = null)
public static TeoZoneSetting get(String name, Output<String> id, TeoZoneSettingState state, CustomResourceOptions options)
resources: _: type: tencentcloud:TeoZoneSetting get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Area string
- Acceleration area of the zone. Valid values:
mainland
,overseas
. - Cache
Teo
Zone Setting Cache - Cache expiration time configuration.
- Cache
Key TeoZone Setting Cache Key - Node cache key configuration.
- Cache
Prefresh TeoZone Setting Cache Prefresh - Cache pre-refresh configuration.
- Client
Ip TeoHeader Zone Setting Client Ip Header - Origin-pull client IP header configuration.
- Compression
Teo
Zone Setting Compression - Smart compression configuration.
- Force
Redirect TeoZone Setting Force Redirect - Force HTTPS redirect configuration.
- Https
Teo
Zone Setting Https - HTTPS acceleration configuration.
- Ipv6
Teo
Zone Setting Ipv6 - IPv6 access configuration.
- Max
Age TeoZone Setting Max Age - Browser cache configuration.
- Offline
Cache TeoZone Setting Offline Cache - Offline cache configuration.
- Origin
Teo
Zone Setting Origin - Origin server configuration.
- Post
Max TeoSize Zone Setting Post Max Size - Maximum size of files transferred over POST request.
- Quic
Teo
Zone Setting Quic - QUIC access configuration.
- Smart
Routing TeoZone Setting Smart Routing - Smart acceleration configuration.
- Teo
Zone stringSetting Id - ID of the resource.
- Upstream
Http2 TeoZone Setting Upstream Http2 - HTTP2 origin-pull configuration.
- Web
Socket TeoZone Setting Web Socket - WebSocket configuration.
- Zone
Id string - Site ID.
- Area string
- Acceleration area of the zone. Valid values:
mainland
,overseas
. - Cache
Teo
Zone Setting Cache Args - Cache expiration time configuration.
- Cache
Key TeoZone Setting Cache Key Args - Node cache key configuration.
- Cache
Prefresh TeoZone Setting Cache Prefresh Args - Cache pre-refresh configuration.
- Client
Ip TeoHeader Zone Setting Client Ip Header Args - Origin-pull client IP header configuration.
- Compression
Teo
Zone Setting Compression Args - Smart compression configuration.
- Force
Redirect TeoZone Setting Force Redirect Args - Force HTTPS redirect configuration.
- Https
Teo
Zone Setting Https Args - HTTPS acceleration configuration.
- Ipv6
Teo
Zone Setting Ipv6Args - IPv6 access configuration.
- Max
Age TeoZone Setting Max Age Args - Browser cache configuration.
- Offline
Cache TeoZone Setting Offline Cache Args - Offline cache configuration.
- Origin
Teo
Zone Setting Origin Args - Origin server configuration.
- Post
Max TeoSize Zone Setting Post Max Size Args - Maximum size of files transferred over POST request.
- Quic
Teo
Zone Setting Quic Args - QUIC access configuration.
- Smart
Routing TeoZone Setting Smart Routing Args - Smart acceleration configuration.
- Teo
Zone stringSetting Id - ID of the resource.
- Upstream
Http2 TeoZone Setting Upstream Http2Args - HTTP2 origin-pull configuration.
- Web
Socket TeoZone Setting Web Socket Args - WebSocket configuration.
- Zone
Id string - Site ID.
- area String
- Acceleration area of the zone. Valid values:
mainland
,overseas
. - cache
Teo
Zone Setting Cache - Cache expiration time configuration.
- cache
Key TeoZone Setting Cache Key - Node cache key configuration.
- cache
Prefresh TeoZone Setting Cache Prefresh - Cache pre-refresh configuration.
- client
Ip TeoHeader Zone Setting Client Ip Header - Origin-pull client IP header configuration.
- compression
Teo
Zone Setting Compression - Smart compression configuration.
- force
Redirect TeoZone Setting Force Redirect - Force HTTPS redirect configuration.
- https
Teo
Zone Setting Https - HTTPS acceleration configuration.
- ipv6
Teo
Zone Setting Ipv6 - IPv6 access configuration.
- max
Age TeoZone Setting Max Age - Browser cache configuration.
- offline
Cache TeoZone Setting Offline Cache - Offline cache configuration.
- origin
Teo
Zone Setting Origin - Origin server configuration.
- post
Max TeoSize Zone Setting Post Max Size - Maximum size of files transferred over POST request.
- quic
Teo
Zone Setting Quic - QUIC access configuration.
- smart
Routing TeoZone Setting Smart Routing - Smart acceleration configuration.
- teo
Zone StringSetting Id - ID of the resource.
- upstream
Http2 TeoZone Setting Upstream Http2 - HTTP2 origin-pull configuration.
- web
Socket TeoZone Setting Web Socket - WebSocket configuration.
- zone
Id String - Site ID.
- area string
- Acceleration area of the zone. Valid values:
mainland
,overseas
. - cache
Teo
Zone Setting Cache - Cache expiration time configuration.
- cache
Key TeoZone Setting Cache Key - Node cache key configuration.
- cache
Prefresh TeoZone Setting Cache Prefresh - Cache pre-refresh configuration.
- client
Ip TeoHeader Zone Setting Client Ip Header - Origin-pull client IP header configuration.
- compression
Teo
Zone Setting Compression - Smart compression configuration.
- force
Redirect TeoZone Setting Force Redirect - Force HTTPS redirect configuration.
- https
Teo
Zone Setting Https - HTTPS acceleration configuration.
- ipv6
Teo
Zone Setting Ipv6 - IPv6 access configuration.
- max
Age TeoZone Setting Max Age - Browser cache configuration.
- offline
Cache TeoZone Setting Offline Cache - Offline cache configuration.
- origin
Teo
Zone Setting Origin - Origin server configuration.
- post
Max TeoSize Zone Setting Post Max Size - Maximum size of files transferred over POST request.
- quic
Teo
Zone Setting Quic - QUIC access configuration.
- smart
Routing TeoZone Setting Smart Routing - Smart acceleration configuration.
- teo
Zone stringSetting Id - ID of the resource.
- upstream
Http2 TeoZone Setting Upstream Http2 - HTTP2 origin-pull configuration.
- web
Socket TeoZone Setting Web Socket - WebSocket configuration.
- zone
Id string - Site ID.
- area str
- Acceleration area of the zone. Valid values:
mainland
,overseas
. - cache
Teo
Zone Setting Cache Args - Cache expiration time configuration.
- cache_
key TeoZone Setting Cache Key Args - Node cache key configuration.
- cache_
prefresh TeoZone Setting Cache Prefresh Args - Cache pre-refresh configuration.
- client_
ip_ Teoheader Zone Setting Client Ip Header Args - Origin-pull client IP header configuration.
- compression
Teo
Zone Setting Compression Args - Smart compression configuration.
- force_
redirect TeoZone Setting Force Redirect Args - Force HTTPS redirect configuration.
- https
Teo
Zone Setting Https Args - HTTPS acceleration configuration.
- ipv6
Teo
Zone Setting Ipv6Args - IPv6 access configuration.
- max_
age TeoZone Setting Max Age Args - Browser cache configuration.
- offline_
cache TeoZone Setting Offline Cache Args - Offline cache configuration.
- origin
Teo
Zone Setting Origin Args - Origin server configuration.
- post_
max_ Teosize Zone Setting Post Max Size Args - Maximum size of files transferred over POST request.
- quic
Teo
Zone Setting Quic Args - QUIC access configuration.
- smart_
routing TeoZone Setting Smart Routing Args - Smart acceleration configuration.
- teo_
zone_ strsetting_ id - ID of the resource.
- upstream_
http2 TeoZone Setting Upstream Http2Args - HTTP2 origin-pull configuration.
- web_
socket TeoZone Setting Web Socket Args - WebSocket configuration.
- zone_
id str - Site ID.
- area String
- Acceleration area of the zone. Valid values:
mainland
,overseas
. - cache Property Map
- Cache expiration time configuration.
- cache
Key Property Map - Node cache key configuration.
- cache
Prefresh Property Map - Cache pre-refresh configuration.
- client
Ip Property MapHeader - Origin-pull client IP header configuration.
- compression Property Map
- Smart compression configuration.
- force
Redirect Property Map - Force HTTPS redirect configuration.
- https Property Map
- HTTPS acceleration configuration.
- ipv6 Property Map
- IPv6 access configuration.
- max
Age Property Map - Browser cache configuration.
- offline
Cache Property Map - Offline cache configuration.
- origin Property Map
- Origin server configuration.
- post
Max Property MapSize - Maximum size of files transferred over POST request.
- quic Property Map
- QUIC access configuration.
- smart
Routing Property Map - Smart acceleration configuration.
- teo
Zone StringSetting Id - ID of the resource.
- upstream
Http2 Property Map - HTTP2 origin-pull configuration.
- web
Socket Property Map - WebSocket configuration.
- zone
Id String - Site ID.
Supporting Types
TeoZoneSettingCache, TeoZoneSettingCacheArgs
- Cache
Teo
Zone Setting Cache Cache - Cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
- Follow
Origin TeoZone Setting Cache Follow Origin - Follows the origin server configuration. Note: This field may return null, indicating that no valid value can be obtained.
- No
Cache TeoZone Setting Cache No Cache - No-cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
- Cache
Teo
Zone Setting Cache Cache - Cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
- Follow
Origin TeoZone Setting Cache Follow Origin - Follows the origin server configuration. Note: This field may return null, indicating that no valid value can be obtained.
- No
Cache TeoZone Setting Cache No Cache - No-cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
- cache
Teo
Zone Setting Cache Cache - Cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
- follow
Origin TeoZone Setting Cache Follow Origin - Follows the origin server configuration. Note: This field may return null, indicating that no valid value can be obtained.
- no
Cache TeoZone Setting Cache No Cache - No-cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
- cache
Teo
Zone Setting Cache Cache - Cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
- follow
Origin TeoZone Setting Cache Follow Origin - Follows the origin server configuration. Note: This field may return null, indicating that no valid value can be obtained.
- no
Cache TeoZone Setting Cache No Cache - No-cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
- cache
Teo
Zone Setting Cache Cache - Cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
- follow_
origin TeoZone Setting Cache Follow Origin - Follows the origin server configuration. Note: This field may return null, indicating that no valid value can be obtained.
- no_
cache TeoZone Setting Cache No Cache - No-cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
- cache Property Map
- Cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
- follow
Origin Property Map - Follows the origin server configuration. Note: This field may return null, indicating that no valid value can be obtained.
- no
Cache Property Map - No-cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
TeoZoneSettingCacheCache, TeoZoneSettingCacheCacheArgs
- Cache
Time double - Cache expiration time settings. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained.
- Switch string
- Whether to cache the configuration.
- Cache
Time float64 - Cache expiration time settings. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained.
- Switch string
- Whether to cache the configuration.
- cache
Time Double - Cache expiration time settings. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained.
- switch_ String
- Whether to cache the configuration.
- cache
Time number - Cache expiration time settings. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained.
- switch string
- Whether to cache the configuration.
- cache_
time float - Cache expiration time settings. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained.
- switch str
- Whether to cache the configuration.
- cache
Time Number - Cache expiration time settings. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained.
- switch String
- Whether to cache the configuration.
TeoZoneSettingCacheFollowOrigin, TeoZoneSettingCacheFollowOriginArgs
- Switch string
- Specifies whether to follow the origin server configuration.
- Switch string
- Specifies whether to follow the origin server configuration.
- switch_ String
- Specifies whether to follow the origin server configuration.
- switch string
- Specifies whether to follow the origin server configuration.
- switch str
- Specifies whether to follow the origin server configuration.
- switch String
- Specifies whether to follow the origin server configuration.
TeoZoneSettingCacheKey, TeoZoneSettingCacheKeyArgs
- Full
Url stringCache - Specifies whether to enable full-path cache.
- Ignore
Case string - Specifies whether the cache key is case-sensitive. Note: This field may return null, indicating that no valid value can be obtained.
- Query
String TeoZone Setting Cache Key Query String - Request parameter contained in CacheKey. Note: This field may return null, indicating that no valid value can be obtained.
- Full
Url stringCache - Specifies whether to enable full-path cache.
- Ignore
Case string - Specifies whether the cache key is case-sensitive. Note: This field may return null, indicating that no valid value can be obtained.
- Query
String TeoZone Setting Cache Key Query String - Request parameter contained in CacheKey. Note: This field may return null, indicating that no valid value can be obtained.
- full
Url StringCache - Specifies whether to enable full-path cache.
- ignore
Case String - Specifies whether the cache key is case-sensitive. Note: This field may return null, indicating that no valid value can be obtained.
- query
String TeoZone Setting Cache Key Query String - Request parameter contained in CacheKey. Note: This field may return null, indicating that no valid value can be obtained.
- full
Url stringCache - Specifies whether to enable full-path cache.
- ignore
Case string - Specifies whether the cache key is case-sensitive. Note: This field may return null, indicating that no valid value can be obtained.
- query
String TeoZone Setting Cache Key Query String - Request parameter contained in CacheKey. Note: This field may return null, indicating that no valid value can be obtained.
- full_
url_ strcache - Specifies whether to enable full-path cache.
- ignore_
case str - Specifies whether the cache key is case-sensitive. Note: This field may return null, indicating that no valid value can be obtained.
- query_
string TeoZone Setting Cache Key Query String - Request parameter contained in CacheKey. Note: This field may return null, indicating that no valid value can be obtained.
- full
Url StringCache - Specifies whether to enable full-path cache.
- ignore
Case String - Specifies whether the cache key is case-sensitive. Note: This field may return null, indicating that no valid value can be obtained.
- query
String Property Map - Request parameter contained in CacheKey. Note: This field may return null, indicating that no valid value can be obtained.
TeoZoneSettingCacheKeyQueryString, TeoZoneSettingCacheKeyQueryStringArgs
- Switch string
- Whether to use QueryString as part of CacheKey.
- Action string
includeCustom
: Include the specified query strings.excludeCustom
: Exclude the specified query strings. Note: This field may return null, indicating that no valid value can be obtained.
- Values List<string>
- Array of query strings used/excluded. Note: This field may return null, indicating that no valid value can be obtained.
- Switch string
- Whether to use QueryString as part of CacheKey.
- Action string
includeCustom
: Include the specified query strings.excludeCustom
: Exclude the specified query strings. Note: This field may return null, indicating that no valid value can be obtained.
- Values []string
- Array of query strings used/excluded. Note: This field may return null, indicating that no valid value can be obtained.
- switch_ String
- Whether to use QueryString as part of CacheKey.
- action String
includeCustom
: Include the specified query strings.excludeCustom
: Exclude the specified query strings. Note: This field may return null, indicating that no valid value can be obtained.
- values List<String>
- Array of query strings used/excluded. Note: This field may return null, indicating that no valid value can be obtained.
- switch string
- Whether to use QueryString as part of CacheKey.
- action string
includeCustom
: Include the specified query strings.excludeCustom
: Exclude the specified query strings. Note: This field may return null, indicating that no valid value can be obtained.
- values string[]
- Array of query strings used/excluded. Note: This field may return null, indicating that no valid value can be obtained.
- switch str
- Whether to use QueryString as part of CacheKey.
- action str
includeCustom
: Include the specified query strings.excludeCustom
: Exclude the specified query strings. Note: This field may return null, indicating that no valid value can be obtained.
- values Sequence[str]
- Array of query strings used/excluded. Note: This field may return null, indicating that no valid value can be obtained.
- switch String
- Whether to use QueryString as part of CacheKey.
- action String
includeCustom
: Include the specified query strings.excludeCustom
: Exclude the specified query strings. Note: This field may return null, indicating that no valid value can be obtained.
- values List<String>
- Array of query strings used/excluded. Note: This field may return null, indicating that no valid value can be obtained.
TeoZoneSettingCacheNoCache, TeoZoneSettingCacheNoCacheArgs
- Switch string
- Whether to cache the configuration.
- Switch string
- Whether to cache the configuration.
- switch_ String
- Whether to cache the configuration.
- switch string
- Whether to cache the configuration.
- switch str
- Whether to cache the configuration.
- switch String
- Whether to cache the configuration.
TeoZoneSettingCachePrefresh, TeoZoneSettingCachePrefreshArgs
TeoZoneSettingClientIpHeader, TeoZoneSettingClientIpHeaderArgs
- Switch string
- Specifies whether to enable client IP header.
- Header
Name string - Name of the origin-pull client IP request header. Note: This field may return null, indicating that no valid value can be obtained.
- Switch string
- Specifies whether to enable client IP header.
- Header
Name string - Name of the origin-pull client IP request header. Note: This field may return null, indicating that no valid value can be obtained.
- switch_ String
- Specifies whether to enable client IP header.
- header
Name String - Name of the origin-pull client IP request header. Note: This field may return null, indicating that no valid value can be obtained.
- switch string
- Specifies whether to enable client IP header.
- header
Name string - Name of the origin-pull client IP request header. Note: This field may return null, indicating that no valid value can be obtained.
- switch str
- Specifies whether to enable client IP header.
- header_
name str - Name of the origin-pull client IP request header. Note: This field may return null, indicating that no valid value can be obtained.
- switch String
- Specifies whether to enable client IP header.
- header
Name String - Name of the origin-pull client IP request header. Note: This field may return null, indicating that no valid value can be obtained.
TeoZoneSettingCompression, TeoZoneSettingCompressionArgs
- Switch string
- Whether to enable Smart compression.
- Algorithms List<string>
- Compression algorithms to select. Valid values:
brotli
,gzip
.
- Switch string
- Whether to enable Smart compression.
- Algorithms []string
- Compression algorithms to select. Valid values:
brotli
,gzip
.
- switch_ String
- Whether to enable Smart compression.
- algorithms List<String>
- Compression algorithms to select. Valid values:
brotli
,gzip
.
- switch string
- Whether to enable Smart compression.
- algorithms string[]
- Compression algorithms to select. Valid values:
brotli
,gzip
.
- switch str
- Whether to enable Smart compression.
- algorithms Sequence[str]
- Compression algorithms to select. Valid values:
brotli
,gzip
.
- switch String
- Whether to enable Smart compression.
- algorithms List<String>
- Compression algorithms to select. Valid values:
brotli
,gzip
.
TeoZoneSettingForceRedirect, TeoZoneSettingForceRedirectArgs
- Switch string
- Whether to enable force redirect.
- Redirect
Status doubleCode - Redirection status code.
- 301
- 302 Note: This field may return null, indicating that no valid value can be obtained.
- Switch string
- Whether to enable force redirect.
- Redirect
Status float64Code - Redirection status code.
- 301
- 302 Note: This field may return null, indicating that no valid value can be obtained.
- switch_ String
- Whether to enable force redirect.
- redirect
Status DoubleCode - Redirection status code.
- 301
- 302 Note: This field may return null, indicating that no valid value can be obtained.
- switch string
- Whether to enable force redirect.
- redirect
Status numberCode - Redirection status code.
- 301
- 302 Note: This field may return null, indicating that no valid value can be obtained.
- switch str
- Whether to enable force redirect.
- redirect_
status_ floatcode - Redirection status code.
- 301
- 302 Note: This field may return null, indicating that no valid value can be obtained.
- switch String
- Whether to enable force redirect.
- redirect
Status NumberCode - Redirection status code.
- 301
- 302 Note: This field may return null, indicating that no valid value can be obtained.
TeoZoneSettingHttps, TeoZoneSettingHttpsArgs
- Hsts
Teo
Zone Setting Https Hsts - HSTS Configuration. Note: This field may return null, indicating that no valid value can be obtained.
- Http2 string
- HTTP2 configuration switch.
- Ocsp
Stapling string - OCSP configuration switch.
- Tls
Versions List<string> - TLS version settings. Valid values:
TLSv1
,TLSV1.1
,TLSV1.2
, andTLSv1.3
. Only consecutive versions can be enabled at the same time. Note: This field may return null, indicating that no valid value can be obtained.
- Hsts
Teo
Zone Setting Https Hsts - HSTS Configuration. Note: This field may return null, indicating that no valid value can be obtained.
- Http2 string
- HTTP2 configuration switch.
- Ocsp
Stapling string - OCSP configuration switch.
- Tls
Versions []string - TLS version settings. Valid values:
TLSv1
,TLSV1.1
,TLSV1.2
, andTLSv1.3
. Only consecutive versions can be enabled at the same time. Note: This field may return null, indicating that no valid value can be obtained.
- hsts
Teo
Zone Setting Https Hsts - HSTS Configuration. Note: This field may return null, indicating that no valid value can be obtained.
- http2 String
- HTTP2 configuration switch.
- ocsp
Stapling String - OCSP configuration switch.
- tls
Versions List<String> - TLS version settings. Valid values:
TLSv1
,TLSV1.1
,TLSV1.2
, andTLSv1.3
. Only consecutive versions can be enabled at the same time. Note: This field may return null, indicating that no valid value can be obtained.
- hsts
Teo
Zone Setting Https Hsts - HSTS Configuration. Note: This field may return null, indicating that no valid value can be obtained.
- http2 string
- HTTP2 configuration switch.
- ocsp
Stapling string - OCSP configuration switch.
- tls
Versions string[] - TLS version settings. Valid values:
TLSv1
,TLSV1.1
,TLSV1.2
, andTLSv1.3
. Only consecutive versions can be enabled at the same time. Note: This field may return null, indicating that no valid value can be obtained.
- hsts
Teo
Zone Setting Https Hsts - HSTS Configuration. Note: This field may return null, indicating that no valid value can be obtained.
- http2 str
- HTTP2 configuration switch.
- ocsp_
stapling str - OCSP configuration switch.
- tls_
versions Sequence[str] - TLS version settings. Valid values:
TLSv1
,TLSV1.1
,TLSV1.2
, andTLSv1.3
. Only consecutive versions can be enabled at the same time. Note: This field may return null, indicating that no valid value can be obtained.
- hsts Property Map
- HSTS Configuration. Note: This field may return null, indicating that no valid value can be obtained.
- http2 String
- HTTP2 configuration switch.
- ocsp
Stapling String - OCSP configuration switch.
- tls
Versions List<String> - TLS version settings. Valid values:
TLSv1
,TLSV1.1
,TLSV1.2
, andTLSv1.3
. Only consecutive versions can be enabled at the same time. Note: This field may return null, indicating that no valid value can be obtained.
TeoZoneSettingHttpsHsts, TeoZoneSettingHttpsHstsArgs
- Switch string
on
: Enable.- Include
Sub stringDomains - Specifies whether to include subdomain names. Valid values:
on
andoff
. Note: This field may return null, indicating that no valid value can be obtained. - Max
Age double - MaxAge value in seconds, should be no more than 1 day. Note: This field may return null, indicating that no valid value can be obtained.
- Preload string
- Specifies whether to preload. Valid values:
on
andoff
. Note: This field may return null, indicating that no valid value can be obtained.
- Switch string
on
: Enable.- Include
Sub stringDomains - Specifies whether to include subdomain names. Valid values:
on
andoff
. Note: This field may return null, indicating that no valid value can be obtained. - Max
Age float64 - MaxAge value in seconds, should be no more than 1 day. Note: This field may return null, indicating that no valid value can be obtained.
- Preload string
- Specifies whether to preload. Valid values:
on
andoff
. Note: This field may return null, indicating that no valid value can be obtained.
- switch_ String
on
: Enable.- include
Sub StringDomains - Specifies whether to include subdomain names. Valid values:
on
andoff
. Note: This field may return null, indicating that no valid value can be obtained. - max
Age Double - MaxAge value in seconds, should be no more than 1 day. Note: This field may return null, indicating that no valid value can be obtained.
- preload String
- Specifies whether to preload. Valid values:
on
andoff
. Note: This field may return null, indicating that no valid value can be obtained.
- switch string
on
: Enable.- include
Sub stringDomains - Specifies whether to include subdomain names. Valid values:
on
andoff
. Note: This field may return null, indicating that no valid value can be obtained. - max
Age number - MaxAge value in seconds, should be no more than 1 day. Note: This field may return null, indicating that no valid value can be obtained.
- preload string
- Specifies whether to preload. Valid values:
on
andoff
. Note: This field may return null, indicating that no valid value can be obtained.
- switch str
on
: Enable.- include_
sub_ strdomains - Specifies whether to include subdomain names. Valid values:
on
andoff
. Note: This field may return null, indicating that no valid value can be obtained. - max_
age float - MaxAge value in seconds, should be no more than 1 day. Note: This field may return null, indicating that no valid value can be obtained.
- preload str
- Specifies whether to preload. Valid values:
on
andoff
. Note: This field may return null, indicating that no valid value can be obtained.
- switch String
on
: Enable.- include
Sub StringDomains - Specifies whether to include subdomain names. Valid values:
on
andoff
. Note: This field may return null, indicating that no valid value can be obtained. - max
Age Number - MaxAge value in seconds, should be no more than 1 day. Note: This field may return null, indicating that no valid value can be obtained.
- preload String
- Specifies whether to preload. Valid values:
on
andoff
. Note: This field may return null, indicating that no valid value can be obtained.
TeoZoneSettingIpv6, TeoZoneSettingIpv6Args
- Switch string
on
: Enable.
- Switch string
on
: Enable.
- switch_ String
on
: Enable.
- switch string
on
: Enable.
- switch str
on
: Enable.
- switch String
on
: Enable.
TeoZoneSettingMaxAge, TeoZoneSettingMaxAgeArgs
- Follow
Origin string - Specifies whether to follow the max cache age of the origin server.
- Max
Age doubleTime - Specifies the max age of the cache (in seconds). The maximum value is 365 days. Note: the value 0 means not to cache. Note: This field may return null, indicating that no valid value can be obtained.
- Follow
Origin string - Specifies whether to follow the max cache age of the origin server.
- Max
Age float64Time - Specifies the max age of the cache (in seconds). The maximum value is 365 days. Note: the value 0 means not to cache. Note: This field may return null, indicating that no valid value can be obtained.
- follow
Origin String - Specifies whether to follow the max cache age of the origin server.
- max
Age DoubleTime - Specifies the max age of the cache (in seconds). The maximum value is 365 days. Note: the value 0 means not to cache. Note: This field may return null, indicating that no valid value can be obtained.
- follow
Origin string - Specifies whether to follow the max cache age of the origin server.
- max
Age numberTime - Specifies the max age of the cache (in seconds). The maximum value is 365 days. Note: the value 0 means not to cache. Note: This field may return null, indicating that no valid value can be obtained.
- follow_
origin str - Specifies whether to follow the max cache age of the origin server.
- max_
age_ floattime - Specifies the max age of the cache (in seconds). The maximum value is 365 days. Note: the value 0 means not to cache. Note: This field may return null, indicating that no valid value can be obtained.
- follow
Origin String - Specifies whether to follow the max cache age of the origin server.
- max
Age NumberTime - Specifies the max age of the cache (in seconds). The maximum value is 365 days. Note: the value 0 means not to cache. Note: This field may return null, indicating that no valid value can be obtained.
TeoZoneSettingOfflineCache, TeoZoneSettingOfflineCacheArgs
- Switch string
- Whether to enable offline cache.
- Switch string
- Whether to enable offline cache.
- switch_ String
- Whether to enable offline cache.
- switch string
- Whether to enable offline cache.
- switch str
- Whether to enable offline cache.
- switch String
- Whether to enable offline cache.
TeoZoneSettingOrigin, TeoZoneSettingOriginArgs
- Backup
Origins List<string> - Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
- Origin
Pull stringProtocol - Origin-pull protocol.
- Origins List<string>
- Origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
- Backup
Origins []string - Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
- Origin
Pull stringProtocol - Origin-pull protocol.
- Origins []string
- Origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
- backup
Origins List<String> - Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
- origin
Pull StringProtocol - Origin-pull protocol.
- origins List<String>
- Origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
- backup
Origins string[] - Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
- origin
Pull stringProtocol - Origin-pull protocol.
- origins string[]
- Origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
- backup_
origins Sequence[str] - Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
- origin_
pull_ strprotocol - Origin-pull protocol.
- origins Sequence[str]
- Origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
- backup
Origins List<String> - Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
- origin
Pull StringProtocol - Origin-pull protocol.
- origins List<String>
- Origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
TeoZoneSettingPostMaxSize, TeoZoneSettingPostMaxSizeArgs
TeoZoneSettingQuic, TeoZoneSettingQuicArgs
- Switch string
- Whether to enable QUIC.
- Switch string
- Whether to enable QUIC.
- switch_ String
- Whether to enable QUIC.
- switch string
- Whether to enable QUIC.
- switch str
- Whether to enable QUIC.
- switch String
- Whether to enable QUIC.
TeoZoneSettingSmartRouting, TeoZoneSettingSmartRoutingArgs
- Switch string
- Whether to enable smart acceleration.
- Switch string
- Whether to enable smart acceleration.
- switch_ String
- Whether to enable smart acceleration.
- switch string
- Whether to enable smart acceleration.
- switch str
- Whether to enable smart acceleration.
- switch String
- Whether to enable smart acceleration.
TeoZoneSettingUpstreamHttp2, TeoZoneSettingUpstreamHttp2Args
- Switch string
- Whether to enable HTTP2 origin-pull.
- Switch string
- Whether to enable HTTP2 origin-pull.
- switch_ String
- Whether to enable HTTP2 origin-pull.
- switch string
- Whether to enable HTTP2 origin-pull.
- switch str
- Whether to enable HTTP2 origin-pull.
- switch String
- Whether to enable HTTP2 origin-pull.
TeoZoneSettingWebSocket, TeoZoneSettingWebSocketArgs
Import
teo zone_setting can be imported using the zone_id, e.g.
$ pulumi import tencentcloud:index/teoZoneSetting:TeoZoneSetting zone_setting zone-297z8rf93cfw#
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.