Overview
Spectrum extends Cloudflare’s DDoS protection and performance to any TCP or UDP-based application. Use the Spectrum API to manage application configurations and view analytics.Initialize the client
Apps
Manage Spectrum applications for TCP/UDP proxying.Create an app
Create a new Spectrum application.Zone identifier
The port configuration at Cloudflare’s edge. May specify a single port (e.g.,
"tcp/1000") or a range (e.g., "tcp/1000-2000")The name and type of DNS record for the Spectrum application
Determines how data travels from the edge to your origin:
direct- Send traffic directly to originhttp- Apply HTTP featureshttps- Apply HTTPS features
The name and type of DNS record for the origin
The destination port at the origin. Can be a single port or range
The anycast edge IP configuration for this application
Enable Argo Smart Routing (TCP applications with direct traffic only)
Enable IP Access Rules for this application
Enable Proxy Protocol to the origin
TLS encryption mode between Cloudflare and origin
App identifier
When the application was created
When the application was last modified
Update an app
Update an existing Spectrum application.List apps
Retrieve a list of all Spectrum applications in a zone.Get an app
Get the configuration of a specific Spectrum application.Delete an app
Delete a Spectrum application.Analytics
View analytics for Spectrum applications.Types
DNS
The name and type of DNS record for the Spectrum application.The name of the DNS record associated with the application
The type of DNS record
EdgeIPs
The anycast edge IP configuration. Dynamic configuration:Dynamically allocated edge IPs using Spectrum anycast IPs
The IP versions supported for inbound connections
Statically allocated edge IPs using customer IPs
The array of customer owned IPs broadcast via anycast
OriginDNS
The name and type of DNS record for the origin.The name of the DNS record associated with the origin
The type of DNS record. Empty string specifies A/AAAA combination
The TTL of DNS resolution in seconds