1.0
1.0
scpcli cdn cdn service create
--range_request_allowed <value>
--query_string_ignored <value>
--origin_hostname_type <value>
--name <value>
--forward_host_header <value>
--content_policy <value>
--cdn_service_domain_prefix <value>
--cdn_origin_protocol <value>
--cdn_origin_port <value>
--cdn_origin_hostname <value>
--caching_option <value>
--cache_key_hostname <value>
--cache_expiry_time <value>
[--cdn_service_origin_path <value>]
[--custom_forward_host_header <value>]
[--description <value>]
[--request_custom_headers <value>]
[--response_custom_headers <value>]
[--tags <value>]
Description
create cdn service
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| range_request_allowed required | boolean | range request allowed | - |
| query_string_ignored required | boolean | query string ignored | - |
| origin_hostname_type required | string | origin hostname type | - |
| name required | string | cdn service name | test1 |
| forward_host_header required | string | forward host header | - |
| content_policy required | string | content policy | - |
| cdn_service_domain_prefix required | string | cdn service domain prefix | global1 |
| cdn_origin_protocol required | string | cdn service origin protocol | - |
| cdn_origin_port required | integer | cdn service origin port | - |
| cdn_origin_hostname required | string | cdn service origin host name | test.example.com |
| caching_option required | string | caching option | - |
| cache_key_hostname required | string | cache key hostname | - |
| cache_expiry_time required | integer | cache expiry time | - |
| cdn_service_origin_path optional | string | cdn service origin path | /test/global/ |
| custom_forward_host_header optional | string | custom forward host header | - |
| description optional | string | Description | - |
| request_custom_headers optional | object | request custom headers | - |
| response_custom_headers optional | object | response custom header | - |
| tags optional | array | Tag List | '{"key": "", "value": ""}' |
Responses
| Name | Description | Example |
|---|---|---|
| account_id | Account ID | |
| resource_id | resource id | |
| workflow_id | workflow id |