WEB应用防火墙 WAF-购买包周期云模式waf:请求示例

时间:2024-01-26 15:43:51

请求示例

在项目id为“550500b49078408682d0d4f7d923f3e1”的项目中购买包周期云模式waf,waf不自动续订,不自动支付,region Id为"cn-north-7",带宽扩展包的扩展包数量为“1”。

POST https://{Endpoint}/v1/{project_id}/waf/subscription/purchase/prepaid-cloud-waf?enterprise_project_id=0

{
  "project_id" : "550500b49078408682d0d4f7d923f3e1",
  "is_auto_renew" : false,
  "is_auto_pay" : false,
  "region_id" : "cn-north-7",
  "bandwidth_expack_product_info" : {
    "resource_size" : 1
  }
}
support.huaweicloud.com/api-waf/CreatePrepaidCloudWaf.html