Class UpdateUaRuleRequest
- Namespace
- Cloudflare.NET.Security.Firewall.Models
- Assembly
- Cloudflare.NET.dll
Defines the request payload for updating a User-Agent blocking rule.
public record UpdateUaRuleRequest : IEquatable<UpdateUaRuleRequest>
- Inheritance
-
UpdateUaRuleRequest
- Implements
- Inherited Members
Constructors
UpdateUaRuleRequest(UaRuleMode?, UaRuleConfiguration?, bool?, string?)
Defines the request payload for updating a User-Agent blocking rule.
public UpdateUaRuleRequest(UaRuleMode? Mode = null, UaRuleConfiguration? Configuration = null, bool? Paused = null, string? Description = null)
Parameters
ModeUaRuleMode?ConfigurationUaRuleConfigurationPausedbool?Descriptionstring
Properties
Configuration
[JsonPropertyName("configuration")]
public UaRuleConfiguration? Configuration { get; init; }
Property Value
Description
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
Mode
[JsonPropertyName("mode")]
public UaRuleMode? Mode { get; init; }
Property Value
Paused
[JsonPropertyName("paused")]
public bool? Paused { get; init; }
Property Value
- bool?