Mengkueri biaya untuk instans DBS.
Deskripsi operasi
Operasi ini hanya tersedia di DBS API versi 2021-01-01.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:DescribeCostInfoByDbsInstance |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionCode |
string |
No |
ID region tempat instans berada. Anda dapat memperoleh informasi ini dari tagihan Anda. |
cn-hangzhou |
| BackupPlanId |
string |
No |
ID jadwal pencadangan. |
dbsr1l3ro21**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
string |
Parameter yang dikembalikan:
|
{ "backupPlanComment": "", "commodity": "cbs_post", "product": "cbs", "moduleCode": "BackupStorageSize", "instanceName": "d-2zefd6337d766294", "backupPlanId": "dbs:d-2zefd6337d766294", "moduleName": "mongodb" } |
| RequestId |
string |
ID permintaan. |
9C397502-B4F2-4E22-AD97-C81F0049F3F3 |
| ErrCode |
string |
Kode kesalahan. |
Param.NotFound |
| Success |
string |
Menunjukkan apakah permintaan berhasil. |
true |
| ErrMessage |
string |
Pesan kesalahan. |
The specified parameter %s value is not valid. |
| Code |
string |
Kode status. |
Success |
| Message |
string |
Pesan kesalahan. |
The specified parameter %s value is not valid. |
Contoh
Respons sukses
JSONformat
{
"Data": "{\n \"backupPlanComment\": \"\",\n \"commodity\": \"cbs_post\",\n \"product\": \"cbs\",\n \"moduleCode\": \"BackupStorageSize\",\n \"instanceName\": \"d-2zefd6337d766294\",\n \"backupPlanId\": \"dbs:d-2zefd6337d766294\",\n \"moduleName\": \"mongodb\"\n }",
"RequestId": "9C397502-B4F2-4E22-AD97-C81F0049F3F3",
"ErrCode": "Param.NotFound",
"Success": "true",
"ErrMessage": "The specified parameter %s value is not valid. ",
"Code": "Success",
"Message": "The specified parameter %s value is not valid."
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Request.Forbidden | Have no Permissions |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.