Table of Contents

Class LockdownConfiguration

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

Represents a single IP configuration within a Zone Lockdown rule.

public record LockdownConfiguration : IEquatable<LockdownConfiguration>
Inheritance
LockdownConfiguration
Implements
Inherited Members

Constructors

LockdownConfiguration(LockdownTarget, string)

Represents a single IP configuration within a Zone Lockdown rule.

public LockdownConfiguration(LockdownTarget Target, string Value)

Parameters

Target LockdownTarget

The type of target (e.g., Ip, IpRange).

Value string

The IP address or CIDR range.

Properties

Target

The type of target (e.g., Ip, IpRange).

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

Property Value

LockdownTarget

Value

The IP address or CIDR range.

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

Property Value

string