Table of Contents

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

Mode UaRuleMode?
Configuration UaRuleConfiguration
Paused bool?
Description string

Properties

Configuration

[JsonPropertyName("configuration")]
public UaRuleConfiguration? Configuration { get; init; }

Property Value

UaRuleConfiguration

Description

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

Property Value

string

Mode

[JsonPropertyName("mode")]
public UaRuleMode? Mode { get; init; }

Property Value

UaRuleMode?

Paused

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

Property Value

bool?