1. Interface Description
Interface request domain name: vpc.api3.convergecloud.com.
This API (ReplaceSecurityGroupPolicy) is used to replace a single security group policy (SecurityGroupPolicy).
A single request can only replace one rule in one direction. You must specify an index (PolicyIndex).
Default interface request rate limit: 100 times per second.
Interface update time: 2020-04-01 18:27:56.
The interface only verifies the signature but does not authenticate.
2. Input Parameters
The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.
| Parameter name | Required | Allow NULL | Type | Description |
|---|---|---|---|---|
| Action | Yes | No | String | Public parameter, The value of this interface: ReplaceSecurityGroupPolicy |
| Version | Yes | No | String | Public parameter, The value of this interface: 2017-03-12 |
| Region | No | No | String | Public parameter,Regional information A list of supported geographies is available through the DescribeRegions interface |
| SecurityGroupId | Yes | No | String | Security group instance ID, e.g., sg-33ocnj9n, which can be accessed through DescribeSecurityGroups. Example: sg-ohuuioma |
| SecurityGroupPolicySet | Yes | No | SecurityGroupPolicySet | Security group rule collection object. Example:View |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| RequestId | String | Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem. |
4. Error Code
The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.
| Error Code | Description |
|---|---|
| InvalidParameterValue | The parameter value is invalid. |
| InvalidParameter | Invalid input parameters. |
| ResourceNotFound | The resource does not exist |
| UnsupportedOperation.VersionMismatch | The specified security group rule version number is inconsistent with the latest version. |