Mengasosiasikan sebuah resource discovery dengan instance IPAM.
Deskripsi operasi
Anda hanya dapat mengasosiasikan satu instance resource discovery dengan satu instance IPAM.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:AssociateIpamResourceDiscovery |
update |
*IpamResourceDiscovery
*Ipam
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. |
cn-hangzhou |
| IpamId |
string |
Yes |
ID instans IPAM. |
ipam-ccxbnsbhew0d6t**** |
| IpamResourceDiscoveryId |
string |
Yes |
ID instans resource discovery. |
ipam-res-disco-jt5f2af2u6nk2z321**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| ClientToken |
string |
No |
Memastikan idempotensi. Berikan token ASCII unik yang dihasilkan oleh client Anda. Token baru harus disediakan untuk setiap permintaan yang berbeda. Catatan Jika parameter ini tidak ditentukan, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId pada setiap permintaan API berbeda-beda. |
123e4567-e89b-12d3-a456-426655440000 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Data yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
E897D16A-50EB-543F-B002-C5A26AB818FF |
Contoh
Respons sukses
JSONformat
{
"RequestId": "E897D16A-50EB-543F-B002-C5A26AB818FF"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | |
| 400 | ResourceNotFound.IpamResourceDiscovery | The dependent instance of IPAM resource discovery is not found. | The dependent instance of IPAM resource discovery is not found. |
| 400 | ResourceNotFound.Ipam | The specified resource of ipam is not found. | The IPAM entered does not exist. |
| 400 | OperationDenied.ResourceDiscoveryAlreadyAssociated | You cannot associate the resource discovery because an association already exists. | You cannot associate the resource discovery because an association already exists. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.