Mengajukan permohonan titik akhir internal untuk node shard atau Configserver dalam instans kluster sharded Database Apsara for MongoDB.
Deskripsi operasi
This operation is applicable only to sharded cluster instances. For more information, see Apply for an endpoint for a shard or Configserver node.
The allocated endpoints can be used only for internal access. To gain Internet access, you must call the AllocatePublicNetworkAddress operation to apply for public endpoints.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:AllocateNodePrivateNetworkAddress |
update |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ZoneId |
string |
No |
ID zona tempat instans berada. Catatan
Anda dapat memanggil operasi DescribeDBInstanceAttribute untuk mengkueri ID zona instans. |
cn-hangzhou-b |
| DBInstanceId |
string |
Yes |
ID instans kluster sharded. |
dds-bp1fa5efaa93**** |
| NodeId |
string |
Yes |
ID node shard atau Configserver. Catatan
Anda dapat memanggil operasi DescribeDBInstanceAttribute untuk mengkueri ID node shard atau Configserver. |
d-bp124beeb0ac**** |
| AccountName |
string |
No |
Nama pengguna akun. Catatan
|
shardcsaccount |
| AccountPassword |
string |
No |
Kata sandi untuk akun.
|
Test123456 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
60EEBD77-227C-5B39-86EA-D89163C5**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "60EEBD77-227C-5B39-86EA-D89163C5****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidAccountName.Forbid | Specified account name is a keyword. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.