云解析服务 DNS-创建单个内网Zone:请求示例

时间:2023-11-03 15:22:22

请求示例

创建一个内网域名,子域名递归解析代理模式设置为AUTHORITY。

POST https://{endpoint}/v2/zones

{
  "name" : "example.com.",
  "description" : "This is an example zone.",
  "zone_type" : "private",
  "email" : "xx@example.org",
  "router" : {
    "router_id" : "19664294-0bf6-4271-ad3a-94b8c79c6558",
    "router_region" : "xx"
  },
  "proxy_pattern" : "AUTHORITY",
  "tags" : [ {
    "key" : "key1",
    "value" : "value1"
  } ]
}
support.huaweicloud.com/api-dns/dns_api_63002.html