Instance

class Instance : KotlinCustomResource

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.

Properties

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

Number of servers.

Link copied to clipboard

Container Image security scan.

Link copied to clipboard
val createTime: Output<String>

The creation time of the resource

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

Cloud honeypot authorization number.

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

Cloud honeypot. Valid values: 1, 2.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceId: Output<String>

The first ID of the resource

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

Change configuration type, value

Link copied to clipboard
val paymentType: Output<String>

The payment type of the resource.

Link copied to clipboard
val period: Output<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.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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>

Automatic renewal status, Default ManualRenewal. value:

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

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

Link copied to clipboard

Anti-extortion.

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

Large security screen.

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

Number of malicious file detections.

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

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

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

Log analysis.

Link copied to clipboard

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

Link copied to clipboard

Number of tamper-proof authorizations.

Link copied to clipboard
val status: Output<String>

The status of the resource

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

The amount of threat analysis log storage.

Link copied to clipboard

Threat analysis. Valid values: 0, 1.

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

Number of cores.

Link copied to clipboard
val versionCode: Output<String>

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