equinix_fabric_metro (Data Source)
Example Usage
data "equinix_fabric_metro" "metro" {
metro_code = "<metro_code>"
}
output "type" {
value = data.equinix_fabric_metro.metro.type
}
output "metro_code" {
value = data.equinix_fabric_metro.metro.metro_code
}
output "region" {
value = data.equinix_fabric_metro.metro.region
}
output "name" {
value = data.equinix_fabric_metro.metro.name
}
output "equinix_asn" {
value = data.equinix_fabric_metro.metro.equinix_asn
}
output "local_vc_bandwidth_max" {
value = data.equinix_fabric_metro.metro.local_vc_bandwidth_max
}
output "geo_coordinates" {
value = data.equinix_fabric_metro.metro.geo_coordinates
}
output "connected_metros" {
value = data.equinix_fabric_metro.metro.connected_metros
}
output "geoScopes" {
value = data.equinix_fabric_metro.metro.geo_scopes
}
Schema
Required
metro_code(String) The metro code this data source should retrieve
Read-Only
code(String) Code assigned to an Equinix IBX data center in a specified metropolitan areaconnected_metros(List of Object) Arrays of objects containing latency data for the specified metro (see below for nested schema)country(String) Country in which the data center is locatedequinix_asn(Number) Autonomous system number (ASN) for a specified Fabric metro. The ASN is a unique identifier that carries the network routing protocol and exchanges that data with other internal systems via border gateway protocol.geo_coordinates(Attributes) Geographic location data of Fabric Metro (see below for nested schema)geo_scopes(List of String) List of supported geographic boundaries of a Fabric Metro. Example values: CANADA, CONUS.href(String) The canonical URL at which the resource residesid(String) The unique identifier of the resourcelocal_vc_bandwidth_max(Number) This field holds Max Connection speed within the metro.name(String) Name of the region in which the data center is locatedregion(String) Board geographical area in which the data center is locatedtype(String) Indicator of a fabric metro
Nested Schema for connected_metros
Read-Only:
avg_latency(Number)code(String)href(String)remote_vc_bandwidth_max(Number)
Nested Schema for geo_coordinates
Read-Only:
latitude(Number) Latitude of the Metrolongitude(Number) Longitude of the Metro