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
IdstringThe ID of the scope (e.g., account or zone ID).
TypestringThe 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
Type
The type of scope (e.g., "account", "zone").
[JsonPropertyName("type")]
public string Type { get; init; }