Tenant Cloud
Security
Cloud Workload Protection Platform
Settings Center APIs
ModifyAutoOpenProVersionConfig
1. Interface Description
Interface request domain name: cwp.api3.convergecloud.com.
This API is used to set whether to automatically activate CWP Pro for newly added servers.
Default interface request rate limit: 20 times per second.
Interface update time: 2022-12-12 15:15:05.
The interface is both signature verification and authentication.
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: ModifyAutoOpenProVersionConfig |
| Version | Yes | No | String | Public parameter, The value of this interface: 2018-02-28 |
| Region | No | No | String | Public parameter,Regional information This interface does not need to pass this parameter. |
| AutoRepurchaseRenewSwitch | No | No | Uint64 | Auto-renewal or not for auto-purchased orders, 0 by default, 0 for OFF, 1 for ON Example: 1 |
| AutoRepurchaseSwitch | No | No | Uint64 | Automatic purchase/expansion authorization switch, 1 by default, 0 for OFF, 1 for ON. Example: 1 |
| ProtectType | No | No | String | Enhanced protection mode. PROVERSION_POSTPAY: Pro Edition (pay-as-you-go) PROVERSION_PREPAY: Pro Edition (monthly subscription) FLAGSHIP_PREPAY: Ultimate Edition (monthly subscription) Example: PROVERSION_POSTPAY |
| RepurchaseRenewSwitch | No | No | Uint64 | Whether the manually purchased order is automatically renewed (defaults to 0): 0 - off; 1 - on Example: 0 |
| Status | Yes | No | String | Status of the automatic activation feature. Example: OPEN |
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 |
|---|---|
| InternalError | Internal error. |
| InvalidParameter.InvalidFormat | Incorrect parameter format. |
| MissingParameter | Missing parameter. |
| InvalidParameter | Invalid parameter. |
| InvalidParameterValue | The parameter value is invalid. |