UpdateOriginPool_边缘安全加速_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.

流控信息

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

授权信息

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

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
esa:UpdateOriginPool
Update
Site
acs:esa:{#regionId}:{#accountId}:site/{#SiteId}

请求参数

字段名称字段详情
Idinteger<int64>

源地址池 ID,可通过调用 ListOriginPools 接口获取。

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:1038520525196928
Enabledboolean

源地址池是否启用:展开详情

示例值:true
Originsarray<object>

源地址池里添加的源站信息,多个源站使用数组传值。

SiteIdinteger<int64>

站点 ID,可通过调用 ListSites 接口获取。

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:216558609793952参考取值来源:
    ListSites
    CreateSite

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:15C66C7B-671A-4297-9187-2C4477247A74
Idinteger<int64>

源地址池 ID。

注意 请注意,该值为 Long 类型,在某些语言中可能存在精度丢失的风险,请小心使用。
示例值:1038520525196928

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidParameter
The specified parameter is invalid.诊断
400
SourceNumberExceedLimit
The number of sources in the origin pool exceeds the quota limit.诊断
400
InternalException
Failed to call the service. Try again later or contact technical support.诊断
400
OriginPoolNotExist
The specified origin pool does not exist or does not belong to your account or website. Check and try again.诊断
400
Instance.NotOnline
Your plan is unavailable due to an overdue payment. Complete the payment first.诊断
400
OriginPoolNameConflict
The specified origin pool name already exists or its hostname conflicts with a load balancer name. Try again with a unique name.诊断
400
SourceAddressInvalid
Invalid origin address. Check whether the IP address or domain name is in the valid format.诊断
400
LockFailed
The system is handling requests you previously submitted. Try again later.诊断
400
InvalidParameter.AddressConflict
Duplicate origin addresses. Make sure that each origin address for the same pool is unique.诊断
400
SourceCircleExist
The host record of the resource to be operated on is already the source station of another resource, or the source station of the current resource has been added as a host record. To avoid loopback, modify the host record or source station and retry.诊断
404
SiteNotFound
The website does not exist or does not belong to you.诊断

变更历史

变更时间变更内容概要操作
2024-12-27
新增OpenAPI,修改单个源地址池

相关示例