更新基础型加速器终端节点组的名称及组内终端节点配置,用于调整后端目的地。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | UpdateBasicEndpointGroup | 要执行的操作,取值: UpdateBasicEndpointGroup。 |
Version | String | 是 | 2022-03-01 | API 的版本,取值: 2022-03-01。 |
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
AcceleratorId | String | 是 | accinstance-basic-UKBfMXboZLwxFGNkiR**** | 指定目标终端节点组所属的加速器 ID。可通过调用 ListBasicAccelerators 接口获取账号下的加速器 ID。 |
EndpointGroupId | String | 是 | endpointgroup-basic-e8QPGGCbk2fr32Dd3y**** | 指定待更新的终端节点组 ID。可通过调用 ListBasicEndpointGroups 接口获取指定加速器下的终端节点组 ID。 |
Name | String | 是 | GA-endgroup | 设置终端节点组的名称。 |
Endpoints | Object[] | 是 | 指定终端节点组内的终端节点信息,每个元素为一个终端节点配置。 |
本接口无专有返回参数。返回参数结构信息,请参见返回结构。
POST https://ga.volcengine-api.com?Action=UpdateBasicEndpointGroup&Version=2022-03-01 { "AcceleratorId": "accinstance-basic-UKBfMXboZLwxFGNkiR****", "EndpointGroupId": "endpointgroup-basic-e8QPGGCbk2fr32Dd3y****", "Name": "GA-endgroup", "Endpoints": [ { "Type": "IP", "EndpointAddress": "198.51.100.1" } ] }
{ "ResponseMetadata": { "RequestId": "202306041104201234100232280022D31", "Action": "UpdateBasicEndpointGroup", "Version": "2022-03-01", "Service": "ga", "Region": "cn-beijing" }, "Result": {} }
本接口无专用错误码。公共错误码请参见公共错误码。