Skip to main content
Version: Latest Version (2.9.1)

highbond_asset_relationship (Resource)

Schema

Required

asset_idString The ID of the asset
asset_type_idString The ID of the asset type
field_nameString The field name of the label used in this relationship, as defined in the ad hoc attribute type
label_field_nameString The field name of the label used in this relationship, as defined in the ad hoc attribute type
object_container_idString The ID of either the asset type of the target asset, or the record type of the target asset record
object_container_typeString The ID of either the asset type of the target asset, or the record type of the target asset record
object_idString The ID of the target asset or asset record
object_typeString The type of the target object; either assets or records

Optional

idString The ID of this resource.

Read-Only

nameString The display name of the label used in this relationship
object_nameString The name of the target asset or asset record

Example Usage

resource "highbond_asset_relationship" "main" {
asset_id = highbond_asset.main.id
asset_type_id = highbond_asset_type.main.id
field_name = highbond_attribute_type.adhoc.field_name
object_id = highbond_asset_record.main.id
object_type = "records"
object_container_id = highbond_asset_record_type.main.id
object_container_type = "record_types"
label_field_name = highbond_attribute_type.adhoc.type_options.0.labels.0.field_name
}