apig__AssociateDomainV2
Binds a user-defined domain to an API gateway group on a specified instance so APIs can be accessed through that custom domain after adding the required DNS A record.
Instructions
[APIG] 用户自定义的域名,需要增加A记录才能生效,具体方法请参见《云解析服务用户指南》的“添加A类型记录集”章节。
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>",
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "apig__AssociateDomainV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | 分组的编号 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。 | |
| instance_id | Yes | 实例ID,在API网关控制台的“实例信息”中获取。 |