alicloud_threat_detection_instance

Provides a Threat Detection Instance resource. Cloud Security Center instance.

For information about Threat Detection Instance and how to use it, see What is Instance.

Example Usage

Basic Usage

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

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

resource "alicloud_threat_detection_instance" "default" {
  threat_analysis          = "10"
  sas_sls_storage          = "10"
  v_core                   = "10"
  sas_sc                   = "false"
  buy_number               = "10"
  honeypot_switch          = "2"
  payment_type             = "Subscription"
  sas_sdk                  = "10"
  sas_anti_ransomware      = "10"
  renewal_status           = "ManualRenewal"
  period                   = "1"
  vul_switch               = "1"
  rasp_count               = "1"
  vul_count                = "20"
  version_code             = "level3"
  sas_cspm                 = "1000"
  renewal_period_unit      = "M"
  container_image_scan_new = "100"
  honeypot                 = "20"
}

Deleting alicloud_threat_detection_instance or removing it from your configuration

Terraform cannot destroy resource alicloud_threat_detection_instance. Terraform will remove this resource from the state file, however resources may remain.

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

Threat Detection Instance can be imported using the id, e.g.

$ terraform import alicloud_threat_detection_instance.example <id>