public class CreateBaselineStrategyRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateBaselineStrategyRequest() |
CreateBaselineStrategyRequest(CreateBaselineStrategyRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long[] |
getCategoryIds()
Get Array of selected baseline IDs under this policy.
|
Long |
getIsGlobal()
Get Whether all servers are scanned.
|
String |
getMachineType()
Get Cloud host type:
CVM: virtual machine
BM: bare metal server
ECM: edge computing machine
LH: Lighthouse
Other: hybrid cloud machine
|
String[] |
getQuuids()
Get Host ID array.
|
String |
getRegionCode()
Get Host region.
|
String |
getScanAt()
Get Time for a periodic check.
|
Long |
getScanCycle()
Get Check cycle, indicating the number of days between checks.
|
String |
getStrategyName()
Get Policy name
|
void |
setCategoryIds(Long[] CategoryIds)
Set Array of selected baseline IDs under this policy.
|
void |
setIsGlobal(Long IsGlobal)
Set Whether all servers are scanned.
|
void |
setMachineType(String MachineType)
Set Cloud host type:
CVM: virtual machine
BM: bare metal server
ECM: edge computing machine
LH: Lighthouse
Other: hybrid cloud machine
|
void |
setQuuids(String[] Quuids)
Set Host ID array.
|
void |
setRegionCode(String RegionCode)
Set Host region.
|
void |
setScanAt(String ScanAt)
Set Time for a periodic check.
|
void |
setScanCycle(Long ScanCycle)
Set Check cycle, indicating the number of days between checks.
|
void |
setStrategyName(String StrategyName)
Set Policy name
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateBaselineStrategyRequest()
public CreateBaselineStrategyRequest(CreateBaselineStrategyRequest source)
public String getStrategyName()
public void setStrategyName(String StrategyName)
StrategyName
- Policy namepublic Long getScanCycle()
public void setScanCycle(Long ScanCycle)
ScanCycle
- Check cycle, indicating the number of days between checks. Example: 2, indicating that the check is carried out every 2 days.public String getScanAt()
public void setScanAt(String ScanAt)
ScanAt
- Time for a periodic check. The scan task is issued at this time. Example: "22:00", indicating that the task is issued at 22:00.public Long[] getCategoryIds()
public void setCategoryIds(Long[] CategoryIds)
CategoryIds
- Array of selected baseline IDs under this policy. Example: [1,3,5,7]public Long getIsGlobal()
public void setIsGlobal(Long IsGlobal)
IsGlobal
- Whether all servers are scanned. 1: yes; 0: no. If the value is 1, all Professional Edition hosts are scanned.public String getMachineType()
public void setMachineType(String MachineType)
MachineType
- Cloud host type:
CVM: virtual machine
BM: bare metal server
ECM: edge computing machine
LH: Lighthouse
Other: hybrid cloud machinepublic String getRegionCode()
public void setRegionCode(String RegionCode)
RegionCode
- Host region. Example: "ap-guangzhou"public String[] getQuuids()
public void setQuuids(String[] Quuids)
Quuids
- Host ID array. Example: ["quuid1","quuid2"]Copyright © 2025. All rights reserved.