最近更新时间:2018-12-21 15:33:23
名称 | 类型 | 是否必须 | 描述 | 取值 |
---|---|---|---|---|
Action | String | 是 | 固定参数 | DescribeDBInstancePackages |
RegionCode | String | 否 | 机房code,可从机房列表接口获得 | 例如:cn-beijing-6 |
名称 | 类型 | 描述 |
---|---|---|
Code | String | 机房Code,例如cn-beijing-6 |
Name | String | 机房名称 |
Memory | Integer | 套餐内存大小 |
DataDiskMax | Integer | 套餐磁盘最大值 |
DataDiskMin | Integer | 套餐磁盘最小值 |
PackageCode | String | 套餐code |
https://krds.api.ksyun.com/?Action=DescribeDBInstancePackages &<公共请求参数>
{
"Data": {
"Packages": [
{
"Region": {
"Code": "cn-beijing-6",
"Name": "华北1(北京)"
},
"PackageSet": [
{
"Memory": 1,
"DataDiskMax": 40,
"DataDiskMin": 5,
"PackageCode": "RDS_1"
},
{
"Memory": 2,
"DataDiskMax": 80,
"DataDiskMin": 5,
"PackageCode": "RDS_2"
},
{
"Memory": 4,
"DataDiskMax": 200,
"DataDiskMin": 5,
"PackageCode": "RDS_3"
},
{
"Memory": 8,
"DataDiskMax": 300,
"DataDiskMin": 5,
"PackageCode": "RDS_4"
},
{
"Memory": 12,
"DataDiskMax": 500,
"DataDiskMin": 5,
"PackageCode": "RDS_13"
},
{
"Memory": 16,
"DataDiskMax": 600,
"DataDiskMin": 5,
"PackageCode": "RDS_14"
},
{
"Memory": 24,
"DataDiskMax": 1000,
"DataDiskMin": 5,
"PackageCode": "RDS_15"
},
{
"Memory": 32,
"DataDiskMax": 1500,
"DataDiskMin": 5,
"PackageCode": "RDS_16"
},
{
"Memory": 48,
"DataDiskMax": 2000,
"DataDiskMin": 5,
"PackageCode": "RDS_17"
}
]
}
]
}
}
纯净模式