Skip to content

InstanceProps

Properties for defining a Instance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-instance

Initializer

import com.aliyun.ros.cdk.threatdetection.InstanceProps;
InstanceProps.builder()
    .paymentType(java.lang.String)
    .paymentType(IResolvable)
    .versionCode(java.lang.String)
    .versionCode(IResolvable)
//  .buyNumber(java.lang.String)
//  .buyNumber(IResolvable)
//  .containerImageScan(java.lang.String)
//  .containerImageScan(IResolvable)
//  .containerImageScanNew(java.lang.String)
//  .containerImageScanNew(IResolvable)
//  .honeypot(java.lang.String)
//  .honeypot(IResolvable)
//  .honeypotSwitch(java.lang.String)
//  .honeypotSwitch(IResolvable)
//  .modifyType(java.lang.String)
//  .modifyType(IResolvable)
//  .period(java.lang.Number)
//  .period(IResolvable)
//  .productType(java.lang.String)
//  .productType(IResolvable)
//  .raspCount(java.lang.String)
//  .raspCount(IResolvable)
//  .renewalPeriodUnit(java.lang.String)
//  .renewalPeriodUnit(IResolvable)
//  .renewalStatus(java.lang.String)
//  .renewalStatus(IResolvable)
//  .renewPeriod(java.lang.Number)
//  .renewPeriod(IResolvable)
//  .sasAntiRansomware(java.lang.String)
//  .sasAntiRansomware(IResolvable)
//  .sasCspm(java.lang.String)
//  .sasCspm(IResolvable)
//  .sasCspmSwitch(java.lang.String)
//  .sasCspmSwitch(IResolvable)
//  .sasSc(java.lang.String)
//  .sasSc(IResolvable)
//  .sasSdk(java.lang.String)
//  .sasSdk(IResolvable)
//  .sasSdkSwitch(java.lang.String)
//  .sasSdkSwitch(IResolvable)
//  .sasSlsStorage(java.lang.String)
//  .sasSlsStorage(IResolvable)
//  .sasWebguardBoolean(java.lang.String)
//  .sasWebguardBoolean(IResolvable)
//  .sasWebguardOrderNum(java.lang.String)
//  .sasWebguardOrderNum(IResolvable)
//  .threatAnalysis(java.lang.String)
//  .threatAnalysis(IResolvable)
//  .threatAnalysisSwitch(java.lang.String)
//  .threatAnalysisSwitch(IResolvable)
//  .vCore(java.lang.String)
//  .vCore(IResolvable)
//  .vulCount(java.lang.String)
//  .vulCount(IResolvable)
//  .vulSwitch(java.lang.String)
//  .vulSwitch(IResolvable)
    .build();

Properties

Name Type Description
paymentType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property paymentType: The payment type of the resource.
versionCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property versionCode: Select the security center version.
buyNumber java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property buyNumber: Number of servers.
containerImageScan java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property containerImageScan: Container Image security scan.
containerImageScanNew java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property containerImageScanNew: Container Image security scan.
honeypot java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property honeypot: Number of cloud honeypot licenses.
honeypotSwitch java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property honeypotSwitch: Cloud honeypot.
modifyType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property modifyType: Change configuration type, value - Upgrade: Upgrade.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property period: Prepaid cycle.
productType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property productType: Product type, only China station needs to be set to sas, international station does not need to set.
raspCount java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property raspCount: Number of application protection licenses.
renewalPeriodUnit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property renewalPeriodUnit: Automatic renewal period unit, value: - M: month.
renewalStatus java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal.
renewPeriod java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property renewPeriod: Automatic renewal cycle, in months.
sasAntiRansomware java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sasAntiRansomware: Anti-ransomware capacity.
sasCspm java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sasCspm: Cloud platform configuration check scan times, interval type, value range:[1000,9999999999].
sasCspmSwitch java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sasCspmSwitch: Cloud platform configuration check switch.
sasSc java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sasSc: Security screen.
sasSdk java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sasSdk: Number of malicious file detections.
sasSdkSwitch java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sasSdkSwitch: Malicious file detection SDK.
sasSlsStorage java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sasSlsStorage: Log analysis storage capacity.
sasWebguardBoolean java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sasWebguardBoolean: Web tamper-proof switch.
sasWebguardOrderNum java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sasWebguardOrderNum: Tamper-proof authorization number.
threatAnalysis java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property threatAnalysis: Threat Analysis log storage capacity.
threatAnalysisSwitch java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property threatAnalysisSwitch: Threat analysis.
vCore java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vCore: Number of cores.
vulCount java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vulCount: Vulnerability repair times, interval type, value range:[20,100000000].
vulSwitch java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vulSwitch: Vulnerability fix switch.

paymentTypeRequired

public java.lang.Object getPaymentType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property paymentType: The payment type of the resource.


versionCodeRequired

public java.lang.Object getVersionCode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property versionCode: Select the security center version.

Value:

  • level7: Antivirus Edition.
  • level3: Premium version.
  • level2: Enterprise Edition.
  • level8: Ultimate.
  • level10: Purchase value-added services only.

buyNumberOptional

public java.lang.Object getBuyNumber();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property buyNumber: Number of servers.


containerImageScanOptional

public java.lang.Object getContainerImageScan();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property containerImageScan: Container Image security scan.

Interval type, value interval:[0,200000].

The step size is 20, that is, only multiples of 20 can be filled in.


containerImageScanNewOptional

public java.lang.Object getContainerImageScanNew();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property containerImageScanNew: Container Image security scan.

Interval type, value interval:[0,200000].

The step size is 20, that is, only multiples of 20 can be filled in.


honeypotOptional

public java.lang.Object getHoneypot();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property honeypot: Number of cloud honeypot licenses.

Interval type, value interval:[20,500].

This module can only be purchased when honeypot_switch = 1, starting with 20.


honeypotSwitchOptional

public java.lang.Object getHoneypotSwitch();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property honeypotSwitch: Cloud honeypot.

Value:

  • 1: Yes.
  • 2: No.

modifyTypeOptional

public java.lang.Object getModifyType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property modifyType: Change configuration type, value - Upgrade: Upgrade.

  • Downgrade: Downgrade.

periodOptional

public java.lang.Object getPeriod();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property period: Prepaid cycle.

The unit is Monthly, please enter an integer multiple of 12 for annual paid products.

must be set when creating a prepaid instance.


productTypeOptional

public java.lang.Object getProductType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property productType: Product type, only China station needs to be set to sas, international station does not need to set.


raspCountOptional

public java.lang.Object getRaspCount();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property raspCount: Number of application protection licenses.

Interval type, value interval:[1,100000000].


renewalPeriodUnitOptional

public java.lang.Object getRenewalPeriodUnit();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property renewalPeriodUnit: Automatic renewal period unit, value: - M: month.

  • Y: years.

Must be set when RenewalStatus = AutoRenewal.


renewalStatusOptional

public java.lang.Object getRenewalStatus();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal.

  • ManualRenewal: manual renewal. Default ManualRenewal.

renewPeriodOptional

public java.lang.Object getRenewPeriod();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property renewPeriod: Automatic renewal cycle, in months.

When RenewalStatus is set to AutoRenewal, it must be set.


sasAntiRansomwareOptional

public java.lang.Object getSasAntiRansomware();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sasAntiRansomware: Anti-ransomware capacity.

Unit: GB. Interval type, value interval:[0,9999999999].

The step size is 10, that is, only multiples of 10 can be filled in.


sasCspmOptional

public java.lang.Object getSasCspm();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sasCspm: Cloud platform configuration check scan times, interval type, value range:[1000,9999999999].

You must have sas_cspm_switch = 1 to purchase this module. The step size is 100, that is, only multiples of 10 can be filled in.


sasCspmSwitchOptional

public java.lang.Object getSasCspmSwitch();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sasCspmSwitch: Cloud platform configuration check switch.

Value:

  • 0: No.
  • 1: Yes.

sasScOptional

public java.lang.Object getSasSc();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sasSc: Security screen.

Value:

  • true: Yes.
  • false: No.

sasSdkOptional

public java.lang.Object getSasSdk();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sasSdk: Number of malicious file detections.

Unit: 10,000 times. Interval type, value interval:[10,9999999999].

This module can only be purchased when sas_sdk_switch = 1. The step size is 10, that is, only multiples of 10 can be filled in.


sasSdkSwitchOptional

public java.lang.Object getSasSdkSwitch();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sasSdkSwitch: Malicious file detection SDK.


sasSlsStorageOptional

public java.lang.Object getSasSlsStorage();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sasSlsStorage: Log analysis storage capacity.

Unit: GB. Interval type, value interval:[0,600000].

The step size is 10, that is, only multiples of 10 can be filled in.


sasWebguardBooleanOptional

public java.lang.Object getSasWebguardBoolean();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sasWebguardBoolean: Web tamper-proof switch.

Value:

  • 0: No.
  • 1: Yes.

sasWebguardOrderNumOptional

public java.lang.Object getSasWebguardOrderNum();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sasWebguardOrderNum: Tamper-proof authorization number.

Value:

  • 0: No
  • 1: Yes.

threatAnalysisOptional

public java.lang.Object getThreatAnalysis();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property threatAnalysis: Threat Analysis log storage capacity.

Interval type, value interval:[0,9999999999].

This module can only be purchased when Threat_analysis_switch = 1. The step size is 10, that is, only multiples of 10 can be filled in.


threatAnalysisSwitchOptional

public java.lang.Object getThreatAnalysisSwitch();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property threatAnalysisSwitch: Threat analysis.

Value:

  • 0: No.
  • 1: Yes.

vCoreOptional

public java.lang.Object getVCore();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vCore: Number of cores.


vulCountOptional

public java.lang.Object getVulCount();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vulCount: Vulnerability repair times, interval type, value range:[20,100000000].

This module can only be purchased when vul_switch = 1. Only when the version_code value is level7 or level10. other versions do not need to be purchased separately.


vulSwitchOptional

public java.lang.Object getVulSwitch();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vulSwitch: Vulnerability fix switch.

Value:

  • 0: No.
  • 1: Yes.

When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.