GetZeroTrustDnsLocationResult

data class GetZeroTrustDnsLocationResult(val accountId: String, val clientDefault: Boolean, val createdAt: String, val dnsDestinationIpsId: String, val dnsDestinationIpv6BlockId: String, val dohSubdomain: String, val ecsSupport: Boolean, val endpoints: GetZeroTrustDnsLocationEndpoints, val id: String, val ip: String, val ipv4Destination: String, val ipv4DestinationBackup: String, val locationId: String? = null, val name: String, val networks: List<GetZeroTrustDnsLocationNetwork>, val updatedAt: String)

A collection of values returned by getZeroTrustDnsLocation.

Constructors

Link copied to clipboard
constructor(accountId: String, clientDefault: Boolean, createdAt: String, dnsDestinationIpsId: String, dnsDestinationIpv6BlockId: String, dohSubdomain: String, ecsSupport: Boolean, endpoints: GetZeroTrustDnsLocationEndpoints, id: String, ip: String, ipv4Destination: String, ipv4DestinationBackup: String, locationId: String? = null, name: String, networks: List<GetZeroTrustDnsLocationNetwork>, updatedAt: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

True if the location is the default location.

Link copied to clipboard
Link copied to clipboard

The identifier of the pair of IPv4 addresses assigned to this location.

Link copied to clipboard

The uuid identifier of the IPv6 block brought to the gateway, so that this location's IPv6 address is allocated from the Bring Your Own Ipv6(BYOIPv6) block and not from the standard CloudFlare IPv6 block.

Link copied to clipboard

The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.

Link copied to clipboard

True if the location needs to resolve EDNS queries.

Link copied to clipboard

The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.

Link copied to clipboard
val id: String

The ID of this resource.

Link copied to clipboard
val ip: String

IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.

Link copied to clipboard

The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.

Link copied to clipboard

The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.

Link copied to clipboard
val locationId: String? = null
Link copied to clipboard

The name of the location.

Link copied to clipboard

A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location.

Link copied to clipboard