Mengambil daftar spesifikasi instans aplikasi yang tersedia.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sae:DescribeInstanceSpecifications |
get |
*全部资源
|
None | None |
Sintaks permintaan
GET /pop/v1/paas/quota/instanceSpecifications HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The request ID. |
91F93257-7A4A-4BD3-9A7E-2F6EAE6D**** |
| Message |
string |
The returned message.
|
success |
| TraceId |
string |
The trace ID that is used to query the details of a request. |
0a98a02315955564772843261e**** |
| Data |
array<object> |
The instance specifications. |
|
|
object |
The instance specifications. |
||
| Cpu |
integer |
The CPU specification. Unit: millicores. |
2000 |
| Version |
integer |
The version of the instance specification. |
0 |
| Memory |
integer |
The memory specification. Unit: MB. |
4096 |
| SpecInfo |
string |
The name of the instance specification. |
General-purpose 4 |
| Id |
integer |
The ID of the instance specification. |
4 |
| Enable |
boolean |
Indicates whether the instance specification is available. Valid values:
|
true |
| ErrorCode |
string |
The error code.
|
|
| Code |
string |
The HTTP status code. Valid values:
|
200 |
| Success |
boolean |
Indicates whether the instance specifications are obtained. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "91F93257-7A4A-4BD3-9A7E-2F6EAE6D****",
"Message": "success",
"TraceId": "0a98a02315955564772843261e****",
"Data": [
{
"Cpu": 2000,
"Version": 0,
"Memory": 4096,
"SpecInfo": "General-purpose 4",
"Id": 4,
"Enable": true
}
],
"ErrorCode": "",
"Code": "200",
"Success": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.