Class DnsScanReviewRequest
- Namespace
- Cloudflare.NET.Dns.Models
- Assembly
- Cloudflare.NET.dll
Request to accept or reject scanned DNS records.
Accepted records become permanent DNS records in the zone. Rejected records are discarded from the review queue.
public record DnsScanReviewRequest : IEquatable<DnsScanReviewRequest>
- Inheritance
-
DnsScanReviewRequest
- Implements
- Inherited Members
Remarks
The Accepts array contains full DNS record objects (use FromDnsRecord(DnsRecord) to convert records from GetDnsRecordScanReviewAsync(string, CancellationToken)). The Rejects array contains record IDs (strings).
Properties
Accepts
List of DNS record objects to accept. These scanned records will become permanent DNS records. Use FromDnsRecord(DnsRecord) to convert records from GetDnsRecordScanReviewAsync(string, CancellationToken).
[JsonPropertyName("accepts")]
public IReadOnlyList<DnsScanAcceptItem> Accepts { get; init; }
Property Value
Rejects
List of record IDs to reject. These records will be discarded.
[JsonPropertyName("rejects")]
public IReadOnlyList<string> Rejects { get; init; }