BatchCreateRecords_边缘安全加速_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 允许用户一次性创建或更新多个 DNS 记录条目,适用于需要管理大量 DNS 配置的场景。支持的记录类型包括但不限于 A/AAAA、CNAME、NS、MX、TXT、CAA、SRV、URI 等,并提供了详细的配置项以满足特定需求,如优先级(Priority)、标志位(Flag)、标签(Tag)、权重(Weight)等。此外,对于特定类型的记录,如 CERT、SSHFP、SMIMEA 和 TLSA,还支持证书信息、加密算法等高级设置。

成功与失败的记录操作将在响应中分别列出,以便于用户了解哪些记录处理成功,哪些记录处理失败及其原因。

流控信息

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

授权信息

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

请求参数

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

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

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

待创建的 DNS 记录列表。

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:2430E05E-1340-5773-B5E1-B743929F46F2
RecordResultListobject

记录创建结果列表,包含成功和失败的记录详情。

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InternalException
Failed to call the service. Try again later or contact technical support.诊断
400
QuotaExceed.RecordCount
The maximum number of records has been reached. Delete some and try again or upgrade your plan.诊断
400
Site.ServiceBusy
This website is being configured. Try again later.诊断
400
Record.Conflict
The specified record content conflicts with existing records. Adjust your configurations based on the related product documentation.诊断
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.诊断
400
InvalidParameter.RecordsExceedLimit
The number of incoming records exceeds the maximum limit.诊断
400
QuotaExceed.WildcardRecordCount
The number of wildcard records added by your current site has reached the quota limit. Please delete useless wildcard records or upgrade to the plan and try again.诊断
400
WildcardRecordsExceedLimit
The number of pan records currently added has exceeded the system limit. If you want to add more pan records, please contact the background with a work order.诊断

变更历史

变更时间变更内容概要操作
2025-02-18
变更错误码400
2024-11-12
变更错误码400
变更请求参数RecordList
2024-10-11
变更错误码400
2024-09-24
变更错误码400
2024-09-18
变更错误码400

相关示例