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
UrlsIReadOnlyList<string>ConfigurationsIReadOnlyList<LockdownConfiguration>Pausedbool?Descriptionstring
Properties
Configurations
[JsonPropertyName("configurations")]
public IReadOnlyList<LockdownConfiguration> Configurations { get; init; }
Property Value
Description
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
Paused
[JsonPropertyName("paused")]
public bool? Paused { get; init; }
Property Value
- bool?
Urls
[JsonPropertyName("urls")]
public IReadOnlyList<string> Urls { get; init; }