» alicloud_yundun_dbaudit_instance

Cloud DBaudit instance resource ("Yundun_dbaudit" is the short term of this product).

» Example Usage

Basic Usage

  provider "alicloud" {
    endpoints {
        bssopenapi = "business.aliyuncs.com"
        }
  }

  resource "alicloud_yundun_dbaudit_instance" "default" {
        description       = "Terraform-test"
        plan_code         = "alpha.professional"
        period            = "1"
        vswitch_id        = "v-testVswitch"
  }

» Argument Reference

The following arguments are supported:

  • plan_code - (Required) Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)
  • description - (Required) Description of the instance. This name can have a string of 1 to 63 characters.
  • period - (Required, ForceNew) Duration for initially producing the instance. Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
  • vswitch_id - (Required, ForceNew) vSwtich ID configured to audit

» Attributes Reference

The following attributes are exported:

  • id - The ID of the instance resource of Yundun_dbaudit.

» Import

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

$ terraform import alicloud_yundun_dbaudit_instance.example dbaudit-exampe123456