DdosCooInstanceArgs

data class DdosCooInstanceArgs constructor(val bandwidth: Output<String>? = null, val baseBandwidth: Output<String>? = null, val domainCount: Output<String>? = null, val name: Output<String>? = null, val period: Output<Int>? = null, val portCount: Output<String>? = null, val productType: Output<String>? = null, val serviceBandwidth: Output<String>? = null) : ConvertibleToJava<DdosCooInstanceArgs>

BGP-Line Anti-DDoS instance resource. "Ddoscoo" is the short term of this product. See What is Anti-DDoS Pro.

NOTE: The product region only support cn-hangzhou. NOTE: The endpoint of bssopenapi used only support "business.aliyuncs.com" at present. NOTE: Available since v1.37.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.ddos.DdosCooInstance;
import com.pulumi.alicloud.ddos.DdosCooInstanceArgs;
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) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf-example");
var default_ = new DdosCooInstance("default", DdosCooInstanceArgs.builder()
.bandwidth("30")
.baseBandwidth("30")
.serviceBandwidth("100")
.portCount("50")
.domainCount("50")
.period("1")
.productType("ddoscoo")
.build());
}
}

Import

Ddoscoo instance can be imported using the id, e.g.

$ pulumi import alicloud:dns/ddosCooInstance:DdosCooInstance example ddoscoo-cn-123456

Constructors

Link copied to clipboard
fun DdosCooInstanceArgs(bandwidth: Output<String>? = null, baseBandwidth: Output<String>? = null, domainCount: Output<String>? = null, name: Output<String>? = null, period: Output<Int>? = null, portCount: Output<String>? = null, productType: Output<String>? = null, serviceBandwidth: Output<String>? = null)

Functions

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

Properties

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

Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.

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

Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.

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

Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.

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

Name of the instance. This name can have a string of 1 to 63 characters.

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

The duration that you will buy Ddoscoo instance (in month). Valid values: 1~9, 12, 24, 36. Default to 1. At present, the provider does not support modify "period".

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

Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.

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

The product type for purchasing DDoSCOO instances used to differ different account type. Valid values:

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

Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade.