Magic Transit
Magic TransitApps
List Apps
client.MagicTransit.Apps.List(ctx, query) (*SinglePage[AppListResponse], error)
GET/accounts/{account_id}/magic/apps
Create a new App
client.MagicTransit.Apps.New(ctx, params) (*AppNewResponse, error)
POST/accounts/{account_id}/magic/apps
Update an App
client.MagicTransit.Apps.Update(ctx, accountAppID, params) (*AppUpdateResponse, error)
PUT/accounts/{account_id}/magic/apps/{account_app_id}
Update an App
client.MagicTransit.Apps.Edit(ctx, accountAppID, params) (*AppEditResponse, error)
PATCH/accounts/{account_id}/magic/apps/{account_app_id}
Delete Account App
client.MagicTransit.Apps.Delete(ctx, accountAppID, body) (*AppDeleteResponse, error)
DELETE/accounts/{account_id}/magic/apps/{account_app_id}
Magic TransitCf Interconnects
List interconnects
client.MagicTransit.CfInterconnects.List(ctx, params) (*CfInterconnectListResponse, error)
GET/accounts/{account_id}/magic/cf_interconnects
List interconnect Details
client.MagicTransit.CfInterconnects.Get(ctx, cfInterconnectID, params) (*CfInterconnectGetResponse, error)
GET/accounts/{account_id}/magic/cf_interconnects/{cf_interconnect_id}
Update interconnect
client.MagicTransit.CfInterconnects.Update(ctx, cfInterconnectID, params) (*CfInterconnectUpdateResponse, error)
PUT/accounts/{account_id}/magic/cf_interconnects/{cf_interconnect_id}
Update multiple interconnects
client.MagicTransit.CfInterconnects.BulkUpdate(ctx, params) (*CfInterconnectBulkUpdateResponse, error)
PUT/accounts/{account_id}/magic/cf_interconnects
Magic TransitGRE Tunnels
List GRE tunnels
client.MagicTransit.GRETunnels.List(ctx, params) (*GRETunnelListResponse, error)
GET/accounts/{account_id}/magic/gre_tunnels
List GRE Tunnel Details
client.MagicTransit.GRETunnels.Get(ctx, greTunnelID, params) (*GRETunnelGetResponse, error)
GET/accounts/{account_id}/magic/gre_tunnels/{gre_tunnel_id}
Create a GRE tunnel
client.MagicTransit.GRETunnels.New(ctx, params) (*GRETunnelNewResponse, error)
POST/accounts/{account_id}/magic/gre_tunnels
Update GRE Tunnel
client.MagicTransit.GRETunnels.Update(ctx, greTunnelID, params) (*GRETunnelUpdateResponse, error)
PUT/accounts/{account_id}/magic/gre_tunnels/{gre_tunnel_id}
Delete GRE Tunnel
client.MagicTransit.GRETunnels.Delete(ctx, greTunnelID, params) (*GRETunnelDeleteResponse, error)
DELETE/accounts/{account_id}/magic/gre_tunnels/{gre_tunnel_id}
Update multiple GRE tunnels
client.MagicTransit.GRETunnels.BulkUpdate(ctx, params) (*GRETunnelBulkUpdateResponse, error)
PUT/accounts/{account_id}/magic/gre_tunnels
Magic TransitIPSEC Tunnels
List IPsec tunnels
client.MagicTransit.IPSECTunnels.List(ctx, params) (*IPSECTunnelListResponse, error)
GET/accounts/{account_id}/magic/ipsec_tunnels
List IPsec tunnel details
client.MagicTransit.IPSECTunnels.Get(ctx, ipsecTunnelID, params) (*IPSECTunnelGetResponse, error)
GET/accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}
Create an IPsec tunnel
client.MagicTransit.IPSECTunnels.New(ctx, params) (*IPSECTunnelNewResponse, error)
POST/accounts/{account_id}/magic/ipsec_tunnels
Update IPsec Tunnel
client.MagicTransit.IPSECTunnels.Update(ctx, ipsecTunnelID, params) (*IPSECTunnelUpdateResponse, error)
PUT/accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}
Delete IPsec Tunnel
client.MagicTransit.IPSECTunnels.Delete(ctx, ipsecTunnelID, params) (*IPSECTunnelDeleteResponse, error)
DELETE/accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}
Update multiple IPsec tunnels
client.MagicTransit.IPSECTunnels.BulkUpdate(ctx, params) (*IPSECTunnelBulkUpdateResponse, error)
PUT/accounts/{account_id}/magic/ipsec_tunnels
Generate Pre Shared Key (PSK) for IPsec tunnels
client.MagicTransit.IPSECTunnels.PSKGenerate(ctx, ipsecTunnelID, params) (*IPSECTunnelPSKGenerateResponse, error)
POST/accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}/psk_generate
Magic TransitRoutes
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
Magic TransitSites
List Sites
client.MagicTransit.Sites.List(ctx, params) (*SinglePage[Site], error)
GET/accounts/{account_id}/magic/sites
Site Details
client.MagicTransit.Sites.Get(ctx, siteID, params) (*Site, error)
GET/accounts/{account_id}/magic/sites/{site_id}
Create a new Site
client.MagicTransit.Sites.New(ctx, params) (*Site, error)
POST/accounts/{account_id}/magic/sites
Update Site
client.MagicTransit.Sites.Update(ctx, siteID, params) (*Site, error)
PUT/accounts/{account_id}/magic/sites/{site_id}
Patch Site
client.MagicTransit.Sites.Edit(ctx, siteID, params) (*Site, error)
PATCH/accounts/{account_id}/magic/sites/{site_id}
Delete Site
client.MagicTransit.Sites.Delete(ctx, siteID, body) (*Site, error)
DELETE/accounts/{account_id}/magic/sites/{site_id}
Magic TransitSitesApp Configuration
Magic TransitSitesACLs
List Site ACLs
client.MagicTransit.Sites.ACLs.List(ctx, siteID, query) (*SinglePage[ACL], error)
GET/accounts/{account_id}/magic/sites/{site_id}/acls
Site ACL Details
client.MagicTransit.Sites.ACLs.Get(ctx, siteID, aclID, query) (*ACL, error)
GET/accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}
Create a new Site ACL
client.MagicTransit.Sites.ACLs.New(ctx, siteID, params) (*ACL, error)
POST/accounts/{account_id}/magic/sites/{site_id}/acls
Update Site ACL
client.MagicTransit.Sites.ACLs.Update(ctx, siteID, aclID, params) (*ACL, error)
PUT/accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}
Patch Site ACL
client.MagicTransit.Sites.ACLs.Edit(ctx, siteID, aclID, params) (*ACL, error)
PATCH/accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}
Delete Site ACL
client.MagicTransit.Sites.ACLs.Delete(ctx, siteID, aclID, body) (*ACL, error)
DELETE/accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}
Magic TransitSitesLANs
List Site LANs
client.MagicTransit.Sites.LANs.List(ctx, siteID, query) (*SinglePage[LAN], error)
GET/accounts/{account_id}/magic/sites/{site_id}/lans
Site LAN Details
client.MagicTransit.Sites.LANs.Get(ctx, siteID, lanID, query) (*LAN, error)
GET/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}
Create a new Site LAN
client.MagicTransit.Sites.LANs.New(ctx, siteID, params) (*SinglePage[LAN], error)
POST/accounts/{account_id}/magic/sites/{site_id}/lans
Update Site LAN
client.MagicTransit.Sites.LANs.Update(ctx, siteID, lanID, params) (*LAN, error)
PUT/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}
Patch Site LAN
client.MagicTransit.Sites.LANs.Edit(ctx, siteID, lanID, params) (*LAN, error)
PATCH/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}
Delete Site LAN
client.MagicTransit.Sites.LANs.Delete(ctx, siteID, lanID, body) (*LAN, error)
DELETE/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}
Magic TransitSitesWANs
List Site WANs
client.MagicTransit.Sites.WANs.List(ctx, siteID, query) (*SinglePage[WAN], error)
GET/accounts/{account_id}/magic/sites/{site_id}/wans
Site WAN Details
client.MagicTransit.Sites.WANs.Get(ctx, siteID, wanID, query) (*WAN, error)
GET/accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}
Create a new Site WAN
client.MagicTransit.Sites.WANs.New(ctx, siteID, params) (*SinglePage[WAN], error)
POST/accounts/{account_id}/magic/sites/{site_id}/wans
Update Site WAN
client.MagicTransit.Sites.WANs.Update(ctx, siteID, wanID, params) (*WAN, error)
PUT/accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}
Patch Site WAN
client.MagicTransit.Sites.WANs.Edit(ctx, siteID, wanID, params) (*WAN, error)
PATCH/accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}
Delete Site WAN
client.MagicTransit.Sites.WANs.Delete(ctx, siteID, wanID, body) (*WAN, error)
DELETE/accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}
Magic TransitConnectors
List Connectors
client.MagicTransit.Connectors.List(ctx, query) (*SinglePage[ConnectorListResponse], error)
GET/accounts/{account_id}/magic/connectors
Fetch Connector
client.MagicTransit.Connectors.Get(ctx, connectorID, query) (*ConnectorGetResponse, error)
GET/accounts/{account_id}/magic/connectors/{connector_id}
Add a connector to your account
client.MagicTransit.Connectors.New(ctx, params) (*ConnectorNewResponse, error)
POST/accounts/{account_id}/magic/connectors
Replace Connector or Re-provision License Key
client.MagicTransit.Connectors.Update(ctx, connectorID, params) (*ConnectorUpdateResponse, error)
PUT/accounts/{account_id}/magic/connectors/{connector_id}
Edit Connector to update specific properties or Re-provision License Key
client.MagicTransit.Connectors.Edit(ctx, connectorID, params) (*ConnectorEditResponse, error)
PATCH/accounts/{account_id}/magic/connectors/{connector_id}
Remove a connector from your account
client.MagicTransit.Connectors.Delete(ctx, connectorID, body) (*ConnectorDeleteResponse, error)
DELETE/accounts/{account_id}/magic/connectors/{connector_id}
Magic TransitConnectorsEvents
List Events
client.MagicTransit.Connectors.Events.List(ctx, connectorID, params) (*ConnectorEventListResponse, error)
GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events
Get Event
client.MagicTransit.Connectors.Events.Get(ctx, connectorID, eventT, eventN, query) (*ConnectorEventGetResponse, error)
GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events/{event_t}.{event_n}
Magic TransitConnectorsEventsLatest
Get latest Events
client.MagicTransit.Connectors.Events.Latest.List(ctx, connectorID, query) (*ConnectorEventLatestListResponse, error)
GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events/latest
Magic TransitConnectorsSnapshots
List Snapshots
client.MagicTransit.Connectors.Snapshots.List(ctx, connectorID, params) (*ConnectorSnapshotListResponse, error)
GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots
Get Snapshot
client.MagicTransit.Connectors.Snapshots.Get(ctx, connectorID, snapshotT, query) (*ConnectorSnapshotGetResponse, error)
GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots/{snapshot_t}
Magic TransitConnectorsSnapshotsLatest
Get latest Snapshots
client.MagicTransit.Connectors.Snapshots.Latest.List(ctx, connectorID, query) (*ConnectorSnapshotLatestListResponse, error)
GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots/latest
Magic TransitPCAPs
List packet capture requests
client.MagicTransit.PCAPs.List(ctx, query) (*SinglePage[PCAPListResponse], error)
GET/accounts/{account_id}/pcaps
Get PCAP request
client.MagicTransit.PCAPs.Get(ctx, pcapID, query) (*PCAPGetResponse, error)
GET/accounts/{account_id}/pcaps/{pcap_id}
Create PCAP request
client.MagicTransit.PCAPs.New(ctx, params) (*PCAPNewResponse, error)
POST/accounts/{account_id}/pcaps
Stop full PCAP
client.MagicTransit.PCAPs.Stop(ctx, pcapID, body) error
PUT/accounts/{account_id}/pcaps/{pcap_id}/stop
Magic TransitPCAPsOwnership
List PCAPs Bucket Ownership
client.MagicTransit.PCAPs.Ownership.Get(ctx, query) (*SinglePage[Ownership], error)
GET/accounts/{account_id}/pcaps/ownership
Add buckets for full packet captures
client.MagicTransit.PCAPs.Ownership.New(ctx, params) (*Ownership, error)
POST/accounts/{account_id}/pcaps/ownership
Delete buckets for full packet captures
client.MagicTransit.PCAPs.Ownership.Delete(ctx, ownershipID, body) error
DELETE/accounts/{account_id}/pcaps/ownership/{ownership_id}
Validate buckets for full packet captures
client.MagicTransit.PCAPs.Ownership.Validate(ctx, params) (*Ownership, error)
POST/accounts/{account_id}/pcaps/ownership/validate
Magic TransitPCAPsDownload
Download Simple PCAP
client.MagicTransit.PCAPs.Download.Get(ctx, pcapID, query) (*Response, error)
GET/accounts/{account_id}/pcaps/{pcap_id}/download