highbond_analysis (Data Source)
Schema
Required
collection_id | Number | The ID of the Collection. |
name | String | The name of the analysis. |
Optional
id | String | The ID of this resource. |
Read-Only
analyses | List of Object | List of Analysis | ||||||||||||||||||
Nested Schema for `analyses`Read-Only
| ||||||||||||||||||||
is_available | Boolean |
Example Usage
//Sample 1
resource "highbond_collection" "main" {
name = "Collection Name"
}
resource "highbond_analysis" "main" {
name = "Analysis Name"
collection_id = highbond_collection.main.id
}
data "highbond_analysis" "example" {
name = highbond_analysis.main.name
collection_id = highbond_collection.main.id
}
//Sample 2
data "highbond_collection" "example" {
name = "example"
}
data "highbond_analysis" "example" {
name = highbond_analysis.main.name
collection_id = data.highbond_collection.example.collection[0].id
}
// We can access this datasource value as below: data.highbond_analysis.example.analyses[0].id