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

接口说明

在从 NS 接入修改到 CNAME 接入时,存在一些限制:

  • 需要保证站点下仅存在开启加速的 A/AAAA、CNAME 记录。

  • 需要站点没有开启“DNS 透传模式”、“自定义 NS”功能。

流控信息

请求速率为30/1(s)。

授权信息

当前云产品暂无权限信息透出。

请求参数

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

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

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

修改到的站点接入类型。取值:展开详情

示例值:NS

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

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

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InternalException
Failed to call the service. Try again later or contact technical support.诊断
400
Site.ServiceBusy
This website is being configured. Try again later.诊断
400
Site.UpdateAccessTypeUnable
Failed to change the DNS setup for the website. Check whether the website has configurations or DNS records that are incompatible with the target DNS setup option.诊断
400
VerifyNameServerFailed
The NS verification failed. Please configure the NS provided by ESA on the domain name management platform and try again.诊断

变更历史

变更时间变更内容概要操作
2024-11-05
变更错误码400
2024-09-18
变更错误码400

相关示例