GetPolicyResult

data class GetPolicyResult(val alternativeNameServerConfig: PolicyAlternativeNameServerConfigResponse, val description: String, val enableInboundForwarding: Boolean, val enableLogging: Boolean, val kind: String, val name: String, val networks: List<PolicyNetworkResponse>)

Constructors

Link copied to clipboard
fun GetPolicyResult(alternativeNameServerConfig: PolicyAlternativeNameServerConfigResponse, description: String, enableInboundForwarding: Boolean, enableLogging: Boolean, kind: String, name: String, networks: List<PolicyNetworkResponse>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.

Link copied to clipboard

A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.

Link copied to clipboard

Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address is allocated from each of the subnetworks that are bound to this policy.

Link copied to clipboard

Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.

Link copied to clipboard
Link copied to clipboard

User-assigned name for this policy.

Link copied to clipboard

List of network names specifying networks to which this policy is applied.