文档

alicloud_threat_detection_sas_trail

更新时间:
一键部署

Provides a Threat Detection Sas Trail resource.

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

-> NOTE: Available since v1.212.0.

Example Usage

Basic Usage

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

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


resource "alicloud_threat_detection_sas_trail" "default" {
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

  • id - The ID of the resource supplied above.The value is formulated as ``.
  • create_time - The service trace creation timestamp, in milliseconds.
  • service_trail - Service trace configuration information.
    • config - Service tracking on status. The value is:
    • on: Open
    • off: off.
    • update_time - The timestamp of the last service update. Unit: milliseconds.

Timeouts

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

  • create - (Defaults to 5 mins) Used when create the Sas Trail.
  • delete - (Defaults to 5 mins) Used when delete the Sas Trail.

Import

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

$ terraform import alicloud_threat_detection_sas_trail.example 

  • 本页导读 (0)