aad__CreateDomain
Create a domain protected by Anti-DDoS by specifying the domain name, origin server, and HTTP/HTTPS ports.
Instructions
[AAD] 创建防护域名
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain_name": "<domain_name>",
"enterprise_project_id": "<enterprise_project_id>",
"ips": "<ips>",
"overseas_type": "<overseas_type>",
"port_http": "<port_http>",
"real_server": "<real_server>",
"real_server_type": "<real_server_type>"
},
"name": "aad__CreateDomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ips | Yes | 高防实例ip列表。多个高防实例ip必须属于同一企业项目。 | |
| cert_name | No | 证书名称(必须是已经存在的证书) | |
| port_http | Yes | HTTP端口,与port_https不能同时为空。DDoS高防支持的HTTP端口可在控制台查看。 | |
| port_https | No | HTTPS端口,与port_http不能同时为空。DDoS高防支持的HTTPS端口可在控制台查看。 | |
| waf_switch | No | 开启0,关闭1 | |
| domain_name | Yes | 域名 | |
| real_server | Yes | 源站(源站ip/源站域名) | |
| overseas_type | Yes | 防护区域,0-大陆,1-海外 | |
| real_server_type | Yes | 源站类型。 0 - 源站IP, 1 - 源站域名。 | |
| enterprise_project_id | Yes | 企业项目id,与接入的高防实例所属企业项目保持一致。可在华为云EPS服务中查看企业项目id,default企业项目id为"0"。 |