» baiducloud_appblb_server_groups

Use this data source to query APPBLB Server Group list.

» Example Usage

data "baiducloud_appblb_server_groups" "default" {
 name = "testServerGroup"
}

output "server_groups" {
 value = "${data.baiducloud_appblb_server_groups.default.server_groups}"
}

» Argument Reference

The following arguments are supported:

  • blb_id - (Required) ID of the LoadBalance instance to be queried
  • exactly_match - (Optional) Whether the name is an exact match or not, default false
  • filter - (Optional, ForceNew) only support filter string/int/bool value
  • name - (Optional) Name of the Server Group to be queried
  • output_file - (Optional, ForceNew) Query result output file path

The filter object supports the following:

  • name - (Required) filter variable name
  • values - (Required) filter variable value list

» Attributes Reference

In addition to all arguments above, the following attributes are exported: