You can call this operation to synchronize the settings of a Smart Access Gateway (SAG) device to the associated SAG instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | SynchronizeSmartAGWebConfig |
The operation that you want to perform. Set the value to SynchronizeSmartAGWebConfig. |
RegionId | String | Yes | cn-shanghai |
The ID of the region where the SAG instance is deployed. |
SmartAGId | String | Yes | sag-nylv14tghsk26c**** |
The ID of the SAG instance. |
SmartAGSn | String | Yes | sag32a30**** |
The serial number (SN) of the SAG device. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | CBBE5EBF-69C1-4395-B36B-26B7605F87EA |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=SynchronizeSmartAGWebConfig
&RegionId=cn-shanghai
&SmartAGId=sag-nylv14tghsk26c****
&SmartAGSn=sag32a30****
&<Common request parameters>
Sample success responses
XML
format
<SynchronizeSmartAGWebConfigResponse>
<RequestId>CBBE5EBF-69C1-4395-B36B-26B7605F87EA</RequestId>
</SynchronizeSmartAGWebConfigResponse>
JSON
format
{
"RequestId":"CBBE5EBF-69C1-4395-B36B-26B7605F87EA"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | SAG.InstanceNoFound | The specified SAG instance does not exist. | The error message returned because the specified SAG instance does not exist. |
400 | SAG.SoftwareNotSupport | The specified SAG software edition instance does not support ACL. | The error message returned because the version of the specified SAG instance does not support ACLs. |
400 | SAG.SoftwareNotSupportFeature | The specified SAG Software instance does not support this feature. | The error message returned because the current version of the specified SAG instance does not support this feature. |
500 | SmartAccessGatewayInArrears | The specified Smart Access Gateway has expired. | The error message returned because the specified SAG instance has expired. Renew the SAG instance first. |
500 | SmartAccessGatewayNotActivated | The specified Smart Access Gateway has not been activated. | The error message returned because the specified SAG instance has not been activated. Activate the SAG instance first. |
403 | SmartAccessGatewayNotOnline | The specified smart access gateway is not online. | The error message returned because the specified SAG device is not connected to Alibaba Cloud. |
500 | SmartAccessGatewayOffline | The request cannot be completed. The Smart Access Gateway is offline. | The error message returned because the specified SAG device is disconnected form Alibaba Cloud. |
For a list of error codes, visit the API Error Center.