Documentation ¶
Index ¶
- Constants
- Variables
- func ExpandDataRecordInheritance(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsdata.RecordInheritance
- func ExpandInheritance2InheritedUInt32(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsdata.Inheritance2InheritedUInt32
- func FlattenDataRecordInheritance(ctx context.Context, from *dnsdata.RecordInheritance, diags *diag.Diagnostics) types.Object
- func FlattenInheritance2InheritedUInt32(ctx context.Context, from *dnsdata.Inheritance2InheritedUInt32, ...) types.Object
- func NewRecordAAAADataSource() datasource.DataSource
- func NewRecordAAAAResource() resource.Resource
- func NewRecordADataSource() datasource.DataSource
- func NewRecordAResource() resource.Resource
- func NewRecordCAADataSource() datasource.DataSource
- func NewRecordCAAResource() resource.Resource
- func NewRecordCNAMEDataSource() datasource.DataSource
- func NewRecordCNAMEResource() resource.Resource
- func NewRecordDNAMEDataSource() datasource.DataSource
- func NewRecordDNAMEResource() resource.Resource
- func NewRecordGenericDataSource() datasource.DataSource
- func NewRecordGenericResource() resource.Resource
- func NewRecordHTTPSDataSource() datasource.DataSource
- func NewRecordHTTPSResource() resource.Resource
- func NewRecordMXDataSource() datasource.DataSource
- func NewRecordMXResource() resource.Resource
- func NewRecordNAPTRDataSource() datasource.DataSource
- func NewRecordNAPTRResource() resource.Resource
- func NewRecordNSDataSource() datasource.DataSource
- func NewRecordNSResource() resource.Resource
- func NewRecordPTRDataSource() datasource.DataSource
- func NewRecordPTRResource() resource.Resource
- func NewRecordSRVDataSource() datasource.DataSource
- func NewRecordSRVResource() resource.Resource
- func NewRecordSVCBDataSource() datasource.DataSource
- func NewRecordSVCBResource() resource.Resource
- func NewRecordTXTDataSource() datasource.DataSource
- func NewRecordTXTResource() resource.Resource
- type DataRecordInheritanceModel
- type DataRecordModelWithFilter
- type Inheritance2InheritedUInt32Model
- type RecordDataSource
- func (d *RecordDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *RecordDataSource) FlattenDataRecord(ctx context.Context, from *dnsdata.Record, diags *diag.Diagnostics) types.Object
- func (d *RecordDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *RecordDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *RecordDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type RecordResource
- func (r *RecordResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *RecordResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *RecordResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *RecordResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *RecordResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *RecordResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *RecordResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *RecordResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
View Source
const ( // RecordOperationTimeout is the maximum amount of time to wait for eventual consistency RecordOperationTimeout = 2 * time.Minute )
Variables ¶
View Source
var DataRecordInheritanceAttrTypes = map[string]attr.Type{ "ttl": types.ObjectType{AttrTypes: Inheritance2InheritedUInt32AttrTypes}, }
View Source
var DataRecordInheritanceResourceSchemaAttributes = map[string]schema.Attribute{ "ttl": schema.SingleNestedAttribute{ Attributes: Inheritance2InheritedUInt32ResourceSchemaAttributes, Optional: true, Computed: true, }, }
View Source
var Inheritance2InheritedUInt32AttrTypes = map[string]attr.Type{ "action": types.StringType, "display_name": types.StringType, "source": types.StringType, "value": types.Int64Type, }
View Source
var Inheritance2InheritedUInt32ResourceSchemaAttributes = map[string]schema.Attribute{ "action": schema.StringAttribute{ Optional: true, Computed: true, MarkdownDescription: "The inheritance setting for a field. Valid values are:\n" + " * _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 ExpandDataRecordInheritance ¶
func ExpandDataRecordInheritance(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsdata.RecordInheritance
func ExpandInheritance2InheritedUInt32 ¶
func ExpandInheritance2InheritedUInt32(ctx context.Context, o types.Object, diags *diag.Diagnostics) *dnsdata.Inheritance2InheritedUInt32
func FlattenDataRecordInheritance ¶
func FlattenDataRecordInheritance(ctx context.Context, from *dnsdata.RecordInheritance, diags *diag.Diagnostics) types.Object
func FlattenInheritance2InheritedUInt32 ¶
func FlattenInheritance2InheritedUInt32(ctx context.Context, from *dnsdata.Inheritance2InheritedUInt32, diags *diag.Diagnostics) types.Object
func NewRecordAAAADataSource ¶
func NewRecordAAAADataSource() datasource.DataSource
func NewRecordAAAAResource ¶
func NewRecordADataSource ¶
func NewRecordADataSource() datasource.DataSource
func NewRecordAResource ¶
func NewRecordCAADataSource ¶
func NewRecordCAADataSource() datasource.DataSource
func NewRecordCAAResource ¶
func NewRecordCNAMEDataSource ¶
func NewRecordCNAMEDataSource() datasource.DataSource
func NewRecordCNAMEResource ¶
func NewRecordDNAMEDataSource ¶
func NewRecordDNAMEDataSource() datasource.DataSource
func NewRecordDNAMEResource ¶
func NewRecordGenericDataSource ¶
func NewRecordGenericDataSource() datasource.DataSource
func NewRecordHTTPSDataSource ¶
func NewRecordHTTPSDataSource() datasource.DataSource
func NewRecordHTTPSResource ¶
func NewRecordMXDataSource ¶
func NewRecordMXDataSource() datasource.DataSource
func NewRecordMXResource ¶
func NewRecordNAPTRDataSource ¶
func NewRecordNAPTRDataSource() datasource.DataSource
func NewRecordNAPTRResource ¶
func NewRecordNSDataSource ¶
func NewRecordNSDataSource() datasource.DataSource
func NewRecordNSResource ¶
func NewRecordPTRDataSource ¶
func NewRecordPTRDataSource() datasource.DataSource
func NewRecordPTRResource ¶
func NewRecordSRVDataSource ¶
func NewRecordSRVDataSource() datasource.DataSource
func NewRecordSRVResource ¶
func NewRecordSVCBDataSource ¶
func NewRecordSVCBDataSource() datasource.DataSource
func NewRecordSVCBResource ¶
func NewRecordTXTDataSource ¶
func NewRecordTXTDataSource() datasource.DataSource
func NewRecordTXTResource ¶
Types ¶
type DataRecordInheritanceModel ¶
func (*DataRecordInheritanceModel) Expand ¶
func (m *DataRecordInheritanceModel) Expand(ctx context.Context, diags *diag.Diagnostics) *dnsdata.RecordInheritance
func (*DataRecordInheritanceModel) Flatten ¶
func (m *DataRecordInheritanceModel) Flatten(ctx context.Context, from *dnsdata.RecordInheritance, 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) *dnsdata.Inheritance2InheritedUInt32
func (*Inheritance2InheritedUInt32Model) Flatten ¶
func (m *Inheritance2InheritedUInt32Model) Flatten(ctx context.Context, from *dnsdata.Inheritance2InheritedUInt32, diags *diag.Diagnostics)
type RecordDataSource ¶
type RecordDataSource struct {
// contains filtered or unexported fields
}
RecordDataSource defines the data source implementation.
func (*RecordDataSource) Configure ¶
func (d *RecordDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*RecordDataSource) FlattenDataRecord ¶
func (d *RecordDataSource) FlattenDataRecord(ctx context.Context, from *dnsdata.Record, diags *diag.Diagnostics) types.Object
func (*RecordDataSource) Metadata ¶
func (d *RecordDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*RecordDataSource) Read ¶
func (d *RecordDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*RecordDataSource) Schema ¶
func (d *RecordDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type RecordResource ¶
type RecordResource struct {
// contains filtered or unexported fields
}
RecordResource defines the resource implementation.
func (*RecordResource) Configure ¶
func (r *RecordResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*RecordResource) Create ¶
func (r *RecordResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*RecordResource) Delete ¶
func (r *RecordResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*RecordResource) ImportState ¶
func (r *RecordResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*RecordResource) Metadata ¶
func (r *RecordResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*RecordResource) Read ¶
func (r *RecordResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*RecordResource) Schema ¶
func (r *RecordResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*RecordResource) Update ¶
func (r *RecordResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Source Files ¶
- api_record_data_source.go
- api_record_resource.go
- model_data_record.go
- model_data_record_inheritance.go
- model_inheritance2_inherited_u_int32.go
- record_a.go
- record_aaaa.go
- record_caa.go
- record_cname.go
- record_dname.go
- record_generic.go
- record_https.go
- record_implementor.go
- record_mx.go
- record_naptr.go
- record_ns.go
- record_ptr.go
- record_srv.go
- record_svcb.go
- record_txt.go
Click to show internal directories.
Click to hide internal directories.