waf__ApplyCertificateToHost
Associate an HTTPS certificate with cloud-mode or dedicated-mode WAF domains by specifying certificate, project, and host IDs.
Instructions
[WAF] 绑定证书到域名
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": {
"certificate_id": "<certificate_id>",
"project_id": "<project_id>"
},
"name": "waf__ApplyCertificateToHost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| certificate_id | Yes | https证书id,您可以通过调用查询证书列表(ListCertificates)接口获取证书id | |
| cloud_host_ids | No | 云模式HTTPS域名id,通过查询云模式防护域名列表(ListHost)接口获取 | |
| premium_host_ids | No | 独享模式HTTPS域名id,通过独享模式域名列表(ListPremiumHost)接口获取 | |
| enterprise_project_id | No | 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id |