Mengajukan alamat SRV untuk instans Database Apsara for MongoDB.
Deskripsi operasi
Operasi ini hanya berlaku untuk instans replica set dan instans kluster sharded yang menggunakan cloud disk.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:AllocateDBInstanceSrvNetworkAddress |
update |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID instans. |
dds-2ze5eb9514e31364 |
| NodeId |
string |
No |
ID node Mongos atau shard dalam instans kluster sharded. Catatan
Anda tidak perlu menentukan parameter ini. |
d-bp1b7bb3bbe**** |
| SrvConnectionType |
string |
No |
Tipe alamat SRV yang akan diajukan. Nilai valid:
Catatan
Nilai default adalah alamat SRV privat. |
vpc |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
6B82A9EF-9961-5A31-A19F-009B7098ACCA |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6B82A9EF-9961-5A31-A19F-009B7098ACCA"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidAccountName.Forbid | Specified account name is a keyword. | Nama akun tidak valid karena mengandung kata kunci yang dicadangkan. Ubah nama akun. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.