setup_cdn_for_website
Configure a CDN zone with optimized performance and security settings for website content delivery, including bot protection and compression options.
Instructions
Set up a CDN zone with optimal settings for a website.
Args: origin_domain: Origin domain for the website enable_security: Enable bot blocking and security features enable_compression: Enable gzip compression regions: List of regions to enable (if not specified, uses global)
Returns: Created CDN zone with setup details and next steps
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| enable_compression | No | ||
| enable_security | No | ||
| origin_domain | Yes | ||
| regions | No | 
Input Schema (JSON Schema)
{
  "properties": {
    "enable_compression": {
      "default": true,
      "title": "Enable Compression",
      "type": "boolean"
    },
    "enable_security": {
      "default": true,
      "title": "Enable Security",
      "type": "boolean"
    },
    "origin_domain": {
      "title": "Origin Domain",
      "type": "string"
    },
    "regions": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Regions"
    }
  },
  "required": [
    "origin_domain"
  ],
  "type": "object"
}