Import
Threat Detection Instance can be imported using the id, e.g.
$ pulumi import alicloud:threatdetection/instance:Instance example <id>
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);@overload
def Instance(resource_name: str,
args: InstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
payment_type: Optional[str] = None,
sas_cspm: Optional[str] = None,
buy_number: Optional[str] = None,
honeypot: Optional[str] = None,
honeypot_switch: Optional[str] = None,
modify_type: Optional[str] = None,
container_image_scan: Optional[str] = None,
period: Optional[int] = None,
post_paid_flag: Optional[int] = None,
post_paid_host_auto_bind: Optional[int] = None,
post_paid_host_auto_bind_version: Optional[int] = None,
post_pay_module_switch: Optional[str] = None,
post_pay_module_switch_obj: Optional[InstancePostPayModuleSwitchObjArgs] = None,
rasp_count: Optional[str] = None,
renew_period: Optional[int] = None,
renewal_period_unit: Optional[str] = None,
renewal_status: Optional[str] = None,
container_image_scan_new: Optional[str] = None,
sas_anti_ransomware: Optional[str] = None,
sas_cspm_switch: Optional[str] = None,
sas_sc: Optional[bool] = None,
sas_sdk: Optional[str] = None,
sas_sdk_switch: Optional[str] = None,
sas_sls_storage: Optional[str] = None,
sas_webguard_boolean: Optional[str] = None,
sas_webguard_order_num: Optional[str] = None,
subscription_type: Optional[str] = None,
threat_analysis: Optional[str] = None,
threat_analysis_flow: Optional[str] = None,
threat_analysis_sls_storage: Optional[str] = None,
threat_analysis_switch: Optional[str] = None,
threat_analysis_switch1: Optional[str] = None,
v_core: Optional[str] = None,
version_code: Optional[str] = None,
vul_count: Optional[str] = None,
vul_switch: Optional[str] = None)func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: alicloud:threatdetection:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleinstanceResourceResourceFromThreatdetectioninstance = new AliCloud.ThreatDetection.Instance("exampleinstanceResourceResourceFromThreatdetectioninstance", new()
{
PaymentType = "string",
SasCspm = "string",
BuyNumber = "string",
Honeypot = "string",
HoneypotSwitch = "string",
ModifyType = "string",
Period = 0,
PostPaidFlag = 0,
PostPaidHostAutoBind = 0,
PostPaidHostAutoBindVersion = 0,
PostPayModuleSwitchObj = new AliCloud.ThreatDetection.Inputs.InstancePostPayModuleSwitchObjArgs
{
Agentless = 0,
AntiRansomware = 0,
BasicService = 0,
Cspm = 0,
Ctdr = 0,
CtdrStorage = 0,
PostHost = 0,
Rasp = 0,
Sdk = 0,
Serverless = 0,
Vul = 0,
WebLock = 0,
},
RaspCount = "string",
RenewPeriod = 0,
RenewalPeriodUnit = "string",
RenewalStatus = "string",
ContainerImageScanNew = "string",
SasAntiRansomware = "string",
SasCspmSwitch = "string",
SasSc = false,
SasSdk = "string",
SasSdkSwitch = "string",
SasSlsStorage = "string",
SasWebguardBoolean = "string",
SasWebguardOrderNum = "string",
SubscriptionType = "string",
ThreatAnalysis = "string",
ThreatAnalysisFlow = "string",
ThreatAnalysisSlsStorage = "string",
ThreatAnalysisSwitch = "string",
ThreatAnalysisSwitch1 = "string",
VCore = "string",
VersionCode = "string",
VulCount = "string",
VulSwitch = "string",
});
example, err := threatdetection.NewInstance(ctx, "exampleinstanceResourceResourceFromThreatdetectioninstance", &threatdetection.InstanceArgs{
PaymentType: pulumi.String("string"),
SasCspm: pulumi.String("string"),
BuyNumber: pulumi.String("string"),
Honeypot: pulumi.String("string"),
HoneypotSwitch: pulumi.String("string"),
ModifyType: pulumi.String("string"),
Period: pulumi.Int(0),
PostPaidFlag: pulumi.Int(0),
PostPaidHostAutoBind: pulumi.Int(0),
PostPaidHostAutoBindVersion: pulumi.Int(0),
PostPayModuleSwitchObj: &threatdetection.InstancePostPayModuleSwitchObjArgs{
Agentless: pulumi.Int(0),
AntiRansomware: pulumi.Int(0),
BasicService: pulumi.Int(0),
Cspm: pulumi.Int(0),
Ctdr: pulumi.Int(0),
CtdrStorage: pulumi.Int(0),
PostHost: pulumi.Int(0),
Rasp: pulumi.Int(0),
Sdk: pulumi.Int(0),
Serverless: pulumi.Int(0),
Vul: pulumi.Int(0),
WebLock: pulumi.Int(0),
},
RaspCount: pulumi.String("string"),
RenewPeriod: pulumi.Int(0),
RenewalPeriodUnit: pulumi.String("string"),
RenewalStatus: pulumi.String("string"),
ContainerImageScanNew: pulumi.String("string"),
SasAntiRansomware: pulumi.String("string"),
SasCspmSwitch: pulumi.String("string"),
SasSc: pulumi.Bool(false),
SasSdk: pulumi.String("string"),
SasSdkSwitch: pulumi.String("string"),
SasSlsStorage: pulumi.String("string"),
SasWebguardBoolean: pulumi.String("string"),
SasWebguardOrderNum: pulumi.String("string"),
SubscriptionType: pulumi.String("string"),
ThreatAnalysis: pulumi.String("string"),
ThreatAnalysisFlow: pulumi.String("string"),
ThreatAnalysisSlsStorage: pulumi.String("string"),
ThreatAnalysisSwitch: pulumi.String("string"),
ThreatAnalysisSwitch1: pulumi.String("string"),
VCore: pulumi.String("string"),
VersionCode: pulumi.String("string"),
VulCount: pulumi.String("string"),
VulSwitch: pulumi.String("string"),
})
var exampleinstanceResourceResourceFromThreatdetectioninstance = new com.pulumi.alicloud.threatdetection.Instance("exampleinstanceResourceResourceFromThreatdetectioninstance", com.pulumi.alicloud.threatdetection.InstanceArgs.builder()
.paymentType("string")
.sasCspm("string")
.buyNumber("string")
.honeypot("string")
.honeypotSwitch("string")
.modifyType("string")
.period(0)
.postPaidFlag(0)
.postPaidHostAutoBind(0)
.postPaidHostAutoBindVersion(0)
.postPayModuleSwitchObj(InstancePostPayModuleSwitchObjArgs.builder()
.agentless(0)
.antiRansomware(0)
.basicService(0)
.cspm(0)
.ctdr(0)
.ctdrStorage(0)
.postHost(0)
.rasp(0)
.sdk(0)
.serverless(0)
.vul(0)
.webLock(0)
.build())
.raspCount("string")
.renewPeriod(0)
.renewalPeriodUnit("string")
.renewalStatus("string")
.containerImageScanNew("string")
.sasAntiRansomware("string")
.sasCspmSwitch("string")
.sasSc(false)
.sasSdk("string")
.sasSdkSwitch("string")
.sasSlsStorage("string")
.sasWebguardBoolean("string")
.sasWebguardOrderNum("string")
.subscriptionType("string")
.threatAnalysis("string")
.threatAnalysisFlow("string")
.threatAnalysisSlsStorage("string")
.threatAnalysisSwitch("string")
.threatAnalysisSwitch1("string")
.vCore("string")
.versionCode("string")
.vulCount("string")
.vulSwitch("string")
.build());
exampleinstance_resource_resource_from_threatdetectioninstance = alicloud.threatdetection.Instance("exampleinstanceResourceResourceFromThreatdetectioninstance",
payment_type="string",
sas_cspm="string",
buy_number="string",
honeypot="string",
honeypot_switch="string",
modify_type="string",
period=0,
post_paid_flag=0,
post_paid_host_auto_bind=0,
post_paid_host_auto_bind_version=0,
post_pay_module_switch_obj={
"agentless": 0,
"anti_ransomware": 0,
"basic_service": 0,
"cspm": 0,
"ctdr": 0,
"ctdr_storage": 0,
"post_host": 0,
"rasp": 0,
"sdk": 0,
"serverless": 0,
"vul": 0,
"web_lock": 0,
},
rasp_count="string",
renew_period=0,
renewal_period_unit="string",
renewal_status="string",
container_image_scan_new="string",
sas_anti_ransomware="string",
sas_cspm_switch="string",
sas_sc=False,
sas_sdk="string",
sas_sdk_switch="string",
sas_sls_storage="string",
sas_webguard_boolean="string",
sas_webguard_order_num="string",
subscription_type="string",
threat_analysis="string",
threat_analysis_flow="string",
threat_analysis_sls_storage="string",
threat_analysis_switch="string",
threat_analysis_switch1="string",
v_core="string",
version_code="string",
vul_count="string",
vul_switch="string")
const exampleinstanceResourceResourceFromThreatdetectioninstance = new alicloud.threatdetection.Instance("exampleinstanceResourceResourceFromThreatdetectioninstance", {
paymentType: "string",
sasCspm: "string",
buyNumber: "string",
honeypot: "string",
honeypotSwitch: "string",
modifyType: "string",
period: 0,
postPaidFlag: 0,
postPaidHostAutoBind: 0,
postPaidHostAutoBindVersion: 0,
postPayModuleSwitchObj: {
agentless: 0,
antiRansomware: 0,
basicService: 0,
cspm: 0,
ctdr: 0,
ctdrStorage: 0,
postHost: 0,
rasp: 0,
sdk: 0,
serverless: 0,
vul: 0,
webLock: 0,
},
raspCount: "string",
renewPeriod: 0,
renewalPeriodUnit: "string",
renewalStatus: "string",
containerImageScanNew: "string",
sasAntiRansomware: "string",
sasCspmSwitch: "string",
sasSc: false,
sasSdk: "string",
sasSdkSwitch: "string",
sasSlsStorage: "string",
sasWebguardBoolean: "string",
sasWebguardOrderNum: "string",
subscriptionType: "string",
threatAnalysis: "string",
threatAnalysisFlow: "string",
threatAnalysisSlsStorage: "string",
threatAnalysisSwitch: "string",
threatAnalysisSwitch1: "string",
vCore: "string",
versionCode: "string",
vulCount: "string",
vulSwitch: "string",
});
type: alicloud:threatdetection:Instance
properties:
buyNumber: string
containerImageScanNew: string
honeypot: string
honeypotSwitch: string
modifyType: string
paymentType: string
period: 0
postPaidFlag: 0
postPaidHostAutoBind: 0
postPaidHostAutoBindVersion: 0
postPayModuleSwitchObj:
agentless: 0
antiRansomware: 0
basicService: 0
cspm: 0
ctdr: 0
ctdrStorage: 0
postHost: 0
rasp: 0
sdk: 0
serverless: 0
vul: 0
webLock: 0
raspCount: string
renewPeriod: 0
renewalPeriodUnit: string
renewalStatus: string
sasAntiRansomware: string
sasCspm: string
sasCspmSwitch: string
sasSc: false
sasSdk: string
sasSdkSwitch: string
sasSlsStorage: string
sasWebguardBoolean: string
sasWebguardOrderNum: string
subscriptionType: string
threatAnalysis: string
threatAnalysisFlow: string
threatAnalysisSlsStorage: string
threatAnalysisSwitch: string
threatAnalysisSwitch1: string
vCore: string
versionCode: string
vulCount: string
vulSwitch: string
Instance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Instance resource accepts the following input properties:
- Payment
Type string - The payment type of the resource
- Buy
Number string - Number of servers.
- Container
Image stringScan Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- Container
Image stringScan New Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- Honeypot string
Number of cloud honeypot licenses. Interval type, value interval:[20,500].
NOTE: This module can only be purchased when honeypot_switch = 1, starting with 20.
- Honeypot
Switch string - Cloud honeypot. Value:
- 1: Yes.
- 2: No.
- Modify
Type string - Change configuration type, value
- Upgrade: Upgrade.
- Downgrade: Downgrade.
- Period int
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
NOTE: must be set when creating a prepaid instance.
- Post
Paid intFlag - Post-paid signage. Value:
- Post
Paid intHost Auto Bind - Automatic binding switch for new assets in host and container protection. Valid values:
- Post
Paid intHost Auto Bind Version - The version that is automatically bound to the host and container protection of a pay-as-you-go instance. Valid values:
- Post
Pay stringModule Switch The switch status of the pay-as-you-go module. The value is a JSON string. Valid values:
- Key:
VUL: Vulnerability Repair Module.CSPM: Cloud Security Posture Management Module.AGENTLESS: Agentless Detection Module.SERVERLESS: Serverless Security Module.CTDR: Threat Analysis and Response Module.POST_HOST: Host and Container Security Module.SDK: Malicious File Detection SDK Module.RASP: Application Protection Module.CTDR_STORAGE: Log Management Module.ANTI_RANSOMWARE: Anti-Ransomware Management.- Value:
0means off,1means on
NOTE: Field
post_pay_module_switchhas been deprecated from provider version 1.269.0. New fieldpost_pay_module_switch_objinstead.- Post
Pay Pulumi.Module Switch Obj Ali Cloud. Threat Detection. Inputs. Instance Post Pay Module Switch Obj - Pay-as-you-go module switch. See
post_pay_module_switch_objbelow. - Rasp
Count string - Number of application protection licenses. Interval type, value interval:[1,100000000].
- Renew
Period int Automatic renewal cycle, in months.
NOTE: When
RenewalStatusis set toAutoRenewal, it must be set.- Renewal
Period stringUnit Automatic renewal period unit, value:
- M: month.
- Y: years.
NOTE: Must be set when RenewalStatus = AutoRenewal.
- Renewal
Status string Automatic renewal status, value:
- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
Default ManualRenewal.
- Sas
Anti stringRansomware Anti-ransomware capacity. Unit: GB. Interval type, value interval:[0,9999999999].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- Sas
Cspm string Cloud platform configuration check scan times, interval type, value range:[15000,9999999999].
NOTE: You must have sas_cspm_switch = 1 to purchase this module. The step size is 55000, that is, only multiples of 55000 can be filled in.
- Sas
Cspm stringSwitch - Cloud platform configuration check switch. Value:
- 0: No.
- 1: Yes.
- Sas
Sc bool - Security screen. Value:
- true: Yes.
- false: No.
- Sas
Sdk string Number of malicious file detections. Unit: 10,000 times. Interval type, value interval:[10,9999999999].
NOTE: 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.
- Sas
Sdk stringSwitch - Malicious file detection SDK.
- Sas
Sls stringStorage Log analysis storage capacity. Unit: GB. Interval type, value interval:[0,600000].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- Sas
Webguard stringBoolean - Web tamper-proof switch. Value:
- 0: No.
- 1: Yes.
- Sas
Webguard stringOrder Num - Tamper-proof authorization number. Value:
- 0: No 1: Yes.
- Subscription
Type string - The subscription type. Value:
- Subscription: Prepaid.
- PayAsYouGo: Post-paid.
- Threat
Analysis string Threat Analysis log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: 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.
- Threat
Analysis stringFlow Threat analysis and response log access traffic. After ThreatAnalysisSwitch1 is selected, it must be selected. Interval type, value interval:[0,9999999999].
NOTE: Step size is 100.
- Threat
Analysis stringSls Storage Threat analysis and response log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: The step size is 1000, that is, only multiples of 1000 can be filled in.
- Threat
Analysis stringSwitch - Threat analysis. Value:
- 0: No.
- 1: Yes.
- Threat
Analysis stringSwitch1 - Threat analysis and response switch (new), values:
- 0: No
- 1: Yes
- VCore string
- Number of cores.
- Version
Code string - Select the security center version. Value:
- level7: Antivirus Edition.
- level3: Premium version.
- level2: Enterprise Edition.
- level8: Ultimate.
- level10: Purchase value-added services only.
- Vul
Count string Vulnerability repair times, interval type, value range:[20,100000000].
NOTE: 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.
- Vul
Switch string Vulnerability fix switch. Value:
- 0: No.
- 1: Yes.
NOTE: When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.
- Payment
Type string - The payment type of the resource
- Buy
Number string - Number of servers.
- Container
Image stringScan Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- Container
Image stringScan New Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- Honeypot string
Number of cloud honeypot licenses. Interval type, value interval:[20,500].
NOTE: This module can only be purchased when honeypot_switch = 1, starting with 20.
- Honeypot
Switch string - Cloud honeypot. Value:
- 1: Yes.
- 2: No.
- Modify
Type string - Change configuration type, value
- Upgrade: Upgrade.
- Downgrade: Downgrade.
- Period int
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
NOTE: must be set when creating a prepaid instance.
- Post
Paid intFlag - Post-paid signage. Value:
- Post
Paid intHost Auto Bind - Automatic binding switch for new assets in host and container protection. Valid values:
- Post
Paid intHost Auto Bind Version - The version that is automatically bound to the host and container protection of a pay-as-you-go instance. Valid values:
- Post
Pay stringModule Switch The switch status of the pay-as-you-go module. The value is a JSON string. Valid values:
- Key:
VUL: Vulnerability Repair Module.CSPM: Cloud Security Posture Management Module.AGENTLESS: Agentless Detection Module.SERVERLESS: Serverless Security Module.CTDR: Threat Analysis and Response Module.POST_HOST: Host and Container Security Module.SDK: Malicious File Detection SDK Module.RASP: Application Protection Module.CTDR_STORAGE: Log Management Module.ANTI_RANSOMWARE: Anti-Ransomware Management.- Value:
0means off,1means on
NOTE: Field
post_pay_module_switchhas been deprecated from provider version 1.269.0. New fieldpost_pay_module_switch_objinstead.- Post
Pay InstanceModule Switch Obj Post Pay Module Switch Obj Args - Pay-as-you-go module switch. See
post_pay_module_switch_objbelow. - Rasp
Count string - Number of application protection licenses. Interval type, value interval:[1,100000000].
- Renew
Period int Automatic renewal cycle, in months.
NOTE: When
RenewalStatusis set toAutoRenewal, it must be set.- Renewal
Period stringUnit Automatic renewal period unit, value:
- M: month.
- Y: years.
NOTE: Must be set when RenewalStatus = AutoRenewal.
- Renewal
Status string Automatic renewal status, value:
- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
Default ManualRenewal.
- Sas
Anti stringRansomware Anti-ransomware capacity. Unit: GB. Interval type, value interval:[0,9999999999].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- Sas
Cspm string Cloud platform configuration check scan times, interval type, value range:[15000,9999999999].
NOTE: You must have sas_cspm_switch = 1 to purchase this module. The step size is 55000, that is, only multiples of 55000 can be filled in.
- Sas
Cspm stringSwitch - Cloud platform configuration check switch. Value:
- 0: No.
- 1: Yes.
- Sas
Sc bool - Security screen. Value:
- true: Yes.
- false: No.
- Sas
Sdk string Number of malicious file detections. Unit: 10,000 times. Interval type, value interval:[10,9999999999].
NOTE: 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.
- Sas
Sdk stringSwitch - Malicious file detection SDK.
- Sas
Sls stringStorage Log analysis storage capacity. Unit: GB. Interval type, value interval:[0,600000].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- Sas
Webguard stringBoolean - Web tamper-proof switch. Value:
- 0: No.
- 1: Yes.
- Sas
Webguard stringOrder Num - Tamper-proof authorization number. Value:
- 0: No 1: Yes.
- Subscription
Type string - The subscription type. Value:
- Subscription: Prepaid.
- PayAsYouGo: Post-paid.
- Threat
Analysis string Threat Analysis log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: 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.
- Threat
Analysis stringFlow Threat analysis and response log access traffic. After ThreatAnalysisSwitch1 is selected, it must be selected. Interval type, value interval:[0,9999999999].
NOTE: Step size is 100.
- Threat
Analysis stringSls Storage Threat analysis and response log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: The step size is 1000, that is, only multiples of 1000 can be filled in.
- Threat
Analysis stringSwitch - Threat analysis. Value:
- 0: No.
- 1: Yes.
- Threat
Analysis stringSwitch1 - Threat analysis and response switch (new), values:
- 0: No
- 1: Yes
- VCore string
- Number of cores.
- Version
Code string - Select the security center version. Value:
- level7: Antivirus Edition.
- level3: Premium version.
- level2: Enterprise Edition.
- level8: Ultimate.
- level10: Purchase value-added services only.
- Vul
Count string Vulnerability repair times, interval type, value range:[20,100000000].
NOTE: 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.
- Vul
Switch string Vulnerability fix switch. Value:
- 0: No.
- 1: Yes.
NOTE: When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.
- payment
Type String - The payment type of the resource
- buy
Number String - Number of servers.
- container
Image StringScan Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- container
Image StringScan New Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- honeypot String
Number of cloud honeypot licenses. Interval type, value interval:[20,500].
NOTE: This module can only be purchased when honeypot_switch = 1, starting with 20.
- honeypot
Switch String - Cloud honeypot. Value:
- 1: Yes.
- 2: No.
- modify
Type String - Change configuration type, value
- Upgrade: Upgrade.
- Downgrade: Downgrade.
- period Integer
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
NOTE: must be set when creating a prepaid instance.
- post
Paid IntegerFlag - Post-paid signage. Value:
- post
Paid IntegerHost Auto Bind - Automatic binding switch for new assets in host and container protection. Valid values:
- post
Paid IntegerHost Auto Bind Version - The version that is automatically bound to the host and container protection of a pay-as-you-go instance. Valid values:
- post
Pay StringModule Switch The switch status of the pay-as-you-go module. The value is a JSON string. Valid values:
- Key:
VUL: Vulnerability Repair Module.CSPM: Cloud Security Posture Management Module.AGENTLESS: Agentless Detection Module.SERVERLESS: Serverless Security Module.CTDR: Threat Analysis and Response Module.POST_HOST: Host and Container Security Module.SDK: Malicious File Detection SDK Module.RASP: Application Protection Module.CTDR_STORAGE: Log Management Module.ANTI_RANSOMWARE: Anti-Ransomware Management.- Value:
0means off,1means on
NOTE: Field
post_pay_module_switchhas been deprecated from provider version 1.269.0. New fieldpost_pay_module_switch_objinstead.- post
Pay InstanceModule Switch Obj Post Pay Module Switch Obj - Pay-as-you-go module switch. See
post_pay_module_switch_objbelow. - rasp
Count String - Number of application protection licenses. Interval type, value interval:[1,100000000].
- renew
Period Integer Automatic renewal cycle, in months.
NOTE: When
RenewalStatusis set toAutoRenewal, it must be set.- renewal
Period StringUnit Automatic renewal period unit, value:
- M: month.
- Y: years.
NOTE: Must be set when RenewalStatus = AutoRenewal.
- renewal
Status String Automatic renewal status, value:
- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
Default ManualRenewal.
- sas
Anti StringRansomware Anti-ransomware capacity. Unit: GB. Interval type, value interval:[0,9999999999].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas
Cspm String Cloud platform configuration check scan times, interval type, value range:[15000,9999999999].
NOTE: You must have sas_cspm_switch = 1 to purchase this module. The step size is 55000, that is, only multiples of 55000 can be filled in.
- sas
Cspm StringSwitch - Cloud platform configuration check switch. Value:
- 0: No.
- 1: Yes.
- sas
Sc Boolean - Security screen. Value:
- true: Yes.
- false: No.
- sas
Sdk String Number of malicious file detections. Unit: 10,000 times. Interval type, value interval:[10,9999999999].
NOTE: 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.
- sas
Sdk StringSwitch - Malicious file detection SDK.
- sas
Sls StringStorage Log analysis storage capacity. Unit: GB. Interval type, value interval:[0,600000].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas
Webguard StringBoolean - Web tamper-proof switch. Value:
- 0: No.
- 1: Yes.
- sas
Webguard StringOrder Num - Tamper-proof authorization number. Value:
- 0: No 1: Yes.
- subscription
Type String - The subscription type. Value:
- Subscription: Prepaid.
- PayAsYouGo: Post-paid.
- threat
Analysis String Threat Analysis log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: 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.
- threat
Analysis StringFlow Threat analysis and response log access traffic. After ThreatAnalysisSwitch1 is selected, it must be selected. Interval type, value interval:[0,9999999999].
NOTE: Step size is 100.
- threat
Analysis StringSls Storage Threat analysis and response log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: The step size is 1000, that is, only multiples of 1000 can be filled in.
- threat
Analysis StringSwitch - Threat analysis. Value:
- 0: No.
- 1: Yes.
- threat
Analysis StringSwitch1 - Threat analysis and response switch (new), values:
- 0: No
- 1: Yes
- v
Core String - Number of cores.
- version
Code String - Select the security center version. Value:
- level7: Antivirus Edition.
- level3: Premium version.
- level2: Enterprise Edition.
- level8: Ultimate.
- level10: Purchase value-added services only.
- vul
Count String Vulnerability repair times, interval type, value range:[20,100000000].
NOTE: 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.
- vul
Switch String Vulnerability fix switch. Value:
- 0: No.
- 1: Yes.
NOTE: When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.
- payment
Type string - The payment type of the resource
- buy
Number string - Number of servers.
- container
Image stringScan Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- container
Image stringScan New Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- honeypot string
Number of cloud honeypot licenses. Interval type, value interval:[20,500].
NOTE: This module can only be purchased when honeypot_switch = 1, starting with 20.
- honeypot
Switch string - Cloud honeypot. Value:
- 1: Yes.
- 2: No.
- modify
Type string - Change configuration type, value
- Upgrade: Upgrade.
- Downgrade: Downgrade.
- period number
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
NOTE: must be set when creating a prepaid instance.
- post
Paid numberFlag - Post-paid signage. Value:
- post
Paid numberHost Auto Bind - Automatic binding switch for new assets in host and container protection. Valid values:
- post
Paid numberHost Auto Bind Version - The version that is automatically bound to the host and container protection of a pay-as-you-go instance. Valid values:
- post
Pay stringModule Switch The switch status of the pay-as-you-go module. The value is a JSON string. Valid values:
- Key:
VUL: Vulnerability Repair Module.CSPM: Cloud Security Posture Management Module.AGENTLESS: Agentless Detection Module.SERVERLESS: Serverless Security Module.CTDR: Threat Analysis and Response Module.POST_HOST: Host and Container Security Module.SDK: Malicious File Detection SDK Module.RASP: Application Protection Module.CTDR_STORAGE: Log Management Module.ANTI_RANSOMWARE: Anti-Ransomware Management.- Value:
0means off,1means on
NOTE: Field
post_pay_module_switchhas been deprecated from provider version 1.269.0. New fieldpost_pay_module_switch_objinstead.- post
Pay InstanceModule Switch Obj Post Pay Module Switch Obj - Pay-as-you-go module switch. See
post_pay_module_switch_objbelow. - rasp
Count string - Number of application protection licenses. Interval type, value interval:[1,100000000].
- renew
Period number Automatic renewal cycle, in months.
NOTE: When
RenewalStatusis set toAutoRenewal, it must be set.- renewal
Period stringUnit Automatic renewal period unit, value:
- M: month.
- Y: years.
NOTE: Must be set when RenewalStatus = AutoRenewal.
- renewal
Status string Automatic renewal status, value:
- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
Default ManualRenewal.
- sas
Anti stringRansomware Anti-ransomware capacity. Unit: GB. Interval type, value interval:[0,9999999999].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas
Cspm string Cloud platform configuration check scan times, interval type, value range:[15000,9999999999].
NOTE: You must have sas_cspm_switch = 1 to purchase this module. The step size is 55000, that is, only multiples of 55000 can be filled in.
- sas
Cspm stringSwitch - Cloud platform configuration check switch. Value:
- 0: No.
- 1: Yes.
- sas
Sc boolean - Security screen. Value:
- true: Yes.
- false: No.
- sas
Sdk string Number of malicious file detections. Unit: 10,000 times. Interval type, value interval:[10,9999999999].
NOTE: 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.
- sas
Sdk stringSwitch - Malicious file detection SDK.
- sas
Sls stringStorage Log analysis storage capacity. Unit: GB. Interval type, value interval:[0,600000].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas
Webguard stringBoolean - Web tamper-proof switch. Value:
- 0: No.
- 1: Yes.
- sas
Webguard stringOrder Num - Tamper-proof authorization number. Value:
- 0: No 1: Yes.
- subscription
Type string - The subscription type. Value:
- Subscription: Prepaid.
- PayAsYouGo: Post-paid.
- threat
Analysis string Threat Analysis log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: 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.
- threat
Analysis stringFlow Threat analysis and response log access traffic. After ThreatAnalysisSwitch1 is selected, it must be selected. Interval type, value interval:[0,9999999999].
NOTE: Step size is 100.
- threat
Analysis stringSls Storage Threat analysis and response log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: The step size is 1000, that is, only multiples of 1000 can be filled in.
- threat
Analysis stringSwitch - Threat analysis. Value:
- 0: No.
- 1: Yes.
- threat
Analysis stringSwitch1 - Threat analysis and response switch (new), values:
- 0: No
- 1: Yes
- v
Core string - Number of cores.
- version
Code string - Select the security center version. Value:
- level7: Antivirus Edition.
- level3: Premium version.
- level2: Enterprise Edition.
- level8: Ultimate.
- level10: Purchase value-added services only.
- vul
Count string Vulnerability repair times, interval type, value range:[20,100000000].
NOTE: 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.
- vul
Switch string Vulnerability fix switch. Value:
- 0: No.
- 1: Yes.
NOTE: When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.
- payment_
type str - The payment type of the resource
- buy_
number str - Number of servers.
- container_
image_ strscan Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- container_
image_ strscan_ new Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- honeypot str
Number of cloud honeypot licenses. Interval type, value interval:[20,500].
NOTE: This module can only be purchased when honeypot_switch = 1, starting with 20.
- honeypot_
switch str - Cloud honeypot. Value:
- 1: Yes.
- 2: No.
- modify_
type str - Change configuration type, value
- Upgrade: Upgrade.
- Downgrade: Downgrade.
- period int
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
NOTE: must be set when creating a prepaid instance.
- post_
paid_ intflag - Post-paid signage. Value:
- post_
paid_ inthost_ auto_ bind - Automatic binding switch for new assets in host and container protection. Valid values:
- post_
paid_ inthost_ auto_ bind_ version - The version that is automatically bound to the host and container protection of a pay-as-you-go instance. Valid values:
- post_
pay_ strmodule_ switch The switch status of the pay-as-you-go module. The value is a JSON string. Valid values:
- Key:
VUL: Vulnerability Repair Module.CSPM: Cloud Security Posture Management Module.AGENTLESS: Agentless Detection Module.SERVERLESS: Serverless Security Module.CTDR: Threat Analysis and Response Module.POST_HOST: Host and Container Security Module.SDK: Malicious File Detection SDK Module.RASP: Application Protection Module.CTDR_STORAGE: Log Management Module.ANTI_RANSOMWARE: Anti-Ransomware Management.- Value:
0means off,1means on
NOTE: Field
post_pay_module_switchhas been deprecated from provider version 1.269.0. New fieldpost_pay_module_switch_objinstead.- post_
pay_ Instancemodule_ switch_ obj Post Pay Module Switch Obj Args - Pay-as-you-go module switch. See
post_pay_module_switch_objbelow. - rasp_
count str - Number of application protection licenses. Interval type, value interval:[1,100000000].
- renew_
period int Automatic renewal cycle, in months.
NOTE: When
RenewalStatusis set toAutoRenewal, it must be set.- renewal_
period_ strunit Automatic renewal period unit, value:
- M: month.
- Y: years.
NOTE: Must be set when RenewalStatus = AutoRenewal.
- renewal_
status str Automatic renewal status, value:
- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
Default ManualRenewal.
- sas_
anti_ strransomware Anti-ransomware capacity. Unit: GB. Interval type, value interval:[0,9999999999].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas_
cspm str Cloud platform configuration check scan times, interval type, value range:[15000,9999999999].
NOTE: You must have sas_cspm_switch = 1 to purchase this module. The step size is 55000, that is, only multiples of 55000 can be filled in.
- sas_
cspm_ strswitch - Cloud platform configuration check switch. Value:
- 0: No.
- 1: Yes.
- sas_
sc bool - Security screen. Value:
- true: Yes.
- false: No.
- sas_
sdk str Number of malicious file detections. Unit: 10,000 times. Interval type, value interval:[10,9999999999].
NOTE: 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.
- sas_
sdk_ strswitch - Malicious file detection SDK.
- sas_
sls_ strstorage Log analysis storage capacity. Unit: GB. Interval type, value interval:[0,600000].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas_
webguard_ strboolean - Web tamper-proof switch. Value:
- 0: No.
- 1: Yes.
- sas_
webguard_ strorder_ num - Tamper-proof authorization number. Value:
- 0: No 1: Yes.
- subscription_
type str - The subscription type. Value:
- Subscription: Prepaid.
- PayAsYouGo: Post-paid.
- threat_
analysis str Threat Analysis log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: 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.
- threat_
analysis_ strflow Threat analysis and response log access traffic. After ThreatAnalysisSwitch1 is selected, it must be selected. Interval type, value interval:[0,9999999999].
NOTE: Step size is 100.
- threat_
analysis_ strsls_ storage Threat analysis and response log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: The step size is 1000, that is, only multiples of 1000 can be filled in.
- threat_
analysis_ strswitch - Threat analysis. Value:
- 0: No.
- 1: Yes.
- threat_
analysis_ strswitch1 - Threat analysis and response switch (new), values:
- 0: No
- 1: Yes
- v_
core str - Number of cores.
- version_
code str - Select the security center version. Value:
- level7: Antivirus Edition.
- level3: Premium version.
- level2: Enterprise Edition.
- level8: Ultimate.
- level10: Purchase value-added services only.
- vul_
count str Vulnerability repair times, interval type, value range:[20,100000000].
NOTE: 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.
- vul_
switch str Vulnerability fix switch. Value:
- 0: No.
- 1: Yes.
NOTE: When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.
- payment
Type String - The payment type of the resource
- buy
Number String - Number of servers.
- container
Image StringScan Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- container
Image StringScan New Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- honeypot String
Number of cloud honeypot licenses. Interval type, value interval:[20,500].
NOTE: This module can only be purchased when honeypot_switch = 1, starting with 20.
- honeypot
Switch String - Cloud honeypot. Value:
- 1: Yes.
- 2: No.
- modify
Type String - Change configuration type, value
- Upgrade: Upgrade.
- Downgrade: Downgrade.
- period Number
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
NOTE: must be set when creating a prepaid instance.
- post
Paid NumberFlag - Post-paid signage. Value:
- post
Paid NumberHost Auto Bind - Automatic binding switch for new assets in host and container protection. Valid values:
- post
Paid NumberHost Auto Bind Version - The version that is automatically bound to the host and container protection of a pay-as-you-go instance. Valid values:
- post
Pay StringModule Switch The switch status of the pay-as-you-go module. The value is a JSON string. Valid values:
- Key:
VUL: Vulnerability Repair Module.CSPM: Cloud Security Posture Management Module.AGENTLESS: Agentless Detection Module.SERVERLESS: Serverless Security Module.CTDR: Threat Analysis and Response Module.POST_HOST: Host and Container Security Module.SDK: Malicious File Detection SDK Module.RASP: Application Protection Module.CTDR_STORAGE: Log Management Module.ANTI_RANSOMWARE: Anti-Ransomware Management.- Value:
0means off,1means on
NOTE: Field
post_pay_module_switchhas been deprecated from provider version 1.269.0. New fieldpost_pay_module_switch_objinstead.- post
Pay Property MapModule Switch Obj - Pay-as-you-go module switch. See
post_pay_module_switch_objbelow. - rasp
Count String - Number of application protection licenses. Interval type, value interval:[1,100000000].
- renew
Period Number Automatic renewal cycle, in months.
NOTE: When
RenewalStatusis set toAutoRenewal, it must be set.- renewal
Period StringUnit Automatic renewal period unit, value:
- M: month.
- Y: years.
NOTE: Must be set when RenewalStatus = AutoRenewal.
- renewal
Status String Automatic renewal status, value:
- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
Default ManualRenewal.
- sas
Anti StringRansomware Anti-ransomware capacity. Unit: GB. Interval type, value interval:[0,9999999999].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas
Cspm String Cloud platform configuration check scan times, interval type, value range:[15000,9999999999].
NOTE: You must have sas_cspm_switch = 1 to purchase this module. The step size is 55000, that is, only multiples of 55000 can be filled in.
- sas
Cspm StringSwitch - Cloud platform configuration check switch. Value:
- 0: No.
- 1: Yes.
- sas
Sc Boolean - Security screen. Value:
- true: Yes.
- false: No.
- sas
Sdk String Number of malicious file detections. Unit: 10,000 times. Interval type, value interval:[10,9999999999].
NOTE: 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.
- sas
Sdk StringSwitch - Malicious file detection SDK.
- sas
Sls StringStorage Log analysis storage capacity. Unit: GB. Interval type, value interval:[0,600000].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas
Webguard StringBoolean - Web tamper-proof switch. Value:
- 0: No.
- 1: Yes.
- sas
Webguard StringOrder Num - Tamper-proof authorization number. Value:
- 0: No 1: Yes.
- subscription
Type String - The subscription type. Value:
- Subscription: Prepaid.
- PayAsYouGo: Post-paid.
- threat
Analysis String Threat Analysis log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: 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.
- threat
Analysis StringFlow Threat analysis and response log access traffic. After ThreatAnalysisSwitch1 is selected, it must be selected. Interval type, value interval:[0,9999999999].
NOTE: Step size is 100.
- threat
Analysis StringSls Storage Threat analysis and response log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: The step size is 1000, that is, only multiples of 1000 can be filled in.
- threat
Analysis StringSwitch - Threat analysis. Value:
- 0: No.
- 1: Yes.
- threat
Analysis StringSwitch1 - Threat analysis and response switch (new), values:
- 0: No
- 1: Yes
- v
Core String - Number of cores.
- version
Code String - Select the security center version. Value:
- level7: Antivirus Edition.
- level3: Premium version.
- level2: Enterprise Edition.
- level8: Ultimate.
- level10: Purchase value-added services only.
- vul
Count String Vulnerability repair times, interval type, value range:[20,100000000].
NOTE: 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.
- vul
Switch String Vulnerability fix switch. Value:
- 0: No.
- 1: Yes.
NOTE: When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Create
Time string - The creation time of the resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The resource attribute field representing the resource status.
- Create
Time string - The creation time of the resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The resource attribute field representing the resource status.
- create
Time String - The creation time of the resource
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The resource attribute field representing the resource status.
- create
Time string - The creation time of the resource
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The resource attribute field representing the resource status.
- create_
time str - The creation time of the resource
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The resource attribute field representing the resource status.
- create
Time String - The creation time of the resource
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The resource attribute field representing the resource status.
Look up Existing Instance Resource
Get an existing Instance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InstanceState, opts?: CustomResourceOptions): Instance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
buy_number: Optional[str] = None,
container_image_scan: Optional[str] = None,
container_image_scan_new: Optional[str] = None,
create_time: Optional[str] = None,
honeypot: Optional[str] = None,
honeypot_switch: Optional[str] = None,
modify_type: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[int] = None,
post_paid_flag: Optional[int] = None,
post_paid_host_auto_bind: Optional[int] = None,
post_paid_host_auto_bind_version: Optional[int] = None,
post_pay_module_switch: Optional[str] = None,
post_pay_module_switch_obj: Optional[InstancePostPayModuleSwitchObjArgs] = None,
rasp_count: Optional[str] = None,
renew_period: Optional[int] = None,
renewal_period_unit: Optional[str] = None,
renewal_status: Optional[str] = None,
sas_anti_ransomware: Optional[str] = None,
sas_cspm: Optional[str] = None,
sas_cspm_switch: Optional[str] = None,
sas_sc: Optional[bool] = None,
sas_sdk: Optional[str] = None,
sas_sdk_switch: Optional[str] = None,
sas_sls_storage: Optional[str] = None,
sas_webguard_boolean: Optional[str] = None,
sas_webguard_order_num: Optional[str] = None,
status: Optional[str] = None,
subscription_type: Optional[str] = None,
threat_analysis: Optional[str] = None,
threat_analysis_flow: Optional[str] = None,
threat_analysis_sls_storage: Optional[str] = None,
threat_analysis_switch: Optional[str] = None,
threat_analysis_switch1: Optional[str] = None,
v_core: Optional[str] = None,
version_code: Optional[str] = None,
vul_count: Optional[str] = None,
vul_switch: Optional[str] = None) -> Instancefunc GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)resources: _: type: alicloud:threatdetection:Instance get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Buy
Number string - Number of servers.
- Container
Image stringScan Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- Container
Image stringScan New Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- Create
Time string - The creation time of the resource
- Honeypot string
Number of cloud honeypot licenses. Interval type, value interval:[20,500].
NOTE: This module can only be purchased when honeypot_switch = 1, starting with 20.
- Honeypot
Switch string - Cloud honeypot. Value:
- 1: Yes.
- 2: No.
- Modify
Type string - Change configuration type, value
- Upgrade: Upgrade.
- Downgrade: Downgrade.
- Payment
Type string - The payment type of the resource
- Period int
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
NOTE: must be set when creating a prepaid instance.
- Post
Paid intFlag - Post-paid signage. Value:
- Post
Paid intHost Auto Bind - Automatic binding switch for new assets in host and container protection. Valid values:
- Post
Paid intHost Auto Bind Version - The version that is automatically bound to the host and container protection of a pay-as-you-go instance. Valid values:
- Post
Pay stringModule Switch The switch status of the pay-as-you-go module. The value is a JSON string. Valid values:
- Key:
VUL: Vulnerability Repair Module.CSPM: Cloud Security Posture Management Module.AGENTLESS: Agentless Detection Module.SERVERLESS: Serverless Security Module.CTDR: Threat Analysis and Response Module.POST_HOST: Host and Container Security Module.SDK: Malicious File Detection SDK Module.RASP: Application Protection Module.CTDR_STORAGE: Log Management Module.ANTI_RANSOMWARE: Anti-Ransomware Management.- Value:
0means off,1means on
NOTE: Field
post_pay_module_switchhas been deprecated from provider version 1.269.0. New fieldpost_pay_module_switch_objinstead.- Post
Pay Pulumi.Module Switch Obj Ali Cloud. Threat Detection. Inputs. Instance Post Pay Module Switch Obj - Pay-as-you-go module switch. See
post_pay_module_switch_objbelow. - Rasp
Count string - Number of application protection licenses. Interval type, value interval:[1,100000000].
- Renew
Period int Automatic renewal cycle, in months.
NOTE: When
RenewalStatusis set toAutoRenewal, it must be set.- Renewal
Period stringUnit Automatic renewal period unit, value:
- M: month.
- Y: years.
NOTE: Must be set when RenewalStatus = AutoRenewal.
- Renewal
Status string Automatic renewal status, value:
- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
Default ManualRenewal.
- Sas
Anti stringRansomware Anti-ransomware capacity. Unit: GB. Interval type, value interval:[0,9999999999].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- Sas
Cspm string Cloud platform configuration check scan times, interval type, value range:[15000,9999999999].
NOTE: You must have sas_cspm_switch = 1 to purchase this module. The step size is 55000, that is, only multiples of 55000 can be filled in.
- Sas
Cspm stringSwitch - Cloud platform configuration check switch. Value:
- 0: No.
- 1: Yes.
- Sas
Sc bool - Security screen. Value:
- true: Yes.
- false: No.
- Sas
Sdk string Number of malicious file detections. Unit: 10,000 times. Interval type, value interval:[10,9999999999].
NOTE: 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.
- Sas
Sdk stringSwitch - Malicious file detection SDK.
- Sas
Sls stringStorage Log analysis storage capacity. Unit: GB. Interval type, value interval:[0,600000].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- Sas
Webguard stringBoolean - Web tamper-proof switch. Value:
- 0: No.
- 1: Yes.
- Sas
Webguard stringOrder Num - Tamper-proof authorization number. Value:
- 0: No 1: Yes.
- Status string
- The resource attribute field representing the resource status.
- Subscription
Type string - The subscription type. Value:
- Subscription: Prepaid.
- PayAsYouGo: Post-paid.
- Threat
Analysis string Threat Analysis log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: 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.
- Threat
Analysis stringFlow Threat analysis and response log access traffic. After ThreatAnalysisSwitch1 is selected, it must be selected. Interval type, value interval:[0,9999999999].
NOTE: Step size is 100.
- Threat
Analysis stringSls Storage Threat analysis and response log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: The step size is 1000, that is, only multiples of 1000 can be filled in.
- Threat
Analysis stringSwitch - Threat analysis. Value:
- 0: No.
- 1: Yes.
- Threat
Analysis stringSwitch1 - Threat analysis and response switch (new), values:
- 0: No
- 1: Yes
- VCore string
- Number of cores.
- Version
Code string - Select the security center version. Value:
- level7: Antivirus Edition.
- level3: Premium version.
- level2: Enterprise Edition.
- level8: Ultimate.
- level10: Purchase value-added services only.
- Vul
Count string Vulnerability repair times, interval type, value range:[20,100000000].
NOTE: 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.
- Vul
Switch string Vulnerability fix switch. Value:
- 0: No.
- 1: Yes.
NOTE: When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.
- Buy
Number string - Number of servers.
- Container
Image stringScan Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- Container
Image stringScan New Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- Create
Time string - The creation time of the resource
- Honeypot string
Number of cloud honeypot licenses. Interval type, value interval:[20,500].
NOTE: This module can only be purchased when honeypot_switch = 1, starting with 20.
- Honeypot
Switch string - Cloud honeypot. Value:
- 1: Yes.
- 2: No.
- Modify
Type string - Change configuration type, value
- Upgrade: Upgrade.
- Downgrade: Downgrade.
- Payment
Type string - The payment type of the resource
- Period int
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
NOTE: must be set when creating a prepaid instance.
- Post
Paid intFlag - Post-paid signage. Value:
- Post
Paid intHost Auto Bind - Automatic binding switch for new assets in host and container protection. Valid values:
- Post
Paid intHost Auto Bind Version - The version that is automatically bound to the host and container protection of a pay-as-you-go instance. Valid values:
- Post
Pay stringModule Switch The switch status of the pay-as-you-go module. The value is a JSON string. Valid values:
- Key:
VUL: Vulnerability Repair Module.CSPM: Cloud Security Posture Management Module.AGENTLESS: Agentless Detection Module.SERVERLESS: Serverless Security Module.CTDR: Threat Analysis and Response Module.POST_HOST: Host and Container Security Module.SDK: Malicious File Detection SDK Module.RASP: Application Protection Module.CTDR_STORAGE: Log Management Module.ANTI_RANSOMWARE: Anti-Ransomware Management.- Value:
0means off,1means on
NOTE: Field
post_pay_module_switchhas been deprecated from provider version 1.269.0. New fieldpost_pay_module_switch_objinstead.- Post
Pay InstanceModule Switch Obj Post Pay Module Switch Obj Args - Pay-as-you-go module switch. See
post_pay_module_switch_objbelow. - Rasp
Count string - Number of application protection licenses. Interval type, value interval:[1,100000000].
- Renew
Period int Automatic renewal cycle, in months.
NOTE: When
RenewalStatusis set toAutoRenewal, it must be set.- Renewal
Period stringUnit Automatic renewal period unit, value:
- M: month.
- Y: years.
NOTE: Must be set when RenewalStatus = AutoRenewal.
- Renewal
Status string Automatic renewal status, value:
- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
Default ManualRenewal.
- Sas
Anti stringRansomware Anti-ransomware capacity. Unit: GB. Interval type, value interval:[0,9999999999].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- Sas
Cspm string Cloud platform configuration check scan times, interval type, value range:[15000,9999999999].
NOTE: You must have sas_cspm_switch = 1 to purchase this module. The step size is 55000, that is, only multiples of 55000 can be filled in.
- Sas
Cspm stringSwitch - Cloud platform configuration check switch. Value:
- 0: No.
- 1: Yes.
- Sas
Sc bool - Security screen. Value:
- true: Yes.
- false: No.
- Sas
Sdk string Number of malicious file detections. Unit: 10,000 times. Interval type, value interval:[10,9999999999].
NOTE: 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.
- Sas
Sdk stringSwitch - Malicious file detection SDK.
- Sas
Sls stringStorage Log analysis storage capacity. Unit: GB. Interval type, value interval:[0,600000].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- Sas
Webguard stringBoolean - Web tamper-proof switch. Value:
- 0: No.
- 1: Yes.
- Sas
Webguard stringOrder Num - Tamper-proof authorization number. Value:
- 0: No 1: Yes.
- Status string
- The resource attribute field representing the resource status.
- Subscription
Type string - The subscription type. Value:
- Subscription: Prepaid.
- PayAsYouGo: Post-paid.
- Threat
Analysis string Threat Analysis log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: 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.
- Threat
Analysis stringFlow Threat analysis and response log access traffic. After ThreatAnalysisSwitch1 is selected, it must be selected. Interval type, value interval:[0,9999999999].
NOTE: Step size is 100.
- Threat
Analysis stringSls Storage Threat analysis and response log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: The step size is 1000, that is, only multiples of 1000 can be filled in.
- Threat
Analysis stringSwitch - Threat analysis. Value:
- 0: No.
- 1: Yes.
- Threat
Analysis stringSwitch1 - Threat analysis and response switch (new), values:
- 0: No
- 1: Yes
- VCore string
- Number of cores.
- Version
Code string - Select the security center version. Value:
- level7: Antivirus Edition.
- level3: Premium version.
- level2: Enterprise Edition.
- level8: Ultimate.
- level10: Purchase value-added services only.
- Vul
Count string Vulnerability repair times, interval type, value range:[20,100000000].
NOTE: 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.
- Vul
Switch string Vulnerability fix switch. Value:
- 0: No.
- 1: Yes.
NOTE: When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.
- buy
Number String - Number of servers.
- container
Image StringScan Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- container
Image StringScan New Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- create
Time String - The creation time of the resource
- honeypot String
Number of cloud honeypot licenses. Interval type, value interval:[20,500].
NOTE: This module can only be purchased when honeypot_switch = 1, starting with 20.
- honeypot
Switch String - Cloud honeypot. Value:
- 1: Yes.
- 2: No.
- modify
Type String - Change configuration type, value
- Upgrade: Upgrade.
- Downgrade: Downgrade.
- payment
Type String - The payment type of the resource
- period Integer
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
NOTE: must be set when creating a prepaid instance.
- post
Paid IntegerFlag - Post-paid signage. Value:
- post
Paid IntegerHost Auto Bind - Automatic binding switch for new assets in host and container protection. Valid values:
- post
Paid IntegerHost Auto Bind Version - The version that is automatically bound to the host and container protection of a pay-as-you-go instance. Valid values:
- post
Pay StringModule Switch The switch status of the pay-as-you-go module. The value is a JSON string. Valid values:
- Key:
VUL: Vulnerability Repair Module.CSPM: Cloud Security Posture Management Module.AGENTLESS: Agentless Detection Module.SERVERLESS: Serverless Security Module.CTDR: Threat Analysis and Response Module.POST_HOST: Host and Container Security Module.SDK: Malicious File Detection SDK Module.RASP: Application Protection Module.CTDR_STORAGE: Log Management Module.ANTI_RANSOMWARE: Anti-Ransomware Management.- Value:
0means off,1means on
NOTE: Field
post_pay_module_switchhas been deprecated from provider version 1.269.0. New fieldpost_pay_module_switch_objinstead.- post
Pay InstanceModule Switch Obj Post Pay Module Switch Obj - Pay-as-you-go module switch. See
post_pay_module_switch_objbelow. - rasp
Count String - Number of application protection licenses. Interval type, value interval:[1,100000000].
- renew
Period Integer Automatic renewal cycle, in months.
NOTE: When
RenewalStatusis set toAutoRenewal, it must be set.- renewal
Period StringUnit Automatic renewal period unit, value:
- M: month.
- Y: years.
NOTE: Must be set when RenewalStatus = AutoRenewal.
- renewal
Status String Automatic renewal status, value:
- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
Default ManualRenewal.
- sas
Anti StringRansomware Anti-ransomware capacity. Unit: GB. Interval type, value interval:[0,9999999999].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas
Cspm String Cloud platform configuration check scan times, interval type, value range:[15000,9999999999].
NOTE: You must have sas_cspm_switch = 1 to purchase this module. The step size is 55000, that is, only multiples of 55000 can be filled in.
- sas
Cspm StringSwitch - Cloud platform configuration check switch. Value:
- 0: No.
- 1: Yes.
- sas
Sc Boolean - Security screen. Value:
- true: Yes.
- false: No.
- sas
Sdk String Number of malicious file detections. Unit: 10,000 times. Interval type, value interval:[10,9999999999].
NOTE: 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.
- sas
Sdk StringSwitch - Malicious file detection SDK.
- sas
Sls StringStorage Log analysis storage capacity. Unit: GB. Interval type, value interval:[0,600000].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas
Webguard StringBoolean - Web tamper-proof switch. Value:
- 0: No.
- 1: Yes.
- sas
Webguard StringOrder Num - Tamper-proof authorization number. Value:
- 0: No 1: Yes.
- status String
- The resource attribute field representing the resource status.
- subscription
Type String - The subscription type. Value:
- Subscription: Prepaid.
- PayAsYouGo: Post-paid.
- threat
Analysis String Threat Analysis log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: 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.
- threat
Analysis StringFlow Threat analysis and response log access traffic. After ThreatAnalysisSwitch1 is selected, it must be selected. Interval type, value interval:[0,9999999999].
NOTE: Step size is 100.
- threat
Analysis StringSls Storage Threat analysis and response log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: The step size is 1000, that is, only multiples of 1000 can be filled in.
- threat
Analysis StringSwitch - Threat analysis. Value:
- 0: No.
- 1: Yes.
- threat
Analysis StringSwitch1 - Threat analysis and response switch (new), values:
- 0: No
- 1: Yes
- v
Core String - Number of cores.
- version
Code String - Select the security center version. Value:
- level7: Antivirus Edition.
- level3: Premium version.
- level2: Enterprise Edition.
- level8: Ultimate.
- level10: Purchase value-added services only.
- vul
Count String Vulnerability repair times, interval type, value range:[20,100000000].
NOTE: 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.
- vul
Switch String Vulnerability fix switch. Value:
- 0: No.
- 1: Yes.
NOTE: When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.
- buy
Number string - Number of servers.
- container
Image stringScan Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- container
Image stringScan New Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- create
Time string - The creation time of the resource
- honeypot string
Number of cloud honeypot licenses. Interval type, value interval:[20,500].
NOTE: This module can only be purchased when honeypot_switch = 1, starting with 20.
- honeypot
Switch string - Cloud honeypot. Value:
- 1: Yes.
- 2: No.
- modify
Type string - Change configuration type, value
- Upgrade: Upgrade.
- Downgrade: Downgrade.
- payment
Type string - The payment type of the resource
- period number
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
NOTE: must be set when creating a prepaid instance.
- post
Paid numberFlag - Post-paid signage. Value:
- post
Paid numberHost Auto Bind - Automatic binding switch for new assets in host and container protection. Valid values:
- post
Paid numberHost Auto Bind Version - The version that is automatically bound to the host and container protection of a pay-as-you-go instance. Valid values:
- post
Pay stringModule Switch The switch status of the pay-as-you-go module. The value is a JSON string. Valid values:
- Key:
VUL: Vulnerability Repair Module.CSPM: Cloud Security Posture Management Module.AGENTLESS: Agentless Detection Module.SERVERLESS: Serverless Security Module.CTDR: Threat Analysis and Response Module.POST_HOST: Host and Container Security Module.SDK: Malicious File Detection SDK Module.RASP: Application Protection Module.CTDR_STORAGE: Log Management Module.ANTI_RANSOMWARE: Anti-Ransomware Management.- Value:
0means off,1means on
NOTE: Field
post_pay_module_switchhas been deprecated from provider version 1.269.0. New fieldpost_pay_module_switch_objinstead.- post
Pay InstanceModule Switch Obj Post Pay Module Switch Obj - Pay-as-you-go module switch. See
post_pay_module_switch_objbelow. - rasp
Count string - Number of application protection licenses. Interval type, value interval:[1,100000000].
- renew
Period number Automatic renewal cycle, in months.
NOTE: When
RenewalStatusis set toAutoRenewal, it must be set.- renewal
Period stringUnit Automatic renewal period unit, value:
- M: month.
- Y: years.
NOTE: Must be set when RenewalStatus = AutoRenewal.
- renewal
Status string Automatic renewal status, value:
- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
Default ManualRenewal.
- sas
Anti stringRansomware Anti-ransomware capacity. Unit: GB. Interval type, value interval:[0,9999999999].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas
Cspm string Cloud platform configuration check scan times, interval type, value range:[15000,9999999999].
NOTE: You must have sas_cspm_switch = 1 to purchase this module. The step size is 55000, that is, only multiples of 55000 can be filled in.
- sas
Cspm stringSwitch - Cloud platform configuration check switch. Value:
- 0: No.
- 1: Yes.
- sas
Sc boolean - Security screen. Value:
- true: Yes.
- false: No.
- sas
Sdk string Number of malicious file detections. Unit: 10,000 times. Interval type, value interval:[10,9999999999].
NOTE: 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.
- sas
Sdk stringSwitch - Malicious file detection SDK.
- sas
Sls stringStorage Log analysis storage capacity. Unit: GB. Interval type, value interval:[0,600000].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas
Webguard stringBoolean - Web tamper-proof switch. Value:
- 0: No.
- 1: Yes.
- sas
Webguard stringOrder Num - Tamper-proof authorization number. Value:
- 0: No 1: Yes.
- status string
- The resource attribute field representing the resource status.
- subscription
Type string - The subscription type. Value:
- Subscription: Prepaid.
- PayAsYouGo: Post-paid.
- threat
Analysis string Threat Analysis log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: 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.
- threat
Analysis stringFlow Threat analysis and response log access traffic. After ThreatAnalysisSwitch1 is selected, it must be selected. Interval type, value interval:[0,9999999999].
NOTE: Step size is 100.
- threat
Analysis stringSls Storage Threat analysis and response log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: The step size is 1000, that is, only multiples of 1000 can be filled in.
- threat
Analysis stringSwitch - Threat analysis. Value:
- 0: No.
- 1: Yes.
- threat
Analysis stringSwitch1 - Threat analysis and response switch (new), values:
- 0: No
- 1: Yes
- v
Core string - Number of cores.
- version
Code string - Select the security center version. Value:
- level7: Antivirus Edition.
- level3: Premium version.
- level2: Enterprise Edition.
- level8: Ultimate.
- level10: Purchase value-added services only.
- vul
Count string Vulnerability repair times, interval type, value range:[20,100000000].
NOTE: 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.
- vul
Switch string Vulnerability fix switch. Value:
- 0: No.
- 1: Yes.
NOTE: When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.
- buy_
number str - Number of servers.
- container_
image_ strscan Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- container_
image_ strscan_ new Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- create_
time str - The creation time of the resource
- honeypot str
Number of cloud honeypot licenses. Interval type, value interval:[20,500].
NOTE: This module can only be purchased when honeypot_switch = 1, starting with 20.
- honeypot_
switch str - Cloud honeypot. Value:
- 1: Yes.
- 2: No.
- modify_
type str - Change configuration type, value
- Upgrade: Upgrade.
- Downgrade: Downgrade.
- payment_
type str - The payment type of the resource
- period int
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
NOTE: must be set when creating a prepaid instance.
- post_
paid_ intflag - Post-paid signage. Value:
- post_
paid_ inthost_ auto_ bind - Automatic binding switch for new assets in host and container protection. Valid values:
- post_
paid_ inthost_ auto_ bind_ version - The version that is automatically bound to the host and container protection of a pay-as-you-go instance. Valid values:
- post_
pay_ strmodule_ switch The switch status of the pay-as-you-go module. The value is a JSON string. Valid values:
- Key:
VUL: Vulnerability Repair Module.CSPM: Cloud Security Posture Management Module.AGENTLESS: Agentless Detection Module.SERVERLESS: Serverless Security Module.CTDR: Threat Analysis and Response Module.POST_HOST: Host and Container Security Module.SDK: Malicious File Detection SDK Module.RASP: Application Protection Module.CTDR_STORAGE: Log Management Module.ANTI_RANSOMWARE: Anti-Ransomware Management.- Value:
0means off,1means on
NOTE: Field
post_pay_module_switchhas been deprecated from provider version 1.269.0. New fieldpost_pay_module_switch_objinstead.- post_
pay_ Instancemodule_ switch_ obj Post Pay Module Switch Obj Args - Pay-as-you-go module switch. See
post_pay_module_switch_objbelow. - rasp_
count str - Number of application protection licenses. Interval type, value interval:[1,100000000].
- renew_
period int Automatic renewal cycle, in months.
NOTE: When
RenewalStatusis set toAutoRenewal, it must be set.- renewal_
period_ strunit Automatic renewal period unit, value:
- M: month.
- Y: years.
NOTE: Must be set when RenewalStatus = AutoRenewal.
- renewal_
status str Automatic renewal status, value:
- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
Default ManualRenewal.
- sas_
anti_ strransomware Anti-ransomware capacity. Unit: GB. Interval type, value interval:[0,9999999999].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas_
cspm str Cloud platform configuration check scan times, interval type, value range:[15000,9999999999].
NOTE: You must have sas_cspm_switch = 1 to purchase this module. The step size is 55000, that is, only multiples of 55000 can be filled in.
- sas_
cspm_ strswitch - Cloud platform configuration check switch. Value:
- 0: No.
- 1: Yes.
- sas_
sc bool - Security screen. Value:
- true: Yes.
- false: No.
- sas_
sdk str Number of malicious file detections. Unit: 10,000 times. Interval type, value interval:[10,9999999999].
NOTE: 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.
- sas_
sdk_ strswitch - Malicious file detection SDK.
- sas_
sls_ strstorage Log analysis storage capacity. Unit: GB. Interval type, value interval:[0,600000].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas_
webguard_ strboolean - Web tamper-proof switch. Value:
- 0: No.
- 1: Yes.
- sas_
webguard_ strorder_ num - Tamper-proof authorization number. Value:
- 0: No 1: Yes.
- status str
- The resource attribute field representing the resource status.
- subscription_
type str - The subscription type. Value:
- Subscription: Prepaid.
- PayAsYouGo: Post-paid.
- threat_
analysis str Threat Analysis log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: 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.
- threat_
analysis_ strflow Threat analysis and response log access traffic. After ThreatAnalysisSwitch1 is selected, it must be selected. Interval type, value interval:[0,9999999999].
NOTE: Step size is 100.
- threat_
analysis_ strsls_ storage Threat analysis and response log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: The step size is 1000, that is, only multiples of 1000 can be filled in.
- threat_
analysis_ strswitch - Threat analysis. Value:
- 0: No.
- 1: Yes.
- threat_
analysis_ strswitch1 - Threat analysis and response switch (new), values:
- 0: No
- 1: Yes
- v_
core str - Number of cores.
- version_
code str - Select the security center version. Value:
- level7: Antivirus Edition.
- level3: Premium version.
- level2: Enterprise Edition.
- level8: Ultimate.
- level10: Purchase value-added services only.
- vul_
count str Vulnerability repair times, interval type, value range:[20,100000000].
NOTE: 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.
- vul_
switch str Vulnerability fix switch. Value:
- 0: No.
- 1: Yes.
NOTE: When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.
- buy
Number String - Number of servers.
- container
Image StringScan Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- container
Image StringScan New Container Image security scan. Interval type, value interval:[0,200000].
NOTE: The step size is 20, that is, only multiples of 20 can be filled in.
- create
Time String - The creation time of the resource
- honeypot String
Number of cloud honeypot licenses. Interval type, value interval:[20,500].
NOTE: This module can only be purchased when honeypot_switch = 1, starting with 20.
- honeypot
Switch String - Cloud honeypot. Value:
- 1: Yes.
- 2: No.
- modify
Type String - Change configuration type, value
- Upgrade: Upgrade.
- Downgrade: Downgrade.
- payment
Type String - The payment type of the resource
- period Number
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
NOTE: must be set when creating a prepaid instance.
- post
Paid NumberFlag - Post-paid signage. Value:
- post
Paid NumberHost Auto Bind - Automatic binding switch for new assets in host and container protection. Valid values:
- post
Paid NumberHost Auto Bind Version - The version that is automatically bound to the host and container protection of a pay-as-you-go instance. Valid values:
- post
Pay StringModule Switch The switch status of the pay-as-you-go module. The value is a JSON string. Valid values:
- Key:
VUL: Vulnerability Repair Module.CSPM: Cloud Security Posture Management Module.AGENTLESS: Agentless Detection Module.SERVERLESS: Serverless Security Module.CTDR: Threat Analysis and Response Module.POST_HOST: Host and Container Security Module.SDK: Malicious File Detection SDK Module.RASP: Application Protection Module.CTDR_STORAGE: Log Management Module.ANTI_RANSOMWARE: Anti-Ransomware Management.- Value:
0means off,1means on
NOTE: Field
post_pay_module_switchhas been deprecated from provider version 1.269.0. New fieldpost_pay_module_switch_objinstead.- post
Pay Property MapModule Switch Obj - Pay-as-you-go module switch. See
post_pay_module_switch_objbelow. - rasp
Count String - Number of application protection licenses. Interval type, value interval:[1,100000000].
- renew
Period Number Automatic renewal cycle, in months.
NOTE: When
RenewalStatusis set toAutoRenewal, it must be set.- renewal
Period StringUnit Automatic renewal period unit, value:
- M: month.
- Y: years.
NOTE: Must be set when RenewalStatus = AutoRenewal.
- renewal
Status String Automatic renewal status, value:
- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
Default ManualRenewal.
- sas
Anti StringRansomware Anti-ransomware capacity. Unit: GB. Interval type, value interval:[0,9999999999].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas
Cspm String Cloud platform configuration check scan times, interval type, value range:[15000,9999999999].
NOTE: You must have sas_cspm_switch = 1 to purchase this module. The step size is 55000, that is, only multiples of 55000 can be filled in.
- sas
Cspm StringSwitch - Cloud platform configuration check switch. Value:
- 0: No.
- 1: Yes.
- sas
Sc Boolean - Security screen. Value:
- true: Yes.
- false: No.
- sas
Sdk String Number of malicious file detections. Unit: 10,000 times. Interval type, value interval:[10,9999999999].
NOTE: 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.
- sas
Sdk StringSwitch - Malicious file detection SDK.
- sas
Sls StringStorage Log analysis storage capacity. Unit: GB. Interval type, value interval:[0,600000].
NOTE: The step size is 10, that is, only multiples of 10 can be filled in.
- sas
Webguard StringBoolean - Web tamper-proof switch. Value:
- 0: No.
- 1: Yes.
- sas
Webguard StringOrder Num - Tamper-proof authorization number. Value:
- 0: No 1: Yes.
- status String
- The resource attribute field representing the resource status.
- subscription
Type String - The subscription type. Value:
- Subscription: Prepaid.
- PayAsYouGo: Post-paid.
- threat
Analysis String Threat Analysis log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: 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.
- threat
Analysis StringFlow Threat analysis and response log access traffic. After ThreatAnalysisSwitch1 is selected, it must be selected. Interval type, value interval:[0,9999999999].
NOTE: Step size is 100.
- threat
Analysis StringSls Storage Threat analysis and response log storage capacity. Interval type, value interval:[0,9999999999].
NOTE: The step size is 1000, that is, only multiples of 1000 can be filled in.
- threat
Analysis StringSwitch - Threat analysis. Value:
- 0: No.
- 1: Yes.
- threat
Analysis StringSwitch1 - Threat analysis and response switch (new), values:
- 0: No
- 1: Yes
- v
Core String - Number of cores.
- version
Code String - Select the security center version. Value:
- level7: Antivirus Edition.
- level3: Premium version.
- level2: Enterprise Edition.
- level8: Ultimate.
- level10: Purchase value-added services only.
- vul
Count String Vulnerability repair times, interval type, value range:[20,100000000].
NOTE: 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.
- vul
Switch String Vulnerability fix switch. Value:
- 0: No.
- 1: Yes.
NOTE: When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.
Supporting Types
InstancePostPayModuleSwitchObj, InstancePostPayModuleSwitchObjArgs
- Agentless int
- Agentless Detection Module. Valid values:
- Anti
Ransomware int - Anti-Ransomware Module. Valid values:
- Basic
Service int - Basic service module. Valid values:
- Cspm int
- Cloud Security Configuration Check Module. Valid values:
- Ctdr int
- Threat Analysis and Response Module. Valid values:
- Ctdr
Storage int - Log Management Module. Valid values:
- Post
Host int - Host and Container Security Module. Valid values:
- Rasp int
- Application Protection Module. Valid values:
- Sdk int
- Malicious File Detection SDK Module. Valid values:
- Serverless int
- Serverless Security Module. Valid values:
- Vul int
- Vulnerability Repair Module. Valid values:
- Web
Lock int - File Tamper Protection Module. Valid values:
- Agentless int
- Agentless Detection Module. Valid values:
- Anti
Ransomware int - Anti-Ransomware Module. Valid values:
- Basic
Service int - Basic service module. Valid values:
- Cspm int
- Cloud Security Configuration Check Module. Valid values:
- Ctdr int
- Threat Analysis and Response Module. Valid values:
- Ctdr
Storage int - Log Management Module. Valid values:
- Post
Host int - Host and Container Security Module. Valid values:
- Rasp int
- Application Protection Module. Valid values:
- Sdk int
- Malicious File Detection SDK Module. Valid values:
- Serverless int
- Serverless Security Module. Valid values:
- Vul int
- Vulnerability Repair Module. Valid values:
- Web
Lock int - File Tamper Protection Module. Valid values:
- agentless Integer
- Agentless Detection Module. Valid values:
- anti
Ransomware Integer - Anti-Ransomware Module. Valid values:
- basic
Service Integer - Basic service module. Valid values:
- cspm Integer
- Cloud Security Configuration Check Module. Valid values:
- ctdr Integer
- Threat Analysis and Response Module. Valid values:
- ctdr
Storage Integer - Log Management Module. Valid values:
- post
Host Integer - Host and Container Security Module. Valid values:
- rasp Integer
- Application Protection Module. Valid values:
- sdk Integer
- Malicious File Detection SDK Module. Valid values:
- serverless Integer
- Serverless Security Module. Valid values:
- vul Integer
- Vulnerability Repair Module. Valid values:
- web
Lock Integer - File Tamper Protection Module. Valid values:
- agentless number
- Agentless Detection Module. Valid values:
- anti
Ransomware number - Anti-Ransomware Module. Valid values:
- basic
Service number - Basic service module. Valid values:
- cspm number
- Cloud Security Configuration Check Module. Valid values:
- ctdr number
- Threat Analysis and Response Module. Valid values:
- ctdr
Storage number - Log Management Module. Valid values:
- post
Host number - Host and Container Security Module. Valid values:
- rasp number
- Application Protection Module. Valid values:
- sdk number
- Malicious File Detection SDK Module. Valid values:
- serverless number
- Serverless Security Module. Valid values:
- vul number
- Vulnerability Repair Module. Valid values:
- web
Lock number - File Tamper Protection Module. Valid values:
- agentless int
- Agentless Detection Module. Valid values:
- anti_
ransomware int - Anti-Ransomware Module. Valid values:
- basic_
service int - Basic service module. Valid values:
- cspm int
- Cloud Security Configuration Check Module. Valid values:
- ctdr int
- Threat Analysis and Response Module. Valid values:
- ctdr_
storage int - Log Management Module. Valid values:
- post_
host int - Host and Container Security Module. Valid values:
- rasp int
- Application Protection Module. Valid values:
- sdk int
- Malicious File Detection SDK Module. Valid values:
- serverless int
- Serverless Security Module. Valid values:
- vul int
- Vulnerability Repair Module. Valid values:
- web_
lock int - File Tamper Protection Module. Valid values:
- agentless Number
- Agentless Detection Module. Valid values:
- anti
Ransomware Number - Anti-Ransomware Module. Valid values:
- basic
Service Number - Basic service module. Valid values:
- cspm Number
- Cloud Security Configuration Check Module. Valid values:
- ctdr Number
- Threat Analysis and Response Module. Valid values:
- ctdr
Storage Number - Log Management Module. Valid values:
- post
Host Number - Host and Container Security Module. Valid values:
- rasp Number
- Application Protection Module. Valid values:
- sdk Number
- Malicious File Detection SDK Module. Valid values:
- serverless Number
- Serverless Security Module. Valid values:
- vul Number
- Vulnerability Repair Module. Valid values:
- web
Lock Number - File Tamper Protection Module. Valid values:
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
