Skip to content

Latest commit

 

History

History
73 lines (47 loc) · 2.52 KB

MetrosApi.md

File metadata and controls

73 lines (47 loc) · 2.52 KB

{{classname}}

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

GetMetroByCode

Metro GetMetroByCode(ctx, metroCode) Get Metro by Code

GET Metros retrieves all Equinix Fabric metros, as well as latency data between each metro location. .

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
metroCode string Metro Code

Return type

Metro

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetMetros

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.

Required Parameters

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

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

Return type

MetroResponse

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]