Updates the settings of a Smart Access Gateway (SAG) device port.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:ModifySagManagementPort |
*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**** |
| IP |
string |
Yes |
The IP address of the management port. |
192.XX.XX.1 |
| Mask |
string |
Yes |
The subnet mask for the IP address of the management port. |
255.255.255.0 |
| Gateway |
string |
No |
The IP address of the management port gateway. |
192.XX.XX.254 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
6877D55B-08F7-4DA3-916B-32A6FD402E06 |
Examples
Success response
JSON format
{
"RequestId": "6877D55B-08F7-4DA3-916B-32A6FD402E06"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Sag.PortMgtError | The role of a management port cannot be changed. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.