最近更新时间:2023.08.24 19:21:41
首次发布时间:2023.08.21 14:31:38
API 名称:SwitchPoolSets
。
API 域名:open.volcengineapi.com
。
API 描述:批量切换地址池集合。
POST
除了以下参数,您还需要 对请求进行鉴权。
参数名称 | 数据类型 | 参数类型 | 是否必选 | 参数说明 |
---|---|---|---|---|
Action | String | 查询参数 | 是 | API 的名称。该参数的取值为 SwitchPoolSets 。 |
Version | String | 查询参数 | 是 | API 的版本。该参数的取值是 2023-01-01 。 |
SwitchRules | Array of Objects | 请求正文参数 | 是 | 切换规则。 |
参数名称 | 数据类型 | 参数说明 |
---|---|---|
RequestId | String | 标识本次请求的 ID。 |
Action | String | Action 查询参数的值。 |
Version | String | API 版本。 |
Service | String | 服务类型。 |
Region | String | 服务所在区域。 |
POST https://open.volcengineapi.com?Action=SwitchPoolSets&Version=2023-01-01 { "SwitchRules":[ { "Domain": "test22.com", "TargetPoolSetMode":"auto" } ] }
{ "ResponseMetadata": { "RequestId": "2022111713414601017424613601224A27", "Action": "SwitchPoolSets", "Version": "2023-01-01", "Service": "gtm", "Region": "cn-north-1" } }