参考本示例查询预付费计费方式的极速型NAS的价格。

询价说明

获取预付费极速型NAS的价格,您需要完成以下操作:
  1. 调用QueryProductList获取产品code,极速型NAS的产品code为nas
  2. 调用DescribePricingModule接口获取产品的配置参数。该接口须指定ProductCodeSubscriptionType参数。预付费产品的SubscriptionType取值为Subscription

    下表列举了获取预付费极速型NAS价格需提供的参数。

    名称 说明 取值范围
    OrderType NewOrder 订单类型,取值:
    • NewOrder:新增。
    • Renewal:续费。
    • Upgrade:升级。
    Region cn-beijing 地域信息。
    ModuleList.1.ModuleCode Zone 可用区。
    ModuleList.1.Config cn-beijing-a 参数格式:地域+可用区,比如北京可用区A:cn-beijing-a。
    ModuleList.2.ModuleCode ProtocolType 协议。
    ModuleList.2.Config nfs 取值,nfs: NFS。
    ModuleList.3.ModuleCode StorageType 类型。
    ModuleList.3.Config standard 取值:
    • standard : 标准型。
    • advance : 高级型。
    ModuleList.4.ModuleCode Size 容量。
    ModuleList.4.Config 500 取值:
    • 100:100GB。
    • 200: 200GB。
    • 500: 500GB。
    • 1024: 1TB。
    • 2048: 2TB。
    • 4096: 4TB。
    • 8192: 8TB。
    • 16384: 16TB。
    • 32768: 32TB。
    ModuleList.5.ModuleCode Throughput 带宽
    ModuleList.5.Config 150 取值:
    • 150:150MB/s。
    • 300:300MB/s。
    ModuleList.6.ModuleCode SnapshotId 快照ID。
    ModuleList.6.Config dasdasdasdasd 用户的快照ID,非必输参数
    ModuleList.7.ModuleCode encryptType 数据加密。
    ModuleList.7.Config 0 取值:
    • 0:不加密。
    • 1:静态数据加密默认不加密。
  3. 调用GetSubscriptionPrice接口获取预付费极速型NAS的价格。

请求示例

https://business.aliyuncs.com/?Action=GetSubscriptionPrice
&ModuleList.1.Config=Zone:cn-beijing-a
&ModuleList.1.ModuleCode=Zone
&ModuleList.2.Config=ProtocolType:nfs
&ModuleList.2.ModuleCode=ProtocolType
&ModuleList.3.Config=StorageType:standard
&ModuleList.3.ModuleCode=StorageType
&ModuleList.4.Config=Size:100
&ModuleList.4.ModuleCode=Size
&ModuleList.5.Config=Throughput:150
&ModuleList.5.ModuleCode=Throughput
&OrderType=NewOrder
&ProductCode=nas
&ProductType=nas_extreme
&Quantity=1
&ServicePeriodQuantity=1
&ServicePeriodUnit=Month
&SubscriptionType=Subscription
&公共参数