dns

package
v0.16.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetManagedZoneArgs

type GetManagedZoneArgs struct {
	// A unique name for the resource.
	Name interface{}
	// The ID of the project for the Google Cloud DNS zone.
	Project interface{}
}

A collection of arguments for invoking getManagedZone.

type GetManagedZoneResult

type GetManagedZoneResult struct {
	// A textual description field.
	Description interface{}
	// The fully qualified DNS name of this zone, e.g. `terraform.io.`.
	DnsName interface{}
	// 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.
	NameServers interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getManagedZone.

func LookupManagedZone

func LookupManagedZone(ctx *pulumi.Context, args *GetManagedZoneArgs) (*GetManagedZoneResult, error)

Provides access to a zone's attributes within Google Cloud DNS. For more information see [the official documentation](https://cloud.google.com/dns/zones/) and [API](https://cloud.google.com/dns/api/v1/managedZones).

type ManagedZone

type ManagedZone struct {
	// contains filtered or unexported fields
}

Manages a zone within Google Cloud DNS. For more information see [the official documentation](https://cloud.google.com/dns/zones/) and [API](https://cloud.google.com/dns/api/v1/managedZones).

func GetManagedZone

func GetManagedZone(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ManagedZoneState, opts ...pulumi.ResourceOpt) (*ManagedZone, error)

GetManagedZone gets an existing ManagedZone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewManagedZone

func NewManagedZone(ctx *pulumi.Context,
	name string, args *ManagedZoneArgs, opts ...pulumi.ResourceOpt) (*ManagedZone, error)

NewManagedZone registers a new resource with the given unique name, arguments, and options.

func (*ManagedZone) Description

func (r *ManagedZone) Description() *pulumi.StringOutput

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

func (*ManagedZone) DnsName

func (r *ManagedZone) DnsName() *pulumi.StringOutput

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

func (*ManagedZone) ID

func (r *ManagedZone) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ManagedZone) Labels added in v0.16.0

func (r *ManagedZone) Labels() *pulumi.MapOutput

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

func (*ManagedZone) Name

func (r *ManagedZone) Name() *pulumi.StringOutput

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

func (*ManagedZone) NameServers

func (r *ManagedZone) NameServers() *pulumi.ArrayOutput

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.

func (*ManagedZone) Project

func (r *ManagedZone) Project() *pulumi.StringOutput

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

func (*ManagedZone) URN

func (r *ManagedZone) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ManagedZoneArgs

type ManagedZoneArgs struct {
	// A textual description field. Defaults to 'Managed by Terraform'.
	Description interface{}
	// The fully qualified DNS name of this zone, e.g. `terraform.io.`.
	DnsName interface{}
	// A set of key/value label pairs to assign to the instance.
	Labels interface{}
	// A unique name for the resource, required by GCE.
	// Changing this forces a new resource to be created.
	Name interface{}
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project interface{}
}

The set of arguments for constructing a ManagedZone resource.

type ManagedZoneState

type ManagedZoneState struct {
	// A textual description field. Defaults to 'Managed by Terraform'.
	Description interface{}
	// The fully qualified DNS name of this zone, e.g. `terraform.io.`.
	DnsName interface{}
	// A set of key/value label pairs to assign to the instance.
	Labels interface{}
	// A unique name for the resource, required by GCE.
	// Changing this forces a new resource to be created.
	Name interface{}
	// 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.
	NameServers interface{}
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project interface{}
}

Input properties used for looking up and filtering ManagedZone resources.

type RecordSet

type RecordSet struct {
	// contains filtered or unexported fields
}

Manages a set of DNS records within Google Cloud DNS. For more information see [the official documentation](https://cloud.google.com/dns/records/) and [API](https://cloud.google.com/dns/api/v1/resourceRecordSets).

> **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.

func GetRecordSet

func GetRecordSet(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RecordSetState, opts ...pulumi.ResourceOpt) (*RecordSet, error)

GetRecordSet gets an existing RecordSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRecordSet

func NewRecordSet(ctx *pulumi.Context,
	name string, args *RecordSetArgs, opts ...pulumi.ResourceOpt) (*RecordSet, error)

NewRecordSet registers a new resource with the given unique name, arguments, and options.

func (*RecordSet) ID

func (r *RecordSet) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*RecordSet) ManagedZone

func (r *RecordSet) ManagedZone() *pulumi.StringOutput

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

func (*RecordSet) Name

func (r *RecordSet) Name() *pulumi.StringOutput

The DNS name this record set will apply to.

func (*RecordSet) Project

func (r *RecordSet) Project() *pulumi.StringOutput

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

func (*RecordSet) Rrdatas

func (r *RecordSet) Rrdatas() *pulumi.ArrayOutput

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.

func (*RecordSet) Ttl

func (r *RecordSet) Ttl() *pulumi.IntOutput

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

func (*RecordSet) Type

func (r *RecordSet) Type() *pulumi.StringOutput

The DNS record set type.

func (*RecordSet) URN

func (r *RecordSet) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type RecordSetArgs

type RecordSetArgs struct {
	// The name of the zone in which this record set will
	// reside.
	ManagedZone interface{}
	// The DNS name this record set will apply to.
	Name interface{}
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project interface{}
	// 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.
	Rrdatas interface{}
	// The time-to-live of this record set (seconds).
	Ttl interface{}
	// The DNS record set type.
	Type interface{}
}

The set of arguments for constructing a RecordSet resource.

type RecordSetState

type RecordSetState struct {
	// The name of the zone in which this record set will
	// reside.
	ManagedZone interface{}
	// The DNS name this record set will apply to.
	Name interface{}
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project interface{}
	// 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.
	Rrdatas interface{}
	// The time-to-live of this record set (seconds).
	Ttl interface{}
	// The DNS record set type.
	Type interface{}
}

Input properties used for looking up and filtering RecordSet resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL