» avi_role

This data source is used to to get avi_role objects.

» Example Usage

data "avi_role" "foo_role" {
    uuid = "role-f9cf6b3e-a411-436f-95e2-2982ba2b217b"
    name = "foo"
}

» Argument Reference

  • name - (Optional) Search Role by name.
  • uuid - (Optional) Search Role by uuid.

» Attributes Reference

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

  • name - Name of the object.
  • privileges - List of list.
  • tenant_ref - It is a reference to an object of type tenant.
  • uuid - Unique object identifier of the object.