1. Packages
  2. Equinix
  3. API Docs
  4. fabric
  5. getMetros
Equinix v0.22.0 published on Wednesday, Apr 23, 2025 by Equinix

equinix.fabric.getMetros

Explore with Pulumi AI

Equinix v0.22.0 published on Wednesday, Apr 23, 2025 by Equinix

Example Usage

Using getMetros

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getMetros(args: GetMetrosArgs, opts?: InvokeOptions): Promise<GetMetrosResult>
function getMetrosOutput(args: GetMetrosOutputArgs, opts?: InvokeOptions): Output<GetMetrosResult>
Copy
def get_metros(pagination: Optional[GetMetrosPagination] = None,
               presence: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetMetrosResult
def get_metros_output(pagination: Optional[pulumi.Input[GetMetrosPaginationArgs]] = None,
               presence: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetMetrosResult]
Copy
func GetMetros(ctx *Context, args *GetMetrosArgs, opts ...InvokeOption) (*GetMetrosResult, error)
func GetMetrosOutput(ctx *Context, args *GetMetrosOutputArgs, opts ...InvokeOption) GetMetrosResultOutput
Copy

> Note: This function is named GetMetros in the Go SDK.

public static class GetMetros 
{
    public static Task<GetMetrosResult> InvokeAsync(GetMetrosArgs args, InvokeOptions? opts = null)
    public static Output<GetMetrosResult> Invoke(GetMetrosInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetMetrosResult> getMetros(GetMetrosArgs args, InvokeOptions options)
public static Output<GetMetrosResult> getMetros(GetMetrosArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: equinix:fabric/getMetros:getMetros
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Pagination This property is required. GetMetrosPagination
Pagination details for the returned metro list
Presence string
User On Boarded Metros based on Fabric resource availability
Pagination This property is required. GetMetrosPagination
Pagination details for the returned metro list
Presence string
User On Boarded Metros based on Fabric resource availability
pagination This property is required. GetMetrosPagination
Pagination details for the returned metro list
presence String
User On Boarded Metros based on Fabric resource availability
pagination This property is required. GetMetrosPagination
Pagination details for the returned metro list
presence string
User On Boarded Metros based on Fabric resource availability
pagination This property is required. GetMetrosPagination
Pagination details for the returned metro list
presence str
User On Boarded Metros based on Fabric resource availability
pagination This property is required. Property Map
Pagination details for the returned metro list
presence String
User On Boarded Metros based on Fabric resource availability

getMetros Result

The following output properties are available:

Datas List<GetMetrosData>
Returned list of metro objects
Id string
The unique identifier of the resource
Pagination GetMetrosPagination
Pagination details for the returned metro list
Presence string
User On Boarded Metros based on Fabric resource availability
Datas []GetMetrosData
Returned list of metro objects
Id string
The unique identifier of the resource
Pagination GetMetrosPagination
Pagination details for the returned metro list
Presence string
User On Boarded Metros based on Fabric resource availability
datas List<GetMetrosData>
Returned list of metro objects
id String
The unique identifier of the resource
pagination GetMetrosPagination
Pagination details for the returned metro list
presence String
User On Boarded Metros based on Fabric resource availability
datas GetMetrosData[]
Returned list of metro objects
id string
The unique identifier of the resource
pagination GetMetrosPagination
Pagination details for the returned metro list
presence string
User On Boarded Metros based on Fabric resource availability
datas Sequence[GetMetrosData]
Returned list of metro objects
id str
The unique identifier of the resource
pagination GetMetrosPagination
Pagination details for the returned metro list
presence str
User On Boarded Metros based on Fabric resource availability
datas List<Property Map>
Returned list of metro objects
id String
The unique identifier of the resource
pagination Property Map
Pagination details for the returned metro list
presence String
User On Boarded Metros based on Fabric resource availability

Supporting Types

GetMetrosData

Code This property is required. string
Code assigned to an Equinix IBX data center in a specified metropolitan area
ConnectedMetros This property is required. List<GetMetrosDataConnectedMetro>
Arrays of objects containing latency data for the specified metro
EquinixAsn This property is required. int
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.
GeoCoordinates This property is required. GetMetrosDataGeoCoordinates
Geographic location data of Fabric Metro
GeoScopes This property is required. List<string>
List of supported geographic boundaries of a Fabric Metro. Example values: CANADA, CONUS.
Href This property is required. string
The canonical URL at which the resource resides
LocalVcBandwidthMax This property is required. int
This field holds Max Connection speed within the metro.
Name This property is required. string
Name of the region in which the data center is located
Region This property is required. string
Board geographical area in which the data center is located
Type This property is required. string
Indicator of a fabric metro
Code This property is required. string
Code assigned to an Equinix IBX data center in a specified metropolitan area
ConnectedMetros This property is required. []GetMetrosDataConnectedMetro
Arrays of objects containing latency data for the specified metro
EquinixAsn This property is required. int
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.
GeoCoordinates This property is required. GetMetrosDataGeoCoordinates
Geographic location data of Fabric Metro
GeoScopes This property is required. []string
List of supported geographic boundaries of a Fabric Metro. Example values: CANADA, CONUS.
Href This property is required. string
The canonical URL at which the resource resides
LocalVcBandwidthMax This property is required. int
This field holds Max Connection speed within the metro.
Name This property is required. string
Name of the region in which the data center is located
Region This property is required. string
Board geographical area in which the data center is located
Type This property is required. string
Indicator of a fabric metro
code This property is required. String
Code assigned to an Equinix IBX data center in a specified metropolitan area
connectedMetros This property is required. List<GetMetrosDataConnectedMetro>
Arrays of objects containing latency data for the specified metro
equinixAsn This property is required. Integer
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.
geoCoordinates This property is required. GetMetrosDataGeoCoordinates
Geographic location data of Fabric Metro
geoScopes This property is required. List<String>
List of supported geographic boundaries of a Fabric Metro. Example values: CANADA, CONUS.
href This property is required. String
The canonical URL at which the resource resides
localVcBandwidthMax This property is required. Integer
This field holds Max Connection speed within the metro.
name This property is required. String
Name of the region in which the data center is located
region This property is required. String
Board geographical area in which the data center is located
type This property is required. String
Indicator of a fabric metro
code This property is required. string
Code assigned to an Equinix IBX data center in a specified metropolitan area
connectedMetros This property is required. GetMetrosDataConnectedMetro[]
Arrays of objects containing latency data for the specified metro
equinixAsn This property is required. 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.
geoCoordinates This property is required. GetMetrosDataGeoCoordinates
Geographic location data of Fabric Metro
geoScopes This property is required. string[]
List of supported geographic boundaries of a Fabric Metro. Example values: CANADA, CONUS.
href This property is required. string
The canonical URL at which the resource resides
localVcBandwidthMax This property is required. number
This field holds Max Connection speed within the metro.
name This property is required. string
Name of the region in which the data center is located
region This property is required. string
Board geographical area in which the data center is located
type This property is required. string
Indicator of a fabric metro
code This property is required. str
Code assigned to an Equinix IBX data center in a specified metropolitan area
connected_metros This property is required. Sequence[GetMetrosDataConnectedMetro]
Arrays of objects containing latency data for the specified metro
equinix_asn This property is required. int
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 This property is required. GetMetrosDataGeoCoordinates
Geographic location data of Fabric Metro
geo_scopes This property is required. Sequence[str]
List of supported geographic boundaries of a Fabric Metro. Example values: CANADA, CONUS.
href This property is required. str
The canonical URL at which the resource resides
local_vc_bandwidth_max This property is required. int
This field holds Max Connection speed within the metro.
name This property is required. str
Name of the region in which the data center is located
region This property is required. str
Board geographical area in which the data center is located
type This property is required. str
Indicator of a fabric metro
code This property is required. String
Code assigned to an Equinix IBX data center in a specified metropolitan area
connectedMetros This property is required. List<Property Map>
Arrays of objects containing latency data for the specified metro
equinixAsn This property is required. 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.
geoCoordinates This property is required. Property Map
Geographic location data of Fabric Metro
geoScopes This property is required. List<String>
List of supported geographic boundaries of a Fabric Metro. Example values: CANADA, CONUS.
href This property is required. String
The canonical URL at which the resource resides
localVcBandwidthMax This property is required. Number
This field holds Max Connection speed within the metro.
name This property is required. String
Name of the region in which the data center is located
region This property is required. String
Board geographical area in which the data center is located
type This property is required. String
Indicator of a fabric metro

GetMetrosDataConnectedMetro

AvgLatency This property is required. double
Code This property is required. string
Href This property is required. string
RemoteVcBandwidthMax This property is required. int
AvgLatency This property is required. float64
Code This property is required. string
Href This property is required. string
RemoteVcBandwidthMax This property is required. int
avgLatency This property is required. Double
code This property is required. String
href This property is required. String
remoteVcBandwidthMax This property is required. Integer
avgLatency This property is required. number
code This property is required. string
href This property is required. string
remoteVcBandwidthMax This property is required. number
avg_latency This property is required. float
code This property is required. str
href This property is required. str
remote_vc_bandwidth_max This property is required. int
avgLatency This property is required. Number
code This property is required. String
href This property is required. String
remoteVcBandwidthMax This property is required. Number

GetMetrosDataGeoCoordinates

Latitude This property is required. double
Latitude of the Metro
Longitude This property is required. double
Longitude of the Metro
Latitude This property is required. float64
Latitude of the Metro
Longitude This property is required. float64
Longitude of the Metro
latitude This property is required. Double
Latitude of the Metro
longitude This property is required. Double
Longitude of the Metro
latitude This property is required. number
Latitude of the Metro
longitude This property is required. number
Longitude of the Metro
latitude This property is required. float
Latitude of the Metro
longitude This property is required. float
Longitude of the Metro
latitude This property is required. Number
Latitude of the Metro
longitude This property is required. Number
Longitude of the Metro

GetMetrosPagination

Next This property is required. string
URL relative to the next item in the response.
Previous This property is required. string
URL relative to the previous item in the response.
Total This property is required. int
The total number of metro returned
Limit int
Maximum number of search results returned per page.
Offset int
Index of the first item returned in the response.
Next This property is required. string
URL relative to the next item in the response.
Previous This property is required. string
URL relative to the previous item in the response.
Total This property is required. int
The total number of metro returned
Limit int
Maximum number of search results returned per page.
Offset int
Index of the first item returned in the response.
next This property is required. String
URL relative to the next item in the response.
previous This property is required. String
URL relative to the previous item in the response.
total This property is required. Integer
The total number of metro returned
limit Integer
Maximum number of search results returned per page.
offset Integer
Index of the first item returned in the response.
next This property is required. string
URL relative to the next item in the response.
previous This property is required. string
URL relative to the previous item in the response.
total This property is required. number
The total number of metro returned
limit number
Maximum number of search results returned per page.
offset number
Index of the first item returned in the response.
next This property is required. str
URL relative to the next item in the response.
previous This property is required. str
URL relative to the previous item in the response.
total This property is required. int
The total number of metro returned
limit int
Maximum number of search results returned per page.
offset int
Index of the first item returned in the response.
next This property is required. String
URL relative to the next item in the response.
previous This property is required. String
URL relative to the previous item in the response.
total This property is required. Number
The total number of metro returned
limit Number
Maximum number of search results returned per page.
offset Number
Index of the first item returned in the response.

Package Details

Repository
equinix equinix/pulumi-equinix
License
Apache-2.0
Notes
This Pulumi package is based on the equinix Terraform Provider.
Equinix v0.22.0 published on Wednesday, Apr 23, 2025 by Equinix