equinix_fabric_port (Data Source)
Fabric V4 API compatible data resource that allow user to fetch port by uuid
Additional documentation:
- Getting Started: https://docs.equinix.com/fabric/ports/managing-fabric-ports/
- API: https://docs.equinix.com/api-catalog/fabricv4/#tag/Ports
Example Usage
data "equinix_fabric_port" "port_data_name" {
uuid = "<uuid_of_port>"
}
output "id" {
value = data.equinix_fabric_port.port_data_name.id
}
output "name" {
value = data.equinix_fabric_port.port_data_name.name
}
output "state" {
value = data.equinix_fabric_port.port_data_name.state
}
output "account_name" {
value = data.equinix_fabric_port.port_data_name.account.0.account_name
}
output "type" {
value = data.equinix_fabric_port.port_data_name.type
}
output "bandwidth" {
value = data.equinix_fabric_port.port_data_name.bandwidth
}
output "used_bandwidth" {
value = data.equinix_fabric_port.port_data_name.used_bandwidth
}
output "encapsulation_type" {
value = data.equinix_fabric_port.port_data_name.encapsulation.0.type
}
output "ibx" {
value = data.equinix_fabric_port.port_data_name.location.0.ibx
}
output "metro_code" {
value = data.equinix_fabric_port.port_data_name.location.0.metro_code
}
output "metro_name" {
value = data.equinix_fabric_port.port_data_name.location.0.metro_name
}
output "region" {
value = data.equinix_fabric_port.port_data_name.location.0.region
}
output "device_redundancy_enabled" {
value = data.equinix_fabric_port.port_data_name.device.0.redundancy.0.enabled
}
output "device_redundancy_priority" {
value = data.equinix_fabric_port.port_data_name.device.0.redundancy.0.priority
}
Schema
Required
uuid(String) Equinix-assigned port identifier
Read-Only
account(Set of Object) Customer account information that is associated with this port (see below for nested schema)available_bandwidth(Number) Port available bandwidth in Mbpsbandwidth(Number) Port bandwidth in Mbpschange_log(Set of Object) Captures port lifecycle change information (see below for nested schema)description(String) Port descriptiondevice(Set of Object) Port device (see below for nested schema)encapsulation(Set of Object) Port encapsulation protocol (see below for nested schema)href(String) Port URI informationid(String) The ID of this resource.lag_enabled(Boolean) Port Laglocation(Set of Object) Port location information (see below for nested schema)name(String) Port nameoperation(Set of Object) Port specific operational data (see below for nested schema)redundancy(Set of Object) Port redundancy information (see below for nested schema)service_type(String) Port service typestate(String) Port statetype(String) Port typeused_bandwidth(Number) Port used bandwidth in Mbps
Nested Schema for account
Read-Only:
account_name(String)account_number(Number)global_cust_id(String)global_org_id(String)global_organization_name(String)org_id(Number)organization_name(String)ucm_id(String)
Nested Schema for 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 device
Read-Only:
name(String)redundancy(Set of Object) (see below for nested schema)
Nested Schema for device.redundancy
Read-Only:
enabled(Boolean)group(String)priority(String)
Nested Schema for encapsulation
Read-Only:
tag_protocol_id(String)type(String)
Nested Schema for location
Read-Only:
ibx(String)metro_code(String)metro_name(String)region(String)
Nested Schema for operation
Read-Only:
connection_count(Number)op_status_changed_at(String)operational_status(String)
Nested Schema for redundancy
Read-Only:
enabled(Boolean)group(String)priority(String)