Class ZoneSettingIds
- Namespace
- Cloudflare.NET.Zones
- Assembly
- Cloudflare.NET.dll
Well-known zone setting identifiers.
Use these constants with GetZoneSettingAsync(string, ZoneSettingId, CancellationToken) and SetZoneSettingAsync<T>(string, ZoneSettingId, T, CancellationToken) methods.
[Obsolete("Use ZoneSettingId extensible enum instead. This class will be removed in a future version.")]
public static class ZoneSettingIds
- Inheritance
-
ZoneSettingIds
- Inherited Members
Remarks
This is not an exhaustive list. Cloudflare may add new settings at any time. Use string literals for settings not listed here.
Fields
AdvancedDdos
Advanced DDoS protection. Value: "on"/"off"
public const string AdvancedDdos = "advanced_ddos"
Field Value
AlwaysOnline
Always Online. Value: "on"/"off"
public const string AlwaysOnline = "always_online"
Field Value
AlwaysUseHttps
Always use HTTPS. Value: "on"/"off"
public const string AlwaysUseHttps = "always_use_https"
Field Value
AutomaticHttpsRewrites
Automatic HTTPS Rewrites. Value: "on"/"off"
public const string AutomaticHttpsRewrites = "automatic_https_rewrites"
Field Value
Brotli
Brotli compression. Value: "on"/"off"
public const string Brotli = "brotli"
Field Value
BrowserCacheTtl
Browser cache TTL in seconds. Value: integer (0 = respect origin)
public const string BrowserCacheTtl = "browser_cache_ttl"
Field Value
BrowserCheck
Browser integrity check. Value: "on"/"off"
public const string BrowserCheck = "browser_check"
Field Value
CacheLevel
Cache level. Value: "bypass", "basic", "simplified", "aggressive", "cache_everything"
public const string CacheLevel = "cache_level"
Field Value
ChallengeTtl
Challenge passage TTL in seconds. Value: integer
public const string ChallengeTtl = "challenge_ttl"
Field Value
DevelopmentMode
Development mode. Value: "on"/"off"
public const string DevelopmentMode = "development_mode"
Field Value
EarlyHints
Early Hints. Value: "on"/"off"
public const string EarlyHints = "early_hints"
Field Value
EmailObfuscation
Email obfuscation. Value: "on"/"off"
public const string EmailObfuscation = "email_obfuscation"
Field Value
Http2
HTTP/2. Value: "on"/"off"
public const string Http2 = "http2"
Field Value
Http3
HTTP/3. Value: "on"/"off"
public const string Http3 = "http3"
Field Value
Ipv6
IPv6 compatibility. Value: "on"/"off"
public const string Ipv6 = "ipv6"
Field Value
MinTlsVersion
Minimum TLS version. Value: "1.0", "1.1", "1.2", "1.3"
public const string MinTlsVersion = "min_tls_version"
Field Value
OpportunisticEncryption
Opportunistic encryption. Value: "on"/"off"
public const string OpportunisticEncryption = "opportunistic_encryption"
Field Value
Polish
Image optimization (Polish). Value: "off", "lossless", "lossy"
public const string Polish = "polish"
Field Value
PseudoIpv4
Pseudo IPv4. Value: "off", "add_header", "overwrite_header"
public const string PseudoIpv4 = "pseudo_ipv4"
Field Value
SecurityLevel
Security level. Value: "off", "essentially_off", "low", "medium", "high", "under_attack"
public const string SecurityLevel = "security_level"
Field Value
Ssl
SSL mode. Value: "off", "flexible", "full", "strict"
public const string Ssl = "ssl"
Field Value
Tls13
TLS 1.3. Value: "on", "off", "zrt"
public const string Tls13 = "tls_1_3"
Field Value
Waf
Web Application Firewall. Value: "on"/"off"
public const string Waf = "waf"
Field Value
Websockets
WebSocket support. Value: "on"/"off"
public const string Websockets = "websockets"
Field Value
ZeroRtt
0-RTT Connection Resumption. Value: "on"/"off"
public const string ZeroRtt = "0rtt"