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 ¶
- Variables
- func DNSManagedZoneIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func DNSManagedZoneIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func NewGoogleDnsKeysDataSource() datasource.DataSource
- func NewGoogleDnsManagedZoneDataSource() datasource.DataSource
- func NewGoogleDnsManagedZonesDataSource() datasource.DataSource
- func NewGoogleDnsRecordSetDataSource() datasource.DataSource
- func ResourceDNSManagedZone() *schema.Resource
- func ResourceDNSPolicy() *schema.Resource
- func ResourceDNSResponsePolicy() *schema.Resource
- func ResourceDNSResponsePolicyRule() *schema.Resource
- func ResourceDnsRecordSet() *schema.Resource
- func RrdatasListDiffSuppress(oldList, newList []string, fun func(x string) string, _ *schema.ResourceData) bool
- type DNSManagedZoneIamUpdater
- func (u *DNSManagedZoneIamUpdater) DescribeResource() string
- func (u *DNSManagedZoneIamUpdater) GetMutexKey() string
- func (u *DNSManagedZoneIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *DNSManagedZoneIamUpdater) GetResourceId() string
- func (u *DNSManagedZoneIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type DnsChangeWaiter
- type GoogleDnsKeysDataSource
- func (d *GoogleDnsKeysDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *GoogleDnsKeysDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *GoogleDnsKeysDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *GoogleDnsKeysDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type GoogleDnsKeysModel
- type GoogleDnsManagedZoneDataSource
- func (d *GoogleDnsManagedZoneDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *GoogleDnsManagedZoneDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *GoogleDnsManagedZoneDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *GoogleDnsManagedZoneDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type GoogleDnsManagedZoneModel
- type GoogleDnsManagedZonesDataSource
- func (d *GoogleDnsManagedZonesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *GoogleDnsManagedZonesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *GoogleDnsManagedZonesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *GoogleDnsManagedZonesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type GoogleDnsManagedZonesModel
- type GoogleDnsRecordSetDataSource
- func (d *GoogleDnsRecordSetDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *GoogleDnsRecordSetDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *GoogleDnsRecordSetDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *GoogleDnsRecordSetDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type GoogleDnsRecordSetModel
- type GoogleKeySigningKey
- type GoogleZoneSigningKey
- type GoogleZoneSigningKeyDigest
Constants ¶
This section is empty.
Variables ¶
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 DNSManagedZoneIamUpdaterProducer ¶
func DNSManagedZoneIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
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 ResourceDNSPolicy ¶
func ResourceDnsRecordSet ¶
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 (w *DnsChangeWaiter) Conf() *resource.StateChangeConf
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 (d *GoogleDnsKeysDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*GoogleDnsKeysDataSource) Metadata ¶
func (d *GoogleDnsKeysDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*GoogleDnsKeysDataSource) Read ¶
func (d *GoogleDnsKeysDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*GoogleDnsKeysDataSource) Schema ¶
func (d *GoogleDnsKeysDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type GoogleDnsKeysModel ¶
type GoogleDnsManagedZoneDataSource ¶
type GoogleDnsManagedZoneDataSource struct {
// contains filtered or unexported fields
}
GoogleDnsManagedZoneDataSource defines the data source implementation
func (*GoogleDnsManagedZoneDataSource) Configure ¶
func (d *GoogleDnsManagedZoneDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*GoogleDnsManagedZoneDataSource) Metadata ¶
func (d *GoogleDnsManagedZoneDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*GoogleDnsManagedZoneDataSource) Read ¶
func (d *GoogleDnsManagedZoneDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*GoogleDnsManagedZoneDataSource) Schema ¶
func (d *GoogleDnsManagedZoneDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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 (d *GoogleDnsManagedZonesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*GoogleDnsManagedZonesDataSource) Metadata ¶
func (d *GoogleDnsManagedZonesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*GoogleDnsManagedZonesDataSource) Read ¶
func (d *GoogleDnsManagedZonesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*GoogleDnsManagedZonesDataSource) Schema ¶
func (d *GoogleDnsManagedZonesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type GoogleDnsRecordSetDataSource ¶
type GoogleDnsRecordSetDataSource struct {
// contains filtered or unexported fields
}
GoogleDnsRecordSetDataSource defines the data source implementation
func (*GoogleDnsRecordSetDataSource) Configure ¶
func (d *GoogleDnsRecordSetDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*GoogleDnsRecordSetDataSource) Metadata ¶
func (d *GoogleDnsRecordSetDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*GoogleDnsRecordSetDataSource) Read ¶
func (d *GoogleDnsRecordSetDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*GoogleDnsRecordSetDataSource) Schema ¶
func (d *GoogleDnsRecordSetDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type GoogleDnsRecordSetModel ¶
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"` }
Source Files ¶
- data_source_dns_keys.go
- data_source_dns_managed_zone.go
- data_source_dns_managed_zones.go
- data_source_dns_record_set.go
- dns_change.go
- iam_dns_managed_zone.go
- resource_dns_managed_zone.go
- resource_dns_policy.go
- resource_dns_record_set.go
- resource_dns_response_policy.go
- resource_dns_response_policy_rule.go
- resource_dns_response_policy_rule_sweeper.go