Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

gcp_dns_policy

alternative_name_server_config

Type: STRUCT
Provider name: alternativeNameServerConfig
Description: 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
    Type: STRING
    Provider name: kind
  • target_name_servers
    Type: UNORDERED_LIST_STRUCT
    Provider name: targetNameServers
    Description: 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.
    • forwarding_path
      Type: STRING
      Provider name: forwardingPath
      Description: 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.
      Possible values:
      • default - Cloud 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 - Cloud DNS always forwards to this target through the VPC.
    • ipv4_address
      Type: STRING
      Provider name: ipv4Address
      Description: IPv4 address to forward queries to.
    • ipv6_address
      Type: STRING
      Provider name: ipv6Address
      Description: IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
    • kind
      Type: STRING
      Provider name: kind

ancestors

Type: UNORDERED_LIST_STRING

description

Type: STRING
Provider name: description
Description: 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

Type: BOOLEAN
Provider name: enableInboundForwarding
Description: 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

Type: BOOLEAN
Provider name: enableLogging
Description: Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.

id

Type: STRING
Provider name: id
Description: Unique identifier for the resource; defined by the server (output only).

kind

Type: STRING
Provider name: kind

labels

Type: UNORDERED_LIST_STRING

name

Type: STRING
Provider name: name
Description: User-assigned name for this policy.

networks

Type: UNORDERED_LIST_STRUCT
Provider name: networks
Description: List of network names specifying networks to which this policy is applied.

organization_id

Type: STRING

parent

Type: STRING

project_id

Type: STRING

project_number

Type: STRING

resource_name

Type: STRING

tags

Type: UNORDERED_LIST_STRING