Modifies the SNAT configurations of a WAN port of a Smart Access Gateway (SAG) device.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:ModifySagWanSnat |
*SmartAccessGateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the SAG instance is deployed. |
cn-shanghai |
| SmartAGId |
string |
Yes |
The ID of the SAG instance. |
sag-whfn**** |
| SmartAGSn |
string |
Yes |
The serial number of the SAG device associated with the SAG instance. |
sag32a30**** |
| Snat |
string |
Yes |
Specifies whether to enable SNAT. Valid values:
|
ENABLE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
96AF7326-B6DE-4188-8638-56A6164F62D9 |
Examples
Success response
JSON format
{
"RequestId": "96AF7326-B6DE-4188-8638-56A6164F62D9"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidId.SMARTAG | The specified smart access gateway instance ID does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.