1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dns
  5. dns/v1
  6. Policy

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.dns/v1.Policy

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates a new Policy.

Create Policy Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Policy(name: string, args?: PolicyArgs, opts?: CustomResourceOptions);
@overload
def Policy(resource_name: str,
           args: Optional[PolicyArgs] = None,
           opts: Optional[ResourceOptions] = None)

@overload
def Policy(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           alternative_name_server_config: Optional[PolicyAlternativeNameServerConfigArgs] = None,
           client_operation_id: Optional[str] = None,
           description: Optional[str] = None,
           enable_inbound_forwarding: Optional[bool] = None,
           enable_logging: Optional[bool] = None,
           kind: Optional[str] = None,
           name: Optional[str] = None,
           networks: Optional[Sequence[PolicyNetworkArgs]] = None,
           project: Optional[str] = None)
func NewPolicy(ctx *Context, name string, args *PolicyArgs, opts ...ResourceOption) (*Policy, error)
public Policy(string name, PolicyArgs? args = null, CustomResourceOptions? opts = null)
public Policy(String name, PolicyArgs args)
public Policy(String name, PolicyArgs args, CustomResourceOptions options)
type: google-native:dns/v1:Policy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args PolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args PolicyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args PolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args PolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PolicyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var google_nativePolicyResource = new GoogleNative.DNS.V1.Policy("google-nativePolicyResource", new()
{
    AlternativeNameServerConfig = new GoogleNative.DNS.V1.Inputs.PolicyAlternativeNameServerConfigArgs
    {
        Kind = "string",
        TargetNameServers = new[]
        {
            new GoogleNative.DNS.V1.Inputs.PolicyAlternativeNameServerConfigTargetNameServerArgs
            {
                ForwardingPath = GoogleNative.DNS.V1.PolicyAlternativeNameServerConfigTargetNameServerForwardingPath.Default,
                Ipv4Address = "string",
                Ipv6Address = "string",
                Kind = "string",
            },
        },
    },
    ClientOperationId = "string",
    Description = "string",
    EnableInboundForwarding = false,
    EnableLogging = false,
    Kind = "string",
    Name = "string",
    Networks = new[]
    {
        new GoogleNative.DNS.V1.Inputs.PolicyNetworkArgs
        {
            Kind = "string",
            NetworkUrl = "string",
        },
    },
    Project = "string",
});
Copy
example, err := dns.NewPolicy(ctx, "google-nativePolicyResource", &dns.PolicyArgs{
	AlternativeNameServerConfig: &dns.PolicyAlternativeNameServerConfigArgs{
		Kind: pulumi.String("string"),
		TargetNameServers: dns.PolicyAlternativeNameServerConfigTargetNameServerArray{
			&dns.PolicyAlternativeNameServerConfigTargetNameServerArgs{
				ForwardingPath: dns.PolicyAlternativeNameServerConfigTargetNameServerForwardingPathDefault,
				Ipv4Address:    pulumi.String("string"),
				Ipv6Address:    pulumi.String("string"),
				Kind:           pulumi.String("string"),
			},
		},
	},
	ClientOperationId:       pulumi.String("string"),
	Description:             pulumi.String("string"),
	EnableInboundForwarding: pulumi.Bool(false),
	EnableLogging:           pulumi.Bool(false),
	Kind:                    pulumi.String("string"),
	Name:                    pulumi.String("string"),
	Networks: dns.PolicyNetworkArray{
		&dns.PolicyNetworkArgs{
			Kind:       pulumi.String("string"),
			NetworkUrl: pulumi.String("string"),
		},
	},
	Project: pulumi.String("string"),
})
Copy
var google_nativePolicyResource = new com.pulumi.googlenative.dns_v1.Policy("google-nativePolicyResource", com.pulumi.googlenative.dns_v1.PolicyArgs.builder()
    .alternativeNameServerConfig(PolicyAlternativeNameServerConfigArgs.builder()
        .kind("string")
        .targetNameServers(PolicyAlternativeNameServerConfigTargetNameServerArgs.builder()
            .forwardingPath("default")
            .ipv4Address("string")
            .ipv6Address("string")
            .kind("string")
            .build())
        .build())
    .clientOperationId("string")
    .description("string")
    .enableInboundForwarding(false)
    .enableLogging(false)
    .kind("string")
    .name("string")
    .networks(PolicyNetworkArgs.builder()
        .kind("string")
        .networkUrl("string")
        .build())
    .project("string")
    .build());
Copy
google_native_policy_resource = google_native.dns.v1.Policy("google-nativePolicyResource",
    alternative_name_server_config={
        "kind": "string",
        "target_name_servers": [{
            "forwarding_path": google_native.dns.v1.PolicyAlternativeNameServerConfigTargetNameServerForwardingPath.DEFAULT,
            "ipv4_address": "string",
            "ipv6_address": "string",
            "kind": "string",
        }],
    },
    client_operation_id="string",
    description="string",
    enable_inbound_forwarding=False,
    enable_logging=False,
    kind="string",
    name="string",
    networks=[{
        "kind": "string",
        "network_url": "string",
    }],
    project="string")
Copy
const google_nativePolicyResource = new google_native.dns.v1.Policy("google-nativePolicyResource", {
    alternativeNameServerConfig: {
        kind: "string",
        targetNameServers: [{
            forwardingPath: google_native.dns.v1.PolicyAlternativeNameServerConfigTargetNameServerForwardingPath.Default,
            ipv4Address: "string",
            ipv6Address: "string",
            kind: "string",
        }],
    },
    clientOperationId: "string",
    description: "string",
    enableInboundForwarding: false,
    enableLogging: false,
    kind: "string",
    name: "string",
    networks: [{
        kind: "string",
        networkUrl: "string",
    }],
    project: "string",
});
Copy
type: google-native:dns/v1:Policy
properties:
    alternativeNameServerConfig:
        kind: string
        targetNameServers:
            - forwardingPath: default
              ipv4Address: string
              ipv6Address: string
              kind: string
    clientOperationId: string
    description: string
    enableInboundForwarding: false
    enableLogging: false
    kind: string
    name: string
    networks:
        - kind: string
          networkUrl: string
    project: string
Copy

Policy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Policy resource accepts the following input properties:

AlternativeNameServerConfig Pulumi.GoogleNative.DNS.V1.Inputs.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.
ClientOperationId string
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
Description string
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.
EnableInboundForwarding 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 is allocated from each of the subnetworks that are bound to this policy.
EnableLogging bool
Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
Kind string
Name string
User-assigned name for this policy.
Networks List<Pulumi.GoogleNative.DNS.V1.Inputs.PolicyNetwork>
List of network names specifying networks to which this policy is applied.
Project Changes to this property will trigger replacement. string
AlternativeNameServerConfig PolicyAlternativeNameServerConfigArgs
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.
ClientOperationId string
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
Description string
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.
EnableInboundForwarding 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 is allocated from each of the subnetworks that are bound to this policy.
EnableLogging bool
Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
Kind string
Name string
User-assigned name for this policy.
Networks []PolicyNetworkArgs
List of network names specifying networks to which this policy is applied.
Project Changes to this property will trigger replacement. string
alternativeNameServerConfig 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.
clientOperationId String
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
description String
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.
enableInboundForwarding Boolean
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.
enableLogging Boolean
Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
kind String
name String
User-assigned name for this policy.
networks List<PolicyNetwork>
List of network names specifying networks to which this policy is applied.
project Changes to this property will trigger replacement. String
alternativeNameServerConfig 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.
clientOperationId string
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
description string
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.
enableInboundForwarding boolean
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.
enableLogging boolean
Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
kind string
name string
User-assigned name for this policy.
networks PolicyNetwork[]
List of network names specifying networks to which this policy is applied.
project Changes to this property will trigger replacement. string
alternative_name_server_config PolicyAlternativeNameServerConfigArgs
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.
client_operation_id str
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
description str
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.
enable_inbound_forwarding 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 is allocated from each of the subnetworks that are bound to this policy.
enable_logging bool
Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
kind str
name str
User-assigned name for this policy.
networks Sequence[PolicyNetworkArgs]
List of network names specifying networks to which this policy is applied.
project Changes to this property will trigger replacement. str
alternativeNameServerConfig Property Map
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.
clientOperationId String
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
description String
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.
enableInboundForwarding Boolean
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.
enableLogging Boolean
Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
kind String
name String
User-assigned name for this policy.
networks List<Property Map>
List of network names specifying networks to which this policy is applied.
project Changes to this property will trigger replacement. String

Outputs

All input properties are implicitly available as output properties. Additionally, the Policy resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

PolicyAlternativeNameServerConfig
, PolicyAlternativeNameServerConfigArgs

Kind string
TargetNameServers List<Pulumi.GoogleNative.DNS.V1.Inputs.PolicyAlternativeNameServerConfigTargetNameServer>
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.
Kind string
TargetNameServers []PolicyAlternativeNameServerConfigTargetNameServer
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.
kind String
targetNameServers List<PolicyAlternativeNameServerConfigTargetNameServer>
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.
kind string
targetNameServers PolicyAlternativeNameServerConfigTargetNameServer[]
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.
kind str
target_name_servers Sequence[PolicyAlternativeNameServerConfigTargetNameServer]
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.
kind String
targetNameServers List<Property Map>
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.

PolicyAlternativeNameServerConfigResponse
, PolicyAlternativeNameServerConfigResponseArgs

Kind This property is required. string
TargetNameServers This property is required. List<Pulumi.GoogleNative.DNS.V1.Inputs.PolicyAlternativeNameServerConfigTargetNameServerResponse>
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.
Kind This property is required. string
TargetNameServers This property is required. []PolicyAlternativeNameServerConfigTargetNameServerResponse
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.
kind This property is required. String
targetNameServers This property is required. List<PolicyAlternativeNameServerConfigTargetNameServerResponse>
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.
kind This property is required. string
targetNameServers This property is required. PolicyAlternativeNameServerConfigTargetNameServerResponse[]
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.
kind This property is required. str
target_name_servers This property is required. Sequence[PolicyAlternativeNameServerConfigTargetNameServerResponse]
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.
kind This property is required. String
targetNameServers This property is required. List<Property Map>
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.

PolicyAlternativeNameServerConfigTargetNameServer
, PolicyAlternativeNameServerConfigTargetNameServerArgs

ForwardingPath Pulumi.GoogleNative.DNS.V1.PolicyAlternativeNameServerConfigTargetNameServerForwardingPath
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Ipv4Address string
IPv4 address to forward queries to.
Ipv6Address string
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
Kind string
ForwardingPath PolicyAlternativeNameServerConfigTargetNameServerForwardingPath
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Ipv4Address string
IPv4 address to forward queries to.
Ipv6Address string
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
Kind string
forwardingPath PolicyAlternativeNameServerConfigTargetNameServerForwardingPath
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
ipv4Address String
IPv4 address to forward queries to.
ipv6Address String
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
kind String
forwardingPath PolicyAlternativeNameServerConfigTargetNameServerForwardingPath
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
ipv4Address string
IPv4 address to forward queries to.
ipv6Address string
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
kind string
forwarding_path PolicyAlternativeNameServerConfigTargetNameServerForwardingPath
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
ipv4_address str
IPv4 address to forward queries to.
ipv6_address str
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
kind str
forwardingPath "default" | "private"
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
ipv4Address String
IPv4 address to forward queries to.
ipv6Address String
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
kind String

PolicyAlternativeNameServerConfigTargetNameServerForwardingPath
, PolicyAlternativeNameServerConfigTargetNameServerForwardingPathArgs

Default
defaultCloud DNS makes forwarding decision based on IP address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet
Private
privateCloud DNS always forwards to this target through the VPC.
PolicyAlternativeNameServerConfigTargetNameServerForwardingPathDefault
defaultCloud DNS makes forwarding decision based on IP address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet
PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPrivate
privateCloud DNS always forwards to this target through the VPC.
Default
defaultCloud DNS makes forwarding decision based on IP address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet
Private
privateCloud DNS always forwards to this target through the VPC.
Default
defaultCloud DNS makes forwarding decision based on IP address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet
Private
privateCloud DNS always forwards to this target through the VPC.
DEFAULT
defaultCloud DNS makes forwarding decision based on IP address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet
PRIVATE
privateCloud DNS always forwards to this target through the VPC.
"default"
defaultCloud DNS makes forwarding decision based on IP address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet
"private"
privateCloud DNS always forwards to this target through the VPC.

PolicyAlternativeNameServerConfigTargetNameServerResponse
, PolicyAlternativeNameServerConfigTargetNameServerResponseArgs

ForwardingPath This property is required. string
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Ipv4Address This property is required. string
IPv4 address to forward queries to.
Ipv6Address This property is required. string
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
Kind This property is required. string
ForwardingPath This property is required. string
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Ipv4Address This property is required. string
IPv4 address to forward queries to.
Ipv6Address This property is required. string
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
Kind This property is required. string
forwardingPath This property is required. String
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
ipv4Address This property is required. String
IPv4 address to forward queries to.
ipv6Address This property is required. String
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
kind This property is required. String
forwardingPath This property is required. string
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
ipv4Address This property is required. string
IPv4 address to forward queries to.
ipv6Address This property is required. string
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
kind This property is required. string
forwarding_path This property is required. str
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
ipv4_address This property is required. str
IPv4 address to forward queries to.
ipv6_address This property is required. str
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
kind This property is required. str
forwardingPath This property is required. String
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
ipv4Address This property is required. String
IPv4 address to forward queries to.
ipv6Address This property is required. String
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
kind This property is required. String

PolicyNetwork
, PolicyNetworkArgs

Kind string
NetworkUrl string
The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Kind string
NetworkUrl string
The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
kind String
networkUrl String
The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
kind string
networkUrl string
The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
kind str
network_url str
The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
kind String
networkUrl String
The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}

PolicyNetworkResponse
, PolicyNetworkResponseArgs

Kind This property is required. string
NetworkUrl This property is required. string
The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Kind This property is required. string
NetworkUrl This property is required. string
The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
kind This property is required. String
networkUrl This property is required. String
The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
kind This property is required. string
networkUrl This property is required. string
The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
kind This property is required. str
network_url This property is required. str
The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
kind This property is required. String
networkUrl This property is required. String
The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi