Documentation ¶
Index ¶
- Constants
- Variables
- func ConfigForwarderResourceSchemaAttributes(fqdnOptional bool) map[string]schema.Attribute
- func DataSourceFlattenConfigACL(ctx context.Context, from *dnsconfig.ACL, diags *diag.Diagnostics) types.Object
- func DataSourceFlattenConfigAuthNSG(ctx context.Context, from *dnsconfig.AuthNSG, diags *diag.Diagnostics) types.Object
- func DataSourceFlattenConfigAuthZone(ctx context.Context, from *dnsconfig.AuthZone, diags *diag.Diagnostics) types.Object
- func DataSourceFlattenConfigDelegation(ctx context.Context, from *dnsconfig.Delegation, diags *diag.Diagnostics) types.Object
- func DataSourceFlattenConfigForwardNSG(ctx context.Context, from *dnsconfig.ForwardNSG, diags *diag.Diagnostics) types.Object
- func DataSourceFlattenConfigForwardZone(ctx context.Context, from *dnsconfig.ForwardZone, diags *diag.Diagnostics) types.Object
- func DataSourceFlattenConfigServer(ctx context.Context, from *dnsconfig.Server, diags *diag.Diagnostics) types.Object
- func DataSourceFlattenConfigView(ctx context.Context, from *dnsconfig.View, diags *diag.Diagnostics) types.Object
- func ExpandAuthZoneExternalProvider(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.AuthZoneExternalProvider
- func ExpandConfigACL(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ACL
- func ExpandConfigACLItem(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ACLItem
- func ExpandConfigAuthNSG(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.AuthNSG
- func ExpandConfigAuthZoneConfig(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.AuthZoneConfig
- func ExpandConfigAuthZoneInheritance(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.AuthZoneInheritance
- func ExpandConfigCustomRootNSBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.CustomRootNSBlock
- func ExpandConfigDNSSECValidationBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.DNSSECValidationBlock
- func ExpandConfigDTCConfig(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.DTCConfig
- func ExpandConfigDelegation(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Delegation
- func ExpandConfigDelegationServer(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.DelegationServer
- func ExpandConfigECSBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ECSBlock
- func ExpandConfigECSZone(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ECSZone
- func ExpandConfigExternalPrimary(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ExternalPrimary
- func ExpandConfigExternalSecondary(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ExternalSecondary
- func ExpandConfigForwardNSG(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ForwardNSG
- func ExpandConfigForwarder(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Forwarder
- func ExpandConfigForwardersBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ForwardersBlock
- func ExpandConfigHostAssociatedServer(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.HostAssociatedServer
- func ExpandConfigHostInheritance(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.HostInheritance
- func ExpandConfigInheritedACLItems(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedACLItems
- func ExpandConfigInheritedCustomRootNSBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedCustomRootNSBlock
- func ExpandConfigInheritedDNSSECValidationBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedDNSSECValidationBlock
- func ExpandConfigInheritedDtcConfig(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedDtcConfig
- func ExpandConfigInheritedECSBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedECSBlock
- func ExpandConfigInheritedForwardersBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedForwardersBlock
- func ExpandConfigInheritedKerberosKeys(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedKerberosKeys
- func ExpandConfigInheritedSortListItems(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedSortListItems
- func ExpandConfigInheritedZoneAuthority(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedZoneAuthority
- func ExpandConfigInheritedZoneAuthorityMNameBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedZoneAuthorityMNameBlock
- func ExpandConfigInternalSecondary(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InternalSecondary
- func ExpandConfigKerberosKey(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.KerberosKey
- func ExpandConfigRootNS(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.RootNS
- func ExpandConfigServer(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Server
- func ExpandConfigServerInheritance(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ServerInheritance
- func ExpandConfigSortListItem(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.SortListItem
- func ExpandConfigTSIGKey(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.TSIGKey
- func ExpandConfigTrustAnchor(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.TrustAnchor
- func ExpandConfigView(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.View
- func ExpandConfigViewInheritance(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ViewInheritance
- func ExpandConfigWarning(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Warning
- func ExpandConfigZoneAuthority(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ZoneAuthority
- func ExpandConfigZoneAuthorityMNameBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ZoneAuthorityMNameBlock
- func ExpandInheritance2AssignedHost(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Inheritance2AssignedHost
- func ExpandInheritance2InheritedBool(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Inheritance2InheritedBool
- func ExpandInheritance2InheritedString(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Inheritance2InheritedString
- func ExpandInheritance2InheritedUInt32(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Inheritance2InheritedUInt32
- func FlattenAuthZoneExternalProvider(ctx context.Context, from *dnsconfig.AuthZoneExternalProvider, ...) types.Object
- func FlattenConfigACLItem(ctx context.Context, from *dnsconfig.ACLItem, diags *diag.Diagnostics) types.Object
- func FlattenConfigAuthZoneConfig(ctx context.Context, from *dnsconfig.AuthZoneConfig, diags *diag.Diagnostics) types.Object
- func FlattenConfigAuthZoneInheritance(ctx context.Context, from *dnsconfig.AuthZoneInheritance, ...) types.Object
- func FlattenConfigCustomRootNSBlock(ctx context.Context, from *dnsconfig.CustomRootNSBlock, ...) types.Object
- func FlattenConfigDNSSECValidationBlock(ctx context.Context, from *dnsconfig.DNSSECValidationBlock, ...) types.Object
- func FlattenConfigDTCConfig(ctx context.Context, from *dnsconfig.DTCConfig, diags *diag.Diagnostics) types.Object
- func FlattenConfigDelegationServer(ctx context.Context, from *dnsconfig.DelegationServer, diags *diag.Diagnostics) types.Object
- func FlattenConfigDisplayView(ctx context.Context, from *dnsconfig.DisplayView, diags *diag.Diagnostics) types.Object
- func FlattenConfigECSBlock(ctx context.Context, from *dnsconfig.ECSBlock, diags *diag.Diagnostics) types.Object
- func FlattenConfigECSZone(ctx context.Context, from *dnsconfig.ECSZone, diags *diag.Diagnostics) types.Object
- func FlattenConfigExternalPrimary(ctx context.Context, from *dnsconfig.ExternalPrimary, diags *diag.Diagnostics) types.Object
- func FlattenConfigExternalSecondary(ctx context.Context, from *dnsconfig.ExternalSecondary, ...) types.Object
- func FlattenConfigForwarder(ctx context.Context, from *dnsconfig.Forwarder, diags *diag.Diagnostics) types.Object
- func FlattenConfigForwardersBlock(ctx context.Context, from *dnsconfig.ForwardersBlock, diags *diag.Diagnostics) types.Object
- func FlattenConfigHost(ctx context.Context, from *dnsconfig.Host, diags *diag.Diagnostics) types.Object
- func FlattenConfigHostAssociatedServer(ctx context.Context, from *dnsconfig.HostAssociatedServer, ...) types.Object
- func FlattenConfigHostInheritance(ctx context.Context, from *dnsconfig.HostInheritance, diags *diag.Diagnostics) types.Object
- func FlattenConfigInheritedACLItems(ctx context.Context, from *dnsconfig.InheritedACLItems, ...) types.Object
- func FlattenConfigInheritedCustomRootNSBlock(ctx context.Context, from *dnsconfig.InheritedCustomRootNSBlock, ...) types.Object
- func FlattenConfigInheritedDNSSECValidationBlock(ctx context.Context, from *dnsconfig.InheritedDNSSECValidationBlock, ...) types.Object
- func FlattenConfigInheritedDtcConfig(ctx context.Context, from *dnsconfig.InheritedDtcConfig, ...) types.Object
- func FlattenConfigInheritedECSBlock(ctx context.Context, from *dnsconfig.InheritedECSBlock, ...) types.Object
- func FlattenConfigInheritedForwardersBlock(ctx context.Context, from *dnsconfig.InheritedForwardersBlock, ...) types.Object
- func FlattenConfigInheritedKerberosKeys(ctx context.Context, from *dnsconfig.InheritedKerberosKeys, ...) types.Object
- func FlattenConfigInheritedSortListItems(ctx context.Context, from *dnsconfig.InheritedSortListItems, ...) types.Object
- func FlattenConfigInheritedZoneAuthority(ctx context.Context, from *dnsconfig.InheritedZoneAuthority, ...) types.Object
- func FlattenConfigInheritedZoneAuthorityMNameBlock(ctx context.Context, from *dnsconfig.InheritedZoneAuthorityMNameBlock, ...) types.Object
- func FlattenConfigInternalSecondary(ctx context.Context, from *dnsconfig.InternalSecondary, ...) types.Object
- func FlattenConfigKerberosKey(ctx context.Context, from *dnsconfig.KerberosKey, diags *diag.Diagnostics) types.Object
- func FlattenConfigRootNS(ctx context.Context, from *dnsconfig.RootNS, diags *diag.Diagnostics) types.Object
- func FlattenConfigServerInheritance(ctx context.Context, from *dnsconfig.ServerInheritance, ...) types.Object
- func FlattenConfigSortListItem(ctx context.Context, from *dnsconfig.SortListItem, diags *diag.Diagnostics) types.Object
- func FlattenConfigTSIGKey(ctx context.Context, from *dnsconfig.TSIGKey, diags *diag.Diagnostics) types.Object
- func FlattenConfigTrustAnchor(ctx context.Context, from *dnsconfig.TrustAnchor, diags *diag.Diagnostics) types.Object
- func FlattenConfigViewInheritance(ctx context.Context, from *dnsconfig.ViewInheritance, diags *diag.Diagnostics) types.Object
- func FlattenConfigWarning(ctx context.Context, from *dnsconfig.Warning, diags *diag.Diagnostics) types.Object
- func FlattenConfigZoneAuthority(ctx context.Context, from *dnsconfig.ZoneAuthority, diags *diag.Diagnostics) types.Object
- func FlattenConfigZoneAuthorityMNameBlock(ctx context.Context, from *dnsconfig.ZoneAuthorityMNameBlock, ...) types.Object
- func FlattenInheritance2AssignedHost(ctx context.Context, from *dnsconfig.Inheritance2AssignedHost, ...) types.Object
- func FlattenInheritance2InheritedBool(ctx context.Context, from *dnsconfig.Inheritance2InheritedBool, ...) types.Object
- func FlattenInheritance2InheritedString(ctx context.Context, from *dnsconfig.Inheritance2InheritedString, ...) types.Object
- func FlattenInheritance2InheritedUInt32(ctx context.Context, from *dnsconfig.Inheritance2InheritedUInt32, ...) types.Object
- func HostDataSourceSchemaAttributes(diag *diag.Diagnostics) map[string]schema.Attribute
- func NewAclDataSource() datasource.DataSource
- func NewAclResource() resource.Resource
- func NewAuthNsgDataSource() datasource.DataSource
- func NewAuthNsgResource() resource.Resource
- func NewAuthZoneDataSource() datasource.DataSource
- func NewAuthZoneResource() resource.Resource
- func NewDelegationDataSource() datasource.DataSource
- func NewDelegationResource() resource.Resource
- func NewForwardNsgDataSource() datasource.DataSource
- func NewForwardNsgResource() resource.Resource
- func NewForwardZoneDataSource() datasource.DataSource
- func NewForwardZoneResource() resource.Resource
- func NewHostDataSource() datasource.DataSource
- func NewHostResource() resource.Resource
- func NewServerDataSource() datasource.DataSource
- func NewServerResource() resource.Resource
- func NewViewDataSource() datasource.DataSource
- func NewViewResource() resource.Resource
- func UseDefaultAclForNull() planmodifier.List
- type AclDataSource
- func (d *AclDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *AclDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *AclDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AclDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type AclResource
- func (r *AclResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AclResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AclResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AclResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AclResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AclResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AclResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AclResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type AuthNsgDataSource
- func (d *AuthNsgDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *AuthNsgDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *AuthNsgDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AuthNsgDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type AuthNsgResource
- func (r *AuthNsgResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AuthNsgResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AuthNsgResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AuthNsgResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AuthNsgResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AuthNsgResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AuthNsgResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AuthNsgResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type AuthZoneDataSource
- func (d *AuthZoneDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *AuthZoneDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *AuthZoneDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AuthZoneDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type AuthZoneExternalProviderModel
- type AuthZoneResource
- func (r *AuthZoneResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AuthZoneResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AuthZoneResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AuthZoneResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AuthZoneResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AuthZoneResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AuthZoneResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AuthZoneResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ConfigACLItemModel
- type ConfigACLModel
- type ConfigACLModelWithFilter
- type ConfigAuthNSGModel
- type ConfigAuthNSGModelWithFilter
- type ConfigAuthZoneConfigModel
- type ConfigAuthZoneInheritanceModel
- type ConfigAuthZoneModel
- type ConfigAuthZoneModelWithFilter
- type ConfigCustomRootNSBlockModel
- type ConfigDNSSECValidationBlockModel
- type ConfigDTCConfigModel
- type ConfigDelegationModel
- type ConfigDelegationModelWithFilter
- type ConfigDelegationServerModel
- type ConfigDisplayViewModel
- type ConfigECSBlockModel
- type ConfigECSZoneModel
- type ConfigExternalPrimaryModel
- type ConfigExternalSecondaryModel
- type ConfigForwardNSGModel
- type ConfigForwardNSGModelWithFilter
- type ConfigForwardZoneModel
- type ConfigForwardZoneModelWithFilter
- type ConfigForwarderModel
- type ConfigForwardersBlockModel
- type ConfigHostAssociatedServerModel
- type ConfigHostInheritanceModel
- type ConfigInheritedACLItemsModel
- type ConfigInheritedCustomRootNSBlockModel
- type ConfigInheritedDNSSECValidationBlockModel
- type ConfigInheritedDtcConfigModel
- type ConfigInheritedECSBlockModel
- type ConfigInheritedForwardersBlockModel
- type ConfigInheritedKerberosKeysModel
- type ConfigInheritedSortListItemsModel
- type ConfigInheritedZoneAuthorityMNameBlockModel
- type ConfigInheritedZoneAuthorityModel
- type ConfigInternalSecondaryModel
- type ConfigKerberosKeyModel
- type ConfigRootNSModel
- type ConfigServerInheritanceModel
- type ConfigServerModel
- type ConfigServerModelWithFilter
- type ConfigSortListItemModel
- type ConfigTSIGKeyModel
- type ConfigTrustAnchorModel
- type ConfigViewInheritanceModel
- type ConfigViewModel
- type ConfigViewModelWithFilter
- type ConfigWarningModel
- type ConfigZoneAuthorityMNameBlockModel
- type ConfigZoneAuthorityModel
- type DelegationDataSource
- func (d *DelegationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DelegationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DelegationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DelegationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DelegationResource
- func (r *DelegationResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *DelegationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DelegationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DelegationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *DelegationResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *DelegationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DelegationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DelegationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ForwardNsgDataSource
- func (d *ForwardNsgDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ForwardNsgDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ForwardNsgDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ForwardNsgDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ForwardNsgResource
- func (r *ForwardNsgResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ForwardNsgResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ForwardNsgResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ForwardNsgResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ForwardNsgResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ForwardNsgResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ForwardNsgResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ForwardNsgResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ForwardZoneDataSource
- func (d *ForwardZoneDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ForwardZoneDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ForwardZoneDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ForwardZoneDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ForwardZoneResource
- func (r *ForwardZoneResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ForwardZoneResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ForwardZoneResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ForwardZoneResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ForwardZoneResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ForwardZoneResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ForwardZoneResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ForwardZoneResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type HostDataSource
- func (d *HostDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *HostDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *HostDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *HostDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type HostModel
- type HostModelWithFilter
- type HostModelWithRetryAndTimeouts
- type HostResource
- func (r *HostResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *HostResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *HostResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *HostResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *HostResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *HostResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *HostResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *HostResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type Inheritance2AssignedHostModel
- type Inheritance2InheritedBoolModel
- type Inheritance2InheritedStringModel
- type Inheritance2InheritedUInt32Model
- type ServerDataSource
- func (d *ServerDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ServerDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ServerDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ServerDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ServerResource
- func (r *ServerResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ServerResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ServerResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ServerResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ServerResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ServerResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ServerResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ServerResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ViewDataSource
- func (d *ViewDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ViewDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ViewDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ViewDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ViewResource
- func (r *ViewResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ViewResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ViewResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ViewResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ViewResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ViewResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ViewResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ViewResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
const ( // AuthZoneOperationTimeout is the maximum amount of time to wait for eventual consistency AuthZoneOperationTimeout = 2 * time.Minute )
Variables ¶
var AuthZoneExternalProviderAttrTypes = map[string]attr.Type{ "id": types.StringType, "name": types.StringType, "type": types.StringType, }
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.`, }, }
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}, }
var ConfigACLItemAttrTypes = map[string]attr.Type{ "access": types.StringType, "acl": types.StringType, "address": types.StringType, "element": types.StringType, "tsig_key": types.ObjectType{AttrTypes: ConfigTSIGKeyAttrTypes}, }
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, }, }
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.`, }, }
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}, }
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.", }, }
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}, }
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}, }
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.`, }, }
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}, }
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, }, }
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, }, }
var ConfigCustomRootNSBlockAttrTypes = map[string]attr.Type{ "custom_root_ns": types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigRootNSAttrTypes}}, "custom_root_ns_enabled": types.BoolType, }
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.`, }, }
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, }
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.`, }, }
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.`, }, }
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, }
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.", }, }
var ConfigDelegationServerAttrTypes = map[string]attr.Type{ "address": types.StringType, "fqdn": types.StringType, "protocol_fqdn": types.StringType, }
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.", }, }
var ConfigDisplayViewAttrTypes = map[string]attr.Type{ "comment": types.StringType, "name": types.StringType, "view": types.StringType, }
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.", }, }
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}}, }
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.`, }, }
var ConfigECSZoneAttrTypes = map[string]attr.Type{ "access": types.StringType, "fqdn": types.StringType, "protocol_fqdn": types.StringType, }
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.`, }, }
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, }
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_.", }, }
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}, }
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, }, }
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}, }
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.", }, }
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}}, }
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.", }, }
var ConfigForwarderAttrTypes = map[string]attr.Type{ "address": types.StringType, "fqdn": types.StringType, "protocol_fqdn": types.StringType, }
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, }
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.`, }, }
var ConfigHostAssociatedServerAttrTypes = map[string]attr.Type{ "id": types.StringType, "name": types.StringType, }
var ConfigHostAssociatedServerResourceSchemaAttributes = map[string]schema.Attribute{ "id": schema.StringAttribute{ Computed: true, MarkdownDescription: "The resource identifier.", }, "name": schema.StringAttribute{ Computed: true, MarkdownDescription: "DNS server name.", }, }
var ConfigHostInheritanceAttrTypes = map[string]attr.Type{ "kerberos_keys": types.ObjectType{AttrTypes: ConfigInheritedKerberosKeysAttrTypes}, }
var ConfigHostInheritanceResourceSchemaAttributes = map[string]schema.Attribute{ "kerberos_keys": schema.SingleNestedAttribute{ Attributes: ConfigInheritedKerberosKeysResourceSchemaAttributes, Optional: true, Computed: true, }, }
var ConfigInheritedACLItemsAttrTypes = map[string]attr.Type{ "action": types.StringType, "display_name": types.StringType, "source": types.StringType, "value": types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigACLItemAttrTypes}}, }
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.", }, }
var ConfigInheritedCustomRootNSBlockAttrTypes = map[string]attr.Type{ "action": types.StringType, "display_name": types.StringType, "source": types.StringType, "value": types.ObjectType{AttrTypes: ConfigCustomRootNSBlockAttrTypes}, }
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, }, }
var ConfigInheritedDNSSECValidationBlockAttrTypes = map[string]attr.Type{ "action": types.StringType, "display_name": types.StringType, "source": types.StringType, "value": types.ObjectType{AttrTypes: ConfigDNSSECValidationBlockAttrTypes}, }
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, }, }
var ConfigInheritedDtcConfigAttrTypes = map[string]attr.Type{ "default_ttl": types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes}, }
var ConfigInheritedDtcConfigResourceSchemaAttributes = map[string]schema.Attribute{ "default_ttl": schema.SingleNestedAttribute{ Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes, Optional: true, Computed: true, }, }
var ConfigInheritedECSBlockAttrTypes = map[string]attr.Type{ "action": types.StringType, "display_name": types.StringType, "source": types.StringType, "value": types.ObjectType{AttrTypes: ConfigECSBlockAttrTypes}, }
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, }, }
var ConfigInheritedForwardersBlockAttrTypes = map[string]attr.Type{ "action": types.StringType, "display_name": types.StringType, "source": types.StringType, "value": types.ObjectType{AttrTypes: ConfigForwardersBlockAttrTypes}, }
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, }, }
var ConfigInheritedKerberosKeysAttrTypes = map[string]attr.Type{ "action": types.StringType, "display_name": types.StringType, "source": types.StringType, "value": types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigKerberosKeyAttrTypes}}, }
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.`, }, }
var ConfigInheritedSortListItemsAttrTypes = map[string]attr.Type{ "action": types.StringType, "display_name": types.StringType, "source": types.StringType, "value": types.ListType{ElemType: types.ObjectType{AttrTypes: ConfigSortListItemAttrTypes}}, }
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.`, }, }
var ConfigInheritedZoneAuthorityAttrTypes = map[string]attr.Type{ "default_ttl": types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes}, "expire": types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes}, "mname_block": types.ObjectType{AttrTypes: ConfigInheritedZoneAuthorityMNameBlockAttrTypes}, "negative_ttl": types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes}, "protocol_rname": types.ObjectType{AttrTypes: Inheritance2InheritedStringAttrTypes}, "refresh": types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes}, "retry": types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes}, "rname": types.ObjectType{AttrTypes: Inheritance2InheritedStringAttrTypes}, }
var ConfigInheritedZoneAuthorityMNameBlockAttrTypes = map[string]attr.Type{ "action": types.StringType, "display_name": types.StringType, "source": types.StringType, "value": types.ObjectType{AttrTypes: ConfigZoneAuthorityMNameBlockAttrTypes}, }
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, }, }
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, }, }
var ConfigInternalSecondaryAttrTypes = map[string]attr.Type{ "host": types.StringType, }
var ConfigInternalSecondaryResourceSchemaAttributes = map[string]schema.Attribute{ "host": schema.StringAttribute{ Required: true, MarkdownDescription: "The resource identifier.", }, }
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, }
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.`, }, }
var ConfigRootNSAttrTypes = map[string]attr.Type{ "address": types.StringType, "fqdn": types.StringType, "protocol_fqdn": types.StringType, }
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.`, }, }
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}}, }
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}, }
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, }, }
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.", }, }
var ConfigSortListItemAttrTypes = map[string]attr.Type{ "acl": types.StringType, "element": types.StringType, "prioritized_networks": types.ListType{ElemType: types.StringType}, "source": types.StringType, }
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_.`, }, }
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, }
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.`, }, }
var ConfigTrustAnchorAttrTypes = map[string]attr.Type{ "algorithm": types.Int64Type, "protocol_zone": types.StringType, "public_key": types.StringType, "sep": types.BoolType, "zone": types.StringType, }
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.`, }, }
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}, }
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}, }
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, }, }
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), }), ), }, }
var ConfigWarningAttrTypes = map[string]attr.Type{ "message": types.StringType, "name": types.StringType, }
var ConfigWarningResourceSchemaAttributes = map[string]schema.Attribute{ "message": schema.StringAttribute{ Optional: true, MarkdownDescription: `Warning message.`, }, "name": schema.StringAttribute{ Optional: true, MarkdownDescription: `Name of a warning.`, }, }
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, }
var ConfigZoneAuthorityMNameBlockAttrTypes = map[string]attr.Type{ "mname": types.StringType, "protocol_mname": types.StringType, "use_default_mname": types.BoolType, }
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.`, }, }
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.`, }, }
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, }
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.", }, }
var Inheritance2AssignedHostAttrTypes = map[string]attr.Type{ "display_name": types.StringType, "host": types.StringType, "ophid": types.StringType, }
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.`, }, }
var Inheritance2InheritedBoolAttrTypes = map[string]attr.Type{ "action": types.StringType, "display_name": types.StringType, "source": types.StringType, "value": types.BoolType, }
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.`, }, }
var Inheritance2InheritedStringAttrTypes = map[string]attr.Type{ "action": types.StringType, "display_name": types.StringType, "source": types.StringType, "value": types.StringType, }
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.`, }, }
var Inheritance2InheritedUInt32AttrTypes = map[string]attr.Type{ "action": types.StringType, "display_name": types.StringType, "source": types.StringType, "value": types.Int64Type, }
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 DataSourceFlattenConfigACL ¶ added in v1.3.0
func DataSourceFlattenConfigAuthNSG ¶ added in v1.3.0
func DataSourceFlattenConfigAuthZone ¶ added in v1.3.0
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 DataSourceFlattenConfigView ¶ added in v1.3.0
func ExpandAuthZoneExternalProvider ¶
func ExpandAuthZoneExternalProvider(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.AuthZoneExternalProvider
func ExpandConfigACL ¶
func ExpandConfigACLItem ¶
func ExpandConfigAuthNSG ¶
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 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 ExpandConfigECSZone ¶
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 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 ExpandConfigInheritedDNSSECValidationBlock ¶
func ExpandConfigInheritedDNSSECValidationBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedDNSSECValidationBlock
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 ExpandConfigInheritedZoneAuthorityMNameBlock ¶
func ExpandConfigInheritedZoneAuthorityMNameBlock(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.InheritedZoneAuthorityMNameBlock
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 ExpandConfigServer ¶
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 ExpandConfigTrustAnchor ¶
func ExpandConfigTrustAnchor(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.TrustAnchor
func ExpandConfigView ¶
func ExpandConfigViewInheritance ¶
func ExpandConfigViewInheritance(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.ViewInheritance
func ExpandConfigWarning ¶
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 ExpandInheritance2AssignedHost ¶
func ExpandInheritance2AssignedHost(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Inheritance2AssignedHost
func ExpandInheritance2InheritedBool ¶
func ExpandInheritance2InheritedBool(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Inheritance2InheritedBool
func ExpandInheritance2InheritedString ¶
func ExpandInheritance2InheritedString(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Inheritance2InheritedString
func ExpandInheritance2InheritedUInt32 ¶
func ExpandInheritance2InheritedUInt32(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsconfig.Inheritance2InheritedUInt32
func FlattenAuthZoneExternalProvider ¶
func FlattenAuthZoneExternalProvider(ctx context.Context, from *dnsconfig.AuthZoneExternalProvider, diags *diag.Diagnostics) types.Object
func FlattenConfigACLItem ¶
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 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 FlattenConfigECSZone ¶
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 FlattenConfigForwardersBlock ¶
func FlattenConfigForwardersBlock(ctx context.Context, from *dnsconfig.ForwardersBlock, diags *diag.Diagnostics) types.Object
func FlattenConfigHost ¶
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 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 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 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 NewAuthNsgDataSource ¶
func NewAuthNsgDataSource() datasource.DataSource
func NewAuthNsgResource ¶
func NewAuthZoneDataSource ¶
func NewAuthZoneDataSource() datasource.DataSource
func NewAuthZoneResource ¶
func NewDelegationDataSource ¶
func NewDelegationDataSource() datasource.DataSource
func NewDelegationResource ¶
func NewForwardNsgDataSource ¶
func NewForwardNsgDataSource() datasource.DataSource
func NewForwardNsgResource ¶
func NewForwardZoneDataSource ¶
func NewForwardZoneDataSource() datasource.DataSource
func NewForwardZoneResource ¶
func NewHostDataSource ¶
func NewHostDataSource() datasource.DataSource
func NewHostResource ¶ added in v1.3.1
func NewServerDataSource ¶
func NewServerDataSource() datasource.DataSource
func NewServerResource ¶
func NewViewDataSource ¶
func NewViewDataSource() datasource.DataSource
func NewViewResource ¶
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 (d *AclDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*AclDataSource) Metadata ¶ added in v1.0.0
func (d *AclDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*AclDataSource) Read ¶ added in v1.0.0
func (d *AclDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*AclDataSource) Schema ¶ added in v1.0.0
func (d *AclDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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 (r *AclResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AclResource) Create ¶ added in v1.0.0
func (r *AclResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AclResource) Delete ¶ added in v1.0.0
func (r *AclResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AclResource) ImportState ¶ added in v1.0.0
func (r *AclResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AclResource) Metadata ¶ added in v1.0.0
func (r *AclResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AclResource) Read ¶ added in v1.0.0
func (r *AclResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AclResource) Schema ¶ added in v1.0.0
func (r *AclResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*AclResource) Update ¶ added in v1.0.0
func (r *AclResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AuthNsgDataSource ¶
type AuthNsgDataSource struct {
// contains filtered or unexported fields
}
AuthNsgDataSource defines the data source implementation.
func (*AuthNsgDataSource) Configure ¶
func (d *AuthNsgDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*AuthNsgDataSource) Metadata ¶
func (d *AuthNsgDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*AuthNsgDataSource) Read ¶
func (d *AuthNsgDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*AuthNsgDataSource) Schema ¶
func (d *AuthNsgDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type AuthNsgResource ¶
type AuthNsgResource struct {
// contains filtered or unexported fields
}
AuthNsgResource defines the resource implementation.
func (*AuthNsgResource) Configure ¶
func (r *AuthNsgResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AuthNsgResource) Create ¶
func (r *AuthNsgResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AuthNsgResource) Delete ¶
func (r *AuthNsgResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AuthNsgResource) ImportState ¶
func (r *AuthNsgResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AuthNsgResource) Metadata ¶
func (r *AuthNsgResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AuthNsgResource) Read ¶
func (r *AuthNsgResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AuthNsgResource) Schema ¶
func (r *AuthNsgResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*AuthNsgResource) Update ¶
func (r *AuthNsgResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AuthZoneDataSource ¶
type AuthZoneDataSource struct {
// contains filtered or unexported fields
}
AuthZoneDataSource defines the data source implementation.
func (*AuthZoneDataSource) Configure ¶
func (d *AuthZoneDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*AuthZoneDataSource) Metadata ¶
func (d *AuthZoneDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*AuthZoneDataSource) Read ¶
func (d *AuthZoneDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*AuthZoneDataSource) Schema ¶
func (d *AuthZoneDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type AuthZoneExternalProviderModel ¶
type AuthZoneExternalProviderModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` }
func (*AuthZoneExternalProviderModel) Expand ¶
func (m *AuthZoneExternalProviderModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.AuthZoneExternalProvider
func (*AuthZoneExternalProviderModel) Flatten ¶
func (m *AuthZoneExternalProviderModel) Flatten(ctx context.Context, from *dnsconfig.AuthZoneExternalProvider, diags *diag.Diagnostics)
type AuthZoneResource ¶
type AuthZoneResource struct {
// contains filtered or unexported fields
}
AuthZoneResource defines the resource implementation.
func (*AuthZoneResource) Configure ¶
func (r *AuthZoneResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AuthZoneResource) Create ¶
func (r *AuthZoneResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AuthZoneResource) Delete ¶
func (r *AuthZoneResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AuthZoneResource) ImportState ¶
func (r *AuthZoneResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AuthZoneResource) Metadata ¶
func (r *AuthZoneResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AuthZoneResource) Read ¶
func (r *AuthZoneResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AuthZoneResource) Schema ¶
func (r *AuthZoneResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*AuthZoneResource) Update ¶
func (r *AuthZoneResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 (m *ConfigACLItemModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.ACLItem
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 (m *ConfigAuthNSGModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.AuthNSG
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 (m *ConfigAuthZoneConfigModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.AuthZoneConfig
func (*ConfigAuthZoneConfigModel) Flatten ¶
func (m *ConfigAuthZoneConfigModel) Flatten(ctx context.Context, from *dnsconfig.AuthZoneConfig, diags *diag.Diagnostics)
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 (m *ConfigAuthZoneInheritanceModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.AuthZoneInheritance
func (*ConfigAuthZoneInheritanceModel) Flatten ¶
func (m *ConfigAuthZoneInheritanceModel) Flatten(ctx context.Context, from *dnsconfig.AuthZoneInheritance, diags *diag.Diagnostics)
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 (m *ConfigCustomRootNSBlockModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.CustomRootNSBlock
func (*ConfigCustomRootNSBlockModel) Flatten ¶
func (m *ConfigCustomRootNSBlockModel) Flatten(ctx context.Context, from *dnsconfig.CustomRootNSBlock, diags *diag.Diagnostics)
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 (m *ConfigDNSSECValidationBlockModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.DNSSECValidationBlock
func (*ConfigDNSSECValidationBlockModel) Flatten ¶
func (m *ConfigDNSSECValidationBlockModel) Flatten(ctx context.Context, from *dnsconfig.DNSSECValidationBlock, diags *diag.Diagnostics)
type ConfigDTCConfigModel ¶
func (*ConfigDTCConfigModel) Expand ¶
func (m *ConfigDTCConfigModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.DTCConfig
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 (m *ConfigDelegationServerModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.DelegationServer
func (*ConfigDelegationServerModel) Flatten ¶
func (m *ConfigDelegationServerModel) Flatten(ctx context.Context, from *dnsconfig.DelegationServer, diags *diag.Diagnostics)
type ConfigDisplayViewModel ¶
type ConfigDisplayViewModel struct { Comment types.String `tfsdk:"comment"` Name types.String `tfsdk:"name"` View types.String `tfsdk:"view"` }
func (*ConfigDisplayViewModel) Expand ¶
func (m *ConfigDisplayViewModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.DisplayView
func (*ConfigDisplayViewModel) Flatten ¶
func (m *ConfigDisplayViewModel) Flatten(ctx context.Context, from *dnsconfig.DisplayView, diags *diag.Diagnostics)
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 (m *ConfigECSBlockModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.ECSBlock
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 (m *ConfigECSZoneModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.ECSZone
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 (m *ConfigExternalPrimaryModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.ExternalPrimary
func (*ConfigExternalPrimaryModel) Flatten ¶
func (m *ConfigExternalPrimaryModel) Flatten(ctx context.Context, from *dnsconfig.ExternalPrimary, diags *diag.Diagnostics)
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 (m *ConfigExternalSecondaryModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.ExternalSecondary
func (*ConfigExternalSecondaryModel) Flatten ¶
func (m *ConfigExternalSecondaryModel) Flatten(ctx context.Context, from *dnsconfig.ExternalSecondary, diags *diag.Diagnostics)
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 (m *ConfigForwardNSGModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.ForwardNSG
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 ¶
func (m *ConfigForwardZoneModel) Flatten(ctx context.Context, from *dnsconfig.ForwardZone, diags *diag.Diagnostics)
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 (m *ConfigForwarderModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.Forwarder
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 (m *ConfigForwardersBlockModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.ForwardersBlock
func (*ConfigForwardersBlockModel) Flatten ¶
func (m *ConfigForwardersBlockModel) Flatten(ctx context.Context, from *dnsconfig.ForwardersBlock, diags *diag.Diagnostics)
type ConfigHostAssociatedServerModel ¶
type ConfigHostAssociatedServerModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` }
func (*ConfigHostAssociatedServerModel) Expand ¶
func (m *ConfigHostAssociatedServerModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.HostAssociatedServer
func (*ConfigHostAssociatedServerModel) Flatten ¶
func (m *ConfigHostAssociatedServerModel) Flatten(ctx context.Context, from *dnsconfig.HostAssociatedServer, diags *diag.Diagnostics)
type ConfigHostInheritanceModel ¶
func (*ConfigHostInheritanceModel) Expand ¶
func (m *ConfigHostInheritanceModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.HostInheritance
func (*ConfigHostInheritanceModel) Flatten ¶
func (m *ConfigHostInheritanceModel) Flatten(ctx context.Context, from *dnsconfig.HostInheritance, diags *diag.Diagnostics)
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 (m *ConfigInheritedACLItemsModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.InheritedACLItems
func (*ConfigInheritedACLItemsModel) Flatten ¶
func (m *ConfigInheritedACLItemsModel) Flatten(ctx context.Context, from *dnsconfig.InheritedACLItems, diags *diag.Diagnostics)
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 (m *ConfigInheritedCustomRootNSBlockModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.InheritedCustomRootNSBlock
func (*ConfigInheritedCustomRootNSBlockModel) Flatten ¶
func (m *ConfigInheritedCustomRootNSBlockModel) Flatten(ctx context.Context, from *dnsconfig.InheritedCustomRootNSBlock, diags *diag.Diagnostics)
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 (m *ConfigInheritedDNSSECValidationBlockModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.InheritedDNSSECValidationBlock
func (*ConfigInheritedDNSSECValidationBlockModel) Flatten ¶
func (m *ConfigInheritedDNSSECValidationBlockModel) Flatten(ctx context.Context, from *dnsconfig.InheritedDNSSECValidationBlock, diags *diag.Diagnostics)
type ConfigInheritedDtcConfigModel ¶
func (*ConfigInheritedDtcConfigModel) Expand ¶
func (m *ConfigInheritedDtcConfigModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.InheritedDtcConfig
func (*ConfigInheritedDtcConfigModel) Flatten ¶
func (m *ConfigInheritedDtcConfigModel) Flatten(ctx context.Context, from *dnsconfig.InheritedDtcConfig, diags *diag.Diagnostics)
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 (m *ConfigInheritedECSBlockModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.InheritedECSBlock
func (*ConfigInheritedECSBlockModel) Flatten ¶
func (m *ConfigInheritedECSBlockModel) Flatten(ctx context.Context, from *dnsconfig.InheritedECSBlock, diags *diag.Diagnostics)
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 (m *ConfigInheritedForwardersBlockModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.InheritedForwardersBlock
func (*ConfigInheritedForwardersBlockModel) Flatten ¶
func (m *ConfigInheritedForwardersBlockModel) Flatten(ctx context.Context, from *dnsconfig.InheritedForwardersBlock, diags *diag.Diagnostics)
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 (m *ConfigInheritedKerberosKeysModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.InheritedKerberosKeys
func (*ConfigInheritedKerberosKeysModel) Flatten ¶
func (m *ConfigInheritedKerberosKeysModel) Flatten(ctx context.Context, from *dnsconfig.InheritedKerberosKeys, diags *diag.Diagnostics)
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 (m *ConfigInheritedSortListItemsModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.InheritedSortListItems
func (*ConfigInheritedSortListItemsModel) Flatten ¶
func (m *ConfigInheritedSortListItemsModel) Flatten(ctx context.Context, from *dnsconfig.InheritedSortListItems, diags *diag.Diagnostics)
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 (m *ConfigInheritedZoneAuthorityMNameBlockModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.InheritedZoneAuthorityMNameBlock
func (*ConfigInheritedZoneAuthorityMNameBlockModel) Flatten ¶
func (m *ConfigInheritedZoneAuthorityMNameBlockModel) Flatten(ctx context.Context, from *dnsconfig.InheritedZoneAuthorityMNameBlock, diags *diag.Diagnostics)
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 (m *ConfigInheritedZoneAuthorityModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.InheritedZoneAuthority
func (*ConfigInheritedZoneAuthorityModel) Flatten ¶
func (m *ConfigInheritedZoneAuthorityModel) Flatten(ctx context.Context, from *dnsconfig.InheritedZoneAuthority, diags *diag.Diagnostics)
type ConfigInternalSecondaryModel ¶
func (*ConfigInternalSecondaryModel) Expand ¶
func (m *ConfigInternalSecondaryModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.InternalSecondary
func (*ConfigInternalSecondaryModel) Flatten ¶
func (m *ConfigInternalSecondaryModel) Flatten(ctx context.Context, from *dnsconfig.InternalSecondary, diags *diag.Diagnostics)
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 (m *ConfigKerberosKeyModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.KerberosKey
func (*ConfigKerberosKeyModel) Flatten ¶
func (m *ConfigKerberosKeyModel) Flatten(ctx context.Context, from *dnsconfig.KerberosKey, diags *diag.Diagnostics)
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 (m *ConfigRootNSModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.RootNS
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 (m *ConfigServerInheritanceModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.ServerInheritance
func (*ConfigServerInheritanceModel) Flatten ¶
func (m *ConfigServerInheritanceModel) Flatten(ctx context.Context, from *dnsconfig.ServerInheritance, diags *diag.Diagnostics)
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 (m *ConfigServerModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.Server
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 (m *ConfigSortListItemModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.SortListItem
func (*ConfigSortListItemModel) Flatten ¶
func (m *ConfigSortListItemModel) Flatten(ctx context.Context, from *dnsconfig.SortListItem, diags *diag.Diagnostics)
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 (m *ConfigTSIGKeyModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.TSIGKey
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 (m *ConfigTrustAnchorModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.TrustAnchor
func (*ConfigTrustAnchorModel) Flatten ¶
func (m *ConfigTrustAnchorModel) Flatten(ctx context.Context, from *dnsconfig.TrustAnchor, diags *diag.Diagnostics)
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 (m *ConfigViewInheritanceModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.ViewInheritance
func (*ConfigViewInheritanceModel) Flatten ¶
func (m *ConfigViewInheritanceModel) Flatten(ctx context.Context, from *dnsconfig.ViewInheritance, diags *diag.Diagnostics)
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 (m *ConfigWarningModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.Warning
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 (m *ConfigZoneAuthorityMNameBlockModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.ZoneAuthorityMNameBlock
func (*ConfigZoneAuthorityMNameBlockModel) Flatten ¶
func (m *ConfigZoneAuthorityMNameBlockModel) Flatten(ctx context.Context, from *dnsconfig.ZoneAuthorityMNameBlock, diags *diag.Diagnostics)
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 (m *ConfigZoneAuthorityModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.ZoneAuthority
func (*ConfigZoneAuthorityModel) Flatten ¶
func (m *ConfigZoneAuthorityModel) Flatten(ctx context.Context, from *dnsconfig.ZoneAuthority, diags *diag.Diagnostics)
type DelegationDataSource ¶
type DelegationDataSource struct {
// contains filtered or unexported fields
}
DelegationDataSource defines the data source implementation.
func (*DelegationDataSource) Configure ¶
func (d *DelegationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DelegationDataSource) Metadata ¶
func (d *DelegationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DelegationDataSource) Read ¶
func (d *DelegationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DelegationDataSource) Schema ¶
func (d *DelegationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DelegationResource ¶
type DelegationResource struct {
// contains filtered or unexported fields
}
DelegationResource defines the resource implementation.
func (*DelegationResource) Configure ¶
func (r *DelegationResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*DelegationResource) Create ¶
func (r *DelegationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*DelegationResource) Delete ¶
func (r *DelegationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DelegationResource) ImportState ¶
func (r *DelegationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*DelegationResource) Metadata ¶
func (r *DelegationResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*DelegationResource) Read ¶
func (r *DelegationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*DelegationResource) Schema ¶
func (r *DelegationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*DelegationResource) Update ¶
func (r *DelegationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ForwardNsgDataSource ¶
type ForwardNsgDataSource struct {
// contains filtered or unexported fields
}
ForwardNsgDataSource defines the data source implementation.
func (*ForwardNsgDataSource) Configure ¶
func (d *ForwardNsgDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ForwardNsgDataSource) Metadata ¶
func (d *ForwardNsgDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ForwardNsgDataSource) Read ¶
func (d *ForwardNsgDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ForwardNsgDataSource) Schema ¶
func (d *ForwardNsgDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ForwardNsgResource ¶
type ForwardNsgResource struct {
// contains filtered or unexported fields
}
ForwardNsgResource defines the resource implementation.
func (*ForwardNsgResource) Configure ¶
func (r *ForwardNsgResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ForwardNsgResource) Create ¶
func (r *ForwardNsgResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ForwardNsgResource) Delete ¶
func (r *ForwardNsgResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ForwardNsgResource) ImportState ¶
func (r *ForwardNsgResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ForwardNsgResource) Metadata ¶
func (r *ForwardNsgResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ForwardNsgResource) Read ¶
func (r *ForwardNsgResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ForwardNsgResource) Schema ¶
func (r *ForwardNsgResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ForwardNsgResource) Update ¶
func (r *ForwardNsgResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ForwardZoneDataSource ¶
type ForwardZoneDataSource struct {
// contains filtered or unexported fields
}
ForwardZoneDataSource defines the data source implementation.
func (*ForwardZoneDataSource) Configure ¶
func (d *ForwardZoneDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ForwardZoneDataSource) Metadata ¶
func (d *ForwardZoneDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ForwardZoneDataSource) Read ¶
func (d *ForwardZoneDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ForwardZoneDataSource) Schema ¶
func (d *ForwardZoneDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ForwardZoneResource ¶
type ForwardZoneResource struct {
// contains filtered or unexported fields
}
ForwardZoneResource defines the resource implementation.
func (*ForwardZoneResource) Configure ¶
func (r *ForwardZoneResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ForwardZoneResource) Create ¶
func (r *ForwardZoneResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ForwardZoneResource) Delete ¶
func (r *ForwardZoneResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ForwardZoneResource) ImportState ¶
func (r *ForwardZoneResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ForwardZoneResource) Metadata ¶
func (r *ForwardZoneResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ForwardZoneResource) Read ¶
func (r *ForwardZoneResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ForwardZoneResource) Schema ¶
func (r *ForwardZoneResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ForwardZoneResource) Update ¶
func (r *ForwardZoneResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type HostDataSource ¶
type HostDataSource struct {
// contains filtered or unexported fields
}
HostDataSource defines the data source implementation.
func (*HostDataSource) Configure ¶
func (d *HostDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*HostDataSource) Metadata ¶
func (d *HostDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*HostDataSource) Read ¶
func (d *HostDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*HostDataSource) Schema ¶
func (d *HostDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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"` }
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 (m *HostModelWithRetryAndTimeouts) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.Host
func (*HostModelWithRetryAndTimeouts) Flatten ¶ added in v1.3.1
func (m *HostModelWithRetryAndTimeouts) Flatten(ctx context.Context, from *dnsconfig.Host, diags *diag.Diagnostics)
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 (r *HostResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*HostResource) Create ¶ added in v1.3.1
func (r *HostResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*HostResource) Delete ¶ added in v1.3.1
func (r *HostResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*HostResource) ImportState ¶ added in v1.3.1
func (r *HostResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*HostResource) Metadata ¶ added in v1.3.1
func (r *HostResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*HostResource) Read ¶ added in v1.3.1
func (r *HostResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*HostResource) Schema ¶ added in v1.3.1
func (r *HostResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*HostResource) Update ¶ added in v1.3.1
func (r *HostResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 (m *Inheritance2AssignedHostModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.Inheritance2AssignedHost
func (*Inheritance2AssignedHostModel) Flatten ¶
func (m *Inheritance2AssignedHostModel) Flatten(ctx context.Context, from *dnsconfig.Inheritance2AssignedHost, diags *diag.Diagnostics)
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 (m *Inheritance2InheritedBoolModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.Inheritance2InheritedBool
func (*Inheritance2InheritedBoolModel) Flatten ¶
func (m *Inheritance2InheritedBoolModel) Flatten(ctx context.Context, from *dnsconfig.Inheritance2InheritedBool, diags *diag.Diagnostics)
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 (m *Inheritance2InheritedStringModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.Inheritance2InheritedString
func (*Inheritance2InheritedStringModel) Flatten ¶
func (m *Inheritance2InheritedStringModel) Flatten(ctx context.Context, from *dnsconfig.Inheritance2InheritedString, diags *diag.Diagnostics)
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 (m *Inheritance2InheritedUInt32Model) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsconfig.Inheritance2InheritedUInt32
func (*Inheritance2InheritedUInt32Model) Flatten ¶
func (m *Inheritance2InheritedUInt32Model) Flatten(ctx context.Context, from *dnsconfig.Inheritance2InheritedUInt32, diags *diag.Diagnostics)
type ServerDataSource ¶
type ServerDataSource struct {
// contains filtered or unexported fields
}
ServerDataSource defines the data source implementation.
func (*ServerDataSource) Configure ¶
func (d *ServerDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ServerDataSource) Metadata ¶
func (d *ServerDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ServerDataSource) Read ¶
func (d *ServerDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ServerDataSource) Schema ¶
func (d *ServerDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ServerResource ¶
type ServerResource struct {
// contains filtered or unexported fields
}
ServerResource defines the resource implementation.
func (*ServerResource) Configure ¶
func (r *ServerResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ServerResource) Create ¶
func (r *ServerResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ServerResource) Delete ¶
func (r *ServerResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ServerResource) ImportState ¶
func (r *ServerResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ServerResource) Metadata ¶
func (r *ServerResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ServerResource) Read ¶
func (r *ServerResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ServerResource) Schema ¶
func (r *ServerResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ServerResource) Update ¶
func (r *ServerResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ViewDataSource ¶
type ViewDataSource struct {
// contains filtered or unexported fields
}
ViewDataSource defines the data source implementation.
func (*ViewDataSource) Configure ¶
func (d *ViewDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ViewDataSource) Metadata ¶
func (d *ViewDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ViewDataSource) Read ¶
func (d *ViewDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ViewDataSource) Schema ¶
func (d *ViewDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ViewResource ¶
type ViewResource struct {
// contains filtered or unexported fields
}
ViewResource defines the resource implementation.
func (*ViewResource) Configure ¶
func (r *ViewResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ViewResource) Create ¶
func (r *ViewResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ViewResource) Delete ¶
func (r *ViewResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ViewResource) ImportState ¶
func (r *ViewResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ViewResource) Metadata ¶
func (r *ViewResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ViewResource) Read ¶
func (r *ViewResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ViewResource) Schema ¶
func (r *ViewResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ViewResource) Update ¶
func (r *ViewResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Source Files ¶
- api_acl_data_source.go
- api_acl_resource.go
- api_auth_nsg_data_source.go
- api_auth_nsg_resource.go
- api_auth_zone_data_source.go
- api_auth_zone_resource.go
- api_delegation_data_source.go
- api_delegation_resource.go
- api_forward_nsg_data_source.go
- api_forward_nsg_resource.go
- api_forward_zone_data_source.go
- api_forward_zone_resource.go
- api_host_data_source.go
- api_host_resource.go
- api_server_data_source.go
- api_server_resource.go
- api_view_data_source.go
- api_view_resource.go
- default_acl_plan_modifier.go
- model_auth_zone_external_provider.go
- model_config_acl.go
- model_config_acl_item.go
- model_config_auth_nsg.go
- model_config_auth_zone.go
- model_config_auth_zone_config.go
- model_config_auth_zone_inheritance.go
- model_config_custom_root_ns_block.go
- model_config_delegation.go
- model_config_delegation_server.go
- model_config_display_view.go
- model_config_dnssec_validation_block.go
- model_config_dtc_config.go
- model_config_ecs_block.go
- model_config_ecs_zone.go
- model_config_external_primary.go
- model_config_external_secondary.go
- model_config_forward_nsg.go
- model_config_forward_zone.go
- model_config_forwarder.go
- model_config_forwarders_block.go
- model_config_host_associated_server.go
- model_config_host_inheritance.go
- model_config_inherited_acl_items.go
- model_config_inherited_custom_root_ns_block.go
- model_config_inherited_dnssec_validation_block.go
- model_config_inherited_dtc_config.go
- model_config_inherited_ecs_block.go
- model_config_inherited_forwarders_block.go
- model_config_inherited_kerberos_keys.go
- model_config_inherited_sort_list_items.go
- model_config_inherited_zone_authority.go
- model_config_inherited_zone_authority_m_name_block.go
- model_config_internal_secondary.go
- model_config_kerberos_key.go
- model_config_root_ns.go
- model_config_server.go
- model_config_server_inheritance.go
- model_config_sort_list_item.go
- model_config_trust_anchor.go
- model_config_tsig_key.go
- model_config_view.go
- model_config_view_inheritance.go
- model_config_warning.go
- model_config_zone_authority.go
- model_config_zone_authority_m_name_block.go
- model_inheritance2_assigned_host.go
- model_inheritance2_inherited_bool.go
- model_inheritance2_inherited_string.go
- model_inheritance2_inherited_u_int32.go