1. Packages
  2. Gcore Provider
  3. API Docs
  4. CdnRuleTemplate
gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core

gcore.CdnRuleTemplate

Explore with Pulumi AI

gcore logo
gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core

    Represent CDN rule template

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const cdnExampleComRuleTemplate1 = new gcore.CdnRuleTemplate("cdnExampleComRuleTemplate1", {
        options: {
            edgeCacheSettings: {
                "default": "14d",
            },
            gzipOn: {
                value: true,
            },
            ignoreQueryString: {
                value: true,
            },
        },
        overrideOriginProtocol: "HTTPS",
        rule: "/folder/images/*.png",
        ruleType: 0,
        weight: 1,
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    cdn_example_com_rule_template1 = gcore.CdnRuleTemplate("cdnExampleComRuleTemplate1",
        options={
            "edge_cache_settings": {
                "default": "14d",
            },
            "gzip_on": {
                "value": True,
            },
            "ignore_query_string": {
                "value": True,
            },
        },
        override_origin_protocol="HTTPS",
        rule="/folder/images/*.png",
        rule_type=0,
        weight=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.NewCdnRuleTemplate(ctx, "cdnExampleComRuleTemplate1", &gcore.CdnRuleTemplateArgs{
    			Options: &gcore.CdnRuleTemplateOptionsArgs{
    				EdgeCacheSettings: &gcore.CdnRuleTemplateOptionsEdgeCacheSettingsArgs{
    					Default: pulumi.String("14d"),
    				},
    				GzipOn: &gcore.CdnRuleTemplateOptionsGzipOnArgs{
    					Value: pulumi.Bool(true),
    				},
    				IgnoreQueryString: &gcore.CdnRuleTemplateOptionsIgnoreQueryStringArgs{
    					Value: pulumi.Bool(true),
    				},
    			},
    			OverrideOriginProtocol: pulumi.String("HTTPS"),
    			Rule:                   pulumi.String("/folder/images/*.png"),
    			RuleType:               pulumi.Float64(0),
    			Weight:                 pulumi.Float64(1),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var cdnExampleComRuleTemplate1 = new Gcore.CdnRuleTemplate("cdnExampleComRuleTemplate1", new()
        {
            Options = new Gcore.Inputs.CdnRuleTemplateOptionsArgs
            {
                EdgeCacheSettings = new Gcore.Inputs.CdnRuleTemplateOptionsEdgeCacheSettingsArgs
                {
                    Default = "14d",
                },
                GzipOn = new Gcore.Inputs.CdnRuleTemplateOptionsGzipOnArgs
                {
                    Value = true,
                },
                IgnoreQueryString = new Gcore.Inputs.CdnRuleTemplateOptionsIgnoreQueryStringArgs
                {
                    Value = true,
                },
            },
            OverrideOriginProtocol = "HTTPS",
            Rule = "/folder/images/*.png",
            RuleType = 0,
            Weight = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.CdnRuleTemplate;
    import com.pulumi.gcore.CdnRuleTemplateArgs;
    import com.pulumi.gcore.inputs.CdnRuleTemplateOptionsArgs;
    import com.pulumi.gcore.inputs.CdnRuleTemplateOptionsEdgeCacheSettingsArgs;
    import com.pulumi.gcore.inputs.CdnRuleTemplateOptionsGzipOnArgs;
    import com.pulumi.gcore.inputs.CdnRuleTemplateOptionsIgnoreQueryStringArgs;
    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 cdnExampleComRuleTemplate1 = new CdnRuleTemplate("cdnExampleComRuleTemplate1", CdnRuleTemplateArgs.builder()
                .options(CdnRuleTemplateOptionsArgs.builder()
                    .edgeCacheSettings(CdnRuleTemplateOptionsEdgeCacheSettingsArgs.builder()
                        .default_("14d")
                        .build())
                    .gzipOn(CdnRuleTemplateOptionsGzipOnArgs.builder()
                        .value(true)
                        .build())
                    .ignoreQueryString(CdnRuleTemplateOptionsIgnoreQueryStringArgs.builder()
                        .value(true)
                        .build())
                    .build())
                .overrideOriginProtocol("HTTPS")
                .rule("/folder/images/*.png")
                .ruleType(0)
                .weight(1)
                .build());
    
        }
    }
    
    resources:
      cdnExampleComRuleTemplate1:
        type: gcore:CdnRuleTemplate
        properties:
          options:
            edgeCacheSettings:
              default: 14d
            gzipOn:
              value: true
            ignoreQueryString:
              value: true
          overrideOriginProtocol: HTTPS
          rule: /folder/images/*.png
          ruleType: 0
          weight: 1
    

    Create CdnRuleTemplate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CdnRuleTemplate(name: string, args: CdnRuleTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def CdnRuleTemplate(resource_name: str,
                        args: CdnRuleTemplateArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def CdnRuleTemplate(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        rule: Optional[str] = None,
                        rule_type: Optional[float] = None,
                        cdn_rule_template_id: Optional[str] = None,
                        name: Optional[str] = None,
                        options: Optional[CdnRuleTemplateOptionsArgs] = None,
                        override_origin_protocol: Optional[str] = None,
                        weight: Optional[float] = None)
    func NewCdnRuleTemplate(ctx *Context, name string, args CdnRuleTemplateArgs, opts ...ResourceOption) (*CdnRuleTemplate, error)
    public CdnRuleTemplate(string name, CdnRuleTemplateArgs args, CustomResourceOptions? opts = null)
    public CdnRuleTemplate(String name, CdnRuleTemplateArgs args)
    public CdnRuleTemplate(String name, CdnRuleTemplateArgs args, CustomResourceOptions options)
    
    type: gcore:CdnRuleTemplate
    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 CdnRuleTemplateArgs
    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 CdnRuleTemplateArgs
    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 CdnRuleTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdnRuleTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdnRuleTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cdnRuleTemplateResource = new Gcore.CdnRuleTemplate("cdnRuleTemplateResource", new()
    {
        Rule = "string",
        RuleType = 0,
        CdnRuleTemplateId = "string",
        Name = "string",
        Options = new Gcore.Inputs.CdnRuleTemplateOptionsArgs
        {
            AllowedHttpMethods = new Gcore.Inputs.CdnRuleTemplateOptionsAllowedHttpMethodsArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            BrotliCompression = new Gcore.Inputs.CdnRuleTemplateOptionsBrotliCompressionArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            BrowserCacheSettings = new Gcore.Inputs.CdnRuleTemplateOptionsBrowserCacheSettingsArgs
            {
                Enabled = false,
                Value = "string",
            },
            Cors = new Gcore.Inputs.CdnRuleTemplateOptionsCorsArgs
            {
                Values = new[]
                {
                    "string",
                },
                Always = false,
                Enabled = false,
            },
            CountryAcl = new Gcore.Inputs.CdnRuleTemplateOptionsCountryAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            DisableProxyForceRanges = new Gcore.Inputs.CdnRuleTemplateOptionsDisableProxyForceRangesArgs
            {
                Value = false,
                Enabled = false,
            },
            EdgeCacheSettings = new Gcore.Inputs.CdnRuleTemplateOptionsEdgeCacheSettingsArgs
            {
                CustomValues = 
                {
                    { "string", "string" },
                },
                Default = "string",
                Enabled = false,
                Value = "string",
            },
            Fastedge = new Gcore.Inputs.CdnRuleTemplateOptionsFastedgeArgs
            {
                Enabled = false,
                OnRequestBody = new Gcore.Inputs.CdnRuleTemplateOptionsFastedgeOnRequestBodyArgs
                {
                    AppId = "string",
                    Enabled = false,
                    ExecuteOnEdge = false,
                    ExecuteOnShield = false,
                    InterruptOnError = false,
                },
                OnRequestHeaders = new Gcore.Inputs.CdnRuleTemplateOptionsFastedgeOnRequestHeadersArgs
                {
                    AppId = "string",
                    Enabled = false,
                    ExecuteOnEdge = false,
                    ExecuteOnShield = false,
                    InterruptOnError = false,
                },
                OnResponseBody = new Gcore.Inputs.CdnRuleTemplateOptionsFastedgeOnResponseBodyArgs
                {
                    AppId = "string",
                    Enabled = false,
                    ExecuteOnEdge = false,
                    ExecuteOnShield = false,
                    InterruptOnError = false,
                },
                OnResponseHeaders = new Gcore.Inputs.CdnRuleTemplateOptionsFastedgeOnResponseHeadersArgs
                {
                    AppId = "string",
                    Enabled = false,
                    ExecuteOnEdge = false,
                    ExecuteOnShield = false,
                    InterruptOnError = false,
                },
            },
            FetchCompressed = new Gcore.Inputs.CdnRuleTemplateOptionsFetchCompressedArgs
            {
                Value = false,
                Enabled = false,
            },
            FollowOriginRedirect = new Gcore.Inputs.CdnRuleTemplateOptionsFollowOriginRedirectArgs
            {
                Codes = new[]
                {
                    0,
                },
                Enabled = false,
            },
            ForceReturn = new Gcore.Inputs.CdnRuleTemplateOptionsForceReturnArgs
            {
                Code = 0,
                Body = "string",
                Enabled = false,
            },
            ForwardHostHeader = new Gcore.Inputs.CdnRuleTemplateOptionsForwardHostHeaderArgs
            {
                Value = false,
                Enabled = false,
            },
            GzipOn = new Gcore.Inputs.CdnRuleTemplateOptionsGzipOnArgs
            {
                Value = false,
                Enabled = false,
            },
            HostHeader = new Gcore.Inputs.CdnRuleTemplateOptionsHostHeaderArgs
            {
                Value = "string",
                Enabled = false,
            },
            IgnoreCookie = new Gcore.Inputs.CdnRuleTemplateOptionsIgnoreCookieArgs
            {
                Value = false,
                Enabled = false,
            },
            IgnoreQueryString = new Gcore.Inputs.CdnRuleTemplateOptionsIgnoreQueryStringArgs
            {
                Value = false,
                Enabled = false,
            },
            ImageStack = new Gcore.Inputs.CdnRuleTemplateOptionsImageStackArgs
            {
                Quality = 0,
                AvifEnabled = false,
                Enabled = false,
                PngLossless = false,
                WebpEnabled = false,
            },
            IpAddressAcl = new Gcore.Inputs.CdnRuleTemplateOptionsIpAddressAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            LimitBandwidth = new Gcore.Inputs.CdnRuleTemplateOptionsLimitBandwidthArgs
            {
                LimitType = "string",
                Buffer = 0,
                Enabled = false,
                Speed = 0,
            },
            ProxyCacheKey = new Gcore.Inputs.CdnRuleTemplateOptionsProxyCacheKeyArgs
            {
                Value = "string",
                Enabled = false,
            },
            ProxyCacheMethodsSet = new Gcore.Inputs.CdnRuleTemplateOptionsProxyCacheMethodsSetArgs
            {
                Value = false,
                Enabled = false,
            },
            ProxyConnectTimeout = new Gcore.Inputs.CdnRuleTemplateOptionsProxyConnectTimeoutArgs
            {
                Value = "string",
                Enabled = false,
            },
            ProxyReadTimeout = new Gcore.Inputs.CdnRuleTemplateOptionsProxyReadTimeoutArgs
            {
                Value = "string",
                Enabled = false,
            },
            QueryParamsBlacklist = new Gcore.Inputs.CdnRuleTemplateOptionsQueryParamsBlacklistArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            QueryParamsWhitelist = new Gcore.Inputs.CdnRuleTemplateOptionsQueryParamsWhitelistArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            QueryStringForwarding = new Gcore.Inputs.CdnRuleTemplateOptionsQueryStringForwardingArgs
            {
                ForwardFromFileTypes = new[]
                {
                    "string",
                },
                ForwardToFileTypes = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            RedirectHttpToHttps = new Gcore.Inputs.CdnRuleTemplateOptionsRedirectHttpToHttpsArgs
            {
                Value = false,
                Enabled = false,
            },
            RedirectHttpsToHttp = new Gcore.Inputs.CdnRuleTemplateOptionsRedirectHttpsToHttpArgs
            {
                Value = false,
                Enabled = false,
            },
            ReferrerAcl = new Gcore.Inputs.CdnRuleTemplateOptionsReferrerAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            RequestLimiter = new Gcore.Inputs.CdnRuleTemplateOptionsRequestLimiterArgs
            {
                Burst = 0,
                Rate = 0,
                Delay = 0,
                Enabled = false,
                RateUnit = "string",
            },
            ResponseHeadersHidingPolicy = new Gcore.Inputs.CdnRuleTemplateOptionsResponseHeadersHidingPolicyArgs
            {
                Excepteds = new[]
                {
                    "string",
                },
                Mode = "string",
                Enabled = false,
            },
            Rewrite = new Gcore.Inputs.CdnRuleTemplateOptionsRewriteArgs
            {
                Body = "string",
                Enabled = false,
                Flag = "string",
            },
            SecureKey = new Gcore.Inputs.CdnRuleTemplateOptionsSecureKeyArgs
            {
                Key = "string",
                Type = 0,
                Enabled = false,
            },
            Slice = new Gcore.Inputs.CdnRuleTemplateOptionsSliceArgs
            {
                Value = false,
                Enabled = false,
            },
            Sni = new Gcore.Inputs.CdnRuleTemplateOptionsSniArgs
            {
                CustomHostname = "string",
                Enabled = false,
                SniType = "string",
            },
            Stale = new Gcore.Inputs.CdnRuleTemplateOptionsStaleArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            StaticRequestHeaders = new Gcore.Inputs.CdnRuleTemplateOptionsStaticRequestHeadersArgs
            {
                Value = 
                {
                    { "string", "string" },
                },
                Enabled = false,
            },
            StaticResponseHeaders = new Gcore.Inputs.CdnRuleTemplateOptionsStaticResponseHeadersArgs
            {
                Values = new[]
                {
                    new Gcore.Inputs.CdnRuleTemplateOptionsStaticResponseHeadersValueArgs
                    {
                        Name = "string",
                        Values = new[]
                        {
                            "string",
                        },
                        Always = false,
                    },
                },
                Enabled = false,
            },
            UserAgentAcl = new Gcore.Inputs.CdnRuleTemplateOptionsUserAgentAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            Waap = new Gcore.Inputs.CdnRuleTemplateOptionsWaapArgs
            {
                Value = false,
                Enabled = false,
            },
            Waf = new Gcore.Inputs.CdnRuleTemplateOptionsWafArgs
            {
                Value = false,
                Enabled = false,
            },
            Websockets = new Gcore.Inputs.CdnRuleTemplateOptionsWebsocketsArgs
            {
                Value = false,
                Enabled = false,
            },
        },
        OverrideOriginProtocol = "string",
        Weight = 0,
    });
    
    example, err := gcore.NewCdnRuleTemplate(ctx, "cdnRuleTemplateResource", &gcore.CdnRuleTemplateArgs{
    	Rule:              pulumi.String("string"),
    	RuleType:          pulumi.Float64(0),
    	CdnRuleTemplateId: pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	Options: &gcore.CdnRuleTemplateOptionsArgs{
    		AllowedHttpMethods: &gcore.CdnRuleTemplateOptionsAllowedHttpMethodsArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		BrotliCompression: &gcore.CdnRuleTemplateOptionsBrotliCompressionArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		BrowserCacheSettings: &gcore.CdnRuleTemplateOptionsBrowserCacheSettingsArgs{
    			Enabled: pulumi.Bool(false),
    			Value:   pulumi.String("string"),
    		},
    		Cors: &gcore.CdnRuleTemplateOptionsCorsArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Always:  pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		CountryAcl: &gcore.CdnRuleTemplateOptionsCountryAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		DisableProxyForceRanges: &gcore.CdnRuleTemplateOptionsDisableProxyForceRangesArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		EdgeCacheSettings: &gcore.CdnRuleTemplateOptionsEdgeCacheSettingsArgs{
    			CustomValues: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Default: pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    			Value:   pulumi.String("string"),
    		},
    		Fastedge: &gcore.CdnRuleTemplateOptionsFastedgeArgs{
    			Enabled: pulumi.Bool(false),
    			OnRequestBody: &gcore.CdnRuleTemplateOptionsFastedgeOnRequestBodyArgs{
    				AppId:            pulumi.String("string"),
    				Enabled:          pulumi.Bool(false),
    				ExecuteOnEdge:    pulumi.Bool(false),
    				ExecuteOnShield:  pulumi.Bool(false),
    				InterruptOnError: pulumi.Bool(false),
    			},
    			OnRequestHeaders: &gcore.CdnRuleTemplateOptionsFastedgeOnRequestHeadersArgs{
    				AppId:            pulumi.String("string"),
    				Enabled:          pulumi.Bool(false),
    				ExecuteOnEdge:    pulumi.Bool(false),
    				ExecuteOnShield:  pulumi.Bool(false),
    				InterruptOnError: pulumi.Bool(false),
    			},
    			OnResponseBody: &gcore.CdnRuleTemplateOptionsFastedgeOnResponseBodyArgs{
    				AppId:            pulumi.String("string"),
    				Enabled:          pulumi.Bool(false),
    				ExecuteOnEdge:    pulumi.Bool(false),
    				ExecuteOnShield:  pulumi.Bool(false),
    				InterruptOnError: pulumi.Bool(false),
    			},
    			OnResponseHeaders: &gcore.CdnRuleTemplateOptionsFastedgeOnResponseHeadersArgs{
    				AppId:            pulumi.String("string"),
    				Enabled:          pulumi.Bool(false),
    				ExecuteOnEdge:    pulumi.Bool(false),
    				ExecuteOnShield:  pulumi.Bool(false),
    				InterruptOnError: pulumi.Bool(false),
    			},
    		},
    		FetchCompressed: &gcore.CdnRuleTemplateOptionsFetchCompressedArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		FollowOriginRedirect: &gcore.CdnRuleTemplateOptionsFollowOriginRedirectArgs{
    			Codes: pulumi.Float64Array{
    				pulumi.Float64(0),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		ForceReturn: &gcore.CdnRuleTemplateOptionsForceReturnArgs{
    			Code:    pulumi.Float64(0),
    			Body:    pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		ForwardHostHeader: &gcore.CdnRuleTemplateOptionsForwardHostHeaderArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		GzipOn: &gcore.CdnRuleTemplateOptionsGzipOnArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		HostHeader: &gcore.CdnRuleTemplateOptionsHostHeaderArgs{
    			Value:   pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		IgnoreCookie: &gcore.CdnRuleTemplateOptionsIgnoreCookieArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		IgnoreQueryString: &gcore.CdnRuleTemplateOptionsIgnoreQueryStringArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		ImageStack: &gcore.CdnRuleTemplateOptionsImageStackArgs{
    			Quality:     pulumi.Float64(0),
    			AvifEnabled: pulumi.Bool(false),
    			Enabled:     pulumi.Bool(false),
    			PngLossless: pulumi.Bool(false),
    			WebpEnabled: pulumi.Bool(false),
    		},
    		IpAddressAcl: &gcore.CdnRuleTemplateOptionsIpAddressAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		LimitBandwidth: &gcore.CdnRuleTemplateOptionsLimitBandwidthArgs{
    			LimitType: pulumi.String("string"),
    			Buffer:    pulumi.Float64(0),
    			Enabled:   pulumi.Bool(false),
    			Speed:     pulumi.Float64(0),
    		},
    		ProxyCacheKey: &gcore.CdnRuleTemplateOptionsProxyCacheKeyArgs{
    			Value:   pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		ProxyCacheMethodsSet: &gcore.CdnRuleTemplateOptionsProxyCacheMethodsSetArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		ProxyConnectTimeout: &gcore.CdnRuleTemplateOptionsProxyConnectTimeoutArgs{
    			Value:   pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		ProxyReadTimeout: &gcore.CdnRuleTemplateOptionsProxyReadTimeoutArgs{
    			Value:   pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		QueryParamsBlacklist: &gcore.CdnRuleTemplateOptionsQueryParamsBlacklistArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		QueryParamsWhitelist: &gcore.CdnRuleTemplateOptionsQueryParamsWhitelistArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		QueryStringForwarding: &gcore.CdnRuleTemplateOptionsQueryStringForwardingArgs{
    			ForwardFromFileTypes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ForwardToFileTypes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		RedirectHttpToHttps: &gcore.CdnRuleTemplateOptionsRedirectHttpToHttpsArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		RedirectHttpsToHttp: &gcore.CdnRuleTemplateOptionsRedirectHttpsToHttpArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		ReferrerAcl: &gcore.CdnRuleTemplateOptionsReferrerAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		RequestLimiter: &gcore.CdnRuleTemplateOptionsRequestLimiterArgs{
    			Burst:    pulumi.Float64(0),
    			Rate:     pulumi.Float64(0),
    			Delay:    pulumi.Float64(0),
    			Enabled:  pulumi.Bool(false),
    			RateUnit: pulumi.String("string"),
    		},
    		ResponseHeadersHidingPolicy: &gcore.CdnRuleTemplateOptionsResponseHeadersHidingPolicyArgs{
    			Excepteds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Mode:    pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		Rewrite: &gcore.CdnRuleTemplateOptionsRewriteArgs{
    			Body:    pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    			Flag:    pulumi.String("string"),
    		},
    		SecureKey: &gcore.CdnRuleTemplateOptionsSecureKeyArgs{
    			Key:     pulumi.String("string"),
    			Type:    pulumi.Float64(0),
    			Enabled: pulumi.Bool(false),
    		},
    		Slice: &gcore.CdnRuleTemplateOptionsSliceArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		Sni: &gcore.CdnRuleTemplateOptionsSniArgs{
    			CustomHostname: pulumi.String("string"),
    			Enabled:        pulumi.Bool(false),
    			SniType:        pulumi.String("string"),
    		},
    		Stale: &gcore.CdnRuleTemplateOptionsStaleArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		StaticRequestHeaders: &gcore.CdnRuleTemplateOptionsStaticRequestHeadersArgs{
    			Value: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		StaticResponseHeaders: &gcore.CdnRuleTemplateOptionsStaticResponseHeadersArgs{
    			Values: gcore.CdnRuleTemplateOptionsStaticResponseHeadersValueArray{
    				&gcore.CdnRuleTemplateOptionsStaticResponseHeadersValueArgs{
    					Name: pulumi.String("string"),
    					Values: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Always: pulumi.Bool(false),
    				},
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		UserAgentAcl: &gcore.CdnRuleTemplateOptionsUserAgentAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		Waap: &gcore.CdnRuleTemplateOptionsWaapArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		Waf: &gcore.CdnRuleTemplateOptionsWafArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		Websockets: &gcore.CdnRuleTemplateOptionsWebsocketsArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    	},
    	OverrideOriginProtocol: pulumi.String("string"),
    	Weight:                 pulumi.Float64(0),
    })
    
    var cdnRuleTemplateResource = new CdnRuleTemplate("cdnRuleTemplateResource", CdnRuleTemplateArgs.builder()
        .rule("string")
        .ruleType(0)
        .cdnRuleTemplateId("string")
        .name("string")
        .options(CdnRuleTemplateOptionsArgs.builder()
            .allowedHttpMethods(CdnRuleTemplateOptionsAllowedHttpMethodsArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .brotliCompression(CdnRuleTemplateOptionsBrotliCompressionArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .browserCacheSettings(CdnRuleTemplateOptionsBrowserCacheSettingsArgs.builder()
                .enabled(false)
                .value("string")
                .build())
            .cors(CdnRuleTemplateOptionsCorsArgs.builder()
                .values("string")
                .always(false)
                .enabled(false)
                .build())
            .countryAcl(CdnRuleTemplateOptionsCountryAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .disableProxyForceRanges(CdnRuleTemplateOptionsDisableProxyForceRangesArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .edgeCacheSettings(CdnRuleTemplateOptionsEdgeCacheSettingsArgs.builder()
                .customValues(Map.of("string", "string"))
                .default_("string")
                .enabled(false)
                .value("string")
                .build())
            .fastedge(CdnRuleTemplateOptionsFastedgeArgs.builder()
                .enabled(false)
                .onRequestBody(CdnRuleTemplateOptionsFastedgeOnRequestBodyArgs.builder()
                    .appId("string")
                    .enabled(false)
                    .executeOnEdge(false)
                    .executeOnShield(false)
                    .interruptOnError(false)
                    .build())
                .onRequestHeaders(CdnRuleTemplateOptionsFastedgeOnRequestHeadersArgs.builder()
                    .appId("string")
                    .enabled(false)
                    .executeOnEdge(false)
                    .executeOnShield(false)
                    .interruptOnError(false)
                    .build())
                .onResponseBody(CdnRuleTemplateOptionsFastedgeOnResponseBodyArgs.builder()
                    .appId("string")
                    .enabled(false)
                    .executeOnEdge(false)
                    .executeOnShield(false)
                    .interruptOnError(false)
                    .build())
                .onResponseHeaders(CdnRuleTemplateOptionsFastedgeOnResponseHeadersArgs.builder()
                    .appId("string")
                    .enabled(false)
                    .executeOnEdge(false)
                    .executeOnShield(false)
                    .interruptOnError(false)
                    .build())
                .build())
            .fetchCompressed(CdnRuleTemplateOptionsFetchCompressedArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .followOriginRedirect(CdnRuleTemplateOptionsFollowOriginRedirectArgs.builder()
                .codes(0)
                .enabled(false)
                .build())
            .forceReturn(CdnRuleTemplateOptionsForceReturnArgs.builder()
                .code(0)
                .body("string")
                .enabled(false)
                .build())
            .forwardHostHeader(CdnRuleTemplateOptionsForwardHostHeaderArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .gzipOn(CdnRuleTemplateOptionsGzipOnArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .hostHeader(CdnRuleTemplateOptionsHostHeaderArgs.builder()
                .value("string")
                .enabled(false)
                .build())
            .ignoreCookie(CdnRuleTemplateOptionsIgnoreCookieArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .ignoreQueryString(CdnRuleTemplateOptionsIgnoreQueryStringArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .imageStack(CdnRuleTemplateOptionsImageStackArgs.builder()
                .quality(0)
                .avifEnabled(false)
                .enabled(false)
                .pngLossless(false)
                .webpEnabled(false)
                .build())
            .ipAddressAcl(CdnRuleTemplateOptionsIpAddressAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .limitBandwidth(CdnRuleTemplateOptionsLimitBandwidthArgs.builder()
                .limitType("string")
                .buffer(0)
                .enabled(false)
                .speed(0)
                .build())
            .proxyCacheKey(CdnRuleTemplateOptionsProxyCacheKeyArgs.builder()
                .value("string")
                .enabled(false)
                .build())
            .proxyCacheMethodsSet(CdnRuleTemplateOptionsProxyCacheMethodsSetArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .proxyConnectTimeout(CdnRuleTemplateOptionsProxyConnectTimeoutArgs.builder()
                .value("string")
                .enabled(false)
                .build())
            .proxyReadTimeout(CdnRuleTemplateOptionsProxyReadTimeoutArgs.builder()
                .value("string")
                .enabled(false)
                .build())
            .queryParamsBlacklist(CdnRuleTemplateOptionsQueryParamsBlacklistArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .queryParamsWhitelist(CdnRuleTemplateOptionsQueryParamsWhitelistArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .queryStringForwarding(CdnRuleTemplateOptionsQueryStringForwardingArgs.builder()
                .forwardFromFileTypes("string")
                .forwardToFileTypes("string")
                .enabled(false)
                .build())
            .redirectHttpToHttps(CdnRuleTemplateOptionsRedirectHttpToHttpsArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .redirectHttpsToHttp(CdnRuleTemplateOptionsRedirectHttpsToHttpArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .referrerAcl(CdnRuleTemplateOptionsReferrerAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .requestLimiter(CdnRuleTemplateOptionsRequestLimiterArgs.builder()
                .burst(0)
                .rate(0)
                .delay(0)
                .enabled(false)
                .rateUnit("string")
                .build())
            .responseHeadersHidingPolicy(CdnRuleTemplateOptionsResponseHeadersHidingPolicyArgs.builder()
                .excepteds("string")
                .mode("string")
                .enabled(false)
                .build())
            .rewrite(CdnRuleTemplateOptionsRewriteArgs.builder()
                .body("string")
                .enabled(false)
                .flag("string")
                .build())
            .secureKey(CdnRuleTemplateOptionsSecureKeyArgs.builder()
                .key("string")
                .type(0)
                .enabled(false)
                .build())
            .slice(CdnRuleTemplateOptionsSliceArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .sni(CdnRuleTemplateOptionsSniArgs.builder()
                .customHostname("string")
                .enabled(false)
                .sniType("string")
                .build())
            .stale(CdnRuleTemplateOptionsStaleArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .staticRequestHeaders(CdnRuleTemplateOptionsStaticRequestHeadersArgs.builder()
                .value(Map.of("string", "string"))
                .enabled(false)
                .build())
            .staticResponseHeaders(CdnRuleTemplateOptionsStaticResponseHeadersArgs.builder()
                .values(CdnRuleTemplateOptionsStaticResponseHeadersValueArgs.builder()
                    .name("string")
                    .values("string")
                    .always(false)
                    .build())
                .enabled(false)
                .build())
            .userAgentAcl(CdnRuleTemplateOptionsUserAgentAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .waap(CdnRuleTemplateOptionsWaapArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .waf(CdnRuleTemplateOptionsWafArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .websockets(CdnRuleTemplateOptionsWebsocketsArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .build())
        .overrideOriginProtocol("string")
        .weight(0)
        .build());
    
    cdn_rule_template_resource = gcore.CdnRuleTemplate("cdnRuleTemplateResource",
        rule="string",
        rule_type=0,
        cdn_rule_template_id="string",
        name="string",
        options={
            "allowed_http_methods": {
                "values": ["string"],
                "enabled": False,
            },
            "brotli_compression": {
                "values": ["string"],
                "enabled": False,
            },
            "browser_cache_settings": {
                "enabled": False,
                "value": "string",
            },
            "cors": {
                "values": ["string"],
                "always": False,
                "enabled": False,
            },
            "country_acl": {
                "excepted_values": ["string"],
                "policy_type": "string",
                "enabled": False,
            },
            "disable_proxy_force_ranges": {
                "value": False,
                "enabled": False,
            },
            "edge_cache_settings": {
                "custom_values": {
                    "string": "string",
                },
                "default": "string",
                "enabled": False,
                "value": "string",
            },
            "fastedge": {
                "enabled": False,
                "on_request_body": {
                    "app_id": "string",
                    "enabled": False,
                    "execute_on_edge": False,
                    "execute_on_shield": False,
                    "interrupt_on_error": False,
                },
                "on_request_headers": {
                    "app_id": "string",
                    "enabled": False,
                    "execute_on_edge": False,
                    "execute_on_shield": False,
                    "interrupt_on_error": False,
                },
                "on_response_body": {
                    "app_id": "string",
                    "enabled": False,
                    "execute_on_edge": False,
                    "execute_on_shield": False,
                    "interrupt_on_error": False,
                },
                "on_response_headers": {
                    "app_id": "string",
                    "enabled": False,
                    "execute_on_edge": False,
                    "execute_on_shield": False,
                    "interrupt_on_error": False,
                },
            },
            "fetch_compressed": {
                "value": False,
                "enabled": False,
            },
            "follow_origin_redirect": {
                "codes": [0],
                "enabled": False,
            },
            "force_return": {
                "code": 0,
                "body": "string",
                "enabled": False,
            },
            "forward_host_header": {
                "value": False,
                "enabled": False,
            },
            "gzip_on": {
                "value": False,
                "enabled": False,
            },
            "host_header": {
                "value": "string",
                "enabled": False,
            },
            "ignore_cookie": {
                "value": False,
                "enabled": False,
            },
            "ignore_query_string": {
                "value": False,
                "enabled": False,
            },
            "image_stack": {
                "quality": 0,
                "avif_enabled": False,
                "enabled": False,
                "png_lossless": False,
                "webp_enabled": False,
            },
            "ip_address_acl": {
                "excepted_values": ["string"],
                "policy_type": "string",
                "enabled": False,
            },
            "limit_bandwidth": {
                "limit_type": "string",
                "buffer": 0,
                "enabled": False,
                "speed": 0,
            },
            "proxy_cache_key": {
                "value": "string",
                "enabled": False,
            },
            "proxy_cache_methods_set": {
                "value": False,
                "enabled": False,
            },
            "proxy_connect_timeout": {
                "value": "string",
                "enabled": False,
            },
            "proxy_read_timeout": {
                "value": "string",
                "enabled": False,
            },
            "query_params_blacklist": {
                "values": ["string"],
                "enabled": False,
            },
            "query_params_whitelist": {
                "values": ["string"],
                "enabled": False,
            },
            "query_string_forwarding": {
                "forward_from_file_types": ["string"],
                "forward_to_file_types": ["string"],
                "enabled": False,
            },
            "redirect_http_to_https": {
                "value": False,
                "enabled": False,
            },
            "redirect_https_to_http": {
                "value": False,
                "enabled": False,
            },
            "referrer_acl": {
                "excepted_values": ["string"],
                "policy_type": "string",
                "enabled": False,
            },
            "request_limiter": {
                "burst": 0,
                "rate": 0,
                "delay": 0,
                "enabled": False,
                "rate_unit": "string",
            },
            "response_headers_hiding_policy": {
                "excepteds": ["string"],
                "mode": "string",
                "enabled": False,
            },
            "rewrite": {
                "body": "string",
                "enabled": False,
                "flag": "string",
            },
            "secure_key": {
                "key": "string",
                "type": 0,
                "enabled": False,
            },
            "slice": {
                "value": False,
                "enabled": False,
            },
            "sni": {
                "custom_hostname": "string",
                "enabled": False,
                "sni_type": "string",
            },
            "stale": {
                "values": ["string"],
                "enabled": False,
            },
            "static_request_headers": {
                "value": {
                    "string": "string",
                },
                "enabled": False,
            },
            "static_response_headers": {
                "values": [{
                    "name": "string",
                    "values": ["string"],
                    "always": False,
                }],
                "enabled": False,
            },
            "user_agent_acl": {
                "excepted_values": ["string"],
                "policy_type": "string",
                "enabled": False,
            },
            "waap": {
                "value": False,
                "enabled": False,
            },
            "waf": {
                "value": False,
                "enabled": False,
            },
            "websockets": {
                "value": False,
                "enabled": False,
            },
        },
        override_origin_protocol="string",
        weight=0)
    
    const cdnRuleTemplateResource = new gcore.CdnRuleTemplate("cdnRuleTemplateResource", {
        rule: "string",
        ruleType: 0,
        cdnRuleTemplateId: "string",
        name: "string",
        options: {
            allowedHttpMethods: {
                values: ["string"],
                enabled: false,
            },
            brotliCompression: {
                values: ["string"],
                enabled: false,
            },
            browserCacheSettings: {
                enabled: false,
                value: "string",
            },
            cors: {
                values: ["string"],
                always: false,
                enabled: false,
            },
            countryAcl: {
                exceptedValues: ["string"],
                policyType: "string",
                enabled: false,
            },
            disableProxyForceRanges: {
                value: false,
                enabled: false,
            },
            edgeCacheSettings: {
                customValues: {
                    string: "string",
                },
                "default": "string",
                enabled: false,
                value: "string",
            },
            fastedge: {
                enabled: false,
                onRequestBody: {
                    appId: "string",
                    enabled: false,
                    executeOnEdge: false,
                    executeOnShield: false,
                    interruptOnError: false,
                },
                onRequestHeaders: {
                    appId: "string",
                    enabled: false,
                    executeOnEdge: false,
                    executeOnShield: false,
                    interruptOnError: false,
                },
                onResponseBody: {
                    appId: "string",
                    enabled: false,
                    executeOnEdge: false,
                    executeOnShield: false,
                    interruptOnError: false,
                },
                onResponseHeaders: {
                    appId: "string",
                    enabled: false,
                    executeOnEdge: false,
                    executeOnShield: false,
                    interruptOnError: false,
                },
            },
            fetchCompressed: {
                value: false,
                enabled: false,
            },
            followOriginRedirect: {
                codes: [0],
                enabled: false,
            },
            forceReturn: {
                code: 0,
                body: "string",
                enabled: false,
            },
            forwardHostHeader: {
                value: false,
                enabled: false,
            },
            gzipOn: {
                value: false,
                enabled: false,
            },
            hostHeader: {
                value: "string",
                enabled: false,
            },
            ignoreCookie: {
                value: false,
                enabled: false,
            },
            ignoreQueryString: {
                value: false,
                enabled: false,
            },
            imageStack: {
                quality: 0,
                avifEnabled: false,
                enabled: false,
                pngLossless: false,
                webpEnabled: false,
            },
            ipAddressAcl: {
                exceptedValues: ["string"],
                policyType: "string",
                enabled: false,
            },
            limitBandwidth: {
                limitType: "string",
                buffer: 0,
                enabled: false,
                speed: 0,
            },
            proxyCacheKey: {
                value: "string",
                enabled: false,
            },
            proxyCacheMethodsSet: {
                value: false,
                enabled: false,
            },
            proxyConnectTimeout: {
                value: "string",
                enabled: false,
            },
            proxyReadTimeout: {
                value: "string",
                enabled: false,
            },
            queryParamsBlacklist: {
                values: ["string"],
                enabled: false,
            },
            queryParamsWhitelist: {
                values: ["string"],
                enabled: false,
            },
            queryStringForwarding: {
                forwardFromFileTypes: ["string"],
                forwardToFileTypes: ["string"],
                enabled: false,
            },
            redirectHttpToHttps: {
                value: false,
                enabled: false,
            },
            redirectHttpsToHttp: {
                value: false,
                enabled: false,
            },
            referrerAcl: {
                exceptedValues: ["string"],
                policyType: "string",
                enabled: false,
            },
            requestLimiter: {
                burst: 0,
                rate: 0,
                delay: 0,
                enabled: false,
                rateUnit: "string",
            },
            responseHeadersHidingPolicy: {
                excepteds: ["string"],
                mode: "string",
                enabled: false,
            },
            rewrite: {
                body: "string",
                enabled: false,
                flag: "string",
            },
            secureKey: {
                key: "string",
                type: 0,
                enabled: false,
            },
            slice: {
                value: false,
                enabled: false,
            },
            sni: {
                customHostname: "string",
                enabled: false,
                sniType: "string",
            },
            stale: {
                values: ["string"],
                enabled: false,
            },
            staticRequestHeaders: {
                value: {
                    string: "string",
                },
                enabled: false,
            },
            staticResponseHeaders: {
                values: [{
                    name: "string",
                    values: ["string"],
                    always: false,
                }],
                enabled: false,
            },
            userAgentAcl: {
                exceptedValues: ["string"],
                policyType: "string",
                enabled: false,
            },
            waap: {
                value: false,
                enabled: false,
            },
            waf: {
                value: false,
                enabled: false,
            },
            websockets: {
                value: false,
                enabled: false,
            },
        },
        overrideOriginProtocol: "string",
        weight: 0,
    });
    
    type: gcore:CdnRuleTemplate
    properties:
        cdnRuleTemplateId: string
        name: string
        options:
            allowedHttpMethods:
                enabled: false
                values:
                    - string
            brotliCompression:
                enabled: false
                values:
                    - string
            browserCacheSettings:
                enabled: false
                value: string
            cors:
                always: false
                enabled: false
                values:
                    - string
            countryAcl:
                enabled: false
                exceptedValues:
                    - string
                policyType: string
            disableProxyForceRanges:
                enabled: false
                value: false
            edgeCacheSettings:
                customValues:
                    string: string
                default: string
                enabled: false
                value: string
            fastedge:
                enabled: false
                onRequestBody:
                    appId: string
                    enabled: false
                    executeOnEdge: false
                    executeOnShield: false
                    interruptOnError: false
                onRequestHeaders:
                    appId: string
                    enabled: false
                    executeOnEdge: false
                    executeOnShield: false
                    interruptOnError: false
                onResponseBody:
                    appId: string
                    enabled: false
                    executeOnEdge: false
                    executeOnShield: false
                    interruptOnError: false
                onResponseHeaders:
                    appId: string
                    enabled: false
                    executeOnEdge: false
                    executeOnShield: false
                    interruptOnError: false
            fetchCompressed:
                enabled: false
                value: false
            followOriginRedirect:
                codes:
                    - 0
                enabled: false
            forceReturn:
                body: string
                code: 0
                enabled: false
            forwardHostHeader:
                enabled: false
                value: false
            gzipOn:
                enabled: false
                value: false
            hostHeader:
                enabled: false
                value: string
            ignoreCookie:
                enabled: false
                value: false
            ignoreQueryString:
                enabled: false
                value: false
            imageStack:
                avifEnabled: false
                enabled: false
                pngLossless: false
                quality: 0
                webpEnabled: false
            ipAddressAcl:
                enabled: false
                exceptedValues:
                    - string
                policyType: string
            limitBandwidth:
                buffer: 0
                enabled: false
                limitType: string
                speed: 0
            proxyCacheKey:
                enabled: false
                value: string
            proxyCacheMethodsSet:
                enabled: false
                value: false
            proxyConnectTimeout:
                enabled: false
                value: string
            proxyReadTimeout:
                enabled: false
                value: string
            queryParamsBlacklist:
                enabled: false
                values:
                    - string
            queryParamsWhitelist:
                enabled: false
                values:
                    - string
            queryStringForwarding:
                enabled: false
                forwardFromFileTypes:
                    - string
                forwardToFileTypes:
                    - string
            redirectHttpToHttps:
                enabled: false
                value: false
            redirectHttpsToHttp:
                enabled: false
                value: false
            referrerAcl:
                enabled: false
                exceptedValues:
                    - string
                policyType: string
            requestLimiter:
                burst: 0
                delay: 0
                enabled: false
                rate: 0
                rateUnit: string
            responseHeadersHidingPolicy:
                enabled: false
                excepteds:
                    - string
                mode: string
            rewrite:
                body: string
                enabled: false
                flag: string
            secureKey:
                enabled: false
                key: string
                type: 0
            slice:
                enabled: false
                value: false
            sni:
                customHostname: string
                enabled: false
                sniType: string
            stale:
                enabled: false
                values:
                    - string
            staticRequestHeaders:
                enabled: false
                value:
                    string: string
            staticResponseHeaders:
                enabled: false
                values:
                    - always: false
                      name: string
                      values:
                        - string
            userAgentAcl:
                enabled: false
                exceptedValues:
                    - string
                policyType: string
            waap:
                enabled: false
                value: false
            waf:
                enabled: false
                value: false
            websockets:
                enabled: false
                value: false
        overrideOriginProtocol: string
        rule: string
        ruleType: 0
        weight: 0
    

    CdnRuleTemplate 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 CdnRuleTemplate resource accepts the following input properties:

    Rule string
    Path to the file or folder for which the rule will be applied. The rule is applied if the requested URI matches the rule path. We add a leading forward slash to any rule path. Specify a path without a forward slash.
    RuleType double
    Rule type. Possible values are: 0 - Regular expression. Must start with '^/' or '/'. 1 - Regular expression. Note that for this rule type we automatically add / to each rule pattern before your regular expression. This type is legacy, please use 0.
    CdnRuleTemplateId string
    The ID of this resource.
    Name string
    Rule template name.
    Options CdnRuleTemplateOptions
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    OverrideOriginProtocol string
    Sets a protocol other than the one specified in the CDN resource settings to connect to the origin. If not specified, it will be inherited from the CDN resource settings. Possible values are: HTTPS, HTTP, MATCH.
    Weight double
    Rule execution order: from lowest (1) to highest. If requested URI matches multiple rules, the one higher in the order of the rules will be applied.
    Rule string
    Path to the file or folder for which the rule will be applied. The rule is applied if the requested URI matches the rule path. We add a leading forward slash to any rule path. Specify a path without a forward slash.
    RuleType float64
    Rule type. Possible values are: 0 - Regular expression. Must start with '^/' or '/'. 1 - Regular expression. Note that for this rule type we automatically add / to each rule pattern before your regular expression. This type is legacy, please use 0.
    CdnRuleTemplateId string
    The ID of this resource.
    Name string
    Rule template name.
    Options CdnRuleTemplateOptionsArgs
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    OverrideOriginProtocol string
    Sets a protocol other than the one specified in the CDN resource settings to connect to the origin. If not specified, it will be inherited from the CDN resource settings. Possible values are: HTTPS, HTTP, MATCH.
    Weight float64
    Rule execution order: from lowest (1) to highest. If requested URI matches multiple rules, the one higher in the order of the rules will be applied.
    rule String
    Path to the file or folder for which the rule will be applied. The rule is applied if the requested URI matches the rule path. We add a leading forward slash to any rule path. Specify a path without a forward slash.
    ruleType Double
    Rule type. Possible values are: 0 - Regular expression. Must start with '^/' or '/'. 1 - Regular expression. Note that for this rule type we automatically add / to each rule pattern before your regular expression. This type is legacy, please use 0.
    cdnRuleTemplateId String
    The ID of this resource.
    name String
    Rule template name.
    options CdnRuleTemplateOptions
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    overrideOriginProtocol String
    Sets a protocol other than the one specified in the CDN resource settings to connect to the origin. If not specified, it will be inherited from the CDN resource settings. Possible values are: HTTPS, HTTP, MATCH.
    weight Double
    Rule execution order: from lowest (1) to highest. If requested URI matches multiple rules, the one higher in the order of the rules will be applied.
    rule string
    Path to the file or folder for which the rule will be applied. The rule is applied if the requested URI matches the rule path. We add a leading forward slash to any rule path. Specify a path without a forward slash.
    ruleType number
    Rule type. Possible values are: 0 - Regular expression. Must start with '^/' or '/'. 1 - Regular expression. Note that for this rule type we automatically add / to each rule pattern before your regular expression. This type is legacy, please use 0.
    cdnRuleTemplateId string
    The ID of this resource.
    name string
    Rule template name.
    options CdnRuleTemplateOptions
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    overrideOriginProtocol string
    Sets a protocol other than the one specified in the CDN resource settings to connect to the origin. If not specified, it will be inherited from the CDN resource settings. Possible values are: HTTPS, HTTP, MATCH.
    weight number
    Rule execution order: from lowest (1) to highest. If requested URI matches multiple rules, the one higher in the order of the rules will be applied.
    rule str
    Path to the file or folder for which the rule will be applied. The rule is applied if the requested URI matches the rule path. We add a leading forward slash to any rule path. Specify a path without a forward slash.
    rule_type float
    Rule type. Possible values are: 0 - Regular expression. Must start with '^/' or '/'. 1 - Regular expression. Note that for this rule type we automatically add / to each rule pattern before your regular expression. This type is legacy, please use 0.
    cdn_rule_template_id str
    The ID of this resource.
    name str
    Rule template name.
    options CdnRuleTemplateOptionsArgs
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    override_origin_protocol str
    Sets a protocol other than the one specified in the CDN resource settings to connect to the origin. If not specified, it will be inherited from the CDN resource settings. Possible values are: HTTPS, HTTP, MATCH.
    weight float
    Rule execution order: from lowest (1) to highest. If requested URI matches multiple rules, the one higher in the order of the rules will be applied.
    rule String
    Path to the file or folder for which the rule will be applied. The rule is applied if the requested URI matches the rule path. We add a leading forward slash to any rule path. Specify a path without a forward slash.
    ruleType Number
    Rule type. Possible values are: 0 - Regular expression. Must start with '^/' or '/'. 1 - Regular expression. Note that for this rule type we automatically add / to each rule pattern before your regular expression. This type is legacy, please use 0.
    cdnRuleTemplateId String
    The ID of this resource.
    name String
    Rule template name.
    options Property Map
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    overrideOriginProtocol String
    Sets a protocol other than the one specified in the CDN resource settings to connect to the origin. If not specified, it will be inherited from the CDN resource settings. Possible values are: HTTPS, HTTP, MATCH.
    weight Number
    Rule execution order: from lowest (1) to highest. If requested URI matches multiple rules, the one higher in the order of the rules will be applied.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CdnRuleTemplate Resource

    Get an existing CdnRuleTemplate 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?: CdnRuleTemplateState, opts?: CustomResourceOptions): CdnRuleTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cdn_rule_template_id: Optional[str] = None,
            name: Optional[str] = None,
            options: Optional[CdnRuleTemplateOptionsArgs] = None,
            override_origin_protocol: Optional[str] = None,
            rule: Optional[str] = None,
            rule_type: Optional[float] = None,
            weight: Optional[float] = None) -> CdnRuleTemplate
    func GetCdnRuleTemplate(ctx *Context, name string, id IDInput, state *CdnRuleTemplateState, opts ...ResourceOption) (*CdnRuleTemplate, error)
    public static CdnRuleTemplate Get(string name, Input<string> id, CdnRuleTemplateState? state, CustomResourceOptions? opts = null)
    public static CdnRuleTemplate get(String name, Output<String> id, CdnRuleTemplateState state, CustomResourceOptions options)
    resources:  _:    type: gcore:CdnRuleTemplate    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:
    CdnRuleTemplateId string
    The ID of this resource.
    Name string
    Rule template name.
    Options CdnRuleTemplateOptions
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    OverrideOriginProtocol string
    Sets a protocol other than the one specified in the CDN resource settings to connect to the origin. If not specified, it will be inherited from the CDN resource settings. Possible values are: HTTPS, HTTP, MATCH.
    Rule string
    Path to the file or folder for which the rule will be applied. The rule is applied if the requested URI matches the rule path. We add a leading forward slash to any rule path. Specify a path without a forward slash.
    RuleType double
    Rule type. Possible values are: 0 - Regular expression. Must start with '^/' or '/'. 1 - Regular expression. Note that for this rule type we automatically add / to each rule pattern before your regular expression. This type is legacy, please use 0.
    Weight double
    Rule execution order: from lowest (1) to highest. If requested URI matches multiple rules, the one higher in the order of the rules will be applied.
    CdnRuleTemplateId string
    The ID of this resource.
    Name string
    Rule template name.
    Options CdnRuleTemplateOptionsArgs
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    OverrideOriginProtocol string
    Sets a protocol other than the one specified in the CDN resource settings to connect to the origin. If not specified, it will be inherited from the CDN resource settings. Possible values are: HTTPS, HTTP, MATCH.
    Rule string
    Path to the file or folder for which the rule will be applied. The rule is applied if the requested URI matches the rule path. We add a leading forward slash to any rule path. Specify a path without a forward slash.
    RuleType float64
    Rule type. Possible values are: 0 - Regular expression. Must start with '^/' or '/'. 1 - Regular expression. Note that for this rule type we automatically add / to each rule pattern before your regular expression. This type is legacy, please use 0.
    Weight float64
    Rule execution order: from lowest (1) to highest. If requested URI matches multiple rules, the one higher in the order of the rules will be applied.
    cdnRuleTemplateId String
    The ID of this resource.
    name String
    Rule template name.
    options CdnRuleTemplateOptions
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    overrideOriginProtocol String
    Sets a protocol other than the one specified in the CDN resource settings to connect to the origin. If not specified, it will be inherited from the CDN resource settings. Possible values are: HTTPS, HTTP, MATCH.
    rule String
    Path to the file or folder for which the rule will be applied. The rule is applied if the requested URI matches the rule path. We add a leading forward slash to any rule path. Specify a path without a forward slash.
    ruleType Double
    Rule type. Possible values are: 0 - Regular expression. Must start with '^/' or '/'. 1 - Regular expression. Note that for this rule type we automatically add / to each rule pattern before your regular expression. This type is legacy, please use 0.
    weight Double
    Rule execution order: from lowest (1) to highest. If requested URI matches multiple rules, the one higher in the order of the rules will be applied.
    cdnRuleTemplateId string
    The ID of this resource.
    name string
    Rule template name.
    options CdnRuleTemplateOptions
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    overrideOriginProtocol string
    Sets a protocol other than the one specified in the CDN resource settings to connect to the origin. If not specified, it will be inherited from the CDN resource settings. Possible values are: HTTPS, HTTP, MATCH.
    rule string
    Path to the file or folder for which the rule will be applied. The rule is applied if the requested URI matches the rule path. We add a leading forward slash to any rule path. Specify a path without a forward slash.
    ruleType number
    Rule type. Possible values are: 0 - Regular expression. Must start with '^/' or '/'. 1 - Regular expression. Note that for this rule type we automatically add / to each rule pattern before your regular expression. This type is legacy, please use 0.
    weight number
    Rule execution order: from lowest (1) to highest. If requested URI matches multiple rules, the one higher in the order of the rules will be applied.
    cdn_rule_template_id str
    The ID of this resource.
    name str
    Rule template name.
    options CdnRuleTemplateOptionsArgs
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    override_origin_protocol str
    Sets a protocol other than the one specified in the CDN resource settings to connect to the origin. If not specified, it will be inherited from the CDN resource settings. Possible values are: HTTPS, HTTP, MATCH.
    rule str
    Path to the file or folder for which the rule will be applied. The rule is applied if the requested URI matches the rule path. We add a leading forward slash to any rule path. Specify a path without a forward slash.
    rule_type float
    Rule type. Possible values are: 0 - Regular expression. Must start with '^/' or '/'. 1 - Regular expression. Note that for this rule type we automatically add / to each rule pattern before your regular expression. This type is legacy, please use 0.
    weight float
    Rule execution order: from lowest (1) to highest. If requested URI matches multiple rules, the one higher in the order of the rules will be applied.
    cdnRuleTemplateId String
    The ID of this resource.
    name String
    Rule template name.
    options Property Map
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    overrideOriginProtocol String
    Sets a protocol other than the one specified in the CDN resource settings to connect to the origin. If not specified, it will be inherited from the CDN resource settings. Possible values are: HTTPS, HTTP, MATCH.
    rule String
    Path to the file or folder for which the rule will be applied. The rule is applied if the requested URI matches the rule path. We add a leading forward slash to any rule path. Specify a path without a forward slash.
    ruleType Number
    Rule type. Possible values are: 0 - Regular expression. Must start with '^/' or '/'. 1 - Regular expression. Note that for this rule type we automatically add / to each rule pattern before your regular expression. This type is legacy, please use 0.
    weight Number
    Rule execution order: from lowest (1) to highest. If requested URI matches multiple rules, the one higher in the order of the rules will be applied.

    Supporting Types

    CdnRuleTemplateOptions, CdnRuleTemplateOptionsArgs

    AllowedHttpMethods CdnRuleTemplateOptionsAllowedHttpMethods
    Specify allowed HTTP methods.
    BrotliCompression CdnRuleTemplateOptionsBrotliCompression
    Brotli compression option allows to compress content with brotli on the CDN's end. CDN servers will request only uncompressed content from the origin.
    BrowserCacheSettings CdnRuleTemplateOptionsBrowserCacheSettings
    Specify the cache expiration time for customers' browsers in seconds.
    Cors CdnRuleTemplateOptionsCors
    CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
    CountryAcl CdnRuleTemplateOptionsCountryAcl
    Country access policy enables control access to content for specified countries.
    DisableProxyForceRanges CdnRuleTemplateOptionsDisableProxyForceRanges
    The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
    EdgeCacheSettings CdnRuleTemplateOptionsEdgeCacheSettings
    The cache expiration time for CDN servers.
    Fastedge CdnRuleTemplateOptionsFastedge
    Allows to configure FastEdge app to be called on different request/response phases.
    FetchCompressed CdnRuleTemplateOptionsFetchCompressed
    Option allows to enable fetch compressed. CDN request and cache already compressed content. Your server should support compression. CDN servers will not ungzip your content even if a user's browser doesn't accept compression (nowadays almost all browsers support it).
    FollowOriginRedirect CdnRuleTemplateOptionsFollowOriginRedirect
    Enable redirection from origin. If the origin server returns a redirect, the option allows the CDN to pull the requested content from the origin server that was returned in the redirect.
    ForceReturn CdnRuleTemplateOptionsForceReturn
    Allows to apply custom HTTP code to the CDN content. Specify HTTP-code you need and text or URL if you are going to set up redirect.
    ForwardHostHeader CdnRuleTemplateOptionsForwardHostHeader
    When a CDN requests content from an origin server, the option allows to forward the Host header used in the request made to a CDN.
    GzipOn CdnRuleTemplateOptionsGzipOn
    GZip compression option allows to compress content with gzip on the CDN`s end. CDN servers will request only uncompressed content from the origin.
    HostHeader CdnRuleTemplateOptionsHostHeader
    Option allows to set Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is NULL, Host Header value is taken from the parent CDN resource's value.
    IgnoreCookie CdnRuleTemplateOptionsIgnoreCookie
    By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
    IgnoreQueryString CdnRuleTemplateOptionsIgnoreQueryString
    Ignore query string option determines how files with different query strings will be cached: either as one object (option is enabled) or as different objects (option is disabled).
    ImageStack CdnRuleTemplateOptionsImageStack
    Image stack option allows transforming JPG and PNG images (such as resizing or cropping) and automatically converting them to WebP or AVIF format. It is a paid option.
    IpAddressAcl CdnRuleTemplateOptionsIpAddressAcl
    IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
    LimitBandwidth CdnRuleTemplateOptionsLimitBandwidth
    The option allows to control the download speed per connection.
    ProxyCacheKey CdnRuleTemplateOptionsProxyCacheKey
    The option allows to modify the cache key. If omitted, the default value is $request*uri. Warning: Enabling and changing this option can invalidate your current cache and affect the cache hit ratio. Furthermore, the "Purge by pattern" option will not work.
    ProxyCacheMethodsSet CdnRuleTemplateOptionsProxyCacheMethodsSet
    Allows caching for GET, HEAD and POST requests.
    ProxyConnectTimeout CdnRuleTemplateOptionsProxyConnectTimeout
    The time limit for establishing a connection with the origin.
    ProxyReadTimeout CdnRuleTemplateOptionsProxyReadTimeout
    The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
    QueryParamsBlacklist CdnRuleTemplateOptionsQueryParamsBlacklist
    Specify list of query strings. Files with those query strings will be cached as one object.
    QueryParamsWhitelist CdnRuleTemplateOptionsQueryParamsWhitelist
    Specify list of query strings. Files with those query strings will be cached as different objects.
    QueryStringForwarding CdnRuleTemplateOptionsQueryStringForwarding
    The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
    RedirectHttpToHttps CdnRuleTemplateOptionsRedirectHttpToHttps
    When enabled, HTTP requests are redirected to HTTPS.
    RedirectHttpsToHttp CdnRuleTemplateOptionsRedirectHttpsToHttp
    When enabled, HTTPS requests are redirected to HTTP.
    ReferrerAcl CdnRuleTemplateOptionsReferrerAcl
    Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
    RequestLimiter CdnRuleTemplateOptionsRequestLimiter
    It allows to limit the amount of HTTP requests
    ResponseHeadersHidingPolicy CdnRuleTemplateOptionsResponseHeadersHidingPolicy
    Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
    Rewrite CdnRuleTemplateOptionsRewrite
    Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
    SecureKey CdnRuleTemplateOptionsSecureKey
    The option allows configuring an access with tokenized URLs. It makes impossible to access content without a valid (unexpired) hash key. When enabled, you need to specify a key that you use to generate a token.
    Slice CdnRuleTemplateOptionsSlice
    When enabled, files larger than 10 MB are requested and cached in parts (no larger than 10 MB each). It reduces time to first byte. The origin must support HTTP Range requests.
    Sni CdnRuleTemplateOptionsSni
    Specify the SNI (Server Name Indication). SNI (Server Name Indication) is generally only required if your origin is using shared hosting or does not have a dedicated IP address. If the origin server presents multiple certificates, SNI allows the origin server to know which certificate to use for the connection. The option works only if originProtocol parameter is HTTPS or MATCH.
    Stale CdnRuleTemplateOptionsStale
    The list of errors which Always Online option is applied for.
    StaticRequestHeaders CdnRuleTemplateOptionsStaticRequestHeaders
    Specify custom HTTP Headers for a CDN server to add to request.
    StaticResponseHeaders CdnRuleTemplateOptionsStaticResponseHeaders
    Specify custom HTTP Headers that a CDN server adds to a response.
    UserAgentAcl CdnRuleTemplateOptionsUserAgentAcl
    User agents policy option allows to control access to the content for specified user-agent.
    Waap CdnRuleTemplateOptionsWaap
    Option allows to enable WAAP (Web Application and API Protection).
    Waf CdnRuleTemplateOptionsWaf
    Option allows to enable Basic WAF to protect you against the most common threats.
    Websockets CdnRuleTemplateOptionsWebsockets
    WebSockets option allows WebSockets connections to an origin server.
    AllowedHttpMethods CdnRuleTemplateOptionsAllowedHttpMethods
    Specify allowed HTTP methods.
    BrotliCompression CdnRuleTemplateOptionsBrotliCompression
    Brotli compression option allows to compress content with brotli on the CDN's end. CDN servers will request only uncompressed content from the origin.
    BrowserCacheSettings CdnRuleTemplateOptionsBrowserCacheSettings
    Specify the cache expiration time for customers' browsers in seconds.
    Cors CdnRuleTemplateOptionsCors
    CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
    CountryAcl CdnRuleTemplateOptionsCountryAcl
    Country access policy enables control access to content for specified countries.
    DisableProxyForceRanges CdnRuleTemplateOptionsDisableProxyForceRanges
    The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
    EdgeCacheSettings CdnRuleTemplateOptionsEdgeCacheSettings
    The cache expiration time for CDN servers.
    Fastedge CdnRuleTemplateOptionsFastedge
    Allows to configure FastEdge app to be called on different request/response phases.
    FetchCompressed CdnRuleTemplateOptionsFetchCompressed
    Option allows to enable fetch compressed. CDN request and cache already compressed content. Your server should support compression. CDN servers will not ungzip your content even if a user's browser doesn't accept compression (nowadays almost all browsers support it).
    FollowOriginRedirect CdnRuleTemplateOptionsFollowOriginRedirect
    Enable redirection from origin. If the origin server returns a redirect, the option allows the CDN to pull the requested content from the origin server that was returned in the redirect.
    ForceReturn CdnRuleTemplateOptionsForceReturn
    Allows to apply custom HTTP code to the CDN content. Specify HTTP-code you need and text or URL if you are going to set up redirect.
    ForwardHostHeader CdnRuleTemplateOptionsForwardHostHeader
    When a CDN requests content from an origin server, the option allows to forward the Host header used in the request made to a CDN.
    GzipOn CdnRuleTemplateOptionsGzipOn
    GZip compression option allows to compress content with gzip on the CDN`s end. CDN servers will request only uncompressed content from the origin.
    HostHeader CdnRuleTemplateOptionsHostHeader
    Option allows to set Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is NULL, Host Header value is taken from the parent CDN resource's value.
    IgnoreCookie CdnRuleTemplateOptionsIgnoreCookie
    By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
    IgnoreQueryString CdnRuleTemplateOptionsIgnoreQueryString
    Ignore query string option determines how files with different query strings will be cached: either as one object (option is enabled) or as different objects (option is disabled).
    ImageStack CdnRuleTemplateOptionsImageStack
    Image stack option allows transforming JPG and PNG images (such as resizing or cropping) and automatically converting them to WebP or AVIF format. It is a paid option.
    IpAddressAcl CdnRuleTemplateOptionsIpAddressAcl
    IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
    LimitBandwidth CdnRuleTemplateOptionsLimitBandwidth
    The option allows to control the download speed per connection.
    ProxyCacheKey CdnRuleTemplateOptionsProxyCacheKey
    The option allows to modify the cache key. If omitted, the default value is $request*uri. Warning: Enabling and changing this option can invalidate your current cache and affect the cache hit ratio. Furthermore, the "Purge by pattern" option will not work.
    ProxyCacheMethodsSet CdnRuleTemplateOptionsProxyCacheMethodsSet
    Allows caching for GET, HEAD and POST requests.
    ProxyConnectTimeout CdnRuleTemplateOptionsProxyConnectTimeout
    The time limit for establishing a connection with the origin.
    ProxyReadTimeout CdnRuleTemplateOptionsProxyReadTimeout
    The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
    QueryParamsBlacklist CdnRuleTemplateOptionsQueryParamsBlacklist
    Specify list of query strings. Files with those query strings will be cached as one object.
    QueryParamsWhitelist CdnRuleTemplateOptionsQueryParamsWhitelist
    Specify list of query strings. Files with those query strings will be cached as different objects.
    QueryStringForwarding CdnRuleTemplateOptionsQueryStringForwarding
    The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
    RedirectHttpToHttps CdnRuleTemplateOptionsRedirectHttpToHttps
    When enabled, HTTP requests are redirected to HTTPS.
    RedirectHttpsToHttp CdnRuleTemplateOptionsRedirectHttpsToHttp
    When enabled, HTTPS requests are redirected to HTTP.
    ReferrerAcl CdnRuleTemplateOptionsReferrerAcl
    Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
    RequestLimiter CdnRuleTemplateOptionsRequestLimiter
    It allows to limit the amount of HTTP requests
    ResponseHeadersHidingPolicy CdnRuleTemplateOptionsResponseHeadersHidingPolicy
    Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
    Rewrite CdnRuleTemplateOptionsRewrite
    Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
    SecureKey CdnRuleTemplateOptionsSecureKey
    The option allows configuring an access with tokenized URLs. It makes impossible to access content without a valid (unexpired) hash key. When enabled, you need to specify a key that you use to generate a token.
    Slice CdnRuleTemplateOptionsSlice
    When enabled, files larger than 10 MB are requested and cached in parts (no larger than 10 MB each). It reduces time to first byte. The origin must support HTTP Range requests.
    Sni CdnRuleTemplateOptionsSni
    Specify the SNI (Server Name Indication). SNI (Server Name Indication) is generally only required if your origin is using shared hosting or does not have a dedicated IP address. If the origin server presents multiple certificates, SNI allows the origin server to know which certificate to use for the connection. The option works only if originProtocol parameter is HTTPS or MATCH.
    Stale CdnRuleTemplateOptionsStale
    The list of errors which Always Online option is applied for.
    StaticRequestHeaders CdnRuleTemplateOptionsStaticRequestHeaders
    Specify custom HTTP Headers for a CDN server to add to request.
    StaticResponseHeaders CdnRuleTemplateOptionsStaticResponseHeaders
    Specify custom HTTP Headers that a CDN server adds to a response.
    UserAgentAcl CdnRuleTemplateOptionsUserAgentAcl
    User agents policy option allows to control access to the content for specified user-agent.
    Waap CdnRuleTemplateOptionsWaap
    Option allows to enable WAAP (Web Application and API Protection).
    Waf CdnRuleTemplateOptionsWaf
    Option allows to enable Basic WAF to protect you against the most common threats.
    Websockets CdnRuleTemplateOptionsWebsockets
    WebSockets option allows WebSockets connections to an origin server.
    allowedHttpMethods CdnRuleTemplateOptionsAllowedHttpMethods
    Specify allowed HTTP methods.
    brotliCompression CdnRuleTemplateOptionsBrotliCompression
    Brotli compression option allows to compress content with brotli on the CDN's end. CDN servers will request only uncompressed content from the origin.
    browserCacheSettings CdnRuleTemplateOptionsBrowserCacheSettings
    Specify the cache expiration time for customers' browsers in seconds.
    cors CdnRuleTemplateOptionsCors
    CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
    countryAcl CdnRuleTemplateOptionsCountryAcl
    Country access policy enables control access to content for specified countries.
    disableProxyForceRanges CdnRuleTemplateOptionsDisableProxyForceRanges
    The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
    edgeCacheSettings CdnRuleTemplateOptionsEdgeCacheSettings
    The cache expiration time for CDN servers.
    fastedge CdnRuleTemplateOptionsFastedge
    Allows to configure FastEdge app to be called on different request/response phases.
    fetchCompressed CdnRuleTemplateOptionsFetchCompressed
    Option allows to enable fetch compressed. CDN request and cache already compressed content. Your server should support compression. CDN servers will not ungzip your content even if a user's browser doesn't accept compression (nowadays almost all browsers support it).
    followOriginRedirect CdnRuleTemplateOptionsFollowOriginRedirect
    Enable redirection from origin. If the origin server returns a redirect, the option allows the CDN to pull the requested content from the origin server that was returned in the redirect.
    forceReturn CdnRuleTemplateOptionsForceReturn
    Allows to apply custom HTTP code to the CDN content. Specify HTTP-code you need and text or URL if you are going to set up redirect.
    forwardHostHeader CdnRuleTemplateOptionsForwardHostHeader
    When a CDN requests content from an origin server, the option allows to forward the Host header used in the request made to a CDN.
    gzipOn CdnRuleTemplateOptionsGzipOn
    GZip compression option allows to compress content with gzip on the CDN`s end. CDN servers will request only uncompressed content from the origin.
    hostHeader CdnRuleTemplateOptionsHostHeader
    Option allows to set Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is NULL, Host Header value is taken from the parent CDN resource's value.
    ignoreCookie CdnRuleTemplateOptionsIgnoreCookie
    By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
    ignoreQueryString CdnRuleTemplateOptionsIgnoreQueryString
    Ignore query string option determines how files with different query strings will be cached: either as one object (option is enabled) or as different objects (option is disabled).
    imageStack CdnRuleTemplateOptionsImageStack
    Image stack option allows transforming JPG and PNG images (such as resizing or cropping) and automatically converting them to WebP or AVIF format. It is a paid option.
    ipAddressAcl CdnRuleTemplateOptionsIpAddressAcl
    IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
    limitBandwidth CdnRuleTemplateOptionsLimitBandwidth
    The option allows to control the download speed per connection.
    proxyCacheKey CdnRuleTemplateOptionsProxyCacheKey
    The option allows to modify the cache key. If omitted, the default value is $request*uri. Warning: Enabling and changing this option can invalidate your current cache and affect the cache hit ratio. Furthermore, the "Purge by pattern" option will not work.
    proxyCacheMethodsSet CdnRuleTemplateOptionsProxyCacheMethodsSet
    Allows caching for GET, HEAD and POST requests.
    proxyConnectTimeout CdnRuleTemplateOptionsProxyConnectTimeout
    The time limit for establishing a connection with the origin.
    proxyReadTimeout CdnRuleTemplateOptionsProxyReadTimeout
    The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
    queryParamsBlacklist CdnRuleTemplateOptionsQueryParamsBlacklist
    Specify list of query strings. Files with those query strings will be cached as one object.
    queryParamsWhitelist CdnRuleTemplateOptionsQueryParamsWhitelist
    Specify list of query strings. Files with those query strings will be cached as different objects.
    queryStringForwarding CdnRuleTemplateOptionsQueryStringForwarding
    The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
    redirectHttpToHttps CdnRuleTemplateOptionsRedirectHttpToHttps
    When enabled, HTTP requests are redirected to HTTPS.
    redirectHttpsToHttp CdnRuleTemplateOptionsRedirectHttpsToHttp
    When enabled, HTTPS requests are redirected to HTTP.
    referrerAcl CdnRuleTemplateOptionsReferrerAcl
    Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
    requestLimiter CdnRuleTemplateOptionsRequestLimiter
    It allows to limit the amount of HTTP requests
    responseHeadersHidingPolicy CdnRuleTemplateOptionsResponseHeadersHidingPolicy
    Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
    rewrite CdnRuleTemplateOptionsRewrite
    Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
    secureKey CdnRuleTemplateOptionsSecureKey
    The option allows configuring an access with tokenized URLs. It makes impossible to access content without a valid (unexpired) hash key. When enabled, you need to specify a key that you use to generate a token.
    slice CdnRuleTemplateOptionsSlice
    When enabled, files larger than 10 MB are requested and cached in parts (no larger than 10 MB each). It reduces time to first byte. The origin must support HTTP Range requests.
    sni CdnRuleTemplateOptionsSni
    Specify the SNI (Server Name Indication). SNI (Server Name Indication) is generally only required if your origin is using shared hosting or does not have a dedicated IP address. If the origin server presents multiple certificates, SNI allows the origin server to know which certificate to use for the connection. The option works only if originProtocol parameter is HTTPS or MATCH.
    stale CdnRuleTemplateOptionsStale
    The list of errors which Always Online option is applied for.
    staticRequestHeaders CdnRuleTemplateOptionsStaticRequestHeaders
    Specify custom HTTP Headers for a CDN server to add to request.
    staticResponseHeaders CdnRuleTemplateOptionsStaticResponseHeaders
    Specify custom HTTP Headers that a CDN server adds to a response.
    userAgentAcl CdnRuleTemplateOptionsUserAgentAcl
    User agents policy option allows to control access to the content for specified user-agent.
    waap CdnRuleTemplateOptionsWaap
    Option allows to enable WAAP (Web Application and API Protection).
    waf CdnRuleTemplateOptionsWaf
    Option allows to enable Basic WAF to protect you against the most common threats.
    websockets CdnRuleTemplateOptionsWebsockets
    WebSockets option allows WebSockets connections to an origin server.
    allowedHttpMethods CdnRuleTemplateOptionsAllowedHttpMethods
    Specify allowed HTTP methods.
    brotliCompression CdnRuleTemplateOptionsBrotliCompression
    Brotli compression option allows to compress content with brotli on the CDN's end. CDN servers will request only uncompressed content from the origin.
    browserCacheSettings CdnRuleTemplateOptionsBrowserCacheSettings
    Specify the cache expiration time for customers' browsers in seconds.
    cors CdnRuleTemplateOptionsCors
    CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
    countryAcl CdnRuleTemplateOptionsCountryAcl
    Country access policy enables control access to content for specified countries.
    disableProxyForceRanges CdnRuleTemplateOptionsDisableProxyForceRanges
    The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
    edgeCacheSettings CdnRuleTemplateOptionsEdgeCacheSettings
    The cache expiration time for CDN servers.
    fastedge CdnRuleTemplateOptionsFastedge
    Allows to configure FastEdge app to be called on different request/response phases.
    fetchCompressed CdnRuleTemplateOptionsFetchCompressed
    Option allows to enable fetch compressed. CDN request and cache already compressed content. Your server should support compression. CDN servers will not ungzip your content even if a user's browser doesn't accept compression (nowadays almost all browsers support it).
    followOriginRedirect CdnRuleTemplateOptionsFollowOriginRedirect
    Enable redirection from origin. If the origin server returns a redirect, the option allows the CDN to pull the requested content from the origin server that was returned in the redirect.
    forceReturn CdnRuleTemplateOptionsForceReturn
    Allows to apply custom HTTP code to the CDN content. Specify HTTP-code you need and text or URL if you are going to set up redirect.
    forwardHostHeader CdnRuleTemplateOptionsForwardHostHeader
    When a CDN requests content from an origin server, the option allows to forward the Host header used in the request made to a CDN.
    gzipOn CdnRuleTemplateOptionsGzipOn
    GZip compression option allows to compress content with gzip on the CDN`s end. CDN servers will request only uncompressed content from the origin.
    hostHeader CdnRuleTemplateOptionsHostHeader
    Option allows to set Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is NULL, Host Header value is taken from the parent CDN resource's value.
    ignoreCookie CdnRuleTemplateOptionsIgnoreCookie
    By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
    ignoreQueryString CdnRuleTemplateOptionsIgnoreQueryString
    Ignore query string option determines how files with different query strings will be cached: either as one object (option is enabled) or as different objects (option is disabled).
    imageStack CdnRuleTemplateOptionsImageStack
    Image stack option allows transforming JPG and PNG images (such as resizing or cropping) and automatically converting them to WebP or AVIF format. It is a paid option.
    ipAddressAcl CdnRuleTemplateOptionsIpAddressAcl
    IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
    limitBandwidth CdnRuleTemplateOptionsLimitBandwidth
    The option allows to control the download speed per connection.
    proxyCacheKey CdnRuleTemplateOptionsProxyCacheKey
    The option allows to modify the cache key. If omitted, the default value is $request*uri. Warning: Enabling and changing this option can invalidate your current cache and affect the cache hit ratio. Furthermore, the "Purge by pattern" option will not work.
    proxyCacheMethodsSet CdnRuleTemplateOptionsProxyCacheMethodsSet
    Allows caching for GET, HEAD and POST requests.
    proxyConnectTimeout CdnRuleTemplateOptionsProxyConnectTimeout
    The time limit for establishing a connection with the origin.
    proxyReadTimeout CdnRuleTemplateOptionsProxyReadTimeout
    The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
    queryParamsBlacklist CdnRuleTemplateOptionsQueryParamsBlacklist
    Specify list of query strings. Files with those query strings will be cached as one object.
    queryParamsWhitelist CdnRuleTemplateOptionsQueryParamsWhitelist
    Specify list of query strings. Files with those query strings will be cached as different objects.
    queryStringForwarding CdnRuleTemplateOptionsQueryStringForwarding
    The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
    redirectHttpToHttps CdnRuleTemplateOptionsRedirectHttpToHttps
    When enabled, HTTP requests are redirected to HTTPS.
    redirectHttpsToHttp CdnRuleTemplateOptionsRedirectHttpsToHttp
    When enabled, HTTPS requests are redirected to HTTP.
    referrerAcl CdnRuleTemplateOptionsReferrerAcl
    Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
    requestLimiter CdnRuleTemplateOptionsRequestLimiter
    It allows to limit the amount of HTTP requests
    responseHeadersHidingPolicy CdnRuleTemplateOptionsResponseHeadersHidingPolicy
    Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
    rewrite CdnRuleTemplateOptionsRewrite
    Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
    secureKey CdnRuleTemplateOptionsSecureKey
    The option allows configuring an access with tokenized URLs. It makes impossible to access content without a valid (unexpired) hash key. When enabled, you need to specify a key that you use to generate a token.
    slice CdnRuleTemplateOptionsSlice
    When enabled, files larger than 10 MB are requested and cached in parts (no larger than 10 MB each). It reduces time to first byte. The origin must support HTTP Range requests.
    sni CdnRuleTemplateOptionsSni
    Specify the SNI (Server Name Indication). SNI (Server Name Indication) is generally only required if your origin is using shared hosting or does not have a dedicated IP address. If the origin server presents multiple certificates, SNI allows the origin server to know which certificate to use for the connection. The option works only if originProtocol parameter is HTTPS or MATCH.
    stale CdnRuleTemplateOptionsStale
    The list of errors which Always Online option is applied for.
    staticRequestHeaders CdnRuleTemplateOptionsStaticRequestHeaders
    Specify custom HTTP Headers for a CDN server to add to request.
    staticResponseHeaders CdnRuleTemplateOptionsStaticResponseHeaders
    Specify custom HTTP Headers that a CDN server adds to a response.
    userAgentAcl CdnRuleTemplateOptionsUserAgentAcl
    User agents policy option allows to control access to the content for specified user-agent.
    waap CdnRuleTemplateOptionsWaap
    Option allows to enable WAAP (Web Application and API Protection).
    waf CdnRuleTemplateOptionsWaf
    Option allows to enable Basic WAF to protect you against the most common threats.
    websockets CdnRuleTemplateOptionsWebsockets
    WebSockets option allows WebSockets connections to an origin server.
    allowed_http_methods CdnRuleTemplateOptionsAllowedHttpMethods
    Specify allowed HTTP methods.
    brotli_compression CdnRuleTemplateOptionsBrotliCompression
    Brotli compression option allows to compress content with brotli on the CDN's end. CDN servers will request only uncompressed content from the origin.
    browser_cache_settings CdnRuleTemplateOptionsBrowserCacheSettings
    Specify the cache expiration time for customers' browsers in seconds.
    cors CdnRuleTemplateOptionsCors
    CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
    country_acl CdnRuleTemplateOptionsCountryAcl
    Country access policy enables control access to content for specified countries.
    disable_proxy_force_ranges CdnRuleTemplateOptionsDisableProxyForceRanges
    The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
    edge_cache_settings CdnRuleTemplateOptionsEdgeCacheSettings
    The cache expiration time for CDN servers.
    fastedge CdnRuleTemplateOptionsFastedge
    Allows to configure FastEdge app to be called on different request/response phases.
    fetch_compressed CdnRuleTemplateOptionsFetchCompressed
    Option allows to enable fetch compressed. CDN request and cache already compressed content. Your server should support compression. CDN servers will not ungzip your content even if a user's browser doesn't accept compression (nowadays almost all browsers support it).
    follow_origin_redirect CdnRuleTemplateOptionsFollowOriginRedirect
    Enable redirection from origin. If the origin server returns a redirect, the option allows the CDN to pull the requested content from the origin server that was returned in the redirect.
    force_return CdnRuleTemplateOptionsForceReturn
    Allows to apply custom HTTP code to the CDN content. Specify HTTP-code you need and text or URL if you are going to set up redirect.
    forward_host_header CdnRuleTemplateOptionsForwardHostHeader
    When a CDN requests content from an origin server, the option allows to forward the Host header used in the request made to a CDN.
    gzip_on CdnRuleTemplateOptionsGzipOn
    GZip compression option allows to compress content with gzip on the CDN`s end. CDN servers will request only uncompressed content from the origin.
    host_header CdnRuleTemplateOptionsHostHeader
    Option allows to set Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is NULL, Host Header value is taken from the parent CDN resource's value.
    ignore_cookie CdnRuleTemplateOptionsIgnoreCookie
    By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
    ignore_query_string CdnRuleTemplateOptionsIgnoreQueryString
    Ignore query string option determines how files with different query strings will be cached: either as one object (option is enabled) or as different objects (option is disabled).
    image_stack CdnRuleTemplateOptionsImageStack
    Image stack option allows transforming JPG and PNG images (such as resizing or cropping) and automatically converting them to WebP or AVIF format. It is a paid option.
    ip_address_acl CdnRuleTemplateOptionsIpAddressAcl
    IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
    limit_bandwidth CdnRuleTemplateOptionsLimitBandwidth
    The option allows to control the download speed per connection.
    proxy_cache_key CdnRuleTemplateOptionsProxyCacheKey
    The option allows to modify the cache key. If omitted, the default value is $request*uri. Warning: Enabling and changing this option can invalidate your current cache and affect the cache hit ratio. Furthermore, the "Purge by pattern" option will not work.
    proxy_cache_methods_set CdnRuleTemplateOptionsProxyCacheMethodsSet
    Allows caching for GET, HEAD and POST requests.
    proxy_connect_timeout CdnRuleTemplateOptionsProxyConnectTimeout
    The time limit for establishing a connection with the origin.
    proxy_read_timeout CdnRuleTemplateOptionsProxyReadTimeout
    The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
    query_params_blacklist CdnRuleTemplateOptionsQueryParamsBlacklist
    Specify list of query strings. Files with those query strings will be cached as one object.
    query_params_whitelist CdnRuleTemplateOptionsQueryParamsWhitelist
    Specify list of query strings. Files with those query strings will be cached as different objects.
    query_string_forwarding CdnRuleTemplateOptionsQueryStringForwarding
    The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
    redirect_http_to_https CdnRuleTemplateOptionsRedirectHttpToHttps
    When enabled, HTTP requests are redirected to HTTPS.
    redirect_https_to_http CdnRuleTemplateOptionsRedirectHttpsToHttp
    When enabled, HTTPS requests are redirected to HTTP.
    referrer_acl CdnRuleTemplateOptionsReferrerAcl
    Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
    request_limiter CdnRuleTemplateOptionsRequestLimiter
    It allows to limit the amount of HTTP requests
    response_headers_hiding_policy CdnRuleTemplateOptionsResponseHeadersHidingPolicy
    Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
    rewrite CdnRuleTemplateOptionsRewrite
    Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
    secure_key CdnRuleTemplateOptionsSecureKey
    The option allows configuring an access with tokenized URLs. It makes impossible to access content without a valid (unexpired) hash key. When enabled, you need to specify a key that you use to generate a token.
    slice CdnRuleTemplateOptionsSlice
    When enabled, files larger than 10 MB are requested and cached in parts (no larger than 10 MB each). It reduces time to first byte. The origin must support HTTP Range requests.
    sni CdnRuleTemplateOptionsSni
    Specify the SNI (Server Name Indication). SNI (Server Name Indication) is generally only required if your origin is using shared hosting or does not have a dedicated IP address. If the origin server presents multiple certificates, SNI allows the origin server to know which certificate to use for the connection. The option works only if originProtocol parameter is HTTPS or MATCH.
    stale CdnRuleTemplateOptionsStale
    The list of errors which Always Online option is applied for.
    static_request_headers CdnRuleTemplateOptionsStaticRequestHeaders
    Specify custom HTTP Headers for a CDN server to add to request.
    static_response_headers CdnRuleTemplateOptionsStaticResponseHeaders
    Specify custom HTTP Headers that a CDN server adds to a response.
    user_agent_acl CdnRuleTemplateOptionsUserAgentAcl
    User agents policy option allows to control access to the content for specified user-agent.
    waap CdnRuleTemplateOptionsWaap
    Option allows to enable WAAP (Web Application and API Protection).
    waf CdnRuleTemplateOptionsWaf
    Option allows to enable Basic WAF to protect you against the most common threats.
    websockets CdnRuleTemplateOptionsWebsockets
    WebSockets option allows WebSockets connections to an origin server.
    allowedHttpMethods Property Map
    Specify allowed HTTP methods.
    brotliCompression Property Map
    Brotli compression option allows to compress content with brotli on the CDN's end. CDN servers will request only uncompressed content from the origin.
    browserCacheSettings Property Map
    Specify the cache expiration time for customers' browsers in seconds.
    cors Property Map
    CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
    countryAcl Property Map
    Country access policy enables control access to content for specified countries.
    disableProxyForceRanges Property Map
    The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
    edgeCacheSettings Property Map
    The cache expiration time for CDN servers.
    fastedge Property Map
    Allows to configure FastEdge app to be called on different request/response phases.
    fetchCompressed Property Map
    Option allows to enable fetch compressed. CDN request and cache already compressed content. Your server should support compression. CDN servers will not ungzip your content even if a user's browser doesn't accept compression (nowadays almost all browsers support it).
    followOriginRedirect Property Map
    Enable redirection from origin. If the origin server returns a redirect, the option allows the CDN to pull the requested content from the origin server that was returned in the redirect.
    forceReturn Property Map
    Allows to apply custom HTTP code to the CDN content. Specify HTTP-code you need and text or URL if you are going to set up redirect.
    forwardHostHeader Property Map
    When a CDN requests content from an origin server, the option allows to forward the Host header used in the request made to a CDN.
    gzipOn Property Map
    GZip compression option allows to compress content with gzip on the CDN`s end. CDN servers will request only uncompressed content from the origin.
    hostHeader Property Map
    Option allows to set Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is NULL, Host Header value is taken from the parent CDN resource's value.
    ignoreCookie Property Map
    By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
    ignoreQueryString Property Map
    Ignore query string option determines how files with different query strings will be cached: either as one object (option is enabled) or as different objects (option is disabled).
    imageStack Property Map
    Image stack option allows transforming JPG and PNG images (such as resizing or cropping) and automatically converting them to WebP or AVIF format. It is a paid option.
    ipAddressAcl Property Map
    IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
    limitBandwidth Property Map
    The option allows to control the download speed per connection.
    proxyCacheKey Property Map
    The option allows to modify the cache key. If omitted, the default value is $request*uri. Warning: Enabling and changing this option can invalidate your current cache and affect the cache hit ratio. Furthermore, the "Purge by pattern" option will not work.
    proxyCacheMethodsSet Property Map
    Allows caching for GET, HEAD and POST requests.
    proxyConnectTimeout Property Map
    The time limit for establishing a connection with the origin.
    proxyReadTimeout Property Map
    The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
    queryParamsBlacklist Property Map
    Specify list of query strings. Files with those query strings will be cached as one object.
    queryParamsWhitelist Property Map
    Specify list of query strings. Files with those query strings will be cached as different objects.
    queryStringForwarding Property Map
    The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
    redirectHttpToHttps Property Map
    When enabled, HTTP requests are redirected to HTTPS.
    redirectHttpsToHttp Property Map
    When enabled, HTTPS requests are redirected to HTTP.
    referrerAcl Property Map
    Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
    requestLimiter Property Map
    It allows to limit the amount of HTTP requests
    responseHeadersHidingPolicy Property Map
    Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
    rewrite Property Map
    Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
    secureKey Property Map
    The option allows configuring an access with tokenized URLs. It makes impossible to access content without a valid (unexpired) hash key. When enabled, you need to specify a key that you use to generate a token.
    slice Property Map
    When enabled, files larger than 10 MB are requested and cached in parts (no larger than 10 MB each). It reduces time to first byte. The origin must support HTTP Range requests.
    sni Property Map
    Specify the SNI (Server Name Indication). SNI (Server Name Indication) is generally only required if your origin is using shared hosting or does not have a dedicated IP address. If the origin server presents multiple certificates, SNI allows the origin server to know which certificate to use for the connection. The option works only if originProtocol parameter is HTTPS or MATCH.
    stale Property Map
    The list of errors which Always Online option is applied for.
    staticRequestHeaders Property Map
    Specify custom HTTP Headers for a CDN server to add to request.
    staticResponseHeaders Property Map
    Specify custom HTTP Headers that a CDN server adds to a response.
    userAgentAcl Property Map
    User agents policy option allows to control access to the content for specified user-agent.
    waap Property Map
    Option allows to enable WAAP (Web Application and API Protection).
    waf Property Map
    Option allows to enable Basic WAF to protect you against the most common threats.
    websockets Property Map
    WebSockets option allows WebSockets connections to an origin server.

    CdnRuleTemplateOptionsAllowedHttpMethods, CdnRuleTemplateOptionsAllowedHttpMethodsArgs

    Values List<string>
    Available methods: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS.
    Enabled bool
    Values []string
    Available methods: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS.
    Enabled bool
    values List<String>
    Available methods: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS.
    enabled Boolean
    values string[]
    Available methods: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS.
    enabled boolean
    values Sequence[str]
    Available methods: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS.
    enabled bool
    values List<String>
    Available methods: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS.
    enabled Boolean

    CdnRuleTemplateOptionsBrotliCompression, CdnRuleTemplateOptionsBrotliCompressionArgs

    Values List<string>
    Specify the content-type for each type of content you wish to have compressed.
    Enabled bool
    Values []string
    Specify the content-type for each type of content you wish to have compressed.
    Enabled bool
    values List<String>
    Specify the content-type for each type of content you wish to have compressed.
    enabled Boolean
    values string[]
    Specify the content-type for each type of content you wish to have compressed.
    enabled boolean
    values Sequence[str]
    Specify the content-type for each type of content you wish to have compressed.
    enabled bool
    values List<String>
    Specify the content-type for each type of content you wish to have compressed.
    enabled Boolean

    CdnRuleTemplateOptionsBrowserCacheSettings, CdnRuleTemplateOptionsBrowserCacheSettingsArgs

    Enabled bool
    Value string
    Use '0s' to disable caching. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
    Enabled bool
    Value string
    Use '0s' to disable caching. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
    enabled Boolean
    value String
    Use '0s' to disable caching. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
    enabled boolean
    value string
    Use '0s' to disable caching. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
    enabled bool
    value str
    Use '0s' to disable caching. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
    enabled Boolean
    value String
    Use '0s' to disable caching. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.

    CdnRuleTemplateOptionsCors, CdnRuleTemplateOptionsCorsArgs

    Values List<string>
    Specify a value of the Access-Control-Allow-Origin header. Possible values: '*', '$http_origin', 'example.com'.
    Always bool
    Specify if the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
    Enabled bool
    Values []string
    Specify a value of the Access-Control-Allow-Origin header. Possible values: '*', '$http_origin', 'example.com'.
    Always bool
    Specify if the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
    Enabled bool
    values List<String>
    Specify a value of the Access-Control-Allow-Origin header. Possible values: '*', '$http_origin', 'example.com'.
    always Boolean
    Specify if the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
    enabled Boolean
    values string[]
    Specify a value of the Access-Control-Allow-Origin header. Possible values: '*', '$http_origin', 'example.com'.
    always boolean
    Specify if the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
    enabled boolean
    values Sequence[str]
    Specify a value of the Access-Control-Allow-Origin header. Possible values: '*', '$http_origin', 'example.com'.
    always bool
    Specify if the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
    enabled bool
    values List<String>
    Specify a value of the Access-Control-Allow-Origin header. Possible values: '*', '$http_origin', 'example.com'.
    always Boolean
    Specify if the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
    enabled Boolean

    CdnRuleTemplateOptionsCountryAcl, CdnRuleTemplateOptionsCountryAclArgs

    ExceptedValues List<string>
    List of countries according to ISO-3166-1.
    PolicyType string
    Possible values: allow, deny.
    Enabled bool
    ExceptedValues []string
    List of countries according to ISO-3166-1.
    PolicyType string
    Possible values: allow, deny.
    Enabled bool
    exceptedValues List<String>
    List of countries according to ISO-3166-1.
    policyType String
    Possible values: allow, deny.
    enabled Boolean
    exceptedValues string[]
    List of countries according to ISO-3166-1.
    policyType string
    Possible values: allow, deny.
    enabled boolean
    excepted_values Sequence[str]
    List of countries according to ISO-3166-1.
    policy_type str
    Possible values: allow, deny.
    enabled bool
    exceptedValues List<String>
    List of countries according to ISO-3166-1.
    policyType String
    Possible values: allow, deny.
    enabled Boolean

    CdnRuleTemplateOptionsDisableProxyForceRanges, CdnRuleTemplateOptionsDisableProxyForceRangesArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    CdnRuleTemplateOptionsEdgeCacheSettings, CdnRuleTemplateOptionsEdgeCacheSettingsArgs

    CustomValues Dictionary<string, string>
    Specify caching time in seconds ('0s', '600s' for example) for a response with specific response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Use '0s' to disable caching for a specific response code. These settings have a higher priority than the value field.
    Default string
    Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308, if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
    Enabled bool
    Value string
    Specify caching time for the response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' to disable caching. Use custom_values field to specify a custom caching time for a response with specific codes.
    CustomValues map[string]string
    Specify caching time in seconds ('0s', '600s' for example) for a response with specific response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Use '0s' to disable caching for a specific response code. These settings have a higher priority than the value field.
    Default string
    Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308, if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
    Enabled bool
    Value string
    Specify caching time for the response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' to disable caching. Use custom_values field to specify a custom caching time for a response with specific codes.
    customValues Map<String,String>
    Specify caching time in seconds ('0s', '600s' for example) for a response with specific response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Use '0s' to disable caching for a specific response code. These settings have a higher priority than the value field.
    default_ String
    Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308, if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
    enabled Boolean
    value String
    Specify caching time for the response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' to disable caching. Use custom_values field to specify a custom caching time for a response with specific codes.
    customValues {[key: string]: string}
    Specify caching time in seconds ('0s', '600s' for example) for a response with specific response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Use '0s' to disable caching for a specific response code. These settings have a higher priority than the value field.
    default string
    Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308, if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
    enabled boolean
    value string
    Specify caching time for the response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' to disable caching. Use custom_values field to specify a custom caching time for a response with specific codes.
    custom_values Mapping[str, str]
    Specify caching time in seconds ('0s', '600s' for example) for a response with specific response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Use '0s' to disable caching for a specific response code. These settings have a higher priority than the value field.
    default str
    Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308, if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
    enabled bool
    value str
    Specify caching time for the response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' to disable caching. Use custom_values field to specify a custom caching time for a response with specific codes.
    customValues Map<String>
    Specify caching time in seconds ('0s', '600s' for example) for a response with specific response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Use '0s' to disable caching for a specific response code. These settings have a higher priority than the value field.
    default String
    Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308, if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
    enabled Boolean
    value String
    Specify caching time for the response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' to disable caching. Use custom_values field to specify a custom caching time for a response with specific codes.

    CdnRuleTemplateOptionsFastedge, CdnRuleTemplateOptionsFastedgeArgs

    Enabled bool
    OnRequestBody CdnRuleTemplateOptionsFastedgeOnRequestBody
    Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
    OnRequestHeaders CdnRuleTemplateOptionsFastedgeOnRequestHeaders
    Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
    OnResponseBody CdnRuleTemplateOptionsFastedgeOnResponseBody
    Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
    OnResponseHeaders CdnRuleTemplateOptionsFastedgeOnResponseHeaders
    Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
    Enabled bool
    OnRequestBody CdnRuleTemplateOptionsFastedgeOnRequestBody
    Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
    OnRequestHeaders CdnRuleTemplateOptionsFastedgeOnRequestHeaders
    Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
    OnResponseBody CdnRuleTemplateOptionsFastedgeOnResponseBody
    Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
    OnResponseHeaders CdnRuleTemplateOptionsFastedgeOnResponseHeaders
    Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
    enabled Boolean
    onRequestBody CdnRuleTemplateOptionsFastedgeOnRequestBody
    Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
    onRequestHeaders CdnRuleTemplateOptionsFastedgeOnRequestHeaders
    Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
    onResponseBody CdnRuleTemplateOptionsFastedgeOnResponseBody
    Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
    onResponseHeaders CdnRuleTemplateOptionsFastedgeOnResponseHeaders
    Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
    enabled boolean
    onRequestBody CdnRuleTemplateOptionsFastedgeOnRequestBody
    Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
    onRequestHeaders CdnRuleTemplateOptionsFastedgeOnRequestHeaders
    Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
    onResponseBody CdnRuleTemplateOptionsFastedgeOnResponseBody
    Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
    onResponseHeaders CdnRuleTemplateOptionsFastedgeOnResponseHeaders
    Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
    enabled bool
    on_request_body CdnRuleTemplateOptionsFastedgeOnRequestBody
    Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
    on_request_headers CdnRuleTemplateOptionsFastedgeOnRequestHeaders
    Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
    on_response_body CdnRuleTemplateOptionsFastedgeOnResponseBody
    Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
    on_response_headers CdnRuleTemplateOptionsFastedgeOnResponseHeaders
    Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
    enabled Boolean
    onRequestBody Property Map
    Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
    onRequestHeaders Property Map
    Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
    onResponseBody Property Map
    Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
    onResponseHeaders Property Map
    Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.

    CdnRuleTemplateOptionsFastedgeOnRequestBody, CdnRuleTemplateOptionsFastedgeOnRequestBodyArgs

    AppId string
    The ID of the application in FastEdge.
    Enabled bool
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    ExecuteOnEdge bool
    Determines if the request should be executed at the edge nodes.
    ExecuteOnShield bool
    Determines if the request should be executed at the shield nodes.
    InterruptOnError bool
    Determines if the request execution should be interrupted when an error occurs.
    AppId string
    The ID of the application in FastEdge.
    Enabled bool
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    ExecuteOnEdge bool
    Determines if the request should be executed at the edge nodes.
    ExecuteOnShield bool
    Determines if the request should be executed at the shield nodes.
    InterruptOnError bool
    Determines if the request execution should be interrupted when an error occurs.
    appId String
    The ID of the application in FastEdge.
    enabled Boolean
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    executeOnEdge Boolean
    Determines if the request should be executed at the edge nodes.
    executeOnShield Boolean
    Determines if the request should be executed at the shield nodes.
    interruptOnError Boolean
    Determines if the request execution should be interrupted when an error occurs.
    appId string
    The ID of the application in FastEdge.
    enabled boolean
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    executeOnEdge boolean
    Determines if the request should be executed at the edge nodes.
    executeOnShield boolean
    Determines if the request should be executed at the shield nodes.
    interruptOnError boolean
    Determines if the request execution should be interrupted when an error occurs.
    app_id str
    The ID of the application in FastEdge.
    enabled bool
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    execute_on_edge bool
    Determines if the request should be executed at the edge nodes.
    execute_on_shield bool
    Determines if the request should be executed at the shield nodes.
    interrupt_on_error bool
    Determines if the request execution should be interrupted when an error occurs.
    appId String
    The ID of the application in FastEdge.
    enabled Boolean
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    executeOnEdge Boolean
    Determines if the request should be executed at the edge nodes.
    executeOnShield Boolean
    Determines if the request should be executed at the shield nodes.
    interruptOnError Boolean
    Determines if the request execution should be interrupted when an error occurs.

    CdnRuleTemplateOptionsFastedgeOnRequestHeaders, CdnRuleTemplateOptionsFastedgeOnRequestHeadersArgs

    AppId string
    The ID of the application in FastEdge.
    Enabled bool
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    ExecuteOnEdge bool
    Determines if the request should be executed at the edge nodes.
    ExecuteOnShield bool
    Determines if the request should be executed at the shield nodes.
    InterruptOnError bool
    Determines if the request execution should be interrupted when an error occurs.
    AppId string
    The ID of the application in FastEdge.
    Enabled bool
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    ExecuteOnEdge bool
    Determines if the request should be executed at the edge nodes.
    ExecuteOnShield bool
    Determines if the request should be executed at the shield nodes.
    InterruptOnError bool
    Determines if the request execution should be interrupted when an error occurs.
    appId String
    The ID of the application in FastEdge.
    enabled Boolean
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    executeOnEdge Boolean
    Determines if the request should be executed at the edge nodes.
    executeOnShield Boolean
    Determines if the request should be executed at the shield nodes.
    interruptOnError Boolean
    Determines if the request execution should be interrupted when an error occurs.
    appId string
    The ID of the application in FastEdge.
    enabled boolean
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    executeOnEdge boolean
    Determines if the request should be executed at the edge nodes.
    executeOnShield boolean
    Determines if the request should be executed at the shield nodes.
    interruptOnError boolean
    Determines if the request execution should be interrupted when an error occurs.
    app_id str
    The ID of the application in FastEdge.
    enabled bool
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    execute_on_edge bool
    Determines if the request should be executed at the edge nodes.
    execute_on_shield bool
    Determines if the request should be executed at the shield nodes.
    interrupt_on_error bool
    Determines if the request execution should be interrupted when an error occurs.
    appId String
    The ID of the application in FastEdge.
    enabled Boolean
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    executeOnEdge Boolean
    Determines if the request should be executed at the edge nodes.
    executeOnShield Boolean
    Determines if the request should be executed at the shield nodes.
    interruptOnError Boolean
    Determines if the request execution should be interrupted when an error occurs.

    CdnRuleTemplateOptionsFastedgeOnResponseBody, CdnRuleTemplateOptionsFastedgeOnResponseBodyArgs

    AppId string
    The ID of the application in FastEdge.
    Enabled bool
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    ExecuteOnEdge bool
    Determines if the request should be executed at the edge nodes.
    ExecuteOnShield bool
    Determines if the request should be executed at the shield nodes.
    InterruptOnError bool
    Determines if the request execution should be interrupted when an error occurs.
    AppId string
    The ID of the application in FastEdge.
    Enabled bool
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    ExecuteOnEdge bool
    Determines if the request should be executed at the edge nodes.
    ExecuteOnShield bool
    Determines if the request should be executed at the shield nodes.
    InterruptOnError bool
    Determines if the request execution should be interrupted when an error occurs.
    appId String
    The ID of the application in FastEdge.
    enabled Boolean
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    executeOnEdge Boolean
    Determines if the request should be executed at the edge nodes.
    executeOnShield Boolean
    Determines if the request should be executed at the shield nodes.
    interruptOnError Boolean
    Determines if the request execution should be interrupted when an error occurs.
    appId string
    The ID of the application in FastEdge.
    enabled boolean
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    executeOnEdge boolean
    Determines if the request should be executed at the edge nodes.
    executeOnShield boolean
    Determines if the request should be executed at the shield nodes.
    interruptOnError boolean
    Determines if the request execution should be interrupted when an error occurs.
    app_id str
    The ID of the application in FastEdge.
    enabled bool
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    execute_on_edge bool
    Determines if the request should be executed at the edge nodes.
    execute_on_shield bool
    Determines if the request should be executed at the shield nodes.
    interrupt_on_error bool
    Determines if the request execution should be interrupted when an error occurs.
    appId String
    The ID of the application in FastEdge.
    enabled Boolean
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    executeOnEdge Boolean
    Determines if the request should be executed at the edge nodes.
    executeOnShield Boolean
    Determines if the request should be executed at the shield nodes.
    interruptOnError Boolean
    Determines if the request execution should be interrupted when an error occurs.

    CdnRuleTemplateOptionsFastedgeOnResponseHeaders, CdnRuleTemplateOptionsFastedgeOnResponseHeadersArgs

    AppId string
    The ID of the application in FastEdge.
    Enabled bool
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    ExecuteOnEdge bool
    Determines if the request should be executed at the edge nodes.
    ExecuteOnShield bool
    Determines if the request should be executed at the shield nodes.
    InterruptOnError bool
    Determines if the request execution should be interrupted when an error occurs.
    AppId string
    The ID of the application in FastEdge.
    Enabled bool
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    ExecuteOnEdge bool
    Determines if the request should be executed at the edge nodes.
    ExecuteOnShield bool
    Determines if the request should be executed at the shield nodes.
    InterruptOnError bool
    Determines if the request execution should be interrupted when an error occurs.
    appId String
    The ID of the application in FastEdge.
    enabled Boolean
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    executeOnEdge Boolean
    Determines if the request should be executed at the edge nodes.
    executeOnShield Boolean
    Determines if the request should be executed at the shield nodes.
    interruptOnError Boolean
    Determines if the request execution should be interrupted when an error occurs.
    appId string
    The ID of the application in FastEdge.
    enabled boolean
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    executeOnEdge boolean
    Determines if the request should be executed at the edge nodes.
    executeOnShield boolean
    Determines if the request should be executed at the shield nodes.
    interruptOnError boolean
    Determines if the request execution should be interrupted when an error occurs.
    app_id str
    The ID of the application in FastEdge.
    enabled bool
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    execute_on_edge bool
    Determines if the request should be executed at the edge nodes.
    execute_on_shield bool
    Determines if the request should be executed at the shield nodes.
    interrupt_on_error bool
    Determines if the request execution should be interrupted when an error occurs.
    appId String
    The ID of the application in FastEdge.
    enabled Boolean
    Determines if the FastEdge application should be called whenever HTTP request headers are received.
    executeOnEdge Boolean
    Determines if the request should be executed at the edge nodes.
    executeOnShield Boolean
    Determines if the request should be executed at the shield nodes.
    interruptOnError Boolean
    Determines if the request execution should be interrupted when an error occurs.

    CdnRuleTemplateOptionsFetchCompressed, CdnRuleTemplateOptionsFetchCompressedArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    CdnRuleTemplateOptionsFollowOriginRedirect, CdnRuleTemplateOptionsFollowOriginRedirectArgs

    Codes List<double>
    Specify the redirect status code that the origin server returns. Possible values: 301, 302, 303, 307, 308.
    Enabled bool
    Codes []float64
    Specify the redirect status code that the origin server returns. Possible values: 301, 302, 303, 307, 308.
    Enabled bool
    codes List<Double>
    Specify the redirect status code that the origin server returns. Possible values: 301, 302, 303, 307, 308.
    enabled Boolean
    codes number[]
    Specify the redirect status code that the origin server returns. Possible values: 301, 302, 303, 307, 308.
    enabled boolean
    codes Sequence[float]
    Specify the redirect status code that the origin server returns. Possible values: 301, 302, 303, 307, 308.
    enabled bool
    codes List<Number>
    Specify the redirect status code that the origin server returns. Possible values: 301, 302, 303, 307, 308.
    enabled Boolean

    CdnRuleTemplateOptionsForceReturn, CdnRuleTemplateOptionsForceReturnArgs

    Code double
    HTTP response status code. Available codes: 100 <= value <= 599. Reserved codes: 408, 444, 477, 494, 495, 496, 497, 499
    Body string
    Response text or URL if you're going to set up redirection. Max length = 100.
    Enabled bool
    Code float64
    HTTP response status code. Available codes: 100 <= value <= 599. Reserved codes: 408, 444, 477, 494, 495, 496, 497, 499
    Body string
    Response text or URL if you're going to set up redirection. Max length = 100.
    Enabled bool
    code Double
    HTTP response status code. Available codes: 100 <= value <= 599. Reserved codes: 408, 444, 477, 494, 495, 496, 497, 499
    body String
    Response text or URL if you're going to set up redirection. Max length = 100.
    enabled Boolean
    code number
    HTTP response status code. Available codes: 100 <= value <= 599. Reserved codes: 408, 444, 477, 494, 495, 496, 497, 499
    body string
    Response text or URL if you're going to set up redirection. Max length = 100.
    enabled boolean
    code float
    HTTP response status code. Available codes: 100 <= value <= 599. Reserved codes: 408, 444, 477, 494, 495, 496, 497, 499
    body str
    Response text or URL if you're going to set up redirection. Max length = 100.
    enabled bool
    code Number
    HTTP response status code. Available codes: 100 <= value <= 599. Reserved codes: 408, 444, 477, 494, 495, 496, 497, 499
    body String
    Response text or URL if you're going to set up redirection. Max length = 100.
    enabled Boolean

    CdnRuleTemplateOptionsForwardHostHeader, CdnRuleTemplateOptionsForwardHostHeaderArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    CdnRuleTemplateOptionsGzipOn, CdnRuleTemplateOptionsGzipOnArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    CdnRuleTemplateOptionsHostHeader, CdnRuleTemplateOptionsHostHeaderArgs

    Value string
    Enabled bool
    Value string
    Enabled bool
    value String
    enabled Boolean
    value string
    enabled boolean
    value str
    enabled bool
    value String
    enabled Boolean

    CdnRuleTemplateOptionsIgnoreCookie, CdnRuleTemplateOptionsIgnoreCookieArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    CdnRuleTemplateOptionsIgnoreQueryString, CdnRuleTemplateOptionsIgnoreQueryStringArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    CdnRuleTemplateOptionsImageStack, CdnRuleTemplateOptionsImageStackArgs

    Quality double
    Quality settings for JPG and PNG images. Specify a value from 1 to 100. The higher the value, the better the image quality and the larger the file size after conversion.
    AvifEnabled bool
    If enabled, JPG and PNG images automatically convert to AVIF format when supported by the end users browser.
    Enabled bool
    PngLossless bool
    Represents compression without quality loss for PNG format.
    WebpEnabled bool
    If enabled, JPG and PNG images automatically convert to WebP format when supported by the end users browser.
    Quality float64
    Quality settings for JPG and PNG images. Specify a value from 1 to 100. The higher the value, the better the image quality and the larger the file size after conversion.
    AvifEnabled bool
    If enabled, JPG and PNG images automatically convert to AVIF format when supported by the end users browser.
    Enabled bool
    PngLossless bool
    Represents compression without quality loss for PNG format.
    WebpEnabled bool
    If enabled, JPG and PNG images automatically convert to WebP format when supported by the end users browser.
    quality Double
    Quality settings for JPG and PNG images. Specify a value from 1 to 100. The higher the value, the better the image quality and the larger the file size after conversion.
    avifEnabled Boolean
    If enabled, JPG and PNG images automatically convert to AVIF format when supported by the end users browser.
    enabled Boolean
    pngLossless Boolean
    Represents compression without quality loss for PNG format.
    webpEnabled Boolean
    If enabled, JPG and PNG images automatically convert to WebP format when supported by the end users browser.
    quality number
    Quality settings for JPG and PNG images. Specify a value from 1 to 100. The higher the value, the better the image quality and the larger the file size after conversion.
    avifEnabled boolean
    If enabled, JPG and PNG images automatically convert to AVIF format when supported by the end users browser.
    enabled boolean
    pngLossless boolean
    Represents compression without quality loss for PNG format.
    webpEnabled boolean
    If enabled, JPG and PNG images automatically convert to WebP format when supported by the end users browser.
    quality float
    Quality settings for JPG and PNG images. Specify a value from 1 to 100. The higher the value, the better the image quality and the larger the file size after conversion.
    avif_enabled bool
    If enabled, JPG and PNG images automatically convert to AVIF format when supported by the end users browser.
    enabled bool
    png_lossless bool
    Represents compression without quality loss for PNG format.
    webp_enabled bool
    If enabled, JPG and PNG images automatically convert to WebP format when supported by the end users browser.
    quality Number
    Quality settings for JPG and PNG images. Specify a value from 1 to 100. The higher the value, the better the image quality and the larger the file size after conversion.
    avifEnabled Boolean
    If enabled, JPG and PNG images automatically convert to AVIF format when supported by the end users browser.
    enabled Boolean
    pngLossless Boolean
    Represents compression without quality loss for PNG format.
    webpEnabled Boolean
    If enabled, JPG and PNG images automatically convert to WebP format when supported by the end users browser.

    CdnRuleTemplateOptionsIpAddressAcl, CdnRuleTemplateOptionsIpAddressAclArgs

    ExceptedValues List<string>
    Specify list of IP address with a subnet mask.
    PolicyType string
    Possible values: allow, deny.
    Enabled bool
    ExceptedValues []string
    Specify list of IP address with a subnet mask.
    PolicyType string
    Possible values: allow, deny.
    Enabled bool
    exceptedValues List<String>
    Specify list of IP address with a subnet mask.
    policyType String
    Possible values: allow, deny.
    enabled Boolean
    exceptedValues string[]
    Specify list of IP address with a subnet mask.
    policyType string
    Possible values: allow, deny.
    enabled boolean
    excepted_values Sequence[str]
    Specify list of IP address with a subnet mask.
    policy_type str
    Possible values: allow, deny.
    enabled bool
    exceptedValues List<String>
    Specify list of IP address with a subnet mask.
    policyType String
    Possible values: allow, deny.
    enabled Boolean

    CdnRuleTemplateOptionsLimitBandwidth, CdnRuleTemplateOptionsLimitBandwidthArgs

    LimitType string
    The way of controlling the download speed per each connection. Possible values are: static, dynamic.
    Buffer double
    Amount of downloaded data after which the user will be rate limited.
    Enabled bool
    Speed double
    Maximum download speed per connection. Must be greater than 0.
    LimitType string
    The way of controlling the download speed per each connection. Possible values are: static, dynamic.
    Buffer float64
    Amount of downloaded data after which the user will be rate limited.
    Enabled bool
    Speed float64
    Maximum download speed per connection. Must be greater than 0.
    limitType String
    The way of controlling the download speed per each connection. Possible values are: static, dynamic.
    buffer Double
    Amount of downloaded data after which the user will be rate limited.
    enabled Boolean
    speed Double
    Maximum download speed per connection. Must be greater than 0.
    limitType string
    The way of controlling the download speed per each connection. Possible values are: static, dynamic.
    buffer number
    Amount of downloaded data after which the user will be rate limited.
    enabled boolean
    speed number
    Maximum download speed per connection. Must be greater than 0.
    limit_type str
    The way of controlling the download speed per each connection. Possible values are: static, dynamic.
    buffer float
    Amount of downloaded data after which the user will be rate limited.
    enabled bool
    speed float
    Maximum download speed per connection. Must be greater than 0.
    limitType String
    The way of controlling the download speed per each connection. Possible values are: static, dynamic.
    buffer Number
    Amount of downloaded data after which the user will be rate limited.
    enabled Boolean
    speed Number
    Maximum download speed per connection. Must be greater than 0.

    CdnRuleTemplateOptionsProxyCacheKey, CdnRuleTemplateOptionsProxyCacheKeyArgs

    Value string
    Key for caching. Should be a combination of the specified variables: $httphost, $requesturi, $scheme, $uri.
    Enabled bool
    Value string
    Key for caching. Should be a combination of the specified variables: $httphost, $requesturi, $scheme, $uri.
    Enabled bool
    value String
    Key for caching. Should be a combination of the specified variables: $httphost, $requesturi, $scheme, $uri.
    enabled Boolean
    value string
    Key for caching. Should be a combination of the specified variables: $httphost, $requesturi, $scheme, $uri.
    enabled boolean
    value str
    Key for caching. Should be a combination of the specified variables: $httphost, $requesturi, $scheme, $uri.
    enabled bool
    value String
    Key for caching. Should be a combination of the specified variables: $httphost, $requesturi, $scheme, $uri.
    enabled Boolean

    CdnRuleTemplateOptionsProxyCacheMethodsSet, CdnRuleTemplateOptionsProxyCacheMethodsSetArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    CdnRuleTemplateOptionsProxyConnectTimeout, CdnRuleTemplateOptionsProxyConnectTimeoutArgs

    Value string
    Specify time in seconds ('1s', '30s' for example).
    Enabled bool
    Value string
    Specify time in seconds ('1s', '30s' for example).
    Enabled bool
    value String
    Specify time in seconds ('1s', '30s' for example).
    enabled Boolean
    value string
    Specify time in seconds ('1s', '30s' for example).
    enabled boolean
    value str
    Specify time in seconds ('1s', '30s' for example).
    enabled bool
    value String
    Specify time in seconds ('1s', '30s' for example).
    enabled Boolean

    CdnRuleTemplateOptionsProxyReadTimeout, CdnRuleTemplateOptionsProxyReadTimeoutArgs

    Value string
    Specify time in seconds ('1s', '30s' for example).
    Enabled bool
    Value string
    Specify time in seconds ('1s', '30s' for example).
    Enabled bool
    value String
    Specify time in seconds ('1s', '30s' for example).
    enabled Boolean
    value string
    Specify time in seconds ('1s', '30s' for example).
    enabled boolean
    value str
    Specify time in seconds ('1s', '30s' for example).
    enabled bool
    value String
    Specify time in seconds ('1s', '30s' for example).
    enabled Boolean

    CdnRuleTemplateOptionsQueryParamsBlacklist, CdnRuleTemplateOptionsQueryParamsBlacklistArgs

    Values List<string>
    Enabled bool
    Values []string
    Enabled bool
    values List<String>
    enabled Boolean
    values string[]
    enabled boolean
    values Sequence[str]
    enabled bool
    values List<String>
    enabled Boolean

    CdnRuleTemplateOptionsQueryParamsWhitelist, CdnRuleTemplateOptionsQueryParamsWhitelistArgs

    Values List<string>
    Enabled bool
    Values []string
    Enabled bool
    values List<String>
    enabled Boolean
    values string[]
    enabled boolean
    values Sequence[str]
    enabled bool
    values List<String>
    enabled Boolean

    CdnRuleTemplateOptionsQueryStringForwarding, CdnRuleTemplateOptionsQueryStringForwardingArgs

    ForwardFromFileTypes List<string>
    Specify the types of playlist files from which parameters will be extracted and forwarded.
    ForwardToFileTypes List<string>
    Specify the types of media chunk files to which parameters, extracted from playlist files, will be forwarded.
    Enabled bool
    ForwardFromFileTypes []string
    Specify the types of playlist files from which parameters will be extracted and forwarded.
    ForwardToFileTypes []string
    Specify the types of media chunk files to which parameters, extracted from playlist files, will be forwarded.
    Enabled bool
    forwardFromFileTypes List<String>
    Specify the types of playlist files from which parameters will be extracted and forwarded.
    forwardToFileTypes List<String>
    Specify the types of media chunk files to which parameters, extracted from playlist files, will be forwarded.
    enabled Boolean
    forwardFromFileTypes string[]
    Specify the types of playlist files from which parameters will be extracted and forwarded.
    forwardToFileTypes string[]
    Specify the types of media chunk files to which parameters, extracted from playlist files, will be forwarded.
    enabled boolean
    forward_from_file_types Sequence[str]
    Specify the types of playlist files from which parameters will be extracted and forwarded.
    forward_to_file_types Sequence[str]
    Specify the types of media chunk files to which parameters, extracted from playlist files, will be forwarded.
    enabled bool
    forwardFromFileTypes List<String>
    Specify the types of playlist files from which parameters will be extracted and forwarded.
    forwardToFileTypes List<String>
    Specify the types of media chunk files to which parameters, extracted from playlist files, will be forwarded.
    enabled Boolean

    CdnRuleTemplateOptionsRedirectHttpToHttps, CdnRuleTemplateOptionsRedirectHttpToHttpsArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    CdnRuleTemplateOptionsRedirectHttpsToHttp, CdnRuleTemplateOptionsRedirectHttpsToHttpArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    CdnRuleTemplateOptionsReferrerAcl, CdnRuleTemplateOptionsReferrerAclArgs

    ExceptedValues List<string>
    Specify list of domain names or wildcard domains (without http:// or https://). For example, example.com or *.example.com.
    PolicyType string
    Possible values: allow, deny.
    Enabled bool
    ExceptedValues []string
    Specify list of domain names or wildcard domains (without http:// or https://). For example, example.com or *.example.com.
    PolicyType string
    Possible values: allow, deny.
    Enabled bool
    exceptedValues List<String>
    Specify list of domain names or wildcard domains (without http:// or https://). For example, example.com or *.example.com.
    policyType String
    Possible values: allow, deny.
    enabled Boolean
    exceptedValues string[]
    Specify list of domain names or wildcard domains (without http:// or https://). For example, example.com or *.example.com.
    policyType string
    Possible values: allow, deny.
    enabled boolean
    excepted_values Sequence[str]
    Specify list of domain names or wildcard domains (without http:// or https://). For example, example.com or *.example.com.
    policy_type str
    Possible values: allow, deny.
    enabled bool
    exceptedValues List<String>
    Specify list of domain names or wildcard domains (without http:// or https://). For example, example.com or *.example.com.
    policyType String
    Possible values: allow, deny.
    enabled Boolean

    CdnRuleTemplateOptionsRequestLimiter, CdnRuleTemplateOptionsRequestLimiterArgs

    Burst double
    Rate double
    Delay double
    Enabled bool
    RateUnit string
    Burst float64
    Rate float64
    Delay float64
    Enabled bool
    RateUnit string
    burst Double
    rate Double
    delay Double
    enabled Boolean
    rateUnit String
    burst number
    rate number
    delay number
    enabled boolean
    rateUnit string
    burst float
    rate float
    delay float
    enabled bool
    rate_unit str
    burst Number
    rate Number
    delay Number
    enabled Boolean
    rateUnit String

    CdnRuleTemplateOptionsResponseHeadersHidingPolicy, CdnRuleTemplateOptionsResponseHeadersHidingPolicyArgs

    Excepteds List<string>
    List of HTTP headers. The following required headers cannot be hidden from response: Connection, Content-Length, Content-Type, Date, Server.
    Mode string
    Specify a mode of hiding HTTP headers from the response. Possible values are: hide, show.
    Enabled bool
    Excepteds []string
    List of HTTP headers. The following required headers cannot be hidden from response: Connection, Content-Length, Content-Type, Date, Server.
    Mode string
    Specify a mode of hiding HTTP headers from the response. Possible values are: hide, show.
    Enabled bool
    excepteds List<String>
    List of HTTP headers. The following required headers cannot be hidden from response: Connection, Content-Length, Content-Type, Date, Server.
    mode String
    Specify a mode of hiding HTTP headers from the response. Possible values are: hide, show.
    enabled Boolean
    excepteds string[]
    List of HTTP headers. The following required headers cannot be hidden from response: Connection, Content-Length, Content-Type, Date, Server.
    mode string
    Specify a mode of hiding HTTP headers from the response. Possible values are: hide, show.
    enabled boolean
    excepteds Sequence[str]
    List of HTTP headers. The following required headers cannot be hidden from response: Connection, Content-Length, Content-Type, Date, Server.
    mode str
    Specify a mode of hiding HTTP headers from the response. Possible values are: hide, show.
    enabled bool
    excepteds List<String>
    List of HTTP headers. The following required headers cannot be hidden from response: Connection, Content-Length, Content-Type, Date, Server.
    mode String
    Specify a mode of hiding HTTP headers from the response. Possible values are: hide, show.
    enabled Boolean

    CdnRuleTemplateOptionsRewrite, CdnRuleTemplateOptionsRewriteArgs

    Body string
    The pattern for Rewrite. At least one group should be specified. For Example: /rewritefrom/(.) /rewrite*to/$1
    Enabled bool
    Flag string
    Define flag for the Rewrite option. Possible values: last, break, redirect, permanent.
    Body string
    The pattern for Rewrite. At least one group should be specified. For Example: /rewritefrom/(.) /rewrite*to/$1
    Enabled bool
    Flag string
    Define flag for the Rewrite option. Possible values: last, break, redirect, permanent.
    body String
    The pattern for Rewrite. At least one group should be specified. For Example: /rewritefrom/(.) /rewrite*to/$1
    enabled Boolean
    flag String
    Define flag for the Rewrite option. Possible values: last, break, redirect, permanent.
    body string
    The pattern for Rewrite. At least one group should be specified. For Example: /rewritefrom/(.) /rewrite*to/$1
    enabled boolean
    flag string
    Define flag for the Rewrite option. Possible values: last, break, redirect, permanent.
    body str
    The pattern for Rewrite. At least one group should be specified. For Example: /rewritefrom/(.) /rewrite*to/$1
    enabled bool
    flag str
    Define flag for the Rewrite option. Possible values: last, break, redirect, permanent.
    body String
    The pattern for Rewrite. At least one group should be specified. For Example: /rewritefrom/(.) /rewrite*to/$1
    enabled Boolean
    flag String
    Define flag for the Rewrite option. Possible values: last, break, redirect, permanent.

    CdnRuleTemplateOptionsSecureKey, CdnRuleTemplateOptionsSecureKeyArgs

    Key string
    A key generated on your side that will be used for URL signing.
    Type double
    Specify the type of URL Signing. It can be either 0 or 2. Type 0 - includes end user's IP to secure token generation. Type 2 - excludes end user's IP from secure token generation.
    Enabled bool
    Key string
    A key generated on your side that will be used for URL signing.
    Type float64
    Specify the type of URL Signing. It can be either 0 or 2. Type 0 - includes end user's IP to secure token generation. Type 2 - excludes end user's IP from secure token generation.
    Enabled bool
    key String
    A key generated on your side that will be used for URL signing.
    type Double
    Specify the type of URL Signing. It can be either 0 or 2. Type 0 - includes end user's IP to secure token generation. Type 2 - excludes end user's IP from secure token generation.
    enabled Boolean
    key string
    A key generated on your side that will be used for URL signing.
    type number
    Specify the type of URL Signing. It can be either 0 or 2. Type 0 - includes end user's IP to secure token generation. Type 2 - excludes end user's IP from secure token generation.
    enabled boolean
    key str
    A key generated on your side that will be used for URL signing.
    type float
    Specify the type of URL Signing. It can be either 0 or 2. Type 0 - includes end user's IP to secure token generation. Type 2 - excludes end user's IP from secure token generation.
    enabled bool
    key String
    A key generated on your side that will be used for URL signing.
    type Number
    Specify the type of URL Signing. It can be either 0 or 2. Type 0 - includes end user's IP to secure token generation. Type 2 - excludes end user's IP from secure token generation.
    enabled Boolean

    CdnRuleTemplateOptionsSlice, CdnRuleTemplateOptionsSliceArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    CdnRuleTemplateOptionsSni, CdnRuleTemplateOptionsSniArgs

    CustomHostname string
    Custom SNI hostname. Required if sni_type is set to 'custom'.
    Enabled bool
    SniType string
    Specify SNI type. Possible values: dynamic, custom. dynamic - SNI hostname depends on the hostHeader and the forwardhostheader options. custom - custom SNI hostname.
    CustomHostname string
    Custom SNI hostname. Required if sni_type is set to 'custom'.
    Enabled bool
    SniType string
    Specify SNI type. Possible values: dynamic, custom. dynamic - SNI hostname depends on the hostHeader and the forwardhostheader options. custom - custom SNI hostname.
    customHostname String
    Custom SNI hostname. Required if sni_type is set to 'custom'.
    enabled Boolean
    sniType String
    Specify SNI type. Possible values: dynamic, custom. dynamic - SNI hostname depends on the hostHeader and the forwardhostheader options. custom - custom SNI hostname.
    customHostname string
    Custom SNI hostname. Required if sni_type is set to 'custom'.
    enabled boolean
    sniType string
    Specify SNI type. Possible values: dynamic, custom. dynamic - SNI hostname depends on the hostHeader and the forwardhostheader options. custom - custom SNI hostname.
    custom_hostname str
    Custom SNI hostname. Required if sni_type is set to 'custom'.
    enabled bool
    sni_type str
    Specify SNI type. Possible values: dynamic, custom. dynamic - SNI hostname depends on the hostHeader and the forwardhostheader options. custom - custom SNI hostname.
    customHostname String
    Custom SNI hostname. Required if sni_type is set to 'custom'.
    enabled Boolean
    sniType String
    Specify SNI type. Possible values: dynamic, custom. dynamic - SNI hostname depends on the hostHeader and the forwardhostheader options. custom - custom SNI hostname.

    CdnRuleTemplateOptionsStale, CdnRuleTemplateOptionsStaleArgs

    Values List<string>
    Possible values: error, http403, http404, http429, http500, http502, http503, http504, invalidheader, timeout, updating.
    Enabled bool
    Values []string
    Possible values: error, http403, http404, http429, http500, http502, http503, http504, invalidheader, timeout, updating.
    Enabled bool
    values List<String>
    Possible values: error, http403, http404, http429, http500, http502, http503, http504, invalidheader, timeout, updating.
    enabled Boolean
    values string[]
    Possible values: error, http403, http404, http429, http500, http502, http503, http504, invalidheader, timeout, updating.
    enabled boolean
    values Sequence[str]
    Possible values: error, http403, http404, http429, http500, http502, http503, http504, invalidheader, timeout, updating.
    enabled bool
    values List<String>
    Possible values: error, http403, http404, http429, http500, http502, http503, http504, invalidheader, timeout, updating.
    enabled Boolean

    CdnRuleTemplateOptionsStaticRequestHeaders, CdnRuleTemplateOptionsStaticRequestHeadersArgs

    Value Dictionary<string, string>
    Header name is restricted to 255 symbols and can contain latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores. Header value is restricted to 512 symbols and can contain latin letters (a-z), numbers (0-9), spaces, underscores and symbols (-/.:). Space can be used only between words.
    Enabled bool
    Value map[string]string
    Header name is restricted to 255 symbols and can contain latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores. Header value is restricted to 512 symbols and can contain latin letters (a-z), numbers (0-9), spaces, underscores and symbols (-/.:). Space can be used only between words.
    Enabled bool
    value Map<String,String>
    Header name is restricted to 255 symbols and can contain latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores. Header value is restricted to 512 symbols and can contain latin letters (a-z), numbers (0-9), spaces, underscores and symbols (-/.:). Space can be used only between words.
    enabled Boolean
    value {[key: string]: string}
    Header name is restricted to 255 symbols and can contain latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores. Header value is restricted to 512 symbols and can contain latin letters (a-z), numbers (0-9), spaces, underscores and symbols (-/.:). Space can be used only between words.
    enabled boolean
    value Mapping[str, str]
    Header name is restricted to 255 symbols and can contain latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores. Header value is restricted to 512 symbols and can contain latin letters (a-z), numbers (0-9), spaces, underscores and symbols (-/.:). Space can be used only between words.
    enabled bool
    value Map<String>
    Header name is restricted to 255 symbols and can contain latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores. Header value is restricted to 512 symbols and can contain latin letters (a-z), numbers (0-9), spaces, underscores and symbols (-/.:). Space can be used only between words.
    enabled Boolean

    CdnRuleTemplateOptionsStaticResponseHeaders, CdnRuleTemplateOptionsStaticResponseHeadersArgs

    CdnRuleTemplateOptionsStaticResponseHeadersValue, CdnRuleTemplateOptionsStaticResponseHeadersValueArgs

    Name string
    Header name.
    Values List<string>
    Header value.
    Always bool
    Specifies if the header will be added to a response from CDN regardless of response code.
    Name string
    Header name.
    Values []string
    Header value.
    Always bool
    Specifies if the header will be added to a response from CDN regardless of response code.
    name String
    Header name.
    values List<String>
    Header value.
    always Boolean
    Specifies if the header will be added to a response from CDN regardless of response code.
    name string
    Header name.
    values string[]
    Header value.
    always boolean
    Specifies if the header will be added to a response from CDN regardless of response code.
    name str
    Header name.
    values Sequence[str]
    Header value.
    always bool
    Specifies if the header will be added to a response from CDN regardless of response code.
    name String
    Header name.
    values List<String>
    Header value.
    always Boolean
    Specifies if the header will be added to a response from CDN regardless of response code.

    CdnRuleTemplateOptionsUserAgentAcl, CdnRuleTemplateOptionsUserAgentAclArgs

    ExceptedValues List<string>
    List of User-Agents. Use "" to allow/deny access when the User-Agent header is empty.
    PolicyType string
    Possible values: allow, deny.
    Enabled bool
    ExceptedValues []string
    List of User-Agents. Use "" to allow/deny access when the User-Agent header is empty.
    PolicyType string
    Possible values: allow, deny.
    Enabled bool
    exceptedValues List<String>
    List of User-Agents. Use "" to allow/deny access when the User-Agent header is empty.
    policyType String
    Possible values: allow, deny.
    enabled Boolean
    exceptedValues string[]
    List of User-Agents. Use "" to allow/deny access when the User-Agent header is empty.
    policyType string
    Possible values: allow, deny.
    enabled boolean
    excepted_values Sequence[str]
    List of User-Agents. Use "" to allow/deny access when the User-Agent header is empty.
    policy_type str
    Possible values: allow, deny.
    enabled bool
    exceptedValues List<String>
    List of User-Agents. Use "" to allow/deny access when the User-Agent header is empty.
    policyType String
    Possible values: allow, deny.
    enabled Boolean

    CdnRuleTemplateOptionsWaap, CdnRuleTemplateOptionsWaapArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    CdnRuleTemplateOptionsWaf, CdnRuleTemplateOptionsWafArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    CdnRuleTemplateOptionsWebsockets, CdnRuleTemplateOptionsWebsocketsArgs

    Value bool
    Enabled bool
    Value bool
    Enabled bool
    value Boolean
    enabled Boolean
    value boolean
    enabled boolean
    value bool
    enabled bool
    value Boolean
    enabled Boolean

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    gcore logo
    gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core