published on Thursday, Aug 6, 2026 by g-core
published on Thursday, Aug 6, 2026 by g-core
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleCdnResources = gcore.getCdnResources({
active: true,
cname: "cname",
deleted: true,
enabled: true,
isPrimary: true,
maxCreated: "max_created",
maxUpdated: "max_updated",
minCreated: "min_created",
minUpdated: "min_updated",
name: "name",
originGroup: 0,
originGroupIn: "originGroup__in",
originProtocol: "HTTP",
rules: "rules",
secondaryHostnames: "secondaryHostnames",
shieldDc: "shield_dc",
shielded: true,
sslData: 0,
sslDataIn: 0,
sslEnabled: true,
status: "active",
suspend: true,
suspended: true,
vpEnabled: true,
});
import pulumi
import pulumi_gcore as gcore
example_cdn_resources = gcore.get_cdn_resources(active=True,
cname="cname",
deleted=True,
enabled=True,
is_primary=True,
max_created="max_created",
max_updated="max_updated",
min_created="min_created",
min_updated="min_updated",
name="name",
origin_group=0,
origin_group_in="originGroup__in",
origin_protocol="HTTP",
rules="rules",
secondary_hostnames="secondaryHostnames",
shield_dc="shield_dc",
shielded=True,
ssl_data=0,
ssl_data_in=0,
ssl_enabled=True,
status="active",
suspend=True,
suspended=True,
vp_enabled=True)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gcore.GetCdnResources(ctx, &gcore.GetCdnResourcesArgs{
Active: pulumi.BoolRef(true),
Cname: pulumi.StringRef("cname"),
Deleted: pulumi.BoolRef(true),
Enabled: pulumi.BoolRef(true),
IsPrimary: pulumi.BoolRef(true),
MaxCreated: pulumi.StringRef("max_created"),
MaxUpdated: pulumi.StringRef("max_updated"),
MinCreated: pulumi.StringRef("min_created"),
MinUpdated: pulumi.StringRef("min_updated"),
Name: pulumi.StringRef("name"),
OriginGroup: pulumi.Float64Ref(0),
OriginGroupIn: pulumi.StringRef("originGroup__in"),
OriginProtocol: pulumi.StringRef("HTTP"),
Rules: pulumi.StringRef("rules"),
SecondaryHostnames: pulumi.StringRef("secondaryHostnames"),
ShieldDc: pulumi.StringRef("shield_dc"),
Shielded: pulumi.BoolRef(true),
SslData: pulumi.Float64Ref(0),
SslDataIn: pulumi.Float64Ref(0),
SslEnabled: pulumi.BoolRef(true),
Status: pulumi.StringRef("active"),
Suspend: pulumi.BoolRef(true),
Suspended: pulumi.BoolRef(true),
VpEnabled: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcore = Pulumi.Gcore;
return await Deployment.RunAsync(() =>
{
var exampleCdnResources = Gcore.GetCdnResources.Invoke(new()
{
Active = true,
Cname = "cname",
Deleted = true,
Enabled = true,
IsPrimary = true,
MaxCreated = "max_created",
MaxUpdated = "max_updated",
MinCreated = "min_created",
MinUpdated = "min_updated",
Name = "name",
OriginGroup = 0,
OriginGroupIn = "originGroup__in",
OriginProtocol = "HTTP",
Rules = "rules",
SecondaryHostnames = "secondaryHostnames",
ShieldDc = "shield_dc",
Shielded = true,
SslData = 0,
SslDataIn = 0,
SslEnabled = true,
Status = "active",
Suspend = true,
Suspended = true,
VpEnabled = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.GcoreFunctions;
import com.pulumi.gcore.inputs.GetCdnResourcesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleCdnResources = GcoreFunctions.getCdnResources(GetCdnResourcesArgs.builder()
.active(true)
.cname("cname")
.deleted(true)
.enabled(true)
.isPrimary(true)
.maxCreated("max_created")
.maxUpdated("max_updated")
.minCreated("min_created")
.minUpdated("min_updated")
.name("name")
.originGroup(0)
.originGroupIn("originGroup__in")
.originProtocol("HTTP")
.rules("rules")
.secondaryHostnames("secondaryHostnames")
.shieldDc("shield_dc")
.shielded(true)
.sslData(0)
.sslDataIn(0)
.sslEnabled(true)
.status("active")
.suspend(true)
.suspended(true)
.vpEnabled(true)
.build());
}
}
variables:
exampleCdnResources:
fn::invoke:
function: gcore:getCdnResources
arguments:
active: true
cname: cname
deleted: true
enabled: true
isPrimary: true
maxCreated: max_created
maxUpdated: max_updated
minCreated: min_created
minUpdated: min_updated
name: name
originGroup: 0
originGroupIn: originGroup__in
originProtocol: HTTP
rules: rules
secondaryHostnames: secondaryHostnames
shieldDc: shield_dc
shielded: true
sslData: 0
sslDataIn: 0
sslEnabled: true
status: active
suspend: true
suspended: true
vpEnabled: true
Example coming soon!
Using getCdnResources
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCdnResources(args: GetCdnResourcesArgs, opts?: InvokeOptions): Promise<GetCdnResourcesResult>
function getCdnResourcesOutput(args: GetCdnResourcesOutputArgs, opts?: InvokeOptions): Output<GetCdnResourcesResult>def get_cdn_resources(active: Optional[bool] = None,
cname: Optional[str] = None,
deleted: Optional[bool] = None,
enabled: Optional[bool] = None,
is_primary: Optional[bool] = None,
max_created: Optional[str] = None,
max_items: Optional[float] = None,
max_updated: Optional[str] = None,
min_created: Optional[str] = None,
min_updated: Optional[str] = None,
name: Optional[str] = None,
origin_group: Optional[float] = None,
origin_group_in: Optional[str] = None,
origin_protocol: Optional[str] = None,
rules: Optional[str] = None,
secondary_hostnames: Optional[str] = None,
shield_dc: Optional[str] = None,
shielded: Optional[bool] = None,
ssl_data: Optional[float] = None,
ssl_data_in: Optional[float] = None,
ssl_enabled: Optional[bool] = None,
status: Optional[str] = None,
suspend: Optional[bool] = None,
suspended: Optional[bool] = None,
vp_enabled: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetCdnResourcesResult
def get_cdn_resources_output(active: pulumi.Input[Optional[bool]] = None,
cname: pulumi.Input[Optional[str]] = None,
deleted: pulumi.Input[Optional[bool]] = None,
enabled: pulumi.Input[Optional[bool]] = None,
is_primary: pulumi.Input[Optional[bool]] = None,
max_created: pulumi.Input[Optional[str]] = None,
max_items: pulumi.Input[Optional[float]] = None,
max_updated: pulumi.Input[Optional[str]] = None,
min_created: pulumi.Input[Optional[str]] = None,
min_updated: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
origin_group: pulumi.Input[Optional[float]] = None,
origin_group_in: pulumi.Input[Optional[str]] = None,
origin_protocol: pulumi.Input[Optional[str]] = None,
rules: pulumi.Input[Optional[str]] = None,
secondary_hostnames: pulumi.Input[Optional[str]] = None,
shield_dc: pulumi.Input[Optional[str]] = None,
shielded: pulumi.Input[Optional[bool]] = None,
ssl_data: pulumi.Input[Optional[float]] = None,
ssl_data_in: pulumi.Input[Optional[float]] = None,
ssl_enabled: pulumi.Input[Optional[bool]] = None,
status: pulumi.Input[Optional[str]] = None,
suspend: pulumi.Input[Optional[bool]] = None,
suspended: pulumi.Input[Optional[bool]] = None,
vp_enabled: pulumi.Input[Optional[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCdnResourcesResult]func GetCdnResources(ctx *Context, args *GetCdnResourcesArgs, opts ...InvokeOption) (*GetCdnResourcesResult, error)
func GetCdnResourcesOutput(ctx *Context, args *GetCdnResourcesOutputArgs, opts ...InvokeOption) GetCdnResourcesResultOutput> Note: This function is named GetCdnResources in the Go SDK.
public static class GetCdnResources
{
public static Task<GetCdnResourcesResult> InvokeAsync(GetCdnResourcesArgs args, InvokeOptions? opts = null)
public static Output<GetCdnResourcesResult> Invoke(GetCdnResourcesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCdnResourcesResult> getCdnResources(GetCdnResourcesArgs args, InvokeOptions options)
public static Output<GetCdnResourcesResult> getCdnResources(GetCdnResourcesArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCdnResources:getCdnResources
arguments:
# arguments dictionarydata "gcore_get_cdn_resources" "name" {
# arguments
}The following arguments are supported:
- Active bool
- Defines whether a CDN resource is activated.
- Cname string
- Deleted bool
- Enabled bool
- Is
Primary bool - Max
Created string - Max
Items double - Max
Updated string - Min
Created string - Min
Updated string - Name string
- Origin
Group double - Origin
Group stringIn - Origin
Protocol string - Rules string
- Secondary
Hostnames string - Shield
Dc string - Shielded bool
- Ssl
Data double - Ssl
Data doubleIn - Ssl
Enabled bool - Status string
- Suspend bool
- Suspended bool
- Vp
Enabled bool
- Active bool
- Defines whether a CDN resource is activated.
- Cname string
- Deleted bool
- Enabled bool
- Is
Primary bool - Max
Created string - Max
Items float64 - Max
Updated string - Min
Created string - Min
Updated string - Name string
- Origin
Group float64 - Origin
Group stringIn - Origin
Protocol string - Rules string
- Secondary
Hostnames string - Shield
Dc string - Shielded bool
- Ssl
Data float64 - Ssl
Data float64In - Ssl
Enabled bool - Status string
- Suspend bool
- Suspended bool
- Vp
Enabled bool
- active bool
- Defines whether a CDN resource is activated.
- cname string
- deleted bool
- enabled bool
- is_
primary bool - max_
created string - max_
items number - max_
updated string - min_
created string - min_
updated string - name string
- origin_
group number - origin_
group_ stringin - origin_
protocol string - rules string
- secondary_
hostnames string - shield_
dc string - shielded bool
- ssl_
data number - ssl_
data_ numberin - ssl_
enabled bool - status string
- suspend bool
- suspended bool
- vp_
enabled bool
- active Boolean
- Defines whether a CDN resource is activated.
- cname String
- deleted Boolean
- enabled Boolean
- is
Primary Boolean - max
Created String - max
Items Double - max
Updated String - min
Created String - min
Updated String - name String
- origin
Group Double - origin
Group StringIn - origin
Protocol String - rules String
- secondary
Hostnames String - shield
Dc String - shielded Boolean
- ssl
Data Double - ssl
Data DoubleIn - ssl
Enabled Boolean - status String
- suspend Boolean
- suspended Boolean
- vp
Enabled Boolean
- active boolean
- Defines whether a CDN resource is activated.
- cname string
- deleted boolean
- enabled boolean
- is
Primary boolean - max
Created string - max
Items number - max
Updated string - min
Created string - min
Updated string - name string
- origin
Group number - origin
Group stringIn - origin
Protocol string - rules string
- secondary
Hostnames string - shield
Dc string - shielded boolean
- ssl
Data number - ssl
Data numberIn - ssl
Enabled boolean - status string
- suspend boolean
- suspended boolean
- vp
Enabled boolean
- active bool
- Defines whether a CDN resource is activated.
- cname str
- deleted bool
- enabled bool
- is_
primary bool - max_
created str - max_
items float - max_
updated str - min_
created str - min_
updated str - name str
- origin_
group float - origin_
group_ strin - origin_
protocol str - rules str
- secondary_
hostnames str - shield_
dc str - shielded bool
- ssl_
data float - ssl_
data_ floatin - ssl_
enabled bool - status str
- suspend bool
- suspended bool
- vp_
enabled bool
- active Boolean
- Defines whether a CDN resource is activated.
- cname String
- deleted Boolean
- enabled Boolean
- is
Primary Boolean - max
Created String - max
Items Number - max
Updated String - min
Created String - min
Updated String - name String
- origin
Group Number - origin
Group StringIn - origin
Protocol String - rules String
- secondary
Hostnames String - shield
Dc String - shielded Boolean
- ssl
Data Number - ssl
Data NumberIn - ssl
Enabled Boolean - status String
- suspend Boolean
- suspended Boolean
- vp
Enabled Boolean
getCdnResources Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Cdn Resources Item> - Active bool
- Defines whether a CDN resource is activated.
- Cname string
- Deleted bool
- Enabled bool
- Is
Primary bool - Max
Created string - Max
Items double - Max
Updated string - Min
Created string - Min
Updated string - Name string
- Origin
Group double - Origin
Group stringIn - Origin
Protocol string - Rules string
- Secondary
Hostnames string - Shield
Dc string - Shielded bool
- Ssl
Data double - Ssl
Data doubleIn - Ssl
Enabled bool - Status string
- Suspend bool
- Suspended bool
- Vp
Enabled bool
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Cdn Resources Item - Active bool
- Defines whether a CDN resource is activated.
- Cname string
- Deleted bool
- Enabled bool
- Is
Primary bool - Max
Created string - Max
Items float64 - Max
Updated string - Min
Created string - Min
Updated string - Name string
- Origin
Group float64 - Origin
Group stringIn - Origin
Protocol string - Rules string
- Secondary
Hostnames string - Shield
Dc string - Shielded bool
- Ssl
Data float64 - Ssl
Data float64In - Ssl
Enabled bool - Status string
- Suspend bool
- Suspended bool
- Vp
Enabled bool
- id string
- The provider-assigned unique ID for this managed resource.
- items list(object)
- active bool
- Defines whether a CDN resource is activated.
- cname string
- deleted bool
- enabled bool
- is_
primary bool - max_
created string - max_
items number - max_
updated string - min_
created string - min_
updated string - name string
- origin_
group number - origin_
group_ stringin - origin_
protocol string - rules string
- secondary_
hostnames string - shield_
dc string - shielded bool
- ssl_
data number - ssl_
data_ numberin - ssl_
enabled bool - status string
- suspend bool
- suspended bool
- vp_
enabled bool
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Cdn Resources Item> - active Boolean
- Defines whether a CDN resource is activated.
- cname String
- deleted Boolean
- enabled Boolean
- is
Primary Boolean - max
Created String - max
Items Double - max
Updated String - min
Created String - min
Updated String - name String
- origin
Group Double - origin
Group StringIn - origin
Protocol String - rules String
- secondary
Hostnames String - shield
Dc String - shielded Boolean
- ssl
Data Double - ssl
Data DoubleIn - ssl
Enabled Boolean - status String
- suspend Boolean
- suspended Boolean
- vp
Enabled Boolean
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Cdn Resources Item[] - active boolean
- Defines whether a CDN resource is activated.
- cname string
- deleted boolean
- enabled boolean
- is
Primary boolean - max
Created string - max
Items number - max
Updated string - min
Created string - min
Updated string - name string
- origin
Group number - origin
Group stringIn - origin
Protocol string - rules string
- secondary
Hostnames string - shield
Dc string - shielded boolean
- ssl
Data number - ssl
Data numberIn - ssl
Enabled boolean - status string
- suspend boolean
- suspended boolean
- vp
Enabled boolean
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Cdn Resources Item] - active bool
- Defines whether a CDN resource is activated.
- cname str
- deleted bool
- enabled bool
- is_
primary bool - max_
created str - max_
items float - max_
updated str - min_
created str - min_
updated str - name str
- origin_
group float - origin_
group_ strin - origin_
protocol str - rules str
- secondary_
hostnames str - shield_
dc str - shielded bool
- ssl_
data float - ssl_
data_ floatin - ssl_
enabled bool - status str
- suspend bool
- suspended bool
- vp_
enabled bool
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- active Boolean
- Defines whether a CDN resource is activated.
- cname String
- deleted Boolean
- enabled Boolean
- is
Primary Boolean - max
Created String - max
Items Number - max
Updated String - min
Created String - min
Updated String - name String
- origin
Group Number - origin
Group StringIn - origin
Protocol String - rules String
- secondary
Hostnames String - shield
Dc String - shielded Boolean
- ssl
Data Number - ssl
Data NumberIn - ssl
Enabled Boolean - status String
- suspend Boolean
- suspended Boolean
- vp
Enabled Boolean
Supporting Types
GetCdnResourcesItem
- Active bool
- Enables or disables a CDN resource.
- Can
Purge boolBy Urls Defines whether the CDN resource can be used for purge by URLs feature.
It's available only in case the CDN resource has enabled
ignore_vary_headeroption.- Client double
- ID of an account to which the CDN resource belongs.
- Cname string
Delivery domains that will be used for content delivery through a CDN.
Delivery domains should be added to your DNS settings.
- Created string
- Date of CDN resource creation.
- Deleted bool
Defines whether CDN resource has been deleted.
Possible values:
- true - CDN resource is deleted.
- false - CDN resource is not deleted.
- Description string
- Optional comment describing the CDN resource.
- Enabled bool
Enables or disables a CDN resource change by a user.
Possible values:
- true - CDN resource is enabled and can be changed. Content can be delivered.
- false - CDN resource is disabled and cannot be changed. Content can not be delivered.
- Full
Custom boolEnabled Defines whether the CDN resource has a custom configuration.
Possible values:
- true - CDN resource has a custom configuration. You cannot change resource settings, except for the SSL certificate. To change other settings, contact technical support.
- false - CDN resource has a regular configuration. You can change CDN resource settings.
- Id double
- CDN resource ID.
- Is
Primary bool Defines whether a CDN resource has a cache zone shared with other CDN resources.
Possible values:
- true - CDN resource is main and has a shared caching zone with other CDN resources, which are called reserve.
- false - CDN resource is reserve and it has a shared caching zone with the main CDN resource. You cannot change some options, create rules, set up origin shielding and use the reserve resource for Streaming.
- null - CDN resource does not have a shared cache zone.
The main CDN resource is specified in the
primary_resourcefield. It cannot be suspended unless all related reserve CDN resources are suspended.- Name string
- CDN resource name.
- Options
Get
Cdn Resources Item Options List of options that can be configured for the CDN resource.
In case of
nullvalue the option is not added to the CDN resource. Option may inherit its value from the global account settings.- Origin
Group double - Origin group ID with which the CDN resource is associated.
- Origin
Group stringName - Origin group name.
- Origin
Protocol string Protocol used by CDN servers to request content from an origin source.
Possible values:
- HTTPS - CDN servers will connect to the origin via HTTPS.
- HTTP - CDN servers will connect to the origin via HTTP.
- MATCH - connection protocol will be chosen automatically (content on the origin source should be available for the CDN both through HTTP and HTTPS).
If protocol is not specified, HTTP is used to connect to an origin server. Available values: "HTTP", "HTTPS", "MATCH".
- Preset
Applied bool Defines whether the CDN resource has a preset applied.
Possible values:
- true - CDN resource has a preset applied. CDN resource options included in the preset cannot be edited.
- false - CDN resource does not have a preset applied.
- Primary
Resource double ID of the main CDN resource which has a shared caching zone with a reserve CDN resource.
If the parameter is not empty, then the current CDN resource is the reserve. You cannot change some options, create rules, set up origin shielding, or use the reserve CDN resource for Streaming.
- Proxy
Ssl doubleCa ID of the trusted CA certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- Proxy
Ssl doubleData ID of the SSL certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- Proxy
Ssl boolEnabled Enables or disables SSL certificate validation of the origin server before completing any connection.
Possible values:
- true - Origin SSL certificate validation is enabled.
- false - Origin SSL certificate validation is disabled.
- Rules List<string>
- Rules configured for the CDN resource.
- Secondary
Hostnames List<string> Additional delivery domains (CNAMEs) that will be used to deliver content via the CDN.
Up to ten additional CNAMEs are possible.
- Shield
Dc string Name of the origin shielding location data center.
Parameter returns null if origin shielding is disabled.
- Shield
Enabled bool Defines whether origin shield is active and working for the CDN resource.
Possible values:
- true - Origin shield is active.
- false - Origin shield is not active.
- Shield
Routing doubleMap Defines whether the origin shield with a dynamic location is enabled for the CDN resource.
To manage origin shielding, you must contact customer support.
- Shielded bool
Defines whether origin shielding feature is enabled for the resource.
Possible values:
- true - Origin shielding is enabled.
- false - Origin shielding is disabled.
- Ssl
Data double ID of the SSL certificate linked to the CDN resource.
Can be used only with
"sslEnabled": true.- Ssl
Enabled bool Defines whether the HTTPS protocol enabled for content delivery.
Possible values:
- true - HTTPS is enabled.
- false - HTTPS is disabled.
- Status string
CDN resource status.
Possible values:
- active - CDN resource is active. Content is available to users.
- suspended - CDN resource is suspended. Content is not available to users.
- processed - CDN resource has recently been created and is currently being processed. It will take about fifteen minutes to propagate it to all locations.
- deleted - CDN resource is deleted. Available values: "active", "suspended", "processed", "deleted".
- Suspend
Date string Date when the CDN resource was suspended automatically if there is no traffic on it for 90 days.
Not specified if the resource was not stopped due to lack of traffic.
- Suspended bool
Defines whether the CDN resource has been automatically suspended because there was no traffic on it for 90 days.
Possible values:
- true - CDN resource is currently automatically suspended.
- false - CDN resource is not automatically suspended.
You can enable CDN resource using the
activefield. If there is no traffic on the CDN resource within seven days following activation, it will be suspended again.To avoid CDN resource suspension due to no traffic, contact technical support.
- Updated string
- Date of the last CDN resource update.
- Vp
Enabled bool Defines whether the CDN resource is integrated with the Streaming Platform.
Possible values:
- true - CDN resource is configured for Streaming Platform. Changing resource settings can affect its operation.
- false - CDN resource is not configured for Streaming Platform.
- Waap
Domain stringId - The ID of the associated WAAP domain.
- Active bool
- Enables or disables a CDN resource.
- Can
Purge boolBy Urls Defines whether the CDN resource can be used for purge by URLs feature.
It's available only in case the CDN resource has enabled
ignore_vary_headeroption.- Client float64
- ID of an account to which the CDN resource belongs.
- Cname string
Delivery domains that will be used for content delivery through a CDN.
Delivery domains should be added to your DNS settings.
- Created string
- Date of CDN resource creation.
- Deleted bool
Defines whether CDN resource has been deleted.
Possible values:
- true - CDN resource is deleted.
- false - CDN resource is not deleted.
- Description string
- Optional comment describing the CDN resource.
- Enabled bool
Enables or disables a CDN resource change by a user.
Possible values:
- true - CDN resource is enabled and can be changed. Content can be delivered.
- false - CDN resource is disabled and cannot be changed. Content can not be delivered.
- Full
Custom boolEnabled Defines whether the CDN resource has a custom configuration.
Possible values:
- true - CDN resource has a custom configuration. You cannot change resource settings, except for the SSL certificate. To change other settings, contact technical support.
- false - CDN resource has a regular configuration. You can change CDN resource settings.
- Id float64
- CDN resource ID.
- Is
Primary bool Defines whether a CDN resource has a cache zone shared with other CDN resources.
Possible values:
- true - CDN resource is main and has a shared caching zone with other CDN resources, which are called reserve.
- false - CDN resource is reserve and it has a shared caching zone with the main CDN resource. You cannot change some options, create rules, set up origin shielding and use the reserve resource for Streaming.
- null - CDN resource does not have a shared cache zone.
The main CDN resource is specified in the
primary_resourcefield. It cannot be suspended unless all related reserve CDN resources are suspended.- Name string
- CDN resource name.
- Options
Get
Cdn Resources Item Options List of options that can be configured for the CDN resource.
In case of
nullvalue the option is not added to the CDN resource. Option may inherit its value from the global account settings.- Origin
Group float64 - Origin group ID with which the CDN resource is associated.
- Origin
Group stringName - Origin group name.
- Origin
Protocol string Protocol used by CDN servers to request content from an origin source.
Possible values:
- HTTPS - CDN servers will connect to the origin via HTTPS.
- HTTP - CDN servers will connect to the origin via HTTP.
- MATCH - connection protocol will be chosen automatically (content on the origin source should be available for the CDN both through HTTP and HTTPS).
If protocol is not specified, HTTP is used to connect to an origin server. Available values: "HTTP", "HTTPS", "MATCH".
- Preset
Applied bool Defines whether the CDN resource has a preset applied.
Possible values:
- true - CDN resource has a preset applied. CDN resource options included in the preset cannot be edited.
- false - CDN resource does not have a preset applied.
- Primary
Resource float64 ID of the main CDN resource which has a shared caching zone with a reserve CDN resource.
If the parameter is not empty, then the current CDN resource is the reserve. You cannot change some options, create rules, set up origin shielding, or use the reserve CDN resource for Streaming.
- Proxy
Ssl float64Ca ID of the trusted CA certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- Proxy
Ssl float64Data ID of the SSL certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- Proxy
Ssl boolEnabled Enables or disables SSL certificate validation of the origin server before completing any connection.
Possible values:
- true - Origin SSL certificate validation is enabled.
- false - Origin SSL certificate validation is disabled.
- Rules []string
- Rules configured for the CDN resource.
- Secondary
Hostnames []string Additional delivery domains (CNAMEs) that will be used to deliver content via the CDN.
Up to ten additional CNAMEs are possible.
- Shield
Dc string Name of the origin shielding location data center.
Parameter returns null if origin shielding is disabled.
- Shield
Enabled bool Defines whether origin shield is active and working for the CDN resource.
Possible values:
- true - Origin shield is active.
- false - Origin shield is not active.
- Shield
Routing float64Map Defines whether the origin shield with a dynamic location is enabled for the CDN resource.
To manage origin shielding, you must contact customer support.
- Shielded bool
Defines whether origin shielding feature is enabled for the resource.
Possible values:
- true - Origin shielding is enabled.
- false - Origin shielding is disabled.
- Ssl
Data float64 ID of the SSL certificate linked to the CDN resource.
Can be used only with
"sslEnabled": true.- Ssl
Enabled bool Defines whether the HTTPS protocol enabled for content delivery.
Possible values:
- true - HTTPS is enabled.
- false - HTTPS is disabled.
- Status string
CDN resource status.
Possible values:
- active - CDN resource is active. Content is available to users.
- suspended - CDN resource is suspended. Content is not available to users.
- processed - CDN resource has recently been created and is currently being processed. It will take about fifteen minutes to propagate it to all locations.
- deleted - CDN resource is deleted. Available values: "active", "suspended", "processed", "deleted".
- Suspend
Date string Date when the CDN resource was suspended automatically if there is no traffic on it for 90 days.
Not specified if the resource was not stopped due to lack of traffic.
- Suspended bool
Defines whether the CDN resource has been automatically suspended because there was no traffic on it for 90 days.
Possible values:
- true - CDN resource is currently automatically suspended.
- false - CDN resource is not automatically suspended.
You can enable CDN resource using the
activefield. If there is no traffic on the CDN resource within seven days following activation, it will be suspended again.To avoid CDN resource suspension due to no traffic, contact technical support.
- Updated string
- Date of the last CDN resource update.
- Vp
Enabled bool Defines whether the CDN resource is integrated with the Streaming Platform.
Possible values:
- true - CDN resource is configured for Streaming Platform. Changing resource settings can affect its operation.
- false - CDN resource is not configured for Streaming Platform.
- Waap
Domain stringId - The ID of the associated WAAP domain.
- active bool
- Enables or disables a CDN resource.
- can_
purge_ boolby_ urls Defines whether the CDN resource can be used for purge by URLs feature.
It's available only in case the CDN resource has enabled
ignore_vary_headeroption.- client number
- ID of an account to which the CDN resource belongs.
- cname string
Delivery domains that will be used for content delivery through a CDN.
Delivery domains should be added to your DNS settings.
- created string
- Date of CDN resource creation.
- deleted bool
Defines whether CDN resource has been deleted.
Possible values:
- true - CDN resource is deleted.
- false - CDN resource is not deleted.
- description string
- Optional comment describing the CDN resource.
- enabled bool
Enables or disables a CDN resource change by a user.
Possible values:
- true - CDN resource is enabled and can be changed. Content can be delivered.
- false - CDN resource is disabled and cannot be changed. Content can not be delivered.
- full_
custom_ boolenabled Defines whether the CDN resource has a custom configuration.
Possible values:
- true - CDN resource has a custom configuration. You cannot change resource settings, except for the SSL certificate. To change other settings, contact technical support.
- false - CDN resource has a regular configuration. You can change CDN resource settings.
- id number
- CDN resource ID.
- is_
primary bool Defines whether a CDN resource has a cache zone shared with other CDN resources.
Possible values:
- true - CDN resource is main and has a shared caching zone with other CDN resources, which are called reserve.
- false - CDN resource is reserve and it has a shared caching zone with the main CDN resource. You cannot change some options, create rules, set up origin shielding and use the reserve resource for Streaming.
- null - CDN resource does not have a shared cache zone.
The main CDN resource is specified in the
primary_resourcefield. It cannot be suspended unless all related reserve CDN resources are suspended.- name string
- CDN resource name.
- options object
List of options that can be configured for the CDN resource.
In case of
nullvalue the option is not added to the CDN resource. Option may inherit its value from the global account settings.- origin_
group number - Origin group ID with which the CDN resource is associated.
- origin_
group_ stringname - Origin group name.
- origin_
protocol string Protocol used by CDN servers to request content from an origin source.
Possible values:
- HTTPS - CDN servers will connect to the origin via HTTPS.
- HTTP - CDN servers will connect to the origin via HTTP.
- MATCH - connection protocol will be chosen automatically (content on the origin source should be available for the CDN both through HTTP and HTTPS).
If protocol is not specified, HTTP is used to connect to an origin server. Available values: "HTTP", "HTTPS", "MATCH".
- preset_
applied bool Defines whether the CDN resource has a preset applied.
Possible values:
- true - CDN resource has a preset applied. CDN resource options included in the preset cannot be edited.
- false - CDN resource does not have a preset applied.
- primary_
resource number ID of the main CDN resource which has a shared caching zone with a reserve CDN resource.
If the parameter is not empty, then the current CDN resource is the reserve. You cannot change some options, create rules, set up origin shielding, or use the reserve CDN resource for Streaming.
- proxy_
ssl_ numberca ID of the trusted CA certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- proxy_
ssl_ numberdata ID of the SSL certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- proxy_
ssl_ boolenabled Enables or disables SSL certificate validation of the origin server before completing any connection.
Possible values:
- true - Origin SSL certificate validation is enabled.
- false - Origin SSL certificate validation is disabled.
- rules list(string)
- Rules configured for the CDN resource.
- secondary_
hostnames list(string) Additional delivery domains (CNAMEs) that will be used to deliver content via the CDN.
Up to ten additional CNAMEs are possible.
- shield_
dc string Name of the origin shielding location data center.
Parameter returns null if origin shielding is disabled.
- shield_
enabled bool Defines whether origin shield is active and working for the CDN resource.
Possible values:
- true - Origin shield is active.
- false - Origin shield is not active.
- shield_
routing_ numbermap Defines whether the origin shield with a dynamic location is enabled for the CDN resource.
To manage origin shielding, you must contact customer support.
- shielded bool
Defines whether origin shielding feature is enabled for the resource.
Possible values:
- true - Origin shielding is enabled.
- false - Origin shielding is disabled.
- ssl_
data number ID of the SSL certificate linked to the CDN resource.
Can be used only with
"sslEnabled": true.- ssl_
enabled bool Defines whether the HTTPS protocol enabled for content delivery.
Possible values:
- true - HTTPS is enabled.
- false - HTTPS is disabled.
- status string
CDN resource status.
Possible values:
- active - CDN resource is active. Content is available to users.
- suspended - CDN resource is suspended. Content is not available to users.
- processed - CDN resource has recently been created and is currently being processed. It will take about fifteen minutes to propagate it to all locations.
- deleted - CDN resource is deleted. Available values: "active", "suspended", "processed", "deleted".
- suspend_
date string Date when the CDN resource was suspended automatically if there is no traffic on it for 90 days.
Not specified if the resource was not stopped due to lack of traffic.
- suspended bool
Defines whether the CDN resource has been automatically suspended because there was no traffic on it for 90 days.
Possible values:
- true - CDN resource is currently automatically suspended.
- false - CDN resource is not automatically suspended.
You can enable CDN resource using the
activefield. If there is no traffic on the CDN resource within seven days following activation, it will be suspended again.To avoid CDN resource suspension due to no traffic, contact technical support.
- updated string
- Date of the last CDN resource update.
- vp_
enabled bool Defines whether the CDN resource is integrated with the Streaming Platform.
Possible values:
- true - CDN resource is configured for Streaming Platform. Changing resource settings can affect its operation.
- false - CDN resource is not configured for Streaming Platform.
- waap_
domain_ stringid - The ID of the associated WAAP domain.
- active Boolean
- Enables or disables a CDN resource.
- can
Purge BooleanBy Urls Defines whether the CDN resource can be used for purge by URLs feature.
It's available only in case the CDN resource has enabled
ignore_vary_headeroption.- client Double
- ID of an account to which the CDN resource belongs.
- cname String
Delivery domains that will be used for content delivery through a CDN.
Delivery domains should be added to your DNS settings.
- created String
- Date of CDN resource creation.
- deleted Boolean
Defines whether CDN resource has been deleted.
Possible values:
- true - CDN resource is deleted.
- false - CDN resource is not deleted.
- description String
- Optional comment describing the CDN resource.
- enabled Boolean
Enables or disables a CDN resource change by a user.
Possible values:
- true - CDN resource is enabled and can be changed. Content can be delivered.
- false - CDN resource is disabled and cannot be changed. Content can not be delivered.
- full
Custom BooleanEnabled Defines whether the CDN resource has a custom configuration.
Possible values:
- true - CDN resource has a custom configuration. You cannot change resource settings, except for the SSL certificate. To change other settings, contact technical support.
- false - CDN resource has a regular configuration. You can change CDN resource settings.
- id Double
- CDN resource ID.
- is
Primary Boolean Defines whether a CDN resource has a cache zone shared with other CDN resources.
Possible values:
- true - CDN resource is main and has a shared caching zone with other CDN resources, which are called reserve.
- false - CDN resource is reserve and it has a shared caching zone with the main CDN resource. You cannot change some options, create rules, set up origin shielding and use the reserve resource for Streaming.
- null - CDN resource does not have a shared cache zone.
The main CDN resource is specified in the
primary_resourcefield. It cannot be suspended unless all related reserve CDN resources are suspended.- name String
- CDN resource name.
- options
Get
Cdn Resources Item Options List of options that can be configured for the CDN resource.
In case of
nullvalue the option is not added to the CDN resource. Option may inherit its value from the global account settings.- origin
Group Double - Origin group ID with which the CDN resource is associated.
- origin
Group StringName - Origin group name.
- origin
Protocol String Protocol used by CDN servers to request content from an origin source.
Possible values:
- HTTPS - CDN servers will connect to the origin via HTTPS.
- HTTP - CDN servers will connect to the origin via HTTP.
- MATCH - connection protocol will be chosen automatically (content on the origin source should be available for the CDN both through HTTP and HTTPS).
If protocol is not specified, HTTP is used to connect to an origin server. Available values: "HTTP", "HTTPS", "MATCH".
- preset
Applied Boolean Defines whether the CDN resource has a preset applied.
Possible values:
- true - CDN resource has a preset applied. CDN resource options included in the preset cannot be edited.
- false - CDN resource does not have a preset applied.
- primary
Resource Double ID of the main CDN resource which has a shared caching zone with a reserve CDN resource.
If the parameter is not empty, then the current CDN resource is the reserve. You cannot change some options, create rules, set up origin shielding, or use the reserve CDN resource for Streaming.
- proxy
Ssl DoubleCa ID of the trusted CA certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- proxy
Ssl DoubleData ID of the SSL certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- proxy
Ssl BooleanEnabled Enables or disables SSL certificate validation of the origin server before completing any connection.
Possible values:
- true - Origin SSL certificate validation is enabled.
- false - Origin SSL certificate validation is disabled.
- rules List<String>
- Rules configured for the CDN resource.
- secondary
Hostnames List<String> Additional delivery domains (CNAMEs) that will be used to deliver content via the CDN.
Up to ten additional CNAMEs are possible.
- shield
Dc String Name of the origin shielding location data center.
Parameter returns null if origin shielding is disabled.
- shield
Enabled Boolean Defines whether origin shield is active and working for the CDN resource.
Possible values:
- true - Origin shield is active.
- false - Origin shield is not active.
- shield
Routing DoubleMap Defines whether the origin shield with a dynamic location is enabled for the CDN resource.
To manage origin shielding, you must contact customer support.
- shielded Boolean
Defines whether origin shielding feature is enabled for the resource.
Possible values:
- true - Origin shielding is enabled.
- false - Origin shielding is disabled.
- ssl
Data Double ID of the SSL certificate linked to the CDN resource.
Can be used only with
"sslEnabled": true.- ssl
Enabled Boolean Defines whether the HTTPS protocol enabled for content delivery.
Possible values:
- true - HTTPS is enabled.
- false - HTTPS is disabled.
- status String
CDN resource status.
Possible values:
- active - CDN resource is active. Content is available to users.
- suspended - CDN resource is suspended. Content is not available to users.
- processed - CDN resource has recently been created and is currently being processed. It will take about fifteen minutes to propagate it to all locations.
- deleted - CDN resource is deleted. Available values: "active", "suspended", "processed", "deleted".
- suspend
Date String Date when the CDN resource was suspended automatically if there is no traffic on it for 90 days.
Not specified if the resource was not stopped due to lack of traffic.
- suspended Boolean
Defines whether the CDN resource has been automatically suspended because there was no traffic on it for 90 days.
Possible values:
- true - CDN resource is currently automatically suspended.
- false - CDN resource is not automatically suspended.
You can enable CDN resource using the
activefield. If there is no traffic on the CDN resource within seven days following activation, it will be suspended again.To avoid CDN resource suspension due to no traffic, contact technical support.
- updated String
- Date of the last CDN resource update.
- vp
Enabled Boolean Defines whether the CDN resource is integrated with the Streaming Platform.
Possible values:
- true - CDN resource is configured for Streaming Platform. Changing resource settings can affect its operation.
- false - CDN resource is not configured for Streaming Platform.
- waap
Domain StringId - The ID of the associated WAAP domain.
- active boolean
- Enables or disables a CDN resource.
- can
Purge booleanBy Urls Defines whether the CDN resource can be used for purge by URLs feature.
It's available only in case the CDN resource has enabled
ignore_vary_headeroption.- client number
- ID of an account to which the CDN resource belongs.
- cname string
Delivery domains that will be used for content delivery through a CDN.
Delivery domains should be added to your DNS settings.
- created string
- Date of CDN resource creation.
- deleted boolean
Defines whether CDN resource has been deleted.
Possible values:
- true - CDN resource is deleted.
- false - CDN resource is not deleted.
- description string
- Optional comment describing the CDN resource.
- enabled boolean
Enables or disables a CDN resource change by a user.
Possible values:
- true - CDN resource is enabled and can be changed. Content can be delivered.
- false - CDN resource is disabled and cannot be changed. Content can not be delivered.
- full
Custom booleanEnabled Defines whether the CDN resource has a custom configuration.
Possible values:
- true - CDN resource has a custom configuration. You cannot change resource settings, except for the SSL certificate. To change other settings, contact technical support.
- false - CDN resource has a regular configuration. You can change CDN resource settings.
- id number
- CDN resource ID.
- is
Primary boolean Defines whether a CDN resource has a cache zone shared with other CDN resources.
Possible values:
- true - CDN resource is main and has a shared caching zone with other CDN resources, which are called reserve.
- false - CDN resource is reserve and it has a shared caching zone with the main CDN resource. You cannot change some options, create rules, set up origin shielding and use the reserve resource for Streaming.
- null - CDN resource does not have a shared cache zone.
The main CDN resource is specified in the
primary_resourcefield. It cannot be suspended unless all related reserve CDN resources are suspended.- name string
- CDN resource name.
- options
Get
Cdn Resources Item Options List of options that can be configured for the CDN resource.
In case of
nullvalue the option is not added to the CDN resource. Option may inherit its value from the global account settings.- origin
Group number - Origin group ID with which the CDN resource is associated.
- origin
Group stringName - Origin group name.
- origin
Protocol string Protocol used by CDN servers to request content from an origin source.
Possible values:
- HTTPS - CDN servers will connect to the origin via HTTPS.
- HTTP - CDN servers will connect to the origin via HTTP.
- MATCH - connection protocol will be chosen automatically (content on the origin source should be available for the CDN both through HTTP and HTTPS).
If protocol is not specified, HTTP is used to connect to an origin server. Available values: "HTTP", "HTTPS", "MATCH".
- preset
Applied boolean Defines whether the CDN resource has a preset applied.
Possible values:
- true - CDN resource has a preset applied. CDN resource options included in the preset cannot be edited.
- false - CDN resource does not have a preset applied.
- primary
Resource number ID of the main CDN resource which has a shared caching zone with a reserve CDN resource.
If the parameter is not empty, then the current CDN resource is the reserve. You cannot change some options, create rules, set up origin shielding, or use the reserve CDN resource for Streaming.
- proxy
Ssl numberCa ID of the trusted CA certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- proxy
Ssl numberData ID of the SSL certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- proxy
Ssl booleanEnabled Enables or disables SSL certificate validation of the origin server before completing any connection.
Possible values:
- true - Origin SSL certificate validation is enabled.
- false - Origin SSL certificate validation is disabled.
- rules string[]
- Rules configured for the CDN resource.
- secondary
Hostnames string[] Additional delivery domains (CNAMEs) that will be used to deliver content via the CDN.
Up to ten additional CNAMEs are possible.
- shield
Dc string Name of the origin shielding location data center.
Parameter returns null if origin shielding is disabled.
- shield
Enabled boolean Defines whether origin shield is active and working for the CDN resource.
Possible values:
- true - Origin shield is active.
- false - Origin shield is not active.
- shield
Routing numberMap Defines whether the origin shield with a dynamic location is enabled for the CDN resource.
To manage origin shielding, you must contact customer support.
- shielded boolean
Defines whether origin shielding feature is enabled for the resource.
Possible values:
- true - Origin shielding is enabled.
- false - Origin shielding is disabled.
- ssl
Data number ID of the SSL certificate linked to the CDN resource.
Can be used only with
"sslEnabled": true.- ssl
Enabled boolean Defines whether the HTTPS protocol enabled for content delivery.
Possible values:
- true - HTTPS is enabled.
- false - HTTPS is disabled.
- status string
CDN resource status.
Possible values:
- active - CDN resource is active. Content is available to users.
- suspended - CDN resource is suspended. Content is not available to users.
- processed - CDN resource has recently been created and is currently being processed. It will take about fifteen minutes to propagate it to all locations.
- deleted - CDN resource is deleted. Available values: "active", "suspended", "processed", "deleted".
- suspend
Date string Date when the CDN resource was suspended automatically if there is no traffic on it for 90 days.
Not specified if the resource was not stopped due to lack of traffic.
- suspended boolean
Defines whether the CDN resource has been automatically suspended because there was no traffic on it for 90 days.
Possible values:
- true - CDN resource is currently automatically suspended.
- false - CDN resource is not automatically suspended.
You can enable CDN resource using the
activefield. If there is no traffic on the CDN resource within seven days following activation, it will be suspended again.To avoid CDN resource suspension due to no traffic, contact technical support.
- updated string
- Date of the last CDN resource update.
- vp
Enabled boolean Defines whether the CDN resource is integrated with the Streaming Platform.
Possible values:
- true - CDN resource is configured for Streaming Platform. Changing resource settings can affect its operation.
- false - CDN resource is not configured for Streaming Platform.
- waap
Domain stringId - The ID of the associated WAAP domain.
- active bool
- Enables or disables a CDN resource.
- can_
purge_ boolby_ urls Defines whether the CDN resource can be used for purge by URLs feature.
It's available only in case the CDN resource has enabled
ignore_vary_headeroption.- client float
- ID of an account to which the CDN resource belongs.
- cname str
Delivery domains that will be used for content delivery through a CDN.
Delivery domains should be added to your DNS settings.
- created str
- Date of CDN resource creation.
- deleted bool
Defines whether CDN resource has been deleted.
Possible values:
- true - CDN resource is deleted.
- false - CDN resource is not deleted.
- description str
- Optional comment describing the CDN resource.
- enabled bool
Enables or disables a CDN resource change by a user.
Possible values:
- true - CDN resource is enabled and can be changed. Content can be delivered.
- false - CDN resource is disabled and cannot be changed. Content can not be delivered.
- full_
custom_ boolenabled Defines whether the CDN resource has a custom configuration.
Possible values:
- true - CDN resource has a custom configuration. You cannot change resource settings, except for the SSL certificate. To change other settings, contact technical support.
- false - CDN resource has a regular configuration. You can change CDN resource settings.
- id float
- CDN resource ID.
- is_
primary bool Defines whether a CDN resource has a cache zone shared with other CDN resources.
Possible values:
- true - CDN resource is main and has a shared caching zone with other CDN resources, which are called reserve.
- false - CDN resource is reserve and it has a shared caching zone with the main CDN resource. You cannot change some options, create rules, set up origin shielding and use the reserve resource for Streaming.
- null - CDN resource does not have a shared cache zone.
The main CDN resource is specified in the
primary_resourcefield. It cannot be suspended unless all related reserve CDN resources are suspended.- name str
- CDN resource name.
- options
Get
Cdn Resources Item Options List of options that can be configured for the CDN resource.
In case of
nullvalue the option is not added to the CDN resource. Option may inherit its value from the global account settings.- origin_
group float - Origin group ID with which the CDN resource is associated.
- origin_
group_ strname - Origin group name.
- origin_
protocol str Protocol used by CDN servers to request content from an origin source.
Possible values:
- HTTPS - CDN servers will connect to the origin via HTTPS.
- HTTP - CDN servers will connect to the origin via HTTP.
- MATCH - connection protocol will be chosen automatically (content on the origin source should be available for the CDN both through HTTP and HTTPS).
If protocol is not specified, HTTP is used to connect to an origin server. Available values: "HTTP", "HTTPS", "MATCH".
- preset_
applied bool Defines whether the CDN resource has a preset applied.
Possible values:
- true - CDN resource has a preset applied. CDN resource options included in the preset cannot be edited.
- false - CDN resource does not have a preset applied.
- primary_
resource float ID of the main CDN resource which has a shared caching zone with a reserve CDN resource.
If the parameter is not empty, then the current CDN resource is the reserve. You cannot change some options, create rules, set up origin shielding, or use the reserve CDN resource for Streaming.
- proxy_
ssl_ floatca ID of the trusted CA certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- proxy_
ssl_ floatdata ID of the SSL certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- proxy_
ssl_ boolenabled Enables or disables SSL certificate validation of the origin server before completing any connection.
Possible values:
- true - Origin SSL certificate validation is enabled.
- false - Origin SSL certificate validation is disabled.
- rules Sequence[str]
- Rules configured for the CDN resource.
- secondary_
hostnames Sequence[str] Additional delivery domains (CNAMEs) that will be used to deliver content via the CDN.
Up to ten additional CNAMEs are possible.
- shield_
dc str Name of the origin shielding location data center.
Parameter returns null if origin shielding is disabled.
- shield_
enabled bool Defines whether origin shield is active and working for the CDN resource.
Possible values:
- true - Origin shield is active.
- false - Origin shield is not active.
- shield_
routing_ floatmap Defines whether the origin shield with a dynamic location is enabled for the CDN resource.
To manage origin shielding, you must contact customer support.
- shielded bool
Defines whether origin shielding feature is enabled for the resource.
Possible values:
- true - Origin shielding is enabled.
- false - Origin shielding is disabled.
- ssl_
data float ID of the SSL certificate linked to the CDN resource.
Can be used only with
"sslEnabled": true.- ssl_
enabled bool Defines whether the HTTPS protocol enabled for content delivery.
Possible values:
- true - HTTPS is enabled.
- false - HTTPS is disabled.
- status str
CDN resource status.
Possible values:
- active - CDN resource is active. Content is available to users.
- suspended - CDN resource is suspended. Content is not available to users.
- processed - CDN resource has recently been created and is currently being processed. It will take about fifteen minutes to propagate it to all locations.
- deleted - CDN resource is deleted. Available values: "active", "suspended", "processed", "deleted".
- suspend_
date str Date when the CDN resource was suspended automatically if there is no traffic on it for 90 days.
Not specified if the resource was not stopped due to lack of traffic.
- suspended bool
Defines whether the CDN resource has been automatically suspended because there was no traffic on it for 90 days.
Possible values:
- true - CDN resource is currently automatically suspended.
- false - CDN resource is not automatically suspended.
You can enable CDN resource using the
activefield. If there is no traffic on the CDN resource within seven days following activation, it will be suspended again.To avoid CDN resource suspension due to no traffic, contact technical support.
- updated str
- Date of the last CDN resource update.
- vp_
enabled bool Defines whether the CDN resource is integrated with the Streaming Platform.
Possible values:
- true - CDN resource is configured for Streaming Platform. Changing resource settings can affect its operation.
- false - CDN resource is not configured for Streaming Platform.
- waap_
domain_ strid - The ID of the associated WAAP domain.
- active Boolean
- Enables or disables a CDN resource.
- can
Purge BooleanBy Urls Defines whether the CDN resource can be used for purge by URLs feature.
It's available only in case the CDN resource has enabled
ignore_vary_headeroption.- client Number
- ID of an account to which the CDN resource belongs.
- cname String
Delivery domains that will be used for content delivery through a CDN.
Delivery domains should be added to your DNS settings.
- created String
- Date of CDN resource creation.
- deleted Boolean
Defines whether CDN resource has been deleted.
Possible values:
- true - CDN resource is deleted.
- false - CDN resource is not deleted.
- description String
- Optional comment describing the CDN resource.
- enabled Boolean
Enables or disables a CDN resource change by a user.
Possible values:
- true - CDN resource is enabled and can be changed. Content can be delivered.
- false - CDN resource is disabled and cannot be changed. Content can not be delivered.
- full
Custom BooleanEnabled Defines whether the CDN resource has a custom configuration.
Possible values:
- true - CDN resource has a custom configuration. You cannot change resource settings, except for the SSL certificate. To change other settings, contact technical support.
- false - CDN resource has a regular configuration. You can change CDN resource settings.
- id Number
- CDN resource ID.
- is
Primary Boolean Defines whether a CDN resource has a cache zone shared with other CDN resources.
Possible values:
- true - CDN resource is main and has a shared caching zone with other CDN resources, which are called reserve.
- false - CDN resource is reserve and it has a shared caching zone with the main CDN resource. You cannot change some options, create rules, set up origin shielding and use the reserve resource for Streaming.
- null - CDN resource does not have a shared cache zone.
The main CDN resource is specified in the
primary_resourcefield. It cannot be suspended unless all related reserve CDN resources are suspended.- name String
- CDN resource name.
- options Property Map
List of options that can be configured for the CDN resource.
In case of
nullvalue the option is not added to the CDN resource. Option may inherit its value from the global account settings.- origin
Group Number - Origin group ID with which the CDN resource is associated.
- origin
Group StringName - Origin group name.
- origin
Protocol String Protocol used by CDN servers to request content from an origin source.
Possible values:
- HTTPS - CDN servers will connect to the origin via HTTPS.
- HTTP - CDN servers will connect to the origin via HTTP.
- MATCH - connection protocol will be chosen automatically (content on the origin source should be available for the CDN both through HTTP and HTTPS).
If protocol is not specified, HTTP is used to connect to an origin server. Available values: "HTTP", "HTTPS", "MATCH".
- preset
Applied Boolean Defines whether the CDN resource has a preset applied.
Possible values:
- true - CDN resource has a preset applied. CDN resource options included in the preset cannot be edited.
- false - CDN resource does not have a preset applied.
- primary
Resource Number ID of the main CDN resource which has a shared caching zone with a reserve CDN resource.
If the parameter is not empty, then the current CDN resource is the reserve. You cannot change some options, create rules, set up origin shielding, or use the reserve CDN resource for Streaming.
- proxy
Ssl NumberCa ID of the trusted CA certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- proxy
Ssl NumberData ID of the SSL certificate used to verify an origin.
It can be used only with
"proxy_ssl_enabled": true.- proxy
Ssl BooleanEnabled Enables or disables SSL certificate validation of the origin server before completing any connection.
Possible values:
- true - Origin SSL certificate validation is enabled.
- false - Origin SSL certificate validation is disabled.
- rules List<String>
- Rules configured for the CDN resource.
- secondary
Hostnames List<String> Additional delivery domains (CNAMEs) that will be used to deliver content via the CDN.
Up to ten additional CNAMEs are possible.
- shield
Dc String Name of the origin shielding location data center.
Parameter returns null if origin shielding is disabled.
- shield
Enabled Boolean Defines whether origin shield is active and working for the CDN resource.
Possible values:
- true - Origin shield is active.
- false - Origin shield is not active.
- shield
Routing NumberMap Defines whether the origin shield with a dynamic location is enabled for the CDN resource.
To manage origin shielding, you must contact customer support.
- shielded Boolean
Defines whether origin shielding feature is enabled for the resource.
Possible values:
- true - Origin shielding is enabled.
- false - Origin shielding is disabled.
- ssl
Data Number ID of the SSL certificate linked to the CDN resource.
Can be used only with
"sslEnabled": true.- ssl
Enabled Boolean Defines whether the HTTPS protocol enabled for content delivery.
Possible values:
- true - HTTPS is enabled.
- false - HTTPS is disabled.
- status String
CDN resource status.
Possible values:
- active - CDN resource is active. Content is available to users.
- suspended - CDN resource is suspended. Content is not available to users.
- processed - CDN resource has recently been created and is currently being processed. It will take about fifteen minutes to propagate it to all locations.
- deleted - CDN resource is deleted. Available values: "active", "suspended", "processed", "deleted".
- suspend
Date String Date when the CDN resource was suspended automatically if there is no traffic on it for 90 days.
Not specified if the resource was not stopped due to lack of traffic.
- suspended Boolean
Defines whether the CDN resource has been automatically suspended because there was no traffic on it for 90 days.
Possible values:
- true - CDN resource is currently automatically suspended.
- false - CDN resource is not automatically suspended.
You can enable CDN resource using the
activefield. If there is no traffic on the CDN resource within seven days following activation, it will be suspended again.To avoid CDN resource suspension due to no traffic, contact technical support.
- updated String
- Date of the last CDN resource update.
- vp
Enabled Boolean Defines whether the CDN resource is integrated with the Streaming Platform.
Possible values:
- true - CDN resource is configured for Streaming Platform. Changing resource settings can affect its operation.
- false - CDN resource is not configured for Streaming Platform.
- waap
Domain StringId - The ID of the associated WAAP domain.
GetCdnResourcesItemOptions
- Allowed
Http GetMethods Cdn Resources Item Options Allowed Http Methods - HTTP methods allowed for content requests from the CDN.
- Brotli
Compression GetCdn Resources Item Options Brotli Compression - Compresses content with Brotli on the CDN side. CDN servers will request only uncompressed content from the origin.
- Browser
Cache GetSettings Cdn Resources Item Options Browser Cache Settings Cache expiration time for users browsers in seconds.
Cache expiration time is applied to the following response codes: 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
Responses with other codes will not be cached.
- Cache
Http GetHeaders Cdn Resources Item Options Cache Http Headers Legacy option. Use the
response_headers_hiding_policyoption instead.HTTP Headers that must be included in the response.
- Cors
Get
Cdn Resources Item Options Cors Enables or disables CORS (Cross-Origin Resource Sharing) header support.
CORS header support allows the CDN to add the Access-Control-Allow-Origin header to a response to a browser.
- Country
Acl GetCdn Resources Item Options Country Acl - Enables control access to content for specified countries.
- Disable
Cache GetCdn Resources Item Options Disable Cache Legacy option. Use the
edge_cache_settingsoption instead.Allows the complete disabling of content caching.
- Disable
Proxy GetForce Ranges Cdn Resources Item Options Disable Proxy Force Ranges - Allows 206 responses regardless of the settings of an origin source.
- Edge
Cache GetSettings Cdn Resources Item Options Edge Cache Settings Cache expiration time for CDN servers.
valueanddefaultfields cannot be used simultaneously.- Fastedge
Get
Cdn Resources Item Options Fastedge Allows to configure FastEdge app to be called on different request/response phases.
Note: At least one of
on_request_headers,on_request_headers_after_cache,on_request_body,on_response_headers, oron_response_bodymust be specified.- Fetch
Compressed GetCdn Resources Item Options Fetch Compressed Makes the CDN request compressed content from the origin.
The origin server should support compression. CDN servers will not decompress your content even if a user browser does not accept compression.
Notes:
fetch_compressedis not supported withgzipONorbrotli_compressionorsliceoptions enabled.fetch_compressedoverridesgzipONandbrotli_compressionin rule. If you enable it in CDN resource and want to usegzipONandbrotli_compressionin a rule, you have to specify"fetch_compressed": falsein the rule.
- Follow
Origin GetRedirect Cdn Resources Item Options Follow Origin Redirect - Enables 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 GetCdn Resources Item Options Force Return Applies custom HTTP response codes for CDN content.
The following codes are reserved by our system and cannot be specified in this option: 408, 444, 477, 494, 495, 496, 497, 499.
- Forward
Host GetHeader Cdn Resources Item Options Forward Host Header Forwards the Host header from a end-user request to an origin server.
hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- Grpc
Passthrough GetCdn Resources Item Options Grpc Passthrough - Enables gRPC pass-through for the CDN resource.
- Gzip
On GetCdn Resources Item Options Gzip On Compresses content with gzip on the CDN end. CDN servers will request only uncompressed content from the origin.
Notes:
- Compression with gzip is not supported with
fetch_compressedorsliceoptions enabled. fetch_compressedoption in CDN resource settings overridesgzipONin rules. If you enablefetch_compressedin CDN resource and want to enablegzipONin rules, you need to specify"fetch_compressed":falsefor rules.
- Compression with gzip is not supported with
- Host
Header GetCdn Resources Item Options Host Header Sets the 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, the Host Header value is equal to first CNAME.hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- Http3Enabled
Get
Cdn Resources Item Options Http3Enabled Enables HTTP/3 protocol for content delivery.
http3_enabledoption works only with"sslEnabled": true.-
Get
Cdn Resources Item Options Ignore Cookie - Defines whether the files with the Set-Cookies header are cached as one file or as different ones.
- Ignore
Query GetString Cdn Resources Item Options Ignore Query String How a file with different query strings is cached: either as one object (option is enabled) or as different objects (option is disabled.)
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- Image
Stack GetCdn Resources Item Options Image Stack - Transforms JPG and PNG images (for example, resize or crop) and automatically converts them to WebP or AVIF format.
- Ip
Address GetAcl Cdn Resources Item Options Ip Address Acl Controls access to the CDN resource content for specific IP addresses.
If you want to use IPs from our CDN servers IP list for IP ACL configuration, you have to independently monitor their relevance.
We recommend you use a script for automatically update IP ACL. Read more.
- Limit
Bandwidth GetCdn Resources Item Options Limit Bandwidth - Allows to control the download speed per connection.
- Network
Error GetLogging Cdn Resources Item Options Network Error Logging Enables Network Error Logging (NEL) for the resource.
When enabled, the edge instructs browsers to collect and report network errors (via the
Report-ToandNELresponse headers), improving observability of connectivity issues for the resource.- Proxy
Cache GetKey Cdn Resources Item Options Proxy Cache Key Allows you to modify your cache key. If omitted, the default value is
$request_uri.Combine the specified variables to create a key for caching.
- $
http_x_cdn_real_host— the originalHostheader sent by the client. Useful for splitting cache across multiple aliases served by a single CDN resource. - $
request_uri— the full original request URI including the query string (e.g.,/path?id=1). - $scheme — the request scheme, either
httporhttps. - $uri — the normalized request URI without the query string (e.g.,
/path).
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 GetMethods Set Cdn Resources Item Options Proxy Cache Methods Set - Caching for POST requests along with default GET and HEAD.
- Proxy
Connect GetTimeout Cdn Resources Item Options Proxy Connect Timeout - The time limit for establishing a connection with the origin.
- Proxy
Read GetTimeout Cdn Resources Item Options Proxy Read Timeout The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
Note: When used with a WebSocket connection, this option supports values only in the range 1–20 seconds (instead of the usual 1–30 seconds).
- Query
Params GetBlacklist Cdn Resources Item Options Query Params Blacklist Files with the specified query parameters are cached as one object, files with other parameters are cached as different objects.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- Query
Params GetWhitelist Cdn Resources Item Options Query Params Whitelist Files with the specified query parameters are cached as different objects, files with other parameters are cached as one object.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- Query
String GetForwarding Cdn Resources Item Options Query String Forwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files. This functionality ensures that specific attributes, such as authentication tokens or tracking information, are consistently passed along from the playlist manifest to the individual media segments. This is particularly useful for maintaining continuity in security, analytics, and any other parameter-based operations across the entire media delivery workflow.
- Redirect
Http GetTo Https Cdn Resources Item Options Redirect Http To Https Enables redirect from HTTP to HTTPS.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- Redirect
Https GetTo Http Cdn Resources Item Options Redirect Https To Http Enables redirect from HTTPS to HTTP.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- Referrer
Acl GetCdn Resources Item Options Referrer Acl - Controls access to the CDN resource content for specified domain names.
- Response
Headers GetHiding Policy Cdn Resources Item Options Response Headers Hiding Policy - Hides HTTP headers from an origin server in the CDN response.
- Rewrite
Get
Cdn Resources Item Options Rewrite - Changes and redirects requests from the CDN to the origin. It operates according to the Nginx configuration.
- Secure
Key GetCdn Resources Item Options Secure Key - Configures access with tokenized URLs. This makes impossible to access content without a valid (unexpired) token.
- Slice
Get
Cdn Resources Item Options Slice Requests and caches files larger than 10 MB in parts (no larger than 10 MB per part.) This reduces time to first byte.
The option is based on the Slice module.
Notes:
- Origin must support HTTP Range requests.
- Not supported with
gzipON,brotli_compressionorfetch_compressedoptions enabled.
- Sni
Get
Cdn Resources Item Options Sni The hostname that is added to SNI requests from CDN servers to the origin server via HTTPS.
SNI is generally only required if your origin uses 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
originProtocolparameter isHTTPSorMATCH.- Stale
Get
Cdn Resources Item Options Stale - Serves stale cached content in case of origin unavailability.
- Static
Headers GetCdn Resources Item Options Static Headers Legacy option. Use the
static_response_headersoption instead.Custom HTTP Headers that a CDN server adds to response. Up to fifty custom HTTP Headers can be specified. May contain a header with multiple values.
- Static
Request GetHeaders Cdn Resources Item Options Static Request Headers - Custom HTTP Headers for a CDN server to add to request. Up to fifty custom HTTP Headers can be specified.
- Static
Response GetHeaders Cdn Resources Item Options Static Response Headers - Custom HTTP Headers that a CDN server adds to a response.
- Tls
Versions GetCdn Resources Item Options Tls Versions List of SSL/TLS protocol versions allowed for HTTPS connections from end users to the domain.
When the option is disabled, all protocols versions are allowed.
- Use
Default GetLe Chain Cdn Resources Item Options Use Default Le Chain Let's Encrypt certificate chain.
The specified chain will be used during the next Let's Encrypt certificate issue or renewal.
- Use
Dns01Le GetChallenge Cdn Resources Item Options Use Dns01Le Challenge DNS-01 challenge to issue a Let's Encrypt certificate for the resource.
DNS service should be activated to enable this option.
- Use
Rsa GetLe Cert Cdn Resources Item Options Use Rsa Le Cert RSA Let's Encrypt certificate type for the CDN resource.
The specified value will be used during the next Let's Encrypt certificate issue or renewal.
- User
Agent GetAcl Cdn Resources Item Options User Agent Acl - Controls access to the content for specified User-Agents.
- Waap
Get
Cdn Resources Item Options Waap - Allows to enable WAAP (Web Application and API Protection).
- Websockets
Get
Cdn Resources Item Options Websockets - Enables or disables WebSockets connections to an origin server.
- Allowed
Http GetMethods Cdn Resources Item Options Allowed Http Methods - HTTP methods allowed for content requests from the CDN.
- Brotli
Compression GetCdn Resources Item Options Brotli Compression - Compresses content with Brotli on the CDN side. CDN servers will request only uncompressed content from the origin.
- Browser
Cache GetSettings Cdn Resources Item Options Browser Cache Settings Cache expiration time for users browsers in seconds.
Cache expiration time is applied to the following response codes: 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
Responses with other codes will not be cached.
- Cache
Http GetHeaders Cdn Resources Item Options Cache Http Headers Legacy option. Use the
response_headers_hiding_policyoption instead.HTTP Headers that must be included in the response.
- Cors
Get
Cdn Resources Item Options Cors Enables or disables CORS (Cross-Origin Resource Sharing) header support.
CORS header support allows the CDN to add the Access-Control-Allow-Origin header to a response to a browser.
- Country
Acl GetCdn Resources Item Options Country Acl - Enables control access to content for specified countries.
- Disable
Cache GetCdn Resources Item Options Disable Cache Legacy option. Use the
edge_cache_settingsoption instead.Allows the complete disabling of content caching.
- Disable
Proxy GetForce Ranges Cdn Resources Item Options Disable Proxy Force Ranges - Allows 206 responses regardless of the settings of an origin source.
- Edge
Cache GetSettings Cdn Resources Item Options Edge Cache Settings Cache expiration time for CDN servers.
valueanddefaultfields cannot be used simultaneously.- Fastedge
Get
Cdn Resources Item Options Fastedge Allows to configure FastEdge app to be called on different request/response phases.
Note: At least one of
on_request_headers,on_request_headers_after_cache,on_request_body,on_response_headers, oron_response_bodymust be specified.- Fetch
Compressed GetCdn Resources Item Options Fetch Compressed Makes the CDN request compressed content from the origin.
The origin server should support compression. CDN servers will not decompress your content even if a user browser does not accept compression.
Notes:
fetch_compressedis not supported withgzipONorbrotli_compressionorsliceoptions enabled.fetch_compressedoverridesgzipONandbrotli_compressionin rule. If you enable it in CDN resource and want to usegzipONandbrotli_compressionin a rule, you have to specify"fetch_compressed": falsein the rule.
- Follow
Origin GetRedirect Cdn Resources Item Options Follow Origin Redirect - Enables 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 GetCdn Resources Item Options Force Return Applies custom HTTP response codes for CDN content.
The following codes are reserved by our system and cannot be specified in this option: 408, 444, 477, 494, 495, 496, 497, 499.
- Forward
Host GetHeader Cdn Resources Item Options Forward Host Header Forwards the Host header from a end-user request to an origin server.
hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- Grpc
Passthrough GetCdn Resources Item Options Grpc Passthrough - Enables gRPC pass-through for the CDN resource.
- Gzip
On GetCdn Resources Item Options Gzip On Compresses content with gzip on the CDN end. CDN servers will request only uncompressed content from the origin.
Notes:
- Compression with gzip is not supported with
fetch_compressedorsliceoptions enabled. fetch_compressedoption in CDN resource settings overridesgzipONin rules. If you enablefetch_compressedin CDN resource and want to enablegzipONin rules, you need to specify"fetch_compressed":falsefor rules.
- Compression with gzip is not supported with
- Host
Header GetCdn Resources Item Options Host Header Sets the 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, the Host Header value is equal to first CNAME.hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- Http3Enabled
Get
Cdn Resources Item Options Http3Enabled Enables HTTP/3 protocol for content delivery.
http3_enabledoption works only with"sslEnabled": true.-
Get
Cdn Resources Item Options Ignore Cookie - Defines whether the files with the Set-Cookies header are cached as one file or as different ones.
- Ignore
Query GetString Cdn Resources Item Options Ignore Query String How a file with different query strings is cached: either as one object (option is enabled) or as different objects (option is disabled.)
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- Image
Stack GetCdn Resources Item Options Image Stack - Transforms JPG and PNG images (for example, resize or crop) and automatically converts them to WebP or AVIF format.
- Ip
Address GetAcl Cdn Resources Item Options Ip Address Acl Controls access to the CDN resource content for specific IP addresses.
If you want to use IPs from our CDN servers IP list for IP ACL configuration, you have to independently monitor their relevance.
We recommend you use a script for automatically update IP ACL. Read more.
- Limit
Bandwidth GetCdn Resources Item Options Limit Bandwidth - Allows to control the download speed per connection.
- Network
Error GetLogging Cdn Resources Item Options Network Error Logging Enables Network Error Logging (NEL) for the resource.
When enabled, the edge instructs browsers to collect and report network errors (via the
Report-ToandNELresponse headers), improving observability of connectivity issues for the resource.- Proxy
Cache GetKey Cdn Resources Item Options Proxy Cache Key Allows you to modify your cache key. If omitted, the default value is
$request_uri.Combine the specified variables to create a key for caching.
- $
http_x_cdn_real_host— the originalHostheader sent by the client. Useful for splitting cache across multiple aliases served by a single CDN resource. - $
request_uri— the full original request URI including the query string (e.g.,/path?id=1). - $scheme — the request scheme, either
httporhttps. - $uri — the normalized request URI without the query string (e.g.,
/path).
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 GetMethods Set Cdn Resources Item Options Proxy Cache Methods Set - Caching for POST requests along with default GET and HEAD.
- Proxy
Connect GetTimeout Cdn Resources Item Options Proxy Connect Timeout - The time limit for establishing a connection with the origin.
- Proxy
Read GetTimeout Cdn Resources Item Options Proxy Read Timeout The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
Note: When used with a WebSocket connection, this option supports values only in the range 1–20 seconds (instead of the usual 1–30 seconds).
- Query
Params GetBlacklist Cdn Resources Item Options Query Params Blacklist Files with the specified query parameters are cached as one object, files with other parameters are cached as different objects.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- Query
Params GetWhitelist Cdn Resources Item Options Query Params Whitelist Files with the specified query parameters are cached as different objects, files with other parameters are cached as one object.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- Query
String GetForwarding Cdn Resources Item Options Query String Forwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files. This functionality ensures that specific attributes, such as authentication tokens or tracking information, are consistently passed along from the playlist manifest to the individual media segments. This is particularly useful for maintaining continuity in security, analytics, and any other parameter-based operations across the entire media delivery workflow.
- Redirect
Http GetTo Https Cdn Resources Item Options Redirect Http To Https Enables redirect from HTTP to HTTPS.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- Redirect
Https GetTo Http Cdn Resources Item Options Redirect Https To Http Enables redirect from HTTPS to HTTP.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- Referrer
Acl GetCdn Resources Item Options Referrer Acl - Controls access to the CDN resource content for specified domain names.
- Response
Headers GetHiding Policy Cdn Resources Item Options Response Headers Hiding Policy - Hides HTTP headers from an origin server in the CDN response.
- Rewrite
Get
Cdn Resources Item Options Rewrite - Changes and redirects requests from the CDN to the origin. It operates according to the Nginx configuration.
- Secure
Key GetCdn Resources Item Options Secure Key - Configures access with tokenized URLs. This makes impossible to access content without a valid (unexpired) token.
- Slice
Get
Cdn Resources Item Options Slice Requests and caches files larger than 10 MB in parts (no larger than 10 MB per part.) This reduces time to first byte.
The option is based on the Slice module.
Notes:
- Origin must support HTTP Range requests.
- Not supported with
gzipON,brotli_compressionorfetch_compressedoptions enabled.
- Sni
Get
Cdn Resources Item Options Sni The hostname that is added to SNI requests from CDN servers to the origin server via HTTPS.
SNI is generally only required if your origin uses 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
originProtocolparameter isHTTPSorMATCH.- Stale
Get
Cdn Resources Item Options Stale - Serves stale cached content in case of origin unavailability.
- Static
Headers GetCdn Resources Item Options Static Headers Legacy option. Use the
static_response_headersoption instead.Custom HTTP Headers that a CDN server adds to response. Up to fifty custom HTTP Headers can be specified. May contain a header with multiple values.
- Static
Request GetHeaders Cdn Resources Item Options Static Request Headers - Custom HTTP Headers for a CDN server to add to request. Up to fifty custom HTTP Headers can be specified.
- Static
Response GetHeaders Cdn Resources Item Options Static Response Headers - Custom HTTP Headers that a CDN server adds to a response.
- Tls
Versions GetCdn Resources Item Options Tls Versions List of SSL/TLS protocol versions allowed for HTTPS connections from end users to the domain.
When the option is disabled, all protocols versions are allowed.
- Use
Default GetLe Chain Cdn Resources Item Options Use Default Le Chain Let's Encrypt certificate chain.
The specified chain will be used during the next Let's Encrypt certificate issue or renewal.
- Use
Dns01Le GetChallenge Cdn Resources Item Options Use Dns01Le Challenge DNS-01 challenge to issue a Let's Encrypt certificate for the resource.
DNS service should be activated to enable this option.
- Use
Rsa GetLe Cert Cdn Resources Item Options Use Rsa Le Cert RSA Let's Encrypt certificate type for the CDN resource.
The specified value will be used during the next Let's Encrypt certificate issue or renewal.
- User
Agent GetAcl Cdn Resources Item Options User Agent Acl - Controls access to the content for specified User-Agents.
- Waap
Get
Cdn Resources Item Options Waap - Allows to enable WAAP (Web Application and API Protection).
- Websockets
Get
Cdn Resources Item Options Websockets - Enables or disables WebSockets connections to an origin server.
- allowed_
http_ objectmethods - HTTP methods allowed for content requests from the CDN.
- brotli_
compression object - Compresses content with Brotli on the CDN side. CDN servers will request only uncompressed content from the origin.
- browser_
cache_ objectsettings Cache expiration time for users browsers in seconds.
Cache expiration time is applied to the following response codes: 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
Responses with other codes will not be cached.
- cache_
http_ objectheaders Legacy option. Use the
response_headers_hiding_policyoption instead.HTTP Headers that must be included in the response.
- cors object
Enables or disables CORS (Cross-Origin Resource Sharing) header support.
CORS header support allows the CDN to add the Access-Control-Allow-Origin header to a response to a browser.
- country_
acl object - Enables control access to content for specified countries.
- disable_
cache object Legacy option. Use the
edge_cache_settingsoption instead.Allows the complete disabling of content caching.
- disable_
proxy_ objectforce_ ranges - Allows 206 responses regardless of the settings of an origin source.
- edge_
cache_ objectsettings Cache expiration time for CDN servers.
valueanddefaultfields cannot be used simultaneously.- fastedge object
Allows to configure FastEdge app to be called on different request/response phases.
Note: At least one of
on_request_headers,on_request_headers_after_cache,on_request_body,on_response_headers, oron_response_bodymust be specified.- fetch_
compressed object Makes the CDN request compressed content from the origin.
The origin server should support compression. CDN servers will not decompress your content even if a user browser does not accept compression.
Notes:
fetch_compressedis not supported withgzipONorbrotli_compressionorsliceoptions enabled.fetch_compressedoverridesgzipONandbrotli_compressionin rule. If you enable it in CDN resource and want to usegzipONandbrotli_compressionin a rule, you have to specify"fetch_compressed": falsein the rule.
- follow_
origin_ objectredirect - Enables 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 object Applies custom HTTP response codes for CDN content.
The following codes are reserved by our system and cannot be specified in this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forward_
host_ objectheader Forwards the Host header from a end-user request to an origin server.
hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- grpc_
passthrough object - Enables gRPC pass-through for the CDN resource.
- gzip_
on object Compresses content with gzip on the CDN end. CDN servers will request only uncompressed content from the origin.
Notes:
- Compression with gzip is not supported with
fetch_compressedorsliceoptions enabled. fetch_compressedoption in CDN resource settings overridesgzipONin rules. If you enablefetch_compressedin CDN resource and want to enablegzipONin rules, you need to specify"fetch_compressed":falsefor rules.
- Compression with gzip is not supported with
- host_
header object Sets the 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, the Host Header value is equal to first CNAME.hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- http3_
enabled object Enables HTTP/3 protocol for content delivery.
http3_enabledoption works only with"sslEnabled": true.- object
- Defines whether the files with the Set-Cookies header are cached as one file or as different ones.
- ignore_
query_ objectstring How a file with different query strings is cached: either as one object (option is enabled) or as different objects (option is disabled.)
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- image_
stack object - Transforms JPG and PNG images (for example, resize or crop) and automatically converts them to WebP or AVIF format.
- ip_
address_ objectacl Controls access to the CDN resource content for specific IP addresses.
If you want to use IPs from our CDN servers IP list for IP ACL configuration, you have to independently monitor their relevance.
We recommend you use a script for automatically update IP ACL. Read more.
- limit_
bandwidth object - Allows to control the download speed per connection.
- network_
error_ objectlogging Enables Network Error Logging (NEL) for the resource.
When enabled, the edge instructs browsers to collect and report network errors (via the
Report-ToandNELresponse headers), improving observability of connectivity issues for the resource.- proxy_
cache_ objectkey Allows you to modify your cache key. If omitted, the default value is
$request_uri.Combine the specified variables to create a key for caching.
- $
http_x_cdn_real_host— the originalHostheader sent by the client. Useful for splitting cache across multiple aliases served by a single CDN resource. - $
request_uri— the full original request URI including the query string (e.g.,/path?id=1). - $scheme — the request scheme, either
httporhttps. - $uri — the normalized request URI without the query string (e.g.,
/path).
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_ objectmethods_ set - Caching for POST requests along with default GET and HEAD.
- proxy_
connect_ objecttimeout - The time limit for establishing a connection with the origin.
- proxy_
read_ objecttimeout The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
Note: When used with a WebSocket connection, this option supports values only in the range 1–20 seconds (instead of the usual 1–30 seconds).
- query_
params_ objectblacklist Files with the specified query parameters are cached as one object, files with other parameters are cached as different objects.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- query_
params_ objectwhitelist Files with the specified query parameters are cached as different objects, files with other parameters are cached as one object.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- query_
string_ objectforwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files. This functionality ensures that specific attributes, such as authentication tokens or tracking information, are consistently passed along from the playlist manifest to the individual media segments. This is particularly useful for maintaining continuity in security, analytics, and any other parameter-based operations across the entire media delivery workflow.
- redirect_
http_ objectto_ https Enables redirect from HTTP to HTTPS.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- redirect_
https_ objectto_ http Enables redirect from HTTPS to HTTP.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- referrer_
acl object - Controls access to the CDN resource content for specified domain names.
- response_
headers_ objecthiding_ policy - Hides HTTP headers from an origin server in the CDN response.
- rewrite object
- Changes and redirects requests from the CDN to the origin. It operates according to the Nginx configuration.
- secure_
key object - Configures access with tokenized URLs. This makes impossible to access content without a valid (unexpired) token.
- slice object
Requests and caches files larger than 10 MB in parts (no larger than 10 MB per part.) This reduces time to first byte.
The option is based on the Slice module.
Notes:
- Origin must support HTTP Range requests.
- Not supported with
gzipON,brotli_compressionorfetch_compressedoptions enabled.
- sni object
The hostname that is added to SNI requests from CDN servers to the origin server via HTTPS.
SNI is generally only required if your origin uses 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
originProtocolparameter isHTTPSorMATCH.- stale object
- Serves stale cached content in case of origin unavailability.
- static_
headers object Legacy option. Use the
static_response_headersoption instead.Custom HTTP Headers that a CDN server adds to response. Up to fifty custom HTTP Headers can be specified. May contain a header with multiple values.
- static_
request_ objectheaders - Custom HTTP Headers for a CDN server to add to request. Up to fifty custom HTTP Headers can be specified.
- static_
response_ objectheaders - Custom HTTP Headers that a CDN server adds to a response.
- tls_
versions object List of SSL/TLS protocol versions allowed for HTTPS connections from end users to the domain.
When the option is disabled, all protocols versions are allowed.
- use_
default_ objectle_ chain Let's Encrypt certificate chain.
The specified chain will be used during the next Let's Encrypt certificate issue or renewal.
- use_
dns01_ objectle_ challenge DNS-01 challenge to issue a Let's Encrypt certificate for the resource.
DNS service should be activated to enable this option.
- use_
rsa_ objectle_ cert RSA Let's Encrypt certificate type for the CDN resource.
The specified value will be used during the next Let's Encrypt certificate issue or renewal.
- user_
agent_ objectacl - Controls access to the content for specified User-Agents.
- waap object
- Allows to enable WAAP (Web Application and API Protection).
- websockets object
- Enables or disables WebSockets connections to an origin server.
- allowed
Http GetMethods Cdn Resources Item Options Allowed Http Methods - HTTP methods allowed for content requests from the CDN.
- brotli
Compression GetCdn Resources Item Options Brotli Compression - Compresses content with Brotli on the CDN side. CDN servers will request only uncompressed content from the origin.
- browser
Cache GetSettings Cdn Resources Item Options Browser Cache Settings Cache expiration time for users browsers in seconds.
Cache expiration time is applied to the following response codes: 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
Responses with other codes will not be cached.
- cache
Http GetHeaders Cdn Resources Item Options Cache Http Headers Legacy option. Use the
response_headers_hiding_policyoption instead.HTTP Headers that must be included in the response.
- cors
Get
Cdn Resources Item Options Cors Enables or disables CORS (Cross-Origin Resource Sharing) header support.
CORS header support allows the CDN to add the Access-Control-Allow-Origin header to a response to a browser.
- country
Acl GetCdn Resources Item Options Country Acl - Enables control access to content for specified countries.
- disable
Cache GetCdn Resources Item Options Disable Cache Legacy option. Use the
edge_cache_settingsoption instead.Allows the complete disabling of content caching.
- disable
Proxy GetForce Ranges Cdn Resources Item Options Disable Proxy Force Ranges - Allows 206 responses regardless of the settings of an origin source.
- edge
Cache GetSettings Cdn Resources Item Options Edge Cache Settings Cache expiration time for CDN servers.
valueanddefaultfields cannot be used simultaneously.- fastedge
Get
Cdn Resources Item Options Fastedge Allows to configure FastEdge app to be called on different request/response phases.
Note: At least one of
on_request_headers,on_request_headers_after_cache,on_request_body,on_response_headers, oron_response_bodymust be specified.- fetch
Compressed GetCdn Resources Item Options Fetch Compressed Makes the CDN request compressed content from the origin.
The origin server should support compression. CDN servers will not decompress your content even if a user browser does not accept compression.
Notes:
fetch_compressedis not supported withgzipONorbrotli_compressionorsliceoptions enabled.fetch_compressedoverridesgzipONandbrotli_compressionin rule. If you enable it in CDN resource and want to usegzipONandbrotli_compressionin a rule, you have to specify"fetch_compressed": falsein the rule.
- follow
Origin GetRedirect Cdn Resources Item Options Follow Origin Redirect - Enables 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 GetCdn Resources Item Options Force Return Applies custom HTTP response codes for CDN content.
The following codes are reserved by our system and cannot be specified in this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forward
Host GetHeader Cdn Resources Item Options Forward Host Header Forwards the Host header from a end-user request to an origin server.
hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- grpc
Passthrough GetCdn Resources Item Options Grpc Passthrough - Enables gRPC pass-through for the CDN resource.
- gzip
On GetCdn Resources Item Options Gzip On Compresses content with gzip on the CDN end. CDN servers will request only uncompressed content from the origin.
Notes:
- Compression with gzip is not supported with
fetch_compressedorsliceoptions enabled. fetch_compressedoption in CDN resource settings overridesgzipONin rules. If you enablefetch_compressedin CDN resource and want to enablegzipONin rules, you need to specify"fetch_compressed":falsefor rules.
- Compression with gzip is not supported with
- host
Header GetCdn Resources Item Options Host Header Sets the 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, the Host Header value is equal to first CNAME.hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- http3Enabled
Get
Cdn Resources Item Options Http3Enabled Enables HTTP/3 protocol for content delivery.
http3_enabledoption works only with"sslEnabled": true.-
Get
Cdn Resources Item Options Ignore Cookie - Defines whether the files with the Set-Cookies header are cached as one file or as different ones.
- ignore
Query GetString Cdn Resources Item Options Ignore Query String How a file with different query strings is cached: either as one object (option is enabled) or as different objects (option is disabled.)
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- image
Stack GetCdn Resources Item Options Image Stack - Transforms JPG and PNG images (for example, resize or crop) and automatically converts them to WebP or AVIF format.
- ip
Address GetAcl Cdn Resources Item Options Ip Address Acl Controls access to the CDN resource content for specific IP addresses.
If you want to use IPs from our CDN servers IP list for IP ACL configuration, you have to independently monitor their relevance.
We recommend you use a script for automatically update IP ACL. Read more.
- limit
Bandwidth GetCdn Resources Item Options Limit Bandwidth - Allows to control the download speed per connection.
- network
Error GetLogging Cdn Resources Item Options Network Error Logging Enables Network Error Logging (NEL) for the resource.
When enabled, the edge instructs browsers to collect and report network errors (via the
Report-ToandNELresponse headers), improving observability of connectivity issues for the resource.- proxy
Cache GetKey Cdn Resources Item Options Proxy Cache Key Allows you to modify your cache key. If omitted, the default value is
$request_uri.Combine the specified variables to create a key for caching.
- $
http_x_cdn_real_host— the originalHostheader sent by the client. Useful for splitting cache across multiple aliases served by a single CDN resource. - $
request_uri— the full original request URI including the query string (e.g.,/path?id=1). - $scheme — the request scheme, either
httporhttps. - $uri — the normalized request URI without the query string (e.g.,
/path).
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 GetMethods Set Cdn Resources Item Options Proxy Cache Methods Set - Caching for POST requests along with default GET and HEAD.
- proxy
Connect GetTimeout Cdn Resources Item Options Proxy Connect Timeout - The time limit for establishing a connection with the origin.
- proxy
Read GetTimeout Cdn Resources Item Options Proxy Read Timeout The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
Note: When used with a WebSocket connection, this option supports values only in the range 1–20 seconds (instead of the usual 1–30 seconds).
- query
Params GetBlacklist Cdn Resources Item Options Query Params Blacklist Files with the specified query parameters are cached as one object, files with other parameters are cached as different objects.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- query
Params GetWhitelist Cdn Resources Item Options Query Params Whitelist Files with the specified query parameters are cached as different objects, files with other parameters are cached as one object.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- query
String GetForwarding Cdn Resources Item Options Query String Forwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files. This functionality ensures that specific attributes, such as authentication tokens or tracking information, are consistently passed along from the playlist manifest to the individual media segments. This is particularly useful for maintaining continuity in security, analytics, and any other parameter-based operations across the entire media delivery workflow.
- redirect
Http GetTo Https Cdn Resources Item Options Redirect Http To Https Enables redirect from HTTP to HTTPS.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- redirect
Https GetTo Http Cdn Resources Item Options Redirect Https To Http Enables redirect from HTTPS to HTTP.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- referrer
Acl GetCdn Resources Item Options Referrer Acl - Controls access to the CDN resource content for specified domain names.
- response
Headers GetHiding Policy Cdn Resources Item Options Response Headers Hiding Policy - Hides HTTP headers from an origin server in the CDN response.
- rewrite
Get
Cdn Resources Item Options Rewrite - Changes and redirects requests from the CDN to the origin. It operates according to the Nginx configuration.
- secure
Key GetCdn Resources Item Options Secure Key - Configures access with tokenized URLs. This makes impossible to access content without a valid (unexpired) token.
- slice
Get
Cdn Resources Item Options Slice Requests and caches files larger than 10 MB in parts (no larger than 10 MB per part.) This reduces time to first byte.
The option is based on the Slice module.
Notes:
- Origin must support HTTP Range requests.
- Not supported with
gzipON,brotli_compressionorfetch_compressedoptions enabled.
- sni
Get
Cdn Resources Item Options Sni The hostname that is added to SNI requests from CDN servers to the origin server via HTTPS.
SNI is generally only required if your origin uses 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
originProtocolparameter isHTTPSorMATCH.- stale
Get
Cdn Resources Item Options Stale - Serves stale cached content in case of origin unavailability.
- static
Headers GetCdn Resources Item Options Static Headers Legacy option. Use the
static_response_headersoption instead.Custom HTTP Headers that a CDN server adds to response. Up to fifty custom HTTP Headers can be specified. May contain a header with multiple values.
- static
Request GetHeaders Cdn Resources Item Options Static Request Headers - Custom HTTP Headers for a CDN server to add to request. Up to fifty custom HTTP Headers can be specified.
- static
Response GetHeaders Cdn Resources Item Options Static Response Headers - Custom HTTP Headers that a CDN server adds to a response.
- tls
Versions GetCdn Resources Item Options Tls Versions List of SSL/TLS protocol versions allowed for HTTPS connections from end users to the domain.
When the option is disabled, all protocols versions are allowed.
- use
Default GetLe Chain Cdn Resources Item Options Use Default Le Chain Let's Encrypt certificate chain.
The specified chain will be used during the next Let's Encrypt certificate issue or renewal.
- use
Dns01Le GetChallenge Cdn Resources Item Options Use Dns01Le Challenge DNS-01 challenge to issue a Let's Encrypt certificate for the resource.
DNS service should be activated to enable this option.
- use
Rsa GetLe Cert Cdn Resources Item Options Use Rsa Le Cert RSA Let's Encrypt certificate type for the CDN resource.
The specified value will be used during the next Let's Encrypt certificate issue or renewal.
- user
Agent GetAcl Cdn Resources Item Options User Agent Acl - Controls access to the content for specified User-Agents.
- waap
Get
Cdn Resources Item Options Waap - Allows to enable WAAP (Web Application and API Protection).
- websockets
Get
Cdn Resources Item Options Websockets - Enables or disables WebSockets connections to an origin server.
- allowed
Http GetMethods Cdn Resources Item Options Allowed Http Methods - HTTP methods allowed for content requests from the CDN.
- brotli
Compression GetCdn Resources Item Options Brotli Compression - Compresses content with Brotli on the CDN side. CDN servers will request only uncompressed content from the origin.
- browser
Cache GetSettings Cdn Resources Item Options Browser Cache Settings Cache expiration time for users browsers in seconds.
Cache expiration time is applied to the following response codes: 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
Responses with other codes will not be cached.
- cache
Http GetHeaders Cdn Resources Item Options Cache Http Headers Legacy option. Use the
response_headers_hiding_policyoption instead.HTTP Headers that must be included in the response.
- cors
Get
Cdn Resources Item Options Cors Enables or disables CORS (Cross-Origin Resource Sharing) header support.
CORS header support allows the CDN to add the Access-Control-Allow-Origin header to a response to a browser.
- country
Acl GetCdn Resources Item Options Country Acl - Enables control access to content for specified countries.
- disable
Cache GetCdn Resources Item Options Disable Cache Legacy option. Use the
edge_cache_settingsoption instead.Allows the complete disabling of content caching.
- disable
Proxy GetForce Ranges Cdn Resources Item Options Disable Proxy Force Ranges - Allows 206 responses regardless of the settings of an origin source.
- edge
Cache GetSettings Cdn Resources Item Options Edge Cache Settings Cache expiration time for CDN servers.
valueanddefaultfields cannot be used simultaneously.- fastedge
Get
Cdn Resources Item Options Fastedge Allows to configure FastEdge app to be called on different request/response phases.
Note: At least one of
on_request_headers,on_request_headers_after_cache,on_request_body,on_response_headers, oron_response_bodymust be specified.- fetch
Compressed GetCdn Resources Item Options Fetch Compressed Makes the CDN request compressed content from the origin.
The origin server should support compression. CDN servers will not decompress your content even if a user browser does not accept compression.
Notes:
fetch_compressedis not supported withgzipONorbrotli_compressionorsliceoptions enabled.fetch_compressedoverridesgzipONandbrotli_compressionin rule. If you enable it in CDN resource and want to usegzipONandbrotli_compressionin a rule, you have to specify"fetch_compressed": falsein the rule.
- follow
Origin GetRedirect Cdn Resources Item Options Follow Origin Redirect - Enables 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 GetCdn Resources Item Options Force Return Applies custom HTTP response codes for CDN content.
The following codes are reserved by our system and cannot be specified in this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forward
Host GetHeader Cdn Resources Item Options Forward Host Header Forwards the Host header from a end-user request to an origin server.
hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- grpc
Passthrough GetCdn Resources Item Options Grpc Passthrough - Enables gRPC pass-through for the CDN resource.
- gzip
On GetCdn Resources Item Options Gzip On Compresses content with gzip on the CDN end. CDN servers will request only uncompressed content from the origin.
Notes:
- Compression with gzip is not supported with
fetch_compressedorsliceoptions enabled. fetch_compressedoption in CDN resource settings overridesgzipONin rules. If you enablefetch_compressedin CDN resource and want to enablegzipONin rules, you need to specify"fetch_compressed":falsefor rules.
- Compression with gzip is not supported with
- host
Header GetCdn Resources Item Options Host Header Sets the 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, the Host Header value is equal to first CNAME.hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- http3Enabled
Get
Cdn Resources Item Options Http3Enabled Enables HTTP/3 protocol for content delivery.
http3_enabledoption works only with"sslEnabled": true.-
Get
Cdn Resources Item Options Ignore Cookie - Defines whether the files with the Set-Cookies header are cached as one file or as different ones.
- ignore
Query GetString Cdn Resources Item Options Ignore Query String How a file with different query strings is cached: either as one object (option is enabled) or as different objects (option is disabled.)
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- image
Stack GetCdn Resources Item Options Image Stack - Transforms JPG and PNG images (for example, resize or crop) and automatically converts them to WebP or AVIF format.
- ip
Address GetAcl Cdn Resources Item Options Ip Address Acl Controls access to the CDN resource content for specific IP addresses.
If you want to use IPs from our CDN servers IP list for IP ACL configuration, you have to independently monitor their relevance.
We recommend you use a script for automatically update IP ACL. Read more.
- limit
Bandwidth GetCdn Resources Item Options Limit Bandwidth - Allows to control the download speed per connection.
- network
Error GetLogging Cdn Resources Item Options Network Error Logging Enables Network Error Logging (NEL) for the resource.
When enabled, the edge instructs browsers to collect and report network errors (via the
Report-ToandNELresponse headers), improving observability of connectivity issues for the resource.- proxy
Cache GetKey Cdn Resources Item Options Proxy Cache Key Allows you to modify your cache key. If omitted, the default value is
$request_uri.Combine the specified variables to create a key for caching.
- $
http_x_cdn_real_host— the originalHostheader sent by the client. Useful for splitting cache across multiple aliases served by a single CDN resource. - $
request_uri— the full original request URI including the query string (e.g.,/path?id=1). - $scheme — the request scheme, either
httporhttps. - $uri — the normalized request URI without the query string (e.g.,
/path).
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 GetMethods Set Cdn Resources Item Options Proxy Cache Methods Set - Caching for POST requests along with default GET and HEAD.
- proxy
Connect GetTimeout Cdn Resources Item Options Proxy Connect Timeout - The time limit for establishing a connection with the origin.
- proxy
Read GetTimeout Cdn Resources Item Options Proxy Read Timeout The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
Note: When used with a WebSocket connection, this option supports values only in the range 1–20 seconds (instead of the usual 1–30 seconds).
- query
Params GetBlacklist Cdn Resources Item Options Query Params Blacklist Files with the specified query parameters are cached as one object, files with other parameters are cached as different objects.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- query
Params GetWhitelist Cdn Resources Item Options Query Params Whitelist Files with the specified query parameters are cached as different objects, files with other parameters are cached as one object.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- query
String GetForwarding Cdn Resources Item Options Query String Forwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files. This functionality ensures that specific attributes, such as authentication tokens or tracking information, are consistently passed along from the playlist manifest to the individual media segments. This is particularly useful for maintaining continuity in security, analytics, and any other parameter-based operations across the entire media delivery workflow.
- redirect
Http GetTo Https Cdn Resources Item Options Redirect Http To Https Enables redirect from HTTP to HTTPS.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- redirect
Https GetTo Http Cdn Resources Item Options Redirect Https To Http Enables redirect from HTTPS to HTTP.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- referrer
Acl GetCdn Resources Item Options Referrer Acl - Controls access to the CDN resource content for specified domain names.
- response
Headers GetHiding Policy Cdn Resources Item Options Response Headers Hiding Policy - Hides HTTP headers from an origin server in the CDN response.
- rewrite
Get
Cdn Resources Item Options Rewrite - Changes and redirects requests from the CDN to the origin. It operates according to the Nginx configuration.
- secure
Key GetCdn Resources Item Options Secure Key - Configures access with tokenized URLs. This makes impossible to access content without a valid (unexpired) token.
- slice
Get
Cdn Resources Item Options Slice Requests and caches files larger than 10 MB in parts (no larger than 10 MB per part.) This reduces time to first byte.
The option is based on the Slice module.
Notes:
- Origin must support HTTP Range requests.
- Not supported with
gzipON,brotli_compressionorfetch_compressedoptions enabled.
- sni
Get
Cdn Resources Item Options Sni The hostname that is added to SNI requests from CDN servers to the origin server via HTTPS.
SNI is generally only required if your origin uses 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
originProtocolparameter isHTTPSorMATCH.- stale
Get
Cdn Resources Item Options Stale - Serves stale cached content in case of origin unavailability.
- static
Headers GetCdn Resources Item Options Static Headers Legacy option. Use the
static_response_headersoption instead.Custom HTTP Headers that a CDN server adds to response. Up to fifty custom HTTP Headers can be specified. May contain a header with multiple values.
- static
Request GetHeaders Cdn Resources Item Options Static Request Headers - Custom HTTP Headers for a CDN server to add to request. Up to fifty custom HTTP Headers can be specified.
- static
Response GetHeaders Cdn Resources Item Options Static Response Headers - Custom HTTP Headers that a CDN server adds to a response.
- tls
Versions GetCdn Resources Item Options Tls Versions List of SSL/TLS protocol versions allowed for HTTPS connections from end users to the domain.
When the option is disabled, all protocols versions are allowed.
- use
Default GetLe Chain Cdn Resources Item Options Use Default Le Chain Let's Encrypt certificate chain.
The specified chain will be used during the next Let's Encrypt certificate issue or renewal.
- use
Dns01Le GetChallenge Cdn Resources Item Options Use Dns01Le Challenge DNS-01 challenge to issue a Let's Encrypt certificate for the resource.
DNS service should be activated to enable this option.
- use
Rsa GetLe Cert Cdn Resources Item Options Use Rsa Le Cert RSA Let's Encrypt certificate type for the CDN resource.
The specified value will be used during the next Let's Encrypt certificate issue or renewal.
- user
Agent GetAcl Cdn Resources Item Options User Agent Acl - Controls access to the content for specified User-Agents.
- waap
Get
Cdn Resources Item Options Waap - Allows to enable WAAP (Web Application and API Protection).
- websockets
Get
Cdn Resources Item Options Websockets - Enables or disables WebSockets connections to an origin server.
- allowed_
http_ Getmethods Cdn Resources Item Options Allowed Http Methods - HTTP methods allowed for content requests from the CDN.
- brotli_
compression GetCdn Resources Item Options Brotli Compression - Compresses content with Brotli on the CDN side. CDN servers will request only uncompressed content from the origin.
- browser_
cache_ Getsettings Cdn Resources Item Options Browser Cache Settings Cache expiration time for users browsers in seconds.
Cache expiration time is applied to the following response codes: 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
Responses with other codes will not be cached.
- cache_
http_ Getheaders Cdn Resources Item Options Cache Http Headers Legacy option. Use the
response_headers_hiding_policyoption instead.HTTP Headers that must be included in the response.
- cors
Get
Cdn Resources Item Options Cors Enables or disables CORS (Cross-Origin Resource Sharing) header support.
CORS header support allows the CDN to add the Access-Control-Allow-Origin header to a response to a browser.
- country_
acl GetCdn Resources Item Options Country Acl - Enables control access to content for specified countries.
- disable_
cache GetCdn Resources Item Options Disable Cache Legacy option. Use the
edge_cache_settingsoption instead.Allows the complete disabling of content caching.
- disable_
proxy_ Getforce_ ranges Cdn Resources Item Options Disable Proxy Force Ranges - Allows 206 responses regardless of the settings of an origin source.
- edge_
cache_ Getsettings Cdn Resources Item Options Edge Cache Settings Cache expiration time for CDN servers.
valueanddefaultfields cannot be used simultaneously.- fastedge
Get
Cdn Resources Item Options Fastedge Allows to configure FastEdge app to be called on different request/response phases.
Note: At least one of
on_request_headers,on_request_headers_after_cache,on_request_body,on_response_headers, oron_response_bodymust be specified.- fetch_
compressed GetCdn Resources Item Options Fetch Compressed Makes the CDN request compressed content from the origin.
The origin server should support compression. CDN servers will not decompress your content even if a user browser does not accept compression.
Notes:
fetch_compressedis not supported withgzipONorbrotli_compressionorsliceoptions enabled.fetch_compressedoverridesgzipONandbrotli_compressionin rule. If you enable it in CDN resource and want to usegzipONandbrotli_compressionin a rule, you have to specify"fetch_compressed": falsein the rule.
- follow_
origin_ Getredirect Cdn Resources Item Options Follow Origin Redirect - Enables 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 GetCdn Resources Item Options Force Return Applies custom HTTP response codes for CDN content.
The following codes are reserved by our system and cannot be specified in this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forward_
host_ Getheader Cdn Resources Item Options Forward Host Header Forwards the Host header from a end-user request to an origin server.
hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- grpc_
passthrough GetCdn Resources Item Options Grpc Passthrough - Enables gRPC pass-through for the CDN resource.
- gzip_
on GetCdn Resources Item Options Gzip On Compresses content with gzip on the CDN end. CDN servers will request only uncompressed content from the origin.
Notes:
- Compression with gzip is not supported with
fetch_compressedorsliceoptions enabled. fetch_compressedoption in CDN resource settings overridesgzipONin rules. If you enablefetch_compressedin CDN resource and want to enablegzipONin rules, you need to specify"fetch_compressed":falsefor rules.
- Compression with gzip is not supported with
- host_
header GetCdn Resources Item Options Host Header Sets the 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, the Host Header value is equal to first CNAME.hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- http3_
enabled GetCdn Resources Item Options Http3Enabled Enables HTTP/3 protocol for content delivery.
http3_enabledoption works only with"sslEnabled": true.-
Get
Cdn Resources Item Options Ignore Cookie - Defines whether the files with the Set-Cookies header are cached as one file or as different ones.
- ignore_
query_ Getstring Cdn Resources Item Options Ignore Query String How a file with different query strings is cached: either as one object (option is enabled) or as different objects (option is disabled.)
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- image_
stack GetCdn Resources Item Options Image Stack - Transforms JPG and PNG images (for example, resize or crop) and automatically converts them to WebP or AVIF format.
- ip_
address_ Getacl Cdn Resources Item Options Ip Address Acl Controls access to the CDN resource content for specific IP addresses.
If you want to use IPs from our CDN servers IP list for IP ACL configuration, you have to independently monitor their relevance.
We recommend you use a script for automatically update IP ACL. Read more.
- limit_
bandwidth GetCdn Resources Item Options Limit Bandwidth - Allows to control the download speed per connection.
- network_
error_ Getlogging Cdn Resources Item Options Network Error Logging Enables Network Error Logging (NEL) for the resource.
When enabled, the edge instructs browsers to collect and report network errors (via the
Report-ToandNELresponse headers), improving observability of connectivity issues for the resource.- proxy_
cache_ Getkey Cdn Resources Item Options Proxy Cache Key Allows you to modify your cache key. If omitted, the default value is
$request_uri.Combine the specified variables to create a key for caching.
- $
http_x_cdn_real_host— the originalHostheader sent by the client. Useful for splitting cache across multiple aliases served by a single CDN resource. - $
request_uri— the full original request URI including the query string (e.g.,/path?id=1). - $scheme — the request scheme, either
httporhttps. - $uri — the normalized request URI without the query string (e.g.,
/path).
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_ Getmethods_ set Cdn Resources Item Options Proxy Cache Methods Set - Caching for POST requests along with default GET and HEAD.
- proxy_
connect_ Gettimeout Cdn Resources Item Options Proxy Connect Timeout - The time limit for establishing a connection with the origin.
- proxy_
read_ Gettimeout Cdn Resources Item Options Proxy Read Timeout The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
Note: When used with a WebSocket connection, this option supports values only in the range 1–20 seconds (instead of the usual 1–30 seconds).
- query_
params_ Getblacklist Cdn Resources Item Options Query Params Blacklist Files with the specified query parameters are cached as one object, files with other parameters are cached as different objects.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- query_
params_ Getwhitelist Cdn Resources Item Options Query Params Whitelist Files with the specified query parameters are cached as different objects, files with other parameters are cached as one object.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- query_
string_ Getforwarding Cdn Resources Item Options Query String Forwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files. This functionality ensures that specific attributes, such as authentication tokens or tracking information, are consistently passed along from the playlist manifest to the individual media segments. This is particularly useful for maintaining continuity in security, analytics, and any other parameter-based operations across the entire media delivery workflow.
- redirect_
http_ Getto_ https Cdn Resources Item Options Redirect Http To Https Enables redirect from HTTP to HTTPS.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- redirect_
https_ Getto_ http Cdn Resources Item Options Redirect Https To Http Enables redirect from HTTPS to HTTP.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- referrer_
acl GetCdn Resources Item Options Referrer Acl - Controls access to the CDN resource content for specified domain names.
- response_
headers_ Gethiding_ policy Cdn Resources Item Options Response Headers Hiding Policy - Hides HTTP headers from an origin server in the CDN response.
- rewrite
Get
Cdn Resources Item Options Rewrite - Changes and redirects requests from the CDN to the origin. It operates according to the Nginx configuration.
- secure_
key GetCdn Resources Item Options Secure Key - Configures access with tokenized URLs. This makes impossible to access content without a valid (unexpired) token.
- slice
Get
Cdn Resources Item Options Slice Requests and caches files larger than 10 MB in parts (no larger than 10 MB per part.) This reduces time to first byte.
The option is based on the Slice module.
Notes:
- Origin must support HTTP Range requests.
- Not supported with
gzipON,brotli_compressionorfetch_compressedoptions enabled.
- sni
Get
Cdn Resources Item Options Sni The hostname that is added to SNI requests from CDN servers to the origin server via HTTPS.
SNI is generally only required if your origin uses 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
originProtocolparameter isHTTPSorMATCH.- stale
Get
Cdn Resources Item Options Stale - Serves stale cached content in case of origin unavailability.
- static_
headers GetCdn Resources Item Options Static Headers Legacy option. Use the
static_response_headersoption instead.Custom HTTP Headers that a CDN server adds to response. Up to fifty custom HTTP Headers can be specified. May contain a header with multiple values.
- static_
request_ Getheaders Cdn Resources Item Options Static Request Headers - Custom HTTP Headers for a CDN server to add to request. Up to fifty custom HTTP Headers can be specified.
- static_
response_ Getheaders Cdn Resources Item Options Static Response Headers - Custom HTTP Headers that a CDN server adds to a response.
- tls_
versions GetCdn Resources Item Options Tls Versions List of SSL/TLS protocol versions allowed for HTTPS connections from end users to the domain.
When the option is disabled, all protocols versions are allowed.
- use_
default_ Getle_ chain Cdn Resources Item Options Use Default Le Chain Let's Encrypt certificate chain.
The specified chain will be used during the next Let's Encrypt certificate issue or renewal.
- use_
dns01_ Getle_ challenge Cdn Resources Item Options Use Dns01Le Challenge DNS-01 challenge to issue a Let's Encrypt certificate for the resource.
DNS service should be activated to enable this option.
- use_
rsa_ Getle_ cert Cdn Resources Item Options Use Rsa Le Cert RSA Let's Encrypt certificate type for the CDN resource.
The specified value will be used during the next Let's Encrypt certificate issue or renewal.
- user_
agent_ Getacl Cdn Resources Item Options User Agent Acl - Controls access to the content for specified User-Agents.
- waap
Get
Cdn Resources Item Options Waap - Allows to enable WAAP (Web Application and API Protection).
- websockets
Get
Cdn Resources Item Options Websockets - Enables or disables WebSockets connections to an origin server.
- allowed
Http Property MapMethods - HTTP methods allowed for content requests from the CDN.
- brotli
Compression Property Map - Compresses content with Brotli on the CDN side. CDN servers will request only uncompressed content from the origin.
- browser
Cache Property MapSettings Cache expiration time for users browsers in seconds.
Cache expiration time is applied to the following response codes: 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
Responses with other codes will not be cached.
- cache
Http Property MapHeaders Legacy option. Use the
response_headers_hiding_policyoption instead.HTTP Headers that must be included in the response.
- cors Property Map
Enables or disables CORS (Cross-Origin Resource Sharing) header support.
CORS header support allows the CDN to add the Access-Control-Allow-Origin header to a response to a browser.
- country
Acl Property Map - Enables control access to content for specified countries.
- disable
Cache Property Map Legacy option. Use the
edge_cache_settingsoption instead.Allows the complete disabling of content caching.
- disable
Proxy Property MapForce Ranges - Allows 206 responses regardless of the settings of an origin source.
- edge
Cache Property MapSettings Cache expiration time for CDN servers.
valueanddefaultfields cannot be used simultaneously.- fastedge Property Map
Allows to configure FastEdge app to be called on different request/response phases.
Note: At least one of
on_request_headers,on_request_headers_after_cache,on_request_body,on_response_headers, oron_response_bodymust be specified.- fetch
Compressed Property Map Makes the CDN request compressed content from the origin.
The origin server should support compression. CDN servers will not decompress your content even if a user browser does not accept compression.
Notes:
fetch_compressedis not supported withgzipONorbrotli_compressionorsliceoptions enabled.fetch_compressedoverridesgzipONandbrotli_compressionin rule. If you enable it in CDN resource and want to usegzipONandbrotli_compressionin a rule, you have to specify"fetch_compressed": falsein the rule.
- follow
Origin Property MapRedirect - Enables 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 Property Map Applies custom HTTP response codes for CDN content.
The following codes are reserved by our system and cannot be specified in this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forward
Host Property MapHeader Forwards the Host header from a end-user request to an origin server.
hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- grpc
Passthrough Property Map - Enables gRPC pass-through for the CDN resource.
- gzip
On Property Map Compresses content with gzip on the CDN end. CDN servers will request only uncompressed content from the origin.
Notes:
- Compression with gzip is not supported with
fetch_compressedorsliceoptions enabled. fetch_compressedoption in CDN resource settings overridesgzipONin rules. If you enablefetch_compressedin CDN resource and want to enablegzipONin rules, you need to specify"fetch_compressed":falsefor rules.
- Compression with gzip is not supported with
- host
Header Property Map Sets the 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, the Host Header value is equal to first CNAME.hostHeaderandforward_host_headeroptions cannot be enabled simultaneously.- http3Enabled Property Map
Enables HTTP/3 protocol for content delivery.
http3_enabledoption works only with"sslEnabled": true.- Property Map
- Defines whether the files with the Set-Cookies header are cached as one file or as different ones.
- ignore
Query Property MapString How a file with different query strings is cached: either as one object (option is enabled) or as different objects (option is disabled.)
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- image
Stack Property Map - Transforms JPG and PNG images (for example, resize or crop) and automatically converts them to WebP or AVIF format.
- ip
Address Property MapAcl Controls access to the CDN resource content for specific IP addresses.
If you want to use IPs from our CDN servers IP list for IP ACL configuration, you have to independently monitor their relevance.
We recommend you use a script for automatically update IP ACL. Read more.
- limit
Bandwidth Property Map - Allows to control the download speed per connection.
- network
Error Property MapLogging Enables Network Error Logging (NEL) for the resource.
When enabled, the edge instructs browsers to collect and report network errors (via the
Report-ToandNELresponse headers), improving observability of connectivity issues for the resource.- proxy
Cache Property MapKey Allows you to modify your cache key. If omitted, the default value is
$request_uri.Combine the specified variables to create a key for caching.
- $
http_x_cdn_real_host— the originalHostheader sent by the client. Useful for splitting cache across multiple aliases served by a single CDN resource. - $
request_uri— the full original request URI including the query string (e.g.,/path?id=1). - $scheme — the request scheme, either
httporhttps. - $uri — the normalized request URI without the query string (e.g.,
/path).
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 Property MapMethods Set - Caching for POST requests along with default GET and HEAD.
- proxy
Connect Property MapTimeout - The time limit for establishing a connection with the origin.
- proxy
Read Property MapTimeout The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
Note: When used with a WebSocket connection, this option supports values only in the range 1–20 seconds (instead of the usual 1–30 seconds).
- query
Params Property MapBlacklist Files with the specified query parameters are cached as one object, files with other parameters are cached as different objects.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- query
Params Property MapWhitelist Files with the specified query parameters are cached as different objects, files with other parameters are cached as one object.
ignoreQueryString,query_params_whitelistandquery_params_blacklistoptions cannot be enabled simultaneously.- query
String Property MapForwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files. This functionality ensures that specific attributes, such as authentication tokens or tracking information, are consistently passed along from the playlist manifest to the individual media segments. This is particularly useful for maintaining continuity in security, analytics, and any other parameter-based operations across the entire media delivery workflow.
- redirect
Http Property MapTo Https Enables redirect from HTTP to HTTPS.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- redirect
Https Property MapTo Http Enables redirect from HTTPS to HTTP.
redirect_http_to_httpsandredirect_https_to_httpoptions cannot be enabled simultaneously.- referrer
Acl Property Map - Controls access to the CDN resource content for specified domain names.
- response
Headers Property MapHiding Policy - Hides HTTP headers from an origin server in the CDN response.
- rewrite Property Map
- Changes and redirects requests from the CDN to the origin. It operates according to the Nginx configuration.
- secure
Key Property Map - Configures access with tokenized URLs. This makes impossible to access content without a valid (unexpired) token.
- slice Property Map
Requests and caches files larger than 10 MB in parts (no larger than 10 MB per part.) This reduces time to first byte.
The option is based on the Slice module.
Notes:
- Origin must support HTTP Range requests.
- Not supported with
gzipON,brotli_compressionorfetch_compressedoptions enabled.
- sni Property Map
The hostname that is added to SNI requests from CDN servers to the origin server via HTTPS.
SNI is generally only required if your origin uses 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
originProtocolparameter isHTTPSorMATCH.- stale Property Map
- Serves stale cached content in case of origin unavailability.
- static
Headers Property Map Legacy option. Use the
static_response_headersoption instead.Custom HTTP Headers that a CDN server adds to response. Up to fifty custom HTTP Headers can be specified. May contain a header with multiple values.
- static
Request Property MapHeaders - Custom HTTP Headers for a CDN server to add to request. Up to fifty custom HTTP Headers can be specified.
- static
Response Property MapHeaders - Custom HTTP Headers that a CDN server adds to a response.
- tls
Versions Property Map List of SSL/TLS protocol versions allowed for HTTPS connections from end users to the domain.
When the option is disabled, all protocols versions are allowed.
- use
Default Property MapLe Chain Let's Encrypt certificate chain.
The specified chain will be used during the next Let's Encrypt certificate issue or renewal.
- use
Dns01Le Property MapChallenge DNS-01 challenge to issue a Let's Encrypt certificate for the resource.
DNS service should be activated to enable this option.
- use
Rsa Property MapLe Cert RSA Let's Encrypt certificate type for the CDN resource.
The specified value will be used during the next Let's Encrypt certificate issue or renewal.
- user
Agent Property MapAcl - Controls access to the content for specified User-Agents.
- waap Property Map
- Allows to enable WAAP (Web Application and API Protection).
- websockets Property Map
- Enables or disables WebSockets connections to an origin server.
GetCdnResourcesItemOptionsAllowedHttpMethods
GetCdnResourcesItemOptionsBrotliCompression
GetCdnResourcesItemOptionsBrowserCacheSettings
GetCdnResourcesItemOptionsCacheHttpHeaders
GetCdnResourcesItemOptionsCors
- Always bool
- Defines whether the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
- Enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- Values List<string>
Value of the Access-Control-Allow-Origin header.
Possible values:
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
"value": ["*"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value if the origin matches one of the listed domains - Content will be uploaded only for requests from the domains specified in the field.
"value": ["domain.com", "second.dom.com"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain, and the domain from which the request was sent will be added to the "Access-Control-Allow-Origin" header in the response.
"value": ["$http_origin"]
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
- Always bool
- Defines whether the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
- Enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- Values []string
Value of the Access-Control-Allow-Origin header.
Possible values:
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
"value": ["*"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value if the origin matches one of the listed domains - Content will be uploaded only for requests from the domains specified in the field.
"value": ["domain.com", "second.dom.com"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain, and the domain from which the request was sent will be added to the "Access-Control-Allow-Origin" header in the response.
"value": ["$http_origin"]
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
- always bool
- Defines whether the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
- enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- values list(string)
Value of the Access-Control-Allow-Origin header.
Possible values:
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
"value": ["*"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value if the origin matches one of the listed domains - Content will be uploaded only for requests from the domains specified in the field.
"value": ["domain.com", "second.dom.com"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain, and the domain from which the request was sent will be added to the "Access-Control-Allow-Origin" header in the response.
"value": ["$http_origin"]
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
- always Boolean
- Defines whether the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
- enabled Boolean
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- values List<String>
Value of the Access-Control-Allow-Origin header.
Possible values:
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
"value": ["*"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value if the origin matches one of the listed domains - Content will be uploaded only for requests from the domains specified in the field.
"value": ["domain.com", "second.dom.com"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain, and the domain from which the request was sent will be added to the "Access-Control-Allow-Origin" header in the response.
"value": ["$http_origin"]
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
- always boolean
- Defines whether the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
- enabled boolean
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- values string[]
Value of the Access-Control-Allow-Origin header.
Possible values:
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
"value": ["*"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value if the origin matches one of the listed domains - Content will be uploaded only for requests from the domains specified in the field.
"value": ["domain.com", "second.dom.com"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain, and the domain from which the request was sent will be added to the "Access-Control-Allow-Origin" header in the response.
"value": ["$http_origin"]
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
- always bool
- Defines whether the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
- enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- values Sequence[str]
Value of the Access-Control-Allow-Origin header.
Possible values:
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
"value": ["*"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value if the origin matches one of the listed domains - Content will be uploaded only for requests from the domains specified in the field.
"value": ["domain.com", "second.dom.com"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain, and the domain from which the request was sent will be added to the "Access-Control-Allow-Origin" header in the response.
"value": ["$http_origin"]
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
- always Boolean
- Defines whether the Access-Control-Allow-Origin header should be added to a response from CDN regardless of response code.
- enabled Boolean
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- values List<String>
Value of the Access-Control-Allow-Origin header.
Possible values:
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
"value": ["*"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value if the origin matches one of the listed domains - Content will be uploaded only for requests from the domains specified in the field.
"value": ["domain.com", "second.dom.com"] - Adds "$http_origin" as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain, and the domain from which the request was sent will be added to the "Access-Control-Allow-Origin" header in the response.
"value": ["$http_origin"]
- Adds * as the Access-Control-Allow-Origin header value - Content will be uploaded for requests from any domain.
GetCdnResourcesItemOptionsCountryAcl
- Enabled bool
- Controls the option state.
- Excepted
Values List<string> List of countries according to ISO-3166-1.
The meaning of the parameter depends on
policy_typevalue:- allow - List of countries for which access is prohibited.
- deny - List of countries for which access is allowed.
- Policy
Type string Defines the type of CDN resource access policy.
Possible values:
- allow - Access is allowed for all the countries except for those specified in
excepted_valuesfield. - deny - Access is denied for all the countries except for those specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Access is allowed for all the countries except for those specified in
- Enabled bool
- Controls the option state.
- Excepted
Values []string List of countries according to ISO-3166-1.
The meaning of the parameter depends on
policy_typevalue:- allow - List of countries for which access is prohibited.
- deny - List of countries for which access is allowed.
- Policy
Type string Defines the type of CDN resource access policy.
Possible values:
- allow - Access is allowed for all the countries except for those specified in
excepted_valuesfield. - deny - Access is denied for all the countries except for those specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Access is allowed for all the countries except for those specified in
- enabled bool
- Controls the option state.
- excepted_
values list(string) List of countries according to ISO-3166-1.
The meaning of the parameter depends on
policy_typevalue:- allow - List of countries for which access is prohibited.
- deny - List of countries for which access is allowed.
- policy_
type string Defines the type of CDN resource access policy.
Possible values:
- allow - Access is allowed for all the countries except for those specified in
excepted_valuesfield. - deny - Access is denied for all the countries except for those specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Access is allowed for all the countries except for those specified in
- enabled Boolean
- Controls the option state.
- excepted
Values List<String> List of countries according to ISO-3166-1.
The meaning of the parameter depends on
policy_typevalue:- allow - List of countries for which access is prohibited.
- deny - List of countries for which access is allowed.
- policy
Type String Defines the type of CDN resource access policy.
Possible values:
- allow - Access is allowed for all the countries except for those specified in
excepted_valuesfield. - deny - Access is denied for all the countries except for those specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Access is allowed for all the countries except for those specified in
- enabled boolean
- Controls the option state.
- excepted
Values string[] List of countries according to ISO-3166-1.
The meaning of the parameter depends on
policy_typevalue:- allow - List of countries for which access is prohibited.
- deny - List of countries for which access is allowed.
- policy
Type string Defines the type of CDN resource access policy.
Possible values:
- allow - Access is allowed for all the countries except for those specified in
excepted_valuesfield. - deny - Access is denied for all the countries except for those specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Access is allowed for all the countries except for those specified in
- enabled bool
- Controls the option state.
- excepted_
values Sequence[str] List of countries according to ISO-3166-1.
The meaning of the parameter depends on
policy_typevalue:- allow - List of countries for which access is prohibited.
- deny - List of countries for which access is allowed.
- policy_
type str Defines the type of CDN resource access policy.
Possible values:
- allow - Access is allowed for all the countries except for those specified in
excepted_valuesfield. - deny - Access is denied for all the countries except for those specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Access is allowed for all the countries except for those specified in
- enabled Boolean
- Controls the option state.
- excepted
Values List<String> List of countries according to ISO-3166-1.
The meaning of the parameter depends on
policy_typevalue:- allow - List of countries for which access is prohibited.
- deny - List of countries for which access is allowed.
- policy
Type String Defines the type of CDN resource access policy.
Possible values:
- allow - Access is allowed for all the countries except for those specified in
excepted_valuesfield. - deny - Access is denied for all the countries except for those specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Access is allowed for all the countries except for those specified in
GetCdnResourcesItemOptionsDisableCache
GetCdnResourcesItemOptionsDisableProxyForceRanges
GetCdnResourcesItemOptionsEdgeCacheSettings
- Custom
Values Dictionary<string, string> - A MAP object representing the caching time in seconds for a response with a specific response code.
- Default string
Enables content caching according to the origin cache settings.
The value is applied to the following response 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.
The maximum duration is any equivalent to
1y.- Enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- Value string
Caching time.
The value is applied to the following response codes: 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached.
Use
0sto disable caching.The maximum duration is any equivalent to
1y.
- Custom
Values map[string]string - A MAP object representing the caching time in seconds for a response with a specific response code.
- Default string
Enables content caching according to the origin cache settings.
The value is applied to the following response 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.
The maximum duration is any equivalent to
1y.- Enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- Value string
Caching time.
The value is applied to the following response codes: 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached.
Use
0sto disable caching.The maximum duration is any equivalent to
1y.
- custom_
values map(string) - A MAP object representing the caching time in seconds for a response with a specific response code.
- default string
Enables content caching according to the origin cache settings.
The value is applied to the following response 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.
The maximum duration is any equivalent to
1y.- enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- value string
Caching time.
The value is applied to the following response codes: 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached.
Use
0sto disable caching.The maximum duration is any equivalent to
1y.
- custom
Values Map<String,String> - A MAP object representing the caching time in seconds for a response with a specific response code.
- default_ String
Enables content caching according to the origin cache settings.
The value is applied to the following response 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.
The maximum duration is any equivalent to
1y.- enabled Boolean
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- value String
Caching time.
The value is applied to the following response codes: 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached.
Use
0sto disable caching.The maximum duration is any equivalent to
1y.
- custom
Values {[key: string]: string} - A MAP object representing the caching time in seconds for a response with a specific response code.
- default string
Enables content caching according to the origin cache settings.
The value is applied to the following response 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.
The maximum duration is any equivalent to
1y.- enabled boolean
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- value string
Caching time.
The value is applied to the following response codes: 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached.
Use
0sto disable caching.The maximum duration is any equivalent to
1y.
- custom_
values Mapping[str, str] - A MAP object representing the caching time in seconds for a response with a specific response code.
- default str
Enables content caching according to the origin cache settings.
The value is applied to the following response 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.
The maximum duration is any equivalent to
1y.- enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- value str
Caching time.
The value is applied to the following response codes: 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached.
Use
0sto disable caching.The maximum duration is any equivalent to
1y.
- custom
Values Map<String> - A MAP object representing the caching time in seconds for a response with a specific response code.
- default String
Enables content caching according to the origin cache settings.
The value is applied to the following response 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.
The maximum duration is any equivalent to
1y.- enabled Boolean
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- value String
Caching time.
The value is applied to the following response codes: 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached.
Use
0sto disable caching.The maximum duration is any equivalent to
1y.
GetCdnResourcesItemOptionsFastedge
- Enabled bool
- Controls the option state.
- On
Request GetBody Cdn Resources Item Options Fastedge On Request Body - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- On
Request GetHeaders Cdn Resources Item Options Fastedge On Request Headers - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, before cache.
- On
Request GetHeaders After Cache Cdn Resources Item Options Fastedge On Request Headers After Cache - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, after cache.
- On
Response GetBody Cdn Resources Item Options Fastedge On Response Body - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- On
Response GetHeaders Cdn Resources Item Options Fastedge On Response Headers - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
- Enabled bool
- Controls the option state.
- On
Request GetBody Cdn Resources Item Options Fastedge On Request Body - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- On
Request GetHeaders Cdn Resources Item Options Fastedge On Request Headers - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, before cache.
- On
Request GetHeaders After Cache Cdn Resources Item Options Fastedge On Request Headers After Cache - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, after cache.
- On
Response GetBody Cdn Resources Item Options Fastedge On Response Body - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- On
Response GetHeaders Cdn Resources Item Options Fastedge On Response Headers - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
- enabled bool
- Controls the option state.
- on_
request_ objectbody - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- on_
request_ objectheaders - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, before cache.
- on_
request_ objectheaders_ after_ cache - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, after cache.
- on_
response_ objectbody - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- on_
response_ objectheaders - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
- enabled Boolean
- Controls the option state.
- on
Request GetBody Cdn Resources Item Options Fastedge On Request Body - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- on
Request GetHeaders Cdn Resources Item Options Fastedge On Request Headers - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, before cache.
- on
Request GetHeaders After Cache Cdn Resources Item Options Fastedge On Request Headers After Cache - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, after cache.
- on
Response GetBody Cdn Resources Item Options Fastedge On Response Body - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- on
Response GetHeaders Cdn Resources Item Options Fastedge On Response Headers - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
- enabled boolean
- Controls the option state.
- on
Request GetBody Cdn Resources Item Options Fastedge On Request Body - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- on
Request GetHeaders Cdn Resources Item Options Fastedge On Request Headers - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, before cache.
- on
Request GetHeaders After Cache Cdn Resources Item Options Fastedge On Request Headers After Cache - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, after cache.
- on
Response GetBody Cdn Resources Item Options Fastedge On Response Body - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- on
Response GetHeaders Cdn Resources Item Options Fastedge On Response Headers - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
- enabled bool
- Controls the option state.
- on_
request_ Getbody Cdn Resources Item Options Fastedge On Request Body - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- on_
request_ Getheaders Cdn Resources Item Options Fastedge On Request Headers - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, before cache.
- on_
request_ Getheaders_ after_ cache Cdn Resources Item Options Fastedge On Request Headers After Cache - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, after cache.
- on_
response_ Getbody Cdn Resources Item Options Fastedge On Response Body - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- on_
response_ Getheaders Cdn Resources Item Options Fastedge On Response Headers - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
- enabled Boolean
- Controls the option state.
- on
Request Property MapBody - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- on
Request Property MapHeaders - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, before cache.
- on
Request Property MapHeaders After Cache - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request, after cache.
- on
Response Property MapBody - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- on
Response Property MapHeaders - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
GetCdnResourcesItemOptionsFastedgeOnRequestBody
- App
Id string - 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 boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- App
Id string - 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 boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- app_
id string - 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_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
- app
Id string - The ID of the application in FastEdge.
- enabled boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On booleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On booleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On booleanError - 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_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
GetCdnResourcesItemOptionsFastedgeOnRequestHeaders
- App
Id string - 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 boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- App
Id string - 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 boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- app_
id string - 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_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
- app
Id string - The ID of the application in FastEdge.
- enabled boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On booleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On booleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On booleanError - 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_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
GetCdnResourcesItemOptionsFastedgeOnRequestHeadersAfterCache
- App
Id string - 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 boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- App
Id string - 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 boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- app_
id string - 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_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
- app
Id string - The ID of the application in FastEdge.
- enabled boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On booleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On booleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On booleanError - 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_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
GetCdnResourcesItemOptionsFastedgeOnResponseBody
- App
Id string - 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 boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- App
Id string - 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 boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- app_
id string - 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_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
- app
Id string - The ID of the application in FastEdge.
- enabled boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On booleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On booleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On booleanError - 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_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
GetCdnResourcesItemOptionsFastedgeOnResponseHeaders
- App
Id string - 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 boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- App
Id string - 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 boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- app_
id string - 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_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
- app
Id string - The ID of the application in FastEdge.
- enabled boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On booleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On booleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On booleanError - 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_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
GetCdnResourcesItemOptionsFetchCompressed
GetCdnResourcesItemOptionsFollowOriginRedirect
GetCdnResourcesItemOptionsForceReturn
- Body string
- URL for redirection or text.
- Code double
- Status code value.
- Enabled bool
- Controls the option state.
- Time
Interval GetCdn Resources Item Options Force Return Time Interval - Controls the time at which a custom HTTP response code should be applied. By default, a custom HTTP response code is applied at any time.
- Body string
- URL for redirection or text.
- Code float64
- Status code value.
- Enabled bool
- Controls the option state.
- Time
Interval GetCdn Resources Item Options Force Return Time Interval - Controls the time at which a custom HTTP response code should be applied. By default, a custom HTTP response code is applied at any time.
- body string
- URL for redirection or text.
- code number
- Status code value.
- enabled bool
- Controls the option state.
- time_
interval object - Controls the time at which a custom HTTP response code should be applied. By default, a custom HTTP response code is applied at any time.
- body String
- URL for redirection or text.
- code Double
- Status code value.
- enabled Boolean
- Controls the option state.
- time
Interval GetCdn Resources Item Options Force Return Time Interval - Controls the time at which a custom HTTP response code should be applied. By default, a custom HTTP response code is applied at any time.
- body string
- URL for redirection or text.
- code number
- Status code value.
- enabled boolean
- Controls the option state.
- time
Interval GetCdn Resources Item Options Force Return Time Interval - Controls the time at which a custom HTTP response code should be applied. By default, a custom HTTP response code is applied at any time.
- body str
- URL for redirection or text.
- code float
- Status code value.
- enabled bool
- Controls the option state.
- time_
interval GetCdn Resources Item Options Force Return Time Interval - Controls the time at which a custom HTTP response code should be applied. By default, a custom HTTP response code is applied at any time.
- body String
- URL for redirection or text.
- code Number
- Status code value.
- enabled Boolean
- Controls the option state.
- time
Interval Property Map - Controls the time at which a custom HTTP response code should be applied. By default, a custom HTTP response code is applied at any time.
GetCdnResourcesItemOptionsForceReturnTimeInterval
- end_
time string - Time until which a custom HTTP response code should be applied. Indicated in 24-hour format.
- start_
time string - Time from which a custom HTTP response code should be applied. Indicated in 24-hour format.
- time_
zone string - Time zone used to calculate time.
- end_
time str - Time until which a custom HTTP response code should be applied. Indicated in 24-hour format.
- start_
time str - Time from which a custom HTTP response code should be applied. Indicated in 24-hour format.
- time_
zone str - Time zone used to calculate time.
GetCdnResourcesItemOptionsForwardHostHeader
GetCdnResourcesItemOptionsGrpcPassthrough
GetCdnResourcesItemOptionsGzipOn
GetCdnResourcesItemOptionsHostHeader
GetCdnResourcesItemOptionsHttp3Enabled
GetCdnResourcesItemOptionsIgnoreCookie
GetCdnResourcesItemOptionsIgnoreQueryString
GetCdnResourcesItemOptionsImageStack
- Avif
Enabled bool - Enables or disables automatic conversion of JPEG and PNG images to AVI format.
- Enabled bool
- Controls the option state.
- Png
Lossless bool - Enables or disables compression without quality loss for PNG format.
- Quality double
- Defines quality settings for JPG and PNG images. The higher the value, the better the image quality, and the larger the file size after conversion.
- Webp
Enabled bool - Enables or disables automatic conversion of JPEG and PNG images to WebP format.
- Avif
Enabled bool - Enables or disables automatic conversion of JPEG and PNG images to AVI format.
- Enabled bool
- Controls the option state.
- Png
Lossless bool - Enables or disables compression without quality loss for PNG format.
- Quality float64
- Defines quality settings for JPG and PNG images. The higher the value, the better the image quality, and the larger the file size after conversion.
- Webp
Enabled bool - Enables or disables automatic conversion of JPEG and PNG images to WebP format.
- avif_
enabled bool - Enables or disables automatic conversion of JPEG and PNG images to AVI format.
- enabled bool
- Controls the option state.
- png_
lossless bool - Enables or disables compression without quality loss for PNG format.
- quality number
- Defines quality settings for JPG and PNG images. The higher the value, the better the image quality, and the larger the file size after conversion.
- webp_
enabled bool - Enables or disables automatic conversion of JPEG and PNG images to WebP format.
- avif
Enabled Boolean - Enables or disables automatic conversion of JPEG and PNG images to AVI format.
- enabled Boolean
- Controls the option state.
- png
Lossless Boolean - Enables or disables compression without quality loss for PNG format.
- quality Double
- Defines quality settings for JPG and PNG images. The higher the value, the better the image quality, and the larger the file size after conversion.
- webp
Enabled Boolean - Enables or disables automatic conversion of JPEG and PNG images to WebP format.
- avif
Enabled boolean - Enables or disables automatic conversion of JPEG and PNG images to AVI format.
- enabled boolean
- Controls the option state.
- png
Lossless boolean - Enables or disables compression without quality loss for PNG format.
- quality number
- Defines quality settings for JPG and PNG images. The higher the value, the better the image quality, and the larger the file size after conversion.
- webp
Enabled boolean - Enables or disables automatic conversion of JPEG and PNG images to WebP format.
- avif_
enabled bool - Enables or disables automatic conversion of JPEG and PNG images to AVI format.
- enabled bool
- Controls the option state.
- png_
lossless bool - Enables or disables compression without quality loss for PNG format.
- quality float
- Defines quality settings for JPG and PNG images. The higher the value, the better the image quality, and the larger the file size after conversion.
- webp_
enabled bool - Enables or disables automatic conversion of JPEG and PNG images to WebP format.
- avif
Enabled Boolean - Enables or disables automatic conversion of JPEG and PNG images to AVI format.
- enabled Boolean
- Controls the option state.
- png
Lossless Boolean - Enables or disables compression without quality loss for PNG format.
- quality Number
- Defines quality settings for JPG and PNG images. The higher the value, the better the image quality, and the larger the file size after conversion.
- webp
Enabled Boolean - Enables or disables automatic conversion of JPEG and PNG images to WebP format.
GetCdnResourcesItemOptionsIpAddressAcl
- Enabled bool
- Controls the option state.
- Excepted
Values List<string> List of IP addresses with a subnet mask.
The meaning of the parameter depends on
policy_typevalue:- allow - List of IP addresses for which access is prohibited.
- deny - List of IP addresses for which access is allowed.
Examples:
192.168.3.2/322a03:d000:2980:7::8/128
- Policy
Type string IP access policy type.
Possible values:
- allow - Allow access to all IPs except IPs specified in "excepted_values" field.
- deny - Deny access to all IPs except IPs specified in "excepted_values" field. Available values: "allow", "deny".
- Enabled bool
- Controls the option state.
- Excepted
Values []string List of IP addresses with a subnet mask.
The meaning of the parameter depends on
policy_typevalue:- allow - List of IP addresses for which access is prohibited.
- deny - List of IP addresses for which access is allowed.
Examples:
192.168.3.2/322a03:d000:2980:7::8/128
- Policy
Type string IP access policy type.
Possible values:
- allow - Allow access to all IPs except IPs specified in "excepted_values" field.
- deny - Deny access to all IPs except IPs specified in "excepted_values" field. Available values: "allow", "deny".
- enabled bool
- Controls the option state.
- excepted_
values list(string) List of IP addresses with a subnet mask.
The meaning of the parameter depends on
policy_typevalue:- allow - List of IP addresses for which access is prohibited.
- deny - List of IP addresses for which access is allowed.
Examples:
192.168.3.2/322a03:d000:2980:7::8/128
- policy_
type string IP access policy type.
Possible values:
- allow - Allow access to all IPs except IPs specified in "excepted_values" field.
- deny - Deny access to all IPs except IPs specified in "excepted_values" field. Available values: "allow", "deny".
- enabled Boolean
- Controls the option state.
- excepted
Values List<String> List of IP addresses with a subnet mask.
The meaning of the parameter depends on
policy_typevalue:- allow - List of IP addresses for which access is prohibited.
- deny - List of IP addresses for which access is allowed.
Examples:
192.168.3.2/322a03:d000:2980:7::8/128
- policy
Type String IP access policy type.
Possible values:
- allow - Allow access to all IPs except IPs specified in "excepted_values" field.
- deny - Deny access to all IPs except IPs specified in "excepted_values" field. Available values: "allow", "deny".
- enabled boolean
- Controls the option state.
- excepted
Values string[] List of IP addresses with a subnet mask.
The meaning of the parameter depends on
policy_typevalue:- allow - List of IP addresses for which access is prohibited.
- deny - List of IP addresses for which access is allowed.
Examples:
192.168.3.2/322a03:d000:2980:7::8/128
- policy
Type string IP access policy type.
Possible values:
- allow - Allow access to all IPs except IPs specified in "excepted_values" field.
- deny - Deny access to all IPs except IPs specified in "excepted_values" field. Available values: "allow", "deny".
- enabled bool
- Controls the option state.
- excepted_
values Sequence[str] List of IP addresses with a subnet mask.
The meaning of the parameter depends on
policy_typevalue:- allow - List of IP addresses for which access is prohibited.
- deny - List of IP addresses for which access is allowed.
Examples:
192.168.3.2/322a03:d000:2980:7::8/128
- policy_
type str IP access policy type.
Possible values:
- allow - Allow access to all IPs except IPs specified in "excepted_values" field.
- deny - Deny access to all IPs except IPs specified in "excepted_values" field. Available values: "allow", "deny".
- enabled Boolean
- Controls the option state.
- excepted
Values List<String> List of IP addresses with a subnet mask.
The meaning of the parameter depends on
policy_typevalue:- allow - List of IP addresses for which access is prohibited.
- deny - List of IP addresses for which access is allowed.
Examples:
192.168.3.2/322a03:d000:2980:7::8/128
- policy
Type String IP access policy type.
Possible values:
- allow - Allow access to all IPs except IPs specified in "excepted_values" field.
- deny - Deny access to all IPs except IPs specified in "excepted_values" field. Available values: "allow", "deny".
GetCdnResourcesItemOptionsLimitBandwidth
- Buffer double
- Amount of downloaded data after which the user will be rate limited.
- Enabled bool
- Controls the option state.
- Limit
Type string Method of controlling the download speed per connection.
Possible values:
- static - Use speed and buffer fields to set the download speed limit.
- dynamic - Use query strings speed and buffer to set the download speed limit.
For example, when requesting content at the link
http://cdn.example.com/video.mp4?speed=50k&buffer=500kthe download speed will be limited to 50kB/s after 500 kB. Available values: "static", "dynamic".
- Speed double
- Maximum download speed per connection.
- Buffer float64
- Amount of downloaded data after which the user will be rate limited.
- Enabled bool
- Controls the option state.
- Limit
Type string Method of controlling the download speed per connection.
Possible values:
- static - Use speed and buffer fields to set the download speed limit.
- dynamic - Use query strings speed and buffer to set the download speed limit.
For example, when requesting content at the link
http://cdn.example.com/video.mp4?speed=50k&buffer=500kthe download speed will be limited to 50kB/s after 500 kB. Available values: "static", "dynamic".
- Speed float64
- Maximum download speed per connection.
- buffer number
- Amount of downloaded data after which the user will be rate limited.
- enabled bool
- Controls the option state.
- limit_
type string Method of controlling the download speed per connection.
Possible values:
- static - Use speed and buffer fields to set the download speed limit.
- dynamic - Use query strings speed and buffer to set the download speed limit.
For example, when requesting content at the link
http://cdn.example.com/video.mp4?speed=50k&buffer=500kthe download speed will be limited to 50kB/s after 500 kB. Available values: "static", "dynamic".
- speed number
- Maximum download speed per connection.
- buffer Double
- Amount of downloaded data after which the user will be rate limited.
- enabled Boolean
- Controls the option state.
- limit
Type String Method of controlling the download speed per connection.
Possible values:
- static - Use speed and buffer fields to set the download speed limit.
- dynamic - Use query strings speed and buffer to set the download speed limit.
For example, when requesting content at the link
http://cdn.example.com/video.mp4?speed=50k&buffer=500kthe download speed will be limited to 50kB/s after 500 kB. Available values: "static", "dynamic".
- speed Double
- Maximum download speed per connection.
- buffer number
- Amount of downloaded data after which the user will be rate limited.
- enabled boolean
- Controls the option state.
- limit
Type string Method of controlling the download speed per connection.
Possible values:
- static - Use speed and buffer fields to set the download speed limit.
- dynamic - Use query strings speed and buffer to set the download speed limit.
For example, when requesting content at the link
http://cdn.example.com/video.mp4?speed=50k&buffer=500kthe download speed will be limited to 50kB/s after 500 kB. Available values: "static", "dynamic".
- speed number
- Maximum download speed per connection.
- buffer float
- Amount of downloaded data after which the user will be rate limited.
- enabled bool
- Controls the option state.
- limit_
type str Method of controlling the download speed per connection.
Possible values:
- static - Use speed and buffer fields to set the download speed limit.
- dynamic - Use query strings speed and buffer to set the download speed limit.
For example, when requesting content at the link
http://cdn.example.com/video.mp4?speed=50k&buffer=500kthe download speed will be limited to 50kB/s after 500 kB. Available values: "static", "dynamic".
- speed float
- Maximum download speed per connection.
- buffer Number
- Amount of downloaded data after which the user will be rate limited.
- enabled Boolean
- Controls the option state.
- limit
Type String Method of controlling the download speed per connection.
Possible values:
- static - Use speed and buffer fields to set the download speed limit.
- dynamic - Use query strings speed and buffer to set the download speed limit.
For example, when requesting content at the link
http://cdn.example.com/video.mp4?speed=50k&buffer=500kthe download speed will be limited to 50kB/s after 500 kB. Available values: "static", "dynamic".
- speed Number
- Maximum download speed per connection.
GetCdnResourcesItemOptionsNetworkErrorLogging
GetCdnResourcesItemOptionsProxyCacheKey
GetCdnResourcesItemOptionsProxyCacheMethodsSet
GetCdnResourcesItemOptionsProxyConnectTimeout
GetCdnResourcesItemOptionsProxyReadTimeout
GetCdnResourcesItemOptionsQueryParamsBlacklist
GetCdnResourcesItemOptionsQueryParamsWhitelist
GetCdnResourcesItemOptionsQueryStringForwarding
- Enabled bool
- Controls the option state.
- Forward
Except List<string>Keys - The
forward_except_keysfield provides a mechanism to exclude specific parameters from being forwarded from playlist files to media chunk files. By listing certain keys in this field, you can ensure that these parameters are omitted during the forwarding process. This is particularly useful for preventing sensitive or irrelevant information from being included in requests for media chunks, thereby enhancing security and optimizing performance. - Forward
From List<string>File Types - The
forward_from_files_typesfield specifies the types of playlist files from which parameters will be extracted and forwarded. This typically includes formats that list multiple media chunk references, such as HLS and DASH playlists. Parameters associated with these playlist files (like query strings or headers) will be propagated to the chunks they reference. - Forward
Only List<string>Keys - The
forward_only_keysfield allows for granular control over which specific parameters are forwarded from playlist files to media chunk files. By specifying certain keys, only those parameters will be propagated, ensuring that only relevant information is passed along. This is particularly useful for security and performance optimization, as it prevents unnecessary or sensitive data from being included in requests for media chunks. - Forward
To List<string>File Types - The field specifies the types of media chunk files to which parameters, extracted from playlist files, will be forwarded. These refer to the actual segments of media content that are delivered to viewers. Ensuring the correct parameters are forwarded to these files is crucial for maintaining the integrity of the streaming session.
- Enabled bool
- Controls the option state.
- Forward
Except []stringKeys - The
forward_except_keysfield provides a mechanism to exclude specific parameters from being forwarded from playlist files to media chunk files. By listing certain keys in this field, you can ensure that these parameters are omitted during the forwarding process. This is particularly useful for preventing sensitive or irrelevant information from being included in requests for media chunks, thereby enhancing security and optimizing performance. - Forward
From []stringFile Types - The
forward_from_files_typesfield specifies the types of playlist files from which parameters will be extracted and forwarded. This typically includes formats that list multiple media chunk references, such as HLS and DASH playlists. Parameters associated with these playlist files (like query strings or headers) will be propagated to the chunks they reference. - Forward
Only []stringKeys - The
forward_only_keysfield allows for granular control over which specific parameters are forwarded from playlist files to media chunk files. By specifying certain keys, only those parameters will be propagated, ensuring that only relevant information is passed along. This is particularly useful for security and performance optimization, as it prevents unnecessary or sensitive data from being included in requests for media chunks. - Forward
To []stringFile Types - The field specifies the types of media chunk files to which parameters, extracted from playlist files, will be forwarded. These refer to the actual segments of media content that are delivered to viewers. Ensuring the correct parameters are forwarded to these files is crucial for maintaining the integrity of the streaming session.
- enabled bool
- Controls the option state.
- forward_
except_ list(string)keys - The
forward_except_keysfield provides a mechanism to exclude specific parameters from being forwarded from playlist files to media chunk files. By listing certain keys in this field, you can ensure that these parameters are omitted during the forwarding process. This is particularly useful for preventing sensitive or irrelevant information from being included in requests for media chunks, thereby enhancing security and optimizing performance. - forward_
from_ list(string)file_ types - The
forward_from_files_typesfield specifies the types of playlist files from which parameters will be extracted and forwarded. This typically includes formats that list multiple media chunk references, such as HLS and DASH playlists. Parameters associated with these playlist files (like query strings or headers) will be propagated to the chunks they reference. - forward_
only_ list(string)keys - The
forward_only_keysfield allows for granular control over which specific parameters are forwarded from playlist files to media chunk files. By specifying certain keys, only those parameters will be propagated, ensuring that only relevant information is passed along. This is particularly useful for security and performance optimization, as it prevents unnecessary or sensitive data from being included in requests for media chunks. - forward_
to_ list(string)file_ types - The field specifies the types of media chunk files to which parameters, extracted from playlist files, will be forwarded. These refer to the actual segments of media content that are delivered to viewers. Ensuring the correct parameters are forwarded to these files is crucial for maintaining the integrity of the streaming session.
- enabled Boolean
- Controls the option state.
- forward
Except List<String>Keys - The
forward_except_keysfield provides a mechanism to exclude specific parameters from being forwarded from playlist files to media chunk files. By listing certain keys in this field, you can ensure that these parameters are omitted during the forwarding process. This is particularly useful for preventing sensitive or irrelevant information from being included in requests for media chunks, thereby enhancing security and optimizing performance. - forward
From List<String>File Types - The
forward_from_files_typesfield specifies the types of playlist files from which parameters will be extracted and forwarded. This typically includes formats that list multiple media chunk references, such as HLS and DASH playlists. Parameters associated with these playlist files (like query strings or headers) will be propagated to the chunks they reference. - forward
Only List<String>Keys - The
forward_only_keysfield allows for granular control over which specific parameters are forwarded from playlist files to media chunk files. By specifying certain keys, only those parameters will be propagated, ensuring that only relevant information is passed along. This is particularly useful for security and performance optimization, as it prevents unnecessary or sensitive data from being included in requests for media chunks. - forward
To List<String>File Types - The field specifies the types of media chunk files to which parameters, extracted from playlist files, will be forwarded. These refer to the actual segments of media content that are delivered to viewers. Ensuring the correct parameters are forwarded to these files is crucial for maintaining the integrity of the streaming session.
- enabled boolean
- Controls the option state.
- forward
Except string[]Keys - The
forward_except_keysfield provides a mechanism to exclude specific parameters from being forwarded from playlist files to media chunk files. By listing certain keys in this field, you can ensure that these parameters are omitted during the forwarding process. This is particularly useful for preventing sensitive or irrelevant information from being included in requests for media chunks, thereby enhancing security and optimizing performance. - forward
From string[]File Types - The
forward_from_files_typesfield specifies the types of playlist files from which parameters will be extracted and forwarded. This typically includes formats that list multiple media chunk references, such as HLS and DASH playlists. Parameters associated with these playlist files (like query strings or headers) will be propagated to the chunks they reference. - forward
Only string[]Keys - The
forward_only_keysfield allows for granular control over which specific parameters are forwarded from playlist files to media chunk files. By specifying certain keys, only those parameters will be propagated, ensuring that only relevant information is passed along. This is particularly useful for security and performance optimization, as it prevents unnecessary or sensitive data from being included in requests for media chunks. - forward
To string[]File Types - The field specifies the types of media chunk files to which parameters, extracted from playlist files, will be forwarded. These refer to the actual segments of media content that are delivered to viewers. Ensuring the correct parameters are forwarded to these files is crucial for maintaining the integrity of the streaming session.
- enabled bool
- Controls the option state.
- forward_
except_ Sequence[str]keys - The
forward_except_keysfield provides a mechanism to exclude specific parameters from being forwarded from playlist files to media chunk files. By listing certain keys in this field, you can ensure that these parameters are omitted during the forwarding process. This is particularly useful for preventing sensitive or irrelevant information from being included in requests for media chunks, thereby enhancing security and optimizing performance. - forward_
from_ Sequence[str]file_ types - The
forward_from_files_typesfield specifies the types of playlist files from which parameters will be extracted and forwarded. This typically includes formats that list multiple media chunk references, such as HLS and DASH playlists. Parameters associated with these playlist files (like query strings or headers) will be propagated to the chunks they reference. - forward_
only_ Sequence[str]keys - The
forward_only_keysfield allows for granular control over which specific parameters are forwarded from playlist files to media chunk files. By specifying certain keys, only those parameters will be propagated, ensuring that only relevant information is passed along. This is particularly useful for security and performance optimization, as it prevents unnecessary or sensitive data from being included in requests for media chunks. - forward_
to_ Sequence[str]file_ types - The field specifies the types of media chunk files to which parameters, extracted from playlist files, will be forwarded. These refer to the actual segments of media content that are delivered to viewers. Ensuring the correct parameters are forwarded to these files is crucial for maintaining the integrity of the streaming session.
- enabled Boolean
- Controls the option state.
- forward
Except List<String>Keys - The
forward_except_keysfield provides a mechanism to exclude specific parameters from being forwarded from playlist files to media chunk files. By listing certain keys in this field, you can ensure that these parameters are omitted during the forwarding process. This is particularly useful for preventing sensitive or irrelevant information from being included in requests for media chunks, thereby enhancing security and optimizing performance. - forward
From List<String>File Types - The
forward_from_files_typesfield specifies the types of playlist files from which parameters will be extracted and forwarded. This typically includes formats that list multiple media chunk references, such as HLS and DASH playlists. Parameters associated with these playlist files (like query strings or headers) will be propagated to the chunks they reference. - forward
Only List<String>Keys - The
forward_only_keysfield allows for granular control over which specific parameters are forwarded from playlist files to media chunk files. By specifying certain keys, only those parameters will be propagated, ensuring that only relevant information is passed along. This is particularly useful for security and performance optimization, as it prevents unnecessary or sensitive data from being included in requests for media chunks. - forward
To List<String>File Types - The field specifies the types of media chunk files to which parameters, extracted from playlist files, will be forwarded. These refer to the actual segments of media content that are delivered to viewers. Ensuring the correct parameters are forwarded to these files is crucial for maintaining the integrity of the streaming session.
GetCdnResourcesItemOptionsRedirectHttpToHttps
GetCdnResourcesItemOptionsRedirectHttpsToHttp
GetCdnResourcesItemOptionsReferrerAcl
- Enabled bool
- Controls the option state.
- Excepted
Values List<string> List of domain names or wildcard domains (without protocol:
http://orhttps://.)The meaning of the parameter depends on
policy_typevalue:- allow - List of domain names for which access is prohibited.
- deny - List of IP domain names for which access is allowed.
Examples:
example.com*.example.com
- Policy
Type string Policy type.
Possible values:
- allow - Allow access to all domain names except the domain names specified in
excepted_valuesfield. - deny - Deny access to all domain names except the domain names specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access to all domain names except the domain names specified in
- Enabled bool
- Controls the option state.
- Excepted
Values []string List of domain names or wildcard domains (without protocol:
http://orhttps://.)The meaning of the parameter depends on
policy_typevalue:- allow - List of domain names for which access is prohibited.
- deny - List of IP domain names for which access is allowed.
Examples:
example.com*.example.com
- Policy
Type string Policy type.
Possible values:
- allow - Allow access to all domain names except the domain names specified in
excepted_valuesfield. - deny - Deny access to all domain names except the domain names specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access to all domain names except the domain names specified in
- enabled bool
- Controls the option state.
- excepted_
values list(string) List of domain names or wildcard domains (without protocol:
http://orhttps://.)The meaning of the parameter depends on
policy_typevalue:- allow - List of domain names for which access is prohibited.
- deny - List of IP domain names for which access is allowed.
Examples:
example.com*.example.com
- policy_
type string Policy type.
Possible values:
- allow - Allow access to all domain names except the domain names specified in
excepted_valuesfield. - deny - Deny access to all domain names except the domain names specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access to all domain names except the domain names specified in
- enabled Boolean
- Controls the option state.
- excepted
Values List<String> List of domain names or wildcard domains (without protocol:
http://orhttps://.)The meaning of the parameter depends on
policy_typevalue:- allow - List of domain names for which access is prohibited.
- deny - List of IP domain names for which access is allowed.
Examples:
example.com*.example.com
- policy
Type String Policy type.
Possible values:
- allow - Allow access to all domain names except the domain names specified in
excepted_valuesfield. - deny - Deny access to all domain names except the domain names specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access to all domain names except the domain names specified in
- enabled boolean
- Controls the option state.
- excepted
Values string[] List of domain names or wildcard domains (without protocol:
http://orhttps://.)The meaning of the parameter depends on
policy_typevalue:- allow - List of domain names for which access is prohibited.
- deny - List of IP domain names for which access is allowed.
Examples:
example.com*.example.com
- policy
Type string Policy type.
Possible values:
- allow - Allow access to all domain names except the domain names specified in
excepted_valuesfield. - deny - Deny access to all domain names except the domain names specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access to all domain names except the domain names specified in
- enabled bool
- Controls the option state.
- excepted_
values Sequence[str] List of domain names or wildcard domains (without protocol:
http://orhttps://.)The meaning of the parameter depends on
policy_typevalue:- allow - List of domain names for which access is prohibited.
- deny - List of IP domain names for which access is allowed.
Examples:
example.com*.example.com
- policy_
type str Policy type.
Possible values:
- allow - Allow access to all domain names except the domain names specified in
excepted_valuesfield. - deny - Deny access to all domain names except the domain names specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access to all domain names except the domain names specified in
- enabled Boolean
- Controls the option state.
- excepted
Values List<String> List of domain names or wildcard domains (without protocol:
http://orhttps://.)The meaning of the parameter depends on
policy_typevalue:- allow - List of domain names for which access is prohibited.
- deny - List of IP domain names for which access is allowed.
Examples:
example.com*.example.com
- policy
Type String Policy type.
Possible values:
- allow - Allow access to all domain names except the domain names specified in
excepted_valuesfield. - deny - Deny access to all domain names except the domain names specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access to all domain names except the domain names specified in
GetCdnResourcesItemOptionsResponseHeadersHidingPolicy
- Enabled bool
- Controls the option state.
- Excepteds List<string>
List of HTTP headers.
Parameter meaning depends on the value of the
modefield:- show - List of HTTP headers to hide from response.
- hide - List of HTTP headers to include in response. Other HTTP headers will be hidden.
The following headers are required and cannot be hidden from response:
ConnectionContent-LengthContent-TypeDateServer
- Mode string
How HTTP headers are hidden from the response.
Possible values:
- show - Hide only HTTP headers listed in the
exceptedfield. - hide - Hide all HTTP headers except headers listed in the "excepted" field. Available values: "hide", "show".
- show - Hide only HTTP headers listed in the
- Enabled bool
- Controls the option state.
- Excepteds []string
List of HTTP headers.
Parameter meaning depends on the value of the
modefield:- show - List of HTTP headers to hide from response.
- hide - List of HTTP headers to include in response. Other HTTP headers will be hidden.
The following headers are required and cannot be hidden from response:
ConnectionContent-LengthContent-TypeDateServer
- Mode string
How HTTP headers are hidden from the response.
Possible values:
- show - Hide only HTTP headers listed in the
exceptedfield. - hide - Hide all HTTP headers except headers listed in the "excepted" field. Available values: "hide", "show".
- show - Hide only HTTP headers listed in the
- enabled bool
- Controls the option state.
- excepteds list(string)
List of HTTP headers.
Parameter meaning depends on the value of the
modefield:- show - List of HTTP headers to hide from response.
- hide - List of HTTP headers to include in response. Other HTTP headers will be hidden.
The following headers are required and cannot be hidden from response:
ConnectionContent-LengthContent-TypeDateServer
- mode string
How HTTP headers are hidden from the response.
Possible values:
- show - Hide only HTTP headers listed in the
exceptedfield. - hide - Hide all HTTP headers except headers listed in the "excepted" field. Available values: "hide", "show".
- show - Hide only HTTP headers listed in the
- enabled Boolean
- Controls the option state.
- excepteds List<String>
List of HTTP headers.
Parameter meaning depends on the value of the
modefield:- show - List of HTTP headers to hide from response.
- hide - List of HTTP headers to include in response. Other HTTP headers will be hidden.
The following headers are required and cannot be hidden from response:
ConnectionContent-LengthContent-TypeDateServer
- mode String
How HTTP headers are hidden from the response.
Possible values:
- show - Hide only HTTP headers listed in the
exceptedfield. - hide - Hide all HTTP headers except headers listed in the "excepted" field. Available values: "hide", "show".
- show - Hide only HTTP headers listed in the
- enabled boolean
- Controls the option state.
- excepteds string[]
List of HTTP headers.
Parameter meaning depends on the value of the
modefield:- show - List of HTTP headers to hide from response.
- hide - List of HTTP headers to include in response. Other HTTP headers will be hidden.
The following headers are required and cannot be hidden from response:
ConnectionContent-LengthContent-TypeDateServer
- mode string
How HTTP headers are hidden from the response.
Possible values:
- show - Hide only HTTP headers listed in the
exceptedfield. - hide - Hide all HTTP headers except headers listed in the "excepted" field. Available values: "hide", "show".
- show - Hide only HTTP headers listed in the
- enabled bool
- Controls the option state.
- excepteds Sequence[str]
List of HTTP headers.
Parameter meaning depends on the value of the
modefield:- show - List of HTTP headers to hide from response.
- hide - List of HTTP headers to include in response. Other HTTP headers will be hidden.
The following headers are required and cannot be hidden from response:
ConnectionContent-LengthContent-TypeDateServer
- mode str
How HTTP headers are hidden from the response.
Possible values:
- show - Hide only HTTP headers listed in the
exceptedfield. - hide - Hide all HTTP headers except headers listed in the "excepted" field. Available values: "hide", "show".
- show - Hide only HTTP headers listed in the
- enabled Boolean
- Controls the option state.
- excepteds List<String>
List of HTTP headers.
Parameter meaning depends on the value of the
modefield:- show - List of HTTP headers to hide from response.
- hide - List of HTTP headers to include in response. Other HTTP headers will be hidden.
The following headers are required and cannot be hidden from response:
ConnectionContent-LengthContent-TypeDateServer
- mode String
How HTTP headers are hidden from the response.
Possible values:
- show - Hide only HTTP headers listed in the
exceptedfield. - hide - Hide all HTTP headers except headers listed in the "excepted" field. Available values: "hide", "show".
- show - Hide only HTTP headers listed in the
GetCdnResourcesItemOptionsRewrite
- Body string
- Path for the Rewrite option.
- Enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- Flag string
Flag for the Rewrite option.
Possible values:
- last - Stop processing the current set of
ngx_http_rewrite_moduledirectives and start a search for a new location matching changed URI. - break - Stop processing the current set of the Rewrite option.
- redirect - Return a temporary redirect with the 302 code; used when a replacement string does not start with
http://,https://, or$scheme. - permanent - Return a permanent redirect with the 301 code. Available values: "break", "last", "redirect", "permanent".
- last - Stop processing the current set of
- Body string
- Path for the Rewrite option.
- Enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- Flag string
Flag for the Rewrite option.
Possible values:
- last - Stop processing the current set of
ngx_http_rewrite_moduledirectives and start a search for a new location matching changed URI. - break - Stop processing the current set of the Rewrite option.
- redirect - Return a temporary redirect with the 302 code; used when a replacement string does not start with
http://,https://, or$scheme. - permanent - Return a permanent redirect with the 301 code. Available values: "break", "last", "redirect", "permanent".
- last - Stop processing the current set of
- body string
- Path for the Rewrite option.
- enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- flag string
Flag for the Rewrite option.
Possible values:
- last - Stop processing the current set of
ngx_http_rewrite_moduledirectives and start a search for a new location matching changed URI. - break - Stop processing the current set of the Rewrite option.
- redirect - Return a temporary redirect with the 302 code; used when a replacement string does not start with
http://,https://, or$scheme. - permanent - Return a permanent redirect with the 301 code. Available values: "break", "last", "redirect", "permanent".
- last - Stop processing the current set of
- body String
- Path for the Rewrite option.
- enabled Boolean
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- flag String
Flag for the Rewrite option.
Possible values:
- last - Stop processing the current set of
ngx_http_rewrite_moduledirectives and start a search for a new location matching changed URI. - break - Stop processing the current set of the Rewrite option.
- redirect - Return a temporary redirect with the 302 code; used when a replacement string does not start with
http://,https://, or$scheme. - permanent - Return a permanent redirect with the 301 code. Available values: "break", "last", "redirect", "permanent".
- last - Stop processing the current set of
- body string
- Path for the Rewrite option.
- enabled boolean
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- flag string
Flag for the Rewrite option.
Possible values:
- last - Stop processing the current set of
ngx_http_rewrite_moduledirectives and start a search for a new location matching changed URI. - break - Stop processing the current set of the Rewrite option.
- redirect - Return a temporary redirect with the 302 code; used when a replacement string does not start with
http://,https://, or$scheme. - permanent - Return a permanent redirect with the 301 code. Available values: "break", "last", "redirect", "permanent".
- last - Stop processing the current set of
- body str
- Path for the Rewrite option.
- enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- flag str
Flag for the Rewrite option.
Possible values:
- last - Stop processing the current set of
ngx_http_rewrite_moduledirectives and start a search for a new location matching changed URI. - break - Stop processing the current set of the Rewrite option.
- redirect - Return a temporary redirect with the 302 code; used when a replacement string does not start with
http://,https://, or$scheme. - permanent - Return a permanent redirect with the 301 code. Available values: "break", "last", "redirect", "permanent".
- last - Stop processing the current set of
- body String
- Path for the Rewrite option.
- enabled Boolean
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- flag String
Flag for the Rewrite option.
Possible values:
- last - Stop processing the current set of
ngx_http_rewrite_moduledirectives and start a search for a new location matching changed URI. - break - Stop processing the current set of the Rewrite option.
- redirect - Return a temporary redirect with the 302 code; used when a replacement string does not start with
http://,https://, or$scheme. - permanent - Return a permanent redirect with the 301 code. Available values: "break", "last", "redirect", "permanent".
- last - Stop processing the current set of
GetCdnResourcesItemOptionsSecureKey
GetCdnResourcesItemOptionsSlice
GetCdnResourcesItemOptionsSni
- Custom
Hostname string - Custom SNI hostname.
- Enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- Sni
Type string SNI (Server Name Indication) type.
Possible values:
- dynamic - SNI hostname depends on
hostHeaderandforward_host_headeroptions. It has several possible combinations:- If the
hostHeaderoption is enabled and specified, SNI hostname matches the Host header. - If the
forward_host_headeroption is enabled and has true value, SNI hostname matches the Host header used in the request made to a CDN. - If the
hostHeaderandforward_host_headeroptions are disabled, SNI hostname matches the primary CNAME.
- If the
- custom - custom SNI hostname is in use. Available values: "dynamic", "custom".
- dynamic - SNI hostname depends on
- Custom
Hostname string - Custom SNI hostname.
- Enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- Sni
Type string SNI (Server Name Indication) type.
Possible values:
- dynamic - SNI hostname depends on
hostHeaderandforward_host_headeroptions. It has several possible combinations:- If the
hostHeaderoption is enabled and specified, SNI hostname matches the Host header. - If the
forward_host_headeroption is enabled and has true value, SNI hostname matches the Host header used in the request made to a CDN. - If the
hostHeaderandforward_host_headeroptions are disabled, SNI hostname matches the primary CNAME.
- If the
- custom - custom SNI hostname is in use. Available values: "dynamic", "custom".
- dynamic - SNI hostname depends on
- custom_
hostname string - Custom SNI hostname.
- enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- sni_
type string SNI (Server Name Indication) type.
Possible values:
- dynamic - SNI hostname depends on
hostHeaderandforward_host_headeroptions. It has several possible combinations:- If the
hostHeaderoption is enabled and specified, SNI hostname matches the Host header. - If the
forward_host_headeroption is enabled and has true value, SNI hostname matches the Host header used in the request made to a CDN. - If the
hostHeaderandforward_host_headeroptions are disabled, SNI hostname matches the primary CNAME.
- If the
- custom - custom SNI hostname is in use. Available values: "dynamic", "custom".
- dynamic - SNI hostname depends on
- custom
Hostname String - Custom SNI hostname.
- enabled Boolean
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- sni
Type String SNI (Server Name Indication) type.
Possible values:
- dynamic - SNI hostname depends on
hostHeaderandforward_host_headeroptions. It has several possible combinations:- If the
hostHeaderoption is enabled and specified, SNI hostname matches the Host header. - If the
forward_host_headeroption is enabled and has true value, SNI hostname matches the Host header used in the request made to a CDN. - If the
hostHeaderandforward_host_headeroptions are disabled, SNI hostname matches the primary CNAME.
- If the
- custom - custom SNI hostname is in use. Available values: "dynamic", "custom".
- dynamic - SNI hostname depends on
- custom
Hostname string - Custom SNI hostname.
- enabled boolean
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- sni
Type string SNI (Server Name Indication) type.
Possible values:
- dynamic - SNI hostname depends on
hostHeaderandforward_host_headeroptions. It has several possible combinations:- If the
hostHeaderoption is enabled and specified, SNI hostname matches the Host header. - If the
forward_host_headeroption is enabled and has true value, SNI hostname matches the Host header used in the request made to a CDN. - If the
hostHeaderandforward_host_headeroptions are disabled, SNI hostname matches the primary CNAME.
- If the
- custom - custom SNI hostname is in use. Available values: "dynamic", "custom".
- dynamic - SNI hostname depends on
- custom_
hostname str - Custom SNI hostname.
- enabled bool
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- sni_
type str SNI (Server Name Indication) type.
Possible values:
- dynamic - SNI hostname depends on
hostHeaderandforward_host_headeroptions. It has several possible combinations:- If the
hostHeaderoption is enabled and specified, SNI hostname matches the Host header. - If the
forward_host_headeroption is enabled and has true value, SNI hostname matches the Host header used in the request made to a CDN. - If the
hostHeaderandforward_host_headeroptions are disabled, SNI hostname matches the primary CNAME.
- If the
- custom - custom SNI hostname is in use. Available values: "dynamic", "custom".
- dynamic - SNI hostname depends on
- custom
Hostname String - Custom SNI hostname.
- enabled Boolean
Controls the option state.
Possible values:
- true - Option is enabled.
- false - Option is disabled.
- sni
Type String SNI (Server Name Indication) type.
Possible values:
- dynamic - SNI hostname depends on
hostHeaderandforward_host_headeroptions. It has several possible combinations:- If the
hostHeaderoption is enabled and specified, SNI hostname matches the Host header. - If the
forward_host_headeroption is enabled and has true value, SNI hostname matches the Host header used in the request made to a CDN. - If the
hostHeaderandforward_host_headeroptions are disabled, SNI hostname matches the primary CNAME.
- If the
- custom - custom SNI hostname is in use. Available values: "dynamic", "custom".
- dynamic - SNI hostname depends on
GetCdnResourcesItemOptionsStale
GetCdnResourcesItemOptionsStaticHeaders
- Enabled bool
- Controls the option state.
- Value string
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 128 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
- Enabled bool
- Controls the option state.
- Value string
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 128 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
- enabled bool
- Controls the option state.
- value string
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 128 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
- enabled Boolean
- Controls the option state.
- value String
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 128 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
- enabled boolean
- Controls the option state.
- value string
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 128 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
- enabled bool
- Controls the option state.
- value str
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 128 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
- enabled Boolean
- Controls the option state.
- value String
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 128 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
GetCdnResourcesItemOptionsStaticRequestHeaders
- Enabled bool
- Controls the option state.
- Value Dictionary<string, string>
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 255 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
- Enabled bool
- Controls the option state.
- Value map[string]string
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 255 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
- enabled bool
- Controls the option state.
- value map(string)
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 255 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
- enabled Boolean
- Controls the option state.
- value Map<String,String>
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 255 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
- enabled boolean
- Controls the option state.
- value {[key: string]: string}
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 255 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
- enabled bool
- Controls the option state.
- value Mapping[str, str]
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 255 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
- enabled Boolean
- Controls the option state.
- value Map<String>
A MAP for static headers in a format of
header_name: header_value.Restrictions:
- Header name - Maximum 255 symbols, may contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores.
- Header value - Maximum 512 symbols, may contain letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]). Must start with a letter, number, asterisk or {.
GetCdnResourcesItemOptionsStaticResponseHeaders
- Enabled bool
- Controls the option state.
- Values
List<Get
Cdn Resources Item Options Static Response Headers Value>
- Enabled bool
- Controls the option state.
- Values
[]Get
Cdn Resources Item Options Static Response Headers Value
- enabled bool
- Controls the option state.
- values list(object)
- enabled Boolean
- Controls the option state.
- values
List<Get
Cdn Resources Item Options Static Response Headers Value>
- enabled boolean
- Controls the option state.
- values
Get
Cdn Resources Item Options Static Response Headers Value[]
- enabled bool
- Controls the option state.
- values
Sequence[Get
Cdn Resources Item Options Static Response Headers Value]
- enabled Boolean
- Controls the option state.
- values List<Property Map>
GetCdnResourcesItemOptionsStaticResponseHeadersValue
- Always bool
- Defines whether the header will be added to a response from CDN regardless of response code.
- Name string
HTTP Header name.
Restrictions:
- Maximum 128 symbols.
- Latin letters (A-Z, a-z,) numbers (0-9,) dashes, and underscores only.
- Values List<string>
Header value.
Restrictions:
- Maximum 512 symbols.
- Letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]).
- Must start with a letter, number, asterisk or {.
- Multiple values can be added.
- Always bool
- Defines whether the header will be added to a response from CDN regardless of response code.
- Name string
HTTP Header name.
Restrictions:
- Maximum 128 symbols.
- Latin letters (A-Z, a-z,) numbers (0-9,) dashes, and underscores only.
- Values []string
Header value.
Restrictions:
- Maximum 512 symbols.
- Letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]).
- Must start with a letter, number, asterisk or {.
- Multiple values can be added.
- always bool
- Defines whether the header will be added to a response from CDN regardless of response code.
- name string
HTTP Header name.
Restrictions:
- Maximum 128 symbols.
- Latin letters (A-Z, a-z,) numbers (0-9,) dashes, and underscores only.
- values list(string)
Header value.
Restrictions:
- Maximum 512 symbols.
- Letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]).
- Must start with a letter, number, asterisk or {.
- Multiple values can be added.
- always Boolean
- Defines whether the header will be added to a response from CDN regardless of response code.
- name String
HTTP Header name.
Restrictions:
- Maximum 128 symbols.
- Latin letters (A-Z, a-z,) numbers (0-9,) dashes, and underscores only.
- values List<String>
Header value.
Restrictions:
- Maximum 512 symbols.
- Letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]).
- Must start with a letter, number, asterisk or {.
- Multiple values can be added.
- always boolean
- Defines whether the header will be added to a response from CDN regardless of response code.
- name string
HTTP Header name.
Restrictions:
- Maximum 128 symbols.
- Latin letters (A-Z, a-z,) numbers (0-9,) dashes, and underscores only.
- values string[]
Header value.
Restrictions:
- Maximum 512 symbols.
- Letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]).
- Must start with a letter, number, asterisk or {.
- Multiple values can be added.
- always bool
- Defines whether the header will be added to a response from CDN regardless of response code.
- name str
HTTP Header name.
Restrictions:
- Maximum 128 symbols.
- Latin letters (A-Z, a-z,) numbers (0-9,) dashes, and underscores only.
- values Sequence[str]
Header value.
Restrictions:
- Maximum 512 symbols.
- Letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]).
- Must start with a letter, number, asterisk or {.
- Multiple values can be added.
- always Boolean
- Defines whether the header will be added to a response from CDN regardless of response code.
- name String
HTTP Header name.
Restrictions:
- Maximum 128 symbols.
- Latin letters (A-Z, a-z,) numbers (0-9,) dashes, and underscores only.
- values List<String>
Header value.
Restrictions:
- Maximum 512 symbols.
- Letters (a-z), numbers (0-9), spaces, and symbols (`~!@#%%^&*()-_=+ /|";:?.,><{}[]).
- Must start with a letter, number, asterisk or {.
- Multiple values can be added.
GetCdnResourcesItemOptionsTlsVersions
GetCdnResourcesItemOptionsUseDefaultLeChain
GetCdnResourcesItemOptionsUseDns01LeChallenge
GetCdnResourcesItemOptionsUseRsaLeCert
GetCdnResourcesItemOptionsUserAgentAcl
- Enabled bool
- Controls the option state.
- Excepted
Values List<string> List of User-Agents that will be allowed/denied.
The meaning of the parameter depends on
policy_type:- allow - List of User-Agents for which access is prohibited.
- deny - List of User-Agents for which access is allowed.
You can provide exact User-Agent strings or regular expressions. Regular expressions must start with
~(case-sensitive) or~*(case-insensitive).Use an empty string
""to allow/deny access when the User-Agent header is empty.- Policy
Type string User-Agents policy type.
Possible values:
- allow - Allow access for all User-Agents except specified in
excepted_valuesfield. - deny - Deny access for all User-Agents except specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access for all User-Agents except specified in
- Enabled bool
- Controls the option state.
- Excepted
Values []string List of User-Agents that will be allowed/denied.
The meaning of the parameter depends on
policy_type:- allow - List of User-Agents for which access is prohibited.
- deny - List of User-Agents for which access is allowed.
You can provide exact User-Agent strings or regular expressions. Regular expressions must start with
~(case-sensitive) or~*(case-insensitive).Use an empty string
""to allow/deny access when the User-Agent header is empty.- Policy
Type string User-Agents policy type.
Possible values:
- allow - Allow access for all User-Agents except specified in
excepted_valuesfield. - deny - Deny access for all User-Agents except specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access for all User-Agents except specified in
- enabled bool
- Controls the option state.
- excepted_
values list(string) List of User-Agents that will be allowed/denied.
The meaning of the parameter depends on
policy_type:- allow - List of User-Agents for which access is prohibited.
- deny - List of User-Agents for which access is allowed.
You can provide exact User-Agent strings or regular expressions. Regular expressions must start with
~(case-sensitive) or~*(case-insensitive).Use an empty string
""to allow/deny access when the User-Agent header is empty.- policy_
type string User-Agents policy type.
Possible values:
- allow - Allow access for all User-Agents except specified in
excepted_valuesfield. - deny - Deny access for all User-Agents except specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access for all User-Agents except specified in
- enabled Boolean
- Controls the option state.
- excepted
Values List<String> List of User-Agents that will be allowed/denied.
The meaning of the parameter depends on
policy_type:- allow - List of User-Agents for which access is prohibited.
- deny - List of User-Agents for which access is allowed.
You can provide exact User-Agent strings or regular expressions. Regular expressions must start with
~(case-sensitive) or~*(case-insensitive).Use an empty string
""to allow/deny access when the User-Agent header is empty.- policy
Type String User-Agents policy type.
Possible values:
- allow - Allow access for all User-Agents except specified in
excepted_valuesfield. - deny - Deny access for all User-Agents except specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access for all User-Agents except specified in
- enabled boolean
- Controls the option state.
- excepted
Values string[] List of User-Agents that will be allowed/denied.
The meaning of the parameter depends on
policy_type:- allow - List of User-Agents for which access is prohibited.
- deny - List of User-Agents for which access is allowed.
You can provide exact User-Agent strings or regular expressions. Regular expressions must start with
~(case-sensitive) or~*(case-insensitive).Use an empty string
""to allow/deny access when the User-Agent header is empty.- policy
Type string User-Agents policy type.
Possible values:
- allow - Allow access for all User-Agents except specified in
excepted_valuesfield. - deny - Deny access for all User-Agents except specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access for all User-Agents except specified in
- enabled bool
- Controls the option state.
- excepted_
values Sequence[str] List of User-Agents that will be allowed/denied.
The meaning of the parameter depends on
policy_type:- allow - List of User-Agents for which access is prohibited.
- deny - List of User-Agents for which access is allowed.
You can provide exact User-Agent strings or regular expressions. Regular expressions must start with
~(case-sensitive) or~*(case-insensitive).Use an empty string
""to allow/deny access when the User-Agent header is empty.- policy_
type str User-Agents policy type.
Possible values:
- allow - Allow access for all User-Agents except specified in
excepted_valuesfield. - deny - Deny access for all User-Agents except specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access for all User-Agents except specified in
- enabled Boolean
- Controls the option state.
- excepted
Values List<String> List of User-Agents that will be allowed/denied.
The meaning of the parameter depends on
policy_type:- allow - List of User-Agents for which access is prohibited.
- deny - List of User-Agents for which access is allowed.
You can provide exact User-Agent strings or regular expressions. Regular expressions must start with
~(case-sensitive) or~*(case-insensitive).Use an empty string
""to allow/deny access when the User-Agent header is empty.- policy
Type String User-Agents policy type.
Possible values:
- allow - Allow access for all User-Agents except specified in
excepted_valuesfield. - deny - Deny access for all User-Agents except specified in
excepted_valuesfield. Available values: "allow", "deny".
- allow - Allow access for all User-Agents except specified in
GetCdnResourcesItemOptionsWaap
GetCdnResourcesItemOptionsWebsockets
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
published on Thursday, Aug 6, 2026 by g-core