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

请求参数

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

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

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

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:CB1A380B-09F0-41BB-A198-72F8FD6DA2FE

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
FunctionQuotaCheckFailed
The quota verification for this function fails. It may be that the configuration of this function exceeds the limit of the site plan. Please check the plan introduction document corresponding to this site.诊断
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
FunctionConflict
The feature configuration conflicts. Sites with version management enabled cannot configure this feature.诊断
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.诊断
404
SiteNotFound
The website does not exist or does not belong to you.诊断

变更历史

变更时间变更内容概要操作
2024-11-21
新增OpenAPI,开启源站防护

相关示例