Class PolicyArgs
Inherited Members
Namespace: Pulumi.Gcp.Dns
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class PolicyArgs : ResourceArgs
Constructors
View SourcePolicyArgs()
Declaration
public PolicyArgs()
Properties
View SourceAlternativeNameServerConfig
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.
Declaration
public Input<PolicyAlternativeNameServerConfigArgs> AlternativeNameServerConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyAlternativeNameServerConfigArgs> |
Description
A textual description field. Defaults to 'Managed by Pulumi'.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EnableInboundForwarding
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.
Declaration
public Input<bool> EnableInboundForwarding { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EnableLogging
Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
Declaration
public Input<bool> EnableLogging { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Name
User assigned name for this policy.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Networks
List of network names specifying networks to which this policy is applied. Structure is documented below.
Declaration
public InputList<PolicyNetworkArgs> Networks { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<PolicyNetworkArgs> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |