Mengkueri spesifikasi instans yang dapat dibuat di zona tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeAvailableResource |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar region terbaru. |
cn-hangzhou |
| ZoneId |
string |
No |
ID zona. Anda dapat memanggil operasi DescribeZones untuk mengkueri daftar zona terbaru. |
cn-hangzhou-h |
| InstanceChargeType |
string |
No |
Metode penagihan. Nilai yang valid:
|
PrePaid |
| OrderType |
string |
No |
Tipe pesanan. Nilai yang valid:
|
BUY |
| Engine |
string |
No |
Mesin basis data instans. Nilai yang valid:
|
Redis |
| ResourceGroupId |
string |
No |
ID grup sumber daya. Anda dapat memanggil operasi ListResourceGroups untuk mengkueri ID grup sumber daya. Catatan
Anda juga dapat mengkueri ID grup sumber daya di konsol Resource Management. Untuk informasi lebih lanjut, lihat Melihat informasi dasar tentang grup sumber daya. |
rg-acfmyiu4e****** |
| InstanceId |
string |
No |
ID instans. Catatan
Parameter ini tersedia dan diperlukan hanya jika OrderType diatur ke UPGRADE atau DOWNGRADE. |
r-bp1zxszhcgatnx**** |
| AcceptLanguage |
string |
No |
Bahasa nilai yang dikembalikan. Nilai yang valid:
|
zh-CN |
| ProductType |
string |
No |
Tipe produk. Nilai yang valid (nilai default-nya adalah Local):
Catatan
Nilai default parameter ini adalah Local. Jika Anda ingin mengkueri sumber daya cloud disk, Anda harus menentukan tipe produk yang sesuai dengan sumber daya cloud disk yang diperlukan. |
Local |
| NodeId |
string |
No |
ID node data. Anda dapat memanggil operasi DescribeLogicInstanceTopology untuk mengkueri ID node data. Untuk ID node data yang dikueri, Anda harus menghapus tanda angka ( Catatan
Sebelum Anda menentukan parameter ini, Anda juga harus menentukan parameter InstanceId. Instans harus menggunakan arsitektur cluster atau arsitektur read/write splitting. |
r-bp1zxszhcgatnx****-db-0 |
| InstanceScene |
string |
No |
Seri produk. Nilai yang valid:
|
professional |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
493B7308-D9C2-55F6-B042-0313BD63**** |
| AvailableZones |
object |
||
| AvailableZone |
array<object> |
Detail zona. |
|
|
array<object> |
|||
| ZoneId |
string |
The ID of the zone in which the instance is located. |
cn-hangzhou-h |
| ZoneName |
string |
The name of the zone. |
杭州 可用区H |
| RegionId |
string |
The ID of the region. |
cn-hangzhou |
| SupportedEngines |
object |
||
| SupportedEngine |
array<object> |
The supported engines. |
|
|
array<object> |
|||
| Engine |
string |
The database engine of the instance. |
Redis |
| SupportedEditionTypes |
object |
||
| SupportedEditionType |
array<object> |
The instance edition types. |
|
|
array<object> |
|||
| EditionType |
string |
The edition of the instance. Valid values:
|
Enterprise |
| SupportedSeriesTypes |
object |
||
| SupportedSeriesType |
array<object> |
The instance series types. |
|
|
array<object> |
|||
| SeriesType |
string |
The instance series. Valid values:
|
enhanced_performance_type |
| SupportedEngineVersions |
object |
||
| SupportedEngineVersion |
array<object> |
The available engine versions. |
|
|
array<object> |
|||
| Version |
string |
The engine version of the instance. |
5.0 |
| SupportedArchitectureTypes |
object |
||
| SupportedArchitectureType |
array<object> |
The available architectures. |
|
|
array<object> |
|||
| Architecture |
string |
The architecture of the instance. Valid values:
|
cluster |
| SupportedShardNumbers |
object |
||
| SupportedShardNumber |
array<object> |
The numbers of available shards. |
|
|
array<object> |
|||
| ShardNumber |
string |
The number of shards. |
8 |
| SupportedNodeTypes |
object |
||
| SupportedNodeType |
array<object> |
The supported node types. |
|
|
array<object> |
The supported node type. |
||
| SupportedNodeType |
string |
The node type of the instance. Valid values:
|
double |
| AvailableResources |
object |
||
| AvailableResource |
array<object> |
The available instance types. |
|
|
object |
The available instance type. |
||
| InstanceClassRemark |
string |
The description of the instance type. |
16G集群版(8节点)(QPS:1920000 Connections:240000) |
| Capacity |
integer |
The memory size of the instance. Unit: MB. |
16384 |
| InstanceClass |
string |
The code of the instance type. If you want to view the code of an instance type, you can search for the code of the instance type in Help Center. |
redis.amber.logic.sharding.2g.8db.0rodb.24proxy.multithread |
| IsMainSale |
boolean |
An internal parameter. |
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "493B7308-D9C2-55F6-B042-0313BD63****",
"AvailableZones": {
"AvailableZone": [
{
"ZoneId": "cn-hangzhou-h",
"ZoneName": "杭州 可用区H",
"RegionId": "cn-hangzhou",
"SupportedEngines": {
"SupportedEngine": [
{
"Engine": "Redis",
"SupportedEditionTypes": {
"SupportedEditionType": [
{
"EditionType": "Enterprise",
"SupportedSeriesTypes": {
"SupportedSeriesType": [
{
"SeriesType": "enhanced_performance_type",
"SupportedEngineVersions": {
"SupportedEngineVersion": [
{
"Version": "5.0",
"SupportedArchitectureTypes": {
"SupportedArchitectureType": [
{
"Architecture": "cluster",
"SupportedShardNumbers": {
"SupportedShardNumber": [
{
"ShardNumber": "8",
"SupportedNodeTypes": {
"SupportedNodeType": [
{
"SupportedNodeType": "double",
"AvailableResources": {
"AvailableResource": [
{
"InstanceClassRemark": "16G集群版(8节点)(QPS:1920000 Connections:240000)",
"Capacity": 16384,
"InstanceClass": "redis.amber.logic.sharding.2g.8db.0rodb.24proxy.multithread"
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
},
"IsMainSale": true
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.