Documentation
¶
Index ¶
- func New(version string) func() provider.Provider
- func NewEntityDataSource() datasource.DataSource
- func NewHostRecordDataSource() datasource.DataSource
- func NewHostRecordResource() resource.Resource
- func NewIP4AddressDataSource() datasource.DataSource
- func NewIP4AddressResource() resource.Resource
- func NewIP4AvailableNetworkResource() resource.Resource
- func NewIP4BlockResource() resource.Resource
- func NewIP4NBRDataSource() datasource.DataSource
- func NewIP4NetworkDataSource() datasource.DataSource
- func NewIP4NetworkResource() resource.Resource
- func NewRand(seed string) *rand.Rand
- type EntityDataSourceModel
- type HostRecordDataSource
- func (d *HostRecordDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *HostRecordDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *HostRecordDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *HostRecordDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type HostRecordDataSourceModel
- type HostRecordModel
- type HostRecordResource
- func (r *HostRecordResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *HostRecordResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *HostRecordResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *HostRecordResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *HostRecordResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *HostRecordResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *HostRecordResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *HostRecordResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type HostRecordResourceModel
- type IP4AddressDataSource
- func (d *IP4AddressDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *IP4AddressDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *IP4AddressDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *IP4AddressDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type IP4AddressDataSourceModel
- type IP4AddressModel
- type IP4AddressResource
- func (r *IP4AddressResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *IP4AddressResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *IP4AddressResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *IP4AddressResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *IP4AddressResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *IP4AddressResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *IP4AddressResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *IP4AddressResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type IP4AddressResourceModel
- type IP4AvailableNetworkResource
- func (r *IP4AvailableNetworkResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *IP4AvailableNetworkResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *IP4AvailableNetworkResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *IP4AvailableNetworkResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *IP4AvailableNetworkResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *IP4AvailableNetworkResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *IP4AvailableNetworkResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *IP4AvailableNetworkResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type IP4AvailableNetworkResourceModel
- type IP4BlockModel
- type IP4BlockResource
- func (r *IP4BlockResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *IP4BlockResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *IP4BlockResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *IP4BlockResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *IP4BlockResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *IP4BlockResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *IP4BlockResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *IP4BlockResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r IP4BlockResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type IP4BlockResourceModel
- type IP4NBRDataSource
- func (d *IP4NBRDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *IP4NBRDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *IP4NBRDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *IP4NBRDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type IP4NBRDataSourceModel
- type IP4NetworkDataSource
- func (d *IP4NetworkDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *IP4NetworkDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *IP4NetworkDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *IP4NetworkDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type IP4NetworkDataSourceModel
- type IP4NetworkModel
- type IP4NetworkResource
- func (r *IP4NetworkResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *IP4NetworkResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *IP4NetworkResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *IP4NetworkResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *IP4NetworkResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *IP4NetworkResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *IP4NetworkResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *IP4NetworkResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r IP4NetworkResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type IP4NetworkResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEntityDataSource ¶ added in v0.4.0
func NewEntityDataSource() datasource.DataSource
func NewHostRecordDataSource ¶ added in v0.4.0
func NewHostRecordDataSource() datasource.DataSource
func NewHostRecordResource ¶ added in v0.4.0
func NewIP4AddressDataSource ¶ added in v0.4.0
func NewIP4AddressDataSource() datasource.DataSource
func NewIP4AddressResource ¶ added in v0.4.0
func NewIP4AvailableNetworkResource ¶ added in v0.4.0
func NewIP4BlockResource ¶ added in v0.5.0
func NewIP4NBRDataSource ¶ added in v0.4.0
func NewIP4NBRDataSource() datasource.DataSource
func NewIP4NetworkDataSource ¶ added in v0.4.0
func NewIP4NetworkDataSource() datasource.DataSource
func NewIP4NetworkResource ¶ added in v0.4.0
Types ¶
type EntityDataSourceModel ¶ added in v0.4.0
type EntityDataSourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` ParentID types.Int64 `tfsdk:"parent_id"` Properties types.String `tfsdk:"properties"` }
ExampleDataSourceModel describes the data source data model.
type HostRecordDataSource ¶ added in v0.4.0
type HostRecordDataSource struct {
// contains filtered or unexported fields
}
HostRecordDataSource defines the data source implementation.
func (*HostRecordDataSource) Configure ¶ added in v0.4.0
func (d *HostRecordDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*HostRecordDataSource) Metadata ¶ added in v0.4.0
func (d *HostRecordDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*HostRecordDataSource) Read ¶ added in v0.4.0
func (d *HostRecordDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*HostRecordDataSource) Schema ¶ added in v0.4.0
func (d *HostRecordDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type HostRecordDataSourceModel ¶ added in v0.4.0
type HostRecordDataSourceModel struct { ID types.String `tfsdk:"id"` AbsoluteName types.String `tfsdk:"absolute_name"` Addresses types.Set `tfsdk:"addresses"` AddressIDs types.Set `tfsdk:"address_ids"` UserDefinedFields types.Map `tfsdk:"user_defined_fields"` Name types.String `tfsdk:"name"` ParentID types.Int64 `tfsdk:"parent_id"` ParentType types.String `tfsdk:"parent_type"` Properties types.String `tfsdk:"properties"` ReverseRecord types.Bool `tfsdk:"reverse_record"` TTL types.Int64 `tfsdk:"ttl"` Type types.String `tfsdk:"type"` }
HostRecordDataSourceModel describes the data source data model.
type HostRecordModel ¶ added in v0.4.1
type HostRecordModel struct { // These are exposed via the entity properties field for objects of type IP4Network TTL types.Int64 AbsoluteName types.String Addresses types.Set ReverseRecord types.Bool // these are user defined fields that are not built-in UserDefinedFields types.Map // these are returned by the API but do not appear in the documentation AddressIDs types.Set // these are returned by the API with a hint based search but do not appear in the documentation ParentID types.Int64 ParentType types.String }
HostRecordModel describes the data model the built-in properties for a Host Record object.
type HostRecordResource ¶ added in v0.4.0
type HostRecordResource struct {
// contains filtered or unexported fields
}
HostRecordResource defines the resource implementation.
func (*HostRecordResource) Configure ¶ added in v0.4.0
func (r *HostRecordResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*HostRecordResource) Create ¶ added in v0.4.0
func (r *HostRecordResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*HostRecordResource) Delete ¶ added in v0.4.0
func (r *HostRecordResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*HostRecordResource) ImportState ¶ added in v0.4.0
func (r *HostRecordResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*HostRecordResource) Metadata ¶ added in v0.4.0
func (r *HostRecordResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*HostRecordResource) Read ¶ added in v0.4.0
func (r *HostRecordResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*HostRecordResource) Schema ¶ added in v0.4.0
func (r *HostRecordResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*HostRecordResource) Update ¶ added in v0.4.0
func (r *HostRecordResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type HostRecordResourceModel ¶ added in v0.4.0
type HostRecordResourceModel struct { // These are exposed for a generic entity object in bluecat ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` Properties types.String `tfsdk:"properties"` // These are exposed via the entity properties field for objects of type IP4Address TTL types.Int64 `tfsdk:"ttl"` AbsoluteName types.String `tfsdk:"absolute_name"` Addresses types.Set `tfsdk:"addresses"` ReverseRecord types.Bool `tfsdk:"reverse_record"` // this is returned by the API but do not appear in the documentation AddressIDs types.Set `tfsdk:"address_ids"` // these are user defined fields that are not built-in UserDefinedFields types.Map `tfsdk:"user_defined_fields"` // These fields are only used for creation DNSZone types.String `tfsdk:"dns_zone"` ViewID types.Int64 `tfsdk:"view_id"` }
HostRecordResourceModel describes the resource data model.
type IP4AddressDataSource ¶ added in v0.4.0
type IP4AddressDataSource struct {
// contains filtered or unexported fields
}
IP4AddressDataSource defines the data source implementation.
func (*IP4AddressDataSource) Configure ¶ added in v0.4.0
func (d *IP4AddressDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*IP4AddressDataSource) Metadata ¶ added in v0.4.0
func (d *IP4AddressDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*IP4AddressDataSource) Read ¶ added in v0.4.0
func (d *IP4AddressDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*IP4AddressDataSource) Schema ¶ added in v0.4.0
func (d *IP4AddressDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type IP4AddressDataSourceModel ¶ added in v0.4.0
type IP4AddressDataSourceModel struct { // These are exposed for a generic entity object in bluecat ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` Properties types.String `tfsdk:"properties"` // This is used to help find the IP4Address ContainerID types.Int64 `tfsdk:"container_id"` // These are exposed via the entity properties field for objects of type IP4Address Address types.String `tfsdk:"address"` State types.String `tfsdk:"state"` MACAddress types.String `tfsdk:"mac_address"` RouterPortInfo types.String `tfsdk:"router_port_info"` SwitchPortInfo types.String `tfsdk:"switch_port_info"` VLANInfo types.String `tfsdk:"vlan_info"` LeaseTime types.String `tfsdk:"lease_time"` ExpiryTime types.String `tfsdk:"expiry_time"` ParameterRequestList types.String `tfsdk:"parameter_request_list"` VendorClassIdentifier types.String `tfsdk:"vendor_class_identifier"` LocationCode types.String `tfsdk:"location_code"` LocationInherited types.Bool `tfsdk:"location_inherited"` // these are user defined fields that are not built-in UserDefinedFields types.Map `tfsdk:"user_defined_fields"` }
IP4AddressDataSourceModel describes the data source data model.
type IP4AddressModel ¶ added in v0.4.1
type IP4AddressModel struct { // These are exposed via the entity properties field for objects of type IP4Network Address types.String State types.String MACAddress types.String RouterPortInfo types.String SwitchPortInfo types.String VLANInfo types.String LeaseTime types.String ExpiryTime types.String ParameterRequestList types.String VendorClassIdentifier types.String LocationCode types.String LocationInherited types.Bool // these are user defined fields that are not built-in UserDefinedFields types.Map }
IP4AddressModel describes the data model the built-in properties for an IP4Address object.
type IP4AddressResource ¶ added in v0.4.0
type IP4AddressResource struct {
// contains filtered or unexported fields
}
IP4AddressResource defines the resource implementation.
func (*IP4AddressResource) Configure ¶ added in v0.4.0
func (r *IP4AddressResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*IP4AddressResource) Create ¶ added in v0.4.0
func (r *IP4AddressResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*IP4AddressResource) Delete ¶ added in v0.4.0
func (r *IP4AddressResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*IP4AddressResource) ImportState ¶ added in v0.4.0
func (r *IP4AddressResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*IP4AddressResource) Metadata ¶ added in v0.4.0
func (r *IP4AddressResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*IP4AddressResource) Read ¶ added in v0.4.0
func (r *IP4AddressResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*IP4AddressResource) Schema ¶ added in v0.4.0
func (r *IP4AddressResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*IP4AddressResource) Update ¶ added in v0.4.0
func (r *IP4AddressResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type IP4AddressResourceModel ¶ added in v0.4.0
type IP4AddressResourceModel struct { // These are exposed for a generic entity object in bluecat ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` Properties types.String `tfsdk:"properties"` // These are exposed via the entity properties field for objects of type IP4Address Address types.String `tfsdk:"address"` State types.String `tfsdk:"state"` MACAddress types.String `tfsdk:"mac_address"` RouterPortInfo types.String `tfsdk:"router_port_info"` SwitchPortInfo types.String `tfsdk:"switch_port_info"` VLANInfo types.String `tfsdk:"vlan_info"` LeaseTime types.String `tfsdk:"lease_time"` ExpiryTime types.String `tfsdk:"expiry_time"` ParameterRequestList types.String `tfsdk:"parameter_request_list"` VendorClassIdentifier types.String `tfsdk:"vendor_class_identifier"` LocationCode types.String `tfsdk:"location_code"` LocationInherited types.Bool `tfsdk:"location_inherited"` // these are user defined fields that are not built-in UserDefinedFields types.Map `tfsdk:"user_defined_fields"` // These fields are only used for creation Action types.String `tfsdk:"action"` ConfigurationID types.Int64 `tfsdk:"configuration_id"` ParentID types.Int64 `tfsdk:"parent_id"` }
IP4AddressResourceModel describes the resource data model.
type IP4AvailableNetworkResource ¶ added in v0.4.0
type IP4AvailableNetworkResource struct {
// contains filtered or unexported fields
}
IP4AvailableNetworkResource defines the resource implementation.
func (*IP4AvailableNetworkResource) Configure ¶ added in v0.4.0
func (r *IP4AvailableNetworkResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*IP4AvailableNetworkResource) Create ¶ added in v0.4.0
func (r *IP4AvailableNetworkResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*IP4AvailableNetworkResource) Delete ¶ added in v0.4.0
func (r *IP4AvailableNetworkResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*IP4AvailableNetworkResource) ImportState ¶ added in v0.4.0
func (r *IP4AvailableNetworkResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*IP4AvailableNetworkResource) Metadata ¶ added in v0.4.0
func (r *IP4AvailableNetworkResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*IP4AvailableNetworkResource) Read ¶ added in v0.4.0
func (r *IP4AvailableNetworkResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*IP4AvailableNetworkResource) Schema ¶ added in v0.4.0
func (r *IP4AvailableNetworkResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*IP4AvailableNetworkResource) Update ¶ added in v0.4.0
func (r *IP4AvailableNetworkResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type IP4AvailableNetworkResourceModel ¶ added in v0.4.0
type IP4AvailableNetworkResourceModel struct { ID types.String `tfsdk:"id"` NetworkIDList types.List `tfsdk:"network_id_list"` Keepers types.Map `tfsdk:"keepers"` Random types.Bool `tfsdk:"random"` Seed types.String `tfsdk:"seed"` NetworkID types.Int64 `tfsdk:"network_id"` }
IP4AvailableNetworkResourceModel describes the resource data model.
type IP4BlockModel ¶ added in v0.5.0
type IP4BlockModel struct { // These are exposed via the entity properties field for objects of type IP4Block CIDR types.String DefaultDomains types.Set Start types.String End types.String DefaultView types.Int64 DNSRestrictions types.Set AllowDuplicateHost types.Bool PingBeforeAssign types.Bool InheritAllowDuplicateHost types.Bool InheritPingBeforeAssign types.Bool InheritDNSRestrictions types.Bool InheritDefaultDomains types.Bool InheritDefaultView types.Bool LocationCode types.String LocationInherited types.Bool // these are user defined fields that are not built-in UserDefinedFields types.Map }
IP4BlockModel describes the data model the built-in properties for an IP4Block object.
type IP4BlockResource ¶ added in v0.5.0
type IP4BlockResource struct {
// contains filtered or unexported fields
}
IP4BlockResource defines the resource implementation.
func (*IP4BlockResource) Configure ¶ added in v0.5.0
func (r *IP4BlockResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*IP4BlockResource) Create ¶ added in v0.5.0
func (r *IP4BlockResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*IP4BlockResource) Delete ¶ added in v0.5.0
func (r *IP4BlockResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*IP4BlockResource) ImportState ¶ added in v0.5.0
func (r *IP4BlockResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*IP4BlockResource) Metadata ¶ added in v0.5.0
func (r *IP4BlockResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*IP4BlockResource) Read ¶ added in v0.5.0
func (r *IP4BlockResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*IP4BlockResource) Schema ¶ added in v0.5.0
func (r *IP4BlockResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*IP4BlockResource) Update ¶ added in v0.5.0
func (r *IP4BlockResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (IP4BlockResource) ValidateConfig ¶ added in v0.5.0
func (r IP4BlockResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
type IP4BlockResourceModel ¶ added in v0.5.0
type IP4BlockResourceModel struct { // These are exposed for a generic entity object in bluecat ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` Properties types.String `tfsdk:"properties"` // These are exposed via the entity properties field for objects of type IP4Block CIDR types.String `tfsdk:"cidr"` DefaultDomains types.Set `tfsdk:"default_domains"` Start types.String `tfsdk:"start"` End types.String `tfsdk:"end"` DefaultView types.Int64 `tfsdk:"default_view"` DNSRestrictions types.Set `tfsdk:"dns_restrictions"` AllowDuplicateHost types.Bool `tfsdk:"allow_duplicate_host"` PingBeforeAssign types.Bool `tfsdk:"ping_before_assign"` InheritAllowDuplicateHost types.Bool `tfsdk:"inherit_allow_duplicate_host"` InheritPingBeforeAssign types.Bool `tfsdk:"inherit_ping_before_assign"` InheritDNSRestrictions types.Bool `tfsdk:"inherit_dns_restrictions"` InheritDefaultDomains types.Bool `tfsdk:"inherit_default_domains"` InheritDefaultView types.Bool `tfsdk:"inherit_default_view"` LocationCode types.String `tfsdk:"location_code"` LocationInherited types.Bool `tfsdk:"location_inherited"` // these are user defined fields that are not built-in UserDefinedFields types.Map `tfsdk:"user_defined_fields"` // These fields are only used for creation IsLargerAllowed types.Bool `tfsdk:"is_larger_allowed"` ParentID types.Int64 `tfsdk:"parent_id"` Size types.Int64 `tfsdk:"size"` TraversalMethod types.String `tfsdk:"traversal_method"` }
IP4BlockResourceModel describes the resource data model.
type IP4NBRDataSource ¶ added in v0.4.0
type IP4NBRDataSource struct {
// contains filtered or unexported fields
}
IP4NBRDataSource defines the data source implementation.
func (*IP4NBRDataSource) Configure ¶ added in v0.4.0
func (d *IP4NBRDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*IP4NBRDataSource) Metadata ¶ added in v0.4.0
func (d *IP4NBRDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*IP4NBRDataSource) Read ¶ added in v0.4.0
func (d *IP4NBRDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*IP4NBRDataSource) Schema ¶ added in v0.4.0
func (d *IP4NBRDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type IP4NBRDataSourceModel ¶ added in v0.4.0
type IP4NBRDataSourceModel struct { ID types.String `tfsdk:"id"` Address types.String `tfsdk:"address"` ContainerID types.Int64 `tfsdk:"container_id"` Type types.String `tfsdk:"type"` AddressesFree types.Int64 `tfsdk:"addresses_free"` AddressesInUse types.Int64 `tfsdk:"addresses_in_use"` AllowDuplicateHost types.String `tfsdk:"allow_duplicate_host"` CIDR types.String `tfsdk:"cidr"` CustomProperties types.Map `tfsdk:"custom_properties"` DefaultDomains types.Set `tfsdk:"default_domains"` DefaultView types.Int64 `tfsdk:"default_view"` DNSRestrictions types.Set `tfsdk:"dns_restrictions"` Gateway types.String `tfsdk:"gateway"` InheritAllowDuplicateHost types.Bool `tfsdk:"inherit_allow_duplicate_host"` InheritDefaultDomains types.Bool `tfsdk:"inherit_default_domains"` InheritDefaultView types.Bool `tfsdk:"inherit_default_view"` InheritDNSRestrictions types.Bool `tfsdk:"inherit_dns_restrictions"` InheritPingBeforeAssign types.Bool `tfsdk:"inherit_ping_before_assign"` LocationCode types.String `tfsdk:"location_code"` LocationInherited types.Bool `tfsdk:"location_inherited"` Name types.String `tfsdk:"name"` PingBeforeAssign types.String `tfsdk:"ping_before_assign"` Properties types.String `tfsdk:"properties"` Template types.Int64 `tfsdk:"template"` }
IP4NBRDataSourceModel describes the data source data model.
type IP4NetworkDataSource ¶ added in v0.4.0
type IP4NetworkDataSource struct {
// contains filtered or unexported fields
}
IP4NetworkDataSource defines the data source implementation.
func (*IP4NetworkDataSource) Configure ¶ added in v0.4.0
func (d *IP4NetworkDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*IP4NetworkDataSource) Metadata ¶ added in v0.4.0
func (d *IP4NetworkDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*IP4NetworkDataSource) Read ¶ added in v0.4.0
func (d *IP4NetworkDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*IP4NetworkDataSource) Schema ¶ added in v0.4.0
func (d *IP4NetworkDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type IP4NetworkDataSourceModel ¶ added in v0.4.0
type IP4NetworkDataSourceModel struct { // These are exposed for a generic entity object in bluecat ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` Properties types.String `tfsdk:"properties"` // These are exposed via the entity properties field for objects of type IP4Network CIDR types.String `tfsdk:"cidr"` Template types.Int64 `tfsdk:"template"` Gateway types.String `tfsdk:"gateway"` DefaultDomains types.Set `tfsdk:"default_domains"` DefaultView types.Int64 `tfsdk:"default_view"` DNSRestrictions types.Set `tfsdk:"dns_restrictions"` AllowDuplicateHost types.Bool `tfsdk:"allow_duplicate_host"` PingBeforeAssign types.Bool `tfsdk:"ping_before_assign"` InheritAllowDuplicateHost types.Bool `tfsdk:"inherit_allow_duplicate_host"` InheritPingBeforeAssign types.Bool `tfsdk:"inherit_ping_before_assign"` InheritDNSRestrictions types.Bool `tfsdk:"inherit_dns_restrictions"` InheritDefaultDomains types.Bool `tfsdk:"inherit_default_domains"` InheritDefaultView types.Bool `tfsdk:"inherit_default_view"` LocationCode types.String `tfsdk:"location_code"` LocationInherited types.Bool `tfsdk:"location_inherited"` // these are user defined fields that are not built-in UserDefinedFields types.Map `tfsdk:"user_defined_fields"` // these exist only for the data source to find the network ContainerID types.Int64 `tfsdk:"container_id"` Hint types.String `tfsdk:"hint"` }
IP4NetworkDataSourceModel describes the data source data model.
type IP4NetworkModel ¶ added in v0.4.1
type IP4NetworkModel struct { // These are exposed via the entity properties field for objects of type IP4Network CIDR types.String Template types.Int64 Gateway types.String DefaultDomains types.Set DefaultView types.Int64 DNSRestrictions types.Set AllowDuplicateHost types.Bool PingBeforeAssign types.Bool InheritAllowDuplicateHost types.Bool InheritPingBeforeAssign types.Bool InheritDNSRestrictions types.Bool InheritDefaultDomains types.Bool InheritDefaultView types.Bool LocationCode types.String LocationInherited types.Bool // these are user defined fields that are not built-in UserDefinedFields types.Map }
IP4NetworkModel describes the data model the built-in properties for an IP4Network object.
type IP4NetworkResource ¶ added in v0.4.0
type IP4NetworkResource struct {
// contains filtered or unexported fields
}
IP4NetworkResource defines the resource implementation.
func (*IP4NetworkResource) Configure ¶ added in v0.4.0
func (r *IP4NetworkResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*IP4NetworkResource) Create ¶ added in v0.4.0
func (r *IP4NetworkResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*IP4NetworkResource) Delete ¶ added in v0.4.0
func (r *IP4NetworkResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*IP4NetworkResource) ImportState ¶ added in v0.4.0
func (r *IP4NetworkResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*IP4NetworkResource) Metadata ¶ added in v0.4.0
func (r *IP4NetworkResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*IP4NetworkResource) Read ¶ added in v0.4.0
func (r *IP4NetworkResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*IP4NetworkResource) Schema ¶ added in v0.4.0
func (r *IP4NetworkResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*IP4NetworkResource) Update ¶ added in v0.4.0
func (r *IP4NetworkResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (IP4NetworkResource) ValidateConfig ¶ added in v0.4.1
func (r IP4NetworkResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
type IP4NetworkResourceModel ¶ added in v0.4.0
type IP4NetworkResourceModel struct { // These are exposed for a generic entity object in bluecat ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` Properties types.String `tfsdk:"properties"` // These are exposed via the entity properties field for objects of type IP4Network CIDR types.String `tfsdk:"cidr"` Template types.Int64 `tfsdk:"template"` Gateway types.String `tfsdk:"gateway"` DefaultDomains types.Set `tfsdk:"default_domains"` DefaultView types.Int64 `tfsdk:"default_view"` DNSRestrictions types.Set `tfsdk:"dns_restrictions"` AllowDuplicateHost types.Bool `tfsdk:"allow_duplicate_host"` PingBeforeAssign types.Bool `tfsdk:"ping_before_assign"` InheritAllowDuplicateHost types.Bool `tfsdk:"inherit_allow_duplicate_host"` InheritPingBeforeAssign types.Bool `tfsdk:"inherit_ping_before_assign"` InheritDNSRestrictions types.Bool `tfsdk:"inherit_dns_restrictions"` InheritDefaultDomains types.Bool `tfsdk:"inherit_default_domains"` InheritDefaultView types.Bool `tfsdk:"inherit_default_view"` LocationCode types.String `tfsdk:"location_code"` LocationInherited types.Bool `tfsdk:"location_inherited"` // these are user defined fields that are not built-in UserDefinedFields types.Map `tfsdk:"user_defined_fields"` // These fields are only used for creation IsLargerAllowed types.Bool `tfsdk:"is_larger_allowed"` ParentID types.Int64 `tfsdk:"parent_id"` Size types.Int64 `tfsdk:"size"` TraversalMethod types.String `tfsdk:"traversal_method"` }
IP4NetworkResourceModel describes the resource data model.