» alicloud_yundun_dbaudit_instances

This data source provides a list of cloud DBAudit instances in an Alibaba Cloud account according to the specified filters.

» Example Usage

data "alicloud_yundun_dbaudit_instances" "instance" {
  description_regex = "^dbaudit"
}

output "instance" {
  value = "${alicloud_yundun_dbaudit_instances.instance.*.id}"
}

» Argument Reference

The following arguments are supported:

  • description_regex - (Optional) A regex string to filter results by the instance description.
  • ids - (Optional) Matched instance IDs to filter data source result.
  • output_file - (Optional) File name to persist data source output.
  • descriptions - (Optional) Descriptions to filter data source result.

» Attributes Reference

The following attributes are exported in addition to the arguments listed above: * instances - A list of apis. Each element contains the following attributes: * id - The instance's id. * description - The instance's remark. * user_vswitch_id - The instance's vSwitch ID. * private_domain - The instance's private domain name. * public_domain - The instance's public domain name. * instance_status - The instance's status. * public_network_access - The instance's public network access configuration.