Mengkueri catatan modifikasi parameter instans Database Apsara untuk MongoDB.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeParameterModificationHistory |
get |
*dbinstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID instans. Catatan
Jika Anda menetapkan parameter ini ke ID instans kluster sharded, Anda juga harus menentukan parameter NodeId. |
dds-bp2235**** |
| NodeId |
string |
No |
ID node Mongos (Proxy Layanan) atau node shard yang catatan modifikasi parameternya ingin Anda kueri di instans. Catatan
Parameter ini hanya valid ketika DBInstanceId ditetapkan ke ID instans kluster sharded. |
d-bp1158**** |
| StartTime |
string |
Yes |
Awal rentang waktu untuk dikueri. Tentukan pengatur waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mmZ. Pengatur waktu harus dalam UTC. |
2019-01-01T12:10Z |
| EndTime |
string |
Yes |
Akhir rentang waktu untuk dikueri. Tentukan pengatur waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mmZ. Pengatur waktu harus dalam UTC. Waktu akhir harus lebih lambat dari waktu mulai. |
2019-01-02T12:10Z |
| CharacterType |
string |
No |
Peran instans. Nilai valid:
|
mongos |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned results. |
||
| RequestId |
string |
The request ID. |
B1BB6E0E-B4EF-4145-81FA-A07719860248 |
| HistoricalParameters |
object |
||
| HistoricalParameter |
array<object> |
Details about the parameter modification records. |
|
|
object |
|||
| ParameterName |
string |
The name of the modified parameter. |
operationProfiling.slowOpThresholdMs |
| OldParameterValue |
string |
The parameter value before modification. |
100 |
| NewParameterValue |
string |
The parameter value after modification. |
200 |
| ModifyTime |
string |
The time when the parameter was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2019-03-12T07:58:24Z |
Contoh
Respons sukses
JSONformat
{
"RequestId": "B1BB6E0E-B4EF-4145-81FA-A07719860248",
"HistoricalParameters": {
"HistoricalParameter": [
{
"ParameterName": "operationProfiling.slowOpThresholdMs",
"OldParameterValue": "100",
"NewParameterValue": "200",
"ModifyTime": "2019-03-12T07:58:24Z"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidStartTime.Malformed | The Specified parameter StartTime is not valid. | |
| 400 | InvalidEndTime.Malformed | The Specified parameter EndTime is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.