DdosCooInstance

class DdosCooInstance : KotlinCustomResource

Deprecated

alicloud.dns.DdosCooInstance has been deprecated in favor of alicloud.ddos.DdosCooInstance

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

Properties

Link copied to clipboard
val bandwidth: Output<String>

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>

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>

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 id: Output<String>
Link copied to clipboard
val name: Output<String>

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

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

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>

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>?

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

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

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

Link copied to clipboard
val urn: Output<String>