All URIs are relative to https://api.equinix.com
Method | HTTP request | Description |
---|---|---|
GetMetroByCode | Get /fabric/v4/metros/{metroCode} | Get Metro by Code |
GetMetros | Get /fabric/v4/metros | Get all Metros |
Metro GetMetroByCode(ctx, metroCode) Get Metro by Code
GET Metros retrieves all Equinix Fabric metros, as well as latency data between each metro location. .
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
metroCode | string | Metro Code |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MetroResponse GetMetros(ctx, optional) Get all Metros
GET All Subscriber Metros with an option query parameter to return all Equinix Fabric metros in which the customer has a presence, as well as latency data for each location.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *MetrosApiGetMetrosOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a MetrosApiGetMetrosOpts struct
Name | Type | Description | Notes |
---|---|---|---|
presence | optional.Interface of Presence | User On Boarded Metros based on Fabric resource availability | |
offset | optional.Int32 | offset | |
limit | optional.Int32 | number of records to fetch |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]