文档

预付费Web应用防火墙询价示例

更新时间:
一键部署

参考本示例查询预付费计费方式的Web应用防火墙的价格。

询价说明

获取预付费Web应用防火墙的价格,您需要完成以下操作:

  1. 调用QueryProductList获取产品code,Web应用防火墙的产品code为waf

  2. 调用DescribePricingModule接口获取产品的配置参数。该接口须指定

    ProductCode

    SubscriptionType

    参数。预付费产品的

    SubscriptionType

    取值为Subscription

    下表列举了获取预付费Web应用防火墙价格需提供的参数。

    返回参数

    示例值

    取值范围

    OrderType

    NewOrder

    订单类型,取值:NewOrder(新增) 。

    Region

    cn-hangzhou

    地域信息。

    ModuleList.1.Config

    取值

    • 中国大陆:

      • version_3:高级版。

      • version_4:企业版。

      • version_5:旗舰版。

    • 海外地区:

      • version_pro_asia:高级版。

      • version_business_asia:企业版。

      • version_enterprise_asia:旗舰版。

    ModuleList.2.ModuleCode

    ExtDomainPackage

    域名扩展包。

    ModuleList.2.Config

    ExtDomainPackage:1

    取值:0~1000,默认:0。

    ModuleList.3.ModuleCode

    ExclusiveIpPackage

    域名独享资源包。

    ModuleList.3.Config

    ExclusiveIpPackage:1

    取值:0~100,默认:0。

    ModuleList.4.ModuleCode

    ExtBandwidth

    带宽扩展包。

    ModuleList.4.Config

    ExtBandwidth:100

    取值:0~20000,单位Mbps。默认值:0,50的整数倍。

    ModuleList.5.ModuleCode

    WafLog

    日志服务。

    ModuleList.5.Config

    WafLog:true

    取值:

    • false:否

    • true:是

    ModuleList.6.ModuleCode

    LogTime

    日志存储时长。

    说明

    仅在WafLog:true时有效。

    ModuleList.6.Config

    LogTime:180

    取值:

    • 180:180天

    • 360:360天

    ModuleList.7.ModuleCode

    LogStorage

    日志存储容量。

    说明

    仅在WafLog:true时有效。

    ModuleList.7.Config

    LogStorage:3

    取值:

    • 3

    • 5

    • 10

    • 20

    • 50

    • 100

    单位:T。

    ModuleList.8.ModuleCode

    PrefessionalService

    产品专家服务。

    ModuleList.8.Config

    PrefessionalService;true

    取值:

    • true:是。

    • false:否。

    ModuleList.9.ModuleCode

    BigScreen

    可视化大屏服务

    ModuleList.9.Config

    取值:

    • 0:不需要。

    • 1:单屏服务。

    • all:多屏服务。

    ServicePeriodQuantity

    1

    购买时长:

    • 月:1,3,6。

    • 年:1,2,3。

    ServicePeriodUnit

    Month

    购买时长单位:

    • Month:月。

    • Year:年。

    Quantity

    1

    购买数量。

  3. 调用GetSubscriptionPrice接口获取预付费Web应用防火墙的价格。

请求示例

https://business.aliyuncs.com/?Action=GetSubscriptionPrice
&ModuleList.1.Config=PackageCode:version_3
&ModuleList.1.ModuleCode=PackageCode
&ModuleList.2.Config=ExtDomainPackage:1
&ModuleList.2.ModuleCode=ExtDomainPackage
&ModuleList.3.Config=ExclusiveIpPackage:1
&ModuleList.3.ModuleCode=ExclusiveIpPackage
&ModuleList.4.Config=PrefessionalService:true
&ModuleList.4.ModuleCode=PrefessionalService
&ModuleList.5.Config=BigScreen:1
&ModuleList.5.ModuleCode=BigScreen
&ModuleList.6.Config=ExtBandwidth:50
&ModuleList.6.ModuleCode=ExtBandwidth
&ModuleList.7.Config=LogTime:180
&ModuleList.7.ModuleCode=LogTime
&ModuleList.8.Config=LogStorage:3
&ModuleList.8.ModuleCode=LogStorage
&ModuleList.9.Config=WafLog:true
&ModuleList.9.ModuleCode=WafLog
&OrderType=NewOrder
&ProductCode=waf
&ProductType=waf
&Quantity=1 
&ServicePeriodQuantity=1
&ServicePeriodUnit=Month
&SubscriptionType=Subscription
&公共参数
  • 本页导读 (0)
文档反馈