» avi_trafficcloneprofile

This data source is used to to get avi_trafficcloneprofile objects.

» Example Usage

data "avi_trafficcloneprofile" "foo_trafficcloneprofile" {
    uuid = "trafficcloneprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b"
    name = "foo"
    cloud_ref = "/api/cloud/?tenant=admin&name=Default-Cloud"
  }

» Argument Reference

  • name - (Optional) Search TrafficCloneProfile by name.
  • uuid - (Optional) Search TrafficCloneProfile by uuid.
  • cloud_ref - (Optional) Search TrafficCloneProfile by cloud_ref.

» Attributes Reference

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

  • clone_servers - Field introduced in 17.1.1.
  • cloud_ref - It is a reference to an object of type cloud.
  • name - Name for the traffic clone profile.
  • preserve_client_ip - Specifies if client ip needs to be preserved to clone destination.
  • tenant_ref - It is a reference to an object of type tenant.
  • uuid - Uuid of the traffic clone profile.