create_domain
Create a CDN accelerated domain by specifying domain name, acceleration type, source configuration, and SSL settings.
Instructions
创建 CDN 加速域名
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | 备注 | |
| type | Yes | 加速类型 | |
| domain | Yes | 要创建的域名 | |
| is_ssl | Yes | 是否开启 SSL:0=否,1=是 | |
| cert_id | No | 证书 ID(开启 SSL 时必填) | |
| share_did | No | 共享缓存域名 ID | |
| cache_type | No | 缓存策略,默认 1 | |
| source_conf | Yes | 源站配置 JSON 数组,如 [{"source":"1.2.3.4","type":"1"}] | |
| source_type | Yes | 源站类型:1=IP,2=域名 |