dns

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewZoneDataSource

func NewZoneDataSource() datasource.DataSource

NewZoneDataSource is a helper function to simplify the provider implementation.

func NewZoneResource

func NewZoneResource() resource.Resource

NewZoneResource is a helper function to simplify the provider implementation.

Types

type Model

type Model struct {
	Id                types.String `tfsdk:"id"` // needed by TF
	ZoneId            types.String `tfsdk:"zone_id"`
	ProjectId         types.String `tfsdk:"project_id"`
	Name              types.String `tfsdk:"name"`
	DnsName           types.String `tfsdk:"dns_name"`
	Description       types.String `tfsdk:"description"`
	Acl               types.String `tfsdk:"acl"`
	Active            types.Bool   `tfsdk:"active"`
	ContactEmail      types.String `tfsdk:"contact_email"`
	DefaultTTL        types.Int64  `tfsdk:"default_ttl"`
	ExpireTime        types.Int64  `tfsdk:"expire_time"`
	IsReverseZone     types.Bool   `tfsdk:"is_reverse_zone"`
	NegativeCache     types.Int64  `tfsdk:"negative_cache"`
	PrimaryNameServer types.String `tfsdk:"primary_name_server"`
	Primaries         types.List   `tfsdk:"primaries"`
	RecordCount       types.Int64  `tfsdk:"record_count"`
	RefreshTime       types.Int64  `tfsdk:"refresh_time"`
	RetryTime         types.Int64  `tfsdk:"retry_time"`
	SerialNumber      types.Int64  `tfsdk:"serial_number"`
	Type              types.String `tfsdk:"type"`
	Visibility        types.String `tfsdk:"visibility"`
	State             types.String `tfsdk:"state"`
}

Jump to

Keyboard shortcuts

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