PCAPs
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
PCAPsOwnership
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
PCAPsDownload
Download Simple PCAP
client.MagicTransit.PCAPs.Download.Get(ctx, pcapID, query) (*Response, error)
GET/accounts/{account_id}/pcaps/{pcap_id}/download