获取物理机价格-GetPHostPrice
获取物理机价格列表
Request Parameters
Response Elements
Parameter name | Type | Description | Required |
RetCode | int | 操作返回码 | Yes |
Action | string | 操作名称 | Yes |
PriceSet | array | 价格列表 见 PHostPriceSet | No |
PHostPriceSet
Parameter name | Type | Description | Required |
ChargeType | string | Year/Month/Trial/Dynamic | No |
Price | float | 价格, 单位:元, 保留小数点后两位有效数字 | No |
Request Example
http://api.ucloud.cn/?Action=GetPHostPrice &ProjectId=562 &Region=cn-bj2 &Zone=cn-bj2-04 &Count=1 &Type=DB &ChargeType=Month &Quantity=1
Response Example
{ "Action": "GetPHostPriceResponse", "PriceSet": [ { "Price": 4000, "ChargeType": "Month" } ], "RetCode": 0 }