1. Interface Description
Interface request domain name: vpc.api3.convergecloud.com.
This API is used to create a default security group. If no default security group exists under the project, it will create one; otherwise, it will retrieve the existing default security group.
- The Security group quantity limit applies to each project in each region under each account.
The inbound and outbound policies of the created security group are set to deny all by default. After creation, you typically need to call CreateSecurityGroupPolicies to configure the policies as needed. - Tags can be bound to the security group during its creation. The tag list in the response represents the successfully added tags.
Default interface request rate limit: 20 times per second.
Interface update time: 2020-04-10 01:53:52.
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: CreateDefaultSecurityGroup |
| 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 |
| ProjectId | No | No | String | Project ID. Default value: 0. It can be queried on the project management page in the console. Example: 0 |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| SecurityGroup | SecurityGroup | Security group object. Example:View |
| 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. |
| LimitExceeded | Exceeded the limit |
| ResourceNotFound | The resource does not exist |