dns

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 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
}

A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.

To get more information about ManagedZone, see:

* [API documentation](https://cloud.google.com/dns/api/v1/managedZones) * How-to Guides

<div class = "oics-button" style="float: right; margin: 0 0 -15px">

<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=dns_managed_zone_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
  <img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
</a>

</div>

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

func (*ManagedZone) DnsName

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

func (*ManagedZone) ForwardingConfig added in v0.18.0

func (r *ManagedZone) ForwardingConfig() *pulumi.Output

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

func (*ManagedZone) Name

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

func (*ManagedZone) NameServers

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

func (*ManagedZone) PrivateVisibilityConfig added in v0.18.0

func (r *ManagedZone) PrivateVisibilityConfig() *pulumi.Output

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.

func (*ManagedZone) Visibility added in v0.18.0

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

type ManagedZoneArgs

type ManagedZoneArgs struct {
	Description             interface{}
	DnsName                 interface{}
	ForwardingConfig        interface{}
	Labels                  interface{}
	Name                    interface{}
	PrivateVisibilityConfig interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project    interface{}
	Visibility interface{}
}

The set of arguments for constructing a ManagedZone resource.

type ManagedZoneState

type ManagedZoneState struct {
	Description             interface{}
	DnsName                 interface{}
	ForwardingConfig        interface{}
	Labels                  interface{}
	Name                    interface{}
	NameServers             interface{}
	PrivateVisibilityConfig interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project    interface{}
	Visibility interface{}
}

Input properties used for looking up and filtering ManagedZone resources.

type Policy added in v0.18.0

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

A policy is a collection of DNS rules applied to one or more Virtual Private Cloud resources.

> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider. See [Provider Versions](https://terraform.io/docs/providers/google/provider_versions.html) for more details on beta resources.

To get more information about Policy, see:

* [API documentation](https://cloud.google.com/dns/docs/reference/v1beta2/policies) * How-to Guides

<div class = "oics-button" style="float: right; margin: 0 0 -15px">

<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=dns_policy_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
  <img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
</a>

</div>

func GetPolicy added in v0.18.0

func GetPolicy(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PolicyState, opts ...pulumi.ResourceOpt) (*Policy, error)

GetPolicy gets an existing Policy 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 NewPolicy added in v0.18.0

func NewPolicy(ctx *pulumi.Context,
	name string, args *PolicyArgs, opts ...pulumi.ResourceOpt) (*Policy, error)

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

func (*Policy) AlternativeNameServerConfig added in v0.18.0

func (r *Policy) AlternativeNameServerConfig() *pulumi.Output

func (*Policy) Description added in v0.18.0

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

func (*Policy) EnableInboundForwarding added in v0.18.0

func (r *Policy) EnableInboundForwarding() *pulumi.BoolOutput

func (*Policy) ID added in v0.18.0

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

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

func (*Policy) Name added in v0.18.0

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

func (*Policy) Networks added in v0.18.0

func (r *Policy) Networks() *pulumi.ArrayOutput

func (*Policy) Project added in v0.18.0

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

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

func (*Policy) URN added in v0.18.0

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

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

type PolicyArgs added in v0.18.0

type PolicyArgs struct {
	AlternativeNameServerConfig interface{}
	Description                 interface{}
	EnableInboundForwarding     interface{}
	Name                        interface{}
	Networks                    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 Policy resource.

type PolicyState added in v0.18.0

type PolicyState struct {
	AlternativeNameServerConfig interface{}
	Description                 interface{}
	EnableInboundForwarding     interface{}
	Name                        interface{}
	Networks                    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 Policy 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. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add `\"\"` inside the Terraform configuration string (e.g. `"first255characters\"\"morecharacters"`).

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. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add `\"\"` inside the Terraform configuration string (e.g. `"first255characters\"\"morecharacters"`).
	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. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add `\"\"` inside the Terraform configuration string (e.g. `"first255characters\"\"morecharacters"`).
	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