Skip to content

InstanceProps

Properties for defining a Instance.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkthreatdetection"
&alicloudroscdkthreatdetection.InstanceProps {
    PaymentType: interface{},
    VersionCode: interface{},
    BuyNumber: interface{},
    ContainerImageScan: interface{},
    ContainerImageScanNew: interface{},
    Honeypot: interface{},
    HoneypotSwitch: interface{},
    ModifyType: interface{},
    Period: interface{},
    ProductType: interface{},
    RaspCount: interface{},
    RenewalPeriodUnit: interface{},
    RenewalStatus: interface{},
    RenewPeriod: interface{},
    SasAntiRansomware: interface{},
    SasCspm: interface{},
    SasCspmSwitch: interface{},
    SasSc: interface{},
    SasSdk: interface{},
    SasSdkSwitch: interface{},
    SasSlsStorage: interface{},
    SasWebguardBoolean: interface{},
    SasWebguardOrderNum: interface{},
    ThreatAnalysis: interface{},
    ThreatAnalysisSwitch: interface{},
    VCore: interface{},
    VulCount: interface{},
    VulSwitch: interface{},
}

Properties

Name Type Description
PaymentType interface{} Property paymentType: The payment type of the resource.
VersionCode interface{} Property versionCode: Select the security center version.
BuyNumber interface{} Property buyNumber: Number of servers.
ContainerImageScan interface{} Property containerImageScan: Container Image security scan.
ContainerImageScanNew interface{} Property containerImageScanNew: Container Image security scan.
Honeypot interface{} Property honeypot: Number of cloud honeypot licenses.
HoneypotSwitch interface{} Property honeypotSwitch: Cloud honeypot.
ModifyType interface{} Property modifyType: Change configuration type, value - Upgrade: Upgrade.
Period interface{} Property period: Prepaid cycle.
ProductType interface{} Property productType: Product type, only China station needs to be set to sas, international station does not need to set.
RaspCount interface{} Property raspCount: Number of application protection licenses.
RenewalPeriodUnit interface{} Property renewalPeriodUnit: Automatic renewal period unit, value: - M: month.
RenewalStatus interface{} Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal.
RenewPeriod interface{} Property renewPeriod: Automatic renewal cycle, in months.
SasAntiRansomware interface{} Property sasAntiRansomware: Anti-ransomware capacity.
SasCspm interface{} Property sasCspm: Cloud platform configuration check scan times, interval type, value range:[1000,9999999999].
SasCspmSwitch interface{} Property sasCspmSwitch: Cloud platform configuration check switch.
SasSc interface{} Property sasSc: Security screen.
SasSdk interface{} Property sasSdk: Number of malicious file detections.
SasSdkSwitch interface{} Property sasSdkSwitch: Malicious file detection SDK.
SasSlsStorage interface{} Property sasSlsStorage: Log analysis storage capacity.
SasWebguardBoolean interface{} Property sasWebguardBoolean: Web tamper-proof switch.
SasWebguardOrderNum interface{} Property sasWebguardOrderNum: Tamper-proof authorization number.
ThreatAnalysis interface{} Property threatAnalysis: Threat Analysis log storage capacity.
ThreatAnalysisSwitch interface{} Property threatAnalysisSwitch: Threat analysis.
VCore interface{} Property vCore: Number of cores.
VulCount interface{} Property vulCount: Vulnerability repair times, interval type, value range:[20,100000000].
VulSwitch interface{} Property vulSwitch: Vulnerability fix switch.

PaymentTypeRequired

PaymentType interface{}
  • Type: interface{}

Property paymentType: The payment type of the resource.


VersionCodeRequired

VersionCode interface{}
  • Type: interface{}

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

BuyNumber interface{}
  • Type: interface{}

Property buyNumber: Number of servers.


ContainerImageScanOptional

ContainerImageScan interface{}
  • Type: interface{}

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

ContainerImageScanNew interface{}
  • Type: interface{}

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

Honeypot interface{}
  • Type: interface{}

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

HoneypotSwitch interface{}
  • Type: interface{}

Property honeypotSwitch: Cloud honeypot.

Value:

  • 1: Yes.
  • 2: No.

ModifyTypeOptional

ModifyType interface{}
  • Type: interface{}

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

  • Downgrade: Downgrade.

PeriodOptional

Period interface{}
  • Type: interface{}

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

ProductType interface{}
  • Type: interface{}

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


RaspCountOptional

RaspCount interface{}
  • Type: interface{}

Property raspCount: Number of application protection licenses.

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


RenewalPeriodUnitOptional

RenewalPeriodUnit interface{}
  • Type: interface{}

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

  • Y: years.

Must be set when RenewalStatus = AutoRenewal.


RenewalStatusOptional

RenewalStatus interface{}
  • Type: interface{}

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

  • ManualRenewal: manual renewal. Default ManualRenewal.

RenewPeriodOptional

RenewPeriod interface{}
  • Type: interface{}

Property renewPeriod: Automatic renewal cycle, in months.

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


SasAntiRansomwareOptional

SasAntiRansomware interface{}
  • Type: interface{}

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

SasCspm interface{}
  • Type: interface{}

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

SasCspmSwitch interface{}
  • Type: interface{}

Property sasCspmSwitch: Cloud platform configuration check switch.

Value:

  • 0: No.
  • 1: Yes.

SasScOptional

SasSc interface{}
  • Type: interface{}

Property sasSc: Security screen.

Value:

  • true: Yes.
  • false: No.

SasSdkOptional

SasSdk interface{}
  • Type: interface{}

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

SasSdkSwitch interface{}
  • Type: interface{}

Property sasSdkSwitch: Malicious file detection SDK.


SasSlsStorageOptional

SasSlsStorage interface{}
  • Type: interface{}

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

SasWebguardBoolean interface{}
  • Type: interface{}

Property sasWebguardBoolean: Web tamper-proof switch.

Value:

  • 0: No.
  • 1: Yes.

SasWebguardOrderNumOptional

SasWebguardOrderNum interface{}
  • Type: interface{}

Property sasWebguardOrderNum: Tamper-proof authorization number.

Value:

  • 0: No
  • 1: Yes.

ThreatAnalysisOptional

ThreatAnalysis interface{}
  • Type: interface{}

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

ThreatAnalysisSwitch interface{}
  • Type: interface{}

Property threatAnalysisSwitch: Threat analysis.

Value:

  • 0: No.
  • 1: Yes.

VCoreOptional

VCore interface{}
  • Type: interface{}

Property vCore: Number of cores.


VulCountOptional

VulCount interface{}
  • Type: interface{}

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

VulSwitch interface{}
  • Type: interface{}

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.