GuideReference
TrainingSupportCommunity

request_​control


The Request Control Cloudlet allows you to control access to your web content based on the incoming request's IP or geographic location. With Cloudlets available on your contract, choose Your services > Edge logic Cloudlets to control how the feature works within Control Center, or use the Cloudlets API to configure it programmatically.

OptionTypeDescriptionRequires
enabledboolean

Enables the Request Control Cloudlet.

{"displayType":"boolean","tag":"input","type":"checkbox"}
is_​shared_​policyboolean

Whether you want to apply the Cloudlet shared policy to an unlimited number of properties within your account. Learn more about shared policies and how to create them in Cloudlets Policy Manager.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
cloudlet_​policyobject

Identifies the Cloudlet policy.

is_​shared_​policy is false
{"displayType":"object","tag":"input","todo":true}
{"if":{"attribute":"isSharedPolicy","op":"eq","value":false}}
cloudlet_​policy.idnumber

Identifies the Cloudlet.

cloudlet_​policy.namestring

The Cloudlet's descriptive name.

cloudlet_​shared_​policystring

Identifies the Cloudlet shared policy to use with this behavior. Use the Cloudlets API to list available shared policies.

is_​shared_​policy is true
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"isSharedPolicy","op":"eq","value":true}}
enable_​branded403boolean

If enabled, serves a branded 403 page for this Cloudlet instance.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
branded403status_​codeenum

Specifies the response status code for the branded deny action.

enable_​branded403 is true
{"displayType":"enum","options":["200","302","403","503"],"tag":"select"}
{"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true}]}}
Supported values:
200
302
403
503
net_​storageobject

Specifies the Net​Storage domain that contains the branded 403 page.

enable_​branded403 is true
AND branded403status_​code is not 302
{"displayType":"object","tag":"input","todo":true}
{"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true},{"attribute":"branded403StatusCode","op":"neq","value":302}]}}
net_​storage.cp​Code​Listarray

A set of CP codes that apply to this storage group.

net_​storage.download​Domain​Namestring

Domain name from which content can be downloaded.

net_​storage.idnumber

Unique identifier for the storage group.

net_​storage.namestring

Name of the storage group.

net_​storage.upload​Domain​Namestring

Domain name used to upload content.

branded403Filestring

Specifies the full path of the branded 403 page, including the filename, but excluding the Net​Storage CP code path component.

enable_​branded403 is true
AND branded403status_​code is not 302
{"displayType":"string","tag":"input","type":"text"}
{"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true},{"attribute":"branded403StatusCode","op":"neq","value":302}]}}
branded403Urlstring

Specifies the redirect URL for the branded deny action.

enable_​branded403 is true
AND branded403status_​code is 302
{"displayType":"string","tag":"input","type":"text"}
{"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true},{"attribute":"branded403StatusCode","op":"eq","value":302}]}}
branded_​deny_​cache_​ttlnumber (5-30)

Specifies the branded response page's time to live in the cache, 5 minutes by default.

enable_​branded403 is true
AND branded403status_​code is not 302
{"displayType":"number","max":[30],"min":[5],"tag":"input","type":"range"}
{"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true},{"attribute":"branded403StatusCode","op":"neq","value":302}]}}