Table of Contents

Class UpdateLockdownRequest

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

Defines the request payload for updating a Zone Lockdown rule.

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

Constructors

UpdateLockdownRequest(IReadOnlyList<string>, IReadOnlyList<LockdownConfiguration>, bool?, string?)

Defines the request payload for updating a Zone Lockdown rule.

public UpdateLockdownRequest(IReadOnlyList<string> Urls, IReadOnlyList<LockdownConfiguration> Configurations, bool? Paused = null, string? Description = null)

Parameters

Urls IReadOnlyList<string>
Configurations IReadOnlyList<LockdownConfiguration>
Paused bool?
Description string

Properties

Configurations

[JsonPropertyName("configurations")]
public IReadOnlyList<LockdownConfiguration> Configurations { get; init; }

Property Value

IReadOnlyList<LockdownConfiguration>

Description

[JsonPropertyName("description")]
public string? Description { get; init; }

Property Value

string

Paused

[JsonPropertyName("paused")]
public bool? Paused { get; init; }

Property Value

bool?

Urls

[JsonPropertyName("urls")]
public IReadOnlyList<string> Urls { get; init; }

Property Value

IReadOnlyList<string>