CdnServiceCreateRequest
CdnServiceCreateRequest
| Name | Description | Schema | Default |
|---|---|---|---|
| cache_expiry_time required | cache expiry time Example : Minimum : 3600Maximum : 2592000 | integer | |
| cache_key_hostname required | cache key hostname Example : REQUEST_HOST_HEADER | enum (REQUEST_HOST_HEADER, ORIGIN_HOSTNAME) | |
| caching_option required | caching option Example : | string | |
| cdn_origin_hostname required | cdn service origin host name Example : test.example.comPattern : ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$|^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$Maximum length : 253 | string | |
| cdn_origin_port required | cdn service origin port Example : Minimum : 1Maximum : 65535 | integer | |
| cdn_origin_protocol required | cdn service origin protocol Example : | string | |
| cdn_service_domain_prefix required | cdn service domain prefix Example : global1Pattern : ^[a-z0-9]*$Minimum length : 4Maximum length : 40 | string | |
| cdn_service_origin_path optional | cdn service origin path Example : /test/global/Pattern : ^/$|^(/[a-zA-Z0-9-._]+)+/$ | any of [string, null] | |
| content_policy required | content policy Example : | string | |
| custom_forward_host_header optional | custom forward host header Example : | any of [string, null] | |
| description optional | Description Example : | any of [string, null] | |
| forward_host_header required | forward host header Example : REQUEST_HOST_HEADER | enum (REQUEST_HOST_HEADER, ORIGIN_HOSTNAME, CUSTOM) | |
| name required | cdn service name Example : test1Pattern : ^[a-zA-Z0-9]*$Minimum length : 3Maximum length : 20 | string | |
| origin_hostname_type required | origin hostname type Example : DOMAIN | enum (DOMAIN, IP) | |
| query_string_ignored required | query string ignored Example : | boolean | |
| range_request_allowed required | range request allowed Example : | boolean | |
| request_custom_headers optional | request custom headers Example : | object | |
| response_custom_headers optional | response custom header Example : | object | |
| tags optional | Tag List | array[Tag] |