CreateBaselineStrategy

Last Updated At: 2026-08-03 00:04:48

1. Interface Description

Interface request domain name: cwp.api3.convergecloud.com.

This API is used to create a baseline policy based on policy information.

Default interface request rate limit: 20 times per second.

Interface update time: 2022-05-20 15:13:13.

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: CreateBaselineStrategy
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.
CategoryIds Yes No Array of Uint64 Baseline IDs selected for this policy. Example: [1,3,5,7]
Example: [1,3,5,7]
IsGlobal Yes No Uint64 Specifies whether all servers will be scanned. 1: yes. 0: no. If you set this parameter to 1, all servers with CWP Pro are scanned.
Example: 1
MachineType Yes No String Cloud server type. Valid values:
CVM: Cloud Virtual Machine
BM: Bare Metal instance
ECM: Edge Computing Machine
LH: Lighthouse instance
Other: hybrid cloud server
Example: CVM
Quuids No No Array of String Server IDs. Example: ["quuid1","quuid2"]
Example: ["657f3c29-4bc9-4c48-a8d6-de5bd14ffc67"]
RegionCode Yes No String Region
Example: ap-region1
ScanAt Yes No String Scheduled scan time, which specifies the time to deliver a scan task. For example, if you set this parameter to 22:00, the system delivers a scan task at 22:00.
Example: 02:00
ScanCycle Yes No Uint64 Scan cycle, which specifies the interval at which scans are performed. For example, if you set this parameter to 2, the system performs a scan every 2 days.
Example: 2
StrategyName Yes No String Policy name
Example: Scheduled baseline scan

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.ParsingError Parameter parsing error.
InvalidParameter.MissingParameter Missing parameter.
MissingParameter Missing parameter.
ResourceNotFound The resource does not exist.
InvalidParameter.IllegalRequest Invalid request.
FailedOperation.NoProfessionHost No servers with CWP Pro exist.
FailedOperation.TooManyStrategy The maximum number of baseline policies is exceeded.
InvalidParameter Invalid parameter.
OperationDenied Operation denied.
InvalidParameterValue The parameter value is invalid.