dns_config

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AuthZoneOperationTimeout is the maximum amount of time to wait for eventual consistency
	AuthZoneOperationTimeout = 2 * time.Minute
)

Variables

View Source
var AuthZoneExternalProviderAttrTypes = map[string]attr.Type{
	"id":   types.StringType,
	"name": types.StringType,
	"type": types.StringType,
}
View Source
var AuthZoneExternalProviderResourceSchemaAttributes = map[string]schema.Attribute{
	"id": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The identifier of the external provider.`,
	},
	"name": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: `The name of the external provider.`,
	},
	"type": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: `Defines the type of external provider. Allowed values:  * _bloxone_ddi_: host type is BloxOne DDI,  * _microsoft_azure_: host type is Microsoft Azure,  * _amazon_web_service_: host type is Amazon Web Services,  * _microsoft_active_directory_: host type is Microsoft Active Directory,  * _google_cloud_platform_: host type is Google Cloud Platform.`,
	},
}
View Source
var ConfigACLAttrTypes = map[string]attr.Type{
	"comment":  types.StringType,
	"id":       types.StringType,
	"list":     types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"name":     types.StringType,
	"tags":     types.MapType{ElemType: types.StringType},
	"tags_all": types.MapType{ElemType: types.StringType},
}
View Source
var ConfigACLItemAttrTypes = map[string]attr.Type{
	"access":   types.StringType,
	"acl":      types.StringType,
	"address":  types.StringType,
	"element":  types.StringType,
	"tsig_key": types.ObjectType{AttrTypes: ConfigTSIGKeyAttrTypes},
}
View Source
var ConfigACLItemResourceSchemaAttributes = map[string]schema.Attribute{
	"access": schema.StringAttribute{
		Optional: true,
		Computed: true,
		PlanModifiers: []planmodifier.String{
			internalplanmodifier.UseEmptyStringForNull(),
		},
		MarkdownDescription: "Access permission for _element_.\n\n" +
			"  Allowed values:\n" +
			"  * _allow_\n" +
			"  * _deny_\n\n" +
			"  Must be empty if _element_ is _acl_.",
	},
	"acl": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"address": schema.StringAttribute{
		Optional: true,
		Computed: true,
		PlanModifiers: []planmodifier.String{
			internalplanmodifier.UseEmptyStringForNull(),
		},
		MarkdownDescription: `Optional. Data for _ip_ _element_.  Must be empty if _element_ is not _ip_.`,
	},
	"element": schema.StringAttribute{
		Optional: true,
		Computed: true,
		Validators: []validator.String{
			internalvalidator.StringNotNull(),
			stringvalidator.OneOf("any", "ip", "acl", "tsig_key"),
		},
		MarkdownDescription: "Type of element.\n\n" +
			"  Allowed values:\n" +
			"  * _any_\n" +
			"  * _ip_\n" +
			"  * _acl_\n" +
			"  * _tsig_key_",
	},
	"tsig_key": schema.SingleNestedAttribute{
		Attributes: ConfigTSIGKeyResourceSchemaAttributes,
		Optional:   true,
	},
}
View Source
var ConfigACLResourceSchemaAttributes = map[string]schema.Attribute{
	"comment": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: `Optional. Comment for ACL.`,
	},
	"id": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.UseStateForUnknown(),
		},
	},
	"list": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Ordered list of access control elements.  Elements are evaluated in order to determine access. If evaluation reaches the end of the list then access is denied.`,
	},
	"name": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: `ACL object name.`,
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: `Tagging specifics.`,
	},
	"tags_all": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: `Tagging specifics includes the default tags.`,
	},
}
View Source
var ConfigAuthNSGAttrTypes = map[string]attr.Type{
	"comment":              types.StringType,
	"external_primaries":   types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigExternalPrimaryAttrTypes}},
	"external_secondaries": types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigExternalSecondaryAttrTypes}},
	"id":                   types.StringType,
	"internal_secondaries": types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigInternalSecondaryAttrTypes}},
	"name":                 types.StringType,
	"nsgs":                 types.ListType{ElemType: types.StringType},
	"tags":                 types.MapType{ElemType: types.StringType},
	"tags_all":             types.MapType{ElemType: types.StringType},
}
View Source
var ConfigAuthNSGResourceSchemaAttributes = map[string]schema.Attribute{
	"comment": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "Optional. Comment for the object.",
	},
	"external_primaries": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigExternalPrimaryResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "Optional. DNS primaries external to BloxOne DDI. Order is not significant.",
	},
	"external_secondaries": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigExternalSecondaryResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "DNS secondaries external to BloxOne DDI. Order is not significant.",
	},
	"id": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The resource identifier.",
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.UseStateForUnknown(),
		},
	},
	"internal_secondaries": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigInternalSecondaryResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "Optional. BloxOne DDI hosts acting as internal secondaries. Order is not significant.",
	},
	"name": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "Name of the object.",
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.RequiresReplaceIfConfigured(),
		},
	},
	"nsgs": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: "The resource identifier.",
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: "Tagging specifics.",
	},
	"tags_all": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "Tagging specifics includes default tags.",
	},
}
View Source
var ConfigAuthZoneAttrTypes = map[string]attr.Type{
	"comment":                     types.StringType,
	"created_at":                  timetypes.RFC3339Type{},
	"disabled":                    types.BoolType,
	"external_primaries":          types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigExternalPrimaryAttrTypes}},
	"external_providers":          types.ListType{ElemType: types.ObjectType{AttrTypes: AuthZoneExternalProviderAttrTypes}},
	"external_secondaries":        types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigExternalSecondaryAttrTypes}},
	"fqdn":                        types.StringType,
	"gss_tsig_enabled":            types.BoolType,
	"id":                          types.StringType,
	"inheritance_assigned_hosts":  types.ListType{ElemType: types.ObjectType{AttrTypes: Inheritance2AssignedHostAttrTypes}},
	"inheritance_sources":         types.ObjectType{AttrTypes: ConfigAuthZoneInheritanceAttrTypes},
	"initial_soa_serial":          types.Int64Type,
	"internal_secondaries":        types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigInternalSecondaryAttrTypes}},
	"mapped_subnet":               types.StringType,
	"mapping":                     types.StringType,
	"notify":                      types.BoolType,
	"nsgs":                        types.ListType{ElemType: types.StringType},
	"parent":                      types.StringType,
	"primary_type":                types.StringType,
	"protocol_fqdn":               types.StringType,
	"query_acl":                   types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"tags":                        types.MapType{ElemType: types.StringType},
	"tags_all":                    types.MapType{ElemType: types.StringType},
	"transfer_acl":                types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"update_acl":                  types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"updated_at":                  timetypes.RFC3339Type{},
	"use_forwarders_for_subzones": types.BoolType,
	"view":                        types.StringType,
	"warnings":                    types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigWarningAttrTypes}},
	"zone_authority":              types.ObjectType{AttrTypes: ConfigZoneAuthorityAttrTypes},
}
View Source
var ConfigAuthZoneConfigAttrTypes = map[string]attr.Type{
	"external_primaries":   types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigExternalPrimaryAttrTypes}},
	"external_secondaries": types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigExternalSecondaryAttrTypes}},
	"internal_secondaries": types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigInternalSecondaryAttrTypes}},
	"nsgs":                 types.ListType{ElemType: types.StringType},
}
View Source
var ConfigAuthZoneConfigResourceSchemaAttributes = map[string]schema.Attribute{
	"external_primaries": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigExternalPrimaryResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. DNS primaries external to BloxOne DDI. Order is not significant.`,
	},
	"external_secondaries": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigExternalSecondaryResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `DNS secondaries external to BloxOne DDI. Order is not significant.`,
	},
	"internal_secondaries": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigInternalSecondaryResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. BloxOne DDI hosts acting as internal secondaries. Order is not significant.`,
	},
	"nsgs": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: `The resource identifier.`,
	},
}
View Source
var ConfigAuthZoneInheritanceAttrTypes = map[string]attr.Type{
	"gss_tsig_enabled":            types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"notify":                      types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"query_acl":                   types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"transfer_acl":                types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"update_acl":                  types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"use_forwarders_for_subzones": types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"zone_authority":              types.ObjectType{AttrTypes: ConfigInheritedZoneAuthorityAttrTypes},
}
View Source
var ConfigAuthZoneInheritanceResourceSchemaAttributes = map[string]schema.Attribute{
	"gss_tsig_enabled": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"notify": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"query_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"transfer_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"update_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"use_forwarders_for_subzones": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"zone_authority": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedZoneAuthorityResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
}
View Source
var ConfigAuthZoneResourceSchemaAttributes = map[string]schema.Attribute{
	"comment": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: `Optional. Comment for zone configuration.`,
	},
	"created_at": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: `Time when the object has been created.`,
	},
	"disabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `Optional. _true_ to disable object. A disabled object is effectively non-existent when generating configuration.`,
	},
	"external_primaries": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigExternalPrimaryResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. DNS primaries external to BloxOne DDI. Order is not significant.`,
	},
	"external_providers": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: AuthZoneExternalProviderResourceSchemaAttributes,
		},
		Computed:            true,
		MarkdownDescription: `list of external providers for the auth zone.`,
	},
	"external_secondaries": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigExternalSecondaryResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `DNS secondaries external to BloxOne DDI. Order is not significant.`,
	},
	"fqdn": schema.StringAttribute{
		Required: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.RequiresReplaceIfConfigured(),
		},
		MarkdownDescription: `Zone FQDN. The FQDN supplied at creation will be converted to canonical form.  Read-only after creation.`,
	},
	"gss_tsig_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `_gss_tsig_enabled_ enables/disables GSS-TSIG signed dynamic updates.  Defaults to _false_.`,
	},
	"id": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.UseStateForUnknown(),
		},
	},
	"inheritance_assigned_hosts": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: Inheritance2AssignedHostResourceSchemaAttributes,
		},
		Computed:            true,
		MarkdownDescription: `The list of the inheritance assigned hosts of the object.`,
	},
	"inheritance_sources": schema.SingleNestedAttribute{
		Attributes: ConfigAuthZoneInheritanceResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
		PlanModifiers: []planmodifier.Object{
			objectplanmodifier.UseStateForUnknown(),
		},
	},
	"initial_soa_serial": schema.Int64Attribute{
		Optional: true,
		Computed: true,
		Default:  int64default.StaticInt64(1),
		PlanModifiers: []planmodifier.Int64{
			int64planmodifier.RequiresReplaceIfConfigured(),
		},
		MarkdownDescription: `On-create-only. SOA serial is allowed to be set when the authoritative zone is created.`,
	},
	"internal_secondaries": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigInternalSecondaryResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. BloxOne DDI hosts acting as internal secondaries. Order is not significant.`,
	},
	"mapped_subnet": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Reverse zone network address in the following format: \"ip-address/cidr\". Defaults to empty.`,
	},
	"mapping": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Zone mapping type. Allowed values:  * _forward_,  * _ipv4_reverse_.  * _ipv6_reverse_.  Defaults to forward.`,
	},
	"notify": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `Also notify all external secondary DNS servers if enabled.  Defaults to _false_.`,
	},
	"nsgs": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"parent": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"primary_type": schema.StringAttribute{
		Required: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.RequiresReplaceIfConfigured(),
		},
		MarkdownDescription: `Primary type for an authoritative zone. Read only after creation. Allowed values:  * _external_: zone data owned by an external nameserver,  * _cloud_: zone data is owned by a BloxOne DDI host.`,
	},
	"protocol_fqdn": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Zone FQDN in punycode.`,
	},
	"query_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Clients must match this ACL to make authoritative queries. Also used for recursive queries if that ACL is unset.  Defaults to empty.`,
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: `Tagging specifics.`,
	},
	"tags_all": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: `Tagging specifics includes default tags.`,
	},
	"transfer_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Clients must match this ACL to receive zone transfers.`,
	},
	"update_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Specifies which hosts are allowed to submit Dynamic DNS updates for authoritative zones of _primary_type_ _cloud_.  Defaults to empty.`,
	},
	"updated_at": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: `Time when the object has been updated. Equals to _created_at_ if not updated after creation.`,
	},
	"use_forwarders_for_subzones": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: `Optional. Use default forwarders to resolve queries for subzones.  Defaults to _true_.`,
	},
	"view": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.RequiresReplaceIfConfigured(),
		},
	},
	"warnings": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigWarningResourceSchemaAttributes,
		},
		Computed:            true,
		MarkdownDescription: `The list of an auth zone warnings.`,
	},
	"zone_authority": schema.SingleNestedAttribute{
		Attributes: ConfigZoneAuthorityResourceSchemaAttributes,
		Computed:   true,
	},
}
View Source
var ConfigCustomRootNSBlockAttrTypes = map[string]attr.Type{
	"custom_root_ns":         types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigRootNSAttrTypes}},
	"custom_root_ns_enabled": types.BoolType,
}
View Source
var ConfigCustomRootNSBlockResourceSchemaAttributes = map[string]schema.Attribute{
	"custom_root_ns": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigRootNSResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _custom_root_ns_ field.`,
	},
	"custom_root_ns_enabled": schema.BoolAttribute{
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _custom_root_ns_enabled_ field.`,
	},
}
View Source
var ConfigDNSSECValidationBlockAttrTypes = map[string]attr.Type{
	"dnssec_enable_validation": types.BoolType,
	"dnssec_enabled":           types.BoolType,
	"dnssec_trust_anchors":     types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigTrustAnchorAttrTypes}},
	"dnssec_validate_expiry":   types.BoolType,
}
View Source
var ConfigDNSSECValidationBlockResourceSchemaAttributes = map[string]schema.Attribute{
	"dnssec_enable_validation": schema.BoolAttribute{
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _dnssec_enable_validation_ field.`,
	},
	"dnssec_enabled": schema.BoolAttribute{
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _dnssec_enabled_ field.`,
	},
	"dnssec_trust_anchors": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigTrustAnchorResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _dnssec_trust_anchors_ field.`,
	},
	"dnssec_validate_expiry": schema.BoolAttribute{
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _dnssec_validate_expiry_ field.`,
	},
}
View Source
var ConfigDTCConfigAttrTypes = map[string]attr.Type{
	"default_ttl": types.Int64Type,
}
View Source
var ConfigDTCConfigResourceSchemaAttributes = map[string]schema.Attribute{
	"default_ttl": schema.Int64Attribute{
		Optional:            true,
		MarkdownDescription: `Optional. Default TTL for synthesized DTC records (value in seconds).  Defaults to 300.`,
	},
}
View Source
var ConfigDelegationAttrTypes = map[string]attr.Type{
	"comment":            types.StringType,
	"delegation_servers": types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigDelegationServerAttrTypes}},
	"disabled":           types.BoolType,
	"fqdn":               types.StringType,
	"id":                 types.StringType,
	"parent":             types.StringType,
	"protocol_fqdn":      types.StringType,
	"tags":               types.MapType{ElemType: types.StringType},
	"tags_all":           types.MapType{ElemType: types.StringType},
	"view":               types.StringType,
}
View Source
var ConfigDelegationResourceSchemaAttributes = map[string]schema.Attribute{
	"comment": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "Optional. Comment for zone delegation.",
	},
	"delegation_servers": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigDelegationServerResourceSchemaAttributes,
		},
		Required: true,
		Validators: []validator.List{
			listvalidator.SizeAtLeast(1),
		},
		MarkdownDescription: "Required. DNS zone delegation servers. Order is not significant.",
	},
	"disabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Optional. _true_ to disable object. A disabled object is effectively non-existent when generating resource records.",
	},
	"fqdn": schema.StringAttribute{
		Required: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.RequiresReplaceIfConfigured(),
		},
		MarkdownDescription: "Delegation FQDN. The FQDN supplied at creation will be converted to canonical form.  Read-only after creation.",
	},
	"id": schema.StringAttribute{
		Computed: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.UseStateForUnknown(),
		},
		MarkdownDescription: "The resource identifier.",
	},
	"parent": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The resource identifier.",
	},
	"protocol_fqdn": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Delegation FQDN in punycode.",
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: "Tagging specifics.",
	},
	"tags_all": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "Tagging specifics includes default tags.",
	},
	"view": schema.StringAttribute{
		Optional: true,
		Computed: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.RequiresReplaceIfConfigured(),
		},
		MarkdownDescription: "The resource identifier.",
	},
}
View Source
var ConfigDelegationServerAttrTypes = map[string]attr.Type{
	"address":       types.StringType,
	"fqdn":          types.StringType,
	"protocol_fqdn": types.StringType,
}
View Source
var ConfigDelegationServerResourceSchemaAttributes = map[string]schema.Attribute{
	"address": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "Optional. IP Address of nameserver.  Only required when fqdn of a delegation server falls under delegation fqdn",
	},
	"fqdn": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "Required. FQDN of nameserver.",
	},
	"protocol_fqdn": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "FQDN of nameserver in punycode.",
	},
}
View Source
var ConfigDisplayViewAttrTypes = map[string]attr.Type{
	"comment": types.StringType,
	"name":    types.StringType,
	"view":    types.StringType,
}
View Source
var ConfigDisplayViewResourceSchemaAttributes = map[string]schema.Attribute{
	"comment": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "DNS view description.",
	},
	"name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "DNS view name.",
	},
	"view": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The resource identifier.",
	},
}
View Source
var ConfigECSBlockAttrTypes = map[string]attr.Type{
	"ecs_enabled":    types.BoolType,
	"ecs_forwarding": types.BoolType,
	"ecs_prefix_v4":  types.Int64Type,
	"ecs_prefix_v6":  types.Int64Type,
	"ecs_zones":      types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigECSZoneAttrTypes}},
}
View Source
var ConfigECSBlockResourceSchemaAttributes = map[string]schema.Attribute{
	"ecs_enabled": schema.BoolAttribute{
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _ecs_enabled_ field.`,
	},
	"ecs_forwarding": schema.BoolAttribute{
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _ecs_forwarding_ field.`,
	},
	"ecs_prefix_v4": schema.Int64Attribute{
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _ecs_prefix_v4_ field.`,
	},
	"ecs_prefix_v6": schema.Int64Attribute{
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _ecs_prefix_v6_ field.`,
	},
	"ecs_zones": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigECSZoneResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _ecs_zones_ field.`,
	},
}
View Source
var ConfigECSZoneAttrTypes = map[string]attr.Type{
	"access":        types.StringType,
	"fqdn":          types.StringType,
	"protocol_fqdn": types.StringType,
}
View Source
var ConfigECSZoneResourceSchemaAttributes = map[string]schema.Attribute{
	"access": schema.StringAttribute{
		Required: true,
		MarkdownDescription: "Access control for zone. Allowed values:\n" +
			" * _allow_\n" +
			" * _deny_",
	},
	"fqdn": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: `Zone FQDN.`,
	},
	"protocol_fqdn": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Zone FQDN in punycode.`,
	},
}
View Source
var ConfigExternalPrimaryAttrTypes = map[string]attr.Type{
	"address":       types.StringType,
	"fqdn":          types.StringType,
	"nsg":           types.StringType,
	"protocol_fqdn": types.StringType,
	"tsig_enabled":  types.BoolType,
	"tsig_key":      types.ObjectType{AttrTypes: ConfigTSIGKeyAttrTypes},
	"type":          types.StringType,
}
View Source
var ConfigExternalPrimaryResourceSchemaAttributes = map[string]schema.Attribute{
	"address": schema.StringAttribute{
		Optional: true,
		Computed: true,
		PlanModifiers: []planmodifier.String{
			internalplanmodifier.UseEmptyStringForNull(),
		},
		MarkdownDescription: `Optional. Required only if _type_ is _server_. IP Address of nameserver.`,
	},
	"fqdn": schema.StringAttribute{
		Optional: true,
		Computed: true,
		PlanModifiers: []planmodifier.String{
			internalplanmodifier.UseEmptyStringForNull(),
		},
		MarkdownDescription: `Optional. Required only if _type_ is _server_. FQDN of nameserver.`,
	},
	"nsg": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"protocol_fqdn": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `FQDN of nameserver in punycode.`,
	},
	"tsig_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Optional. If enabled, secondaries will use the configured TSIG key when requesting a zone transfer from this primary.",
	},
	"tsig_key": schema.SingleNestedAttribute{
		Attributes: ConfigTSIGKeyResourceSchemaAttributes,
		Optional:   true,
	},
	"type": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "Allowed values: * _nsg_, * _primary_.",
	},
}
View Source
var ConfigExternalSecondaryAttrTypes = map[string]attr.Type{
	"address":       types.StringType,
	"fqdn":          types.StringType,
	"protocol_fqdn": types.StringType,
	"stealth":       types.BoolType,
	"tsig_enabled":  types.BoolType,
	"tsig_key":      types.ObjectType{AttrTypes: ConfigTSIGKeyAttrTypes},
}
View Source
var ConfigExternalSecondaryResourceSchemaAttributes = map[string]schema.Attribute{
	"address": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "IP Address of nameserver.",
	},
	"fqdn": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "FQDN of nameserver.",
	},
	"protocol_fqdn": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "FQDN of nameserver in punycode.",
	},
	"stealth": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "If enabled, the NS record and glue record will NOT be automatically generated according to secondaries nameserver assignment.  Default: _false_",
	},
	"tsig_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "If enabled, secondaries will use the configured TSIG key when requesting a zone transfer.  Default: _false_",
	},
	"tsig_key": schema.SingleNestedAttribute{
		Attributes: ConfigTSIGKeyResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
}
View Source
var ConfigForwardNSGAttrTypes = map[string]attr.Type{
	"comment":             types.StringType,
	"external_forwarders": types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigForwarderAttrTypes}},
	"forwarders_only":     types.BoolType,
	"hosts":               types.ListType{ElemType: types.StringType},
	"id":                  types.StringType,
	"internal_forwarders": types.ListType{ElemType: types.StringType},
	"name":                types.StringType,
	"nsgs":                types.ListType{ElemType: types.StringType},
	"tags":                types.MapType{ElemType: types.StringType},
	"tags_all":            types.MapType{ElemType: types.StringType},
}
View Source
var ConfigForwardNSGResourceSchemaAttributes = map[string]schema.Attribute{
	"comment": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "Optional. Comment for the object.",
	},
	"external_forwarders": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigForwarderResourceSchemaAttributes(true),
		},
		Optional:            true,
		MarkdownDescription: "Optional. External DNS servers to forward to. Order is not significant.",
	},
	"forwarders_only": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Optional. _true_ to only forward.",
	},
	"hosts": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: "The resource identifier.",
	},
	"id": schema.StringAttribute{
		Computed: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.UseStateForUnknown(),
		},
		MarkdownDescription: "The resource identifier.",
	},
	"internal_forwarders": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: "The resource identifier.",
	},
	"name": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "Name of the object.",
	},
	"nsgs": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: "The resource identifier.",
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: "Tagging specifics.",
	},
	"tags_all": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "Tagging specifics includes default tags.",
	},
}
View Source
var ConfigForwardZoneAttrTypes = map[string]attr.Type{
	"comment":             types.StringType,
	"created_at":          timetypes.RFC3339Type{},
	"disabled":            types.BoolType,
	"external_forwarders": types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigForwarderAttrTypes}},
	"forward_only":        types.BoolType,
	"fqdn":                types.StringType,
	"hosts":               types.ListType{ElemType: types.StringType},
	"id":                  types.StringType,
	"internal_forwarders": types.ListType{ElemType: types.StringType},
	"mapped_subnet":       types.StringType,
	"mapping":             types.StringType,
	"nsgs":                types.ListType{ElemType: types.StringType},
	"parent":              types.StringType,
	"protocol_fqdn":       types.StringType,
	"tags":                types.MapType{ElemType: types.StringType},
	"tags_all":            types.MapType{ElemType: types.StringType},
	"updated_at":          timetypes.RFC3339Type{},
	"view":                types.StringType,
	"warnings":            types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigWarningAttrTypes}},
}
View Source
var ConfigForwardZoneResourceSchemaAttributes = map[string]schema.Attribute{
	"comment": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "Optional. Comment for zone configuration.",
	},
	"created_at": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The timestamp when the object has been created.",
	},
	"disabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Optional. _true_ to disable object. A disabled object is effectively non-existent when generating configuration.",
	},
	"external_forwarders": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigForwarderResourceSchemaAttributes(true),
		},
		Optional:            true,
		MarkdownDescription: "Optional. External DNS servers to forward to. Order is not significant.",
	},
	"forward_only": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Optional. _true_ to only forward.",
	},
	"fqdn": schema.StringAttribute{
		Optional: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.RequiresReplaceIfConfigured(),
		},
		MarkdownDescription: "Zone FQDN. The FQDN supplied at creation will be converted to canonical form.  Read-only after creation.",
	},
	"hosts": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: "The resource identifier.",
	},
	"id": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The resource identifier.",
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.UseStateForUnknown(),
		},
	},
	"internal_forwarders": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: "The resource identifier.",
	},
	"mapped_subnet": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Reverse zone network address in the following format: \"ip-address/cidr\". Defaults to empty.",
	},
	"mapping": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Read-only. Zone mapping type. Allowed values:  * _forward_,  * _ipv4_reverse_.  * _ipv6_reverse_.  Defaults to _forward_.",
	},
	"nsgs": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: "The resource identifier.",
	},
	"parent": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The resource identifier.",
	},
	"protocol_fqdn": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Zone FQDN in punycode.",
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: "Tagging specifics.",
	},
	"tags_all": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "Tagging specifics includes default tags.",
	},
	"updated_at": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The timestamp when the object has been updated. Equals to _created_at_ if not updated after creation.",
	},
	"view": schema.StringAttribute{
		Optional: true,
		Computed: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.RequiresReplaceIfConfigured(),
		},
		MarkdownDescription: "The resource identifier.",
	},
	"warnings": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigWarningResourceSchemaAttributes,
		},
		Computed:            true,
		MarkdownDescription: "The list of a forward zone warnings.",
	},
}
View Source
var ConfigForwarderAttrTypes = map[string]attr.Type{
	"address":       types.StringType,
	"fqdn":          types.StringType,
	"protocol_fqdn": types.StringType,
}
View Source
var ConfigForwardersBlockAttrTypes = map[string]attr.Type{
	"forwarders":      types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigForwarderAttrTypes}},
	"forwarders_only": types.BoolType,
	"use_root_forwarders_for_local_resolution_with_b1td": types.BoolType,
}
View Source
var ConfigForwardersBlockResourceSchemaAttributes = map[string]schema.Attribute{
	"forwarders": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigForwarderResourceSchemaAttributes(false),
		},
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _forwarders_ field from.`,
	},
	"forwarders_only": schema.BoolAttribute{
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _forwarders_only_ field.`,
	},
	"use_root_forwarders_for_local_resolution_with_b1td": schema.BoolAttribute{
		Optional:            true,
		MarkdownDescription: `Optional. Field config for _use_root_forwarders_for_local_resolution_with_b1td_ field.`,
	},
}
View Source
var ConfigHostAssociatedServerAttrTypes = map[string]attr.Type{
	"id":   types.StringType,
	"name": types.StringType,
}
View Source
var ConfigHostAssociatedServerResourceSchemaAttributes = map[string]schema.Attribute{
	"id": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The resource identifier.",
	},
	"name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "DNS server name.",
	},
}
View Source
var ConfigHostInheritanceAttrTypes = map[string]attr.Type{
	"kerberos_keys": types.ObjectType{AttrTypes: ConfigInheritedKerberosKeysAttrTypes},
}
View Source
var ConfigHostInheritanceResourceSchemaAttributes = map[string]schema.Attribute{
	"kerberos_keys": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedKerberosKeysResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
}
View Source
var ConfigInheritedACLItemsAttrTypes = map[string]attr.Type{
	"action":       types.StringType,
	"display_name": types.StringType,
	"source":       types.StringType,
	"value":        types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
}
View Source
var ConfigInheritedACLItemsResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: `Optional. Inheritance setting for a field. Defaults to _inherit_.`,
	},
	"display_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Human-readable display name for the object referred to by _source_.",
	},
	"source": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The resource identifier.",
	},
	"value": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: utils.ToComputedAttributeMap(ConfigACLItemResourceSchemaAttributes),
		},
		Computed:            true,
		MarkdownDescription: "Inherited value.",
	},
}
View Source
var ConfigInheritedCustomRootNSBlockAttrTypes = map[string]attr.Type{
	"action":       types.StringType,
	"display_name": types.StringType,
	"source":       types.StringType,
	"value":        types.ObjectType{AttrTypes: ConfigCustomRootNSBlockAttrTypes},
}
View Source
var ConfigInheritedCustomRootNSBlockResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: `Defaults to _inherit_.`,
	},
	"display_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Human-readable display name for the object referred to by _source_.`,
	},
	"source": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"value": schema.SingleNestedAttribute{
		Attributes: utils.ToComputedAttributeMap(ConfigCustomRootNSBlockResourceSchemaAttributes),
		Computed:   true,
	},
}
View Source
var ConfigInheritedDNSSECValidationBlockAttrTypes = map[string]attr.Type{
	"action":       types.StringType,
	"display_name": types.StringType,
	"source":       types.StringType,
	"value":        types.ObjectType{AttrTypes: ConfigDNSSECValidationBlockAttrTypes},
}
View Source
var ConfigInheritedDNSSECValidationBlockResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: `Defaults to _inherit_.`,
	},
	"display_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Human-readable display name for the object referred to by _source_.`,
	},
	"source": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"value": schema.SingleNestedAttribute{
		Attributes: utils.ToComputedAttributeMap(ConfigDNSSECValidationBlockResourceSchemaAttributes),
		Computed:   true,
	},
}
View Source
var ConfigInheritedDtcConfigAttrTypes = map[string]attr.Type{
	"default_ttl": types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
}
View Source
var ConfigInheritedDtcConfigResourceSchemaAttributes = map[string]schema.Attribute{
	"default_ttl": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
}
View Source
var ConfigInheritedECSBlockAttrTypes = map[string]attr.Type{
	"action":       types.StringType,
	"display_name": types.StringType,
	"source":       types.StringType,
	"value":        types.ObjectType{AttrTypes: ConfigECSBlockAttrTypes},
}
View Source
var ConfigInheritedECSBlockResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: `Defaults to _inherit_.`,
	},
	"display_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Human-readable display name for the object referred to by _source_.`,
	},
	"source": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"value": schema.SingleNestedAttribute{
		Attributes: utils.ToComputedAttributeMap(ConfigECSBlockResourceSchemaAttributes),
		Computed:   true,
	},
}
View Source
var ConfigInheritedForwardersBlockAttrTypes = map[string]attr.Type{
	"action":       types.StringType,
	"display_name": types.StringType,
	"source":       types.StringType,
	"value":        types.ObjectType{AttrTypes: ConfigForwardersBlockAttrTypes},
}
View Source
var ConfigInheritedForwardersBlockResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: `Defaults to _inherit_.`,
	},
	"display_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Human-readable display name for the object referred to by _source_.`,
	},
	"source": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"value": schema.SingleNestedAttribute{
		Attributes: utils.ToComputedAttributeMap(ConfigForwardersBlockResourceSchemaAttributes),
		Computed:   true,
	},
}
View Source
var ConfigInheritedKerberosKeysAttrTypes = map[string]attr.Type{
	"action":       types.StringType,
	"display_name": types.StringType,
	"source":       types.StringType,
	"value":        types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigKerberosKeyAttrTypes}},
}
View Source
var ConfigInheritedKerberosKeysResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: `Optional. Inheritance setting for a field. Defaults to _inherit_.`,
	},
	"display_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Human-readable display name for the object referred to by _source_.`,
	},
	"source": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"value": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: utils.ToComputedAttributeMap(ConfigKerberosKeyResourceSchemaAttributes),
		},
		Computed:            true,
		MarkdownDescription: `Inherited value.`,
	},
}
View Source
var ConfigInheritedSortListItemsAttrTypes = map[string]attr.Type{
	"action":       types.StringType,
	"display_name": types.StringType,
	"source":       types.StringType,
	"value":        types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigSortListItemAttrTypes}},
}
View Source
var ConfigInheritedSortListItemsResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: `Optional. Inheritance setting for a field. Defaults to _inherit_.`,
	},
	"display_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Human-readable display name for the object referred to by _source_.`,
	},
	"source": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"value": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: utils.ToComputedAttributeMap(ConfigSortListItemResourceSchemaAttributes),
		},
		Computed:            true,
		MarkdownDescription: `Inherited value.`,
	},
}
View Source
var ConfigInheritedZoneAuthorityMNameBlockAttrTypes = map[string]attr.Type{
	"action":       types.StringType,
	"display_name": types.StringType,
	"source":       types.StringType,
	"value":        types.ObjectType{AttrTypes: ConfigZoneAuthorityMNameBlockAttrTypes},
}
View Source
var ConfigInheritedZoneAuthorityMNameBlockResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: `Defaults to _inherit_.`,
	},
	"display_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Human-readable display name for the object referred to by _source_.",
	},
	"source": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The resource identifier.",
	},
	"value": schema.SingleNestedAttribute{
		Attributes: utils.ToComputedAttributeMap(ConfigZoneAuthorityMNameBlockResourceSchemaAttributes),
		Computed:   true,
	},
}
View Source
var ConfigInheritedZoneAuthorityResourceSchemaAttributes = map[string]schema.Attribute{
	"default_ttl": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"expire": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"mname_block": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedZoneAuthorityMNameBlockResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"negative_ttl": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"protocol_rname": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedStringResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"refresh": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"retry": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"rname": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedStringResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
}
View Source
var ConfigInternalSecondaryAttrTypes = map[string]attr.Type{
	"host": types.StringType,
}
View Source
var ConfigInternalSecondaryResourceSchemaAttributes = map[string]schema.Attribute{
	"host": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "The resource identifier.",
	},
}
View Source
var ConfigKerberosKeyAttrTypes = map[string]attr.Type{
	"algorithm":   types.StringType,
	"domain":      types.StringType,
	"key":         types.StringType,
	"principal":   types.StringType,
	"uploaded_at": types.StringType,
	"version":     types.Int64Type,
}
View Source
var ConfigKerberosKeyResourceSchemaAttributes = map[string]schema.Attribute{
	"algorithm": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Encryption algorithm of the key in accordance with RFC 3961.`,
	},
	"domain": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Kerberos realm of the principal.`,
	},
	"key": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"principal": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Kerberos principal associated with key.`,
	},
	"uploaded_at": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Upload time for the key.`,
	},
	"version": schema.Int64Attribute{
		Computed:            true,
		MarkdownDescription: `The version number (KVNO) of the key.`,
	},
}
View Source
var ConfigRootNSAttrTypes = map[string]attr.Type{
	"address":       types.StringType,
	"fqdn":          types.StringType,
	"protocol_fqdn": types.StringType,
}
View Source
var ConfigRootNSResourceSchemaAttributes = map[string]schema.Attribute{
	"address": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: `IPv4 address.`,
	},
	"fqdn": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: `FQDN.`,
	},
	"protocol_fqdn": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `FQDN in punycode.`,
	},
}
View Source
var ConfigServerAttrTypes = map[string]attr.Type{
	"add_edns_option_in_outgoing_query":     types.BoolType,
	"auto_sort_views":                       types.BoolType,
	"comment":                               types.StringType,
	"created_at":                            timetypes.RFC3339Type{},
	"custom_root_ns":                        types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigRootNSAttrTypes}},
	"custom_root_ns_enabled":                types.BoolType,
	"dnssec_enable_validation":              types.BoolType,
	"dnssec_enabled":                        types.BoolType,
	"dnssec_root_keys":                      types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigTrustAnchorAttrTypes}},
	"dnssec_trust_anchors":                  types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigTrustAnchorAttrTypes}},
	"dnssec_validate_expiry":                types.BoolType,
	"ecs_enabled":                           types.BoolType,
	"ecs_forwarding":                        types.BoolType,
	"ecs_prefix_v4":                         types.Int64Type,
	"ecs_prefix_v6":                         types.Int64Type,
	"ecs_zones":                             types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigECSZoneAttrTypes}},
	"filter_aaaa_acl":                       types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"filter_aaaa_on_v4":                     types.StringType,
	"forwarders":                            types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigForwarderAttrTypes}},
	"forwarders_only":                       types.BoolType,
	"gss_tsig_enabled":                      types.BoolType,
	"id":                                    types.StringType,
	"inheritance_sources":                   types.ObjectType{AttrTypes: ConfigServerInheritanceAttrTypes},
	"kerberos_keys":                         types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigKerberosKeyAttrTypes}},
	"lame_ttl":                              types.Int64Type,
	"log_query_response":                    types.BoolType,
	"match_recursive_only":                  types.BoolType,
	"max_cache_ttl":                         types.Int64Type,
	"max_negative_ttl":                      types.Int64Type,
	"minimal_responses":                     types.BoolType,
	"name":                                  types.StringType,
	"notify":                                types.BoolType,
	"query_acl":                             types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"query_port":                            types.Int64Type,
	"recursion_acl":                         types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"recursion_enabled":                     types.BoolType,
	"recursive_clients":                     types.Int64Type,
	"resolver_query_timeout":                types.Int64Type,
	"secondary_axfr_query_limit":            types.Int64Type,
	"secondary_soa_query_limit":             types.Int64Type,
	"sort_list":                             types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigSortListItemAttrTypes}},
	"synthesize_address_records_from_https": types.BoolType,
	"tags":                                  types.MapType{ElemType: types.StringType},
	"tags_all":                              types.MapType{ElemType: types.StringType},
	"transfer_acl":                          types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"update_acl":                            types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"updated_at":                            timetypes.RFC3339Type{},
	"use_forwarders_for_subzones":           types.BoolType,
	"use_root_forwarders_for_local_resolution_with_b1td": types.BoolType,
	"views": types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigDisplayViewAttrTypes}},
}
View Source
var ConfigServerInheritanceAttrTypes = map[string]attr.Type{
	"add_edns_option_in_outgoing_query":     types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"custom_root_ns_block":                  types.ObjectType{AttrTypes: ConfigInheritedCustomRootNSBlockAttrTypes},
	"dnssec_validation_block":               types.ObjectType{AttrTypes: ConfigInheritedDNSSECValidationBlockAttrTypes},
	"ecs_block":                             types.ObjectType{AttrTypes: ConfigInheritedECSBlockAttrTypes},
	"filter_aaaa_acl":                       types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"filter_aaaa_on_v4":                     types.ObjectType{AttrTypes: Inheritance2InheritedStringAttrTypes},
	"forwarders_block":                      types.ObjectType{AttrTypes: ConfigInheritedForwardersBlockAttrTypes},
	"gss_tsig_enabled":                      types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"kerberos_keys":                         types.ObjectType{AttrTypes: ConfigInheritedKerberosKeysAttrTypes},
	"lame_ttl":                              types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"log_query_response":                    types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"match_recursive_only":                  types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"max_cache_ttl":                         types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"max_negative_ttl":                      types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"minimal_responses":                     types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"notify":                                types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"query_acl":                             types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"query_port":                            types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"recursion_acl":                         types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"recursion_enabled":                     types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"recursive_clients":                     types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"resolver_query_timeout":                types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"secondary_axfr_query_limit":            types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"secondary_soa_query_limit":             types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"sort_list":                             types.ObjectType{AttrTypes: ConfigInheritedSortListItemsAttrTypes},
	"synthesize_address_records_from_https": types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"transfer_acl":                          types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"update_acl":                            types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"use_forwarders_for_subzones":           types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
}
View Source
var ConfigServerInheritanceResourceSchemaAttributes = map[string]schema.Attribute{
	"add_edns_option_in_outgoing_query": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"custom_root_ns_block": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedCustomRootNSBlockResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"dnssec_validation_block": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedDNSSECValidationBlockResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"ecs_block": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedECSBlockResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"filter_aaaa_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"filter_aaaa_on_v4": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedStringResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"forwarders_block": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedForwardersBlockResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"gss_tsig_enabled": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"kerberos_keys": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedKerberosKeysResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"lame_ttl": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"log_query_response": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"match_recursive_only": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"max_cache_ttl": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"max_negative_ttl": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"minimal_responses": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"notify": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"query_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"query_port": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"recursion_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"recursion_enabled": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"recursive_clients": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"resolver_query_timeout": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"secondary_axfr_query_limit": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"secondary_soa_query_limit": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"sort_list": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedSortListItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"synthesize_address_records_from_https": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"transfer_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"update_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"use_forwarders_for_subzones": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
}
View Source
var ConfigServerResourceSchemaAttributes = map[string]schema.Attribute{
	"add_edns_option_in_outgoing_query": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "_add_edns_option_in_outgoing_query_ adds client IP, MAC address and view name into outgoing recursive query. Defaults to _false_.",
	},
	"auto_sort_views": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: "Optional. Controls manual/automatic views ordering.  Defaults to _true_.",
	},
	"comment": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "Optional. Comment for configuration.",
	},
	"created_at": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "Time when the object has been created.",
	},
	"custom_root_ns": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigRootNSResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "Optional. List of custom root nameservers. The order does not matter.  Error if empty while _custom_root_ns_enabled_ is _true_. Error if there are duplicate items in the list.  Defaults to empty.",
	},
	"custom_root_ns_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Optional. _true_ to use custom root nameservers instead of the default ones.  The _custom_root_ns_ is validated when enabled.  Defaults to _false_.",
	},
	"dnssec_enable_validation": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: "Optional. _true_ to perform DNSSEC validation. Ignored if _dnssec_enabled_ is _false_.  Defaults to _true_.",
	},
	"dnssec_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: "Optional. Master toggle for all DNSSEC processing. Other _dnssec_*_ configuration is unused if this is disabled.  Defaults to _true_.",
	},
	"dnssec_root_keys": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigTrustAnchorResourceSchemaAttributes,
		},
		Computed:            true,
		MarkdownDescription: "DNSSEC root keys. The root keys are not configurable.  A default list is provided by cloud management and included here for config generation.",
	},
	"dnssec_trust_anchors": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigTrustAnchorResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "Optional. DNSSEC trust anchors.  Error if there are list items with duplicate (_zone_, _sep_, _algorithm_) combinations.  Defaults to empty.",
	},
	"dnssec_validate_expiry": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: "Optional. _true_ to reject expired DNSSEC keys. Ignored if either _dnssec_enabled_ or _dnssec_enable_validation_ is _false_.  Defaults to _true_.",
	},
	"ecs_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Optional. _true_ to enable EDNS client subnet for recursive queries. Other _ecs_*_ fields are ignored if this field is not enabled.  Defaults to _false_.",
	},
	"ecs_forwarding": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Optional. _true_ to enable ECS options in outbound queries. This functionality has additional overhead so it is disabled by default.  Defaults to _false_.",
	},
	"ecs_prefix_v4": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(24),
		MarkdownDescription: "Optional. Maximum scope length for v4 ECS.  Unsigned integer, min 1 max 24  Defaults to 24.",
	},
	"ecs_prefix_v6": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(56),
		MarkdownDescription: "Optional. Maximum scope length for v6 ECS.  Unsigned integer, min 1 max 56  Defaults to 56.",
	},
	"ecs_zones": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigECSZoneResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "Optional. List of zones where ECS queries may be sent.  Error if empty while _ecs_enabled_ is _true_. Error if there are duplicate FQDNs in the list.  Defaults to empty.",
	},
	"filter_aaaa_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "Optional. Specifies a list of client addresses for which AAAA filtering is to be applied.  Defaults to _empty_.",
	},
	"filter_aaaa_on_v4": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString("no"),
		MarkdownDescription: "_filter_aaaa_on_v4_ allows named to omit some IPv6 addresses when responding to IPv4 clients.  Allowed values: * _yes_, * _no_, * _break_dnssec_.  Defaults to _no_",
	},
	"forwarders": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigForwarderResourceSchemaAttributes(false),
		},
		Optional:            true,
		Computed:            true,
		MarkdownDescription: "Optional. List of forwarders.  Error if empty while _forwarders_only_ or _use_root_forwarders_for_local_resolution_with_b1td_ is _true_. Error if there are items in the list with duplicate addresses.  Defaults to empty.",
	},
	"forwarders_only": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Optional. _true_ to only forward.  Defaults to _false_.",
	},
	"gss_tsig_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "_gss_tsig_enabled_ enables/disables GSS-TSIG signed dynamic updates.  Defaults to _false_.",
	},
	"id": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The resource identifier.",
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.UseStateForUnknown(),
		},
	},
	"inheritance_sources": schema.SingleNestedAttribute{
		Attributes: ConfigServerInheritanceResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
		PlanModifiers: []planmodifier.Object{
			objectplanmodifier.UseStateForUnknown(),
		},
	},
	"kerberos_keys": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigKerberosKeyResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "_kerberos_keys_ contains a list of keys for GSS-TSIG signed dynamic updates.  Defaults to empty.",
	},
	"lame_ttl": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(600),
		MarkdownDescription: "Optional. Unused in the current on-prem DNS server implementation.  Unsigned integer, min 0 max 3600 (1h).  Defaults to 600.",
	},
	"log_query_response": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: "Optional. Control DNS query/response logging functionality.  Defaults to _true_.",
	},
	"match_recursive_only": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Optional. If _true_ only recursive queries from matching clients access the view.  Defaults to _false_.",
	},
	"max_cache_ttl": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(604800),
		MarkdownDescription: "Optional. Seconds to cache positive responses.  Unsigned integer, min 1 max 604800 (7d).  Defaults to 604800 (7d).",
	},
	"max_negative_ttl": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(10800),
		MarkdownDescription: "Optional. Seconds to cache negative responses.  Unsigned integer, min 1 max 604800 (7d).  Defaults to 10800 (3h).",
	},
	"minimal_responses": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Optional. When enabled, the DNS server will only add records to the authority and additional data sections when they are required.  Defaults to _false_.",
	},
	"name": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "Name of configuration.",
	},
	"notify": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "_notify_ all external secondary DNS servers.  Defaults to _false_.",
	},
	"query_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "Optional. Clients must match this ACL to make authoritative queries. Also used for recursive queries if that ACL is unset.  Defaults to empty.",
	},
	"query_port": schema.Int64Attribute{
		Optional:            true,
		MarkdownDescription: "Optional. Source port for outbound DNS queries. When set to 0 the port is unspecified and the implementation may randomize it using any available ports.  Defaults to 0.",
	},
	"recursion_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "Optional. Clients must match this ACL to make recursive queries. If this ACL is empty, then the _query_acl_ field will be used instead.  Defaults to empty.",
	},
	"recursion_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: "Optional. _true_ to allow recursive DNS queries.  Defaults to _true_.",
	},
	"recursive_clients": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(1000),
		MarkdownDescription: "Optional. Defines the number of simultaneous recursive lookups the server will perform on behalf of its clients.  Defaults to 1000.",
	},
	"resolver_query_timeout": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(10),
		MarkdownDescription: "Optional. Seconds before a recursive query times out.  Unsigned integer, min 10 max 30.  Defaults to 10.",
	},
	"secondary_axfr_query_limit": schema.Int64Attribute{
		Optional:            true,
		MarkdownDescription: "Optional. Maximum concurrent inbound AXFRs. When set to 0 a host-dependent default will be used.  Defaults to 0.",
	},
	"secondary_soa_query_limit": schema.Int64Attribute{
		Optional:            true,
		MarkdownDescription: "Optional. Maximum concurrent outbound SOA queries. When set to 0 a host-dependent default will be used.  Defaults to 0.",
	},
	"sort_list": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigSortListItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "Optional. Specifies a sorted network list for A/AAAA records in DNS query response.  Defaults to _empty_.",
	},
	"synthesize_address_records_from_https": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "_synthesize_address_records_from_https_ enables/disables creation of A/AAAA records from HTTPS RR Defaults to _false_.",
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: "Tagging specifics.",
	},
	"tags_all": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "Tagging specifics includes default tags.",
	},
	"transfer_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "Optional. Clients must match this ACL to receive zone transfers.  Defaults to empty.",
	},
	"update_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "Optional. Specifies which hosts are allowed to issue Dynamic DNS updates for authoritative zones of _primary_type_ _cloud_.  Defaults to empty.",
	},
	"updated_at": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "Time when the object has been updated. Equals to _created_at_ if not updated after creation.",
	},
	"use_forwarders_for_subzones": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: "Optional. Use default forwarders to resolve queries for subzones.  Defaults to _true_.",
	},
	"use_root_forwarders_for_local_resolution_with_b1td": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "_use_root_forwarders_for_local_resolution_with_b1td_ allows DNS recursive queries sent to root forwarders for local resolution when deployed alongside BloxOne Thread Defense. Defaults to _false_.",
	},
	"views": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigDisplayViewResourceSchemaAttributes,
		},
		Computed:            true,
		MarkdownDescription: "Optional. Ordered list of _dns/display_view_ objects served by any of _dns/host_ assigned to a particular DNS Config Profile. Automatically determined. Allows re-ordering only.",
	},
}
View Source
var ConfigSortListItemAttrTypes = map[string]attr.Type{
	"acl":                  types.StringType,
	"element":              types.StringType,
	"prioritized_networks": types.ListType{ElemType: types.StringType},
	"source":               types.StringType,
}
View Source
var ConfigSortListItemResourceSchemaAttributes = map[string]schema.Attribute{
	"acl": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"element": schema.StringAttribute{
		Required: true,
		MarkdownDescription: "Type of element.\n\n" +
			"  Allowed values:\n" +
			"  * _any_\n" +
			"  * _ip_\n" +
			"  * _acl_\n",
	},
	"prioritized_networks": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: `Optional. The prioritized networks. If empty, the value of _source_ or networks from _acl_ is used.`,
	},
	"source": schema.StringAttribute{
		Optional: true,
		Computed: true,
		PlanModifiers: []planmodifier.String{
			internalplanmodifier.UseEmptyStringForNull(),
		},
		MarkdownDescription: `Must be empty if _element_ is not _ip_.`,
	},
}
View Source
var ConfigTSIGKeyAttrTypes = map[string]attr.Type{
	"algorithm":     types.StringType,
	"comment":       types.StringType,
	"key":           types.StringType,
	"name":          types.StringType,
	"protocol_name": types.StringType,
	"secret":        types.StringType,
}
View Source
var ConfigTSIGKeyResourceSchemaAttributes = map[string]schema.Attribute{
	"algorithm": schema.StringAttribute{
		Computed: true,
		MarkdownDescription: "TSIG key algorithm.\n\n" +
			"  Possible values:\n" +
			"  * _hmac_sha256_\n" +
			"  * _hmac_sha1_\n" +
			"  * _hmac_sha224_\n" +
			"  * _hmac_sha384_\n" +
			"  * _hmac_sha512_\n",
	},
	"comment": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Comment for TSIG key.`,
	},
	"key": schema.StringAttribute{
		Optional: true,
		Computed: true,
		Validators: []validator.String{
			internalvalidator.StringNotNull(),
		},
		MarkdownDescription: `The resource identifier.`,
	},
	"name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `TSIG key name, FQDN.`,
	},
	"protocol_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `TSIG key name in punycode.`,
	},
	"secret": schema.StringAttribute{
		Computed:            true,
		Sensitive:           true,
		MarkdownDescription: `TSIG key secret, base64 string.`,
	},
}
View Source
var ConfigTrustAnchorAttrTypes = map[string]attr.Type{
	"algorithm":     types.Int64Type,
	"protocol_zone": types.StringType,
	"public_key":    types.StringType,
	"sep":           types.BoolType,
	"zone":          types.StringType,
}
View Source
var ConfigTrustAnchorResourceSchemaAttributes = map[string]schema.Attribute{
	"algorithm": schema.Int64Attribute{
		Required: true,
	},
	"protocol_zone": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Zone FQDN in punycode.`,
	},
	"public_key": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: `DNSSEC key data. Non-empty, valid base64 string.`,
	},
	"sep": schema.BoolAttribute{
		Optional:            true,
		MarkdownDescription: `Optional. Secure Entry Point flag.  Defaults to _true_.`,
	},
	"zone": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: `Zone FQDN.`,
	},
}
View Source
var ConfigViewAttrTypes = map[string]attr.Type{
	"add_edns_option_in_outgoing_query":     types.BoolType,
	"comment":                               types.StringType,
	"created_at":                            timetypes.RFC3339Type{},
	"custom_root_ns":                        types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigRootNSAttrTypes}},
	"custom_root_ns_enabled":                types.BoolType,
	"disabled":                              types.BoolType,
	"dnssec_enable_validation":              types.BoolType,
	"dnssec_enabled":                        types.BoolType,
	"dnssec_root_keys":                      types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigTrustAnchorAttrTypes}},
	"dnssec_trust_anchors":                  types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigTrustAnchorAttrTypes}},
	"dnssec_validate_expiry":                types.BoolType,
	"dtc_config":                            types.ObjectType{AttrTypes: ConfigDTCConfigAttrTypes},
	"ecs_enabled":                           types.BoolType,
	"ecs_forwarding":                        types.BoolType,
	"ecs_prefix_v4":                         types.Int64Type,
	"ecs_prefix_v6":                         types.Int64Type,
	"ecs_zones":                             types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigECSZoneAttrTypes}},
	"edns_udp_size":                         types.Int64Type,
	"filter_aaaa_acl":                       types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"filter_aaaa_on_v4":                     types.StringType,
	"forwarders":                            types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigForwarderAttrTypes}},
	"forwarders_only":                       types.BoolType,
	"gss_tsig_enabled":                      types.BoolType,
	"id":                                    types.StringType,
	"inheritance_sources":                   types.ObjectType{AttrTypes: ConfigViewInheritanceAttrTypes},
	"ip_spaces":                             types.ListType{ElemType: types.StringType},
	"lame_ttl":                              types.Int64Type,
	"match_clients_acl":                     types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"match_destinations_acl":                types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"match_recursive_only":                  types.BoolType,
	"max_cache_ttl":                         types.Int64Type,
	"max_negative_ttl":                      types.Int64Type,
	"max_udp_size":                          types.Int64Type,
	"minimal_responses":                     types.BoolType,
	"name":                                  types.StringType,
	"notify":                                types.BoolType,
	"query_acl":                             types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"recursion_acl":                         types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"recursion_enabled":                     types.BoolType,
	"sort_list":                             types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigSortListItemAttrTypes}},
	"synthesize_address_records_from_https": types.BoolType,
	"tags":                                  types.MapType{ElemType: types.StringType},
	"tags_all":                              types.MapType{ElemType: types.StringType},
	"transfer_acl":                          types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"update_acl":                            types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}},
	"updated_at":                            timetypes.RFC3339Type{},
	"use_forwarders_for_subzones":           types.BoolType,
	"use_root_forwarders_for_local_resolution_with_b1td": types.BoolType,
	"zone_authority": types.ObjectType{AttrTypes: ConfigZoneAuthorityAttrTypes},
}
View Source
var ConfigViewInheritanceAttrTypes = map[string]attr.Type{
	"add_edns_option_in_outgoing_query":     types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"custom_root_ns_block":                  types.ObjectType{AttrTypes: ConfigInheritedCustomRootNSBlockAttrTypes},
	"dnssec_validation_block":               types.ObjectType{AttrTypes: ConfigInheritedDNSSECValidationBlockAttrTypes},
	"dtc_config":                            types.ObjectType{AttrTypes: ConfigInheritedDtcConfigAttrTypes},
	"ecs_block":                             types.ObjectType{AttrTypes: ConfigInheritedECSBlockAttrTypes},
	"edns_udp_size":                         types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"filter_aaaa_acl":                       types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"filter_aaaa_on_v4":                     types.ObjectType{AttrTypes: Inheritance2InheritedStringAttrTypes},
	"forwarders_block":                      types.ObjectType{AttrTypes: ConfigInheritedForwardersBlockAttrTypes},
	"gss_tsig_enabled":                      types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"lame_ttl":                              types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"match_recursive_only":                  types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"max_cache_ttl":                         types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"max_negative_ttl":                      types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"max_udp_size":                          types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes},
	"minimal_responses":                     types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"notify":                                types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"query_acl":                             types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"recursion_acl":                         types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"recursion_enabled":                     types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"sort_list":                             types.ObjectType{AttrTypes: ConfigInheritedSortListItemsAttrTypes},
	"synthesize_address_records_from_https": types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"transfer_acl":                          types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"update_acl":                            types.ObjectType{AttrTypes: ConfigInheritedACLItemsAttrTypes},
	"use_forwarders_for_subzones":           types.ObjectType{AttrTypes: Inheritance2InheritedBoolAttrTypes},
	"zone_authority":                        types.ObjectType{AttrTypes: ConfigInheritedZoneAuthorityAttrTypes},
}
View Source
var ConfigViewInheritanceResourceSchemaAttributes = map[string]schema.Attribute{
	"add_edns_option_in_outgoing_query": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"custom_root_ns_block": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedCustomRootNSBlockResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"dnssec_validation_block": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedDNSSECValidationBlockResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"dtc_config": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedDtcConfigResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"ecs_block": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedECSBlockResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"edns_udp_size": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"filter_aaaa_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"filter_aaaa_on_v4": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedStringResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"forwarders_block": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedForwardersBlockResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"gss_tsig_enabled": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"lame_ttl": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"match_recursive_only": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"max_cache_ttl": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"max_negative_ttl": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"max_udp_size": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"minimal_responses": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"notify": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"query_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"recursion_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"recursion_enabled": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"sort_list": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedSortListItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"synthesize_address_records_from_https": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"transfer_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"update_acl": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedACLItemsResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"use_forwarders_for_subzones": schema.SingleNestedAttribute{
		Attributes: Inheritance2InheritedBoolResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
	"zone_authority": schema.SingleNestedAttribute{
		Attributes: ConfigInheritedZoneAuthorityResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
	},
}
View Source
var ConfigViewResourceSchemaAttributes = map[string]schema.Attribute{
	"add_edns_option_in_outgoing_query": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `_add_edns_option_in_outgoing_query_ adds client IP, MAC address and view name into outgoing recursive query. Defaults to _false_.`,
	},
	"comment": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: `Optional. Comment for view.`,
	},
	"created_at": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: `The timestamp when the object has been created.`,
	},
	"custom_root_ns": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigRootNSResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. List of custom root nameservers. The order does not matter.  Error if empty while _custom_root_ns_enabled_ is _true_. Error if there are duplicate items in the list.  Defaults to empty.`,
	},
	"custom_root_ns_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `Optional. _true_ to use custom root nameservers instead of the default ones.  The _custom_root_ns_ is validated when enabled.  Defaults to _false_.`,
	},
	"disabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `Optional. _true_ to disable object. A disabled object is effectively non-existent when generating configuration.`,
	},
	"dnssec_enable_validation": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: `Optional. _true_ to perform DNSSEC validation. Ignored if _dnssec_enabled_ is _false_.  Defaults to _true_.`,
	},
	"dnssec_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: `Optional. Master toggle for all DNSSEC processing. Other _dnssec_*_ configuration is unused if this is disabled.  Defaults to _true_.`,
	},
	"dnssec_root_keys": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigTrustAnchorResourceSchemaAttributes,
		},
		Computed:            true,
		MarkdownDescription: `DNSSEC root keys. The root keys are not configurable.  A default list is provided by cloud management and included here for config generation.`,
	},
	"dnssec_trust_anchors": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigTrustAnchorResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. DNSSEC trust anchors.  Error if there are list items with duplicate (_zone_, _sep_, _algorithm_) combinations.  Defaults to empty.`,
	},
	"dnssec_validate_expiry": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: `Optional. _true_ to reject expired DNSSEC keys. Ignored if either _dnssec_enabled_ or _dnssec_enable_validation_ is _false_.  Defaults to _true_.`,
	},
	"dtc_config": schema.SingleNestedAttribute{
		Attributes: ConfigDTCConfigResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
		Default: objectdefault.StaticValue(types.ObjectValueMust(ConfigDTCConfigAttrTypes, map[string]attr.Value{
			"default_ttl": types.Int64Value(300),
		}),
		),
	},
	"ecs_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `Optional. _true_ to enable EDNS client subnet for recursive queries. Other _ecs_*_ fields are ignored if this field is not enabled.  Defaults to _false-.`,
	},
	"ecs_forwarding": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `Optional. _true_ to enable ECS options in outbound queries. This functionality has additional overhead so it is disabled by default.  Defaults to _false_.`,
	},
	"ecs_prefix_v4": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(24),
		MarkdownDescription: `Optional. Maximum scope length for v4 ECS.  Unsigned integer, min 1 max 24  Defaults to 24.`,
	},
	"ecs_prefix_v6": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(56),
		MarkdownDescription: `Optional. Maximum scope length for v6 ECS.  Unsigned integer, min 1 max 56  Defaults to 56.`,
	},
	"ecs_zones": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigECSZoneResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. List of zones where ECS queries may be sent.  Error if empty while _ecs_enabled_ is _true_. Error if there are duplicate FQDNs in the list.  Defaults to empty.`,
	},
	"edns_udp_size": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(1232),
		MarkdownDescription: `Optional. _edns_udp_size_ represents the edns UDP size. The size a querying DNS server advertises to the DNS server it’s sending a query to.  Defaults to 1232 bytes.`,
	},
	"filter_aaaa_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Specifies a list of client addresses for which AAAA filtering is to be applied.  Defaults to _empty_.`,
	},
	"filter_aaaa_on_v4": schema.StringAttribute{
		Optional: true,
		Computed: true,
		Default:  stringdefault.StaticString("no"),
		MarkdownDescription: "_filter_aaaa_on_v4_ allows named to omit some IPv6 addresses when responding to IPv4 clients. Allowed values:\n" +
			"  * _yes_\n" +
			"  * _no_\n" +
			"  * _break_dnssec_\n\n" +
			"  Defaults to _no_",
	},
	"forwarders": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigForwarderResourceSchemaAttributes(false),
		},
		Optional:            true,
		MarkdownDescription: `Optional. List of forwarders.  Error if empty while _forwarders_only_ or _use_root_forwarders_for_local_resolution_with_b1td_ is _true_. Error if there are items in the list with duplicate addresses.  Defaults to empty.`,
	},
	"forwarders_only": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `Optional. _true_ to only forward.  Defaults to _false_.`,
	},
	"gss_tsig_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `_gss_tsig_enabled_ enables/disables GSS-TSIG signed dynamic updates.  Defaults to _false_.`,
	},
	"id": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.UseStateForUnknown(),
		},
	},
	"inheritance_sources": schema.SingleNestedAttribute{
		Attributes: ConfigViewInheritanceResourceSchemaAttributes,
		Optional:   true,
		Computed:   true,
		PlanModifiers: []planmodifier.Object{
			objectplanmodifier.UseStateForUnknown(),
		},
	},
	"ip_spaces": schema.ListAttribute{
		ElementType: types.StringType,
		Optional:    true,
		Validators: []validator.List{
			listvalidator.SizeAtMost(1),
		},
		MarkdownDescription: `The resource identifier.`,
	},
	"lame_ttl": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(600),
		MarkdownDescription: `Optional. Unused in the current on-prem DNS server implementation.  Unsigned integer, min 0 max 3600 (1h).  Defaults to 600.`,
	},
	"match_clients_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional: true,
		Computed: true,
		PlanModifiers: []planmodifier.List{
			UseDefaultAclForNull(),
		},
		MarkdownDescription: `Optional. Specifies which clients have access to the view.  Defaults to empty.`,
	},
	"match_destinations_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional: true,
		Computed: true,
		PlanModifiers: []planmodifier.List{
			UseDefaultAclForNull(),
		},
		MarkdownDescription: `Optional. Specifies which destination addresses have access to the view.  Defaults to empty.`,
	},
	"match_recursive_only": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `Optional. If _true_ only recursive queries from matching clients access the view.  Defaults to _false_.`,
	},
	"max_cache_ttl": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(604800),
		MarkdownDescription: `Optional. Seconds to cache positive responses.  Unsigned integer, min 1 max 604800 (7d).  Defaults to 604800 (7d).`,
	},
	"max_negative_ttl": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(10800),
		MarkdownDescription: `Optional. Seconds to cache negative responses.  Unsigned integer, min 1 max 604800 (7d).  Defaults to 10800 (3h).`,
	},
	"max_udp_size": schema.Int64Attribute{
		Optional:            true,
		Computed:            true,
		Default:             int64default.StaticInt64(1232),
		MarkdownDescription: `Optional. _max_udp_size_ represents maximum UDP payload size. The maximum number of bytes a responding DNS server will send to a UDP datagram.  Defaults to 1232 bytes.`,
	},
	"minimal_responses": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `Optional. When enabled, the DNS server will only add records to the authority and additional data sections when they are required.  Defaults to _false_.`,
	},
	"name": schema.StringAttribute{
		Required: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.RequiresReplaceIfConfigured(),
		},
		MarkdownDescription: `Name of view.`,
	},
	"notify": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `_notify_ all external secondary DNS servers.  Defaults to _false_.`,
	},
	"query_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Clients must match this ACL to make authoritative queries. Also used for recursive queries if that ACL is unset.  Defaults to empty.`,
	},
	"recursion_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Clients must match this ACL to make recursive queries. If this ACL is empty, then the _query_acl_ will be used instead.  Defaults to empty.`,
	},
	"recursion_enabled": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: `Optional. _true_ to allow recursive DNS queries.  Defaults to _true_.`,
	},
	"sort_list": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigSortListItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Specifies a sorted network list for A/AAAA records in DNS query response.  Defaults to _empty_.`,
	},
	"synthesize_address_records_from_https": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `_synthesize_address_records_from_https_ enables/disables creation of A/AAAA records from HTTPS RR Defaults to _false_.`,
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: `Tagging specifics.`,
	},
	"tags_all": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: `Tagging specifics including default tags.`,
	},
	"transfer_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Clients must match this ACL to receive zone transfers.  Defaults to empty.`,
	},
	"update_acl": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigACLItemResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: `Optional. Specifies which hosts are allowed to issue Dynamic DNS updates for authoritative zones of _primary_type_ _cloud_.  Defaults to empty.`,
	},
	"updated_at": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: `The timestamp when the object has been updated. Equals to _created_at_ if not updated after creation.`,
	},
	"use_forwarders_for_subzones": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(true),
		MarkdownDescription: `Optional. Use default forwarders to resolve queries for subzones.  Defaults to _true_.`,
	},
	"use_root_forwarders_for_local_resolution_with_b1td": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: `_use_root_forwarders_for_local_resolution_with_b1td_ allows DNS recursive queries sent to root forwarders for local resolution when deployed alongside BloxOne Thread Defense. Defaults to _false_.`,
	},
	"zone_authority": schema.SingleNestedAttribute{
		Attributes: ConfigZoneAuthorityResourceSchemaAttributes,
		Computed:   true,
		Optional:   true,
		PlanModifiers: []planmodifier.Object{
			objectplanmodifier.UseStateForUnknown(),
		},
		Default: objectdefault.StaticValue(types.ObjectValueMust(ConfigZoneAuthorityAttrTypes, map[string]attr.Value{
			"default_ttl":       types.Int64Value(28800),
			"expire":            types.Int64Value(2.4192e+06),
			"mname":             types.StringValue("ns.b1ddi"),
			"negative_ttl":      types.Int64Value(900),
			"protocol_mname":    types.StringValue("ns.b1ddi"),
			"protocol_rname":    types.StringValue("hostmaster"),
			"refresh":           types.Int64Value(10800),
			"retry":             types.Int64Value(3600),
			"rname":             types.StringValue("hostmaster"),
			"use_default_mname": types.BoolValue(true),
		}),
		),
	},
}
View Source
var ConfigWarningAttrTypes = map[string]attr.Type{
	"message": types.StringType,
	"name":    types.StringType,
}
View Source
var ConfigWarningResourceSchemaAttributes = map[string]schema.Attribute{
	"message": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: `Warning message.`,
	},
	"name": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: `Name of a warning.`,
	},
}
View Source
var ConfigZoneAuthorityAttrTypes = map[string]attr.Type{
	"default_ttl":       types.Int64Type,
	"expire":            types.Int64Type,
	"mname":             types.StringType,
	"negative_ttl":      types.Int64Type,
	"protocol_mname":    types.StringType,
	"protocol_rname":    types.StringType,
	"refresh":           types.Int64Type,
	"retry":             types.Int64Type,
	"rname":             types.StringType,
	"use_default_mname": types.BoolType,
}
View Source
var ConfigZoneAuthorityMNameBlockAttrTypes = map[string]attr.Type{
	"mname":             types.StringType,
	"protocol_mname":    types.StringType,
	"use_default_mname": types.BoolType,
}
View Source
var ConfigZoneAuthorityMNameBlockResourceSchemaAttributes = map[string]schema.Attribute{
	"mname": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: `Defaults to empty.`,
	},
	"protocol_mname": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Optional. Master name server in punycode.  Defaults to empty.`,
	},
	"use_default_mname": schema.BoolAttribute{
		Optional:            true,
		MarkdownDescription: `Optional. Use default value for master name server.  Defaults to true.`,
	},
}
View Source
var ConfigZoneAuthorityResourceSchemaAttributes = map[string]schema.Attribute{
	"default_ttl": schema.Int64Attribute{
		Optional:            true,
		MarkdownDescription: `Optional. ZoneAuthority default ttl for resource records in zone (value in seconds).  Defaults to 28800.`,
	},
	"expire": schema.Int64Attribute{
		Optional:            true,
		MarkdownDescription: `Optional. ZoneAuthority expire time in seconds.  Defaults to 2419200.`,
	},
	"mname": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: `Defaults to empty.`,
	},
	"negative_ttl": schema.Int64Attribute{
		Optional:            true,
		MarkdownDescription: `Optional. ZoneAuthority negative caching (minimum) ttl in seconds.  Defaults to 900.`,
	},
	"protocol_mname": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Optional. ZoneAuthority master name server in punycode.  Defaults to empty.`,
	},
	"protocol_rname": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `Optional. A domain name which specifies the mailbox of the person responsible for this zone.  Defaults to empty.`,
	},
	"refresh": schema.Int64Attribute{
		Optional:            true,
		MarkdownDescription: `Optional. ZoneAuthority refresh.  Defaults to 10800.`,
	},
	"retry": schema.Int64Attribute{
		Optional:            true,
		MarkdownDescription: `Optional. ZoneAuthority retry.  Defaults to 3600.`,
	},
	"rname": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: `Optional. ZoneAuthority rname.  Defaults to empty.`,
	},
	"use_default_mname": schema.BoolAttribute{
		Optional:            true,
		MarkdownDescription: `Optional. Use default value for master name server.  Defaults to true.`,
	},
}
View Source
var HostAttrTypes = map[string]attr.Type{
	"absolute_name":          types.StringType,
	"address":                types.StringType,
	"anycast_addresses":      types.ListType{ElemType: types.StringType},
	"associated_server":      types.ObjectType{AttrTypes: ConfigHostAssociatedServerAttrTypes},
	"comment":                types.StringType,
	"current_version":        types.StringType,
	"dfp":                    types.BoolType,
	"dfp_service":            types.StringType,
	"id":                     types.StringType,
	"inheritance_sources":    types.ObjectType{AttrTypes: ConfigHostInheritanceAttrTypes},
	"kerberos_keys":          types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigKerberosKeyAttrTypes}},
	"name":                   types.StringType,
	"ophid":                  types.StringType,
	"protocol_absolute_name": types.StringType,
	"provider_id":            types.StringType,
	"server":                 types.StringType,
	"site_id":                types.StringType,
	"tags":                   types.MapType{ElemType: types.StringType},
	"tags_all":               types.MapType{ElemType: types.StringType},
	"type":                   types.StringType,
}
View Source
var HostResourceSchemaAttributesWithRetryAndTimeouts = map[string]schema.Attribute{
	"absolute_name": schema.StringAttribute{
		Computed:            true,
		Optional:            true,
		MarkdownDescription: "Host FQDN.",
	},
	"address": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Host's primary IP Address.",
	},
	"anycast_addresses": schema.ListAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "Anycast address configured to the host. Order is not significant.",
	},
	"associated_server": schema.SingleNestedAttribute{
		Attributes:          ConfigHostAssociatedServerResourceSchemaAttributes,
		Computed:            true,
		MarkdownDescription: "Host associated server configuration.",
	},
	"comment": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Host description.",
	},
	"current_version": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Host current version.",
	},
	"dfp": schema.BoolAttribute{
		Computed:            true,
		MarkdownDescription: "Below _dfp_ field is deprecated and not supported anymore. The indication whether or not BloxOne DDI DNS and BloxOne TD DFP are both active on the host will be migrated into the new _dfp_service_ field.",
	},
	"dfp_service": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "DFP service indicates whether or not BloxOne DDI DNS and BloxOne TD DFP are both active on the host. If so, BloxOne DDI DNS will augment recursive queries and forward them to BloxOne TD DFP. Allowed values:  * _unavailable_: BloxOne TD DFP application is not available,  * _enabled_: BloxOne TD DFP application is available and enabled,  * _disabled_: BloxOne TD DFP application is available but disabled.",
	},
	"id": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "The resource identifier.",
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.UseStateForUnknown(),
		},
	},
	"inheritance_sources": schema.SingleNestedAttribute{
		Attributes:          ConfigHostInheritanceResourceSchemaAttributes,
		Optional:            true,
		Computed:            true,
		MarkdownDescription: "Optional. Inheritance configuration.",
		PlanModifiers: []planmodifier.Object{
			objectplanmodifier.UseStateForUnknown(),
		},
	},
	"kerberos_keys": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: ConfigKerberosKeyResourceSchemaAttributes,
		},
		Computed:            true,
		Optional:            true,
		MarkdownDescription: "Optional. _kerberos_keys_ contains a list of keys for GSS-TSIG signed dynamic updates.  Defaults to empty.",
	},
	"name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Host display name.",
	},
	"ophid": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "On-Prem Host ID.",
	},
	"protocol_absolute_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Host FQDN in punycode.",
	},
	"provider_id": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "External provider identifier.",
	},
	"server": schema.StringAttribute{
		Optional: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.RequiresReplaceIfConfigured(),
		},
		MarkdownDescription: "The resource identifier.",
	},
	"site_id": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Host site ID.",
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "Host tagging specifics.",
	},
	"tags_all": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "Host tagging specifics includes default tags.",
	},
	"type": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "Defines the type of host. Allowed values:  * _bloxone_ddi_: host type is BloxOne DDI,  * _microsoft_azure_: host type is Microsoft Azure,  * _amazon_web_service_: host type is Amazon Web Services,  * _microsoft_active_directory_: host type is Microsoft Active Directory,  * _google_cloud_platform_: host type is Google Cloud Platform.",
	},
	"retry_if_not_found": schema.BoolAttribute{
		Optional:            true,
		MarkdownDescription: "If set to `true`, the resource will retry until a matching host is found, or until the Create Timeout expires.",
	},
}
View Source
var Inheritance2AssignedHostAttrTypes = map[string]attr.Type{
	"display_name": types.StringType,
	"host":         types.StringType,
	"ophid":        types.StringType,
}
View Source
var Inheritance2AssignedHostResourceSchemaAttributes = map[string]schema.Attribute{
	"display_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The human-readable display name for the host referred to by _ophid_.`,
	},
	"host": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"ophid": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The on-prem host ID.`,
	},
}
View Source
var Inheritance2InheritedBoolAttrTypes = map[string]attr.Type{
	"action":       types.StringType,
	"display_name": types.StringType,
	"source":       types.StringType,
	"value":        types.BoolType,
}
View Source
var Inheritance2InheritedBoolResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional: true,
		Computed: true,
		MarkdownDescription: "The inheritance setting for a field. Valid values are:\n" +
			"  * _inherit_: Use the inherited value.\n" +
			"  * _override_: Use the value set in the object.\n\n" +
			"  Defaults to _inherit_.",
	},
	"display_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The human-readable display name for the object referred to by _source_.`,
	},
	"source": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"value": schema.BoolAttribute{
		Computed:            true,
		MarkdownDescription: `The inherited value.`,
	},
}
View Source
var Inheritance2InheritedStringAttrTypes = map[string]attr.Type{
	"action":       types.StringType,
	"display_name": types.StringType,
	"source":       types.StringType,
	"value":        types.StringType,
}
View Source
var Inheritance2InheritedStringResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional: true,
		Computed: true,
		MarkdownDescription: "The inheritance setting for a field. Valid values are:\n\n" +
			"  * _inherit_: Use the inherited value.\n" +
			"  * _override_: Use the value set in the object.\n\n" +
			"  Defaults to _inherit_.",
	},
	"display_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The human-readable display name for the object referred to by _source_.`,
	},
	"source": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"value": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The inherited value.`,
	},
}
View Source
var Inheritance2InheritedUInt32AttrTypes = map[string]attr.Type{
	"action":       types.StringType,
	"display_name": types.StringType,
	"source":       types.StringType,
	"value":        types.Int64Type,
}
View Source
var Inheritance2InheritedUInt32ResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional: true,
		Computed: true,
		MarkdownDescription: "The inheritance setting for a field. Valid values are:\n\n" +
			"  * _inherit_: Use the inherited value.\n" +
			"  * _override_: Use the value set in the object.\n\n" +
			"  Defaults to _inherit_.",
	},
	"display_name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The human-readable display name for the object referred to by _source_.`,
	},
	"source": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: `The resource identifier.`,
	},
	"value": schema.Int64Attribute{
		Computed:            true,
		MarkdownDescription: `The inherited value.`,
	},
}

Functions

func ConfigForwarderResourceSchemaAttributes

func ConfigForwarderResourceSchemaAttributes(fqdnOptional bool) map[string]schema.Attribute

func DataSourceFlattenConfigACL added in v1.3.0

func DataSourceFlattenConfigACL(ctx context.Context, from *dnsconfig.ACL, diags *diag.Diagnostics) types.Object

func DataSourceFlattenConfigAuthNSG added in v1.3.0

func DataSourceFlattenConfigAuthNSG(ctx context.Context, from *dnsconfig.AuthNSG, diags *diag.Diagnostics) types.Object

func DataSourceFlattenConfigAuthZone added in v1.3.0

func DataSourceFlattenConfigAuthZone(ctx context.Context, from *dnsconfig.AuthZone, diags *diag.Diagnostics) types.Object

func DataSourceFlattenConfigDelegation added in v1.3.0

func DataSourceFlattenConfigDelegation(ctx context.Context, from *dnsconfig.Delegation, diags *diag.Diagnostics) types.Object

func DataSourceFlattenConfigForwardNSG added in v1.3.0

func DataSourceFlattenConfigForwardNSG(ctx context.Context, from *dnsconfig.ForwardNSG, diags *diag.Diagnostics) types.Object

func DataSourceFlattenConfigForwardZone added in v1.3.0

func DataSourceFlattenConfigForwardZone(ctx context.Context, from *dnsconfig.ForwardZone, diags *diag.Diagnostics) types.Object

func DataSourceFlattenConfigServer added in v1.3.0

func DataSourceFlattenConfigServer(ctx context.Context, from *dnsconfig.Server, diags *diag.Diagnostics) types.Object

func DataSourceFlattenConfigView added in v1.3.0

func DataSourceFlattenConfigView(ctx context.Context, from *dnsconfig.View, diags *diag.Diagnostics) types.Object

func ExpandConfigACL

func ExpandConfigACL(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ACL

func ExpandConfigACLItem

func ExpandConfigACLItem(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ACLItem

func ExpandConfigAuthNSG

func ExpandConfigAuthNSG(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.AuthNSG

func ExpandConfigAuthZoneConfig

func ExpandConfigAuthZoneConfig(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.AuthZoneConfig

func ExpandConfigAuthZoneInheritance

func ExpandConfigAuthZoneInheritance(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.AuthZoneInheritance

func ExpandConfigCustomRootNSBlock

func ExpandConfigCustomRootNSBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.CustomRootNSBlock

func ExpandConfigDNSSECValidationBlock

func ExpandConfigDNSSECValidationBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.DNSSECValidationBlock

func ExpandConfigDTCConfig

func ExpandConfigDTCConfig(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.DTCConfig

func ExpandConfigDelegation

func ExpandConfigDelegation(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Delegation

func ExpandConfigDelegationServer

func ExpandConfigDelegationServer(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.DelegationServer

func ExpandConfigECSBlock

func ExpandConfigECSBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ECSBlock

func ExpandConfigECSZone

func ExpandConfigECSZone(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ECSZone

func ExpandConfigExternalPrimary

func ExpandConfigExternalPrimary(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ExternalPrimary

func ExpandConfigExternalSecondary

func ExpandConfigExternalSecondary(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ExternalSecondary

func ExpandConfigForwardNSG

func ExpandConfigForwardNSG(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ForwardNSG

func ExpandConfigForwarder

func ExpandConfigForwarder(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Forwarder

func ExpandConfigForwardersBlock

func ExpandConfigForwardersBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ForwardersBlock

func ExpandConfigHostAssociatedServer

func ExpandConfigHostAssociatedServer(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.HostAssociatedServer

func ExpandConfigHostInheritance

func ExpandConfigHostInheritance(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.HostInheritance

func ExpandConfigInheritedACLItems

func ExpandConfigInheritedACLItems(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedACLItems

func ExpandConfigInheritedCustomRootNSBlock

func ExpandConfigInheritedCustomRootNSBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedCustomRootNSBlock

func ExpandConfigInheritedDtcConfig

func ExpandConfigInheritedDtcConfig(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedDtcConfig

func ExpandConfigInheritedECSBlock

func ExpandConfigInheritedECSBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedECSBlock

func ExpandConfigInheritedForwardersBlock

func ExpandConfigInheritedForwardersBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedForwardersBlock

func ExpandConfigInheritedKerberosKeys

func ExpandConfigInheritedKerberosKeys(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedKerberosKeys

func ExpandConfigInheritedSortListItems

func ExpandConfigInheritedSortListItems(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedSortListItems

func ExpandConfigInheritedZoneAuthority

func ExpandConfigInheritedZoneAuthority(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedZoneAuthority

func ExpandConfigInternalSecondary

func ExpandConfigInternalSecondary(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InternalSecondary

func ExpandConfigKerberosKey

func ExpandConfigKerberosKey(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.KerberosKey

func ExpandConfigRootNS

func ExpandConfigRootNS(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.RootNS

func ExpandConfigServer

func ExpandConfigServer(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Server

func ExpandConfigServerInheritance

func ExpandConfigServerInheritance(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ServerInheritance

func ExpandConfigSortListItem

func ExpandConfigSortListItem(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.SortListItem

func ExpandConfigTSIGKey

func ExpandConfigTSIGKey(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.TSIGKey

func ExpandConfigTrustAnchor

func ExpandConfigTrustAnchor(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.TrustAnchor

func ExpandConfigView

func ExpandConfigView(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.View

func ExpandConfigViewInheritance

func ExpandConfigViewInheritance(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ViewInheritance

func ExpandConfigWarning

func ExpandConfigWarning(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Warning

func ExpandConfigZoneAuthority

func ExpandConfigZoneAuthority(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ZoneAuthority

func ExpandConfigZoneAuthorityMNameBlock

func ExpandConfigZoneAuthorityMNameBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ZoneAuthorityMNameBlock

func FlattenAuthZoneExternalProvider

func FlattenAuthZoneExternalProvider(ctx context.Context, from *dnsconfig.AuthZoneExternalProvider, diags *diag.Diagnostics) types.Object

func FlattenConfigACLItem

func FlattenConfigACLItem(ctx context.Context, from *dnsconfig.ACLItem, diags *diag.Diagnostics) types.Object

func FlattenConfigAuthZoneConfig

func FlattenConfigAuthZoneConfig(ctx context.Context, from *dnsconfig.AuthZoneConfig, diags *diag.Diagnostics) types.Object

func FlattenConfigAuthZoneInheritance

func FlattenConfigAuthZoneInheritance(ctx context.Context, from *dnsconfig.AuthZoneInheritance, diags *diag.Diagnostics) types.Object

func FlattenConfigCustomRootNSBlock

func FlattenConfigCustomRootNSBlock(ctx context.Context, from *dnsconfig.CustomRootNSBlock, diags *diag.Diagnostics) types.Object

func FlattenConfigDNSSECValidationBlock

func FlattenConfigDNSSECValidationBlock(ctx context.Context, from *dnsconfig.DNSSECValidationBlock, diags *diag.Diagnostics) types.Object

func FlattenConfigDTCConfig

func FlattenConfigDTCConfig(ctx context.Context, from *dnsconfig.DTCConfig, diags *diag.Diagnostics) types.Object

func FlattenConfigDelegationServer

func FlattenConfigDelegationServer(ctx context.Context, from *dnsconfig.DelegationServer, diags *diag.Diagnostics) types.Object

func FlattenConfigDisplayView

func FlattenConfigDisplayView(ctx context.Context, from *dnsconfig.DisplayView, diags *diag.Diagnostics) types.Object

func FlattenConfigECSBlock

func FlattenConfigECSBlock(ctx context.Context, from *dnsconfig.ECSBlock, diags *diag.Diagnostics) types.Object

func FlattenConfigECSZone

func FlattenConfigECSZone(ctx context.Context, from *dnsconfig.ECSZone, diags *diag.Diagnostics) types.Object

func FlattenConfigExternalPrimary

func FlattenConfigExternalPrimary(ctx context.Context, from *dnsconfig.ExternalPrimary, diags *diag.Diagnostics) types.Object

func FlattenConfigExternalSecondary

func FlattenConfigExternalSecondary(ctx context.Context, from *dnsconfig.ExternalSecondary, diags *diag.Diagnostics) types.Object

func FlattenConfigForwarder

func FlattenConfigForwarder(ctx context.Context, from *dnsconfig.Forwarder, diags *diag.Diagnostics) types.Object

func FlattenConfigForwardersBlock

func FlattenConfigForwardersBlock(ctx context.Context, from *dnsconfig.ForwardersBlock, diags *diag.Diagnostics) types.Object

func FlattenConfigHost

func FlattenConfigHost(ctx context.Context, from *dnsconfig.Host, diags *diag.Diagnostics) types.Object

func FlattenConfigHostAssociatedServer

func FlattenConfigHostAssociatedServer(ctx context.Context, from *dnsconfig.HostAssociatedServer, diags *diag.Diagnostics) types.Object

func FlattenConfigHostInheritance

func FlattenConfigHostInheritance(ctx context.Context, from *dnsconfig.HostInheritance, diags *diag.Diagnostics) types.Object

func FlattenConfigInheritedACLItems

func FlattenConfigInheritedACLItems(ctx context.Context, from *dnsconfig.InheritedACLItems, diags *diag.Diagnostics) types.Object

func FlattenConfigInheritedCustomRootNSBlock

func FlattenConfigInheritedCustomRootNSBlock(ctx context.Context, from *dnsconfig.InheritedCustomRootNSBlock, diags *diag.Diagnostics) types.Object

func FlattenConfigInheritedDNSSECValidationBlock

func FlattenConfigInheritedDNSSECValidationBlock(ctx context.Context, from *dnsconfig.InheritedDNSSECValidationBlock, diags *diag.Diagnostics) types.Object

func FlattenConfigInheritedDtcConfig

func FlattenConfigInheritedDtcConfig(ctx context.Context, from *dnsconfig.InheritedDtcConfig, diags *diag.Diagnostics) types.Object

func FlattenConfigInheritedECSBlock

func FlattenConfigInheritedECSBlock(ctx context.Context, from *dnsconfig.InheritedECSBlock, diags *diag.Diagnostics) types.Object

func FlattenConfigInheritedForwardersBlock

func FlattenConfigInheritedForwardersBlock(ctx context.Context, from *dnsconfig.InheritedForwardersBlock, diags *diag.Diagnostics) types.Object

func FlattenConfigInheritedKerberosKeys

func FlattenConfigInheritedKerberosKeys(ctx context.Context, from *dnsconfig.InheritedKerberosKeys, diags *diag.Diagnostics) types.Object

func FlattenConfigInheritedSortListItems

func FlattenConfigInheritedSortListItems(ctx context.Context, from *dnsconfig.InheritedSortListItems, diags *diag.Diagnostics) types.Object

func FlattenConfigInheritedZoneAuthority

func FlattenConfigInheritedZoneAuthority(ctx context.Context, from *dnsconfig.InheritedZoneAuthority, diags *diag.Diagnostics) types.Object

func FlattenConfigInheritedZoneAuthorityMNameBlock

func FlattenConfigInheritedZoneAuthorityMNameBlock(ctx context.Context, from *dnsconfig.InheritedZoneAuthorityMNameBlock, diags *diag.Diagnostics) types.Object

func FlattenConfigInternalSecondary

func FlattenConfigInternalSecondary(ctx context.Context, from *dnsconfig.InternalSecondary, diags *diag.Diagnostics) types.Object

func FlattenConfigKerberosKey

func FlattenConfigKerberosKey(ctx context.Context, from *dnsconfig.KerberosKey, diags *diag.Diagnostics) types.Object

func FlattenConfigRootNS

func FlattenConfigRootNS(ctx context.Context, from *dnsconfig.RootNS, diags *diag.Diagnostics) types.Object

func FlattenConfigServerInheritance

func FlattenConfigServerInheritance(ctx context.Context, from *dnsconfig.ServerInheritance, diags *diag.Diagnostics) types.Object

func FlattenConfigSortListItem

func FlattenConfigSortListItem(ctx context.Context, from *dnsconfig.SortListItem, diags *diag.Diagnostics) types.Object

func FlattenConfigTSIGKey

func FlattenConfigTSIGKey(ctx context.Context, from *dnsconfig.TSIGKey, diags *diag.Diagnostics) types.Object

func FlattenConfigTrustAnchor

func FlattenConfigTrustAnchor(ctx context.Context, from *dnsconfig.TrustAnchor, diags *diag.Diagnostics) types.Object

func FlattenConfigViewInheritance

func FlattenConfigViewInheritance(ctx context.Context, from *dnsconfig.ViewInheritance, diags *diag.Diagnostics) types.Object

func FlattenConfigWarning

func FlattenConfigWarning(ctx context.Context, from *dnsconfig.Warning, diags *diag.Diagnostics) types.Object

func FlattenConfigZoneAuthority

func FlattenConfigZoneAuthority(ctx context.Context, from *dnsconfig.ZoneAuthority, diags *diag.Diagnostics) types.Object

func FlattenConfigZoneAuthorityMNameBlock

func FlattenConfigZoneAuthorityMNameBlock(ctx context.Context, from *dnsconfig.ZoneAuthorityMNameBlock, diags *diag.Diagnostics) types.Object

func FlattenInheritance2AssignedHost

func FlattenInheritance2AssignedHost(ctx context.Context, from *dnsconfig.Inheritance2AssignedHost, diags *diag.Diagnostics) types.Object

func FlattenInheritance2InheritedBool

func FlattenInheritance2InheritedBool(ctx context.Context, from *dnsconfig.Inheritance2InheritedBool, diags *diag.Diagnostics) types.Object

func FlattenInheritance2InheritedString

func FlattenInheritance2InheritedString(ctx context.Context, from *dnsconfig.Inheritance2InheritedString, diags *diag.Diagnostics) types.Object

func FlattenInheritance2InheritedUInt32

func FlattenInheritance2InheritedUInt32(ctx context.Context, from *dnsconfig.Inheritance2InheritedUInt32, diags *diag.Diagnostics) types.Object

func HostDataSourceSchemaAttributes added in v1.3.1

func HostDataSourceSchemaAttributes(diag *diag.Diagnostics) map[string]schema.Attribute

func NewAclDataSource added in v1.0.0

func NewAclDataSource() datasource.DataSource

func NewAclResource added in v1.0.0

func NewAclResource() resource.Resource

func NewAuthNsgDataSource

func NewAuthNsgDataSource() datasource.DataSource

func NewAuthNsgResource

func NewAuthNsgResource() resource.Resource

func NewAuthZoneDataSource

func NewAuthZoneDataSource() datasource.DataSource

func NewAuthZoneResource

func NewAuthZoneResource() resource.Resource

func NewDelegationDataSource

func NewDelegationDataSource() datasource.DataSource

func NewDelegationResource

func NewDelegationResource() resource.Resource

func NewForwardNsgDataSource

func NewForwardNsgDataSource() datasource.DataSource

func NewForwardNsgResource

func NewForwardNsgResource() resource.Resource

func NewForwardZoneDataSource

func NewForwardZoneDataSource() datasource.DataSource

func NewForwardZoneResource

func NewForwardZoneResource() resource.Resource

func NewHostDataSource

func NewHostDataSource() datasource.DataSource

func NewHostResource added in v1.3.1

func NewHostResource() resource.Resource

func NewServerDataSource

func NewServerDataSource() datasource.DataSource

func NewServerResource

func NewServerResource() resource.Resource

func NewViewDataSource

func NewViewDataSource() datasource.DataSource

func NewViewResource

func NewViewResource() resource.Resource

func UseDefaultAclForNull added in v1.0.0

func UseDefaultAclForNull() planmodifier.List

Types

type AclDataSource added in v1.0.0

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

AclDataSource defines the data source implementation.

func (*AclDataSource) Configure added in v1.0.0

func (*AclDataSource) Metadata added in v1.0.0

func (*AclDataSource) Read added in v1.0.0

func (*AclDataSource) Schema added in v1.0.0

type AclResource added in v1.0.0

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

AclResource defines the resource implementation.

func (*AclResource) Configure added in v1.0.0

func (*AclResource) Create added in v1.0.0

func (*AclResource) Delete added in v1.0.0

func (*AclResource) ImportState added in v1.0.0

func (*AclResource) Metadata added in v1.0.0

func (*AclResource) Read added in v1.0.0

func (*AclResource) Schema added in v1.0.0

func (*AclResource) Update added in v1.0.0

type AuthNsgDataSource

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

AuthNsgDataSource defines the data source implementation.

func (*AuthNsgDataSource) Configure

func (*AuthNsgDataSource) Metadata

func (*AuthNsgDataSource) Read

func (*AuthNsgDataSource) Schema

type AuthNsgResource

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

AuthNsgResource defines the resource implementation.

func (*AuthNsgResource) Configure

func (*AuthNsgResource) Create

func (*AuthNsgResource) Delete

func (*AuthNsgResource) ImportState

func (*AuthNsgResource) Metadata

func (*AuthNsgResource) Read

func (*AuthNsgResource) Schema

func (*AuthNsgResource) Update

type AuthZoneDataSource

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

AuthZoneDataSource defines the data source implementation.

func (*AuthZoneDataSource) Configure

func (*AuthZoneDataSource) Metadata

func (*AuthZoneDataSource) Read

func (*AuthZoneDataSource) Schema

type AuthZoneExternalProviderModel

type AuthZoneExternalProviderModel struct {
	Id   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
	Type types.String `tfsdk:"type"`
}

func (*AuthZoneExternalProviderModel) Expand

func (*AuthZoneExternalProviderModel) Flatten

type AuthZoneResource

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

AuthZoneResource defines the resource implementation.

func (*AuthZoneResource) Configure

func (*AuthZoneResource) Create

func (*AuthZoneResource) Delete

func (*AuthZoneResource) ImportState

func (*AuthZoneResource) Metadata

func (*AuthZoneResource) Read

func (*AuthZoneResource) Schema

func (*AuthZoneResource) Update

type ConfigACLItemModel

type ConfigACLItemModel struct {
	Access  types.String `tfsdk:"access"`
	Acl     types.String `tfsdk:"acl"`
	Address types.String `tfsdk:"address"`
	Element types.String `tfsdk:"element"`
	TsigKey types.Object `tfsdk:"tsig_key"`
}

func (*ConfigACLItemModel) Expand

func (*ConfigACLItemModel) Flatten

func (m *ConfigACLItemModel) Flatten(ctx context.Context, from *dnsconfig.ACLItem, diags *diag.Diagnostics)

type ConfigACLModel

type ConfigACLModel struct {
	Comment types.String `tfsdk:"comment"`
	Id      types.String `tfsdk:"id"`
	List    types.List   `tfsdk:"list"`
	Name    types.String `tfsdk:"name"`
	Tags    types.Map    `tfsdk:"tags"`
	TagsAll types.Map    `tfsdk:"tags_all"`
}

func (*ConfigACLModel) Expand

func (m *ConfigACLModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.ACL

func (*ConfigACLModel) Flatten

func (m *ConfigACLModel) Flatten(ctx context.Context, from *dnsconfig.ACL, diags *diag.Diagnostics)

type ConfigACLModelWithFilter added in v1.0.0

type ConfigACLModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*ConfigACLModelWithFilter) FlattenResults added in v1.0.0

func (m *ConfigACLModelWithFilter) FlattenResults(ctx context.Context, from []dnsconfig.ACL, diags *diag.Diagnostics)

type ConfigAuthNSGModel

type ConfigAuthNSGModel struct {
	Comment             types.String `tfsdk:"comment"`
	ExternalPrimaries   types.List   `tfsdk:"external_primaries"`
	ExternalSecondaries types.List   `tfsdk:"external_secondaries"`
	Id                  types.String `tfsdk:"id"`
	InternalSecondaries types.List   `tfsdk:"internal_secondaries"`
	Name                types.String `tfsdk:"name"`
	Nsgs                types.List   `tfsdk:"nsgs"`
	Tags                types.Map    `tfsdk:"tags"`
	TagsAll             types.Map    `tfsdk:"tags_all"`
}

func (*ConfigAuthNSGModel) Expand

func (*ConfigAuthNSGModel) Flatten

func (m *ConfigAuthNSGModel) Flatten(ctx context.Context, from *dnsconfig.AuthNSG, diags *diag.Diagnostics)

type ConfigAuthNSGModelWithFilter

type ConfigAuthNSGModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*ConfigAuthNSGModelWithFilter) FlattenResults

func (m *ConfigAuthNSGModelWithFilter) FlattenResults(ctx context.Context, from []dnsconfig.AuthNSG, diags *diag.Diagnostics)

type ConfigAuthZoneConfigModel

type ConfigAuthZoneConfigModel struct {
	ExternalPrimaries   types.List `tfsdk:"external_primaries"`
	ExternalSecondaries types.List `tfsdk:"external_secondaries"`
	InternalSecondaries types.List `tfsdk:"internal_secondaries"`
	Nsgs                types.List `tfsdk:"nsgs"`
}

func (*ConfigAuthZoneConfigModel) Expand

func (*ConfigAuthZoneConfigModel) Flatten

type ConfigAuthZoneInheritanceModel

type ConfigAuthZoneInheritanceModel struct {
	GssTsigEnabled           types.Object `tfsdk:"gss_tsig_enabled"`
	Notify                   types.Object `tfsdk:"notify"`
	QueryAcl                 types.Object `tfsdk:"query_acl"`
	TransferAcl              types.Object `tfsdk:"transfer_acl"`
	UpdateAcl                types.Object `tfsdk:"update_acl"`
	UseForwardersForSubzones types.Object `tfsdk:"use_forwarders_for_subzones"`
	ZoneAuthority            types.Object `tfsdk:"zone_authority"`
}

func (*ConfigAuthZoneInheritanceModel) Expand

func (*ConfigAuthZoneInheritanceModel) Flatten

type ConfigAuthZoneModel

type ConfigAuthZoneModel struct {
	Comment                  types.String      `tfsdk:"comment"`
	CreatedAt                timetypes.RFC3339 `tfsdk:"created_at"`
	Disabled                 types.Bool        `tfsdk:"disabled"`
	ExternalPrimaries        types.List        `tfsdk:"external_primaries"`
	ExternalProviders        types.List        `tfsdk:"external_providers"`
	ExternalSecondaries      types.List        `tfsdk:"external_secondaries"`
	Fqdn                     types.String      `tfsdk:"fqdn"`
	GssTsigEnabled           types.Bool        `tfsdk:"gss_tsig_enabled"`
	Id                       types.String      `tfsdk:"id"`
	InheritanceAssignedHosts types.List        `tfsdk:"inheritance_assigned_hosts"`
	InheritanceSources       types.Object      `tfsdk:"inheritance_sources"`
	InitialSoaSerial         types.Int64       `tfsdk:"initial_soa_serial"`
	InternalSecondaries      types.List        `tfsdk:"internal_secondaries"`
	MappedSubnet             types.String      `tfsdk:"mapped_subnet"`
	Mapping                  types.String      `tfsdk:"mapping"`
	Notify                   types.Bool        `tfsdk:"notify"`
	Nsgs                     types.List        `tfsdk:"nsgs"`
	Parent                   types.String      `tfsdk:"parent"`
	PrimaryType              types.String      `tfsdk:"primary_type"`
	ProtocolFqdn             types.String      `tfsdk:"protocol_fqdn"`
	QueryAcl                 types.List        `tfsdk:"query_acl"`
	Tags                     types.Map         `tfsdk:"tags"`
	TagsAll                  types.Map         `tfsdk:"tags_all"`
	TransferAcl              types.List        `tfsdk:"transfer_acl"`
	UpdateAcl                types.List        `tfsdk:"update_acl"`
	UpdatedAt                timetypes.RFC3339 `tfsdk:"updated_at"`
	UseForwardersForSubzones types.Bool        `tfsdk:"use_forwarders_for_subzones"`
	View                     types.String      `tfsdk:"view"`
	Warnings                 types.List        `tfsdk:"warnings"`
	ZoneAuthority            types.Object      `tfsdk:"zone_authority"`
}

func (*ConfigAuthZoneModel) Expand

func (m *ConfigAuthZoneModel) Expand(ctx context.Context, diags *diag.Diagnostics, isCreate bool) *dnsconfig.AuthZone

func (*ConfigAuthZoneModel) Flatten

func (m *ConfigAuthZoneModel) Flatten(ctx context.Context, from *dnsconfig.AuthZone, diags *diag.Diagnostics)

type ConfigAuthZoneModelWithFilter

type ConfigAuthZoneModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*ConfigAuthZoneModelWithFilter) FlattenResults

func (m *ConfigAuthZoneModelWithFilter) FlattenResults(ctx context.Context, from []dnsconfig.AuthZone, diags *diag.Diagnostics)

type ConfigCustomRootNSBlockModel

type ConfigCustomRootNSBlockModel struct {
	CustomRootNs        types.List `tfsdk:"custom_root_ns"`
	CustomRootNsEnabled types.Bool `tfsdk:"custom_root_ns_enabled"`
}

func (*ConfigCustomRootNSBlockModel) Expand

func (*ConfigCustomRootNSBlockModel) Flatten

type ConfigDNSSECValidationBlockModel

type ConfigDNSSECValidationBlockModel struct {
	DnssecEnableValidation types.Bool `tfsdk:"dnssec_enable_validation"`
	DnssecEnabled          types.Bool `tfsdk:"dnssec_enabled"`
	DnssecTrustAnchors     types.List `tfsdk:"dnssec_trust_anchors"`
	DnssecValidateExpiry   types.Bool `tfsdk:"dnssec_validate_expiry"`
}

func (*ConfigDNSSECValidationBlockModel) Expand

func (*ConfigDNSSECValidationBlockModel) Flatten

type ConfigDTCConfigModel

type ConfigDTCConfigModel struct {
	DefaultTtl types.Int64 `tfsdk:"default_ttl"`
}

func (*ConfigDTCConfigModel) Expand

func (*ConfigDTCConfigModel) Flatten

func (m *ConfigDTCConfigModel) Flatten(ctx context.Context, from *dnsconfig.DTCConfig, diags *diag.Diagnostics)

type ConfigDelegationModel

type ConfigDelegationModel struct {
	Comment           types.String `tfsdk:"comment"`
	DelegationServers types.List   `tfsdk:"delegation_servers"`
	Disabled          types.Bool   `tfsdk:"disabled"`
	Fqdn              types.String `tfsdk:"fqdn"`
	Id                types.String `tfsdk:"id"`
	Parent            types.String `tfsdk:"parent"`
	ProtocolFqdn      types.String `tfsdk:"protocol_fqdn"`
	Tags              types.Map    `tfsdk:"tags"`
	TagsAll           types.Map    `tfsdk:"tags_all"`
	View              types.String `tfsdk:"view"`
}

func (*ConfigDelegationModel) Expand

func (m *ConfigDelegationModel) Expand(ctx context.Context, diags *diag.Diagnostics, isCreate bool) *dnsconfig.Delegation

func (*ConfigDelegationModel) Flatten

func (m *ConfigDelegationModel) Flatten(ctx context.Context, from *dnsconfig.Delegation, diags *diag.Diagnostics)

type ConfigDelegationModelWithFilter

type ConfigDelegationModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*ConfigDelegationModelWithFilter) FlattenResults

func (m *ConfigDelegationModelWithFilter) FlattenResults(ctx context.Context, from []dnsconfig.Delegation, diags *diag.Diagnostics)

type ConfigDelegationServerModel

type ConfigDelegationServerModel struct {
	Address      types.String `tfsdk:"address"`
	Fqdn         types.String `tfsdk:"fqdn"`
	ProtocolFqdn types.String `tfsdk:"protocol_fqdn"`
}

func (*ConfigDelegationServerModel) Expand

func (*ConfigDelegationServerModel) Flatten

type ConfigDisplayViewModel

type ConfigDisplayViewModel struct {
	Comment types.String `tfsdk:"comment"`
	Name    types.String `tfsdk:"name"`
	View    types.String `tfsdk:"view"`
}

func (*ConfigDisplayViewModel) Expand

func (*ConfigDisplayViewModel) Flatten

type ConfigECSBlockModel

type ConfigECSBlockModel struct {
	EcsEnabled    types.Bool  `tfsdk:"ecs_enabled"`
	EcsForwarding types.Bool  `tfsdk:"ecs_forwarding"`
	EcsPrefixV4   types.Int64 `tfsdk:"ecs_prefix_v4"`
	EcsPrefixV6   types.Int64 `tfsdk:"ecs_prefix_v6"`
	EcsZones      types.List  `tfsdk:"ecs_zones"`
}

func (*ConfigECSBlockModel) Expand

func (*ConfigECSBlockModel) Flatten

func (m *ConfigECSBlockModel) Flatten(ctx context.Context, from *dnsconfig.ECSBlock, diags *diag.Diagnostics)

type ConfigECSZoneModel

type ConfigECSZoneModel struct {
	Access       types.String `tfsdk:"access"`
	Fqdn         types.String `tfsdk:"fqdn"`
	ProtocolFqdn types.String `tfsdk:"protocol_fqdn"`
}

func (*ConfigECSZoneModel) Expand

func (*ConfigECSZoneModel) Flatten

func (m *ConfigECSZoneModel) Flatten(ctx context.Context, from *dnsconfig.ECSZone, diags *diag.Diagnostics)

type ConfigExternalPrimaryModel

type ConfigExternalPrimaryModel struct {
	Address      types.String `tfsdk:"address"`
	Fqdn         types.String `tfsdk:"fqdn"`
	Nsg          types.String `tfsdk:"nsg"`
	ProtocolFqdn types.String `tfsdk:"protocol_fqdn"`
	TsigEnabled  types.Bool   `tfsdk:"tsig_enabled"`
	TsigKey      types.Object `tfsdk:"tsig_key"`
	Type         types.String `tfsdk:"type"`
}

func (*ConfigExternalPrimaryModel) Expand

func (*ConfigExternalPrimaryModel) Flatten

type ConfigExternalSecondaryModel

type ConfigExternalSecondaryModel struct {
	Address      types.String `tfsdk:"address"`
	Fqdn         types.String `tfsdk:"fqdn"`
	ProtocolFqdn types.String `tfsdk:"protocol_fqdn"`
	Stealth      types.Bool   `tfsdk:"stealth"`
	TsigEnabled  types.Bool   `tfsdk:"tsig_enabled"`
	TsigKey      types.Object `tfsdk:"tsig_key"`
}

func (*ConfigExternalSecondaryModel) Expand

func (*ConfigExternalSecondaryModel) Flatten

type ConfigForwardNSGModel

type ConfigForwardNSGModel struct {
	Comment            types.String `tfsdk:"comment"`
	ExternalForwarders types.List   `tfsdk:"external_forwarders"`
	ForwardersOnly     types.Bool   `tfsdk:"forwarders_only"`
	Hosts              types.List   `tfsdk:"hosts"`
	Id                 types.String `tfsdk:"id"`
	InternalForwarders types.List   `tfsdk:"internal_forwarders"`
	Name               types.String `tfsdk:"name"`
	Nsgs               types.List   `tfsdk:"nsgs"`
	Tags               types.Map    `tfsdk:"tags"`
	TagsAll            types.Map    `tfsdk:"tags_all"`
}

func (*ConfigForwardNSGModel) Expand

func (*ConfigForwardNSGModel) Flatten

func (m *ConfigForwardNSGModel) Flatten(ctx context.Context, from *dnsconfig.ForwardNSG, diags *diag.Diagnostics)

type ConfigForwardNSGModelWithFilter

type ConfigForwardNSGModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*ConfigForwardNSGModelWithFilter) FlattenResults

func (m *ConfigForwardNSGModelWithFilter) FlattenResults(ctx context.Context, from []dnsconfig.ForwardNSG, diags *diag.Diagnostics)

type ConfigForwardZoneModel

type ConfigForwardZoneModel struct {
	Comment            types.String      `tfsdk:"comment"`
	CreatedAt          timetypes.RFC3339 `tfsdk:"created_at"`
	Disabled           types.Bool        `tfsdk:"disabled"`
	ExternalForwarders types.List        `tfsdk:"external_forwarders"`
	ForwardOnly        types.Bool        `tfsdk:"forward_only"`
	Fqdn               types.String      `tfsdk:"fqdn"`
	Hosts              types.List        `tfsdk:"hosts"`
	Id                 types.String      `tfsdk:"id"`
	InternalForwarders types.List        `tfsdk:"internal_forwarders"`
	MappedSubnet       types.String      `tfsdk:"mapped_subnet"`
	Mapping            types.String      `tfsdk:"mapping"`
	Nsgs               types.List        `tfsdk:"nsgs"`
	Parent             types.String      `tfsdk:"parent"`
	ProtocolFqdn       types.String      `tfsdk:"protocol_fqdn"`
	Tags               types.Map         `tfsdk:"tags"`
	TagsAll            types.Map         `tfsdk:"tags_all"`
	UpdatedAt          timetypes.RFC3339 `tfsdk:"updated_at"`
	View               types.String      `tfsdk:"view"`
	Warnings           types.List        `tfsdk:"warnings"`
}

func (*ConfigForwardZoneModel) Expand

func (m *ConfigForwardZoneModel) Expand(ctx context.Context, diags *diag.Diagnostics, isCreate bool) *dnsconfig.ForwardZone

func (*ConfigForwardZoneModel) Flatten

type ConfigForwardZoneModelWithFilter

type ConfigForwardZoneModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*ConfigForwardZoneModelWithFilter) FlattenResults

func (m *ConfigForwardZoneModelWithFilter) FlattenResults(ctx context.Context, from []dnsconfig.ForwardZone, diags *diag.Diagnostics)

type ConfigForwarderModel

type ConfigForwarderModel struct {
	Address      types.String `tfsdk:"address"`
	Fqdn         types.String `tfsdk:"fqdn"`
	ProtocolFqdn types.String `tfsdk:"protocol_fqdn"`
}

func (*ConfigForwarderModel) Expand

func (*ConfigForwarderModel) Flatten

func (m *ConfigForwarderModel) Flatten(ctx context.Context, from *dnsconfig.Forwarder, diags *diag.Diagnostics)

type ConfigForwardersBlockModel

type ConfigForwardersBlockModel struct {
	Forwarders                                  types.List `tfsdk:"forwarders"`
	ForwardersOnly                              types.Bool `tfsdk:"forwarders_only"`
	UseRootForwardersForLocalResolutionWithB1td types.Bool `tfsdk:"use_root_forwarders_for_local_resolution_with_b1td"`
}

func (*ConfigForwardersBlockModel) Expand

func (*ConfigForwardersBlockModel) Flatten

type ConfigHostAssociatedServerModel

type ConfigHostAssociatedServerModel struct {
	Id   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
}

func (*ConfigHostAssociatedServerModel) Expand

func (*ConfigHostAssociatedServerModel) Flatten

type ConfigHostInheritanceModel

type ConfigHostInheritanceModel struct {
	KerberosKeys types.Object `tfsdk:"kerberos_keys"`
}

func (*ConfigHostInheritanceModel) Expand

func (*ConfigHostInheritanceModel) Flatten

type ConfigInheritedACLItemsModel

type ConfigInheritedACLItemsModel struct {
	Action      types.String `tfsdk:"action"`
	DisplayName types.String `tfsdk:"display_name"`
	Source      types.String `tfsdk:"source"`
	Value       types.List   `tfsdk:"value"`
}

func (*ConfigInheritedACLItemsModel) Expand

func (*ConfigInheritedACLItemsModel) Flatten

type ConfigInheritedCustomRootNSBlockModel

type ConfigInheritedCustomRootNSBlockModel struct {
	Action      types.String `tfsdk:"action"`
	DisplayName types.String `tfsdk:"display_name"`
	Source      types.String `tfsdk:"source"`
	Value       types.Object `tfsdk:"value"`
}

func (*ConfigInheritedCustomRootNSBlockModel) Expand

func (*ConfigInheritedCustomRootNSBlockModel) Flatten

type ConfigInheritedDNSSECValidationBlockModel

type ConfigInheritedDNSSECValidationBlockModel struct {
	Action      types.String `tfsdk:"action"`
	DisplayName types.String `tfsdk:"display_name"`
	Source      types.String `tfsdk:"source"`
	Value       types.Object `tfsdk:"value"`
}

func (*ConfigInheritedDNSSECValidationBlockModel) Expand

func (*ConfigInheritedDNSSECValidationBlockModel) Flatten

type ConfigInheritedDtcConfigModel

type ConfigInheritedDtcConfigModel struct {
	DefaultTtl types.Object `tfsdk:"default_ttl"`
}

func (*ConfigInheritedDtcConfigModel) Expand

func (*ConfigInheritedDtcConfigModel) Flatten

type ConfigInheritedECSBlockModel

type ConfigInheritedECSBlockModel struct {
	Action      types.String `tfsdk:"action"`
	DisplayName types.String `tfsdk:"display_name"`
	Source      types.String `tfsdk:"source"`
	Value       types.Object `tfsdk:"value"`
}

func (*ConfigInheritedECSBlockModel) Expand

func (*ConfigInheritedECSBlockModel) Flatten

type ConfigInheritedForwardersBlockModel

type ConfigInheritedForwardersBlockModel struct {
	Action      types.String `tfsdk:"action"`
	DisplayName types.String `tfsdk:"display_name"`
	Source      types.String `tfsdk:"source"`
	Value       types.Object `tfsdk:"value"`
}

func (*ConfigInheritedForwardersBlockModel) Expand

func (*ConfigInheritedForwardersBlockModel) Flatten

type ConfigInheritedKerberosKeysModel

type ConfigInheritedKerberosKeysModel struct {
	Action      types.String `tfsdk:"action"`
	DisplayName types.String `tfsdk:"display_name"`
	Source      types.String `tfsdk:"source"`
	Value       types.List   `tfsdk:"value"`
}

func (*ConfigInheritedKerberosKeysModel) Expand

func (*ConfigInheritedKerberosKeysModel) Flatten

type ConfigInheritedSortListItemsModel

type ConfigInheritedSortListItemsModel struct {
	Action      types.String `tfsdk:"action"`
	DisplayName types.String `tfsdk:"display_name"`
	Source      types.String `tfsdk:"source"`
	Value       types.List   `tfsdk:"value"`
}

func (*ConfigInheritedSortListItemsModel) Expand

func (*ConfigInheritedSortListItemsModel) Flatten

type ConfigInheritedZoneAuthorityMNameBlockModel

type ConfigInheritedZoneAuthorityMNameBlockModel struct {
	Action      types.String `tfsdk:"action"`
	DisplayName types.String `tfsdk:"display_name"`
	Source      types.String `tfsdk:"source"`
	Value       types.Object `tfsdk:"value"`
}

func (*ConfigInheritedZoneAuthorityMNameBlockModel) Expand

func (*ConfigInheritedZoneAuthorityMNameBlockModel) Flatten

type ConfigInheritedZoneAuthorityModel

type ConfigInheritedZoneAuthorityModel struct {
	DefaultTtl    types.Object `tfsdk:"default_ttl"`
	Expire        types.Object `tfsdk:"expire"`
	MnameBlock    types.Object `tfsdk:"mname_block"`
	NegativeTtl   types.Object `tfsdk:"negative_ttl"`
	ProtocolRname types.Object `tfsdk:"protocol_rname"`
	Refresh       types.Object `tfsdk:"refresh"`
	Retry         types.Object `tfsdk:"retry"`
	Rname         types.Object `tfsdk:"rname"`
}

func (*ConfigInheritedZoneAuthorityModel) Expand

func (*ConfigInheritedZoneAuthorityModel) Flatten

type ConfigInternalSecondaryModel

type ConfigInternalSecondaryModel struct {
	Host types.String `tfsdk:"host"`
}

func (*ConfigInternalSecondaryModel) Expand

func (*ConfigInternalSecondaryModel) Flatten

type ConfigKerberosKeyModel

type ConfigKerberosKeyModel struct {
	Algorithm  types.String `tfsdk:"algorithm"`
	Domain     types.String `tfsdk:"domain"`
	Key        types.String `tfsdk:"key"`
	Principal  types.String `tfsdk:"principal"`
	UploadedAt types.String `tfsdk:"uploaded_at"`
	Version    types.Int64  `tfsdk:"version"`
}

func (*ConfigKerberosKeyModel) Expand

func (*ConfigKerberosKeyModel) Flatten

type ConfigRootNSModel

type ConfigRootNSModel struct {
	Address      types.String `tfsdk:"address"`
	Fqdn         types.String `tfsdk:"fqdn"`
	ProtocolFqdn types.String `tfsdk:"protocol_fqdn"`
}

func (*ConfigRootNSModel) Expand

func (*ConfigRootNSModel) Flatten

func (m *ConfigRootNSModel) Flatten(ctx context.Context, from *dnsconfig.RootNS, diags *diag.Diagnostics)

type ConfigServerInheritanceModel

type ConfigServerInheritanceModel struct {
	AddEdnsOptionInOutgoingQuery      types.Object `tfsdk:"add_edns_option_in_outgoing_query"`
	CustomRootNsBlock                 types.Object `tfsdk:"custom_root_ns_block"`
	DnssecValidationBlock             types.Object `tfsdk:"dnssec_validation_block"`
	EcsBlock                          types.Object `tfsdk:"ecs_block"`
	FilterAaaaAcl                     types.Object `tfsdk:"filter_aaaa_acl"`
	FilterAaaaOnV4                    types.Object `tfsdk:"filter_aaaa_on_v4"`
	ForwardersBlock                   types.Object `tfsdk:"forwarders_block"`
	GssTsigEnabled                    types.Object `tfsdk:"gss_tsig_enabled"`
	KerberosKeys                      types.Object `tfsdk:"kerberos_keys"`
	LameTtl                           types.Object `tfsdk:"lame_ttl"`
	LogQueryResponse                  types.Object `tfsdk:"log_query_response"`
	MatchRecursiveOnly                types.Object `tfsdk:"match_recursive_only"`
	MaxCacheTtl                       types.Object `tfsdk:"max_cache_ttl"`
	MaxNegativeTtl                    types.Object `tfsdk:"max_negative_ttl"`
	MinimalResponses                  types.Object `tfsdk:"minimal_responses"`
	Notify                            types.Object `tfsdk:"notify"`
	QueryAcl                          types.Object `tfsdk:"query_acl"`
	QueryPort                         types.Object `tfsdk:"query_port"`
	RecursionAcl                      types.Object `tfsdk:"recursion_acl"`
	RecursionEnabled                  types.Object `tfsdk:"recursion_enabled"`
	RecursiveClients                  types.Object `tfsdk:"recursive_clients"`
	ResolverQueryTimeout              types.Object `tfsdk:"resolver_query_timeout"`
	SecondaryAxfrQueryLimit           types.Object `tfsdk:"secondary_axfr_query_limit"`
	SecondarySoaQueryLimit            types.Object `tfsdk:"secondary_soa_query_limit"`
	SortList                          types.Object `tfsdk:"sort_list"`
	SynthesizeAddressRecordsFromHttps types.Object `tfsdk:"synthesize_address_records_from_https"`
	TransferAcl                       types.Object `tfsdk:"transfer_acl"`
	UpdateAcl                         types.Object `tfsdk:"update_acl"`
	UseForwardersForSubzones          types.Object `tfsdk:"use_forwarders_for_subzones"`
}

func (*ConfigServerInheritanceModel) Expand

func (*ConfigServerInheritanceModel) Flatten

type ConfigServerModel

type ConfigServerModel struct {
	AddEdnsOptionInOutgoingQuery                types.Bool        `tfsdk:"add_edns_option_in_outgoing_query"`
	AutoSortViews                               types.Bool        `tfsdk:"auto_sort_views"`
	Comment                                     types.String      `tfsdk:"comment"`
	CreatedAt                                   timetypes.RFC3339 `tfsdk:"created_at"`
	CustomRootNs                                types.List        `tfsdk:"custom_root_ns"`
	CustomRootNsEnabled                         types.Bool        `tfsdk:"custom_root_ns_enabled"`
	DnssecEnableValidation                      types.Bool        `tfsdk:"dnssec_enable_validation"`
	DnssecEnabled                               types.Bool        `tfsdk:"dnssec_enabled"`
	DnssecRootKeys                              types.List        `tfsdk:"dnssec_root_keys"`
	DnssecTrustAnchors                          types.List        `tfsdk:"dnssec_trust_anchors"`
	DnssecValidateExpiry                        types.Bool        `tfsdk:"dnssec_validate_expiry"`
	EcsEnabled                                  types.Bool        `tfsdk:"ecs_enabled"`
	EcsForwarding                               types.Bool        `tfsdk:"ecs_forwarding"`
	EcsPrefixV4                                 types.Int64       `tfsdk:"ecs_prefix_v4"`
	EcsPrefixV6                                 types.Int64       `tfsdk:"ecs_prefix_v6"`
	EcsZones                                    types.List        `tfsdk:"ecs_zones"`
	FilterAaaaAcl                               types.List        `tfsdk:"filter_aaaa_acl"`
	FilterAaaaOnV4                              types.String      `tfsdk:"filter_aaaa_on_v4"`
	Forwarders                                  types.List        `tfsdk:"forwarders"`
	ForwardersOnly                              types.Bool        `tfsdk:"forwarders_only"`
	GssTsigEnabled                              types.Bool        `tfsdk:"gss_tsig_enabled"`
	Id                                          types.String      `tfsdk:"id"`
	InheritanceSources                          types.Object      `tfsdk:"inheritance_sources"`
	KerberosKeys                                types.List        `tfsdk:"kerberos_keys"`
	LameTtl                                     types.Int64       `tfsdk:"lame_ttl"`
	LogQueryResponse                            types.Bool        `tfsdk:"log_query_response"`
	MatchRecursiveOnly                          types.Bool        `tfsdk:"match_recursive_only"`
	MaxCacheTtl                                 types.Int64       `tfsdk:"max_cache_ttl"`
	MaxNegativeTtl                              types.Int64       `tfsdk:"max_negative_ttl"`
	MinimalResponses                            types.Bool        `tfsdk:"minimal_responses"`
	Name                                        types.String      `tfsdk:"name"`
	Notify                                      types.Bool        `tfsdk:"notify"`
	QueryAcl                                    types.List        `tfsdk:"query_acl"`
	QueryPort                                   types.Int64       `tfsdk:"query_port"`
	RecursionAcl                                types.List        `tfsdk:"recursion_acl"`
	RecursionEnabled                            types.Bool        `tfsdk:"recursion_enabled"`
	RecursiveClients                            types.Int64       `tfsdk:"recursive_clients"`
	ResolverQueryTimeout                        types.Int64       `tfsdk:"resolver_query_timeout"`
	SecondaryAxfrQueryLimit                     types.Int64       `tfsdk:"secondary_axfr_query_limit"`
	SecondarySoaQueryLimit                      types.Int64       `tfsdk:"secondary_soa_query_limit"`
	SortList                                    types.List        `tfsdk:"sort_list"`
	SynthesizeAddressRecordsFromHttps           types.Bool        `tfsdk:"synthesize_address_records_from_https"`
	Tags                                        types.Map         `tfsdk:"tags"`
	TagsAll                                     types.Map         `tfsdk:"tags_all"`
	TransferAcl                                 types.List        `tfsdk:"transfer_acl"`
	UpdateAcl                                   types.List        `tfsdk:"update_acl"`
	UpdatedAt                                   timetypes.RFC3339 `tfsdk:"updated_at"`
	UseForwardersForSubzones                    types.Bool        `tfsdk:"use_forwarders_for_subzones"`
	UseRootForwardersForLocalResolutionWithB1td types.Bool        `tfsdk:"use_root_forwarders_for_local_resolution_with_b1td"`
	Views                                       types.List        `tfsdk:"views"`
}

func (*ConfigServerModel) Expand

func (*ConfigServerModel) Flatten

func (m *ConfigServerModel) Flatten(ctx context.Context, from *dnsconfig.Server, diags *diag.Diagnostics)

type ConfigServerModelWithFilter

type ConfigServerModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*ConfigServerModelWithFilter) FlattenResults

func (m *ConfigServerModelWithFilter) FlattenResults(ctx context.Context, from []dnsconfig.Server, diags *diag.Diagnostics)

type ConfigSortListItemModel

type ConfigSortListItemModel struct {
	Acl                 types.String `tfsdk:"acl"`
	Element             types.String `tfsdk:"element"`
	PrioritizedNetworks types.List   `tfsdk:"prioritized_networks"`
	Source              types.String `tfsdk:"source"`
}

func (*ConfigSortListItemModel) Expand

func (*ConfigSortListItemModel) Flatten

type ConfigTSIGKeyModel

type ConfigTSIGKeyModel struct {
	Algorithm    types.String `tfsdk:"algorithm"`
	Comment      types.String `tfsdk:"comment"`
	Key          types.String `tfsdk:"key"`
	Name         types.String `tfsdk:"name"`
	ProtocolName types.String `tfsdk:"protocol_name"`
	Secret       types.String `tfsdk:"secret"`
}

func (*ConfigTSIGKeyModel) Expand

func (*ConfigTSIGKeyModel) Flatten

func (m *ConfigTSIGKeyModel) Flatten(ctx context.Context, from *dnsconfig.TSIGKey, diags *diag.Diagnostics)

type ConfigTrustAnchorModel

type ConfigTrustAnchorModel struct {
	Algorithm    types.Int64  `tfsdk:"algorithm"`
	ProtocolZone types.String `tfsdk:"protocol_zone"`
	PublicKey    types.String `tfsdk:"public_key"`
	Sep          types.Bool   `tfsdk:"sep"`
	Zone         types.String `tfsdk:"zone"`
}

func (*ConfigTrustAnchorModel) Expand

func (*ConfigTrustAnchorModel) Flatten

type ConfigViewInheritanceModel

type ConfigViewInheritanceModel struct {
	AddEdnsOptionInOutgoingQuery      types.Object `tfsdk:"add_edns_option_in_outgoing_query"`
	CustomRootNsBlock                 types.Object `tfsdk:"custom_root_ns_block"`
	DnssecValidationBlock             types.Object `tfsdk:"dnssec_validation_block"`
	DtcConfig                         types.Object `tfsdk:"dtc_config"`
	EcsBlock                          types.Object `tfsdk:"ecs_block"`
	EdnsUdpSize                       types.Object `tfsdk:"edns_udp_size"`
	FilterAaaaAcl                     types.Object `tfsdk:"filter_aaaa_acl"`
	FilterAaaaOnV4                    types.Object `tfsdk:"filter_aaaa_on_v4"`
	ForwardersBlock                   types.Object `tfsdk:"forwarders_block"`
	GssTsigEnabled                    types.Object `tfsdk:"gss_tsig_enabled"`
	LameTtl                           types.Object `tfsdk:"lame_ttl"`
	MatchRecursiveOnly                types.Object `tfsdk:"match_recursive_only"`
	MaxCacheTtl                       types.Object `tfsdk:"max_cache_ttl"`
	MaxNegativeTtl                    types.Object `tfsdk:"max_negative_ttl"`
	MaxUdpSize                        types.Object `tfsdk:"max_udp_size"`
	MinimalResponses                  types.Object `tfsdk:"minimal_responses"`
	Notify                            types.Object `tfsdk:"notify"`
	QueryAcl                          types.Object `tfsdk:"query_acl"`
	RecursionAcl                      types.Object `tfsdk:"recursion_acl"`
	RecursionEnabled                  types.Object `tfsdk:"recursion_enabled"`
	SortList                          types.Object `tfsdk:"sort_list"`
	SynthesizeAddressRecordsFromHttps types.Object `tfsdk:"synthesize_address_records_from_https"`
	TransferAcl                       types.Object `tfsdk:"transfer_acl"`
	UpdateAcl                         types.Object `tfsdk:"update_acl"`
	UseForwardersForSubzones          types.Object `tfsdk:"use_forwarders_for_subzones"`
	ZoneAuthority                     types.Object `tfsdk:"zone_authority"`
}

func (*ConfigViewInheritanceModel) Expand

func (*ConfigViewInheritanceModel) Flatten

type ConfigViewModel

type ConfigViewModel struct {
	AddEdnsOptionInOutgoingQuery                types.Bool        `tfsdk:"add_edns_option_in_outgoing_query"`
	Comment                                     types.String      `tfsdk:"comment"`
	CreatedAt                                   timetypes.RFC3339 `tfsdk:"created_at"`
	CustomRootNs                                types.List        `tfsdk:"custom_root_ns"`
	CustomRootNsEnabled                         types.Bool        `tfsdk:"custom_root_ns_enabled"`
	Disabled                                    types.Bool        `tfsdk:"disabled"`
	DnssecEnableValidation                      types.Bool        `tfsdk:"dnssec_enable_validation"`
	DnssecEnabled                               types.Bool        `tfsdk:"dnssec_enabled"`
	DnssecRootKeys                              types.List        `tfsdk:"dnssec_root_keys"`
	DnssecTrustAnchors                          types.List        `tfsdk:"dnssec_trust_anchors"`
	DnssecValidateExpiry                        types.Bool        `tfsdk:"dnssec_validate_expiry"`
	DtcConfig                                   types.Object      `tfsdk:"dtc_config"`
	EcsEnabled                                  types.Bool        `tfsdk:"ecs_enabled"`
	EcsForwarding                               types.Bool        `tfsdk:"ecs_forwarding"`
	EcsPrefixV4                                 types.Int64       `tfsdk:"ecs_prefix_v4"`
	EcsPrefixV6                                 types.Int64       `tfsdk:"ecs_prefix_v6"`
	EcsZones                                    types.List        `tfsdk:"ecs_zones"`
	EdnsUdpSize                                 types.Int64       `tfsdk:"edns_udp_size"`
	FilterAaaaAcl                               types.List        `tfsdk:"filter_aaaa_acl"`
	FilterAaaaOnV4                              types.String      `tfsdk:"filter_aaaa_on_v4"`
	Forwarders                                  types.List        `tfsdk:"forwarders"`
	ForwardersOnly                              types.Bool        `tfsdk:"forwarders_only"`
	GssTsigEnabled                              types.Bool        `tfsdk:"gss_tsig_enabled"`
	Id                                          types.String      `tfsdk:"id"`
	InheritanceSources                          types.Object      `tfsdk:"inheritance_sources"`
	IpSpaces                                    types.List        `tfsdk:"ip_spaces"`
	LameTtl                                     types.Int64       `tfsdk:"lame_ttl"`
	MatchClientsAcl                             types.List        `tfsdk:"match_clients_acl"`
	MatchDestinationsAcl                        types.List        `tfsdk:"match_destinations_acl"`
	MatchRecursiveOnly                          types.Bool        `tfsdk:"match_recursive_only"`
	MaxCacheTtl                                 types.Int64       `tfsdk:"max_cache_ttl"`
	MaxNegativeTtl                              types.Int64       `tfsdk:"max_negative_ttl"`
	MaxUdpSize                                  types.Int64       `tfsdk:"max_udp_size"`
	MinimalResponses                            types.Bool        `tfsdk:"minimal_responses"`
	Name                                        types.String      `tfsdk:"name"`
	Notify                                      types.Bool        `tfsdk:"notify"`
	QueryAcl                                    types.List        `tfsdk:"query_acl"`
	RecursionAcl                                types.List        `tfsdk:"recursion_acl"`
	RecursionEnabled                            types.Bool        `tfsdk:"recursion_enabled"`
	SortList                                    types.List        `tfsdk:"sort_list"`
	SynthesizeAddressRecordsFromHttps           types.Bool        `tfsdk:"synthesize_address_records_from_https"`
	Tags                                        types.Map         `tfsdk:"tags"`
	TagsAll                                     types.Map         `tfsdk:"tags_all"`
	TransferAcl                                 types.List        `tfsdk:"transfer_acl"`
	UpdateAcl                                   types.List        `tfsdk:"update_acl"`
	UpdatedAt                                   timetypes.RFC3339 `tfsdk:"updated_at"`
	UseForwardersForSubzones                    types.Bool        `tfsdk:"use_forwarders_for_subzones"`
	UseRootForwardersForLocalResolutionWithB1td types.Bool        `tfsdk:"use_root_forwarders_for_local_resolution_with_b1td"`
	ZoneAuthority                               types.Object      `tfsdk:"zone_authority"`
}

func (*ConfigViewModel) Expand

func (m *ConfigViewModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.View

func (*ConfigViewModel) Flatten

func (m *ConfigViewModel) Flatten(ctx context.Context, from *dnsconfig.View, diags *diag.Diagnostics)

type ConfigViewModelWithFilter

type ConfigViewModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*ConfigViewModelWithFilter) FlattenResults

func (m *ConfigViewModelWithFilter) FlattenResults(ctx context.Context, from []dnsconfig.View, diags *diag.Diagnostics)

type ConfigWarningModel

type ConfigWarningModel struct {
	Message types.String `tfsdk:"message"`
	Name    types.String `tfsdk:"name"`
}

func (*ConfigWarningModel) Expand

func (*ConfigWarningModel) Flatten

func (m *ConfigWarningModel) Flatten(ctx context.Context, from *dnsconfig.Warning, diags *diag.Diagnostics)

type ConfigZoneAuthorityMNameBlockModel

type ConfigZoneAuthorityMNameBlockModel struct {
	Mname           types.String `tfsdk:"mname"`
	ProtocolMname   types.String `tfsdk:"protocol_mname"`
	UseDefaultMname types.Bool   `tfsdk:"use_default_mname"`
}

func (*ConfigZoneAuthorityMNameBlockModel) Expand

func (*ConfigZoneAuthorityMNameBlockModel) Flatten

type ConfigZoneAuthorityModel

type ConfigZoneAuthorityModel struct {
	DefaultTtl      types.Int64  `tfsdk:"default_ttl"`
	Expire          types.Int64  `tfsdk:"expire"`
	Mname           types.String `tfsdk:"mname"`
	NegativeTtl     types.Int64  `tfsdk:"negative_ttl"`
	ProtocolMname   types.String `tfsdk:"protocol_mname"`
	ProtocolRname   types.String `tfsdk:"protocol_rname"`
	Refresh         types.Int64  `tfsdk:"refresh"`
	Retry           types.Int64  `tfsdk:"retry"`
	Rname           types.String `tfsdk:"rname"`
	UseDefaultMname types.Bool   `tfsdk:"use_default_mname"`
}

func (*ConfigZoneAuthorityModel) Expand

func (*ConfigZoneAuthorityModel) Flatten

type DelegationDataSource

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

DelegationDataSource defines the data source implementation.

func (*DelegationDataSource) Configure

func (*DelegationDataSource) Metadata

func (*DelegationDataSource) Read

func (*DelegationDataSource) Schema

type DelegationResource

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

DelegationResource defines the resource implementation.

func (*DelegationResource) Configure

func (*DelegationResource) Create

func (*DelegationResource) Delete

func (*DelegationResource) ImportState

func (*DelegationResource) Metadata

func (*DelegationResource) Read

func (*DelegationResource) Schema

func (*DelegationResource) Update

type ForwardNsgDataSource

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

ForwardNsgDataSource defines the data source implementation.

func (*ForwardNsgDataSource) Configure

func (*ForwardNsgDataSource) Metadata

func (*ForwardNsgDataSource) Read

func (*ForwardNsgDataSource) Schema

type ForwardNsgResource

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

ForwardNsgResource defines the resource implementation.

func (*ForwardNsgResource) Configure

func (*ForwardNsgResource) Create

func (*ForwardNsgResource) Delete

func (*ForwardNsgResource) ImportState

func (*ForwardNsgResource) Metadata

func (*ForwardNsgResource) Read

func (*ForwardNsgResource) Schema

func (*ForwardNsgResource) Update

type ForwardZoneDataSource

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

ForwardZoneDataSource defines the data source implementation.

func (*ForwardZoneDataSource) Configure

func (*ForwardZoneDataSource) Metadata

func (*ForwardZoneDataSource) Read

func (*ForwardZoneDataSource) Schema

type ForwardZoneResource

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

ForwardZoneResource defines the resource implementation.

func (*ForwardZoneResource) Configure

func (*ForwardZoneResource) Create

func (*ForwardZoneResource) Delete

func (*ForwardZoneResource) ImportState

func (*ForwardZoneResource) Metadata

func (*ForwardZoneResource) Read

func (*ForwardZoneResource) Schema

func (*ForwardZoneResource) Update

type HostDataSource

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

HostDataSource defines the data source implementation.

func (*HostDataSource) Configure

func (*HostDataSource) Metadata

func (*HostDataSource) Read

func (*HostDataSource) Schema

type HostModel added in v1.3.1

type HostModel struct {
	AbsoluteName         types.String `tfsdk:"absolute_name"`
	Address              types.String `tfsdk:"address"`
	AnycastAddresses     types.List   `tfsdk:"anycast_addresses"`
	AssociatedServer     types.Object `tfsdk:"associated_server"`
	Comment              types.String `tfsdk:"comment"`
	CurrentVersion       types.String `tfsdk:"current_version"`
	Dfp                  types.Bool   `tfsdk:"dfp"`
	DfpService           types.String `tfsdk:"dfp_service"`
	Id                   types.String `tfsdk:"id"`
	InheritanceSources   types.Object `tfsdk:"inheritance_sources"`
	KerberosKeys         types.List   `tfsdk:"kerberos_keys"`
	Name                 types.String `tfsdk:"name"`
	Ophid                types.String `tfsdk:"ophid"`
	ProtocolAbsoluteName types.String `tfsdk:"protocol_absolute_name"`
	ProviderId           types.String `tfsdk:"provider_id"`
	Server               types.String `tfsdk:"server"`
	SiteId               types.String `tfsdk:"site_id"`
	Tags                 types.Map    `tfsdk:"tags"`
	TagsAll              types.Map    `tfsdk:"tags_all"`
	Type                 types.String `tfsdk:"type"`
}

func (*HostModel) Expand added in v1.3.1

func (m *HostModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.Host

func (*HostModel) Flatten added in v1.3.1

func (m *HostModel) Flatten(ctx context.Context, from *dnsconfig.Host, diags *diag.Diagnostics)

type HostModelWithFilter added in v1.3.1

type HostModelWithFilter struct {
	Filters         types.Map      `tfsdk:"filters"`
	TagFilters      types.Map      `tfsdk:"tag_filters"`
	Results         types.List     `tfsdk:"results"`
	RetryIfNotFound types.Bool     `tfsdk:"retry_if_not_found"`
	Timeouts        timeouts.Value `tfsdk:"timeouts"`
}

func (*HostModelWithFilter) FlattenResults added in v1.3.1

func (m *HostModelWithFilter) FlattenResults(ctx context.Context, from []dnsconfig.Host, diags *diag.Diagnostics)

type HostModelWithRetryAndTimeouts added in v1.3.1

type HostModelWithRetryAndTimeouts struct {
	AbsoluteName         types.String   `tfsdk:"absolute_name"`
	Address              types.String   `tfsdk:"address"`
	AnycastAddresses     types.List     `tfsdk:"anycast_addresses"`
	AssociatedServer     types.Object   `tfsdk:"associated_server"`
	Comment              types.String   `tfsdk:"comment"`
	CurrentVersion       types.String   `tfsdk:"current_version"`
	Dfp                  types.Bool     `tfsdk:"dfp"`
	DfpService           types.String   `tfsdk:"dfp_service"`
	Id                   types.String   `tfsdk:"id"`
	InheritanceSources   types.Object   `tfsdk:"inheritance_sources"`
	KerberosKeys         types.List     `tfsdk:"kerberos_keys"`
	Name                 types.String   `tfsdk:"name"`
	Ophid                types.String   `tfsdk:"ophid"`
	ProtocolAbsoluteName types.String   `tfsdk:"protocol_absolute_name"`
	ProviderId           types.String   `tfsdk:"provider_id"`
	Server               types.String   `tfsdk:"server"`
	SiteId               types.String   `tfsdk:"site_id"`
	Tags                 types.Map      `tfsdk:"tags"`
	TagsAll              types.Map      `tfsdk:"tags_all"`
	Type                 types.String   `tfsdk:"type"`
	RetryIfNotFound      types.Bool     `tfsdk:"retry_if_not_found"`
	Timeouts             timeouts.Value `tfsdk:"timeouts"`
}

func (*HostModelWithRetryAndTimeouts) Expand added in v1.3.1

func (*HostModelWithRetryAndTimeouts) Flatten added in v1.3.1

type HostResource added in v1.3.1

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

HostResource defines the resource implementation.

func (*HostResource) Configure added in v1.3.1

func (*HostResource) Create added in v1.3.1

func (*HostResource) Delete added in v1.3.1

func (*HostResource) ImportState added in v1.3.1

func (*HostResource) Metadata added in v1.3.1

func (*HostResource) Read added in v1.3.1

func (*HostResource) Schema added in v1.3.1

func (*HostResource) Update added in v1.3.1

type Inheritance2AssignedHostModel

type Inheritance2AssignedHostModel struct {
	DisplayName types.String `tfsdk:"display_name"`
	Host        types.String `tfsdk:"host"`
	Ophid       types.String `tfsdk:"ophid"`
}

func (*Inheritance2AssignedHostModel) Expand

func (*Inheritance2AssignedHostModel) Flatten

type Inheritance2InheritedBoolModel

type Inheritance2InheritedBoolModel struct {
	Action      types.String `tfsdk:"action"`
	DisplayName types.String `tfsdk:"display_name"`
	Source      types.String `tfsdk:"source"`
	Value       types.Bool   `tfsdk:"value"`
}

func (*Inheritance2InheritedBoolModel) Expand

func (*Inheritance2InheritedBoolModel) Flatten

type Inheritance2InheritedStringModel

type Inheritance2InheritedStringModel struct {
	Action      types.String `tfsdk:"action"`
	DisplayName types.String `tfsdk:"display_name"`
	Source      types.String `tfsdk:"source"`
	Value       types.String `tfsdk:"value"`
}

func (*Inheritance2InheritedStringModel) Expand

func (*Inheritance2InheritedStringModel) Flatten

type Inheritance2InheritedUInt32Model

type Inheritance2InheritedUInt32Model struct {
	Action      types.String `tfsdk:"action"`
	DisplayName types.String `tfsdk:"display_name"`
	Source      types.String `tfsdk:"source"`
	Value       types.Int64  `tfsdk:"value"`
}

func (*Inheritance2InheritedUInt32Model) Expand

func (*Inheritance2InheritedUInt32Model) Flatten

type ServerDataSource

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

ServerDataSource defines the data source implementation.

func (*ServerDataSource) Configure

func (*ServerDataSource) Metadata

func (*ServerDataSource) Read

func (*ServerDataSource) Schema

type ServerResource

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

ServerResource defines the resource implementation.

func (*ServerResource) Configure

func (*ServerResource) Create

func (*ServerResource) Delete

func (*ServerResource) ImportState

func (*ServerResource) Metadata

func (*ServerResource) Read

func (*ServerResource) Schema

func (*ServerResource) Update

type ViewDataSource

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

ViewDataSource defines the data source implementation.

func (*ViewDataSource) Configure

func (*ViewDataSource) Metadata

func (*ViewDataSource) Read

func (*ViewDataSource) Schema

type ViewResource

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

ViewResource defines the resource implementation.

func (*ViewResource) Configure

func (*ViewResource) Create

func (*ViewResource) Delete

func (*ViewResource) ImportState

func (*ViewResource) Metadata

func (*ViewResource) Read

func (*ViewResource) Schema

func (*ViewResource) Update

Source Files

Jump to

Keyboard shortcuts

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