InstanceArgs

data class InstanceArgs(val buyNumber: Output<String>? = null, val containerImageScan: Output<String>? = null, val honeypot: Output<String>? = null, val honeypotSwitch: Output<String>? = null, val instanceId: Output<String>? = null, val modifyType: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val renewPeriod: Output<Int>? = null, val renewalPeriodUnit: Output<String>? = null, val renewalStatus: Output<String>? = null, val sasAntiRansomware: Output<String>? = null, val sasSc: Output<Boolean>? = null, val sasSdk: Output<String>? = null, val sasSdkSwitch: Output<String>? = null, val sasSlsStorage: Output<String>? = null, val sasWebguardBoolean: Output<String>? = null, val sasWebguardOrderNum: Output<String>? = null, val threatAnalysis: Output<String>? = null, val threatAnalysisSwitch: Output<String>? = null, val vCore: Output<String>? = null, val versionCode: Output<String>? = null) : ConvertibleToJava<InstanceArgs>

Provides a Threat Detection Instance resource. For information about Threat Detection Instance and how to use it, see What is Instance.

NOTE: Available in v1.199.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.threatdetection.Instance;
import com.pulumi.alicloud.threatdetection.InstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new Instance("default", InstanceArgs.builder()
.buyNumber("30")
.containerImageScan("100")
.honeypot("32")
.honeypotSwitch("1")
.paymentType("Subscription")
.period(12)
.renewalStatus("ManualRenewal")
.sasAntiRansomware("100")
.sasSc("true")
.sasSdk("1000")
.sasSdkSwitch("1")
.sasSlsStorage("100")
.sasWebguardOrderNum("100")
.vCore("100")
.versionCode("level2")
.build());
}
}

Import

Threat Detection Instance do not support import.

Constructors

Link copied to clipboard
fun InstanceArgs(buyNumber: Output<String>? = null, containerImageScan: Output<String>? = null, honeypot: Output<String>? = null, honeypotSwitch: Output<String>? = null, instanceId: Output<String>? = null, modifyType: Output<String>? = null, paymentType: Output<String>? = null, period: Output<Int>? = null, renewPeriod: Output<Int>? = null, renewalPeriodUnit: Output<String>? = null, renewalStatus: Output<String>? = null, sasAntiRansomware: Output<String>? = null, sasSc: Output<Boolean>? = null, sasSdk: Output<String>? = null, sasSdkSwitch: Output<String>? = null, sasSlsStorage: Output<String>? = null, sasWebguardBoolean: Output<String>? = null, sasWebguardOrderNum: Output<String>? = null, threatAnalysis: Output<String>? = null, threatAnalysisSwitch: Output<String>? = null, vCore: Output<String>? = null, versionCode: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): InstanceArgs

Properties

Link copied to clipboard
val buyNumber: Output<String>? = null

Number of servers.

Link copied to clipboard
val containerImageScan: Output<String>? = null

Container Image security scan.

Link copied to clipboard
val honeypot: Output<String>? = null

Cloud honeypot authorization number.

Link copied to clipboard
val honeypotSwitch: Output<String>? = null

Cloud honeypot. Valid values: 1, 2.

Link copied to clipboard
val instanceId: Output<String>? = null

The first ID of the resource

Link copied to clipboard
val modifyType: Output<String>? = null

Change configuration type, value

Link copied to clipboard
val paymentType: Output<String>? = null

The payment type of the resource.

Link copied to clipboard
val period: Output<Int>? = null

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.

Link copied to clipboard
val renewalPeriodUnit: Output<String>? = null

The unit of the auto-renewal period. NOTE: The renewal_period_unit is required under the condition that renewal_status is AutoRenewal. Valid values:

Link copied to clipboard
val renewalStatus: Output<String>? = null

Automatic renewal status, Default ManualRenewal. value:

Link copied to clipboard
val renewPeriod: Output<Int>? = null

Automatic renewal cycle, in months. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal.

Link copied to clipboard
val sasAntiRansomware: Output<String>? = null

Anti-extortion.

Link copied to clipboard
val sasSc: Output<Boolean>? = null

Large security screen.

Link copied to clipboard
val sasSdk: Output<String>? = null

Number of malicious file detections.

Link copied to clipboard
val sasSdkSwitch: Output<String>? = null

Malicious file detection SDK. Valid values: 0, 1.

Link copied to clipboard
val sasSlsStorage: Output<String>? = null

Log analysis.

Link copied to clipboard
val sasWebguardBoolean: Output<String>? = null

Web page tamper-proof. Valid values: 0, 1.

Link copied to clipboard
val sasWebguardOrderNum: Output<String>? = null

Number of tamper-proof authorizations.

Link copied to clipboard
val threatAnalysis: Output<String>? = null

The amount of threat analysis log storage.

Link copied to clipboard
val threatAnalysisSwitch: Output<String>? = null

Threat analysis. Valid values: 0, 1.

Link copied to clipboard
val vCore: Output<String>? = null

Number of cores.

Link copied to clipboard
val versionCode: Output<String>? = null

Version selection. Valid values: level10, level2, level3, level7, level8.