Instance

class Instance : KotlinCustomResource

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

NOTE: Available since 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(true)
.cfwLogStorage(1000)
.ipNumber(20)
.paymentType("Subscription")
.period(1)
.spec("premium_version")
.build());
}
}

Import

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

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

Properties

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

The number of multi account. It will be ignored when cfw_account = false.

Link copied to clipboard
val bandWidth: Output<Int>

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

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

Whether to use multi-account. Valid values: true, false.

Link copied to clipboard
val cfwLog: Output<Boolean>

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

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

The log storage capacity. It will be ignored when cfw_log = false.

Link copied to clipboard
val createTime: Output<String>

The creation time.

Link copied to clipboard
val endTime: Output<String>

The end time.

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

The number of protected VPCs. It will be ignored when spec = "premium_version". Valid values between 2 and 500.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceCount: Output<Int>?

The number of assets.

Link copied to clipboard
val ipNumber: Output<Int>

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

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

The logistics.

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

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

Link copied to clipboard
val paymentType: Output<String>

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

Link copied to clipboard
val period: Output<Int>

The prepaid period. Valid values: 1, 3, 6, 12, 24, 36. NOTE: 1 and 3 available in 1.204.1+.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val releaseTime: Output<String>

The release time.

Link copied to clipboard
val renewalDuration: Output<Int>

Auto-Renewal Duration. It is required under the condition that renewal_status is AutoRenewal. Valid values: 1, 2, 3, 6, 12.

Link copied to clipboard

Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years. Valid values: Month, Year.

Link copied to clipboard
val renewalStatus: Output<String>

Whether to renew an instance automatically or not. Default to "ManualRenewal".

Link copied to clipboard
val renewPeriod: Output<Int>

Automatic renewal period. Attribute 'renew_period' has been deprecated since 1.209.1. Using 'renewal_duration' instead.

Link copied to clipboard
val spec: Output<String>

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

Link copied to clipboard
val status: Output<String>

The status of Instance.

Link copied to clipboard
val urn: Output<String>