Table of Contents

Class AccessRuleConfiguration

Namespace
Cloudflare.NET.Security.Firewall.Models
Assembly
Cloudflare.NET.dll

Represents the abstract configuration for an access rule, defining what to match against.

[JsonConverter(typeof(AccessRuleConfigurationConverter))]
public abstract record AccessRuleConfiguration : IEquatable<AccessRuleConfiguration>
Inheritance
AccessRuleConfiguration
Implements
Derived
Inherited Members

Constructors

AccessRuleConfiguration(AccessRuleTarget, string)

Represents the abstract configuration for an access rule, defining what to match against.

protected AccessRuleConfiguration(AccessRuleTarget Target, string Value)

Parameters

Target AccessRuleTarget
Value string

Properties

Target

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

Property Value

AccessRuleTarget

Value

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

Property Value

string