Menghapus node shard atau Mongos (Proxy Layanan) dari instans kluster sharded Database Apsara for MongoDB.
Deskripsi operasi
Before you call this operation, make sure that the instance meets the following requirements:
-
The instance is in the Running state.
-
The instance is a sharded cluster instance.
-
The billing method of the instance is pay-as-you-go.
-
The number of the shard or mongos nodes in the instance is greater than two.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DeleteNode |
delete |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID instans. |
dds-bpxxxxxxxx |
| NodeId |
string |
Yes |
ID node shard atau Mongos (Proxy Layanan) yang ingin Anda hapus. Anda dapat memanggil operasi DescribeDBInstanceAttribute untuk mengkueri ID node. |
s-bpxxxxxxxx |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi Anda harus memastikan token yang dihasilkan unik di antara permintaan yang berbeda. Token hanya dapat berisi karakter ASCII dan tidak boleh melebihi 64 karakter. |
ETnLKlblzczshOTUbOCzxxxxxxxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| TaskId |
integer |
The ID of the task. |
111111111 |
| RequestId |
string |
The request ID. |
9F9BDE64-BF30-41F3-BD29-C19CE4AB3404 |
| OrderId |
string |
The order ID. |
111111111111111 |
Contoh
Respons sukses
JSONformat
{
"TaskId": 111111111,
"RequestId": "9F9BDE64-BF30-41F3-BD29-C19CE4AB3404",
"OrderId": "111111111111111"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.