1. Packages
  2. Fortios
  3. API Docs
  4. report
  5. Chart
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.report.Chart

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Report chart widget configuration. Applies to FortiOS Version <= 7.0.0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.report.Chart("trname", {
        category: "misc",
        comments: "test report chart",
        dataset: "s1",
        dimension: "3D",
        favorite: "no",
        graphType: "none",
        legend: "enable",
        legendFontSize: 0,
        period: "last24h",
        policy: 0,
        style: "auto",
        titleFontSize: 0,
        type: "graph",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.report.Chart("trname",
        category="misc",
        comments="test report chart",
        dataset="s1",
        dimension="3D",
        favorite="no",
        graph_type="none",
        legend="enable",
        legend_font_size=0,
        period="last24h",
        policy=0,
        style="auto",
        title_font_size=0,
        type="graph")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/report"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := report.NewChart(ctx, "trname", &report.ChartArgs{
    			Category:       pulumi.String("misc"),
    			Comments:       pulumi.String("test report chart"),
    			Dataset:        pulumi.String("s1"),
    			Dimension:      pulumi.String("3D"),
    			Favorite:       pulumi.String("no"),
    			GraphType:      pulumi.String("none"),
    			Legend:         pulumi.String("enable"),
    			LegendFontSize: pulumi.Int(0),
    			Period:         pulumi.String("last24h"),
    			Policy:         pulumi.Int(0),
    			Style:          pulumi.String("auto"),
    			TitleFontSize:  pulumi.Int(0),
    			Type:           pulumi.String("graph"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortios = Pulumiverse.Fortios;
    
    return await Deployment.RunAsync(() => 
    {
        var trname = new Fortios.Report.Chart("trname", new()
        {
            Category = "misc",
            Comments = "test report chart",
            Dataset = "s1",
            Dimension = "3D",
            Favorite = "no",
            GraphType = "none",
            Legend = "enable",
            LegendFontSize = 0,
            Period = "last24h",
            Policy = 0,
            Style = "auto",
            TitleFontSize = 0,
            Type = "graph",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.report.Chart;
    import com.pulumi.fortios.report.ChartArgs;
    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 trname = new Chart("trname", ChartArgs.builder()
                .category("misc")
                .comments("test report chart")
                .dataset("s1")
                .dimension("3D")
                .favorite("no")
                .graphType("none")
                .legend("enable")
                .legendFontSize(0)
                .period("last24h")
                .policy(0)
                .style("auto")
                .titleFontSize(0)
                .type("graph")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:report:Chart
        properties:
          category: misc
          comments: test report chart
          dataset: s1
          dimension: 3D
          favorite: no
          graphType: none
          legend: enable
          legendFontSize: 0
          period: last24h
          policy: 0
          style: auto
          titleFontSize: 0
          type: graph
    

    Create Chart Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Chart(name: string, args: ChartArgs, opts?: CustomResourceOptions);
    @overload
    def Chart(resource_name: str,
              args: ChartArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Chart(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              comments: Optional[str] = None,
              dataset: Optional[str] = None,
              graph_type: Optional[str] = None,
              vdomparam: Optional[str] = None,
              columns: Optional[Sequence[ChartColumnArgs]] = None,
              category_series: Optional[ChartCategorySeriesArgs] = None,
              category: Optional[str] = None,
              dimension: Optional[str] = None,
              drill_down_charts: Optional[Sequence[ChartDrillDownChartArgs]] = None,
              dynamic_sort_subtable: Optional[str] = None,
              favorite: Optional[str] = None,
              get_all_tables: Optional[str] = None,
              y_series: Optional[ChartYSeriesArgs] = None,
              color_palette: Optional[str] = None,
              period: Optional[str] = None,
              name: Optional[str] = None,
              legend_font_size: Optional[int] = None,
              policy: Optional[int] = None,
              style: Optional[str] = None,
              title: Optional[str] = None,
              title_font_size: Optional[int] = None,
              type: Optional[str] = None,
              value_series: Optional[ChartValueSeriesArgs] = None,
              legend: Optional[str] = None,
              x_series: Optional[ChartXSeriesArgs] = None,
              background: Optional[str] = None)
    func NewChart(ctx *Context, name string, args ChartArgs, opts ...ResourceOption) (*Chart, error)
    public Chart(string name, ChartArgs args, CustomResourceOptions? opts = null)
    public Chart(String name, ChartArgs args)
    public Chart(String name, ChartArgs args, CustomResourceOptions options)
    
    type: fortios:report:Chart
    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 ChartArgs
    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 ChartArgs
    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 ChartArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ChartArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ChartArgs
    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 chartResource = new Fortios.Report.Chart("chartResource", new()
    {
        Comments = "string",
        Dataset = "string",
        GraphType = "string",
        Vdomparam = "string",
        Columns = new[]
        {
            new Fortios.Report.Inputs.ChartColumnArgs
            {
                DetailUnit = "string",
                DetailValue = "string",
                FooterUnit = "string",
                FooterValue = "string",
                HeaderValue = "string",
                Id = 0,
                Mappings = new[]
                {
                    new Fortios.Report.Inputs.ChartColumnMappingArgs
                    {
                        Displayname = "string",
                        Id = 0,
                        Op = "string",
                        Value1 = "string",
                        Value2 = "string",
                        ValueType = "string",
                    },
                },
            },
        },
        CategorySeries = new Fortios.Report.Inputs.ChartCategorySeriesArgs
        {
            Databind = "string",
            FontSize = 0,
        },
        Category = "string",
        Dimension = "string",
        DrillDownCharts = new[]
        {
            new Fortios.Report.Inputs.ChartDrillDownChartArgs
            {
                ChartName = "string",
                Id = 0,
                Status = "string",
            },
        },
        DynamicSortSubtable = "string",
        Favorite = "string",
        GetAllTables = "string",
        YSeries = new Fortios.Report.Inputs.ChartYSeriesArgs
        {
            Caption = "string",
            CaptionFontSize = 0,
            Databind = "string",
            ExtraDatabind = "string",
            ExtraY = "string",
            ExtraYLegend = "string",
            FontSize = 0,
            Group = "string",
            LabelAngle = "string",
            Unit = "string",
            YLegend = "string",
        },
        ColorPalette = "string",
        Period = "string",
        Name = "string",
        LegendFontSize = 0,
        Policy = 0,
        Style = "string",
        Title = "string",
        TitleFontSize = 0,
        Type = "string",
        ValueSeries = new Fortios.Report.Inputs.ChartValueSeriesArgs
        {
            Databind = "string",
        },
        Legend = "string",
        XSeries = new Fortios.Report.Inputs.ChartXSeriesArgs
        {
            Caption = "string",
            CaptionFontSize = 0,
            Databind = "string",
            FontSize = 0,
            IsCategory = "string",
            LabelAngle = "string",
            ScaleDirection = "string",
            ScaleFormat = "string",
            ScaleStep = 0,
            ScaleUnit = "string",
            Unit = "string",
        },
        Background = "string",
    });
    
    example, err := report.NewChart(ctx, "chartResource", &report.ChartArgs{
    	Comments:  pulumi.String("string"),
    	Dataset:   pulumi.String("string"),
    	GraphType: pulumi.String("string"),
    	Vdomparam: pulumi.String("string"),
    	Columns: report.ChartColumnArray{
    		&report.ChartColumnArgs{
    			DetailUnit:  pulumi.String("string"),
    			DetailValue: pulumi.String("string"),
    			FooterUnit:  pulumi.String("string"),
    			FooterValue: pulumi.String("string"),
    			HeaderValue: pulumi.String("string"),
    			Id:          pulumi.Int(0),
    			Mappings: report.ChartColumnMappingArray{
    				&report.ChartColumnMappingArgs{
    					Displayname: pulumi.String("string"),
    					Id:          pulumi.Int(0),
    					Op:          pulumi.String("string"),
    					Value1:      pulumi.String("string"),
    					Value2:      pulumi.String("string"),
    					ValueType:   pulumi.String("string"),
    				},
    			},
    		},
    	},
    	CategorySeries: &report.ChartCategorySeriesArgs{
    		Databind: pulumi.String("string"),
    		FontSize: pulumi.Int(0),
    	},
    	Category:  pulumi.String("string"),
    	Dimension: pulumi.String("string"),
    	DrillDownCharts: report.ChartDrillDownChartArray{
    		&report.ChartDrillDownChartArgs{
    			ChartName: pulumi.String("string"),
    			Id:        pulumi.Int(0),
    			Status:    pulumi.String("string"),
    		},
    	},
    	DynamicSortSubtable: pulumi.String("string"),
    	Favorite:            pulumi.String("string"),
    	GetAllTables:        pulumi.String("string"),
    	YSeries: &report.ChartYSeriesArgs{
    		Caption:         pulumi.String("string"),
    		CaptionFontSize: pulumi.Int(0),
    		Databind:        pulumi.String("string"),
    		ExtraDatabind:   pulumi.String("string"),
    		ExtraY:          pulumi.String("string"),
    		ExtraYLegend:    pulumi.String("string"),
    		FontSize:        pulumi.Int(0),
    		Group:           pulumi.String("string"),
    		LabelAngle:      pulumi.String("string"),
    		Unit:            pulumi.String("string"),
    		YLegend:         pulumi.String("string"),
    	},
    	ColorPalette:   pulumi.String("string"),
    	Period:         pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	LegendFontSize: pulumi.Int(0),
    	Policy:         pulumi.Int(0),
    	Style:          pulumi.String("string"),
    	Title:          pulumi.String("string"),
    	TitleFontSize:  pulumi.Int(0),
    	Type:           pulumi.String("string"),
    	ValueSeries: &report.ChartValueSeriesArgs{
    		Databind: pulumi.String("string"),
    	},
    	Legend: pulumi.String("string"),
    	XSeries: &report.ChartXSeriesArgs{
    		Caption:         pulumi.String("string"),
    		CaptionFontSize: pulumi.Int(0),
    		Databind:        pulumi.String("string"),
    		FontSize:        pulumi.Int(0),
    		IsCategory:      pulumi.String("string"),
    		LabelAngle:      pulumi.String("string"),
    		ScaleDirection:  pulumi.String("string"),
    		ScaleFormat:     pulumi.String("string"),
    		ScaleStep:       pulumi.Int(0),
    		ScaleUnit:       pulumi.String("string"),
    		Unit:            pulumi.String("string"),
    	},
    	Background: pulumi.String("string"),
    })
    
    var chartResource = new Chart("chartResource", ChartArgs.builder()
        .comments("string")
        .dataset("string")
        .graphType("string")
        .vdomparam("string")
        .columns(ChartColumnArgs.builder()
            .detailUnit("string")
            .detailValue("string")
            .footerUnit("string")
            .footerValue("string")
            .headerValue("string")
            .id(0)
            .mappings(ChartColumnMappingArgs.builder()
                .displayname("string")
                .id(0)
                .op("string")
                .value1("string")
                .value2("string")
                .valueType("string")
                .build())
            .build())
        .categorySeries(ChartCategorySeriesArgs.builder()
            .databind("string")
            .fontSize(0)
            .build())
        .category("string")
        .dimension("string")
        .drillDownCharts(ChartDrillDownChartArgs.builder()
            .chartName("string")
            .id(0)
            .status("string")
            .build())
        .dynamicSortSubtable("string")
        .favorite("string")
        .getAllTables("string")
        .ySeries(ChartYSeriesArgs.builder()
            .caption("string")
            .captionFontSize(0)
            .databind("string")
            .extraDatabind("string")
            .extraY("string")
            .extraYLegend("string")
            .fontSize(0)
            .group("string")
            .labelAngle("string")
            .unit("string")
            .yLegend("string")
            .build())
        .colorPalette("string")
        .period("string")
        .name("string")
        .legendFontSize(0)
        .policy(0)
        .style("string")
        .title("string")
        .titleFontSize(0)
        .type("string")
        .valueSeries(ChartValueSeriesArgs.builder()
            .databind("string")
            .build())
        .legend("string")
        .xSeries(ChartXSeriesArgs.builder()
            .caption("string")
            .captionFontSize(0)
            .databind("string")
            .fontSize(0)
            .isCategory("string")
            .labelAngle("string")
            .scaleDirection("string")
            .scaleFormat("string")
            .scaleStep(0)
            .scaleUnit("string")
            .unit("string")
            .build())
        .background("string")
        .build());
    
    chart_resource = fortios.report.Chart("chartResource",
        comments="string",
        dataset="string",
        graph_type="string",
        vdomparam="string",
        columns=[fortios.report.ChartColumnArgs(
            detail_unit="string",
            detail_value="string",
            footer_unit="string",
            footer_value="string",
            header_value="string",
            id=0,
            mappings=[fortios.report.ChartColumnMappingArgs(
                displayname="string",
                id=0,
                op="string",
                value1="string",
                value2="string",
                value_type="string",
            )],
        )],
        category_series=fortios.report.ChartCategorySeriesArgs(
            databind="string",
            font_size=0,
        ),
        category="string",
        dimension="string",
        drill_down_charts=[fortios.report.ChartDrillDownChartArgs(
            chart_name="string",
            id=0,
            status="string",
        )],
        dynamic_sort_subtable="string",
        favorite="string",
        get_all_tables="string",
        y_series=fortios.report.ChartYSeriesArgs(
            caption="string",
            caption_font_size=0,
            databind="string",
            extra_databind="string",
            extra_y="string",
            extra_y_legend="string",
            font_size=0,
            group="string",
            label_angle="string",
            unit="string",
            y_legend="string",
        ),
        color_palette="string",
        period="string",
        name="string",
        legend_font_size=0,
        policy=0,
        style="string",
        title="string",
        title_font_size=0,
        type="string",
        value_series=fortios.report.ChartValueSeriesArgs(
            databind="string",
        ),
        legend="string",
        x_series=fortios.report.ChartXSeriesArgs(
            caption="string",
            caption_font_size=0,
            databind="string",
            font_size=0,
            is_category="string",
            label_angle="string",
            scale_direction="string",
            scale_format="string",
            scale_step=0,
            scale_unit="string",
            unit="string",
        ),
        background="string")
    
    const chartResource = new fortios.report.Chart("chartResource", {
        comments: "string",
        dataset: "string",
        graphType: "string",
        vdomparam: "string",
        columns: [{
            detailUnit: "string",
            detailValue: "string",
            footerUnit: "string",
            footerValue: "string",
            headerValue: "string",
            id: 0,
            mappings: [{
                displayname: "string",
                id: 0,
                op: "string",
                value1: "string",
                value2: "string",
                valueType: "string",
            }],
        }],
        categorySeries: {
            databind: "string",
            fontSize: 0,
        },
        category: "string",
        dimension: "string",
        drillDownCharts: [{
            chartName: "string",
            id: 0,
            status: "string",
        }],
        dynamicSortSubtable: "string",
        favorite: "string",
        getAllTables: "string",
        ySeries: {
            caption: "string",
            captionFontSize: 0,
            databind: "string",
            extraDatabind: "string",
            extraY: "string",
            extraYLegend: "string",
            fontSize: 0,
            group: "string",
            labelAngle: "string",
            unit: "string",
            yLegend: "string",
        },
        colorPalette: "string",
        period: "string",
        name: "string",
        legendFontSize: 0,
        policy: 0,
        style: "string",
        title: "string",
        titleFontSize: 0,
        type: "string",
        valueSeries: {
            databind: "string",
        },
        legend: "string",
        xSeries: {
            caption: "string",
            captionFontSize: 0,
            databind: "string",
            fontSize: 0,
            isCategory: "string",
            labelAngle: "string",
            scaleDirection: "string",
            scaleFormat: "string",
            scaleStep: 0,
            scaleUnit: "string",
            unit: "string",
        },
        background: "string",
    });
    
    type: fortios:report:Chart
    properties:
        background: string
        category: string
        categorySeries:
            databind: string
            fontSize: 0
        colorPalette: string
        columns:
            - detailUnit: string
              detailValue: string
              footerUnit: string
              footerValue: string
              headerValue: string
              id: 0
              mappings:
                - displayname: string
                  id: 0
                  op: string
                  value1: string
                  value2: string
                  valueType: string
        comments: string
        dataset: string
        dimension: string
        drillDownCharts:
            - chartName: string
              id: 0
              status: string
        dynamicSortSubtable: string
        favorite: string
        getAllTables: string
        graphType: string
        legend: string
        legendFontSize: 0
        name: string
        period: string
        policy: 0
        style: string
        title: string
        titleFontSize: 0
        type: string
        valueSeries:
            databind: string
        vdomparam: string
        xSeries:
            caption: string
            captionFontSize: 0
            databind: string
            fontSize: 0
            isCategory: string
            labelAngle: string
            scaleDirection: string
            scaleFormat: string
            scaleStep: 0
            scaleUnit: string
            unit: string
        ySeries:
            caption: string
            captionFontSize: 0
            databind: string
            extraDatabind: string
            extraY: string
            extraYLegend: string
            fontSize: 0
            group: string
            labelAngle: string
            unit: string
            yLegend: string
    

    Chart Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Chart resource accepts the following input properties:

    Comments string
    Comment.
    Dataset string
    Bind dataset to chart.
    Background string
    Chart background.
    Category string
    Category. Valid values: misc, traffic, event, virus, webfilter, attack, spam, dlp, app-ctrl, vulnerability.
    CategorySeries Pulumiverse.Fortios.Report.Inputs.ChartCategorySeries
    Category series of pie chart. The structure of category_series block is documented below.
    ColorPalette string
    Color palette (system will pick color automatically by default).
    Columns List<Pulumiverse.Fortios.Report.Inputs.ChartColumn>
    Table column definition. The structure of column block is documented below.
    Dimension string
    Dimension. Valid values: 2D, 3D.
    DrillDownCharts List<Pulumiverse.Fortios.Report.Inputs.ChartDrillDownChart>
    Drill down charts. The structure of drill_down_charts block is documented below.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Favorite string
    Favorite. Valid values: no, yes.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    GraphType string
    Graph type. Valid values: none, bar, pie, line, flow.
    Legend string
    Enable/Disable Legend area. Valid values: enable, disable.
    LegendFontSize int
    Font size of legend area.
    Name string
    Chart Widget Name
    Period string
    Time period. Valid values: last24h, last7d.
    Policy int
    Used by monitor policy.
    Style string
    Style. Valid values: auto, manual.
    Title string
    Chart title.
    TitleFontSize int
    Font size of chart title.
    Type string
    Chart type. Valid values: graph, table.
    ValueSeries Pulumiverse.Fortios.Report.Inputs.ChartValueSeries
    Value series of pie chart. The structure of value_series block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    XSeries Pulumiverse.Fortios.Report.Inputs.ChartXSeries
    X-series of chart. The structure of x_series block is documented below.
    YSeries Pulumiverse.Fortios.Report.Inputs.ChartYSeries
    Y-series of chart. The structure of y_series block is documented below.
    Comments string
    Comment.
    Dataset string
    Bind dataset to chart.
    Background string
    Chart background.
    Category string
    Category. Valid values: misc, traffic, event, virus, webfilter, attack, spam, dlp, app-ctrl, vulnerability.
    CategorySeries ChartCategorySeriesArgs
    Category series of pie chart. The structure of category_series block is documented below.
    ColorPalette string
    Color palette (system will pick color automatically by default).
    Columns []ChartColumnArgs
    Table column definition. The structure of column block is documented below.
    Dimension string
    Dimension. Valid values: 2D, 3D.
    DrillDownCharts []ChartDrillDownChartArgs
    Drill down charts. The structure of drill_down_charts block is documented below.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Favorite string
    Favorite. Valid values: no, yes.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    GraphType string
    Graph type. Valid values: none, bar, pie, line, flow.
    Legend string
    Enable/Disable Legend area. Valid values: enable, disable.
    LegendFontSize int
    Font size of legend area.
    Name string
    Chart Widget Name
    Period string
    Time period. Valid values: last24h, last7d.
    Policy int
    Used by monitor policy.
    Style string
    Style. Valid values: auto, manual.
    Title string
    Chart title.
    TitleFontSize int
    Font size of chart title.
    Type string
    Chart type. Valid values: graph, table.
    ValueSeries ChartValueSeriesArgs
    Value series of pie chart. The structure of value_series block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    XSeries ChartXSeriesArgs
    X-series of chart. The structure of x_series block is documented below.
    YSeries ChartYSeriesArgs
    Y-series of chart. The structure of y_series block is documented below.
    comments String
    Comment.
    dataset String
    Bind dataset to chart.
    background String
    Chart background.
    category String
    Category. Valid values: misc, traffic, event, virus, webfilter, attack, spam, dlp, app-ctrl, vulnerability.
    categorySeries ChartCategorySeries
    Category series of pie chart. The structure of category_series block is documented below.
    colorPalette String
    Color palette (system will pick color automatically by default).
    columns List<ChartColumn>
    Table column definition. The structure of column block is documented below.
    dimension String
    Dimension. Valid values: 2D, 3D.
    drillDownCharts List<ChartDrillDownChart>
    Drill down charts. The structure of drill_down_charts block is documented below.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    favorite String
    Favorite. Valid values: no, yes.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    graphType String
    Graph type. Valid values: none, bar, pie, line, flow.
    legend String
    Enable/Disable Legend area. Valid values: enable, disable.
    legendFontSize Integer
    Font size of legend area.
    name String
    Chart Widget Name
    period String
    Time period. Valid values: last24h, last7d.
    policy Integer
    Used by monitor policy.
    style String
    Style. Valid values: auto, manual.
    title String
    Chart title.
    titleFontSize Integer
    Font size of chart title.
    type String
    Chart type. Valid values: graph, table.
    valueSeries ChartValueSeries
    Value series of pie chart. The structure of value_series block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    xSeries ChartXSeries
    X-series of chart. The structure of x_series block is documented below.
    ySeries ChartYSeries
    Y-series of chart. The structure of y_series block is documented below.
    comments string
    Comment.
    dataset string
    Bind dataset to chart.
    background string
    Chart background.
    category string
    Category. Valid values: misc, traffic, event, virus, webfilter, attack, spam, dlp, app-ctrl, vulnerability.
    categorySeries ChartCategorySeries
    Category series of pie chart. The structure of category_series block is documented below.
    colorPalette string
    Color palette (system will pick color automatically by default).
    columns ChartColumn[]
    Table column definition. The structure of column block is documented below.
    dimension string
    Dimension. Valid values: 2D, 3D.
    drillDownCharts ChartDrillDownChart[]
    Drill down charts. The structure of drill_down_charts block is documented below.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    favorite string
    Favorite. Valid values: no, yes.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    graphType string
    Graph type. Valid values: none, bar, pie, line, flow.
    legend string
    Enable/Disable Legend area. Valid values: enable, disable.
    legendFontSize number
    Font size of legend area.
    name string
    Chart Widget Name
    period string
    Time period. Valid values: last24h, last7d.
    policy number
    Used by monitor policy.
    style string
    Style. Valid values: auto, manual.
    title string
    Chart title.
    titleFontSize number
    Font size of chart title.
    type string
    Chart type. Valid values: graph, table.
    valueSeries ChartValueSeries
    Value series of pie chart. The structure of value_series block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    xSeries ChartXSeries
    X-series of chart. The structure of x_series block is documented below.
    ySeries ChartYSeries
    Y-series of chart. The structure of y_series block is documented below.
    comments str
    Comment.
    dataset str
    Bind dataset to chart.
    background str
    Chart background.
    category str
    Category. Valid values: misc, traffic, event, virus, webfilter, attack, spam, dlp, app-ctrl, vulnerability.
    category_series ChartCategorySeriesArgs
    Category series of pie chart. The structure of category_series block is documented below.
    color_palette str
    Color palette (system will pick color automatically by default).
    columns Sequence[ChartColumnArgs]
    Table column definition. The structure of column block is documented below.
    dimension str
    Dimension. Valid values: 2D, 3D.
    drill_down_charts Sequence[ChartDrillDownChartArgs]
    Drill down charts. The structure of drill_down_charts block is documented below.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    favorite str
    Favorite. Valid values: no, yes.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    graph_type str
    Graph type. Valid values: none, bar, pie, line, flow.
    legend str
    Enable/Disable Legend area. Valid values: enable, disable.
    legend_font_size int
    Font size of legend area.
    name str
    Chart Widget Name
    period str
    Time period. Valid values: last24h, last7d.
    policy int
    Used by monitor policy.
    style str
    Style. Valid values: auto, manual.
    title str
    Chart title.
    title_font_size int
    Font size of chart title.
    type str
    Chart type. Valid values: graph, table.
    value_series ChartValueSeriesArgs
    Value series of pie chart. The structure of value_series block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    x_series ChartXSeriesArgs
    X-series of chart. The structure of x_series block is documented below.
    y_series ChartYSeriesArgs
    Y-series of chart. The structure of y_series block is documented below.
    comments String
    Comment.
    dataset String
    Bind dataset to chart.
    background String
    Chart background.
    category String
    Category. Valid values: misc, traffic, event, virus, webfilter, attack, spam, dlp, app-ctrl, vulnerability.
    categorySeries Property Map
    Category series of pie chart. The structure of category_series block is documented below.
    colorPalette String
    Color palette (system will pick color automatically by default).
    columns List<Property Map>
    Table column definition. The structure of column block is documented below.
    dimension String
    Dimension. Valid values: 2D, 3D.
    drillDownCharts List<Property Map>
    Drill down charts. The structure of drill_down_charts block is documented below.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    favorite String
    Favorite. Valid values: no, yes.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    graphType String
    Graph type. Valid values: none, bar, pie, line, flow.
    legend String
    Enable/Disable Legend area. Valid values: enable, disable.
    legendFontSize Number
    Font size of legend area.
    name String
    Chart Widget Name
    period String
    Time period. Valid values: last24h, last7d.
    policy Number
    Used by monitor policy.
    style String
    Style. Valid values: auto, manual.
    title String
    Chart title.
    titleFontSize Number
    Font size of chart title.
    type String
    Chart type. Valid values: graph, table.
    valueSeries Property Map
    Value series of pie chart. The structure of value_series block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    xSeries Property Map
    X-series of chart. The structure of x_series block is documented below.
    ySeries Property Map
    Y-series of chart. The structure of y_series block is documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Chart 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 Chart Resource

    Get an existing Chart 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?: ChartState, opts?: CustomResourceOptions): Chart
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            background: Optional[str] = None,
            category: Optional[str] = None,
            category_series: Optional[ChartCategorySeriesArgs] = None,
            color_palette: Optional[str] = None,
            columns: Optional[Sequence[ChartColumnArgs]] = None,
            comments: Optional[str] = None,
            dataset: Optional[str] = None,
            dimension: Optional[str] = None,
            drill_down_charts: Optional[Sequence[ChartDrillDownChartArgs]] = None,
            dynamic_sort_subtable: Optional[str] = None,
            favorite: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            graph_type: Optional[str] = None,
            legend: Optional[str] = None,
            legend_font_size: Optional[int] = None,
            name: Optional[str] = None,
            period: Optional[str] = None,
            policy: Optional[int] = None,
            style: Optional[str] = None,
            title: Optional[str] = None,
            title_font_size: Optional[int] = None,
            type: Optional[str] = None,
            value_series: Optional[ChartValueSeriesArgs] = None,
            vdomparam: Optional[str] = None,
            x_series: Optional[ChartXSeriesArgs] = None,
            y_series: Optional[ChartYSeriesArgs] = None) -> Chart
    func GetChart(ctx *Context, name string, id IDInput, state *ChartState, opts ...ResourceOption) (*Chart, error)
    public static Chart Get(string name, Input<string> id, ChartState? state, CustomResourceOptions? opts = null)
    public static Chart get(String name, Output<String> id, ChartState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Background string
    Chart background.
    Category string
    Category. Valid values: misc, traffic, event, virus, webfilter, attack, spam, dlp, app-ctrl, vulnerability.
    CategorySeries Pulumiverse.Fortios.Report.Inputs.ChartCategorySeries
    Category series of pie chart. The structure of category_series block is documented below.
    ColorPalette string
    Color palette (system will pick color automatically by default).
    Columns List<Pulumiverse.Fortios.Report.Inputs.ChartColumn>
    Table column definition. The structure of column block is documented below.
    Comments string
    Comment.
    Dataset string
    Bind dataset to chart.
    Dimension string
    Dimension. Valid values: 2D, 3D.
    DrillDownCharts List<Pulumiverse.Fortios.Report.Inputs.ChartDrillDownChart>
    Drill down charts. The structure of drill_down_charts block is documented below.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Favorite string
    Favorite. Valid values: no, yes.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    GraphType string
    Graph type. Valid values: none, bar, pie, line, flow.
    Legend string
    Enable/Disable Legend area. Valid values: enable, disable.
    LegendFontSize int
    Font size of legend area.
    Name string
    Chart Widget Name
    Period string
    Time period. Valid values: last24h, last7d.
    Policy int
    Used by monitor policy.
    Style string
    Style. Valid values: auto, manual.
    Title string
    Chart title.
    TitleFontSize int
    Font size of chart title.
    Type string
    Chart type. Valid values: graph, table.
    ValueSeries Pulumiverse.Fortios.Report.Inputs.ChartValueSeries
    Value series of pie chart. The structure of value_series block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    XSeries Pulumiverse.Fortios.Report.Inputs.ChartXSeries
    X-series of chart. The structure of x_series block is documented below.
    YSeries Pulumiverse.Fortios.Report.Inputs.ChartYSeries
    Y-series of chart. The structure of y_series block is documented below.
    Background string
    Chart background.
    Category string
    Category. Valid values: misc, traffic, event, virus, webfilter, attack, spam, dlp, app-ctrl, vulnerability.
    CategorySeries ChartCategorySeriesArgs
    Category series of pie chart. The structure of category_series block is documented below.
    ColorPalette string
    Color palette (system will pick color automatically by default).
    Columns []ChartColumnArgs
    Table column definition. The structure of column block is documented below.
    Comments string
    Comment.
    Dataset string
    Bind dataset to chart.
    Dimension string
    Dimension. Valid values: 2D, 3D.
    DrillDownCharts []ChartDrillDownChartArgs
    Drill down charts. The structure of drill_down_charts block is documented below.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Favorite string
    Favorite. Valid values: no, yes.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    GraphType string
    Graph type. Valid values: none, bar, pie, line, flow.
    Legend string
    Enable/Disable Legend area. Valid values: enable, disable.
    LegendFontSize int
    Font size of legend area.
    Name string
    Chart Widget Name
    Period string
    Time period. Valid values: last24h, last7d.
    Policy int
    Used by monitor policy.
    Style string
    Style. Valid values: auto, manual.
    Title string
    Chart title.
    TitleFontSize int
    Font size of chart title.
    Type string
    Chart type. Valid values: graph, table.
    ValueSeries ChartValueSeriesArgs
    Value series of pie chart. The structure of value_series block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    XSeries ChartXSeriesArgs
    X-series of chart. The structure of x_series block is documented below.
    YSeries ChartYSeriesArgs
    Y-series of chart. The structure of y_series block is documented below.
    background String
    Chart background.
    category String
    Category. Valid values: misc, traffic, event, virus, webfilter, attack, spam, dlp, app-ctrl, vulnerability.
    categorySeries ChartCategorySeries
    Category series of pie chart. The structure of category_series block is documented below.
    colorPalette String
    Color palette (system will pick color automatically by default).
    columns List<ChartColumn>
    Table column definition. The structure of column block is documented below.
    comments String
    Comment.
    dataset String
    Bind dataset to chart.
    dimension String
    Dimension. Valid values: 2D, 3D.
    drillDownCharts List<ChartDrillDownChart>
    Drill down charts. The structure of drill_down_charts block is documented below.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    favorite String
    Favorite. Valid values: no, yes.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    graphType String
    Graph type. Valid values: none, bar, pie, line, flow.
    legend String
    Enable/Disable Legend area. Valid values: enable, disable.
    legendFontSize Integer
    Font size of legend area.
    name String
    Chart Widget Name
    period String
    Time period. Valid values: last24h, last7d.
    policy Integer
    Used by monitor policy.
    style String
    Style. Valid values: auto, manual.
    title String
    Chart title.
    titleFontSize Integer
    Font size of chart title.
    type String
    Chart type. Valid values: graph, table.
    valueSeries ChartValueSeries
    Value series of pie chart. The structure of value_series block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    xSeries ChartXSeries
    X-series of chart. The structure of x_series block is documented below.
    ySeries ChartYSeries
    Y-series of chart. The structure of y_series block is documented below.
    background string
    Chart background.
    category string
    Category. Valid values: misc, traffic, event, virus, webfilter, attack, spam, dlp, app-ctrl, vulnerability.
    categorySeries ChartCategorySeries
    Category series of pie chart. The structure of category_series block is documented below.
    colorPalette string
    Color palette (system will pick color automatically by default).
    columns ChartColumn[]
    Table column definition. The structure of column block is documented below.
    comments string
    Comment.
    dataset string
    Bind dataset to chart.
    dimension string
    Dimension. Valid values: 2D, 3D.
    drillDownCharts ChartDrillDownChart[]
    Drill down charts. The structure of drill_down_charts block is documented below.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    favorite string
    Favorite. Valid values: no, yes.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    graphType string
    Graph type. Valid values: none, bar, pie, line, flow.
    legend string
    Enable/Disable Legend area. Valid values: enable, disable.
    legendFontSize number
    Font size of legend area.
    name string
    Chart Widget Name
    period string
    Time period. Valid values: last24h, last7d.
    policy number
    Used by monitor policy.
    style string
    Style. Valid values: auto, manual.
    title string
    Chart title.
    titleFontSize number
    Font size of chart title.
    type string
    Chart type. Valid values: graph, table.
    valueSeries ChartValueSeries
    Value series of pie chart. The structure of value_series block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    xSeries ChartXSeries
    X-series of chart. The structure of x_series block is documented below.
    ySeries ChartYSeries
    Y-series of chart. The structure of y_series block is documented below.
    background str
    Chart background.
    category str
    Category. Valid values: misc, traffic, event, virus, webfilter, attack, spam, dlp, app-ctrl, vulnerability.
    category_series ChartCategorySeriesArgs
    Category series of pie chart. The structure of category_series block is documented below.
    color_palette str
    Color palette (system will pick color automatically by default).
    columns Sequence[ChartColumnArgs]
    Table column definition. The structure of column block is documented below.
    comments str
    Comment.
    dataset str
    Bind dataset to chart.
    dimension str
    Dimension. Valid values: 2D, 3D.
    drill_down_charts Sequence[ChartDrillDownChartArgs]
    Drill down charts. The structure of drill_down_charts block is documented below.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    favorite str
    Favorite. Valid values: no, yes.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    graph_type str
    Graph type. Valid values: none, bar, pie, line, flow.
    legend str
    Enable/Disable Legend area. Valid values: enable, disable.
    legend_font_size int
    Font size of legend area.
    name str
    Chart Widget Name
    period str
    Time period. Valid values: last24h, last7d.
    policy int
    Used by monitor policy.
    style str
    Style. Valid values: auto, manual.
    title str
    Chart title.
    title_font_size int
    Font size of chart title.
    type str
    Chart type. Valid values: graph, table.
    value_series ChartValueSeriesArgs
    Value series of pie chart. The structure of value_series block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    x_series ChartXSeriesArgs
    X-series of chart. The structure of x_series block is documented below.
    y_series ChartYSeriesArgs
    Y-series of chart. The structure of y_series block is documented below.
    background String
    Chart background.
    category String
    Category. Valid values: misc, traffic, event, virus, webfilter, attack, spam, dlp, app-ctrl, vulnerability.
    categorySeries Property Map
    Category series of pie chart. The structure of category_series block is documented below.
    colorPalette String
    Color palette (system will pick color automatically by default).
    columns List<Property Map>
    Table column definition. The structure of column block is documented below.
    comments String
    Comment.
    dataset String
    Bind dataset to chart.
    dimension String
    Dimension. Valid values: 2D, 3D.
    drillDownCharts List<Property Map>
    Drill down charts. The structure of drill_down_charts block is documented below.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    favorite String
    Favorite. Valid values: no, yes.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    graphType String
    Graph type. Valid values: none, bar, pie, line, flow.
    legend String
    Enable/Disable Legend area. Valid values: enable, disable.
    legendFontSize Number
    Font size of legend area.
    name String
    Chart Widget Name
    period String
    Time period. Valid values: last24h, last7d.
    policy Number
    Used by monitor policy.
    style String
    Style. Valid values: auto, manual.
    title String
    Chart title.
    titleFontSize Number
    Font size of chart title.
    type String
    Chart type. Valid values: graph, table.
    valueSeries Property Map
    Value series of pie chart. The structure of value_series block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    xSeries Property Map
    X-series of chart. The structure of x_series block is documented below.
    ySeries Property Map
    Y-series of chart. The structure of y_series block is documented below.

    Supporting Types

    ChartCategorySeries, ChartCategorySeriesArgs

    Databind string
    Category series value expression.
    FontSize int
    Font size of category-series title.
    Databind string
    Category series value expression.
    FontSize int
    Font size of category-series title.
    databind String
    Category series value expression.
    fontSize Integer
    Font size of category-series title.
    databind string
    Category series value expression.
    fontSize number
    Font size of category-series title.
    databind str
    Category series value expression.
    font_size int
    Font size of category-series title.
    databind String
    Category series value expression.
    fontSize Number
    Font size of category-series title.

    ChartColumn, ChartColumnArgs

    DetailUnit string
    Detail unit of column.
    DetailValue string
    Detail value of column.
    FooterUnit string
    Footer unit of column.
    FooterValue string
    Footer value of column.
    HeaderValue string
    Display name of table header.
    Id int
    ID.
    Mappings List<Pulumiverse.Fortios.Report.Inputs.ChartColumnMapping>
    Show detail in certain display value for certain condition. The structure of mapping block is documented below.
    DetailUnit string
    Detail unit of column.
    DetailValue string
    Detail value of column.
    FooterUnit string
    Footer unit of column.
    FooterValue string
    Footer value of column.
    HeaderValue string
    Display name of table header.
    Id int
    ID.
    Mappings []ChartColumnMapping
    Show detail in certain display value for certain condition. The structure of mapping block is documented below.
    detailUnit String
    Detail unit of column.
    detailValue String
    Detail value of column.
    footerUnit String
    Footer unit of column.
    footerValue String
    Footer value of column.
    headerValue String
    Display name of table header.
    id Integer
    ID.
    mappings List<ChartColumnMapping>
    Show detail in certain display value for certain condition. The structure of mapping block is documented below.
    detailUnit string
    Detail unit of column.
    detailValue string
    Detail value of column.
    footerUnit string
    Footer unit of column.
    footerValue string
    Footer value of column.
    headerValue string
    Display name of table header.
    id number
    ID.
    mappings ChartColumnMapping[]
    Show detail in certain display value for certain condition. The structure of mapping block is documented below.
    detail_unit str
    Detail unit of column.
    detail_value str
    Detail value of column.
    footer_unit str
    Footer unit of column.
    footer_value str
    Footer value of column.
    header_value str
    Display name of table header.
    id int
    ID.
    mappings Sequence[ChartColumnMapping]
    Show detail in certain display value for certain condition. The structure of mapping block is documented below.
    detailUnit String
    Detail unit of column.
    detailValue String
    Detail value of column.
    footerUnit String
    Footer unit of column.
    footerValue String
    Footer value of column.
    headerValue String
    Display name of table header.
    id Number
    ID.
    mappings List<Property Map>
    Show detail in certain display value for certain condition. The structure of mapping block is documented below.

    ChartColumnMapping, ChartColumnMappingArgs

    Displayname string
    Display name.
    Id int
    id
    Op string
    Comparision operater. Valid values: none, greater, greater-equal, less, less-equal, equal, between.
    Value1 string
    Value 1.
    Value2 string
    Value 2.
    ValueType string
    Value type. Valid values: integer, string.
    Displayname string
    Display name.
    Id int
    id
    Op string
    Comparision operater. Valid values: none, greater, greater-equal, less, less-equal, equal, between.
    Value1 string
    Value 1.
    Value2 string
    Value 2.
    ValueType string
    Value type. Valid values: integer, string.
    displayname String
    Display name.
    id Integer
    id
    op String
    Comparision operater. Valid values: none, greater, greater-equal, less, less-equal, equal, between.
    value1 String
    Value 1.
    value2 String
    Value 2.
    valueType String
    Value type. Valid values: integer, string.
    displayname string
    Display name.
    id number
    id
    op string
    Comparision operater. Valid values: none, greater, greater-equal, less, less-equal, equal, between.
    value1 string
    Value 1.
    value2 string
    Value 2.
    valueType string
    Value type. Valid values: integer, string.
    displayname str
    Display name.
    id int
    id
    op str
    Comparision operater. Valid values: none, greater, greater-equal, less, less-equal, equal, between.
    value1 str
    Value 1.
    value2 str
    Value 2.
    value_type str
    Value type. Valid values: integer, string.
    displayname String
    Display name.
    id Number
    id
    op String
    Comparision operater. Valid values: none, greater, greater-equal, less, less-equal, equal, between.
    value1 String
    Value 1.
    value2 String
    Value 2.
    valueType String
    Value type. Valid values: integer, string.

    ChartDrillDownChart, ChartDrillDownChartArgs

    ChartName string
    Drill down chart name.
    Id int
    Drill down chart ID.
    Status string
    Enable/disable this drill down chart. Valid values: enable, disable.
    ChartName string
    Drill down chart name.
    Id int
    Drill down chart ID.
    Status string
    Enable/disable this drill down chart. Valid values: enable, disable.
    chartName String
    Drill down chart name.
    id Integer
    Drill down chart ID.
    status String
    Enable/disable this drill down chart. Valid values: enable, disable.
    chartName string
    Drill down chart name.
    id number
    Drill down chart ID.
    status string
    Enable/disable this drill down chart. Valid values: enable, disable.
    chart_name str
    Drill down chart name.
    id int
    Drill down chart ID.
    status str
    Enable/disable this drill down chart. Valid values: enable, disable.
    chartName String
    Drill down chart name.
    id Number
    Drill down chart ID.
    status String
    Enable/disable this drill down chart. Valid values: enable, disable.

    ChartValueSeries, ChartValueSeriesArgs

    Databind string
    Value series value expression.
    Databind string
    Value series value expression.
    databind String
    Value series value expression.
    databind string
    Value series value expression.
    databind str
    Value series value expression.
    databind String
    Value series value expression.

    ChartXSeries, ChartXSeriesArgs

    Caption string
    X-series caption.
    CaptionFontSize int
    X-series caption font size.
    Databind string
    X-series value expression.
    FontSize int
    X-series label font size.
    IsCategory string
    X-series represent category or not. Valid values: yes, no.
    LabelAngle string
    X-series label angle. Valid values: 45-degree, vertical, horizontal.
    ScaleDirection string
    Scale increase or decrease. Valid values: decrease, increase.
    ScaleFormat string
    Date/time format. Valid values: YYYY-MM-DD-HH-MM, YYYY-MM-DD HH, YYYY-MM-DD, YYYY-MM, YYYY, HH-MM, MM-DD.
    ScaleStep int
    Scale step.
    ScaleUnit string
    Scale unit. Valid values: minute, hour, day, month, year.
    Unit string
    X-series unit.
    Caption string
    X-series caption.
    CaptionFontSize int
    X-series caption font size.
    Databind string
    X-series value expression.
    FontSize int
    X-series label font size.
    IsCategory string
    X-series represent category or not. Valid values: yes, no.
    LabelAngle string
    X-series label angle. Valid values: 45-degree, vertical, horizontal.
    ScaleDirection string
    Scale increase or decrease. Valid values: decrease, increase.
    ScaleFormat string
    Date/time format. Valid values: YYYY-MM-DD-HH-MM, YYYY-MM-DD HH, YYYY-MM-DD, YYYY-MM, YYYY, HH-MM, MM-DD.
    ScaleStep int
    Scale step.
    ScaleUnit string
    Scale unit. Valid values: minute, hour, day, month, year.
    Unit string
    X-series unit.
    caption String
    X-series caption.
    captionFontSize Integer
    X-series caption font size.
    databind String
    X-series value expression.
    fontSize Integer
    X-series label font size.
    isCategory String
    X-series represent category or not. Valid values: yes, no.
    labelAngle String
    X-series label angle. Valid values: 45-degree, vertical, horizontal.
    scaleDirection String
    Scale increase or decrease. Valid values: decrease, increase.
    scaleFormat String
    Date/time format. Valid values: YYYY-MM-DD-HH-MM, YYYY-MM-DD HH, YYYY-MM-DD, YYYY-MM, YYYY, HH-MM, MM-DD.
    scaleStep Integer
    Scale step.
    scaleUnit String
    Scale unit. Valid values: minute, hour, day, month, year.
    unit String
    X-series unit.
    caption string
    X-series caption.
    captionFontSize number
    X-series caption font size.
    databind string
    X-series value expression.
    fontSize number
    X-series label font size.
    isCategory string
    X-series represent category or not. Valid values: yes, no.
    labelAngle string
    X-series label angle. Valid values: 45-degree, vertical, horizontal.
    scaleDirection string
    Scale increase or decrease. Valid values: decrease, increase.
    scaleFormat string
    Date/time format. Valid values: YYYY-MM-DD-HH-MM, YYYY-MM-DD HH, YYYY-MM-DD, YYYY-MM, YYYY, HH-MM, MM-DD.
    scaleStep number
    Scale step.
    scaleUnit string
    Scale unit. Valid values: minute, hour, day, month, year.
    unit string
    X-series unit.
    caption str
    X-series caption.
    caption_font_size int
    X-series caption font size.
    databind str
    X-series value expression.
    font_size int
    X-series label font size.
    is_category str
    X-series represent category or not. Valid values: yes, no.
    label_angle str
    X-series label angle. Valid values: 45-degree, vertical, horizontal.
    scale_direction str
    Scale increase or decrease. Valid values: decrease, increase.
    scale_format str
    Date/time format. Valid values: YYYY-MM-DD-HH-MM, YYYY-MM-DD HH, YYYY-MM-DD, YYYY-MM, YYYY, HH-MM, MM-DD.
    scale_step int
    Scale step.
    scale_unit str
    Scale unit. Valid values: minute, hour, day, month, year.
    unit str
    X-series unit.
    caption String
    X-series caption.
    captionFontSize Number
    X-series caption font size.
    databind String
    X-series value expression.
    fontSize Number
    X-series label font size.
    isCategory String
    X-series represent category or not. Valid values: yes, no.
    labelAngle String
    X-series label angle. Valid values: 45-degree, vertical, horizontal.
    scaleDirection String
    Scale increase or decrease. Valid values: decrease, increase.
    scaleFormat String
    Date/time format. Valid values: YYYY-MM-DD-HH-MM, YYYY-MM-DD HH, YYYY-MM-DD, YYYY-MM, YYYY, HH-MM, MM-DD.
    scaleStep Number
    Scale step.
    scaleUnit String
    Scale unit. Valid values: minute, hour, day, month, year.
    unit String
    X-series unit.

    ChartYSeries, ChartYSeriesArgs

    Caption string
    Y-series caption.
    CaptionFontSize int
    Y-series caption font size.
    Databind string
    Y-series value expression.
    ExtraDatabind string
    Extra Y-series value.
    ExtraY string
    Allow another Y-series value Valid values: enable, disable.
    ExtraYLegend string
    Extra Y-series legend type/name.
    FontSize int
    Y-series label font size.
    Group string
    Y-series group option.
    LabelAngle string
    Y-series label angle. Valid values: 45-degree, vertical, horizontal.
    Unit string
    Y-series unit.
    YLegend string
    First Y-series legend type/name.
    Caption string
    Y-series caption.
    CaptionFontSize int
    Y-series caption font size.
    Databind string
    Y-series value expression.
    ExtraDatabind string
    Extra Y-series value.
    ExtraY string
    Allow another Y-series value Valid values: enable, disable.
    ExtraYLegend string
    Extra Y-series legend type/name.
    FontSize int
    Y-series label font size.
    Group string
    Y-series group option.
    LabelAngle string
    Y-series label angle. Valid values: 45-degree, vertical, horizontal.
    Unit string
    Y-series unit.
    YLegend string
    First Y-series legend type/name.
    caption String
    Y-series caption.
    captionFontSize Integer
    Y-series caption font size.
    databind String
    Y-series value expression.
    extraDatabind String
    Extra Y-series value.
    extraY String
    Allow another Y-series value Valid values: enable, disable.
    extraYLegend String
    Extra Y-series legend type/name.
    fontSize Integer
    Y-series label font size.
    group String
    Y-series group option.
    labelAngle String
    Y-series label angle. Valid values: 45-degree, vertical, horizontal.
    unit String
    Y-series unit.
    yLegend String
    First Y-series legend type/name.
    caption string
    Y-series caption.
    captionFontSize number
    Y-series caption font size.
    databind string
    Y-series value expression.
    extraDatabind string
    Extra Y-series value.
    extraY string
    Allow another Y-series value Valid values: enable, disable.
    extraYLegend string
    Extra Y-series legend type/name.
    fontSize number
    Y-series label font size.
    group string
    Y-series group option.
    labelAngle string
    Y-series label angle. Valid values: 45-degree, vertical, horizontal.
    unit string
    Y-series unit.
    yLegend string
    First Y-series legend type/name.
    caption str
    Y-series caption.
    caption_font_size int
    Y-series caption font size.
    databind str
    Y-series value expression.
    extra_databind str
    Extra Y-series value.
    extra_y str
    Allow another Y-series value Valid values: enable, disable.
    extra_y_legend str
    Extra Y-series legend type/name.
    font_size int
    Y-series label font size.
    group str
    Y-series group option.
    label_angle str
    Y-series label angle. Valid values: 45-degree, vertical, horizontal.
    unit str
    Y-series unit.
    y_legend str
    First Y-series legend type/name.
    caption String
    Y-series caption.
    captionFontSize Number
    Y-series caption font size.
    databind String
    Y-series value expression.
    extraDatabind String
    Extra Y-series value.
    extraY String
    Allow another Y-series value Valid values: enable, disable.
    extraYLegend String
    Extra Y-series legend type/name.
    fontSize Number
    Y-series label font size.
    group String
    Y-series group option.
    labelAngle String
    Y-series label angle. Valid values: 45-degree, vertical, horizontal.
    unit String
    Y-series unit.
    yLegend String
    First Y-series legend type/name.

    Import

    Report Chart can be imported using any of these accepted formats:

    $ pulumi import fortios:report/chart:Chart labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:report/chart:Chart labelname {{name}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse