alicloud_sag_acls

更新时间:

This data source provides Sag Acls available to the user.

-> NOTE: Available in 1.60.0+

-> NOTE: Only the following regions support create Cloud Connect Network. [cn-shanghai, cn-shanghai-finance-1, cn-hongkong, ap-southeast-1, ap-southeast-3, ap-southeast-5, ap-northeast-1, eu-central-1]

Example Usage

Basic Usage

data "alicloud_sag_acls" "default" {
  ids        = ["${alicloud_sag_acls.default.id}"]
  name_regex = "^tf-testAcc.*"
}
resource "alicloud_sag_acl" "default" {
  name        = "tf-testAccSagAclName"
}

Argument Reference

The following arguments are supported:

  • ids - (Optional) A list of Sag Acl IDs.
  • name_regex - (Optional) A regex string to filter Sag Acl instances by name.

Attributes Reference

The following attributes are exported in addition to the arguments listed above:

  • ids - A list of Sag Acl IDs.
  • names - A list of Sag Acls names.
  • acls - A list of Sag Acls. Each element contains the following attributes:
    • id - The ID of the ACL. For example "acl-xxx".
    • name - The name of the Acl.