apig__AssociateDomain
Binds a custom domain to a Huawei Cloud API group so requests can reach that group; add a CNAME record from the domain to the group's subdomain to activate it.
Instructions
[APIG] 用户自定义的域名,需要CNAME到API分组的子域名上才能生效,具体方法请参见增加CNAME类型记录集。
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": {
"group_id": "<group_id>",
"url_domain": "<url_domain>"
},
"name": "apig__AssociateDomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | API分组编号 | |
| url_domain | Yes | 自定义域名。长度为0-255位的字符串,需要符合域名规范。 |