alicloud_ddoscoo_instance

Provides a BGP-line Anti-DDoS Pro(DdosCoo) Instance resource.

For information about BGP-line Anti-DDoS Pro(DdosCoo) Instance and how to use it, see What is Anti-DDoS Pro Instance.

Example Usage

Basic Usage

provider "alicloud" {
  region = "cn-hangzhou"
}

variable "name" {
  default = "tf-example"
}

resource "alicloud_ddoscoo_instance" "default" {
  name              = var.name
  base_bandwidth    = "30"
  bandwidth         = "30"
  service_bandwidth = "100"
  port_count        = "50"
  domain_count      = "50"
  product_type      = "ddoscoo"
  period            = "1"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

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

$ terraform import alicloud_ddoscoo_instance.example ddoscoo-cn-123456