Table of Contents

Class Scope

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

Represents the scope of an access rule.

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

Constructors

Scope(string, string)

Represents the scope of an access rule.

public Scope(string Id, string Type)

Parameters

Id string

The ID of the scope (e.g., account or zone ID).

Type string

The type of scope (e.g., "account", "zone").

Properties

Id

The ID of the scope (e.g., account or zone ID).

[JsonPropertyName("id")]
public string Id { get; init; }

Property Value

string

Type

The type of scope (e.g., "account", "zone").

[JsonPropertyName("type")]
public string Type { get; init; }

Property Value

string