PayAsYouGo
Request Parameters
Name |
Description |
Values |
Action |
|
GetPayAsYouGoPrice |
ProductCode |
|
slb |
SubscriptionType |
|
PayAsYouGo |
Region |
|
See region information |
ModuleList.1.ModuleCode |
Instance specification |
LoadBalancerSpec |
ModuleList.1.Config |
value* |
slb.s0.share:Performance Sharing ;slb.s1.small:Simple Type I; slb.s2.small:Standard Type I;slb.s2.medium:Standard Type II;slb.s3.small:Advanced Type I;slb.s3.medium:Advanced Type II;slb.s3.large:Super Type I |
ModuleList.1.PriceType |
|
Hour |
ModuleList.2.ModuleCode |
|
InternetTrafficOut |
ModuleList.2.Config |
value |
1: Usage ;0: Fixed Bandwidth |
ModuleList.2.PriceType |
|
Usage |
ModuleList.3.ModuleCode |
|
InstanceRent |
ModuleList.3.Config |
value |
1 |
ModuleList.3.PriceType |
|
Hour |
ModuleList.4.ModuleCode |
|
Bandwidth |
ModuleList.4.Config |
value* |
1024~5120000(The value is 1024 integer times, in Kbps) |
ModuleList.4.PriceType |
|
Hour |
Sample requests(Usage)
https://business.ap-southeast-1.aliyuncs.com/?Action=GetPayAsYouGoPrice
&ProductCode=slb
&SubscriptionType=PayAsYouGo
&Region=cn-qingdao
&ModuleList.1.ModuleCode=LoadBalancerSpec
&ModuleList.1.Config=LoadBalancerSpec:slb.s3.large
&ModuleList.1.PriceType=Hour
&ModuleList.2.ModuleCode=InternetTrafficOut
&ModuleList.2.Config=InternetTrafficOut:1
&ModuleList.2.PriceType=Usage
&ModuleList.3.Config=InstanceRent:1
&ModuleList.3.ModuleCode=InstanceRent
&ModuleList.3.PriceType=Hour
&[other public parameters]
Sample requests(Fixed Bandwidth)
https://business.ap-southeast-1.aliyuncs.com/?Action=GetPayAsYouGoPrice
&ProductCode=slb
&SubscriptionType=PayAsYouGo
&Region=cn-qingdao
&ModuleList.1.ModuleCode=LoadBalancerSpec
&ModuleList.1.Config=LoadBalancerSpec:slb.s3.large
&ModuleList.1.PriceType=Hour
&ModuleList.2.ModuleCode=InternetTrafficOut
&ModuleList.2.Config=InternetTrafficOut:0
&ModuleList.2.PriceType=Usage
&ModuleList.3.Config=InstanceRent:1
&ModuleList.3.ModuleCode=InstanceRent
&ModuleList.3.PriceType=Hour
&ModuleList.4.Config=Bandwidth:1024
&ModuleList.4.ModuleCode=Bandwidth
&ModuleList.4.PriceType=Hour
&[other public parameters]