云防火墙 CFW-添加域名列表:请求示例

时间:2024-10-31 19:35:58

请求示例

给项目id为14181c1245cf4fd786824efe1e2b9388下的 域名 组添加域名,防火墙id为546af3f8-88e9-47f2-a205-2346d7090925,防护对象id为ae42418e-f077-41a0-9d3b-5b2f5ad9102b,域名组id为78719348-6d79-477e-acec-676a29842ab2,域名为www.bnm.com和www.vbc.com

https://{Endpoint}v1/14181c1245cf4fd786824efe1e2b9388/domain-set/domains/78719348-6d79-477e-acec-676a29842ab2?fw_instance_id=546af3f8-88e9-47f2-a205-2346d7090925&enterprise_project_id=default

{
  "domain_names" : [ {
    "description" : "",
    "domain_name" : "www.bnm.com"
  }, {
    "description" : "",
    "domain_name" : "www.vbc.com"
  } ],
  "fw_instance_id" : "546af3f8-88e9-47f2-a205-2346d7090925",
  "object_id" : "ae42418e-f077-41a0-9d3b-5b2f5ad9102b"
}
support.huaweicloud.com/api-cfw/AddDomains.html