1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TeoZoneSetting
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.TeoZoneSetting

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    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:

    ZoneId string
    Site ID.
    Cache TeoZoneSettingCache
    Cache expiration time configuration.
    CacheKey TeoZoneSettingCacheKey
    Node cache key configuration.
    CachePrefresh TeoZoneSettingCachePrefresh
    Cache pre-refresh configuration.
    ClientIpHeader TeoZoneSettingClientIpHeader
    Origin-pull client IP header configuration.
    Compression TeoZoneSettingCompression
    Smart compression configuration.
    ForceRedirect TeoZoneSettingForceRedirect
    Force HTTPS redirect configuration.
    Https TeoZoneSettingHttps
    HTTPS acceleration configuration.
    Ipv6 TeoZoneSettingIpv6
    IPv6 access configuration.
    MaxAge TeoZoneSettingMaxAge
    Browser cache configuration.
    OfflineCache TeoZoneSettingOfflineCache
    Offline cache configuration.
    Origin TeoZoneSettingOrigin
    Origin server configuration.
    PostMaxSize TeoZoneSettingPostMaxSize
    Maximum size of files transferred over POST request.
    Quic TeoZoneSettingQuic
    QUIC access configuration.
    SmartRouting TeoZoneSettingSmartRouting
    Smart acceleration configuration.
    TeoZoneSettingId string
    ID of the resource.
    UpstreamHttp2 TeoZoneSettingUpstreamHttp2
    HTTP2 origin-pull configuration.
    WebSocket TeoZoneSettingWebSocket
    WebSocket configuration.
    ZoneId string
    Site ID.
    Cache TeoZoneSettingCacheArgs
    Cache expiration time configuration.
    CacheKey TeoZoneSettingCacheKeyArgs
    Node cache key configuration.
    CachePrefresh TeoZoneSettingCachePrefreshArgs
    Cache pre-refresh configuration.
    ClientIpHeader TeoZoneSettingClientIpHeaderArgs
    Origin-pull client IP header configuration.
    Compression TeoZoneSettingCompressionArgs
    Smart compression configuration.
    ForceRedirect TeoZoneSettingForceRedirectArgs
    Force HTTPS redirect configuration.
    Https TeoZoneSettingHttpsArgs
    HTTPS acceleration configuration.
    Ipv6 TeoZoneSettingIpv6Args
    IPv6 access configuration.
    MaxAge TeoZoneSettingMaxAgeArgs
    Browser cache configuration.
    OfflineCache TeoZoneSettingOfflineCacheArgs
    Offline cache configuration.
    Origin TeoZoneSettingOriginArgs
    Origin server configuration.
    PostMaxSize TeoZoneSettingPostMaxSizeArgs
    Maximum size of files transferred over POST request.
    Quic TeoZoneSettingQuicArgs
    QUIC access configuration.
    SmartRouting TeoZoneSettingSmartRoutingArgs
    Smart acceleration configuration.
    TeoZoneSettingId string
    ID of the resource.
    UpstreamHttp2 TeoZoneSettingUpstreamHttp2Args
    HTTP2 origin-pull configuration.
    WebSocket TeoZoneSettingWebSocketArgs
    WebSocket configuration.
    zoneId String
    Site ID.
    cache TeoZoneSettingCache
    Cache expiration time configuration.
    cacheKey TeoZoneSettingCacheKey
    Node cache key configuration.
    cachePrefresh TeoZoneSettingCachePrefresh
    Cache pre-refresh configuration.
    clientIpHeader TeoZoneSettingClientIpHeader
    Origin-pull client IP header configuration.
    compression TeoZoneSettingCompression
    Smart compression configuration.
    forceRedirect TeoZoneSettingForceRedirect
    Force HTTPS redirect configuration.
    https TeoZoneSettingHttps
    HTTPS acceleration configuration.
    ipv6 TeoZoneSettingIpv6
    IPv6 access configuration.
    maxAge TeoZoneSettingMaxAge
    Browser cache configuration.
    offlineCache TeoZoneSettingOfflineCache
    Offline cache configuration.
    origin TeoZoneSettingOrigin
    Origin server configuration.
    postMaxSize TeoZoneSettingPostMaxSize
    Maximum size of files transferred over POST request.
    quic TeoZoneSettingQuic
    QUIC access configuration.
    smartRouting TeoZoneSettingSmartRouting
    Smart acceleration configuration.
    teoZoneSettingId String
    ID of the resource.
    upstreamHttp2 TeoZoneSettingUpstreamHttp2
    HTTP2 origin-pull configuration.
    webSocket TeoZoneSettingWebSocket
    WebSocket configuration.
    zoneId string
    Site ID.
    cache TeoZoneSettingCache
    Cache expiration time configuration.
    cacheKey TeoZoneSettingCacheKey
    Node cache key configuration.
    cachePrefresh TeoZoneSettingCachePrefresh
    Cache pre-refresh configuration.
    clientIpHeader TeoZoneSettingClientIpHeader
    Origin-pull client IP header configuration.
    compression TeoZoneSettingCompression
    Smart compression configuration.
    forceRedirect TeoZoneSettingForceRedirect
    Force HTTPS redirect configuration.
    https TeoZoneSettingHttps
    HTTPS acceleration configuration.
    ipv6 TeoZoneSettingIpv6
    IPv6 access configuration.
    maxAge TeoZoneSettingMaxAge
    Browser cache configuration.
    offlineCache TeoZoneSettingOfflineCache
    Offline cache configuration.
    origin TeoZoneSettingOrigin
    Origin server configuration.
    postMaxSize TeoZoneSettingPostMaxSize
    Maximum size of files transferred over POST request.
    quic TeoZoneSettingQuic
    QUIC access configuration.
    smartRouting TeoZoneSettingSmartRouting
    Smart acceleration configuration.
    teoZoneSettingId string
    ID of the resource.
    upstreamHttp2 TeoZoneSettingUpstreamHttp2
    HTTP2 origin-pull configuration.
    webSocket TeoZoneSettingWebSocket
    WebSocket configuration.
    zone_id str
    Site ID.
    cache TeoZoneSettingCacheArgs
    Cache expiration time configuration.
    cache_key TeoZoneSettingCacheKeyArgs
    Node cache key configuration.
    cache_prefresh TeoZoneSettingCachePrefreshArgs
    Cache pre-refresh configuration.
    client_ip_header TeoZoneSettingClientIpHeaderArgs
    Origin-pull client IP header configuration.
    compression TeoZoneSettingCompressionArgs
    Smart compression configuration.
    force_redirect TeoZoneSettingForceRedirectArgs
    Force HTTPS redirect configuration.
    https TeoZoneSettingHttpsArgs
    HTTPS acceleration configuration.
    ipv6 TeoZoneSettingIpv6Args
    IPv6 access configuration.
    max_age TeoZoneSettingMaxAgeArgs
    Browser cache configuration.
    offline_cache TeoZoneSettingOfflineCacheArgs
    Offline cache configuration.
    origin TeoZoneSettingOriginArgs
    Origin server configuration.
    post_max_size TeoZoneSettingPostMaxSizeArgs
    Maximum size of files transferred over POST request.
    quic TeoZoneSettingQuicArgs
    QUIC access configuration.
    smart_routing TeoZoneSettingSmartRoutingArgs
    Smart acceleration configuration.
    teo_zone_setting_id str
    ID of the resource.
    upstream_http2 TeoZoneSettingUpstreamHttp2Args
    HTTP2 origin-pull configuration.
    web_socket TeoZoneSettingWebSocketArgs
    WebSocket configuration.
    zoneId String
    Site ID.
    cache Property Map
    Cache expiration time configuration.
    cacheKey Property Map
    Node cache key configuration.
    cachePrefresh Property Map
    Cache pre-refresh configuration.
    clientIpHeader Property Map
    Origin-pull client IP header configuration.
    compression Property Map
    Smart compression configuration.
    forceRedirect Property Map
    Force HTTPS redirect configuration.
    https Property Map
    HTTPS acceleration configuration.
    ipv6 Property Map
    IPv6 access configuration.
    maxAge Property Map
    Browser cache configuration.
    offlineCache Property Map
    Offline cache configuration.
    origin Property Map
    Origin server configuration.
    postMaxSize Property Map
    Maximum size of files transferred over POST request.
    quic Property Map
    QUIC access configuration.
    smartRouting Property Map
    Smart acceleration configuration.
    teoZoneSettingId String
    ID of the resource.
    upstreamHttp2 Property Map
    HTTP2 origin-pull configuration.
    webSocket Property Map
    WebSocket configuration.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TeoZoneSetting resource produces the following output properties:

    Area string
    Acceleration area of the zone. Valid values: mainland, overseas.
    Id string
    The provider-assigned unique ID for this managed resource.
    Area string
    Acceleration area of the zone. Valid values: mainland, overseas.
    Id string
    The provider-assigned unique ID for this managed resource.
    area String
    Acceleration area of the zone. Valid values: mainland, overseas.
    id String
    The provider-assigned unique ID for this managed resource.
    area string
    Acceleration area of the zone. Valid values: mainland, overseas.
    id string
    The provider-assigned unique ID for this managed resource.
    area str
    Acceleration area of the zone. Valid values: mainland, overseas.
    id str
    The provider-assigned unique ID for this managed resource.
    area String
    Acceleration area of the zone. Valid values: mainland, overseas.
    id String
    The provider-assigned unique ID for this managed resource.

    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.
    The following state arguments are supported:
    Area string
    Acceleration area of the zone. Valid values: mainland, overseas.
    Cache TeoZoneSettingCache
    Cache expiration time configuration.
    CacheKey TeoZoneSettingCacheKey
    Node cache key configuration.
    CachePrefresh TeoZoneSettingCachePrefresh
    Cache pre-refresh configuration.
    ClientIpHeader TeoZoneSettingClientIpHeader
    Origin-pull client IP header configuration.
    Compression TeoZoneSettingCompression
    Smart compression configuration.
    ForceRedirect TeoZoneSettingForceRedirect
    Force HTTPS redirect configuration.
    Https TeoZoneSettingHttps
    HTTPS acceleration configuration.
    Ipv6 TeoZoneSettingIpv6
    IPv6 access configuration.
    MaxAge TeoZoneSettingMaxAge
    Browser cache configuration.
    OfflineCache TeoZoneSettingOfflineCache
    Offline cache configuration.
    Origin TeoZoneSettingOrigin
    Origin server configuration.
    PostMaxSize TeoZoneSettingPostMaxSize
    Maximum size of files transferred over POST request.
    Quic TeoZoneSettingQuic
    QUIC access configuration.
    SmartRouting TeoZoneSettingSmartRouting
    Smart acceleration configuration.
    TeoZoneSettingId string
    ID of the resource.
    UpstreamHttp2 TeoZoneSettingUpstreamHttp2
    HTTP2 origin-pull configuration.
    WebSocket TeoZoneSettingWebSocket
    WebSocket configuration.
    ZoneId string
    Site ID.
    Area string
    Acceleration area of the zone. Valid values: mainland, overseas.
    Cache TeoZoneSettingCacheArgs
    Cache expiration time configuration.
    CacheKey TeoZoneSettingCacheKeyArgs
    Node cache key configuration.
    CachePrefresh TeoZoneSettingCachePrefreshArgs
    Cache pre-refresh configuration.
    ClientIpHeader TeoZoneSettingClientIpHeaderArgs
    Origin-pull client IP header configuration.
    Compression TeoZoneSettingCompressionArgs
    Smart compression configuration.
    ForceRedirect TeoZoneSettingForceRedirectArgs
    Force HTTPS redirect configuration.
    Https TeoZoneSettingHttpsArgs
    HTTPS acceleration configuration.
    Ipv6 TeoZoneSettingIpv6Args
    IPv6 access configuration.
    MaxAge TeoZoneSettingMaxAgeArgs
    Browser cache configuration.
    OfflineCache TeoZoneSettingOfflineCacheArgs
    Offline cache configuration.
    Origin TeoZoneSettingOriginArgs
    Origin server configuration.
    PostMaxSize TeoZoneSettingPostMaxSizeArgs
    Maximum size of files transferred over POST request.
    Quic TeoZoneSettingQuicArgs
    QUIC access configuration.
    SmartRouting TeoZoneSettingSmartRoutingArgs
    Smart acceleration configuration.
    TeoZoneSettingId string
    ID of the resource.
    UpstreamHttp2 TeoZoneSettingUpstreamHttp2Args
    HTTP2 origin-pull configuration.
    WebSocket TeoZoneSettingWebSocketArgs
    WebSocket configuration.
    ZoneId string
    Site ID.
    area String
    Acceleration area of the zone. Valid values: mainland, overseas.
    cache TeoZoneSettingCache
    Cache expiration time configuration.
    cacheKey TeoZoneSettingCacheKey
    Node cache key configuration.
    cachePrefresh TeoZoneSettingCachePrefresh
    Cache pre-refresh configuration.
    clientIpHeader TeoZoneSettingClientIpHeader
    Origin-pull client IP header configuration.
    compression TeoZoneSettingCompression
    Smart compression configuration.
    forceRedirect TeoZoneSettingForceRedirect
    Force HTTPS redirect configuration.
    https TeoZoneSettingHttps
    HTTPS acceleration configuration.
    ipv6 TeoZoneSettingIpv6
    IPv6 access configuration.
    maxAge TeoZoneSettingMaxAge
    Browser cache configuration.
    offlineCache TeoZoneSettingOfflineCache
    Offline cache configuration.
    origin TeoZoneSettingOrigin
    Origin server configuration.
    postMaxSize TeoZoneSettingPostMaxSize
    Maximum size of files transferred over POST request.
    quic TeoZoneSettingQuic
    QUIC access configuration.
    smartRouting TeoZoneSettingSmartRouting
    Smart acceleration configuration.
    teoZoneSettingId String
    ID of the resource.
    upstreamHttp2 TeoZoneSettingUpstreamHttp2
    HTTP2 origin-pull configuration.
    webSocket TeoZoneSettingWebSocket
    WebSocket configuration.
    zoneId String
    Site ID.
    area string
    Acceleration area of the zone. Valid values: mainland, overseas.
    cache TeoZoneSettingCache
    Cache expiration time configuration.
    cacheKey TeoZoneSettingCacheKey
    Node cache key configuration.
    cachePrefresh TeoZoneSettingCachePrefresh
    Cache pre-refresh configuration.
    clientIpHeader TeoZoneSettingClientIpHeader
    Origin-pull client IP header configuration.
    compression TeoZoneSettingCompression
    Smart compression configuration.
    forceRedirect TeoZoneSettingForceRedirect
    Force HTTPS redirect configuration.
    https TeoZoneSettingHttps
    HTTPS acceleration configuration.
    ipv6 TeoZoneSettingIpv6
    IPv6 access configuration.
    maxAge TeoZoneSettingMaxAge
    Browser cache configuration.
    offlineCache TeoZoneSettingOfflineCache
    Offline cache configuration.
    origin TeoZoneSettingOrigin
    Origin server configuration.
    postMaxSize TeoZoneSettingPostMaxSize
    Maximum size of files transferred over POST request.
    quic TeoZoneSettingQuic
    QUIC access configuration.
    smartRouting TeoZoneSettingSmartRouting
    Smart acceleration configuration.
    teoZoneSettingId string
    ID of the resource.
    upstreamHttp2 TeoZoneSettingUpstreamHttp2
    HTTP2 origin-pull configuration.
    webSocket TeoZoneSettingWebSocket
    WebSocket configuration.
    zoneId string
    Site ID.
    area str
    Acceleration area of the zone. Valid values: mainland, overseas.
    cache TeoZoneSettingCacheArgs
    Cache expiration time configuration.
    cache_key TeoZoneSettingCacheKeyArgs
    Node cache key configuration.
    cache_prefresh TeoZoneSettingCachePrefreshArgs
    Cache pre-refresh configuration.
    client_ip_header TeoZoneSettingClientIpHeaderArgs
    Origin-pull client IP header configuration.
    compression TeoZoneSettingCompressionArgs
    Smart compression configuration.
    force_redirect TeoZoneSettingForceRedirectArgs
    Force HTTPS redirect configuration.
    https TeoZoneSettingHttpsArgs
    HTTPS acceleration configuration.
    ipv6 TeoZoneSettingIpv6Args
    IPv6 access configuration.
    max_age TeoZoneSettingMaxAgeArgs
    Browser cache configuration.
    offline_cache TeoZoneSettingOfflineCacheArgs
    Offline cache configuration.
    origin TeoZoneSettingOriginArgs
    Origin server configuration.
    post_max_size TeoZoneSettingPostMaxSizeArgs
    Maximum size of files transferred over POST request.
    quic TeoZoneSettingQuicArgs
    QUIC access configuration.
    smart_routing TeoZoneSettingSmartRoutingArgs
    Smart acceleration configuration.
    teo_zone_setting_id str
    ID of the resource.
    upstream_http2 TeoZoneSettingUpstreamHttp2Args
    HTTP2 origin-pull configuration.
    web_socket TeoZoneSettingWebSocketArgs
    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.
    cacheKey Property Map
    Node cache key configuration.
    cachePrefresh Property Map
    Cache pre-refresh configuration.
    clientIpHeader Property Map
    Origin-pull client IP header configuration.
    compression Property Map
    Smart compression configuration.
    forceRedirect Property Map
    Force HTTPS redirect configuration.
    https Property Map
    HTTPS acceleration configuration.
    ipv6 Property Map
    IPv6 access configuration.
    maxAge Property Map
    Browser cache configuration.
    offlineCache Property Map
    Offline cache configuration.
    origin Property Map
    Origin server configuration.
    postMaxSize Property Map
    Maximum size of files transferred over POST request.
    quic Property Map
    QUIC access configuration.
    smartRouting Property Map
    Smart acceleration configuration.
    teoZoneSettingId String
    ID of the resource.
    upstreamHttp2 Property Map
    HTTP2 origin-pull configuration.
    webSocket Property Map
    WebSocket configuration.
    zoneId String
    Site ID.

    Supporting Types

    TeoZoneSettingCache, TeoZoneSettingCacheArgs

    Cache TeoZoneSettingCacheCache
    Cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
    FollowOrigin TeoZoneSettingCacheFollowOrigin
    Follows the origin server configuration. Note: This field may return null, indicating that no valid value can be obtained.
    NoCache TeoZoneSettingCacheNoCache
    No-cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
    Cache TeoZoneSettingCacheCache
    Cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
    FollowOrigin TeoZoneSettingCacheFollowOrigin
    Follows the origin server configuration. Note: This field may return null, indicating that no valid value can be obtained.
    NoCache TeoZoneSettingCacheNoCache
    No-cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
    cache TeoZoneSettingCacheCache
    Cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
    followOrigin TeoZoneSettingCacheFollowOrigin
    Follows the origin server configuration. Note: This field may return null, indicating that no valid value can be obtained.
    noCache TeoZoneSettingCacheNoCache
    No-cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
    cache TeoZoneSettingCacheCache
    Cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
    followOrigin TeoZoneSettingCacheFollowOrigin
    Follows the origin server configuration. Note: This field may return null, indicating that no valid value can be obtained.
    noCache TeoZoneSettingCacheNoCache
    No-cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
    cache TeoZoneSettingCacheCache
    Cache configuration. Note: This field may return null, indicating that no valid value can be obtained.
    follow_origin TeoZoneSettingCacheFollowOrigin
    Follows the origin server configuration. Note: This field may return null, indicating that no valid value can be obtained.
    no_cache TeoZoneSettingCacheNoCache
    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.
    followOrigin Property Map
    Follows the origin server configuration. Note: This field may return null, indicating that no valid value can be obtained.
    noCache Property Map
    No-cache configuration. Note: This field may return null, indicating that no valid value can be obtained.

    TeoZoneSettingCacheCache, TeoZoneSettingCacheCacheArgs

    CacheTime 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.
    CacheTime 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.
    cacheTime 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.
    cacheTime 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.
    cacheTime 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

    FullUrlCache string
    Specifies whether to enable full-path cache.
    IgnoreCase string
    Specifies whether the cache key is case-sensitive. Note: This field may return null, indicating that no valid value can be obtained.
    QueryString TeoZoneSettingCacheKeyQueryString
    Request parameter contained in CacheKey. Note: This field may return null, indicating that no valid value can be obtained.
    FullUrlCache string
    Specifies whether to enable full-path cache.
    IgnoreCase string
    Specifies whether the cache key is case-sensitive. Note: This field may return null, indicating that no valid value can be obtained.
    QueryString TeoZoneSettingCacheKeyQueryString
    Request parameter contained in CacheKey. Note: This field may return null, indicating that no valid value can be obtained.
    fullUrlCache String
    Specifies whether to enable full-path cache.
    ignoreCase String
    Specifies whether the cache key is case-sensitive. Note: This field may return null, indicating that no valid value can be obtained.
    queryString TeoZoneSettingCacheKeyQueryString
    Request parameter contained in CacheKey. Note: This field may return null, indicating that no valid value can be obtained.
    fullUrlCache string
    Specifies whether to enable full-path cache.
    ignoreCase string
    Specifies whether the cache key is case-sensitive. Note: This field may return null, indicating that no valid value can be obtained.
    queryString TeoZoneSettingCacheKeyQueryString
    Request parameter contained in CacheKey. Note: This field may return null, indicating that no valid value can be obtained.
    full_url_cache str
    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 TeoZoneSettingCacheKeyQueryString
    Request parameter contained in CacheKey. Note: This field may return null, indicating that no valid value can be obtained.
    fullUrlCache String
    Specifies whether to enable full-path cache.
    ignoreCase String
    Specifies whether the cache key is case-sensitive. Note: This field may return null, indicating that no valid value can be obtained.
    queryString 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

    Switch string
    Specifies whether to enable cache prefresh.
    Percent double
    Percentage of cache time before try to prefresh. Valid value range: 1-99.
    Switch string
    Specifies whether to enable cache prefresh.
    Percent float64
    Percentage of cache time before try to prefresh. Valid value range: 1-99.
    switch_ String
    Specifies whether to enable cache prefresh.
    percent Double
    Percentage of cache time before try to prefresh. Valid value range: 1-99.
    switch string
    Specifies whether to enable cache prefresh.
    percent number
    Percentage of cache time before try to prefresh. Valid value range: 1-99.
    switch str
    Specifies whether to enable cache prefresh.
    percent float
    Percentage of cache time before try to prefresh. Valid value range: 1-99.
    switch String
    Specifies whether to enable cache prefresh.
    percent Number
    Percentage of cache time before try to prefresh. Valid value range: 1-99.

    TeoZoneSettingClientIpHeader, TeoZoneSettingClientIpHeaderArgs

    Switch string
    Specifies whether to enable client IP header.
    HeaderName 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.
    HeaderName 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.
    headerName 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.
    headerName 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.
    headerName 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.
    RedirectStatusCode double
    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.
    RedirectStatusCode float64
    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.
    redirectStatusCode Double
    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.
    redirectStatusCode number
    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_code float
    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.
    redirectStatusCode Number
    Redirection status code.

    • 301
    • 302 Note: This field may return null, indicating that no valid value can be obtained.

    TeoZoneSettingHttps, TeoZoneSettingHttpsArgs

    Hsts TeoZoneSettingHttpsHsts
    HSTS Configuration. Note: This field may return null, indicating that no valid value can be obtained.
    Http2 string
    HTTP2 configuration switch.
    OcspStapling string
    OCSP configuration switch.
    TlsVersions List<string>
    TLS version settings. Valid values: TLSv1, TLSV1.1, TLSV1.2, and TLSv1.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 TeoZoneSettingHttpsHsts
    HSTS Configuration. Note: This field may return null, indicating that no valid value can be obtained.
    Http2 string
    HTTP2 configuration switch.
    OcspStapling string
    OCSP configuration switch.
    TlsVersions []string
    TLS version settings. Valid values: TLSv1, TLSV1.1, TLSV1.2, and TLSv1.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 TeoZoneSettingHttpsHsts
    HSTS Configuration. Note: This field may return null, indicating that no valid value can be obtained.
    http2 String
    HTTP2 configuration switch.
    ocspStapling String
    OCSP configuration switch.
    tlsVersions List<String>
    TLS version settings. Valid values: TLSv1, TLSV1.1, TLSV1.2, and TLSv1.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 TeoZoneSettingHttpsHsts
    HSTS Configuration. Note: This field may return null, indicating that no valid value can be obtained.
    http2 string
    HTTP2 configuration switch.
    ocspStapling string
    OCSP configuration switch.
    tlsVersions string[]
    TLS version settings. Valid values: TLSv1, TLSV1.1, TLSV1.2, and TLSv1.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 TeoZoneSettingHttpsHsts
    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, and TLSv1.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.
    ocspStapling String
    OCSP configuration switch.
    tlsVersions List<String>
    TLS version settings. Valid values: TLSv1, TLSV1.1, TLSV1.2, and TLSv1.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.
    IncludeSubDomains string
    Specifies whether to include subdomain names. Valid values: on and off. Note: This field may return null, indicating that no valid value can be obtained.
    MaxAge 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 and off. Note: This field may return null, indicating that no valid value can be obtained.
    Switch string
    on: Enable.
    IncludeSubDomains string
    Specifies whether to include subdomain names. Valid values: on and off. Note: This field may return null, indicating that no valid value can be obtained.
    MaxAge 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 and off. Note: This field may return null, indicating that no valid value can be obtained.
    switch_ String
    on: Enable.
    includeSubDomains String
    Specifies whether to include subdomain names. Valid values: on and off. Note: This field may return null, indicating that no valid value can be obtained.
    maxAge 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 and off. Note: This field may return null, indicating that no valid value can be obtained.
    switch string
    on: Enable.
    includeSubDomains string
    Specifies whether to include subdomain names. Valid values: on and off. Note: This field may return null, indicating that no valid value can be obtained.
    maxAge 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 and off. Note: This field may return null, indicating that no valid value can be obtained.
    switch str
    on: Enable.
    include_sub_domains str
    Specifies whether to include subdomain names. Valid values: on and off. 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 and off. Note: This field may return null, indicating that no valid value can be obtained.
    switch String
    on: Enable.
    includeSubDomains String
    Specifies whether to include subdomain names. Valid values: on and off. Note: This field may return null, indicating that no valid value can be obtained.
    maxAge 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 and off. 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

    FollowOrigin string
    Specifies whether to follow the max cache age of the origin server.
    MaxAgeTime double
    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.
    FollowOrigin string
    Specifies whether to follow the max cache age of the origin server.
    MaxAgeTime float64
    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.
    followOrigin String
    Specifies whether to follow the max cache age of the origin server.
    maxAgeTime Double
    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.
    followOrigin string
    Specifies whether to follow the max cache age of the origin server.
    maxAgeTime number
    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_time float
    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.
    followOrigin String
    Specifies whether to follow the max cache age of the origin server.
    maxAgeTime Number
    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

    BackupOrigins List<string>
    Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
    OriginPullProtocol string
    Origin-pull protocol.
    Origins List<string>
    Origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
    BackupOrigins []string
    Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
    OriginPullProtocol string
    Origin-pull protocol.
    Origins []string
    Origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
    backupOrigins List<String>
    Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
    originPullProtocol String
    Origin-pull protocol.
    origins List<String>
    Origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
    backupOrigins string[]
    Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
    originPullProtocol string
    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_protocol str
    Origin-pull protocol.
    origins Sequence[str]
    Origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
    backupOrigins List<String>
    Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
    originPullProtocol String
    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

    Switch string
    Specifies whether to enable custom setting of the maximum file size.
    MaxSize double
    Maximum size. Value range: 1-500 MB. Note: This field may return null, indicating that no valid value can be obtained.
    Switch string
    Specifies whether to enable custom setting of the maximum file size.
    MaxSize float64
    Maximum size. Value range: 1-500 MB. Note: This field may return null, indicating that no valid value can be obtained.
    switch_ String
    Specifies whether to enable custom setting of the maximum file size.
    maxSize Double
    Maximum size. Value range: 1-500 MB. Note: This field may return null, indicating that no valid value can be obtained.
    switch string
    Specifies whether to enable custom setting of the maximum file size.
    maxSize number
    Maximum size. Value range: 1-500 MB. Note: This field may return null, indicating that no valid value can be obtained.
    switch str
    Specifies whether to enable custom setting of the maximum file size.
    max_size float
    Maximum size. Value range: 1-500 MB. Note: This field may return null, indicating that no valid value can be obtained.
    switch String
    Specifies whether to enable custom setting of the maximum file size.
    maxSize Number
    Maximum size. Value range: 1-500 MB. Note: This field may return null, indicating that no valid value can be obtained.

    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

    Switch string
    Whether to enable custom WebSocket timeout setting. When it's off: it means to keep the default WebSocket connection timeout period, which is 15 seconds. To change the timeout period, please set it to on.
    Timeout double
    Sets timeout period in seconds. Maximum value: 120.
    Switch string
    Whether to enable custom WebSocket timeout setting. When it's off: it means to keep the default WebSocket connection timeout period, which is 15 seconds. To change the timeout period, please set it to on.
    Timeout float64
    Sets timeout period in seconds. Maximum value: 120.
    switch_ String
    Whether to enable custom WebSocket timeout setting. When it's off: it means to keep the default WebSocket connection timeout period, which is 15 seconds. To change the timeout period, please set it to on.
    timeout Double
    Sets timeout period in seconds. Maximum value: 120.
    switch string
    Whether to enable custom WebSocket timeout setting. When it's off: it means to keep the default WebSocket connection timeout period, which is 15 seconds. To change the timeout period, please set it to on.
    timeout number
    Sets timeout period in seconds. Maximum value: 120.
    switch str
    Whether to enable custom WebSocket timeout setting. When it's off: it means to keep the default WebSocket connection timeout period, which is 15 seconds. To change the timeout period, please set it to on.
    timeout float
    Sets timeout period in seconds. Maximum value: 120.
    switch String
    Whether to enable custom WebSocket timeout setting. When it's off: it means to keep the default WebSocket connection timeout period, which is 15 seconds. To change the timeout period, please set it to on.
    timeout Number
    Sets timeout period in seconds. Maximum value: 120.

    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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack