create_cdn_zone
Set up a new CDN zone to accelerate content delivery, configure security policies, and optimize performance across specified regions.
Instructions
Create a new CDN zone.
Args: origin_domain: Origin domain for the CDN origin_scheme: Origin scheme (http or https) cors_policy: CORS policy configuration gzip_compression: Enable gzip compression block_ai_bots: Block AI/crawler bots block_bad_bots: Block known bad bots block_ip_addresses: List of IP addresses to block regions: List of regions to enable CDN in
Returns: Created CDN zone details
Input Schema
Name | Required | Description | Default |
---|---|---|---|
block_ai_bots | No | ||
block_bad_bots | No | ||
block_ip_addresses | No | ||
cors_policy | No | ||
gzip_compression | No | ||
origin_domain | Yes | ||
origin_scheme | No | https | |
regions | No |
Input Schema (JSON Schema)
{
"properties": {
"block_ai_bots": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Block Ai Bots"
},
"block_bad_bots": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Block Bad Bots"
},
"block_ip_addresses": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Block Ip Addresses"
},
"cors_policy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cors Policy"
},
"gzip_compression": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Gzip Compression"
},
"origin_domain": {
"title": "Origin Domain",
"type": "string"
},
"origin_scheme": {
"default": "https",
"title": "Origin Scheme",
"type": "string"
},
"regions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Regions"
}
},
"required": [
"origin_domain"
],
"type": "object"
}