UpdateTieredCache_边缘安全加速_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:UpdateTieredCache
Update
Site
acs:esa:{#regionId}:{#accountId}:site/{#SiteId}

请求参数

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

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

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

多级缓存架构模式。取值范围:展开详情

示例值:edge_smart枚举值:edgeedge_smartedge_regionaledge_regional_smart参考取值来源:
    GetTieredCache

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:15C66C7B-671A-4297-9187-2C4477247A74

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
ConfigConflicts
Configuration conflicts, usually when multiple configurations are configured under the same function of the same site, such as duplicate rule names between multiple configurations.诊断
400
ArgQuotaCheckFailed
The passed-in parameter value failed to verify the validity of the plan. Please check the plan document to obtain the range of parameters that can be configured for the site plan.诊断
400
ServiceInvokeFailed
The call to the internal service failed. The engineer is resolving the problem. Please wait a moment before trying, or contact customer service for details.诊断
400
FunctionConflict
The feature configuration conflicts. Sites with version management enabled cannot configure this feature.诊断
400
SpecifiedVersionReadOnly
The specified version number is read-only and cannot be modified.诊断
400
VersionNotValid
The site does not have version management enabled, or the version number passed in does not exist.诊断
400
InternalException
Failed to call the service. Try again later or contact technical support.诊断
400
InvalidParameter.ArgName
Invalid ArgName. Check your website configuration parameters and make sure that they match the supported features and parameter names listed in the official documentation.诊断
400
InvalidParameter.ArgValue
Invalid parameter value. Check whether the value format and length meet the requirements.诊断
400
InvalidParameter.Configs
Invalid parameter configurations. Check whether your feature configurations are in the valid format and comply with relevant requirements.诊断
400
InstanceNotExist
The instance does not exist. Check whether the specified instance ID is correct or whether the instance belongs to your account.诊断
400
LockFailed
The system is handling requests you previously submitted. Try again later.诊断
400
IllegalOperation.VersionManagement
The version management operation failed because incompatible features or environment settings are configured. Adjust your configurations and try again.诊断
400
QuotaCheckFailed.VersionManagement
Insufficient quota for version management. Contact technical support.诊断
400
Instance.NotOnline
Your plan is unavailable due to an overdue payment. Complete the payment first.诊断
404
SiteNotFound
The website does not exist or does not belong to you.诊断

变更历史

变更时间变更内容概要操作
2025-01-14
新增OpenAPI,修改站点多级缓存配置

相关示例