Show / Hide Table of Contents

Class PolicyArgs

Inheritance
System.Object
InputArgs
ResourceArgs
PolicyArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Dns
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class PolicyArgs : ResourceArgs

Constructors

View Source

PolicyArgs()

Declaration
public PolicyArgs()

Properties

View Source

AlternativeNameServerConfig

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>
View Source

Description

A textual description field. Defaults to 'Managed by Pulumi'.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

Name

User assigned name for this policy.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.