Table of Contents

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

Target string

The target of the configuration, always "ua".

Value string

The User-Agent string to match.

Properties

Target

The target of the configuration, always "ua".

[JsonPropertyName("target")]
public string Target { get; init; }

Property Value

string

Value

The User-Agent string to match.

[JsonPropertyName("value")]
public string Value { get; init; }

Property Value

string