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

gcore.CdnRule

Explore with Pulumi AI

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

    Represent cdn resource rule

    Create CdnRule Resource

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

    Constructor syntax

    new CdnRule(name: string, args: CdnRuleArgs, opts?: CustomResourceOptions);
    @overload
    def CdnRule(resource_name: str,
                args: CdnRuleArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def CdnRule(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_id: Optional[float] = None,
                rule: Optional[str] = None,
                rule_type: Optional[float] = None,
                active: Optional[bool] = None,
                cdn_rule_id: Optional[str] = None,
                name: Optional[str] = None,
                options: Optional[CdnRuleOptionsArgs] = None,
                origin_group: Optional[float] = None,
                origin_protocol: Optional[str] = None,
                weight: Optional[float] = None)
    func NewCdnRule(ctx *Context, name string, args CdnRuleArgs, opts ...ResourceOption) (*CdnRule, error)
    public CdnRule(string name, CdnRuleArgs args, CustomResourceOptions? opts = null)
    public CdnRule(String name, CdnRuleArgs args)
    public CdnRule(String name, CdnRuleArgs args, CustomResourceOptions options)
    
    type: gcore:CdnRule
    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 CdnRuleArgs
    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 CdnRuleArgs
    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 CdnRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdnRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdnRuleArgs
    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 cdnRuleResource = new Gcore.CdnRule("cdnRuleResource", new()
    {
        ResourceId = 0,
        Rule = "string",
        RuleType = 0,
        Active = false,
        CdnRuleId = "string",
        Name = "string",
        Options = new Gcore.Inputs.CdnRuleOptionsArgs
        {
            AllowedHttpMethods = new Gcore.Inputs.CdnRuleOptionsAllowedHttpMethodsArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            BrotliCompression = new Gcore.Inputs.CdnRuleOptionsBrotliCompressionArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            BrowserCacheSettings = new Gcore.Inputs.CdnRuleOptionsBrowserCacheSettingsArgs
            {
                Enabled = false,
                Value = "string",
            },
            Cors = new Gcore.Inputs.CdnRuleOptionsCorsArgs
            {
                Values = new[]
                {
                    "string",
                },
                Always = false,
                Enabled = false,
            },
            CountryAcl = new Gcore.Inputs.CdnRuleOptionsCountryAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            DisableProxyForceRanges = new Gcore.Inputs.CdnRuleOptionsDisableProxyForceRangesArgs
            {
                Value = false,
                Enabled = false,
            },
            EdgeCacheSettings = new Gcore.Inputs.CdnRuleOptionsEdgeCacheSettingsArgs
            {
                CustomValues = 
                {
                    { "string", "string" },
                },
                Default = "string",
                Enabled = false,
                Value = "string",
            },
            Fastedge = new Gcore.Inputs.CdnRuleOptionsFastedgeArgs
            {
                Enabled = false,
                OnRequestBody = new Gcore.Inputs.CdnRuleOptionsFastedgeOnRequestBodyArgs
                {
                    AppId = "string",
                    Enabled = false,
                    ExecuteOnEdge = false,
                    ExecuteOnShield = false,
                    InterruptOnError = false,
                },
                OnRequestHeaders = new Gcore.Inputs.CdnRuleOptionsFastedgeOnRequestHeadersArgs
                {
                    AppId = "string",
                    Enabled = false,
                    ExecuteOnEdge = false,
                    ExecuteOnShield = false,
                    InterruptOnError = false,
                },
                OnResponseBody = new Gcore.Inputs.CdnRuleOptionsFastedgeOnResponseBodyArgs
                {
                    AppId = "string",
                    Enabled = false,
                    ExecuteOnEdge = false,
                    ExecuteOnShield = false,
                    InterruptOnError = false,
                },
                OnResponseHeaders = new Gcore.Inputs.CdnRuleOptionsFastedgeOnResponseHeadersArgs
                {
                    AppId = "string",
                    Enabled = false,
                    ExecuteOnEdge = false,
                    ExecuteOnShield = false,
                    InterruptOnError = false,
                },
            },
            FetchCompressed = new Gcore.Inputs.CdnRuleOptionsFetchCompressedArgs
            {
                Value = false,
                Enabled = false,
            },
            FollowOriginRedirect = new Gcore.Inputs.CdnRuleOptionsFollowOriginRedirectArgs
            {
                Codes = new[]
                {
                    0,
                },
                Enabled = false,
            },
            ForceReturn = new Gcore.Inputs.CdnRuleOptionsForceReturnArgs
            {
                Code = 0,
                Body = "string",
                Enabled = false,
            },
            ForwardHostHeader = new Gcore.Inputs.CdnRuleOptionsForwardHostHeaderArgs
            {
                Value = false,
                Enabled = false,
            },
            GzipOn = new Gcore.Inputs.CdnRuleOptionsGzipOnArgs
            {
                Value = false,
                Enabled = false,
            },
            HostHeader = new Gcore.Inputs.CdnRuleOptionsHostHeaderArgs
            {
                Value = "string",
                Enabled = false,
            },
            IgnoreCookie = new Gcore.Inputs.CdnRuleOptionsIgnoreCookieArgs
            {
                Value = false,
                Enabled = false,
            },
            IgnoreQueryString = new Gcore.Inputs.CdnRuleOptionsIgnoreQueryStringArgs
            {
                Value = false,
                Enabled = false,
            },
            ImageStack = new Gcore.Inputs.CdnRuleOptionsImageStackArgs
            {
                Quality = 0,
                AvifEnabled = false,
                Enabled = false,
                PngLossless = false,
                WebpEnabled = false,
            },
            IpAddressAcl = new Gcore.Inputs.CdnRuleOptionsIpAddressAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            LimitBandwidth = new Gcore.Inputs.CdnRuleOptionsLimitBandwidthArgs
            {
                LimitType = "string",
                Buffer = 0,
                Enabled = false,
                Speed = 0,
            },
            ProxyCacheKey = new Gcore.Inputs.CdnRuleOptionsProxyCacheKeyArgs
            {
                Value = "string",
                Enabled = false,
            },
            ProxyCacheMethodsSet = new Gcore.Inputs.CdnRuleOptionsProxyCacheMethodsSetArgs
            {
                Value = false,
                Enabled = false,
            },
            ProxyConnectTimeout = new Gcore.Inputs.CdnRuleOptionsProxyConnectTimeoutArgs
            {
                Value = "string",
                Enabled = false,
            },
            ProxyReadTimeout = new Gcore.Inputs.CdnRuleOptionsProxyReadTimeoutArgs
            {
                Value = "string",
                Enabled = false,
            },
            QueryParamsBlacklist = new Gcore.Inputs.CdnRuleOptionsQueryParamsBlacklistArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            QueryParamsWhitelist = new Gcore.Inputs.CdnRuleOptionsQueryParamsWhitelistArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            QueryStringForwarding = new Gcore.Inputs.CdnRuleOptionsQueryStringForwardingArgs
            {
                ForwardFromFileTypes = new[]
                {
                    "string",
                },
                ForwardToFileTypes = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            RedirectHttpToHttps = new Gcore.Inputs.CdnRuleOptionsRedirectHttpToHttpsArgs
            {
                Value = false,
                Enabled = false,
            },
            RedirectHttpsToHttp = new Gcore.Inputs.CdnRuleOptionsRedirectHttpsToHttpArgs
            {
                Value = false,
                Enabled = false,
            },
            ReferrerAcl = new Gcore.Inputs.CdnRuleOptionsReferrerAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            RequestLimiter = new Gcore.Inputs.CdnRuleOptionsRequestLimiterArgs
            {
                Burst = 0,
                Rate = 0,
                Delay = 0,
                Enabled = false,
                RateUnit = "string",
            },
            ResponseHeadersHidingPolicy = new Gcore.Inputs.CdnRuleOptionsResponseHeadersHidingPolicyArgs
            {
                Excepteds = new[]
                {
                    "string",
                },
                Mode = "string",
                Enabled = false,
            },
            Rewrite = new Gcore.Inputs.CdnRuleOptionsRewriteArgs
            {
                Body = "string",
                Enabled = false,
                Flag = "string",
            },
            SecureKey = new Gcore.Inputs.CdnRuleOptionsSecureKeyArgs
            {
                Key = "string",
                Type = 0,
                Enabled = false,
            },
            Slice = new Gcore.Inputs.CdnRuleOptionsSliceArgs
            {
                Value = false,
                Enabled = false,
            },
            Sni = new Gcore.Inputs.CdnRuleOptionsSniArgs
            {
                CustomHostname = "string",
                Enabled = false,
                SniType = "string",
            },
            Stale = new Gcore.Inputs.CdnRuleOptionsStaleArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            StaticRequestHeaders = new Gcore.Inputs.CdnRuleOptionsStaticRequestHeadersArgs
            {
                Value = 
                {
                    { "string", "string" },
                },
                Enabled = false,
            },
            StaticResponseHeaders = new Gcore.Inputs.CdnRuleOptionsStaticResponseHeadersArgs
            {
                Values = new[]
                {
                    new Gcore.Inputs.CdnRuleOptionsStaticResponseHeadersValueArgs
                    {
                        Name = "string",
                        Values = new[]
                        {
                            "string",
                        },
                        Always = false,
                    },
                },
                Enabled = false,
            },
            UserAgentAcl = new Gcore.Inputs.CdnRuleOptionsUserAgentAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            Waap = new Gcore.Inputs.CdnRuleOptionsWaapArgs
            {
                Value = false,
                Enabled = false,
            },
            Waf = new Gcore.Inputs.CdnRuleOptionsWafArgs
            {
                Value = false,
                Enabled = false,
            },
            Websockets = new Gcore.Inputs.CdnRuleOptionsWebsocketsArgs
            {
                Value = false,
                Enabled = false,
            },
        },
        OriginGroup = 0,
        OriginProtocol = "string",
        Weight = 0,
    });
    
    example, err := gcore.NewCdnRule(ctx, "cdnRuleResource", &gcore.CdnRuleArgs{
    	ResourceId: pulumi.Float64(0),
    	Rule:       pulumi.String("string"),
    	RuleType:   pulumi.Float64(0),
    	Active:     pulumi.Bool(false),
    	CdnRuleId:  pulumi.String("string"),
    	Name:       pulumi.String("string"),
    	Options: &gcore.CdnRuleOptionsArgs{
    		AllowedHttpMethods: &gcore.CdnRuleOptionsAllowedHttpMethodsArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		BrotliCompression: &gcore.CdnRuleOptionsBrotliCompressionArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		BrowserCacheSettings: &gcore.CdnRuleOptionsBrowserCacheSettingsArgs{
    			Enabled: pulumi.Bool(false),
    			Value:   pulumi.String("string"),
    		},
    		Cors: &gcore.CdnRuleOptionsCorsArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Always:  pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		CountryAcl: &gcore.CdnRuleOptionsCountryAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		DisableProxyForceRanges: &gcore.CdnRuleOptionsDisableProxyForceRangesArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		EdgeCacheSettings: &gcore.CdnRuleOptionsEdgeCacheSettingsArgs{
    			CustomValues: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Default: pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    			Value:   pulumi.String("string"),
    		},
    		Fastedge: &gcore.CdnRuleOptionsFastedgeArgs{
    			Enabled: pulumi.Bool(false),
    			OnRequestBody: &gcore.CdnRuleOptionsFastedgeOnRequestBodyArgs{
    				AppId:            pulumi.String("string"),
    				Enabled:          pulumi.Bool(false),
    				ExecuteOnEdge:    pulumi.Bool(false),
    				ExecuteOnShield:  pulumi.Bool(false),
    				InterruptOnError: pulumi.Bool(false),
    			},
    			OnRequestHeaders: &gcore.CdnRuleOptionsFastedgeOnRequestHeadersArgs{
    				AppId:            pulumi.String("string"),
    				Enabled:          pulumi.Bool(false),
    				ExecuteOnEdge:    pulumi.Bool(false),
    				ExecuteOnShield:  pulumi.Bool(false),
    				InterruptOnError: pulumi.Bool(false),
    			},
    			OnResponseBody: &gcore.CdnRuleOptionsFastedgeOnResponseBodyArgs{
    				AppId:            pulumi.String("string"),
    				Enabled:          pulumi.Bool(false),
    				ExecuteOnEdge:    pulumi.Bool(false),
    				ExecuteOnShield:  pulumi.Bool(false),
    				InterruptOnError: pulumi.Bool(false),
    			},
    			OnResponseHeaders: &gcore.CdnRuleOptionsFastedgeOnResponseHeadersArgs{
    				AppId:            pulumi.String("string"),
    				Enabled:          pulumi.Bool(false),
    				ExecuteOnEdge:    pulumi.Bool(false),
    				ExecuteOnShield:  pulumi.Bool(false),
    				InterruptOnError: pulumi.Bool(false),
    			},
    		},
    		FetchCompressed: &gcore.CdnRuleOptionsFetchCompressedArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		FollowOriginRedirect: &gcore.CdnRuleOptionsFollowOriginRedirectArgs{
    			Codes: pulumi.Float64Array{
    				pulumi.Float64(0),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		ForceReturn: &gcore.CdnRuleOptionsForceReturnArgs{
    			Code:    pulumi.Float64(0),
    			Body:    pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		ForwardHostHeader: &gcore.CdnRuleOptionsForwardHostHeaderArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		GzipOn: &gcore.CdnRuleOptionsGzipOnArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		HostHeader: &gcore.CdnRuleOptionsHostHeaderArgs{
    			Value:   pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		IgnoreCookie: &gcore.CdnRuleOptionsIgnoreCookieArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		IgnoreQueryString: &gcore.CdnRuleOptionsIgnoreQueryStringArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		ImageStack: &gcore.CdnRuleOptionsImageStackArgs{
    			Quality:     pulumi.Float64(0),
    			AvifEnabled: pulumi.Bool(false),
    			Enabled:     pulumi.Bool(false),
    			PngLossless: pulumi.Bool(false),
    			WebpEnabled: pulumi.Bool(false),
    		},
    		IpAddressAcl: &gcore.CdnRuleOptionsIpAddressAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		LimitBandwidth: &gcore.CdnRuleOptionsLimitBandwidthArgs{
    			LimitType: pulumi.String("string"),
    			Buffer:    pulumi.Float64(0),
    			Enabled:   pulumi.Bool(false),
    			Speed:     pulumi.Float64(0),
    		},
    		ProxyCacheKey: &gcore.CdnRuleOptionsProxyCacheKeyArgs{
    			Value:   pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		ProxyCacheMethodsSet: &gcore.CdnRuleOptionsProxyCacheMethodsSetArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		ProxyConnectTimeout: &gcore.CdnRuleOptionsProxyConnectTimeoutArgs{
    			Value:   pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		ProxyReadTimeout: &gcore.CdnRuleOptionsProxyReadTimeoutArgs{
    			Value:   pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		QueryParamsBlacklist: &gcore.CdnRuleOptionsQueryParamsBlacklistArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		QueryParamsWhitelist: &gcore.CdnRuleOptionsQueryParamsWhitelistArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		QueryStringForwarding: &gcore.CdnRuleOptionsQueryStringForwardingArgs{
    			ForwardFromFileTypes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ForwardToFileTypes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		RedirectHttpToHttps: &gcore.CdnRuleOptionsRedirectHttpToHttpsArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		RedirectHttpsToHttp: &gcore.CdnRuleOptionsRedirectHttpsToHttpArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		ReferrerAcl: &gcore.CdnRuleOptionsReferrerAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		RequestLimiter: &gcore.CdnRuleOptionsRequestLimiterArgs{
    			Burst:    pulumi.Float64(0),
    			Rate:     pulumi.Float64(0),
    			Delay:    pulumi.Float64(0),
    			Enabled:  pulumi.Bool(false),
    			RateUnit: pulumi.String("string"),
    		},
    		ResponseHeadersHidingPolicy: &gcore.CdnRuleOptionsResponseHeadersHidingPolicyArgs{
    			Excepteds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Mode:    pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		Rewrite: &gcore.CdnRuleOptionsRewriteArgs{
    			Body:    pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    			Flag:    pulumi.String("string"),
    		},
    		SecureKey: &gcore.CdnRuleOptionsSecureKeyArgs{
    			Key:     pulumi.String("string"),
    			Type:    pulumi.Float64(0),
    			Enabled: pulumi.Bool(false),
    		},
    		Slice: &gcore.CdnRuleOptionsSliceArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		Sni: &gcore.CdnRuleOptionsSniArgs{
    			CustomHostname: pulumi.String("string"),
    			Enabled:        pulumi.Bool(false),
    			SniType:        pulumi.String("string"),
    		},
    		Stale: &gcore.CdnRuleOptionsStaleArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		StaticRequestHeaders: &gcore.CdnRuleOptionsStaticRequestHeadersArgs{
    			Value: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		StaticResponseHeaders: &gcore.CdnRuleOptionsStaticResponseHeadersArgs{
    			Values: gcore.CdnRuleOptionsStaticResponseHeadersValueArray{
    				&gcore.CdnRuleOptionsStaticResponseHeadersValueArgs{
    					Name: pulumi.String("string"),
    					Values: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Always: pulumi.Bool(false),
    				},
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		UserAgentAcl: &gcore.CdnRuleOptionsUserAgentAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		Waap: &gcore.CdnRuleOptionsWaapArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		Waf: &gcore.CdnRuleOptionsWafArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		Websockets: &gcore.CdnRuleOptionsWebsocketsArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    	},
    	OriginGroup:    pulumi.Float64(0),
    	OriginProtocol: pulumi.String("string"),
    	Weight:         pulumi.Float64(0),
    })
    
    var cdnRuleResource = new CdnRule("cdnRuleResource", CdnRuleArgs.builder()
        .resourceId(0)
        .rule("string")
        .ruleType(0)
        .active(false)
        .cdnRuleId("string")
        .name("string")
        .options(CdnRuleOptionsArgs.builder()
            .allowedHttpMethods(CdnRuleOptionsAllowedHttpMethodsArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .brotliCompression(CdnRuleOptionsBrotliCompressionArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .browserCacheSettings(CdnRuleOptionsBrowserCacheSettingsArgs.builder()
                .enabled(false)
                .value("string")
                .build())
            .cors(CdnRuleOptionsCorsArgs.builder()
                .values("string")
                .always(false)
                .enabled(false)
                .build())
            .countryAcl(CdnRuleOptionsCountryAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .disableProxyForceRanges(CdnRuleOptionsDisableProxyForceRangesArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .edgeCacheSettings(CdnRuleOptionsEdgeCacheSettingsArgs.builder()
                .customValues(Map.of("string", "string"))
                .default_("string")
                .enabled(false)
                .value("string")
                .build())
            .fastedge(CdnRuleOptionsFastedgeArgs.builder()
                .enabled(false)
                .onRequestBody(CdnRuleOptionsFastedgeOnRequestBodyArgs.builder()
                    .appId("string")
                    .enabled(false)
                    .executeOnEdge(false)
                    .executeOnShield(false)
                    .interruptOnError(false)
                    .build())
                .onRequestHeaders(CdnRuleOptionsFastedgeOnRequestHeadersArgs.builder()
                    .appId("string")
                    .enabled(false)
                    .executeOnEdge(false)
                    .executeOnShield(false)
                    .interruptOnError(false)
                    .build())
                .onResponseBody(CdnRuleOptionsFastedgeOnResponseBodyArgs.builder()
                    .appId("string")
                    .enabled(false)
                    .executeOnEdge(false)
                    .executeOnShield(false)
                    .interruptOnError(false)
                    .build())
                .onResponseHeaders(CdnRuleOptionsFastedgeOnResponseHeadersArgs.builder()
                    .appId("string")
                    .enabled(false)
                    .executeOnEdge(false)
                    .executeOnShield(false)
                    .interruptOnError(false)
                    .build())
                .build())
            .fetchCompressed(CdnRuleOptionsFetchCompressedArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .followOriginRedirect(CdnRuleOptionsFollowOriginRedirectArgs.builder()
                .codes(0)
                .enabled(false)
                .build())
            .forceReturn(CdnRuleOptionsForceReturnArgs.builder()
                .code(0)
                .body("string")
                .enabled(false)
                .build())
            .forwardHostHeader(CdnRuleOptionsForwardHostHeaderArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .gzipOn(CdnRuleOptionsGzipOnArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .hostHeader(CdnRuleOptionsHostHeaderArgs.builder()
                .value("string")
                .enabled(false)
                .build())
            .ignoreCookie(CdnRuleOptionsIgnoreCookieArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .ignoreQueryString(CdnRuleOptionsIgnoreQueryStringArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .imageStack(CdnRuleOptionsImageStackArgs.builder()
                .quality(0)
                .avifEnabled(false)
                .enabled(false)
                .pngLossless(false)
                .webpEnabled(false)
                .build())
            .ipAddressAcl(CdnRuleOptionsIpAddressAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .limitBandwidth(CdnRuleOptionsLimitBandwidthArgs.builder()
                .limitType("string")
                .buffer(0)
                .enabled(false)
                .speed(0)
                .build())
            .proxyCacheKey(CdnRuleOptionsProxyCacheKeyArgs.builder()
                .value("string")
                .enabled(false)
                .build())
            .proxyCacheMethodsSet(CdnRuleOptionsProxyCacheMethodsSetArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .proxyConnectTimeout(CdnRuleOptionsProxyConnectTimeoutArgs.builder()
                .value("string")
                .enabled(false)
                .build())
            .proxyReadTimeout(CdnRuleOptionsProxyReadTimeoutArgs.builder()
                .value("string")
                .enabled(false)
                .build())
            .queryParamsBlacklist(CdnRuleOptionsQueryParamsBlacklistArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .queryParamsWhitelist(CdnRuleOptionsQueryParamsWhitelistArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .queryStringForwarding(CdnRuleOptionsQueryStringForwardingArgs.builder()
                .forwardFromFileTypes("string")
                .forwardToFileTypes("string")
                .enabled(false)
                .build())
            .redirectHttpToHttps(CdnRuleOptionsRedirectHttpToHttpsArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .redirectHttpsToHttp(CdnRuleOptionsRedirectHttpsToHttpArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .referrerAcl(CdnRuleOptionsReferrerAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .requestLimiter(CdnRuleOptionsRequestLimiterArgs.builder()
                .burst(0)
                .rate(0)
                .delay(0)
                .enabled(false)
                .rateUnit("string")
                .build())
            .responseHeadersHidingPolicy(CdnRuleOptionsResponseHeadersHidingPolicyArgs.builder()
                .excepteds("string")
                .mode("string")
                .enabled(false)
                .build())
            .rewrite(CdnRuleOptionsRewriteArgs.builder()
                .body("string")
                .enabled(false)
                .flag("string")
                .build())
            .secureKey(CdnRuleOptionsSecureKeyArgs.builder()
                .key("string")
                .type(0)
                .enabled(false)
                .build())
            .slice(CdnRuleOptionsSliceArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .sni(CdnRuleOptionsSniArgs.builder()
                .customHostname("string")
                .enabled(false)
                .sniType("string")
                .build())
            .stale(CdnRuleOptionsStaleArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .staticRequestHeaders(CdnRuleOptionsStaticRequestHeadersArgs.builder()
                .value(Map.of("string", "string"))
                .enabled(false)
                .build())
            .staticResponseHeaders(CdnRuleOptionsStaticResponseHeadersArgs.builder()
                .values(CdnRuleOptionsStaticResponseHeadersValueArgs.builder()
                    .name("string")
                    .values("string")
                    .always(false)
                    .build())
                .enabled(false)
                .build())
            .userAgentAcl(CdnRuleOptionsUserAgentAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .waap(CdnRuleOptionsWaapArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .waf(CdnRuleOptionsWafArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .websockets(CdnRuleOptionsWebsocketsArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .build())
        .originGroup(0)
        .originProtocol("string")
        .weight(0)
        .build());
    
    cdn_rule_resource = gcore.CdnRule("cdnRuleResource",
        resource_id=0,
        rule="string",
        rule_type=0,
        active=False,
        cdn_rule_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,
            },
        },
        origin_group=0,
        origin_protocol="string",
        weight=0)
    
    const cdnRuleResource = new gcore.CdnRule("cdnRuleResource", {
        resourceId: 0,
        rule: "string",
        ruleType: 0,
        active: false,
        cdnRuleId: "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,
            },
        },
        originGroup: 0,
        originProtocol: "string",
        weight: 0,
    });
    
    type: gcore:CdnRule
    properties:
        active: false
        cdnRuleId: 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
        originGroup: 0
        originProtocol: string
        resourceId: 0
        rule: string
        ruleType: 0
        weight: 0
    

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

    ResourceId double
    Rule string
    A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
    RuleType double
    Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
    Active bool
    The setting allows to enable or disable a Rule. If not specified, it will be enabled.
    CdnRuleId string
    The ID of this resource.
    Name string
    Rule name
    Options CdnRuleOptions
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    OriginGroup double
    ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
    OriginProtocol string
    This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
    Weight double
    Rule weight that determines rule execution order: from the smallest (0) to the highest.
    ResourceId float64
    Rule string
    A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
    RuleType float64
    Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
    Active bool
    The setting allows to enable or disable a Rule. If not specified, it will be enabled.
    CdnRuleId string
    The ID of this resource.
    Name string
    Rule name
    Options CdnRuleOptionsArgs
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    OriginGroup float64
    ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
    OriginProtocol string
    This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
    Weight float64
    Rule weight that determines rule execution order: from the smallest (0) to the highest.
    resourceId Double
    rule String
    A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
    ruleType Double
    Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
    active Boolean
    The setting allows to enable or disable a Rule. If not specified, it will be enabled.
    cdnRuleId String
    The ID of this resource.
    name String
    Rule name
    options CdnRuleOptions
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    originGroup Double
    ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
    originProtocol String
    This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
    weight Double
    Rule weight that determines rule execution order: from the smallest (0) to the highest.
    resourceId number
    rule string
    A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
    ruleType number
    Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
    active boolean
    The setting allows to enable or disable a Rule. If not specified, it will be enabled.
    cdnRuleId string
    The ID of this resource.
    name string
    Rule name
    options CdnRuleOptions
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    originGroup number
    ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
    originProtocol string
    This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
    weight number
    Rule weight that determines rule execution order: from the smallest (0) to the highest.
    resource_id float
    rule str
    A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
    rule_type float
    Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
    active bool
    The setting allows to enable or disable a Rule. If not specified, it will be enabled.
    cdn_rule_id str
    The ID of this resource.
    name str
    Rule name
    options CdnRuleOptionsArgs
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    origin_group float
    ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
    origin_protocol str
    This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
    weight float
    Rule weight that determines rule execution order: from the smallest (0) to the highest.
    resourceId Number
    rule String
    A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
    ruleType Number
    Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
    active Boolean
    The setting allows to enable or disable a Rule. If not specified, it will be enabled.
    cdnRuleId String
    The ID of this resource.
    name String
    Rule 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.
    originGroup Number
    ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
    originProtocol String
    This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
    weight Number
    Rule weight that determines rule execution order: from the smallest (0) to the highest.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CdnRule 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 CdnRule Resource

    Get an existing CdnRule 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?: CdnRuleState, opts?: CustomResourceOptions): CdnRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active: Optional[bool] = None,
            cdn_rule_id: Optional[str] = None,
            name: Optional[str] = None,
            options: Optional[CdnRuleOptionsArgs] = None,
            origin_group: Optional[float] = None,
            origin_protocol: Optional[str] = None,
            resource_id: Optional[float] = None,
            rule: Optional[str] = None,
            rule_type: Optional[float] = None,
            weight: Optional[float] = None) -> CdnRule
    func GetCdnRule(ctx *Context, name string, id IDInput, state *CdnRuleState, opts ...ResourceOption) (*CdnRule, error)
    public static CdnRule Get(string name, Input<string> id, CdnRuleState? state, CustomResourceOptions? opts = null)
    public static CdnRule get(String name, Output<String> id, CdnRuleState state, CustomResourceOptions options)
    resources:  _:    type: gcore:CdnRule    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:
    Active bool
    The setting allows to enable or disable a Rule. If not specified, it will be enabled.
    CdnRuleId string
    The ID of this resource.
    Name string
    Rule name
    Options CdnRuleOptions
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    OriginGroup double
    ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
    OriginProtocol string
    This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
    ResourceId double
    Rule string
    A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
    RuleType double
    Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
    Weight double
    Rule weight that determines rule execution order: from the smallest (0) to the highest.
    Active bool
    The setting allows to enable or disable a Rule. If not specified, it will be enabled.
    CdnRuleId string
    The ID of this resource.
    Name string
    Rule name
    Options CdnRuleOptionsArgs
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    OriginGroup float64
    ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
    OriginProtocol string
    This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
    ResourceId float64
    Rule string
    A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
    RuleType float64
    Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
    Weight float64
    Rule weight that determines rule execution order: from the smallest (0) to the highest.
    active Boolean
    The setting allows to enable or disable a Rule. If not specified, it will be enabled.
    cdnRuleId String
    The ID of this resource.
    name String
    Rule name
    options CdnRuleOptions
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    originGroup Double
    ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
    originProtocol String
    This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
    resourceId Double
    rule String
    A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
    ruleType Double
    Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
    weight Double
    Rule weight that determines rule execution order: from the smallest (0) to the highest.
    active boolean
    The setting allows to enable or disable a Rule. If not specified, it will be enabled.
    cdnRuleId string
    The ID of this resource.
    name string
    Rule name
    options CdnRuleOptions
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    originGroup number
    ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
    originProtocol string
    This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
    resourceId number
    rule string
    A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
    ruleType number
    Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
    weight number
    Rule weight that determines rule execution order: from the smallest (0) to the highest.
    active bool
    The setting allows to enable or disable a Rule. If not specified, it will be enabled.
    cdn_rule_id str
    The ID of this resource.
    name str
    Rule name
    options CdnRuleOptionsArgs
    Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
    origin_group float
    ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
    origin_protocol str
    This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
    resource_id float
    rule str
    A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
    rule_type float
    Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
    weight float
    Rule weight that determines rule execution order: from the smallest (0) to the highest.
    active Boolean
    The setting allows to enable or disable a Rule. If not specified, it will be enabled.
    cdnRuleId String
    The ID of this resource.
    name String
    Rule 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.
    originGroup Number
    ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
    originProtocol String
    This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
    resourceId Number
    rule String
    A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
    ruleType Number
    Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
    weight Number
    Rule weight that determines rule execution order: from the smallest (0) to the highest.

    Supporting Types

    CdnRuleOptions, CdnRuleOptionsArgs

    AllowedHttpMethods CdnRuleOptionsAllowedHttpMethods
    Specify allowed HTTP methods.
    BrotliCompression CdnRuleOptionsBrotliCompression
    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 CdnRuleOptionsBrowserCacheSettings
    Specify the cache expiration time for customers' browsers in seconds.
    Cors CdnRuleOptionsCors
    CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
    CountryAcl CdnRuleOptionsCountryAcl
    Country access policy enables control access to content for specified countries.
    DisableProxyForceRanges CdnRuleOptionsDisableProxyForceRanges
    The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
    EdgeCacheSettings CdnRuleOptionsEdgeCacheSettings
    The cache expiration time for CDN servers.
    Fastedge CdnRuleOptionsFastedge
    Allows to configure FastEdge app to be called on different request/response phases.
    FetchCompressed CdnRuleOptionsFetchCompressed
    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 CdnRuleOptionsFollowOriginRedirect
    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 CdnRuleOptionsForceReturn
    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 CdnRuleOptionsForwardHostHeader
    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 CdnRuleOptionsGzipOn
    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 CdnRuleOptionsHostHeader
    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 CdnRuleOptionsIgnoreCookie
    By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
    IgnoreQueryString CdnRuleOptionsIgnoreQueryString
    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 CdnRuleOptionsImageStack
    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 CdnRuleOptionsIpAddressAcl
    IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
    LimitBandwidth CdnRuleOptionsLimitBandwidth
    The option allows to control the download speed per connection.
    ProxyCacheKey CdnRuleOptionsProxyCacheKey
    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 CdnRuleOptionsProxyCacheMethodsSet
    Allows caching for GET, HEAD and POST requests.
    ProxyConnectTimeout CdnRuleOptionsProxyConnectTimeout
    The time limit for establishing a connection with the origin.
    ProxyReadTimeout CdnRuleOptionsProxyReadTimeout
    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 CdnRuleOptionsQueryParamsBlacklist
    Specify list of query strings. Files with those query strings will be cached as one object.
    QueryParamsWhitelist CdnRuleOptionsQueryParamsWhitelist
    Specify list of query strings. Files with those query strings will be cached as different objects.
    QueryStringForwarding CdnRuleOptionsQueryStringForwarding
    The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
    RedirectHttpToHttps CdnRuleOptionsRedirectHttpToHttps
    When enabled, HTTP requests are redirected to HTTPS.
    RedirectHttpsToHttp CdnRuleOptionsRedirectHttpsToHttp
    When enabled, HTTPS requests are redirected to HTTP.
    ReferrerAcl CdnRuleOptionsReferrerAcl
    Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
    RequestLimiter CdnRuleOptionsRequestLimiter
    It allows to limit the amount of HTTP requests
    ResponseHeadersHidingPolicy CdnRuleOptionsResponseHeadersHidingPolicy
    Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
    Rewrite CdnRuleOptionsRewrite
    Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
    SecureKey CdnRuleOptionsSecureKey
    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 CdnRuleOptionsSlice
    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 CdnRuleOptionsSni
    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 CdnRuleOptionsStale
    The list of errors which Always Online option is applied for.
    StaticRequestHeaders CdnRuleOptionsStaticRequestHeaders
    Specify custom HTTP Headers for a CDN server to add to request.
    StaticResponseHeaders CdnRuleOptionsStaticResponseHeaders
    Specify custom HTTP Headers that a CDN server adds to a response.
    UserAgentAcl CdnRuleOptionsUserAgentAcl
    User agents policy option allows to control access to the content for specified user-agent.
    Waap CdnRuleOptionsWaap
    Option allows to enable WAAP (Web Application and API Protection).
    Waf CdnRuleOptionsWaf
    Option allows to enable Basic WAF to protect you against the most common threats.
    Websockets CdnRuleOptionsWebsockets
    WebSockets option allows WebSockets connections to an origin server.
    AllowedHttpMethods CdnRuleOptionsAllowedHttpMethods
    Specify allowed HTTP methods.
    BrotliCompression CdnRuleOptionsBrotliCompression
    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 CdnRuleOptionsBrowserCacheSettings
    Specify the cache expiration time for customers' browsers in seconds.
    Cors CdnRuleOptionsCors
    CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
    CountryAcl CdnRuleOptionsCountryAcl
    Country access policy enables control access to content for specified countries.
    DisableProxyForceRanges CdnRuleOptionsDisableProxyForceRanges
    The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
    EdgeCacheSettings CdnRuleOptionsEdgeCacheSettings
    The cache expiration time for CDN servers.
    Fastedge CdnRuleOptionsFastedge
    Allows to configure FastEdge app to be called on different request/response phases.
    FetchCompressed CdnRuleOptionsFetchCompressed
    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 CdnRuleOptionsFollowOriginRedirect
    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 CdnRuleOptionsForceReturn
    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 CdnRuleOptionsForwardHostHeader
    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 CdnRuleOptionsGzipOn
    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 CdnRuleOptionsHostHeader
    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 CdnRuleOptionsIgnoreCookie
    By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
    IgnoreQueryString CdnRuleOptionsIgnoreQueryString
    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 CdnRuleOptionsImageStack
    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 CdnRuleOptionsIpAddressAcl
    IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
    LimitBandwidth CdnRuleOptionsLimitBandwidth
    The option allows to control the download speed per connection.
    ProxyCacheKey CdnRuleOptionsProxyCacheKey
    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 CdnRuleOptionsProxyCacheMethodsSet
    Allows caching for GET, HEAD and POST requests.
    ProxyConnectTimeout CdnRuleOptionsProxyConnectTimeout
    The time limit for establishing a connection with the origin.
    ProxyReadTimeout CdnRuleOptionsProxyReadTimeout
    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 CdnRuleOptionsQueryParamsBlacklist
    Specify list of query strings. Files with those query strings will be cached as one object.
    QueryParamsWhitelist CdnRuleOptionsQueryParamsWhitelist
    Specify list of query strings. Files with those query strings will be cached as different objects.
    QueryStringForwarding CdnRuleOptionsQueryStringForwarding
    The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
    RedirectHttpToHttps CdnRuleOptionsRedirectHttpToHttps
    When enabled, HTTP requests are redirected to HTTPS.
    RedirectHttpsToHttp CdnRuleOptionsRedirectHttpsToHttp
    When enabled, HTTPS requests are redirected to HTTP.
    ReferrerAcl CdnRuleOptionsReferrerAcl
    Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
    RequestLimiter CdnRuleOptionsRequestLimiter
    It allows to limit the amount of HTTP requests
    ResponseHeadersHidingPolicy CdnRuleOptionsResponseHeadersHidingPolicy
    Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
    Rewrite CdnRuleOptionsRewrite
    Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
    SecureKey CdnRuleOptionsSecureKey
    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 CdnRuleOptionsSlice
    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 CdnRuleOptionsSni
    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 CdnRuleOptionsStale
    The list of errors which Always Online option is applied for.
    StaticRequestHeaders CdnRuleOptionsStaticRequestHeaders
    Specify custom HTTP Headers for a CDN server to add to request.
    StaticResponseHeaders CdnRuleOptionsStaticResponseHeaders
    Specify custom HTTP Headers that a CDN server adds to a response.
    UserAgentAcl CdnRuleOptionsUserAgentAcl
    User agents policy option allows to control access to the content for specified user-agent.
    Waap CdnRuleOptionsWaap
    Option allows to enable WAAP (Web Application and API Protection).
    Waf CdnRuleOptionsWaf
    Option allows to enable Basic WAF to protect you against the most common threats.
    Websockets CdnRuleOptionsWebsockets
    WebSockets option allows WebSockets connections to an origin server.
    allowedHttpMethods CdnRuleOptionsAllowedHttpMethods
    Specify allowed HTTP methods.
    brotliCompression CdnRuleOptionsBrotliCompression
    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 CdnRuleOptionsBrowserCacheSettings
    Specify the cache expiration time for customers' browsers in seconds.
    cors CdnRuleOptionsCors
    CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
    countryAcl CdnRuleOptionsCountryAcl
    Country access policy enables control access to content for specified countries.
    disableProxyForceRanges CdnRuleOptionsDisableProxyForceRanges
    The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
    edgeCacheSettings CdnRuleOptionsEdgeCacheSettings
    The cache expiration time for CDN servers.
    fastedge CdnRuleOptionsFastedge
    Allows to configure FastEdge app to be called on different request/response phases.
    fetchCompressed CdnRuleOptionsFetchCompressed
    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 CdnRuleOptionsFollowOriginRedirect
    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 CdnRuleOptionsForceReturn
    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 CdnRuleOptionsForwardHostHeader
    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 CdnRuleOptionsGzipOn
    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 CdnRuleOptionsHostHeader
    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 CdnRuleOptionsIgnoreCookie
    By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
    ignoreQueryString CdnRuleOptionsIgnoreQueryString
    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 CdnRuleOptionsImageStack
    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 CdnRuleOptionsIpAddressAcl
    IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
    limitBandwidth CdnRuleOptionsLimitBandwidth
    The option allows to control the download speed per connection.
    proxyCacheKey CdnRuleOptionsProxyCacheKey
    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 CdnRuleOptionsProxyCacheMethodsSet
    Allows caching for GET, HEAD and POST requests.
    proxyConnectTimeout CdnRuleOptionsProxyConnectTimeout
    The time limit for establishing a connection with the origin.
    proxyReadTimeout CdnRuleOptionsProxyReadTimeout
    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 CdnRuleOptionsQueryParamsBlacklist
    Specify list of query strings. Files with those query strings will be cached as one object.
    queryParamsWhitelist CdnRuleOptionsQueryParamsWhitelist
    Specify list of query strings. Files with those query strings will be cached as different objects.
    queryStringForwarding CdnRuleOptionsQueryStringForwarding
    The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
    redirectHttpToHttps CdnRuleOptionsRedirectHttpToHttps
    When enabled, HTTP requests are redirected to HTTPS.
    redirectHttpsToHttp CdnRuleOptionsRedirectHttpsToHttp
    When enabled, HTTPS requests are redirected to HTTP.
    referrerAcl CdnRuleOptionsReferrerAcl
    Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
    requestLimiter CdnRuleOptionsRequestLimiter
    It allows to limit the amount of HTTP requests
    responseHeadersHidingPolicy CdnRuleOptionsResponseHeadersHidingPolicy
    Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
    rewrite CdnRuleOptionsRewrite
    Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
    secureKey CdnRuleOptionsSecureKey
    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 CdnRuleOptionsSlice
    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 CdnRuleOptionsSni
    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 CdnRuleOptionsStale
    The list of errors which Always Online option is applied for.
    staticRequestHeaders CdnRuleOptionsStaticRequestHeaders
    Specify custom HTTP Headers for a CDN server to add to request.
    staticResponseHeaders CdnRuleOptionsStaticResponseHeaders
    Specify custom HTTP Headers that a CDN server adds to a response.
    userAgentAcl CdnRuleOptionsUserAgentAcl
    User agents policy option allows to control access to the content for specified user-agent.
    waap CdnRuleOptionsWaap
    Option allows to enable WAAP (Web Application and API Protection).
    waf CdnRuleOptionsWaf
    Option allows to enable Basic WAF to protect you against the most common threats.
    websockets CdnRuleOptionsWebsockets
    WebSockets option allows WebSockets connections to an origin server.
    allowedHttpMethods CdnRuleOptionsAllowedHttpMethods
    Specify allowed HTTP methods.
    brotliCompression CdnRuleOptionsBrotliCompression
    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 CdnRuleOptionsBrowserCacheSettings
    Specify the cache expiration time for customers' browsers in seconds.
    cors CdnRuleOptionsCors
    CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
    countryAcl CdnRuleOptionsCountryAcl
    Country access policy enables control access to content for specified countries.
    disableProxyForceRanges CdnRuleOptionsDisableProxyForceRanges
    The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
    edgeCacheSettings CdnRuleOptionsEdgeCacheSettings
    The cache expiration time for CDN servers.
    fastedge CdnRuleOptionsFastedge
    Allows to configure FastEdge app to be called on different request/response phases.
    fetchCompressed CdnRuleOptionsFetchCompressed
    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 CdnRuleOptionsFollowOriginRedirect
    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 CdnRuleOptionsForceReturn
    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 CdnRuleOptionsForwardHostHeader
    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 CdnRuleOptionsGzipOn
    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 CdnRuleOptionsHostHeader
    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 CdnRuleOptionsIgnoreCookie
    By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
    ignoreQueryString CdnRuleOptionsIgnoreQueryString
    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 CdnRuleOptionsImageStack
    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 CdnRuleOptionsIpAddressAcl
    IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
    limitBandwidth CdnRuleOptionsLimitBandwidth
    The option allows to control the download speed per connection.
    proxyCacheKey CdnRuleOptionsProxyCacheKey
    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 CdnRuleOptionsProxyCacheMethodsSet
    Allows caching for GET, HEAD and POST requests.
    proxyConnectTimeout CdnRuleOptionsProxyConnectTimeout
    The time limit for establishing a connection with the origin.
    proxyReadTimeout CdnRuleOptionsProxyReadTimeout
    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 CdnRuleOptionsQueryParamsBlacklist
    Specify list of query strings. Files with those query strings will be cached as one object.
    queryParamsWhitelist CdnRuleOptionsQueryParamsWhitelist
    Specify list of query strings. Files with those query strings will be cached as different objects.
    queryStringForwarding CdnRuleOptionsQueryStringForwarding
    The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
    redirectHttpToHttps CdnRuleOptionsRedirectHttpToHttps
    When enabled, HTTP requests are redirected to HTTPS.
    redirectHttpsToHttp CdnRuleOptionsRedirectHttpsToHttp
    When enabled, HTTPS requests are redirected to HTTP.
    referrerAcl CdnRuleOptionsReferrerAcl
    Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
    requestLimiter CdnRuleOptionsRequestLimiter
    It allows to limit the amount of HTTP requests
    responseHeadersHidingPolicy CdnRuleOptionsResponseHeadersHidingPolicy
    Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
    rewrite CdnRuleOptionsRewrite
    Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
    secureKey CdnRuleOptionsSecureKey
    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 CdnRuleOptionsSlice
    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 CdnRuleOptionsSni
    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 CdnRuleOptionsStale
    The list of errors which Always Online option is applied for.
    staticRequestHeaders CdnRuleOptionsStaticRequestHeaders
    Specify custom HTTP Headers for a CDN server to add to request.
    staticResponseHeaders CdnRuleOptionsStaticResponseHeaders
    Specify custom HTTP Headers that a CDN server adds to a response.
    userAgentAcl CdnRuleOptionsUserAgentAcl
    User agents policy option allows to control access to the content for specified user-agent.
    waap CdnRuleOptionsWaap
    Option allows to enable WAAP (Web Application and API Protection).
    waf CdnRuleOptionsWaf
    Option allows to enable Basic WAF to protect you against the most common threats.
    websockets CdnRuleOptionsWebsockets
    WebSockets option allows WebSockets connections to an origin server.
    allowed_http_methods CdnRuleOptionsAllowedHttpMethods
    Specify allowed HTTP methods.
    brotli_compression CdnRuleOptionsBrotliCompression
    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 CdnRuleOptionsBrowserCacheSettings
    Specify the cache expiration time for customers' browsers in seconds.
    cors CdnRuleOptionsCors
    CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
    country_acl CdnRuleOptionsCountryAcl
    Country access policy enables control access to content for specified countries.
    disable_proxy_force_ranges CdnRuleOptionsDisableProxyForceRanges
    The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
    edge_cache_settings CdnRuleOptionsEdgeCacheSettings
    The cache expiration time for CDN servers.
    fastedge CdnRuleOptionsFastedge
    Allows to configure FastEdge app to be called on different request/response phases.
    fetch_compressed CdnRuleOptionsFetchCompressed
    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 CdnRuleOptionsFollowOriginRedirect
    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 CdnRuleOptionsForceReturn
    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 CdnRuleOptionsForwardHostHeader
    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 CdnRuleOptionsGzipOn
    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 CdnRuleOptionsHostHeader
    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 CdnRuleOptionsIgnoreCookie
    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 CdnRuleOptionsIgnoreQueryString
    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 CdnRuleOptionsImageStack
    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 CdnRuleOptionsIpAddressAcl
    IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
    limit_bandwidth CdnRuleOptionsLimitBandwidth
    The option allows to control the download speed per connection.
    proxy_cache_key CdnRuleOptionsProxyCacheKey
    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 CdnRuleOptionsProxyCacheMethodsSet
    Allows caching for GET, HEAD and POST requests.
    proxy_connect_timeout CdnRuleOptionsProxyConnectTimeout
    The time limit for establishing a connection with the origin.
    proxy_read_timeout CdnRuleOptionsProxyReadTimeout
    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 CdnRuleOptionsQueryParamsBlacklist
    Specify list of query strings. Files with those query strings will be cached as one object.
    query_params_whitelist CdnRuleOptionsQueryParamsWhitelist
    Specify list of query strings. Files with those query strings will be cached as different objects.
    query_string_forwarding CdnRuleOptionsQueryStringForwarding
    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 CdnRuleOptionsRedirectHttpToHttps
    When enabled, HTTP requests are redirected to HTTPS.
    redirect_https_to_http CdnRuleOptionsRedirectHttpsToHttp
    When enabled, HTTPS requests are redirected to HTTP.
    referrer_acl CdnRuleOptionsReferrerAcl
    Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
    request_limiter CdnRuleOptionsRequestLimiter
    It allows to limit the amount of HTTP requests
    response_headers_hiding_policy CdnRuleOptionsResponseHeadersHidingPolicy
    Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
    rewrite CdnRuleOptionsRewrite
    Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
    secure_key CdnRuleOptionsSecureKey
    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 CdnRuleOptionsSlice
    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 CdnRuleOptionsSni
    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 CdnRuleOptionsStale
    The list of errors which Always Online option is applied for.
    static_request_headers CdnRuleOptionsStaticRequestHeaders
    Specify custom HTTP Headers for a CDN server to add to request.
    static_response_headers CdnRuleOptionsStaticResponseHeaders
    Specify custom HTTP Headers that a CDN server adds to a response.
    user_agent_acl CdnRuleOptionsUserAgentAcl
    User agents policy option allows to control access to the content for specified user-agent.
    waap CdnRuleOptionsWaap
    Option allows to enable WAAP (Web Application and API Protection).
    waf CdnRuleOptionsWaf
    Option allows to enable Basic WAF to protect you against the most common threats.
    websockets CdnRuleOptionsWebsockets
    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.

    CdnRuleOptionsAllowedHttpMethods, CdnRuleOptionsAllowedHttpMethodsArgs

    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

    CdnRuleOptionsBrotliCompression, CdnRuleOptionsBrotliCompressionArgs

    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

    CdnRuleOptionsBrowserCacheSettings, CdnRuleOptionsBrowserCacheSettingsArgs

    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.

    CdnRuleOptionsCors, CdnRuleOptionsCorsArgs

    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

    CdnRuleOptionsCountryAcl, CdnRuleOptionsCountryAclArgs

    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

    CdnRuleOptionsDisableProxyForceRanges, CdnRuleOptionsDisableProxyForceRangesArgs

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

    CdnRuleOptionsEdgeCacheSettings, CdnRuleOptionsEdgeCacheSettingsArgs

    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.

    CdnRuleOptionsFastedge, CdnRuleOptionsFastedgeArgs

    Enabled bool
    OnRequestBody CdnRuleOptionsFastedgeOnRequestBody
    Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
    OnRequestHeaders CdnRuleOptionsFastedgeOnRequestHeaders
    Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
    OnResponseBody CdnRuleOptionsFastedgeOnResponseBody
    Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
    OnResponseHeaders CdnRuleOptionsFastedgeOnResponseHeaders
    Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
    Enabled bool
    OnRequestBody CdnRuleOptionsFastedgeOnRequestBody
    Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
    OnRequestHeaders CdnRuleOptionsFastedgeOnRequestHeaders
    Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
    OnResponseBody CdnRuleOptionsFastedgeOnResponseBody
    Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
    OnResponseHeaders CdnRuleOptionsFastedgeOnResponseHeaders
    Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
    enabled Boolean
    onRequestBody CdnRuleOptionsFastedgeOnRequestBody
    Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
    onRequestHeaders CdnRuleOptionsFastedgeOnRequestHeaders
    Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
    onResponseBody CdnRuleOptionsFastedgeOnResponseBody
    Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
    onResponseHeaders CdnRuleOptionsFastedgeOnResponseHeaders
    Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
    enabled boolean
    onRequestBody CdnRuleOptionsFastedgeOnRequestBody
    Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
    onRequestHeaders CdnRuleOptionsFastedgeOnRequestHeaders
    Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
    onResponseBody CdnRuleOptionsFastedgeOnResponseBody
    Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
    onResponseHeaders CdnRuleOptionsFastedgeOnResponseHeaders
    Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
    enabled bool
    on_request_body CdnRuleOptionsFastedgeOnRequestBody
    Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
    on_request_headers CdnRuleOptionsFastedgeOnRequestHeaders
    Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
    on_response_body CdnRuleOptionsFastedgeOnResponseBody
    Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
    on_response_headers CdnRuleOptionsFastedgeOnResponseHeaders
    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.

    CdnRuleOptionsFastedgeOnRequestBody, CdnRuleOptionsFastedgeOnRequestBodyArgs

    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.

    CdnRuleOptionsFastedgeOnRequestHeaders, CdnRuleOptionsFastedgeOnRequestHeadersArgs

    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.

    CdnRuleOptionsFastedgeOnResponseBody, CdnRuleOptionsFastedgeOnResponseBodyArgs

    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.

    CdnRuleOptionsFastedgeOnResponseHeaders, CdnRuleOptionsFastedgeOnResponseHeadersArgs

    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.

    CdnRuleOptionsFetchCompressed, CdnRuleOptionsFetchCompressedArgs

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

    CdnRuleOptionsFollowOriginRedirect, CdnRuleOptionsFollowOriginRedirectArgs

    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

    CdnRuleOptionsForceReturn, CdnRuleOptionsForceReturnArgs

    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

    CdnRuleOptionsForwardHostHeader, CdnRuleOptionsForwardHostHeaderArgs

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

    CdnRuleOptionsGzipOn, CdnRuleOptionsGzipOnArgs

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

    CdnRuleOptionsHostHeader, CdnRuleOptionsHostHeaderArgs

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

    CdnRuleOptionsIgnoreCookie, CdnRuleOptionsIgnoreCookieArgs

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

    CdnRuleOptionsIgnoreQueryString, CdnRuleOptionsIgnoreQueryStringArgs

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

    CdnRuleOptionsImageStack, CdnRuleOptionsImageStackArgs

    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.

    CdnRuleOptionsIpAddressAcl, CdnRuleOptionsIpAddressAclArgs

    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

    CdnRuleOptionsLimitBandwidth, CdnRuleOptionsLimitBandwidthArgs

    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.

    CdnRuleOptionsProxyCacheKey, CdnRuleOptionsProxyCacheKeyArgs

    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

    CdnRuleOptionsProxyCacheMethodsSet, CdnRuleOptionsProxyCacheMethodsSetArgs

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

    CdnRuleOptionsProxyConnectTimeout, CdnRuleOptionsProxyConnectTimeoutArgs

    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

    CdnRuleOptionsProxyReadTimeout, CdnRuleOptionsProxyReadTimeoutArgs

    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

    CdnRuleOptionsQueryParamsBlacklist, CdnRuleOptionsQueryParamsBlacklistArgs

    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

    CdnRuleOptionsQueryParamsWhitelist, CdnRuleOptionsQueryParamsWhitelistArgs

    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

    CdnRuleOptionsQueryStringForwarding, CdnRuleOptionsQueryStringForwardingArgs

    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

    CdnRuleOptionsRedirectHttpToHttps, CdnRuleOptionsRedirectHttpToHttpsArgs

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

    CdnRuleOptionsRedirectHttpsToHttp, CdnRuleOptionsRedirectHttpsToHttpArgs

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

    CdnRuleOptionsReferrerAcl, CdnRuleOptionsReferrerAclArgs

    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

    CdnRuleOptionsRequestLimiter, CdnRuleOptionsRequestLimiterArgs

    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

    CdnRuleOptionsResponseHeadersHidingPolicy, CdnRuleOptionsResponseHeadersHidingPolicyArgs

    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

    CdnRuleOptionsRewrite, CdnRuleOptionsRewriteArgs

    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.

    CdnRuleOptionsSecureKey, CdnRuleOptionsSecureKeyArgs

    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

    CdnRuleOptionsSlice, CdnRuleOptionsSliceArgs

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

    CdnRuleOptionsSni, CdnRuleOptionsSniArgs

    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.

    CdnRuleOptionsStale, CdnRuleOptionsStaleArgs

    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

    CdnRuleOptionsStaticRequestHeaders, CdnRuleOptionsStaticRequestHeadersArgs

    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

    CdnRuleOptionsStaticResponseHeaders, CdnRuleOptionsStaticResponseHeadersArgs

    CdnRuleOptionsStaticResponseHeadersValue, CdnRuleOptionsStaticResponseHeadersValueArgs

    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.

    CdnRuleOptionsUserAgentAcl, CdnRuleOptionsUserAgentAclArgs

    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

    CdnRuleOptionsWaap, CdnRuleOptionsWaapArgs

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

    CdnRuleOptionsWaf, CdnRuleOptionsWafArgs

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

    CdnRuleOptionsWebsockets, CdnRuleOptionsWebsocketsArgs

    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