Class UaRuleConfiguration
- Namespace
- Cloudflare.NET.Security.Firewall.Models
- Assembly
- Cloudflare.NET.dll
Represents the configuration for a User-Agent blocking rule.
public record UaRuleConfiguration : IEquatable<UaRuleConfiguration>
- Inheritance
-
UaRuleConfiguration
- Implements
- Inherited Members
Constructors
UaRuleConfiguration(string, string)
Represents the configuration for a User-Agent blocking rule.
public UaRuleConfiguration(string Target, string Value)
Parameters
TargetstringThe target of the configuration, always "ua".
ValuestringThe User-Agent string to match.
Properties
Target
The target of the configuration, always "ua".
[JsonPropertyName("target")]
public string Target { get; init; }
Property Value
Value
The User-Agent string to match.
[JsonPropertyName("value")]
public string Value { get; init; }