Skip to content

Fabric Go Client that enables Equinix Customer consume Fabric APIs using Equinix Terraform Provider

Notifications You must be signed in to change notification settings

thogarty/fabric-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for v4

Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 4.10
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen For more information, please visit https://equinix.com/about/

Installation

Put the package under your project folder and add the following in import:

import "github.com/equinix-labs/fabric-go/fabric/v4"

Documentation for API Endpoints

All URIs are relative to https://api.equinix.com

Class Method HTTP request Description
CloudRoutersApi CreateCloudRouter Post /fabric/v4/routers Create Routers
CloudRoutersApi CreateCloudRouterAction Post /fabric/v4/routers/{routerId}/actions Route table actions
CloudRoutersApi DeleteCloudRouterByUuid Delete /fabric/v4/routers/{routerId} Delete Routers
CloudRoutersApi GetCloudRouterActions Get /fabric/v4/routers/{routerId}/actions Get actions
CloudRoutersApi GetCloudRouterByUuid Get /fabric/v4/routers/{routerId} Get Routers
CloudRoutersApi GetCloudRouterPackageByCode Get /fabric/v4/routerPackages/{routerPackageCode} Get Package Details
CloudRoutersApi GetCloudRouterPackages Get /fabric/v4/routerPackages List Packages
CloudRoutersApi SearchCloudRouterRoutes Post /fabric/v4/routers/{routerId}/routes/search Search Route Table
CloudRoutersApi SearchCloudRouters Post /fabric/v4/routers/search Search Routers
CloudRoutersApi UpdateCloudRouterByUuid Patch /fabric/v4/routers/{routerId} Update Routers
ConnectionsApi CreateConnection Post /fabric/v4/connections Create Connection
ConnectionsApi CreateConnectionAction Post /fabric/v4/connections/{connectionId}/actions Connection Actions
ConnectionsApi DeleteConnectionByUuid Delete /fabric/v4/connections/{connectionId} Delete by ID
ConnectionsApi GetConnectionByUuid Get /fabric/v4/connections/{connectionId} Get Connection by ID
ConnectionsApi SearchConnections Post /fabric/v4/connections/search Search connections
ConnectionsApi UpdateConnectionByUuid Patch /fabric/v4/connections/{connectionId} Update by ID
ConnectionsApi ValidateConnections Post /fabric/v4/connections/validate Validate Connection
HealthApi GetStatus Get /fabric/v4/health Get service status
MetrosApi GetMetroByCode Get /fabric/v4/metros/{metroCode} Get Metro by Code
MetrosApi GetMetros Get /fabric/v4/metros Get all Metros
NetworksApi CreateNetwork Post /fabric/v4/networks Create Network
NetworksApi DeleteNetworkByUuid Delete /fabric/v4/networks/{networkId} Delete Network By ID
NetworksApi GetConnectionsByNetworkUuid Get /fabric/v4/networks/{networkId}/connections Get Connections
NetworksApi GetNetworkByUuid Get /fabric/v4/networks/{networkId} Get Network By ID
NetworksApi GetNetworkChangeByUuid Get /fabric/v4/networks/{networkId}/changes/{changeId} Get Change By ID
NetworksApi GetNetworkChanges Get /fabric/v4/networks/{networkId}/changes Get Network Changes
NetworksApi SearchNetworks Post /fabric/v4/networks/search Search Network
NetworksApi UpdateNetworkByUuid Patch /fabric/v4/networks/{networkId} Update Network By ID
PortsApi AddToLag Post /fabric/v4/ports/{portId}/physicalPorts/bulk Add to Lag
PortsApi CreateBulkPort Post /fabric/v4/ports/bulk Create Port
PortsApi CreatePort Post /fabric/v4/ports Create Port
PortsApi GetPortByUuid Get /fabric/v4/ports/{portId} Get Port by uuid
PortsApi GetPorts Get /fabric/v4/ports Get All Ports
PortsApi GetVlans Get /fabric/v4/ports/{portUuid}/linkProtocols Get Vlans
PortsApi SearchPorts Post /fabric/v4/ports/search Search ports
PrecisionTimeApi CreateTimeServices Post /fabric/v4/timeServices Create time service
PrecisionTimeApi DeleteTimeServiceById Delete /fabric/v4/timeServices/{serviceId} Delete time service
PrecisionTimeApi GetTimeServicesById Get /fabric/v4/timeServices/{serviceId} Get time service
PrecisionTimeApi GetTimeServicesConnectionsByServiceId Get /fabric/v4/timeServices/{serviceId}/connections Get Conn Links
PrecisionTimeApi GetTimeServicesPackageByCode Get /fabric/v4/timeServicesPackages/{packageCode} Get package by Code
PrecisionTimeApi GetTimeServicesPackages Get /fabric/v4/timeServicesPackages Get Packages
PrecisionTimeApi UpdateTimeServicesById Patch /fabric/v4/timeServices/{serviceId} Patch time service
PricesApi SearchPrices Post /fabric/v4/prices/search Get Prices
RoutingProtocolsApi CreateConnectionRoutingProtocol Post /fabric/v4/connections/{connectionId}/routingProtocols Create Protocol
RoutingProtocolsApi CreateConnectionRoutingProtocolsInBulk Post /fabric/v4/connections/{connectionId}/routingProtocols/bulk Bulk Create Protocol
RoutingProtocolsApi DeleteConnectionRoutingProtocolByUuid Delete /fabric/v4/connections/{connectionId}/routingProtocols/{routingProtocolId} Delete Protocol
RoutingProtocolsApi GetConnectionRoutingProtocolAllBgpActions Get /fabric/v4/connections/{connectionId}/routingProtocols/{routingProtocolId}/actions Get BGP Actions
RoutingProtocolsApi GetConnectionRoutingProtocolByUuid Get /fabric/v4/connections/{connectionId}/routingProtocols/{routingProtocolId} Get Protocol
RoutingProtocolsApi GetConnectionRoutingProtocols Get /fabric/v4/connections/{connectionId}/routingProtocols GetRoutingProtocols
RoutingProtocolsApi GetConnectionRoutingProtocolsBgpActionByUuid Get /fabric/v4/connections/{connectionId}/routingProtocols/{routingProtocolId}/actions/{actionId} Get BGP Action
RoutingProtocolsApi GetConnectionRoutingProtocolsChangeByUuid Get /fabric/v4/connections/{connectionId}/routingProtocols/{routingProtocolId}/changes/{changeId} Get Change By ID
RoutingProtocolsApi GetConnectionRoutingProtocolsChanges Get /fabric/v4/connections/{connectionId}/routingProtocols/{routingProtocolId}/changes Get Changes
RoutingProtocolsApi PatchConnectionRoutingProtocolByUuid Patch /fabric/v4/connections/{connectionId}/routingProtocols/{routingProtocolId} Patch Protocol
RoutingProtocolsApi PostConnectionRoutingProtocolBgpActionByUuid Post /fabric/v4/connections/{connectionId}/routingProtocols/{routingProtocolId}/actions Clear/Reset BGP
RoutingProtocolsApi ReplaceConnectionRoutingProtocolByUuid Put /fabric/v4/connections/{connectionId}/routingProtocols/{routingProtocolId} Replace Protocol
RoutingProtocolsApi ValidateRoutingProtocol Post /fabric/v4/routers/{routerId}/validate Validate Subnet
ServiceProfilesApi CreateServiceProfile Post /fabric/v4/serviceProfiles Create Profile
ServiceProfilesApi DeleteServiceProfileByUuid Delete /fabric/v4/serviceProfiles/{serviceProfileId} Delete Profile
ServiceProfilesApi GetServiceProfileByUuid Get /fabric/v4/serviceProfiles/{serviceProfileId} Get Profile
ServiceProfilesApi GetServiceProfiles Get /fabric/v4/serviceProfiles Get all Profiles
ServiceProfilesApi PutServiceProfileByUuid Put /fabric/v4/serviceProfiles/{serviceProfileId} Replace Profile
ServiceProfilesApi SearchServiceProfiles Post /fabric/v4/serviceProfiles/search Profile Search
ServiceProfilesApi UpdateServiceProfileByUuid Patch /fabric/v4/serviceProfiles/{serviceProfileId} Update Profile
ServiceTokensApi CreateServiceToken Post /fabric/v4/serviceTokens Create Service Token
ServiceTokensApi CreateServiceTokenAction Post /fabric/v4/serviceTokens/{serviceTokenId}/actions ServiceToken Actions
ServiceTokensApi DeleteServiceTokenByUuid Delete /fabric/v4/serviceTokens/{serviceTokenId} Delete Token by uuid
ServiceTokensApi GetServiceTokenByUuid Get /fabric/v4/serviceTokens/{serviceTokenId} Get Token by uuid
ServiceTokensApi GetServiceTokens Get /fabric/v4/serviceTokens Get All Tokens
ServiceTokensApi SearchServiceTokens Post /fabric/v4/serviceTokens/search Search servicetokens
ServiceTokensApi UpdateServiceTokenByUuid Patch /fabric/v4/serviceTokens/{serviceTokenId} Update Token By ID
StatisticsApi GetConnectionStatsByPortUuid Get /fabric/v4/connections/{connectionId}/stats Get Stats by uuid
StatisticsApi GetPortStats Get /fabric/v4/ports/stats Top Port Statistics
StatisticsApi GetPortStatsByPortUuid Get /fabric/v4/ports/{portId}/stats Get Stats by uuid

Documentation For Models

Documentation For Authorization

BearerAuth

Author

[email protected]

About

Fabric Go Client that enables Equinix Customer consume Fabric APIs using Equinix Terraform Provider

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.2%
  • Other 0.8%