dns

class pulumi_gcp.dns.GetManagedZoneResult(description=None, dns_name=None, name_servers=None, id=None)

A collection of values returned by getManagedZone.

description = None

A textual description field.

dns_name = None

The fully qualified DNS name of this zone, e.g. terraform.io..

name_servers = None

The list of nameservers that will be authoritative for this domain. Use NS records to redirect from your DNS provider to these names, thus making Google Cloud DNS authoritative for this zone.

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_gcp.dns.ManagedZone(resource_name, opts=None, description=None, dns_name=None, labels=None, name=None, project=None, __name__=None, __opts__=None)

Manages a zone within Google Cloud DNS. For more information see the official documentation and API.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • description (pulumi.Input[str]) – A textual description field. Defaults to ‘Managed by Terraform’.
  • dns_name (pulumi.Input[str]) – The fully qualified DNS name of this zone, e.g. terraform.io..
  • labels (pulumi.Input[dict]) – A set of key/value label pairs to assign to the instance.
  • name (pulumi.Input[str]) – A unique name for the resource, required by GCE. Changing this forces a new resource to be created.
  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
description = None

A textual description field. Defaults to ‘Managed by Terraform’.

dns_name = None

The fully qualified DNS name of this zone, e.g. terraform.io..

labels = None

A set of key/value label pairs to assign to the instance.

name = None

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

name_servers = None

The list of nameservers that will be authoritative for this domain. Use NS records to redirect from your DNS provider to these names, thus making Google Cloud DNS authoritative for this zone.

project = None

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_gcp.dns.RecordSet(resource_name, opts=None, managed_zone=None, name=None, project=None, rrdatas=None, ttl=None, type=None, __name__=None, __opts__=None)

Manages a set of DNS records within Google Cloud DNS. For more information see the official documentation and API.

Note: The Google Cloud DNS API requires NS records be present at all times. To accommodate this, when creating NS records, the default records Google automatically creates will be silently overwritten. Also, when destroying NS records, Terraform will not actually remove NS records, but will report that it did.
Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • managed_zone (pulumi.Input[str]) – The name of the zone in which this record set will reside.
  • name (pulumi.Input[str]) – The DNS name this record set will apply to.
  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
  • rrdatas (pulumi.Input[list]) – The string data for the records in this record set whose meaning depends on the DNS type. For TXT record, if the string data contains spaces, add surrounding " if you don’t want your string to get split on spaces.
  • ttl (pulumi.Input[int]) – The time-to-live of this record set (seconds).
  • type (pulumi.Input[str]) – The DNS record set type.
managed_zone = None

The name of the zone in which this record set will reside.

name = None

The DNS name this record set will apply to.

project = None

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

rrdatas = None

The string data for the records in this record set whose meaning depends on the DNS type. For TXT record, if the string data contains spaces, add surrounding " if you don’t want your string to get split on spaces.

ttl = None

The time-to-live of this record set (seconds).

type = None

The DNS record set type.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
pulumi_gcp.dns.get_managed_zone(name=None, project=None)

Provides access to a zone’s attributes within Google Cloud DNS. For more information see the official documentation and API.