CdnServiceUpdateRequest

CdnServiceUpdateRequest

NameDescriptionSchemaDefault
cache_expiry_time
required
The cache expiry time in seconds for content stored at edge locations.
Example : 86400
Minimum : 3600
Maximum : 2592000
integer
cache_key_hostname
required
The hostname used as part of the cache key (e.g., ORIGIN_HOSTNAME, INCOMING_HOST_HEADER).
Example : REQUEST_HOST_HEADER
enum (REQUEST_HOST_HEADER, ORIGIN_HOSTNAME)
caching_option
required
The caching option for the CDN content (e.g., CACHE, NO_CACHE, BYPASS_CACHE).
Example : CACHE
string
cdn_origin_hostname
required
The hostname of the origin server from which the CDN retrieves content.
Example : test.example.com
Pattern : ^(([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
The port used to connect to the origin server.
Example : 443
Minimum : 1
Maximum : 65535
integer
cdn_origin_protocol
required
The protocol used to connect to the origin server (e.g., HTTP, HTTPS).
Example : HTTPS
string
cdn_service_origin_path
optional
The path on the origin server from which the CDN retrieves content.
Example : /test/global/
Pattern : ^/$|^(/[a-zA-Z0-9-._]+)+/$
any of [string, null]
content_policy
required
The content delivery policy for the CDN service (e.g., ONLY_VALIDATED_CONTENTS, ALL_CONTENTS).
Example : ONLY_VALIDATED_CONTENTS
string
custom_forward_host_header
optional
The custom host header forwarded to the origin when forward host header is set to CUSTOM.
Example :
any of [string, null]
forward_host_header
required
The host header forwarded to the origin server (e.g., ORIGIN_HOSTNAME, INCOMING_HOST_HEADER, CUSTOM).
Example : REQUEST_HOST_HEADER
enum (REQUEST_HOST_HEADER, ORIGIN_HOSTNAME, CUSTOM)
origin_hostname_type
required
The type of the origin hostname (e.g., DOMAIN, IP).
Example : DOMAIN
enum (DOMAIN, IP)
query_string_ignored
required
Indicates whether the query string is ignored when caching content.
Example : True
boolean
range_request_allowed
required
Indicates whether range requests are allowed for content delivery.
Example : True
boolean
request_custom_headers
optional
The custom headers added to requests forwarded to the origin server.
Example :
any of [object, null]
response_custom_headers
optional
The custom headers added to responses returned to the client.
Example :
any of [object, null]