InstanceArgs

data class InstanceArgs(val bandWidth: Output<Int>? = null, val cfwLog: Output<Boolean>? = null, val cfwLogStorage: Output<Int>? = null, val cfwService: Output<Boolean>? = null, val fwVpcNumber: Output<Int>? = null, val instanceCount: Output<Int>? = null, val ipNumber: Output<Int>? = null, val logistics: Output<String>? = null, val modifyType: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val renewPeriod: Output<Int>? = null, val renewalStatus: Output<String>? = null, val spec: Output<String>? = null) : ConvertibleToJava<InstanceArgs>

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

NOTE: Available in v1.139.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.cloudfirewall.Instance;
import com.pulumi.alicloud.cloudfirewall.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 example = new Instance("example", InstanceArgs.builder()
.bandWidth(10)
.cfwLog(false)
.cfwLogStorage(1000)
.cfwService(false)
.ipNumber(20)
.paymentType("Subscription")
.period(6)
.spec("premium_version")
.build());
}
}

Import

Cloud Firewall Instance can be imported using the id, e.g.

$ pulumi import alicloud:cloudfirewall/instance:Instance example <id>

Constructors

Link copied to clipboard
fun InstanceArgs(bandWidth: Output<Int>? = null, cfwLog: Output<Boolean>? = null, cfwLogStorage: Output<Int>? = null, cfwService: Output<Boolean>? = null, fwVpcNumber: Output<Int>? = null, instanceCount: Output<Int>? = null, ipNumber: Output<Int>? = null, logistics: Output<String>? = null, modifyType: Output<String>? = null, paymentType: Output<String>? = null, period: Output<Int>? = null, renewPeriod: Output<Int>? = null, renewalStatus: Output<String>? = null, spec: Output<String>? = null)

Functions

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

Properties

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

Public network processing capability. Valid values: 10 to 15000. Unit: Mbps.

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

Whether to use log audit. Valid values: true, false.

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

The log storage capacity.

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

Whether to use expert service. Valid values: true, false.

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

The number of protected VPCs. Valid values between 2 and 500.

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

The number of assets.

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

The number of public IPs that can be protected. Valid values: 20 to 4000.

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

The logistics.

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

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute an update operation.

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

The payment type of the resource. Valid values: Subscription.

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

The prepaid period. Valid values: 6, 12, 24, 36.

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

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

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

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal.

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

Current version. Valid values: premium_version, enterprise_version,ultimate_version.