Mengkueri total cakupan rencana penghematan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bss:SavingsPlansAnalysis |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| StartPeriod |
string |
Yes |
Pengatur waktu mulai rencana penghematan. Format: yyyy-MM-dd HH:mm:ss. Kueri mencakup pengatur waktu ini. |
2021-07-15 00:00:00 |
| EndPeriod |
string |
No |
Pengatur waktu akhir rencana penghematan. Format: yyyy-MM-dd HH:mm:ss. Kueri tidak mencakup pengatur waktu ini. Jika kosong, kueri berakhir pada pengatur waktu saat ini. |
2021-07-20 00:00:00 |
| PeriodType |
string |
Yes |
Dimensi pengatur waktu rencana penghematan. MONTH: bulanan. DAY: harian. HOUR: per jam. |
HOUR |
| BillOwnerId |
integer |
No |
ID akun pemilik Sumber daya. Ini adalah akun yang sebenarnya menggunakan Sumber daya. |
123745698925000 |
| FilterParam |
object |
No |
||
| Dimensions |
array<object> |
No |
||
|
object |
No |
|||
| Code |
string |
No |
||
| SelectType |
string |
No |
||
| Values |
array |
No |
||
|
string |
No |
|||
| Tags |
array<object> |
No |
||
|
object |
No |
|||
| Code |
string |
No |
||
| SelectType |
string |
No |
||
| Values |
array |
No |
||
|
string |
No |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
Status code |
Success |
| Message |
string |
Error message |
Successful! |
| RequestId |
string |
Request identifier |
79EE7556-0CFD-44EB-9CD6-B3B526E3A85F |
| Success |
boolean |
Indicates whether the request succeeded. |
true |
| Data |
object |
Response data. |
|
| PeriodCoverage |
array<object> |
Coverage by period |
|
|
object |
|||
| Percentage |
number |
The coverage. |
1 |
| Period |
string |
The period. The value is in the format of yyyyMMddHH. |
2021071500 |
| TotalCoverage |
object |
Total coverage |
|
| CoveragePercentage |
number |
The total coverage. |
1 |
| DeductAmount |
number |
The total deducted amount. |
100 |
Contoh
Respons sukses
JSONformat
{
"Code": "Success",
"Message": "Successful!",
"RequestId": "79EE7556-0CFD-44EB-9CD6-B3B526E3A85F",
"Success": true,
"Data": {
"PeriodCoverage": [
{
"Percentage": 1,
"Period": "2021071500"
}
],
"TotalCoverage": {
"CoveragePercentage": 1,
"DeductAmount": 100
}
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.