Memanggil AddSnatIpForSnatEntry untuk menambahkan EIP publik ke aturan SNAT.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:AddSnatIpForSnatEntry |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SnatEntryId |
string |
Yes |
ID entri SNAT. |
snat-5xkzf89dndkzh8yg9stzqz9m4 |
| SnatIp |
string |
Yes |
EIP di entri SNAT. |
219.152.XX.XX |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
CD1FFCC6-5E9E-5C31-A014-13D02737B0EA |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CD1FFCC6-5E9E-5C31-A014-13D02737B0EA"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid%s | The specified parameter %s is invalid. | |
| 400 | Missing%s | You must specify the parameter %s. | |
| 400 | ens.interface.error | An error occurred while call the API. | |
| 400 | Forbidden.SnatIpUsedInDnat | Forbidden.SnatIpUsedInDnat | |
| 400 | InvalidParameter.SnatIp | The specified SnatIp is not found. | |
| 400 | SnatIpLimitExceed | The Snat pool ip too many. | |
| 400 | InvalidParameter.SnatNotFound | The specified snat is not found. | |
| 400 | IncorretSnatEntryStatus | Snat entry status blocked this operation. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.