Skip to main content

equinix_fabric_networks (Data Source)

Fabric V4 API compatible data resource that allow user to fetch Fabric Network for a given UUID

Additional documentation:

Example Usage

data "equinix_fabric_networks" "test" {
outer_operator = "AND"
filter {
property = "/type"
operator = "="
values = ["IPWAN"]
}
filter {
property = "/name"
operator = "="
values = ["Tf_Network_PFCR"]
}
filter {
group = "OR_group1"
property = "/operation/equinixStatus"
operator = "="
values = ["PROVISIONED"]
}
filter {
group = "OR_group1"
property = "/operation/equinixStatus"
operator = "LIKE"
values = ["DEPROVISIONED"]
}
pagination {
offset = 0
limit = 5
}
sort {
direction = "ASC"
property = "/name"
}
}

output "number_of_returned_networks" {
value = length(data.equinix_fabric_networks.test.data)
}

output "first_network_name" {
value = data.equinix_fabric_networks.test.data.0.name
}

output "first_network_connections_count" {
value = data.equinix_fabric_networks.test.data.0.connections_count
}

output "first_network_scope" {
value = data.equinix_fabric_networks.test.data.0.scope
}

output "first_network_type" {
value = data.equinix_fabric_networks.test.data.0.type
}

output "first_network_location_region" {
value = one(data.equinix_fabric_networks.test.data.0.location).region
}

output "first_network_project_id" {
value = one(data.equinix_fabric_networks.test.data.0.project).project_id
}

Schema

Required

  • filter (Block List, Min: 1, Max: 10) Filters for the Data Source Search Request (see below for nested schema)
  • outer_operator (String) Determines if the filter list will be grouped by AND or by OR. One of [AND, OR]

Optional

Read-Only

Nested Schema for filter

Required:

  • operator (String) Operators to use on your filtered field with the values given. One of [ =, !=, >, >=, <, <=, BETWEEN, NOT BETWEEN, LIKE, NOT LIKE, ILIKE, NOT ILIKE, IN, NOT IN]
  • property (String) Possible field names to use on filters. One of [/name /uuid /scope /type /operation/equinixStatus /location/region /project/projectId /account/globalCustId /account/orgId /deletedDate /_*]
  • values (List of String) The values that you want to apply the property+operator combination to in order to filter your data search

Optional:

  • group (String) Optional custom id parameter to assign this filter to an inner AND or OR group. Group id must be prefixed with AND_ or OR_. Ensure intended grouped elements have the same given id. Ungrouped filters will be placed in the filter list group by themselves.

Nested Schema for pagination

Optional:

  • limit (Number) Number of elements to be requested per page. Number must be between 1 and 100. Default is 20
  • offset (Number) The page offset for the pagination request. Index of the first element. Default is 0.

Nested Schema for sort

Optional:

  • direction (String) The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC
  • property (String) The property name to use in sorting. One of [/name /uuid /scope /operation/equinixStatus /location/region /changeLog/createdDateTime /changeLog/updatedDateTime]. Defaults to /changeLog/updatedDateTime

Nested Schema for data

Read-Only:

Nested Schema for data.change

Read-Only:

  • href (String)
  • type (String)
  • uuid (String)

Nested Schema for data.change_log

Read-Only:

  • created_by (String)
  • created_by_email (String)
  • created_by_full_name (String)
  • created_date_time (String)
  • deleted_by (String)
  • deleted_by_email (String)
  • deleted_by_full_name (String)
  • deleted_date_time (String)
  • updated_by (String)
  • updated_by_email (String)
  • updated_by_full_name (String)
  • updated_date_time (String)

Nested Schema for data.location

Read-Only:

  • ibx (String)
  • metro_code (String)
  • metro_name (String)
  • region (String)

Nested Schema for data.notifications

Read-Only:

  • emails (List of String)
  • send_interval (String)
  • type (String)

Nested Schema for data.operation

Read-Only:

  • equinix_status (String)

Nested Schema for data.project

Read-Only:

  • project_id (String)
Was this page helpful?