Modifies the settings of a Smart Access Gateway (SAG) device port.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
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 | Yes | The IP address of the management port gateway. | 192.XX.XX.254 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "6877D55B-08F7-4DA3-916B-32A6FD402E06"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | Sag.PortMgtError | The role of a management port cannot be changed. |
For a list of error codes, visit the Service error codes.