PolicyState class

Input properties used for looking up and filtering Policy resources.

Constructors

PolicyState({Input<PolicyAlternativeNameServerConfig?>? alternativeNameServerConfig, Input<String?>? deletionPolicy, Input<String?>? description, Input<PolicyDns64Config?>? dns64Config, Input<bool?>? enableInboundForwarding, Input<bool?>? enableLogging, Input<String?>? name, Input<List<PolicyNetwork>?>? networks, Input<String?>? project})
Creates a new PolicyState. alternativeNameServerConfig Sets an alternative name server for the associated networks. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description A textual description field. Defaults to 'Managed by Pulumi'. dns64Config Configurations related to DNS64 for this Policy. enableInboundForwarding Allows networks bound to this policy to receive DNS queries sent enableLogging Controls whether logging is enabled for the networks bound to this policy. name User assigned name for this policy. networks List of network names specifying networks to which this policy is applied. project The ID of the project in which the resource belongs.
const
PolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

alternativeNameServerConfig → Input<PolicyAlternativeNameServerConfig?>?
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. Structure is documented below.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
A textual description field. Defaults to 'Managed by Pulumi'.
final
dns64Config → Input<PolicyDns64Config?>?
Configurations related to DNS64 for this Policy. Structure is documented below.
final
enableInboundForwarding → Input<bool?>?
Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address will be allocated from each of the sub-networks that are bound to this policy.
final
enableLogging → Input<bool?>?
Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
User assigned name for this policy.
final
networks → Input<List<PolicyNetwork>?>?
List of network names specifying networks to which this policy is applied. Structure is documented below.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited