Skip to content
Start here

Routes

List Routes
client.MagicTransit.Routes.List(ctx, query) (*RouteListResponse, error)
GET/accounts/{account_id}/magic/routes
Route Details
client.MagicTransit.Routes.Get(ctx, routeID, query) (*RouteGetResponse, error)
GET/accounts/{account_id}/magic/routes/{route_id}
Create a Route
client.MagicTransit.Routes.New(ctx, params) (*RouteNewResponse, error)
POST/accounts/{account_id}/magic/routes
Update Route
client.MagicTransit.Routes.Update(ctx, routeID, params) (*RouteUpdateResponse, error)
PUT/accounts/{account_id}/magic/routes/{route_id}
Delete Route
client.MagicTransit.Routes.Delete(ctx, routeID, body) (*RouteDeleteResponse, error)
DELETE/accounts/{account_id}/magic/routes/{route_id}
Update Many Routes
client.MagicTransit.Routes.BulkUpdate(ctx, params) (*RouteBulkUpdateResponse, error)
PUT/accounts/{account_id}/magic/routes
Delete Many Routes
client.MagicTransit.Routes.Empty(ctx, body) (*RouteEmptyResponse, error)
DELETE/accounts/{account_id}/magic/routes
ModelsExpand Collapse
type Scope struct{…}

Used only for ECMP routes.

ColoNames []stringoptional

List of colo names for the ECMP scope.

ColoRegions []stringoptional

List of colo regions for the ECMP scope.