highbond_interpretation (Resource)

Example Usage

resource "highbond_interpretation" "main" {
  title         = "Interpretation from go"
  table_id      = highbond_table.main.id
  force_updates = true // Create only with force update changes
  raw           = <<EOS
{
  "formatVersion": "1.16",
  "control_test_id": "${highbond_table.main.id}",
  "filterConfig": {
    "filtersOpen": false,
    "myRecords": false,
    "openStatuses": true
  },
  "tableConfig": {
    "columns": [
      {
        "fieldName": "metadata.priority",
        "visible": true
      },
      {
        "fieldName": "metadata.status",
        "visible": true
      },
      {
        "fieldName": "metadata.publish_date",
        "visible": true
      },
      {
        "fieldName": "metadata.publisher",
        "visible": true
      },
      {
        "fieldName": "metadata.assignee",
        "visible": true
      },
      {
        "fieldName": "metadata.group",
        "visible": true
      },
      {
        "fieldName": "metadata.updated_at",
        "visible": true
      },
      {
        "fieldName": "metadata.closed_at",
        "visible": true
      },
      {
        "fieldName": "Camera",
        "visible": true
      },
      {
        "fieldName": "Time Triggered",
        "visible": true
      },
      {
        "fieldName": "Color",
        "visible": true
      },
      {
        "fieldName": "Motion",
        "visible": true
      },
      {
        "fieldName": "Objects",
        "visible": true
      },
      {
        "fieldName": "Event Link",
        "visible": true
      }
    ],
    "formatting": {}
  },
  "visualizationConfig": {
    "colorMapping": {}
  },
  "visualizationInfo": {
    "title": "Interpretation without params",
    "summary": "",
    "currentTabIndex": 0,
    "linkLatestTable": false,
    "selectedVizId": null,
    "tableName": "Table from go"
  },
  "visualizations": []
}

EOS
}

Schema

Required

  • raw (String) A JSON string storing the configurations of an interpretation. See the response sample for details
  • table_id (Number) The ID of the Table
  • title (String) The name of the interpretation

Optional

  • default (Boolean) Specifies if the interpretation is the default interpretation for the table
  • force_updates (Boolean) Allows overriding top-level 'create_only' option.

Read-Only

  • created_at (String) The date the interpretation was created
  • id (String) The ID of this resource.
  • updated_at (String) The date the interpretation was updated