splight.DashboardTimeseriesChart
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as splight from "@splightplatform/pulumi-splight";
const assetTest = new splight.Asset("assetTest", {
    description: "Created with Terraform",
    timezone: "America/Los_Angeles",
    geometry: JSON.stringify({
        type: "GeometryCollection",
        geometries: [],
    }),
});
const attributeTest1 = new splight.AssetAttribute("attributeTest1", {
    type: "Number",
    unit: "meters",
    asset: assetTest.id,
});
const attributeTest2 = new splight.AssetAttribute("attributeTest2", {
    type: "Number",
    unit: "seconds",
    asset: assetTest.id,
});
const dashboardTest = new splight.Dashboard("dashboardTest", {relatedAssets: []});
const dashboardTabTest = new splight.DashboardTab("dashboardTabTest", {
    order: 0,
    dashboard: dashboardTest.id,
});
const dashboardChartTest = new splight.DashboardTimeseriesChart("dashboardChartTest", {
    tab: dashboardTabTest.id,
    timestampGte: "now - 7d",
    timestampLte: "now",
    description: "Chart description",
    minHeight: 1,
    minWidth: 4,
    displayTimeRange: true,
    labelsDisplay: true,
    labelsAggregation: "last",
    labelsPlacement: "bottom",
    showBeyondData: true,
    height: 10,
    width: 20,
    collection: "default",
    yAxisMaxLimit: 100,
    yAxisMinLimit: 0,
    yAxisUnit: "kW",
    numberOfDecimals: 4,
    xAxisFormat: "MM-dd HH:mm",
    xAxisAutoSkip: true,
    xAxisMaxTicksLimit: undefined,
    lineInterpolationStyle: "rounded",
    timeseriesType: "bar",
    fill: true,
    showLine: true,
    chartItems: [
        {
            refId: "A",
            type: "QUERY",
            color: "red",
            expressionPlain: "",
            queryFilterAsset: {
                id: assetTest.id,
                name: assetTest.name,
            },
            queryFilterAttribute: {
                id: attributeTest1.id,
                name: attributeTest1.name,
            },
            queryPlain: pulumi.jsonStringify([
                {
                    $match: {
                        asset: assetTest.id,
                        attribute: attributeTest1.id,
                    },
                },
                {
                    $addFields: {
                        timestamp: {
                            $dateTrunc: {
                                date: "$timestamp",
                                unit: "day",
                                binSize: 1,
                            },
                        },
                    },
                },
                {
                    $group: {
                        _id: "$timestamp",
                        value: {
                            $last: "$value",
                        },
                        timestamp: {
                            $last: "$timestamp",
                        },
                    },
                },
            ]),
        },
        {
            refId: "B",
            color: "blue",
            type: "QUERY",
            expressionPlain: "",
            queryFilterAsset: {
                id: assetTest.id,
                name: assetTest.name,
            },
            queryFilterAttribute: {
                id: attributeTest2.id,
                name: attributeTest2.name,
            },
            queryPlain: pulumi.jsonStringify([
                {
                    $match: {
                        asset: assetTest.id,
                        attribute: attributeTest2.id,
                    },
                },
                {
                    $addFields: {
                        timestamp: {
                            $dateTrunc: {
                                date: "$timestamp",
                                unit: "hour",
                                binSize: 1,
                            },
                        },
                    },
                },
                {
                    $group: {
                        _id: "$timestamp",
                        value: {
                            $last: "$value",
                        },
                        timestamp: {
                            $last: "$timestamp",
                        },
                    },
                },
            ]),
        },
    ],
    thresholds: [{
        color: "#00edcf",
        displayText: "T1Test",
        value: 13.1,
    }],
    valueMappings: [{
        displayText: "MODIFICADO",
        matchValue: "123.3",
        type: "exact_match",
        order: 0,
    }],
});
import pulumi
import json
import pulumi_splight as splight
asset_test = splight.Asset("assetTest",
    description="Created with Terraform",
    timezone="America/Los_Angeles",
    geometry=json.dumps({
        "type": "GeometryCollection",
        "geometries": [],
    }))
attribute_test1 = splight.AssetAttribute("attributeTest1",
    type="Number",
    unit="meters",
    asset=asset_test.id)
attribute_test2 = splight.AssetAttribute("attributeTest2",
    type="Number",
    unit="seconds",
    asset=asset_test.id)
dashboard_test = splight.Dashboard("dashboardTest", related_assets=[])
dashboard_tab_test = splight.DashboardTab("dashboardTabTest",
    order=0,
    dashboard=dashboard_test.id)
dashboard_chart_test = splight.DashboardTimeseriesChart("dashboardChartTest",
    tab=dashboard_tab_test.id,
    timestamp_gte="now - 7d",
    timestamp_lte="now",
    description="Chart description",
    min_height=1,
    min_width=4,
    display_time_range=True,
    labels_display=True,
    labels_aggregation="last",
    labels_placement="bottom",
    show_beyond_data=True,
    height=10,
    width=20,
    collection="default",
    y_axis_max_limit=100,
    y_axis_min_limit=0,
    y_axis_unit="kW",
    number_of_decimals=4,
    x_axis_format="MM-dd HH:mm",
    x_axis_auto_skip=True,
    x_axis_max_ticks_limit=None,
    line_interpolation_style="rounded",
    timeseries_type="bar",
    fill=True,
    show_line=True,
    chart_items=[
        {
            "ref_id": "A",
            "type": "QUERY",
            "color": "red",
            "expression_plain": "",
            "query_filter_asset": {
                "id": asset_test.id,
                "name": asset_test.name,
            },
            "query_filter_attribute": {
                "id": attribute_test1.id,
                "name": attribute_test1.name,
            },
            "query_plain": pulumi.Output.json_dumps([
                {
                    "_match": {
                        "asset": asset_test.id,
                        "attribute": attribute_test1.id,
                    },
                },
                {
                    "$addFields": {
                        "timestamp": {
                            "$dateTrunc": {
                                "date": "$timestamp",
                                "unit": "day",
                                "binSize": 1,
                            },
                        },
                    },
                },
                {
                    "$group": {
                        "_id": "$timestamp",
                        "value": {
                            "$last": "$value",
                        },
                        "timestamp": {
                            "$last": "$timestamp",
                        },
                    },
                },
            ]),
        },
        {
            "ref_id": "B",
            "color": "blue",
            "type": "QUERY",
            "expression_plain": "",
            "query_filter_asset": {
                "id": asset_test.id,
                "name": asset_test.name,
            },
            "query_filter_attribute": {
                "id": attribute_test2.id,
                "name": attribute_test2.name,
            },
            "query_plain": pulumi.Output.json_dumps([
                {
                    "_match": {
                        "asset": asset_test.id,
                        "attribute": attribute_test2.id,
                    },
                },
                {
                    "$addFields": {
                        "timestamp": {
                            "$dateTrunc": {
                                "date": "$timestamp",
                                "unit": "hour",
                                "binSize": 1,
                            },
                        },
                    },
                },
                {
                    "$group": {
                        "_id": "$timestamp",
                        "value": {
                            "$last": "$value",
                        },
                        "timestamp": {
                            "$last": "$timestamp",
                        },
                    },
                },
            ]),
        },
    ],
    thresholds=[{
        "color": "#00edcf",
        "display_text": "T1Test",
        "value": 13.1,
    }],
    value_mappings=[{
        "display_text": "MODIFICADO",
        "match_value": "123.3",
        "type": "exact_match",
        "order": 0,
    }])
package main
import (
	"encoding/json"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/splightplatform/pulumi-splight/sdk/go/splight"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"type":       "GeometryCollection",
			"geometries": []interface{}{},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		assetTest, err := splight.NewAsset(ctx, "assetTest", &splight.AssetArgs{
			Description: pulumi.String("Created with Terraform"),
			Timezone:    pulumi.String("America/Los_Angeles"),
			Geometry:    pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		attributeTest1, err := splight.NewAssetAttribute(ctx, "attributeTest1", &splight.AssetAttributeArgs{
			Type:  pulumi.String("Number"),
			Unit:  pulumi.String("meters"),
			Asset: assetTest.ID(),
		})
		if err != nil {
			return err
		}
		attributeTest2, err := splight.NewAssetAttribute(ctx, "attributeTest2", &splight.AssetAttributeArgs{
			Type:  pulumi.String("Number"),
			Unit:  pulumi.String("seconds"),
			Asset: assetTest.ID(),
		})
		if err != nil {
			return err
		}
		dashboardTest, err := splight.NewDashboard(ctx, "dashboardTest", &splight.DashboardArgs{
			RelatedAssets: splight.DashboardRelatedAssetArray{},
		})
		if err != nil {
			return err
		}
		dashboardTabTest, err := splight.NewDashboardTab(ctx, "dashboardTabTest", &splight.DashboardTabArgs{
			Order:     pulumi.Int(0),
			Dashboard: dashboardTest.ID(),
		})
		if err != nil {
			return err
		}
		_, err = splight.NewDashboardTimeseriesChart(ctx, "dashboardChartTest", &splight.DashboardTimeseriesChartArgs{
			Tab:                    dashboardTabTest.ID(),
			TimestampGte:           pulumi.String("now - 7d"),
			TimestampLte:           pulumi.String("now"),
			Description:            pulumi.String("Chart description"),
			MinHeight:              pulumi.Int(1),
			MinWidth:               pulumi.Int(4),
			DisplayTimeRange:       pulumi.Bool(true),
			LabelsDisplay:          pulumi.Bool(true),
			LabelsAggregation:      pulumi.String("last"),
			LabelsPlacement:        pulumi.String("bottom"),
			ShowBeyondData:         pulumi.Bool(true),
			Height:                 pulumi.Int(10),
			Width:                  pulumi.Int(20),
			Collection:             pulumi.String("default"),
			YAxisMaxLimit:          pulumi.Int(100),
			YAxisMinLimit:          pulumi.Int(0),
			YAxisUnit:              pulumi.String("kW"),
			NumberOfDecimals:       pulumi.Int(4),
			XAxisFormat:            pulumi.String("MM-dd HH:mm"),
			XAxisAutoSkip:          pulumi.Bool(true),
			XAxisMaxTicksLimit:     nil,
			LineInterpolationStyle: pulumi.String("rounded"),
			TimeseriesType:         pulumi.String("bar"),
			Fill:                   pulumi.Bool(true),
			ShowLine:               pulumi.Bool(true),
			ChartItems: splight.DashboardTimeseriesChartChartItemArray{
				&splight.DashboardTimeseriesChartChartItemArgs{
					RefId:           pulumi.String("A"),
					Type:            pulumi.String("QUERY"),
					Color:           pulumi.String("red"),
					ExpressionPlain: pulumi.String(""),
					QueryFilterAsset: &splight.DashboardTimeseriesChartChartItemQueryFilterAssetArgs{
						Id:   assetTest.ID(),
						Name: assetTest.Name,
					},
					QueryFilterAttribute: &splight.DashboardTimeseriesChartChartItemQueryFilterAttributeArgs{
						Id:   attributeTest1.ID(),
						Name: attributeTest1.Name,
					},
					QueryPlain: pulumi.All(assetTest.ID(), attributeTest1.ID()).ApplyT(func(_args []interface{}) (string, error) {
						assetTestId := _args[0].(string)
						attributeTest1Id := _args[1].(string)
						var _zero string
						tmpJSON1, err := json.Marshal([]interface{}{
							map[string]interface{}{
								"$match": map[string]interface{}{
									"asset":     assetTestId,
									"attribute": attributeTest1Id,
								},
							},
							map[string]interface{}{
								"$addFields": map[string]interface{}{
									"timestamp": map[string]interface{}{
										"$dateTrunc": map[string]interface{}{
											"date":    "$timestamp",
											"unit":    "day",
											"binSize": 1,
										},
									},
								},
							},
							map[string]interface{}{
								"$group": map[string]interface{}{
									"_id": "$timestamp",
									"value": map[string]interface{}{
										"$last": "$value",
									},
									"timestamp": map[string]interface{}{
										"$last": "$timestamp",
									},
								},
							},
						})
						if err != nil {
							return _zero, err
						}
						json1 := string(tmpJSON1)
						return json1, nil
					}).(pulumi.StringOutput),
				},
				&splight.DashboardTimeseriesChartChartItemArgs{
					RefId:           pulumi.String("B"),
					Color:           pulumi.String("blue"),
					Type:            pulumi.String("QUERY"),
					ExpressionPlain: pulumi.String(""),
					QueryFilterAsset: &splight.DashboardTimeseriesChartChartItemQueryFilterAssetArgs{
						Id:   assetTest.ID(),
						Name: assetTest.Name,
					},
					QueryFilterAttribute: &splight.DashboardTimeseriesChartChartItemQueryFilterAttributeArgs{
						Id:   attributeTest2.ID(),
						Name: attributeTest2.Name,
					},
					QueryPlain: pulumi.All(assetTest.ID(), attributeTest2.ID()).ApplyT(func(_args []interface{}) (string, error) {
						assetTestId := _args[0].(string)
						attributeTest2Id := _args[1].(string)
						var _zero string
						tmpJSON2, err := json.Marshal([]interface{}{
							map[string]interface{}{
								"$match": map[string]interface{}{
									"asset":     assetTestId,
									"attribute": attributeTest2Id,
								},
							},
							map[string]interface{}{
								"$addFields": map[string]interface{}{
									"timestamp": map[string]interface{}{
										"$dateTrunc": map[string]interface{}{
											"date":    "$timestamp",
											"unit":    "hour",
											"binSize": 1,
										},
									},
								},
							},
							map[string]interface{}{
								"$group": map[string]interface{}{
									"_id": "$timestamp",
									"value": map[string]interface{}{
										"$last": "$value",
									},
									"timestamp": map[string]interface{}{
										"$last": "$timestamp",
									},
								},
							},
						})
						if err != nil {
							return _zero, err
						}
						json2 := string(tmpJSON2)
						return json2, nil
					}).(pulumi.StringOutput),
				},
			},
			Thresholds: splight.DashboardTimeseriesChartThresholdArray{
				&splight.DashboardTimeseriesChartThresholdArgs{
					Color:       pulumi.String("#00edcf"),
					DisplayText: pulumi.String("T1Test"),
					Value:       pulumi.Float64(13.1),
				},
			},
			ValueMappings: splight.DashboardTimeseriesChartValueMappingArray{
				&splight.DashboardTimeseriesChartValueMappingArgs{
					DisplayText: pulumi.String("MODIFICADO"),
					MatchValue:  pulumi.String("123.3"),
					Type:        pulumi.String("exact_match"),
					Order:       pulumi.Int(0),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Splight = Splight.Splight;
return await Deployment.RunAsync(() => 
{
    var assetTest = new Splight.Asset("assetTest", new()
    {
        Description = "Created with Terraform",
        Timezone = "America/Los_Angeles",
        Geometry = JsonSerializer.Serialize(new Dictionary<string, object?>
        {
            ["type"] = "GeometryCollection",
            ["geometries"] = new[]
            {
            },
        }),
    });
    var attributeTest1 = new Splight.AssetAttribute("attributeTest1", new()
    {
        Type = "Number",
        Unit = "meters",
        Asset = assetTest.Id,
    });
    var attributeTest2 = new Splight.AssetAttribute("attributeTest2", new()
    {
        Type = "Number",
        Unit = "seconds",
        Asset = assetTest.Id,
    });
    var dashboardTest = new Splight.Dashboard("dashboardTest", new()
    {
        RelatedAssets = new[] {},
    });
    var dashboardTabTest = new Splight.DashboardTab("dashboardTabTest", new()
    {
        Order = 0,
        Dashboard = dashboardTest.Id,
    });
    var dashboardChartTest = new Splight.DashboardTimeseriesChart("dashboardChartTest", new()
    {
        Tab = dashboardTabTest.Id,
        TimestampGte = "now - 7d",
        TimestampLte = "now",
        Description = "Chart description",
        MinHeight = 1,
        MinWidth = 4,
        DisplayTimeRange = true,
        LabelsDisplay = true,
        LabelsAggregation = "last",
        LabelsPlacement = "bottom",
        ShowBeyondData = true,
        Height = 10,
        Width = 20,
        Collection = "default",
        YAxisMaxLimit = 100,
        YAxisMinLimit = 0,
        YAxisUnit = "kW",
        NumberOfDecimals = 4,
        XAxisFormat = "MM-dd HH:mm",
        XAxisAutoSkip = true,
        XAxisMaxTicksLimit = null,
        LineInterpolationStyle = "rounded",
        TimeseriesType = "bar",
        Fill = true,
        ShowLine = true,
        ChartItems = new[]
        {
            new Splight.Inputs.DashboardTimeseriesChartChartItemArgs
            {
                RefId = "A",
                Type = "QUERY",
                Color = "red",
                ExpressionPlain = "",
                QueryFilterAsset = new Splight.Inputs.DashboardTimeseriesChartChartItemQueryFilterAssetArgs
                {
                    Id = assetTest.Id,
                    Name = assetTest.Name,
                },
                QueryFilterAttribute = new Splight.Inputs.DashboardTimeseriesChartChartItemQueryFilterAttributeArgs
                {
                    Id = attributeTest1.Id,
                    Name = attributeTest1.Name,
                },
                QueryPlain = Output.JsonSerialize(Output.Create(new[]
                {
                    new Dictionary<string, object?>
                    {
                        ["$match"] = new Dictionary<string, object?>
                        {
                            ["asset"] = assetTest.Id,
                            ["attribute"] = attributeTest1.Id,
                        },
                    },
                    new Dictionary<string, object?>
                    {
                        ["$addFields"] = new Dictionary<string, object?>
                        {
                            ["timestamp"] = new Dictionary<string, object?>
                            {
                                ["$dateTrunc"] = new Dictionary<string, object?>
                                {
                                    ["date"] = "$timestamp",
                                    ["unit"] = "day",
                                    ["binSize"] = 1,
                                },
                            },
                        },
                    },
                    new Dictionary<string, object?>
                    {
                        ["$group"] = new Dictionary<string, object?>
                        {
                            ["_id"] = "$timestamp",
                            ["value"] = new Dictionary<string, object?>
                            {
                                ["$last"] = "$value",
                            },
                            ["timestamp"] = new Dictionary<string, object?>
                            {
                                ["$last"] = "$timestamp",
                            },
                        },
                    },
                })),
            },
            new Splight.Inputs.DashboardTimeseriesChartChartItemArgs
            {
                RefId = "B",
                Color = "blue",
                Type = "QUERY",
                ExpressionPlain = "",
                QueryFilterAsset = new Splight.Inputs.DashboardTimeseriesChartChartItemQueryFilterAssetArgs
                {
                    Id = assetTest.Id,
                    Name = assetTest.Name,
                },
                QueryFilterAttribute = new Splight.Inputs.DashboardTimeseriesChartChartItemQueryFilterAttributeArgs
                {
                    Id = attributeTest2.Id,
                    Name = attributeTest2.Name,
                },
                QueryPlain = Output.JsonSerialize(Output.Create(new[]
                {
                    new Dictionary<string, object?>
                    {
                        ["$match"] = new Dictionary<string, object?>
                        {
                            ["asset"] = assetTest.Id,
                            ["attribute"] = attributeTest2.Id,
                        },
                    },
                    new Dictionary<string, object?>
                    {
                        ["$addFields"] = new Dictionary<string, object?>
                        {
                            ["timestamp"] = new Dictionary<string, object?>
                            {
                                ["$dateTrunc"] = new Dictionary<string, object?>
                                {
                                    ["date"] = "$timestamp",
                                    ["unit"] = "hour",
                                    ["binSize"] = 1,
                                },
                            },
                        },
                    },
                    new Dictionary<string, object?>
                    {
                        ["$group"] = new Dictionary<string, object?>
                        {
                            ["_id"] = "$timestamp",
                            ["value"] = new Dictionary<string, object?>
                            {
                                ["$last"] = "$value",
                            },
                            ["timestamp"] = new Dictionary<string, object?>
                            {
                                ["$last"] = "$timestamp",
                            },
                        },
                    },
                })),
            },
        },
        Thresholds = new[]
        {
            new Splight.Inputs.DashboardTimeseriesChartThresholdArgs
            {
                Color = "#00edcf",
                DisplayText = "T1Test",
                Value = 13.1,
            },
        },
        ValueMappings = new[]
        {
            new Splight.Inputs.DashboardTimeseriesChartValueMappingArgs
            {
                DisplayText = "MODIFICADO",
                MatchValue = "123.3",
                Type = "exact_match",
                Order = 0,
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.splight.Asset;
import com.pulumi.splight.AssetArgs;
import com.pulumi.splight.AssetAttribute;
import com.pulumi.splight.AssetAttributeArgs;
import com.pulumi.splight.Dashboard;
import com.pulumi.splight.DashboardArgs;
import com.pulumi.splight.DashboardTab;
import com.pulumi.splight.DashboardTabArgs;
import com.pulumi.splight.DashboardTimeseriesChart;
import com.pulumi.splight.DashboardTimeseriesChartArgs;
import com.pulumi.splight.inputs.DashboardTimeseriesChartChartItemArgs;
import com.pulumi.splight.inputs.DashboardTimeseriesChartChartItemQueryFilterAssetArgs;
import com.pulumi.splight.inputs.DashboardTimeseriesChartChartItemQueryFilterAttributeArgs;
import com.pulumi.splight.inputs.DashboardTimeseriesChartThresholdArgs;
import com.pulumi.splight.inputs.DashboardTimeseriesChartValueMappingArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var assetTest = new Asset("assetTest", AssetArgs.builder()
            .description("Created with Terraform")
            .timezone("America/Los_Angeles")
            .geometry(serializeJson(
                jsonObject(
                    jsonProperty("type", "GeometryCollection"),
                    jsonProperty("geometries", jsonArray(
                    ))
                )))
            .build());
        var attributeTest1 = new AssetAttribute("attributeTest1", AssetAttributeArgs.builder()
            .type("Number")
            .unit("meters")
            .asset(assetTest.id())
            .build());
        var attributeTest2 = new AssetAttribute("attributeTest2", AssetAttributeArgs.builder()
            .type("Number")
            .unit("seconds")
            .asset(assetTest.id())
            .build());
        var dashboardTest = new Dashboard("dashboardTest", DashboardArgs.builder()
            .relatedAssets()
            .build());
        var dashboardTabTest = new DashboardTab("dashboardTabTest", DashboardTabArgs.builder()
            .order(0)
            .dashboard(dashboardTest.id())
            .build());
        var dashboardChartTest = new DashboardTimeseriesChart("dashboardChartTest", DashboardTimeseriesChartArgs.builder()
            .tab(dashboardTabTest.id())
            .timestampGte("now - 7d")
            .timestampLte("now")
            .description("Chart description")
            .minHeight(1)
            .minWidth(4)
            .displayTimeRange(true)
            .labelsDisplay(true)
            .labelsAggregation("last")
            .labelsPlacement("bottom")
            .showBeyondData(true)
            .height(10)
            .width(20)
            .collection("default")
            .yAxisMaxLimit(100)
            .yAxisMinLimit(0)
            .yAxisUnit("kW")
            .numberOfDecimals(4)
            .xAxisFormat("MM-dd HH:mm")
            .xAxisAutoSkip(true)
            .xAxisMaxTicksLimit(null)
            .lineInterpolationStyle("rounded")
            .timeseriesType("bar")
            .fill(true)
            .showLine(true)
            .chartItems(            
                DashboardTimeseriesChartChartItemArgs.builder()
                    .refId("A")
                    .type("QUERY")
                    .color("red")
                    .expressionPlain("")
                    .queryFilterAsset(DashboardTimeseriesChartChartItemQueryFilterAssetArgs.builder()
                        .id(assetTest.id())
                        .name(assetTest.name())
                        .build())
                    .queryFilterAttribute(DashboardTimeseriesChartChartItemQueryFilterAttributeArgs.builder()
                        .id(attributeTest1.id())
                        .name(attributeTest1.name())
                        .build())
                    .queryPlain(Output.tuple(assetTest.id(), attributeTest1.id()).applyValue(values -> {
                        var assetTestId = values.t1;
                        var attributeTest1Id = values.t2;
                        return serializeJson(
                            jsonArray(
                                jsonObject(
                                    jsonProperty("$match", jsonObject(
                                        jsonProperty("asset", assetTestId),
                                        jsonProperty("attribute", attributeTest1Id)
                                    ))
                                ), 
                                jsonObject(
                                    jsonProperty("$addFields", jsonObject(
                                        jsonProperty("timestamp", jsonObject(
                                            jsonProperty("$dateTrunc", jsonObject(
                                                jsonProperty("date", "$timestamp"),
                                                jsonProperty("unit", "day"),
                                                jsonProperty("binSize", 1)
                                            ))
                                        ))
                                    ))
                                ), 
                                jsonObject(
                                    jsonProperty("$group", jsonObject(
                                        jsonProperty("_id", "$timestamp"),
                                        jsonProperty("value", jsonObject(
                                            jsonProperty("$last", "$value")
                                        )),
                                        jsonProperty("timestamp", jsonObject(
                                            jsonProperty("$last", "$timestamp")
                                        ))
                                    ))
                                )
                            ));
                    }))
                    .build(),
                DashboardTimeseriesChartChartItemArgs.builder()
                    .refId("B")
                    .color("blue")
                    .type("QUERY")
                    .expressionPlain("")
                    .queryFilterAsset(DashboardTimeseriesChartChartItemQueryFilterAssetArgs.builder()
                        .id(assetTest.id())
                        .name(assetTest.name())
                        .build())
                    .queryFilterAttribute(DashboardTimeseriesChartChartItemQueryFilterAttributeArgs.builder()
                        .id(attributeTest2.id())
                        .name(attributeTest2.name())
                        .build())
                    .queryPlain(Output.tuple(assetTest.id(), attributeTest2.id()).applyValue(values -> {
                        var assetTestId = values.t1;
                        var attributeTest2Id = values.t2;
                        return serializeJson(
                            jsonArray(
                                jsonObject(
                                    jsonProperty("$match", jsonObject(
                                        jsonProperty("asset", assetTestId),
                                        jsonProperty("attribute", attributeTest2Id)
                                    ))
                                ), 
                                jsonObject(
                                    jsonProperty("$addFields", jsonObject(
                                        jsonProperty("timestamp", jsonObject(
                                            jsonProperty("$dateTrunc", jsonObject(
                                                jsonProperty("date", "$timestamp"),
                                                jsonProperty("unit", "hour"),
                                                jsonProperty("binSize", 1)
                                            ))
                                        ))
                                    ))
                                ), 
                                jsonObject(
                                    jsonProperty("$group", jsonObject(
                                        jsonProperty("_id", "$timestamp"),
                                        jsonProperty("value", jsonObject(
                                            jsonProperty("$last", "$value")
                                        )),
                                        jsonProperty("timestamp", jsonObject(
                                            jsonProperty("$last", "$timestamp")
                                        ))
                                    ))
                                )
                            ));
                    }))
                    .build())
            .thresholds(DashboardTimeseriesChartThresholdArgs.builder()
                .color("#00edcf")
                .displayText("T1Test")
                .value(13.1)
                .build())
            .valueMappings(DashboardTimeseriesChartValueMappingArgs.builder()
                .displayText("MODIFICADO")
                .matchValue("123.3")
                .type("exact_match")
                .order(0)
                .build())
            .build());
    }
}
resources:
  assetTest:
    type: splight:Asset
    properties:
      description: Created with Terraform
      timezone: America/Los_Angeles
      geometry:
        fn::toJSON:
          type: GeometryCollection
          geometries: []
  attributeTest1:
    type: splight:AssetAttribute
    properties:
      type: Number
      unit: meters
      asset: ${assetTest.id}
  attributeTest2:
    type: splight:AssetAttribute
    properties:
      type: Number
      unit: seconds
      asset: ${assetTest.id}
  dashboardTest:
    type: splight:Dashboard
    properties:
      relatedAssets: []
  dashboardTabTest:
    type: splight:DashboardTab
    properties:
      order: 0
      dashboard: ${dashboardTest.id}
  dashboardChartTest:
    type: splight:DashboardTimeseriesChart
    properties:
      tab: ${dashboardTabTest.id}
      timestampGte: now - 7d
      timestampLte: now
      description: Chart description
      minHeight: 1
      minWidth: 4
      displayTimeRange: true
      labelsDisplay: true
      labelsAggregation: last
      labelsPlacement: bottom
      showBeyondData: true
      height: 10
      width: 20
      collection: default
      yAxisMaxLimit: 100
      yAxisMinLimit: 0
      yAxisUnit: kW
      numberOfDecimals: 4
      xAxisFormat: MM-dd HH:mm
      xAxisAutoSkip: true
      xAxisMaxTicksLimit: null
      lineInterpolationStyle: rounded
      timeseriesType: bar
      fill: true
      showLine: true
      chartItems:
        - refId: A
          type: QUERY
          color: red
          expressionPlain:
          queryFilterAsset:
            id: ${assetTest.id}
            name: ${assetTest.name}
          queryFilterAttribute:
            id: ${attributeTest1.id}
            name: ${attributeTest1.name}
          queryPlain:
            fn::toJSON:
              - $match:
                  asset: ${assetTest.id}
                  attribute: ${attributeTest1.id}
              - $addFields:
                  timestamp:
                    $dateTrunc:
                      date: $timestamp
                      unit: day
                      binSize: 1
              - $group:
                  _id: $timestamp
                  value:
                    $last: $value
                  timestamp:
                    $last: $timestamp
        - refId: B
          color: blue
          type: QUERY
          expressionPlain:
          queryFilterAsset:
            id: ${assetTest.id}
            name: ${assetTest.name}
          queryFilterAttribute:
            id: ${attributeTest2.id}
            name: ${attributeTest2.name}
          queryPlain:
            fn::toJSON:
              - $match:
                  asset: ${assetTest.id}
                  attribute: ${attributeTest2.id}
              - $addFields:
                  timestamp:
                    $dateTrunc:
                      date: $timestamp
                      unit: hour
                      binSize: 1
              - $group:
                  _id: $timestamp
                  value:
                    $last: $value
                  timestamp:
                    $last: $timestamp
      thresholds:
        - color: '#00edcf'
          displayText: T1Test
          value: 13.1
      valueMappings:
        - displayText: MODIFICADO
          matchValue: '123.3'
          type: exact_match
          order: 0
Create DashboardTimeseriesChart Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DashboardTimeseriesChart(name: string, args: DashboardTimeseriesChartArgs, opts?: CustomResourceOptions);@overload
def DashboardTimeseriesChart(resource_name: str,
                             args: DashboardTimeseriesChartArgs,
                             opts: Optional[ResourceOptions] = None)
@overload
def DashboardTimeseriesChart(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             chart_items: Optional[Sequence[DashboardTimeseriesChartChartItemArgs]] = None,
                             timestamp_lte: Optional[str] = None,
                             timestamp_gte: Optional[str] = None,
                             tab: Optional[str] = None,
                             labels_placement: Optional[str] = None,
                             show_line: Optional[bool] = None,
                             labels_aggregation: Optional[str] = None,
                             labels_display: Optional[bool] = None,
                             fill: Optional[bool] = None,
                             line_interpolation_style: Optional[str] = None,
                             min_height: Optional[int] = None,
                             min_width: Optional[int] = None,
                             name: Optional[str] = None,
                             number_of_decimals: Optional[int] = None,
                             position_x: Optional[int] = None,
                             position_y: Optional[int] = None,
                             refresh_interval: Optional[str] = None,
                             relative_window_time: Optional[str] = None,
                             show_beyond_data: Optional[bool] = None,
                             height: Optional[int] = None,
                             display_time_range: Optional[bool] = None,
                             thresholds: Optional[Sequence[DashboardTimeseriesChartThresholdArgs]] = None,
                             timeseries_type: Optional[str] = None,
                             description: Optional[str] = None,
                             collection: Optional[str] = None,
                             timezone: Optional[str] = None,
                             value_mappings: Optional[Sequence[DashboardTimeseriesChartValueMappingArgs]] = None,
                             width: Optional[int] = None,
                             x_axis_auto_skip: Optional[bool] = None,
                             x_axis_format: Optional[str] = None,
                             x_axis_max_ticks_limit: Optional[int] = None,
                             y_axis_max_limit: Optional[int] = None,
                             y_axis_min_limit: Optional[int] = None,
                             y_axis_unit: Optional[str] = None)func NewDashboardTimeseriesChart(ctx *Context, name string, args DashboardTimeseriesChartArgs, opts ...ResourceOption) (*DashboardTimeseriesChart, error)public DashboardTimeseriesChart(string name, DashboardTimeseriesChartArgs args, CustomResourceOptions? opts = null)
public DashboardTimeseriesChart(String name, DashboardTimeseriesChartArgs args)
public DashboardTimeseriesChart(String name, DashboardTimeseriesChartArgs args, CustomResourceOptions options)
type: splight:DashboardTimeseriesChart
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DashboardTimeseriesChartArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DashboardTimeseriesChartArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DashboardTimeseriesChartArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DashboardTimeseriesChartArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DashboardTimeseriesChartArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dashboardTimeseriesChartResource = new Splight.DashboardTimeseriesChart("dashboardTimeseriesChartResource", new()
{
    ChartItems = new[]
    {
        new Splight.Inputs.DashboardTimeseriesChartChartItemArgs
        {
            QueryPlain = "string",
            ExpressionPlain = "string",
            Type = "string",
            Color = "string",
            QueryFilterAsset = new Splight.Inputs.DashboardTimeseriesChartChartItemQueryFilterAssetArgs
            {
                Id = "string",
                Name = "string",
            },
            QueryFilterAttribute = new Splight.Inputs.DashboardTimeseriesChartChartItemQueryFilterAttributeArgs
            {
                Id = "string",
                Name = "string",
            },
            RefId = "string",
            Label = "string",
            QueryLimit = 0,
            QueryGroupUnit = "string",
            QuerySortDirection = 0,
            QueryGroupFunction = "string",
            Hidden = false,
        },
    },
    TimestampLte = "string",
    TimestampGte = "string",
    Tab = "string",
    LabelsPlacement = "string",
    ShowLine = false,
    LabelsAggregation = "string",
    LabelsDisplay = false,
    Fill = false,
    LineInterpolationStyle = "string",
    MinHeight = 0,
    MinWidth = 0,
    Name = "string",
    NumberOfDecimals = 0,
    PositionX = 0,
    PositionY = 0,
    RefreshInterval = "string",
    RelativeWindowTime = "string",
    ShowBeyondData = false,
    Height = 0,
    DisplayTimeRange = false,
    Thresholds = new[]
    {
        new Splight.Inputs.DashboardTimeseriesChartThresholdArgs
        {
            Color = "string",
            DisplayText = "string",
            Value = 0,
        },
    },
    TimeseriesType = "string",
    Description = "string",
    Collection = "string",
    Timezone = "string",
    ValueMappings = new[]
    {
        new Splight.Inputs.DashboardTimeseriesChartValueMappingArgs
        {
            DisplayText = "string",
            MatchValue = "string",
            Order = 0,
            Type = "string",
        },
    },
    Width = 0,
    XAxisAutoSkip = false,
    XAxisFormat = "string",
    XAxisMaxTicksLimit = 0,
    YAxisMaxLimit = 0,
    YAxisMinLimit = 0,
    YAxisUnit = "string",
});
example, err := splight.NewDashboardTimeseriesChart(ctx, "dashboardTimeseriesChartResource", &splight.DashboardTimeseriesChartArgs{
	ChartItems: splight.DashboardTimeseriesChartChartItemArray{
		&splight.DashboardTimeseriesChartChartItemArgs{
			QueryPlain:      pulumi.String("string"),
			ExpressionPlain: pulumi.String("string"),
			Type:            pulumi.String("string"),
			Color:           pulumi.String("string"),
			QueryFilterAsset: &splight.DashboardTimeseriesChartChartItemQueryFilterAssetArgs{
				Id:   pulumi.String("string"),
				Name: pulumi.String("string"),
			},
			QueryFilterAttribute: &splight.DashboardTimeseriesChartChartItemQueryFilterAttributeArgs{
				Id:   pulumi.String("string"),
				Name: pulumi.String("string"),
			},
			RefId:              pulumi.String("string"),
			Label:              pulumi.String("string"),
			QueryLimit:         pulumi.Int(0),
			QueryGroupUnit:     pulumi.String("string"),
			QuerySortDirection: pulumi.Int(0),
			QueryGroupFunction: pulumi.String("string"),
			Hidden:             pulumi.Bool(false),
		},
	},
	TimestampLte:           pulumi.String("string"),
	TimestampGte:           pulumi.String("string"),
	Tab:                    pulumi.String("string"),
	LabelsPlacement:        pulumi.String("string"),
	ShowLine:               pulumi.Bool(false),
	LabelsAggregation:      pulumi.String("string"),
	LabelsDisplay:          pulumi.Bool(false),
	Fill:                   pulumi.Bool(false),
	LineInterpolationStyle: pulumi.String("string"),
	MinHeight:              pulumi.Int(0),
	MinWidth:               pulumi.Int(0),
	Name:                   pulumi.String("string"),
	NumberOfDecimals:       pulumi.Int(0),
	PositionX:              pulumi.Int(0),
	PositionY:              pulumi.Int(0),
	RefreshInterval:        pulumi.String("string"),
	RelativeWindowTime:     pulumi.String("string"),
	ShowBeyondData:         pulumi.Bool(false),
	Height:                 pulumi.Int(0),
	DisplayTimeRange:       pulumi.Bool(false),
	Thresholds: splight.DashboardTimeseriesChartThresholdArray{
		&splight.DashboardTimeseriesChartThresholdArgs{
			Color:       pulumi.String("string"),
			DisplayText: pulumi.String("string"),
			Value:       pulumi.Float64(0),
		},
	},
	TimeseriesType: pulumi.String("string"),
	Description:    pulumi.String("string"),
	Collection:     pulumi.String("string"),
	Timezone:       pulumi.String("string"),
	ValueMappings: splight.DashboardTimeseriesChartValueMappingArray{
		&splight.DashboardTimeseriesChartValueMappingArgs{
			DisplayText: pulumi.String("string"),
			MatchValue:  pulumi.String("string"),
			Order:       pulumi.Int(0),
			Type:        pulumi.String("string"),
		},
	},
	Width:              pulumi.Int(0),
	XAxisAutoSkip:      pulumi.Bool(false),
	XAxisFormat:        pulumi.String("string"),
	XAxisMaxTicksLimit: pulumi.Int(0),
	YAxisMaxLimit:      pulumi.Int(0),
	YAxisMinLimit:      pulumi.Int(0),
	YAxisUnit:          pulumi.String("string"),
})
var dashboardTimeseriesChartResource = new DashboardTimeseriesChart("dashboardTimeseriesChartResource", DashboardTimeseriesChartArgs.builder()
    .chartItems(DashboardTimeseriesChartChartItemArgs.builder()
        .queryPlain("string")
        .expressionPlain("string")
        .type("string")
        .color("string")
        .queryFilterAsset(DashboardTimeseriesChartChartItemQueryFilterAssetArgs.builder()
            .id("string")
            .name("string")
            .build())
        .queryFilterAttribute(DashboardTimeseriesChartChartItemQueryFilterAttributeArgs.builder()
            .id("string")
            .name("string")
            .build())
        .refId("string")
        .label("string")
        .queryLimit(0)
        .queryGroupUnit("string")
        .querySortDirection(0)
        .queryGroupFunction("string")
        .hidden(false)
        .build())
    .timestampLte("string")
    .timestampGte("string")
    .tab("string")
    .labelsPlacement("string")
    .showLine(false)
    .labelsAggregation("string")
    .labelsDisplay(false)
    .fill(false)
    .lineInterpolationStyle("string")
    .minHeight(0)
    .minWidth(0)
    .name("string")
    .numberOfDecimals(0)
    .positionX(0)
    .positionY(0)
    .refreshInterval("string")
    .relativeWindowTime("string")
    .showBeyondData(false)
    .height(0)
    .displayTimeRange(false)
    .thresholds(DashboardTimeseriesChartThresholdArgs.builder()
        .color("string")
        .displayText("string")
        .value(0)
        .build())
    .timeseriesType("string")
    .description("string")
    .collection("string")
    .timezone("string")
    .valueMappings(DashboardTimeseriesChartValueMappingArgs.builder()
        .displayText("string")
        .matchValue("string")
        .order(0)
        .type("string")
        .build())
    .width(0)
    .xAxisAutoSkip(false)
    .xAxisFormat("string")
    .xAxisMaxTicksLimit(0)
    .yAxisMaxLimit(0)
    .yAxisMinLimit(0)
    .yAxisUnit("string")
    .build());
dashboard_timeseries_chart_resource = splight.DashboardTimeseriesChart("dashboardTimeseriesChartResource",
    chart_items=[{
        "query_plain": "string",
        "expression_plain": "string",
        "type": "string",
        "color": "string",
        "query_filter_asset": {
            "id": "string",
            "name": "string",
        },
        "query_filter_attribute": {
            "id": "string",
            "name": "string",
        },
        "ref_id": "string",
        "label": "string",
        "query_limit": 0,
        "query_group_unit": "string",
        "query_sort_direction": 0,
        "query_group_function": "string",
        "hidden": False,
    }],
    timestamp_lte="string",
    timestamp_gte="string",
    tab="string",
    labels_placement="string",
    show_line=False,
    labels_aggregation="string",
    labels_display=False,
    fill=False,
    line_interpolation_style="string",
    min_height=0,
    min_width=0,
    name="string",
    number_of_decimals=0,
    position_x=0,
    position_y=0,
    refresh_interval="string",
    relative_window_time="string",
    show_beyond_data=False,
    height=0,
    display_time_range=False,
    thresholds=[{
        "color": "string",
        "display_text": "string",
        "value": 0,
    }],
    timeseries_type="string",
    description="string",
    collection="string",
    timezone="string",
    value_mappings=[{
        "display_text": "string",
        "match_value": "string",
        "order": 0,
        "type": "string",
    }],
    width=0,
    x_axis_auto_skip=False,
    x_axis_format="string",
    x_axis_max_ticks_limit=0,
    y_axis_max_limit=0,
    y_axis_min_limit=0,
    y_axis_unit="string")
const dashboardTimeseriesChartResource = new splight.DashboardTimeseriesChart("dashboardTimeseriesChartResource", {
    chartItems: [{
        queryPlain: "string",
        expressionPlain: "string",
        type: "string",
        color: "string",
        queryFilterAsset: {
            id: "string",
            name: "string",
        },
        queryFilterAttribute: {
            id: "string",
            name: "string",
        },
        refId: "string",
        label: "string",
        queryLimit: 0,
        queryGroupUnit: "string",
        querySortDirection: 0,
        queryGroupFunction: "string",
        hidden: false,
    }],
    timestampLte: "string",
    timestampGte: "string",
    tab: "string",
    labelsPlacement: "string",
    showLine: false,
    labelsAggregation: "string",
    labelsDisplay: false,
    fill: false,
    lineInterpolationStyle: "string",
    minHeight: 0,
    minWidth: 0,
    name: "string",
    numberOfDecimals: 0,
    positionX: 0,
    positionY: 0,
    refreshInterval: "string",
    relativeWindowTime: "string",
    showBeyondData: false,
    height: 0,
    displayTimeRange: false,
    thresholds: [{
        color: "string",
        displayText: "string",
        value: 0,
    }],
    timeseriesType: "string",
    description: "string",
    collection: "string",
    timezone: "string",
    valueMappings: [{
        displayText: "string",
        matchValue: "string",
        order: 0,
        type: "string",
    }],
    width: 0,
    xAxisAutoSkip: false,
    xAxisFormat: "string",
    xAxisMaxTicksLimit: 0,
    yAxisMaxLimit: 0,
    yAxisMinLimit: 0,
    yAxisUnit: "string",
});
type: splight:DashboardTimeseriesChart
properties:
    chartItems:
        - color: string
          expressionPlain: string
          hidden: false
          label: string
          queryFilterAsset:
            id: string
            name: string
          queryFilterAttribute:
            id: string
            name: string
          queryGroupFunction: string
          queryGroupUnit: string
          queryLimit: 0
          queryPlain: string
          querySortDirection: 0
          refId: string
          type: string
    collection: string
    description: string
    displayTimeRange: false
    fill: false
    height: 0
    labelsAggregation: string
    labelsDisplay: false
    labelsPlacement: string
    lineInterpolationStyle: string
    minHeight: 0
    minWidth: 0
    name: string
    numberOfDecimals: 0
    positionX: 0
    positionY: 0
    refreshInterval: string
    relativeWindowTime: string
    showBeyondData: false
    showLine: false
    tab: string
    thresholds:
        - color: string
          displayText: string
          value: 0
    timeseriesType: string
    timestampGte: string
    timestampLte: string
    timezone: string
    valueMappings:
        - displayText: string
          matchValue: string
          order: 0
          type: string
    width: 0
    xAxisAutoSkip: false
    xAxisFormat: string
    xAxisMaxTicksLimit: 0
    yAxisMaxLimit: 0
    yAxisMinLimit: 0
    yAxisUnit: string
DashboardTimeseriesChart Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DashboardTimeseriesChart resource accepts the following input properties:
- ChartItems List<Splight.Splight. Inputs. Dashboard Timeseries Chart Chart Item> 
- chart traces to be included
- Tab string
- id for the tab where to place the chart
- TimestampGte string
- date in isoformat or shortcut string where to end reading
- TimestampLte string
- date in isoformat or shortcut string where to start reading
- Collection string
- Description string
- chart description
- DisplayTime boolRange 
- whether to display the time range or not
- Fill bool
- whether to fill the area under the curve or not
- Height int
- chart height in px
- LabelsAggregation string
- [last|avg|...] aggregation
- LabelsDisplay bool
- whether to display the labels or not
- LabelsPlacement string
- [right|bottom] placement
- LineInterpolation stringStyle 
- line interpolation style
- MinHeight int
- minimum chart height
- MinWidth int
- minimum chart width
- Name string
- name of the chart
- NumberOf intDecimals 
- number of decimals
- PositionX int
- chart x position
- PositionY int
- chart y position
- RefreshInterval string
- refresh interval
- RelativeWindow stringTime 
- relative window time
- ShowBeyond boolData 
- whether to show data which is beyond timestamp_lte or not
- ShowLine bool
- whether to show the line or not
- Thresholds
List<Splight.Splight. Inputs. Dashboard Timeseries Chart Threshold> 
- optional static lines to be added to the chart as references
- TimeseriesType string
- [line|bar] timeseries type
- Timezone string
- chart timezone
- ValueMappings List<Splight.Splight. Inputs. Dashboard Timeseries Chart Value Mapping> 
- optional mappings to transform data with rules
- Width int
- chart width in cols (max 20)
- XAxisAuto boolSkip 
- x axis auto skip
- XAxisFormat string
- x axis time format
- XAxisMax intTicks Limit 
- x axis max ticks limit
- YAxisMax intLimit 
- y axis max limit
- YAxisMin intLimit 
- y axis min limit
- YAxisUnit string
- y axis units
- ChartItems []DashboardTimeseries Chart Chart Item Args 
- chart traces to be included
- Tab string
- id for the tab where to place the chart
- TimestampGte string
- date in isoformat or shortcut string where to end reading
- TimestampLte string
- date in isoformat or shortcut string where to start reading
- Collection string
- Description string
- chart description
- DisplayTime boolRange 
- whether to display the time range or not
- Fill bool
- whether to fill the area under the curve or not
- Height int
- chart height in px
- LabelsAggregation string
- [last|avg|...] aggregation
- LabelsDisplay bool
- whether to display the labels or not
- LabelsPlacement string
- [right|bottom] placement
- LineInterpolation stringStyle 
- line interpolation style
- MinHeight int
- minimum chart height
- MinWidth int
- minimum chart width
- Name string
- name of the chart
- NumberOf intDecimals 
- number of decimals
- PositionX int
- chart x position
- PositionY int
- chart y position
- RefreshInterval string
- refresh interval
- RelativeWindow stringTime 
- relative window time
- ShowBeyond boolData 
- whether to show data which is beyond timestamp_lte or not
- ShowLine bool
- whether to show the line or not
- Thresholds
[]DashboardTimeseries Chart Threshold Args 
- optional static lines to be added to the chart as references
- TimeseriesType string
- [line|bar] timeseries type
- Timezone string
- chart timezone
- ValueMappings []DashboardTimeseries Chart Value Mapping Args 
- optional mappings to transform data with rules
- Width int
- chart width in cols (max 20)
- XAxisAuto boolSkip 
- x axis auto skip
- XAxisFormat string
- x axis time format
- XAxisMax intTicks Limit 
- x axis max ticks limit
- YAxisMax intLimit 
- y axis max limit
- YAxisMin intLimit 
- y axis min limit
- YAxisUnit string
- y axis units
- chartItems List<DashboardTimeseries Chart Chart Item> 
- chart traces to be included
- tab String
- id for the tab where to place the chart
- timestampGte String
- date in isoformat or shortcut string where to end reading
- timestampLte String
- date in isoformat or shortcut string where to start reading
- collection String
- description String
- chart description
- displayTime BooleanRange 
- whether to display the time range or not
- fill Boolean
- whether to fill the area under the curve or not
- height Integer
- chart height in px
- labelsAggregation String
- [last|avg|...] aggregation
- labelsDisplay Boolean
- whether to display the labels or not
- labelsPlacement String
- [right|bottom] placement
- lineInterpolation StringStyle 
- line interpolation style
- minHeight Integer
- minimum chart height
- minWidth Integer
- minimum chart width
- name String
- name of the chart
- numberOf IntegerDecimals 
- number of decimals
- positionX Integer
- chart x position
- positionY Integer
- chart y position
- refreshInterval String
- refresh interval
- relativeWindow StringTime 
- relative window time
- showBeyond BooleanData 
- whether to show data which is beyond timestamp_lte or not
- showLine Boolean
- whether to show the line or not
- thresholds
List<DashboardTimeseries Chart Threshold> 
- optional static lines to be added to the chart as references
- timeseriesType String
- [line|bar] timeseries type
- timezone String
- chart timezone
- valueMappings List<DashboardTimeseries Chart Value Mapping> 
- optional mappings to transform data with rules
- width Integer
- chart width in cols (max 20)
- xAxis BooleanAuto Skip 
- x axis auto skip
- xAxis StringFormat 
- x axis time format
- xAxis IntegerMax Ticks Limit 
- x axis max ticks limit
- yAxis IntegerMax Limit 
- y axis max limit
- yAxis IntegerMin Limit 
- y axis min limit
- yAxis StringUnit 
- y axis units
- chartItems DashboardTimeseries Chart Chart Item[] 
- chart traces to be included
- tab string
- id for the tab where to place the chart
- timestampGte string
- date in isoformat or shortcut string where to end reading
- timestampLte string
- date in isoformat or shortcut string where to start reading
- collection string
- description string
- chart description
- displayTime booleanRange 
- whether to display the time range or not
- fill boolean
- whether to fill the area under the curve or not
- height number
- chart height in px
- labelsAggregation string
- [last|avg|...] aggregation
- labelsDisplay boolean
- whether to display the labels or not
- labelsPlacement string
- [right|bottom] placement
- lineInterpolation stringStyle 
- line interpolation style
- minHeight number
- minimum chart height
- minWidth number
- minimum chart width
- name string
- name of the chart
- numberOf numberDecimals 
- number of decimals
- positionX number
- chart x position
- positionY number
- chart y position
- refreshInterval string
- refresh interval
- relativeWindow stringTime 
- relative window time
- showBeyond booleanData 
- whether to show data which is beyond timestamp_lte or not
- showLine boolean
- whether to show the line or not
- thresholds
DashboardTimeseries Chart Threshold[] 
- optional static lines to be added to the chart as references
- timeseriesType string
- [line|bar] timeseries type
- timezone string
- chart timezone
- valueMappings DashboardTimeseries Chart Value Mapping[] 
- optional mappings to transform data with rules
- width number
- chart width in cols (max 20)
- xAxis booleanAuto Skip 
- x axis auto skip
- xAxis stringFormat 
- x axis time format
- xAxis numberMax Ticks Limit 
- x axis max ticks limit
- yAxis numberMax Limit 
- y axis max limit
- yAxis numberMin Limit 
- y axis min limit
- yAxis stringUnit 
- y axis units
- chart_items Sequence[DashboardTimeseries Chart Chart Item Args] 
- chart traces to be included
- tab str
- id for the tab where to place the chart
- timestamp_gte str
- date in isoformat or shortcut string where to end reading
- timestamp_lte str
- date in isoformat or shortcut string where to start reading
- collection str
- description str
- chart description
- display_time_ boolrange 
- whether to display the time range or not
- fill bool
- whether to fill the area under the curve or not
- height int
- chart height in px
- labels_aggregation str
- [last|avg|...] aggregation
- labels_display bool
- whether to display the labels or not
- labels_placement str
- [right|bottom] placement
- line_interpolation_ strstyle 
- line interpolation style
- min_height int
- minimum chart height
- min_width int
- minimum chart width
- name str
- name of the chart
- number_of_ intdecimals 
- number of decimals
- position_x int
- chart x position
- position_y int
- chart y position
- refresh_interval str
- refresh interval
- relative_window_ strtime 
- relative window time
- show_beyond_ booldata 
- whether to show data which is beyond timestamp_lte or not
- show_line bool
- whether to show the line or not
- thresholds
Sequence[DashboardTimeseries Chart Threshold Args] 
- optional static lines to be added to the chart as references
- timeseries_type str
- [line|bar] timeseries type
- timezone str
- chart timezone
- value_mappings Sequence[DashboardTimeseries Chart Value Mapping Args] 
- optional mappings to transform data with rules
- width int
- chart width in cols (max 20)
- x_axis_ boolauto_ skip 
- x axis auto skip
- x_axis_ strformat 
- x axis time format
- x_axis_ intmax_ ticks_ limit 
- x axis max ticks limit
- y_axis_ intmax_ limit 
- y axis max limit
- y_axis_ intmin_ limit 
- y axis min limit
- y_axis_ strunit 
- y axis units
- chartItems List<Property Map>
- chart traces to be included
- tab String
- id for the tab where to place the chart
- timestampGte String
- date in isoformat or shortcut string where to end reading
- timestampLte String
- date in isoformat or shortcut string where to start reading
- collection String
- description String
- chart description
- displayTime BooleanRange 
- whether to display the time range or not
- fill Boolean
- whether to fill the area under the curve or not
- height Number
- chart height in px
- labelsAggregation String
- [last|avg|...] aggregation
- labelsDisplay Boolean
- whether to display the labels or not
- labelsPlacement String
- [right|bottom] placement
- lineInterpolation StringStyle 
- line interpolation style
- minHeight Number
- minimum chart height
- minWidth Number
- minimum chart width
- name String
- name of the chart
- numberOf NumberDecimals 
- number of decimals
- positionX Number
- chart x position
- positionY Number
- chart y position
- refreshInterval String
- refresh interval
- relativeWindow StringTime 
- relative window time
- showBeyond BooleanData 
- whether to show data which is beyond timestamp_lte or not
- showLine Boolean
- whether to show the line or not
- thresholds List<Property Map>
- optional static lines to be added to the chart as references
- timeseriesType String
- [line|bar] timeseries type
- timezone String
- chart timezone
- valueMappings List<Property Map>
- optional mappings to transform data with rules
- width Number
- chart width in cols (max 20)
- xAxis BooleanAuto Skip 
- x axis auto skip
- xAxis StringFormat 
- x axis time format
- xAxis NumberMax Ticks Limit 
- x axis max ticks limit
- yAxis NumberMax Limit 
- y axis max limit
- yAxis NumberMin Limit 
- y axis min limit
- yAxis StringUnit 
- y axis units
Outputs
All input properties are implicitly available as output properties. Additionally, the DashboardTimeseriesChart resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing DashboardTimeseriesChart Resource
Get an existing DashboardTimeseriesChart resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DashboardTimeseriesChartState, opts?: CustomResourceOptions): DashboardTimeseriesChart@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        chart_items: Optional[Sequence[DashboardTimeseriesChartChartItemArgs]] = None,
        collection: Optional[str] = None,
        description: Optional[str] = None,
        display_time_range: Optional[bool] = None,
        fill: Optional[bool] = None,
        height: Optional[int] = None,
        labels_aggregation: Optional[str] = None,
        labels_display: Optional[bool] = None,
        labels_placement: Optional[str] = None,
        line_interpolation_style: Optional[str] = None,
        min_height: Optional[int] = None,
        min_width: Optional[int] = None,
        name: Optional[str] = None,
        number_of_decimals: Optional[int] = None,
        position_x: Optional[int] = None,
        position_y: Optional[int] = None,
        refresh_interval: Optional[str] = None,
        relative_window_time: Optional[str] = None,
        show_beyond_data: Optional[bool] = None,
        show_line: Optional[bool] = None,
        tab: Optional[str] = None,
        thresholds: Optional[Sequence[DashboardTimeseriesChartThresholdArgs]] = None,
        timeseries_type: Optional[str] = None,
        timestamp_gte: Optional[str] = None,
        timestamp_lte: Optional[str] = None,
        timezone: Optional[str] = None,
        value_mappings: Optional[Sequence[DashboardTimeseriesChartValueMappingArgs]] = None,
        width: Optional[int] = None,
        x_axis_auto_skip: Optional[bool] = None,
        x_axis_format: Optional[str] = None,
        x_axis_max_ticks_limit: Optional[int] = None,
        y_axis_max_limit: Optional[int] = None,
        y_axis_min_limit: Optional[int] = None,
        y_axis_unit: Optional[str] = None) -> DashboardTimeseriesChartfunc GetDashboardTimeseriesChart(ctx *Context, name string, id IDInput, state *DashboardTimeseriesChartState, opts ...ResourceOption) (*DashboardTimeseriesChart, error)public static DashboardTimeseriesChart Get(string name, Input<string> id, DashboardTimeseriesChartState? state, CustomResourceOptions? opts = null)public static DashboardTimeseriesChart get(String name, Output<String> id, DashboardTimeseriesChartState state, CustomResourceOptions options)resources:  _:    type: splight:DashboardTimeseriesChart    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- ChartItems List<Splight.Splight. Inputs. Dashboard Timeseries Chart Chart Item> 
- chart traces to be included
- Collection string
- Description string
- chart description
- DisplayTime boolRange 
- whether to display the time range or not
- Fill bool
- whether to fill the area under the curve or not
- Height int
- chart height in px
- LabelsAggregation string
- [last|avg|...] aggregation
- LabelsDisplay bool
- whether to display the labels or not
- LabelsPlacement string
- [right|bottom] placement
- LineInterpolation stringStyle 
- line interpolation style
- MinHeight int
- minimum chart height
- MinWidth int
- minimum chart width
- Name string
- name of the chart
- NumberOf intDecimals 
- number of decimals
- PositionX int
- chart x position
- PositionY int
- chart y position
- RefreshInterval string
- refresh interval
- RelativeWindow stringTime 
- relative window time
- ShowBeyond boolData 
- whether to show data which is beyond timestamp_lte or not
- ShowLine bool
- whether to show the line or not
- Tab string
- id for the tab where to place the chart
- Thresholds
List<Splight.Splight. Inputs. Dashboard Timeseries Chart Threshold> 
- optional static lines to be added to the chart as references
- TimeseriesType string
- [line|bar] timeseries type
- TimestampGte string
- date in isoformat or shortcut string where to end reading
- TimestampLte string
- date in isoformat or shortcut string where to start reading
- Timezone string
- chart timezone
- ValueMappings List<Splight.Splight. Inputs. Dashboard Timeseries Chart Value Mapping> 
- optional mappings to transform data with rules
- Width int
- chart width in cols (max 20)
- XAxisAuto boolSkip 
- x axis auto skip
- XAxisFormat string
- x axis time format
- XAxisMax intTicks Limit 
- x axis max ticks limit
- YAxisMax intLimit 
- y axis max limit
- YAxisMin intLimit 
- y axis min limit
- YAxisUnit string
- y axis units
- ChartItems []DashboardTimeseries Chart Chart Item Args 
- chart traces to be included
- Collection string
- Description string
- chart description
- DisplayTime boolRange 
- whether to display the time range or not
- Fill bool
- whether to fill the area under the curve or not
- Height int
- chart height in px
- LabelsAggregation string
- [last|avg|...] aggregation
- LabelsDisplay bool
- whether to display the labels or not
- LabelsPlacement string
- [right|bottom] placement
- LineInterpolation stringStyle 
- line interpolation style
- MinHeight int
- minimum chart height
- MinWidth int
- minimum chart width
- Name string
- name of the chart
- NumberOf intDecimals 
- number of decimals
- PositionX int
- chart x position
- PositionY int
- chart y position
- RefreshInterval string
- refresh interval
- RelativeWindow stringTime 
- relative window time
- ShowBeyond boolData 
- whether to show data which is beyond timestamp_lte or not
- ShowLine bool
- whether to show the line or not
- Tab string
- id for the tab where to place the chart
- Thresholds
[]DashboardTimeseries Chart Threshold Args 
- optional static lines to be added to the chart as references
- TimeseriesType string
- [line|bar] timeseries type
- TimestampGte string
- date in isoformat or shortcut string where to end reading
- TimestampLte string
- date in isoformat or shortcut string where to start reading
- Timezone string
- chart timezone
- ValueMappings []DashboardTimeseries Chart Value Mapping Args 
- optional mappings to transform data with rules
- Width int
- chart width in cols (max 20)
- XAxisAuto boolSkip 
- x axis auto skip
- XAxisFormat string
- x axis time format
- XAxisMax intTicks Limit 
- x axis max ticks limit
- YAxisMax intLimit 
- y axis max limit
- YAxisMin intLimit 
- y axis min limit
- YAxisUnit string
- y axis units
- chartItems List<DashboardTimeseries Chart Chart Item> 
- chart traces to be included
- collection String
- description String
- chart description
- displayTime BooleanRange 
- whether to display the time range or not
- fill Boolean
- whether to fill the area under the curve or not
- height Integer
- chart height in px
- labelsAggregation String
- [last|avg|...] aggregation
- labelsDisplay Boolean
- whether to display the labels or not
- labelsPlacement String
- [right|bottom] placement
- lineInterpolation StringStyle 
- line interpolation style
- minHeight Integer
- minimum chart height
- minWidth Integer
- minimum chart width
- name String
- name of the chart
- numberOf IntegerDecimals 
- number of decimals
- positionX Integer
- chart x position
- positionY Integer
- chart y position
- refreshInterval String
- refresh interval
- relativeWindow StringTime 
- relative window time
- showBeyond BooleanData 
- whether to show data which is beyond timestamp_lte or not
- showLine Boolean
- whether to show the line or not
- tab String
- id for the tab where to place the chart
- thresholds
List<DashboardTimeseries Chart Threshold> 
- optional static lines to be added to the chart as references
- timeseriesType String
- [line|bar] timeseries type
- timestampGte String
- date in isoformat or shortcut string where to end reading
- timestampLte String
- date in isoformat or shortcut string where to start reading
- timezone String
- chart timezone
- valueMappings List<DashboardTimeseries Chart Value Mapping> 
- optional mappings to transform data with rules
- width Integer
- chart width in cols (max 20)
- xAxis BooleanAuto Skip 
- x axis auto skip
- xAxis StringFormat 
- x axis time format
- xAxis IntegerMax Ticks Limit 
- x axis max ticks limit
- yAxis IntegerMax Limit 
- y axis max limit
- yAxis IntegerMin Limit 
- y axis min limit
- yAxis StringUnit 
- y axis units
- chartItems DashboardTimeseries Chart Chart Item[] 
- chart traces to be included
- collection string
- description string
- chart description
- displayTime booleanRange 
- whether to display the time range or not
- fill boolean
- whether to fill the area under the curve or not
- height number
- chart height in px
- labelsAggregation string
- [last|avg|...] aggregation
- labelsDisplay boolean
- whether to display the labels or not
- labelsPlacement string
- [right|bottom] placement
- lineInterpolation stringStyle 
- line interpolation style
- minHeight number
- minimum chart height
- minWidth number
- minimum chart width
- name string
- name of the chart
- numberOf numberDecimals 
- number of decimals
- positionX number
- chart x position
- positionY number
- chart y position
- refreshInterval string
- refresh interval
- relativeWindow stringTime 
- relative window time
- showBeyond booleanData 
- whether to show data which is beyond timestamp_lte or not
- showLine boolean
- whether to show the line or not
- tab string
- id for the tab where to place the chart
- thresholds
DashboardTimeseries Chart Threshold[] 
- optional static lines to be added to the chart as references
- timeseriesType string
- [line|bar] timeseries type
- timestampGte string
- date in isoformat or shortcut string where to end reading
- timestampLte string
- date in isoformat or shortcut string where to start reading
- timezone string
- chart timezone
- valueMappings DashboardTimeseries Chart Value Mapping[] 
- optional mappings to transform data with rules
- width number
- chart width in cols (max 20)
- xAxis booleanAuto Skip 
- x axis auto skip
- xAxis stringFormat 
- x axis time format
- xAxis numberMax Ticks Limit 
- x axis max ticks limit
- yAxis numberMax Limit 
- y axis max limit
- yAxis numberMin Limit 
- y axis min limit
- yAxis stringUnit 
- y axis units
- chart_items Sequence[DashboardTimeseries Chart Chart Item Args] 
- chart traces to be included
- collection str
- description str
- chart description
- display_time_ boolrange 
- whether to display the time range or not
- fill bool
- whether to fill the area under the curve or not
- height int
- chart height in px
- labels_aggregation str
- [last|avg|...] aggregation
- labels_display bool
- whether to display the labels or not
- labels_placement str
- [right|bottom] placement
- line_interpolation_ strstyle 
- line interpolation style
- min_height int
- minimum chart height
- min_width int
- minimum chart width
- name str
- name of the chart
- number_of_ intdecimals 
- number of decimals
- position_x int
- chart x position
- position_y int
- chart y position
- refresh_interval str
- refresh interval
- relative_window_ strtime 
- relative window time
- show_beyond_ booldata 
- whether to show data which is beyond timestamp_lte or not
- show_line bool
- whether to show the line or not
- tab str
- id for the tab where to place the chart
- thresholds
Sequence[DashboardTimeseries Chart Threshold Args] 
- optional static lines to be added to the chart as references
- timeseries_type str
- [line|bar] timeseries type
- timestamp_gte str
- date in isoformat or shortcut string where to end reading
- timestamp_lte str
- date in isoformat or shortcut string where to start reading
- timezone str
- chart timezone
- value_mappings Sequence[DashboardTimeseries Chart Value Mapping Args] 
- optional mappings to transform data with rules
- width int
- chart width in cols (max 20)
- x_axis_ boolauto_ skip 
- x axis auto skip
- x_axis_ strformat 
- x axis time format
- x_axis_ intmax_ ticks_ limit 
- x axis max ticks limit
- y_axis_ intmax_ limit 
- y axis max limit
- y_axis_ intmin_ limit 
- y axis min limit
- y_axis_ strunit 
- y axis units
- chartItems List<Property Map>
- chart traces to be included
- collection String
- description String
- chart description
- displayTime BooleanRange 
- whether to display the time range or not
- fill Boolean
- whether to fill the area under the curve or not
- height Number
- chart height in px
- labelsAggregation String
- [last|avg|...] aggregation
- labelsDisplay Boolean
- whether to display the labels or not
- labelsPlacement String
- [right|bottom] placement
- lineInterpolation StringStyle 
- line interpolation style
- minHeight Number
- minimum chart height
- minWidth Number
- minimum chart width
- name String
- name of the chart
- numberOf NumberDecimals 
- number of decimals
- positionX Number
- chart x position
- positionY Number
- chart y position
- refreshInterval String
- refresh interval
- relativeWindow StringTime 
- relative window time
- showBeyond BooleanData 
- whether to show data which is beyond timestamp_lte or not
- showLine Boolean
- whether to show the line or not
- tab String
- id for the tab where to place the chart
- thresholds List<Property Map>
- optional static lines to be added to the chart as references
- timeseriesType String
- [line|bar] timeseries type
- timestampGte String
- date in isoformat or shortcut string where to end reading
- timestampLte String
- date in isoformat or shortcut string where to start reading
- timezone String
- chart timezone
- valueMappings List<Property Map>
- optional mappings to transform data with rules
- width Number
- chart width in cols (max 20)
- xAxis BooleanAuto Skip 
- x axis auto skip
- xAxis StringFormat 
- x axis time format
- xAxis NumberMax Ticks Limit 
- x axis max ticks limit
- yAxis NumberMax Limit 
- y axis max limit
- yAxis NumberMin Limit 
- y axis min limit
- yAxis StringUnit 
- y axis units
Supporting Types
DashboardTimeseriesChartChartItem, DashboardTimeseriesChartChartItemArgs          
- Color string
- ExpressionPlain string
- QueryFilter Splight.Asset Splight. Inputs. Dashboard Timeseries Chart Chart Item Query Filter Asset 
- Asset filter
- QueryFilter Splight.Attribute Splight. Inputs. Dashboard Timeseries Chart Chart Item Query Filter Attribute 
- Attribute filter
- QueryPlain string
- RefId string
- Type string
- bool
- Label string
- QueryGroup stringFunction 
- QueryGroup stringUnit 
- QueryLimit int
- QuerySort intDirection 
- Color string
- ExpressionPlain string
- QueryFilter DashboardAsset Timeseries Chart Chart Item Query Filter Asset 
- Asset filter
- QueryFilter DashboardAttribute Timeseries Chart Chart Item Query Filter Attribute 
- Attribute filter
- QueryPlain string
- RefId string
- Type string
- bool
- Label string
- QueryGroup stringFunction 
- QueryGroup stringUnit 
- QueryLimit int
- QuerySort intDirection 
- color String
- expressionPlain String
- queryFilter DashboardAsset Timeseries Chart Chart Item Query Filter Asset 
- Asset filter
- queryFilter DashboardAttribute Timeseries Chart Chart Item Query Filter Attribute 
- Attribute filter
- queryPlain String
- refId String
- type String
- Boolean
- label String
- queryGroup StringFunction 
- queryGroup StringUnit 
- queryLimit Integer
- querySort IntegerDirection 
- color string
- expressionPlain string
- queryFilter DashboardAsset Timeseries Chart Chart Item Query Filter Asset 
- Asset filter
- queryFilter DashboardAttribute Timeseries Chart Chart Item Query Filter Attribute 
- Attribute filter
- queryPlain string
- refId string
- type string
- boolean
- label string
- queryGroup stringFunction 
- queryGroup stringUnit 
- queryLimit number
- querySort numberDirection 
- color str
- expression_plain str
- query_filter_ Dashboardasset Timeseries Chart Chart Item Query Filter Asset 
- Asset filter
- query_filter_ Dashboardattribute Timeseries Chart Chart Item Query Filter Attribute 
- Attribute filter
- query_plain str
- ref_id str
- type str
- bool
- label str
- query_group_ strfunction 
- query_group_ strunit 
- query_limit int
- query_sort_ intdirection 
- color String
- expressionPlain String
- queryFilter Property MapAsset 
- Asset filter
- queryFilter Property MapAttribute 
- Attribute filter
- queryPlain String
- refId String
- type String
- Boolean
- label String
- queryGroup StringFunction 
- queryGroup StringUnit 
- queryLimit Number
- querySort NumberDirection 
DashboardTimeseriesChartChartItemQueryFilterAsset, DashboardTimeseriesChartChartItemQueryFilterAssetArgs                
DashboardTimeseriesChartChartItemQueryFilterAttribute, DashboardTimeseriesChartChartItemQueryFilterAttributeArgs                
DashboardTimeseriesChartThreshold, DashboardTimeseriesChartThresholdArgs        
- Color string
- DisplayText string
- Value double
- Color string
- DisplayText string
- Value float64
- color String
- displayText String
- value Double
- color string
- displayText string
- value number
- color str
- display_text str
- value float
- color String
- displayText String
- value Number
DashboardTimeseriesChartValueMapping, DashboardTimeseriesChartValueMappingArgs          
- DisplayText string
- MatchValue string
- Order int
- Type string
- DisplayText string
- MatchValue string
- Order int
- Type string
- displayText String
- matchValue String
- order Integer
- type String
- displayText string
- matchValue string
- order number
- type string
- display_text str
- match_value str
- order int
- type str
- displayText String
- matchValue String
- order Number
- type String
Import
$ pulumi import splight:index/dashboardTimeseriesChart:DashboardTimeseriesChart [options] splight_dashboard_timeseries_chart.<name> <dashboard_chart_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- splight splightplatform/pulumi-splight
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the splightTerraform Provider.
