UpdateEndpointGroups_全球加速_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

使用说明

  • UpdateEndpointGroups 接口属于异步接口,即系统会先返回一个请求 ID,但终端节点组配置信息并未修改完成,系统后台的修改任务仍在进行。您可以调用 DescribeEndpointGroupListEndpointGroups 查询终端节点组的状态:
    • 当终端节点组处于 updating 状态时,表示终端节点组配置信息正在修改中,在该状态下,您只能执行查询操作,不能执行其他操作。
    • 当终端节点组处于 active 状态时,表示终端节点组配置信息修改完成。
  • UpdateEndpointGroups 接口不支持在同一个全球加速实例内并发修改终端节点组配置信息。

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
ga:UpdateEndpointGroups
Update
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointgroupId}

请求参数

字段名称字段详情
RegionIdstring

全球加速实例所在的地域 ID,仅取值:cn-hangzhou

示例值:cn-hangzhou
ClientTokenstring

客户端 Token,用于保证请求的幂等性。展开详情

示例值:123e4567-e89b-12d3-a456-426655440000
DryRunboolean

是否只预检此次请求,取值:展开详情

示例值:true
EndpointGroupConfigurationsarray<object>

终端节点组配置信息。

ListenerIdstring

监听实例 ID。

示例值:lsr-bp1bpn0kn908w4nbw****参考取值来源:
    ListListeners
    CreateListener
    AssociateAclsWithListener
    DissociateAclsFromListener

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:6FEA0CF3-D3B9-43E5-A304-D217037876A8
EndpointGroupIdsarray<string>

终端节点组 ID 列表。

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
NoPermission.EnableHealthCheck
You do not have permission to enable health check.诊断
400
NotExist.EndPointGroup
The endpoint group does not exist.诊断
400
StateError.EndPointGroup
The specified state of endpoint group is invalid.诊断
400
NotExist.Listener
The listener does not exist.诊断
400
NotActive.Listener
The state of the listener is not active.诊断
400
NotExist.Accelerator
The accelerated instance does not exist.诊断
400
StateError.Accelerator
The state of the accelerated instance is invalid.诊断
400
QuotaExceeded.EndPoint
The maximum number of endpoints is exceeded.诊断
400
NoPermission.VpcEndpoint
You are not authorized to perform the operation.诊断
400
EndPointRequestProtocolIllegal.EndpointGroup
endpoint group request protoco is illegal诊断
400
QuotaExceeded.PortOverride
The number of port override exceeds the limit.诊断
400
NotExist.ListenerPort
listener port %s is not exist诊断

变更历史

变更时间变更内容概要操作
2024-12-23
变更请求参数EndpointGroupConfigurations
2024-07-19
变更请求参数EndpointGroupConfigurations
2023-11-22
变更请求参数EndpointGroupConfigurations
2023-09-14
变更请求参数EndpointGroupConfigurations

相关示例

创建删除更新终端节点组
2022-12-26