dns

package
v0.0.0-...-7c00c02 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MPL-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Index

Constants

This section is empty.

Variables

View Source
var DNSManagedZoneIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"managed_zone": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName,
	},
}

Functions

func DNSManagedZoneIdParseFunc

func DNSManagedZoneIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func NewGoogleDnsKeysDataSource

func NewGoogleDnsKeysDataSource() datasource.DataSource

func NewGoogleDnsManagedZoneDataSource

func NewGoogleDnsManagedZoneDataSource() datasource.DataSource

func NewGoogleDnsManagedZonesDataSource

func NewGoogleDnsManagedZonesDataSource() datasource.DataSource

func NewGoogleDnsRecordSetDataSource

func NewGoogleDnsRecordSetDataSource() datasource.DataSource

func ResourceDNSManagedZone

func ResourceDNSManagedZone() *schema.Resource

func ResourceDNSPolicy

func ResourceDNSPolicy() *schema.Resource

func ResourceDNSResponsePolicy

func ResourceDNSResponsePolicy() *schema.Resource

func ResourceDNSResponsePolicyRule

func ResourceDNSResponsePolicyRule() *schema.Resource

func ResourceDnsRecordSet

func ResourceDnsRecordSet() *schema.Resource

func RrdatasListDiffSuppress

func RrdatasListDiffSuppress(oldList, newList []string, fun func(x string) string, _ *schema.ResourceData) bool

suppress on a list when 1) its items have dups that need to be ignored and 2) string comparison on the items may need a special parse function example of usage can be found ../../../third_party/terraform/services/dns/resource_dns_record_set_test.go.erb

Types

type DNSManagedZoneIamUpdater

type DNSManagedZoneIamUpdater struct {
	Config *transport_tpg.Config
	// contains filtered or unexported fields
}

func (*DNSManagedZoneIamUpdater) DescribeResource

func (u *DNSManagedZoneIamUpdater) DescribeResource() string

func (*DNSManagedZoneIamUpdater) GetMutexKey

func (u *DNSManagedZoneIamUpdater) GetMutexKey() string

func (*DNSManagedZoneIamUpdater) GetResourceIamPolicy

func (u *DNSManagedZoneIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*DNSManagedZoneIamUpdater) GetResourceId

func (u *DNSManagedZoneIamUpdater) GetResourceId() string

func (*DNSManagedZoneIamUpdater) SetResourceIamPolicy

func (u *DNSManagedZoneIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type DnsChangeWaiter

type DnsChangeWaiter struct {
	Service     *dns.Service
	Change      *dns.Change
	Project     string
	ManagedZone string
}

func (*DnsChangeWaiter) Conf

func (*DnsChangeWaiter) RefreshFunc

func (w *DnsChangeWaiter) RefreshFunc() resource.StateRefreshFunc

type GoogleDnsKeysDataSource

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

GoogleDnsKeysDataSource defines the data source implementation

func (*GoogleDnsKeysDataSource) Configure

func (*GoogleDnsKeysDataSource) Metadata

func (*GoogleDnsKeysDataSource) Read

func (*GoogleDnsKeysDataSource) Schema

type GoogleDnsKeysModel

type GoogleDnsKeysModel struct {
	Id              types.String `tfsdk:"id"`
	ManagedZone     types.String `tfsdk:"managed_zone"`
	Project         types.String `tfsdk:"project"`
	KeySigningKeys  types.List   `tfsdk:"key_signing_keys"`
	ZoneSigningKeys types.List   `tfsdk:"zone_signing_keys"`
}

type GoogleDnsManagedZoneDataSource

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

GoogleDnsManagedZoneDataSource defines the data source implementation

func (*GoogleDnsManagedZoneDataSource) Configure

func (*GoogleDnsManagedZoneDataSource) Metadata

func (*GoogleDnsManagedZoneDataSource) Read

func (*GoogleDnsManagedZoneDataSource) Schema

type GoogleDnsManagedZoneModel

type GoogleDnsManagedZoneModel struct {
	Id            types.String `tfsdk:"id"`
	DnsName       types.String `tfsdk:"dns_name"`
	Name          types.String `tfsdk:"name"`
	Description   types.String `tfsdk:"description"`
	ManagedZoneId types.Int64  `tfsdk:"managed_zone_id"`
	NameServers   types.List   `tfsdk:"name_servers"`
	Visibility    types.String `tfsdk:"visibility"`
	Project       types.String `tfsdk:"project"`
}

type GoogleDnsManagedZonesDataSource

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

GoogleDnsManagedZonesDataSource defines the data source implementation

func (*GoogleDnsManagedZonesDataSource) Configure

func (*GoogleDnsManagedZonesDataSource) Metadata

func (*GoogleDnsManagedZonesDataSource) Read

func (*GoogleDnsManagedZonesDataSource) Schema

type GoogleDnsManagedZonesModel

type GoogleDnsManagedZonesModel struct {
	Id           types.String `tfsdk:"id"`
	Project      types.String `tfsdk:"project"`
	ManagedZones types.List   `tfsdk:"managed_zones"`
}

type GoogleDnsRecordSetDataSource

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

GoogleDnsRecordSetDataSource defines the data source implementation

func (*GoogleDnsRecordSetDataSource) Configure

func (*GoogleDnsRecordSetDataSource) Metadata

func (*GoogleDnsRecordSetDataSource) Read

func (*GoogleDnsRecordSetDataSource) Schema

type GoogleDnsRecordSetModel

type GoogleDnsRecordSetModel struct {
	Id          types.String `tfsdk:"id"`
	ManagedZone types.String `tfsdk:"managed_zone"`
	Name        types.String `tfsdk:"name"`
	Rrdatas     types.List   `tfsdk:"rrdatas"`
	Ttl         types.Int64  `tfsdk:"ttl"`
	Type        types.String `tfsdk:"type"`
	Project     types.String `tfsdk:"project"`
}

type GoogleKeySigningKey

type GoogleKeySigningKey struct {
	Algorithm    types.String `tfsdk:"algorithm"`
	CreationTime types.String `tfsdk:"creation_time"`
	Description  types.String `tfsdk:"description"`
	Id           types.String `tfsdk:"id"`
	IsActive     types.Bool   `tfsdk:"is_active"`
	KeyLength    types.Int64  `tfsdk:"key_length"`
	KeyTag       types.Int64  `tfsdk:"key_tag"`
	PublicKey    types.String `tfsdk:"public_key"`
	Digests      types.List   `tfsdk:"digests"`

	DSRecord types.String `tfsdk:"ds_record"`
}

type GoogleZoneSigningKey

type GoogleZoneSigningKey struct {
	Algorithm    types.String `tfsdk:"algorithm"`
	CreationTime types.String `tfsdk:"creation_time"`
	Description  types.String `tfsdk:"description"`
	Id           types.String `tfsdk:"id"`
	IsActive     types.Bool   `tfsdk:"is_active"`
	KeyLength    types.Int64  `tfsdk:"key_length"`
	KeyTag       types.Int64  `tfsdk:"key_tag"`
	PublicKey    types.String `tfsdk:"public_key"`
	Digests      types.List   `tfsdk:"digests"`
}

type GoogleZoneSigningKeyDigest

type GoogleZoneSigningKeyDigest struct {
	Digest types.String `tfsdk:"digest"`
	Type   types.String `tfsdk:"type"`
}

Jump to

Keyboard shortcuts

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