signalfx.TableChart
Explore with Pulumi AI
This special type of chart displays a data table. This table can be grouped by a dimension.
Example
# signalfx_list_chart.Logs-Exec_0:
resource "signalfx_table_chart" "table_0" {
description = "beep"
disable_sampling = false
max_delay = 0
name = "TableChart!"
program_text = "A = data('cpu.usage.total').publish(label='CPU Total')"
group_by = ["ClusterName"]
}
Create TableChart Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TableChart(name: string, args: TableChartArgs, opts?: CustomResourceOptions);
@overload
def TableChart(resource_name: str,
args: TableChartArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TableChart(resource_name: str,
opts: Optional[ResourceOptions] = None,
program_text: Optional[str] = None,
description: Optional[str] = None,
disable_sampling: Optional[bool] = None,
group_bies: Optional[Sequence[str]] = None,
hide_timestamp: Optional[bool] = None,
max_delay: Optional[int] = None,
minimum_resolution: Optional[int] = None,
name: Optional[str] = None,
refresh_interval: Optional[int] = None,
timezone: Optional[str] = None,
unit_prefix: Optional[str] = None,
viz_options: Optional[Sequence[TableChartVizOptionArgs]] = None)
func NewTableChart(ctx *Context, name string, args TableChartArgs, opts ...ResourceOption) (*TableChart, error)
public TableChart(string name, TableChartArgs args, CustomResourceOptions? opts = null)
public TableChart(String name, TableChartArgs args)
public TableChart(String name, TableChartArgs args, CustomResourceOptions options)
type: signalfx:TableChart
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 TableChartArgs
- 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 TableChartArgs
- 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 TableChartArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TableChartArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TableChartArgs
- 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 tableChartResource = new SignalFx.TableChart("tableChartResource", new()
{
ProgramText = "string",
Description = "string",
DisableSampling = false,
GroupBies = new[]
{
"string",
},
HideTimestamp = false,
MaxDelay = 0,
MinimumResolution = 0,
Name = "string",
RefreshInterval = 0,
Timezone = "string",
UnitPrefix = "string",
VizOptions = new[]
{
new SignalFx.Inputs.TableChartVizOptionArgs
{
Label = "string",
Color = "string",
DisplayName = "string",
ValuePrefix = "string",
ValueSuffix = "string",
ValueUnit = "string",
},
},
});
example, err := signalfx.NewTableChart(ctx, "tableChartResource", &signalfx.TableChartArgs{
ProgramText: pulumi.String("string"),
Description: pulumi.String("string"),
DisableSampling: pulumi.Bool(false),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
HideTimestamp: pulumi.Bool(false),
MaxDelay: pulumi.Int(0),
MinimumResolution: pulumi.Int(0),
Name: pulumi.String("string"),
RefreshInterval: pulumi.Int(0),
Timezone: pulumi.String("string"),
UnitPrefix: pulumi.String("string"),
VizOptions: signalfx.TableChartVizOptionArray{
&signalfx.TableChartVizOptionArgs{
Label: pulumi.String("string"),
Color: pulumi.String("string"),
DisplayName: pulumi.String("string"),
ValuePrefix: pulumi.String("string"),
ValueSuffix: pulumi.String("string"),
ValueUnit: pulumi.String("string"),
},
},
})
var tableChartResource = new TableChart("tableChartResource", TableChartArgs.builder()
.programText("string")
.description("string")
.disableSampling(false)
.groupBies("string")
.hideTimestamp(false)
.maxDelay(0)
.minimumResolution(0)
.name("string")
.refreshInterval(0)
.timezone("string")
.unitPrefix("string")
.vizOptions(TableChartVizOptionArgs.builder()
.label("string")
.color("string")
.displayName("string")
.valuePrefix("string")
.valueSuffix("string")
.valueUnit("string")
.build())
.build());
table_chart_resource = signalfx.TableChart("tableChartResource",
program_text="string",
description="string",
disable_sampling=False,
group_bies=["string"],
hide_timestamp=False,
max_delay=0,
minimum_resolution=0,
name="string",
refresh_interval=0,
timezone="string",
unit_prefix="string",
viz_options=[signalfx.TableChartVizOptionArgs(
label="string",
color="string",
display_name="string",
value_prefix="string",
value_suffix="string",
value_unit="string",
)])
const tableChartResource = new signalfx.TableChart("tableChartResource", {
programText: "string",
description: "string",
disableSampling: false,
groupBies: ["string"],
hideTimestamp: false,
maxDelay: 0,
minimumResolution: 0,
name: "string",
refreshInterval: 0,
timezone: "string",
unitPrefix: "string",
vizOptions: [{
label: "string",
color: "string",
displayName: "string",
valuePrefix: "string",
valueSuffix: "string",
valueUnit: "string",
}],
});
type: signalfx:TableChart
properties:
description: string
disableSampling: false
groupBies:
- string
hideTimestamp: false
maxDelay: 0
minimumResolution: 0
name: string
programText: string
refreshInterval: 0
timezone: string
unitPrefix: string
vizOptions:
- color: string
displayName: string
label: string
valuePrefix: string
valueSuffix: string
valueUnit: string
TableChart 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 TableChart resource accepts the following input properties:
- Program
Text string - The SignalFlow for your Data Table Chart
- Description string
- Description of the table chart.
- Disable
Sampling bool - (false by default) If false, samples a subset of the output MTS, which improves UI performance
- Group
Bies List<string> - Dimension to group by
- Hide
Timestamp bool - (false by default) Whether to show the timestamp in the chart
- Max
Delay int - How long (in seconds) to wait for late datapoints
- Minimum
Resolution int - The minimum resolution (in seconds) to use for computing the underlying program
- Name string
- Name of the table chart.
- Refresh
Interval int - How often (in seconds) to refresh the values of the Table
- Timezone string
- The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
- Unit
Prefix string - (Metric by default) Must be "Metric" or "Binary"
- Viz
Options List<Pulumi.Signal Fx. Inputs. Table Chart Viz Option> - Plot-level customization options, associated with a publish statement
- Program
Text string - The SignalFlow for your Data Table Chart
- Description string
- Description of the table chart.
- Disable
Sampling bool - (false by default) If false, samples a subset of the output MTS, which improves UI performance
- Group
Bies []string - Dimension to group by
- Hide
Timestamp bool - (false by default) Whether to show the timestamp in the chart
- Max
Delay int - How long (in seconds) to wait for late datapoints
- Minimum
Resolution int - The minimum resolution (in seconds) to use for computing the underlying program
- Name string
- Name of the table chart.
- Refresh
Interval int - How often (in seconds) to refresh the values of the Table
- Timezone string
- The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
- Unit
Prefix string - (Metric by default) Must be "Metric" or "Binary"
- Viz
Options []TableChart Viz Option Args - Plot-level customization options, associated with a publish statement
- program
Text String - The SignalFlow for your Data Table Chart
- description String
- Description of the table chart.
- disable
Sampling Boolean - (false by default) If false, samples a subset of the output MTS, which improves UI performance
- group
Bies List<String> - Dimension to group by
- hide
Timestamp Boolean - (false by default) Whether to show the timestamp in the chart
- max
Delay Integer - How long (in seconds) to wait for late datapoints
- minimum
Resolution Integer - The minimum resolution (in seconds) to use for computing the underlying program
- name String
- Name of the table chart.
- refresh
Interval Integer - How often (in seconds) to refresh the values of the Table
- timezone String
- The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
- unit
Prefix String - (Metric by default) Must be "Metric" or "Binary"
- viz
Options List<TableChart Viz Option> - Plot-level customization options, associated with a publish statement
- program
Text string - The SignalFlow for your Data Table Chart
- description string
- Description of the table chart.
- disable
Sampling boolean - (false by default) If false, samples a subset of the output MTS, which improves UI performance
- group
Bies string[] - Dimension to group by
- hide
Timestamp boolean - (false by default) Whether to show the timestamp in the chart
- max
Delay number - How long (in seconds) to wait for late datapoints
- minimum
Resolution number - The minimum resolution (in seconds) to use for computing the underlying program
- name string
- Name of the table chart.
- refresh
Interval number - How often (in seconds) to refresh the values of the Table
- timezone string
- The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
- unit
Prefix string - (Metric by default) Must be "Metric" or "Binary"
- viz
Options TableChart Viz Option[] - Plot-level customization options, associated with a publish statement
- program_
text str - The SignalFlow for your Data Table Chart
- description str
- Description of the table chart.
- disable_
sampling bool - (false by default) If false, samples a subset of the output MTS, which improves UI performance
- group_
bies Sequence[str] - Dimension to group by
- hide_
timestamp bool - (false by default) Whether to show the timestamp in the chart
- max_
delay int - How long (in seconds) to wait for late datapoints
- minimum_
resolution int - The minimum resolution (in seconds) to use for computing the underlying program
- name str
- Name of the table chart.
- refresh_
interval int - How often (in seconds) to refresh the values of the Table
- timezone str
- The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
- unit_
prefix str - (Metric by default) Must be "Metric" or "Binary"
- viz_
options Sequence[TableChart Viz Option Args] - Plot-level customization options, associated with a publish statement
- program
Text String - The SignalFlow for your Data Table Chart
- description String
- Description of the table chart.
- disable
Sampling Boolean - (false by default) If false, samples a subset of the output MTS, which improves UI performance
- group
Bies List<String> - Dimension to group by
- hide
Timestamp Boolean - (false by default) Whether to show the timestamp in the chart
- max
Delay Number - How long (in seconds) to wait for late datapoints
- minimum
Resolution Number - The minimum resolution (in seconds) to use for computing the underlying program
- name String
- Name of the table chart.
- refresh
Interval Number - How often (in seconds) to refresh the values of the Table
- timezone String
- The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
- unit
Prefix String - (Metric by default) Must be "Metric" or "Binary"
- viz
Options List<Property Map> - Plot-level customization options, associated with a publish statement
Outputs
All input properties are implicitly available as output properties. Additionally, the TableChart resource produces the following output properties:
Look up Existing TableChart Resource
Get an existing TableChart 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?: TableChartState, opts?: CustomResourceOptions): TableChart
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
disable_sampling: Optional[bool] = None,
group_bies: Optional[Sequence[str]] = None,
hide_timestamp: Optional[bool] = None,
max_delay: Optional[int] = None,
minimum_resolution: Optional[int] = None,
name: Optional[str] = None,
program_text: Optional[str] = None,
refresh_interval: Optional[int] = None,
timezone: Optional[str] = None,
unit_prefix: Optional[str] = None,
url: Optional[str] = None,
viz_options: Optional[Sequence[TableChartVizOptionArgs]] = None) -> TableChart
func GetTableChart(ctx *Context, name string, id IDInput, state *TableChartState, opts ...ResourceOption) (*TableChart, error)
public static TableChart Get(string name, Input<string> id, TableChartState? state, CustomResourceOptions? opts = null)
public static TableChart get(String name, Output<String> id, TableChartState 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.
- Description string
- Description of the table chart.
- Disable
Sampling bool - (false by default) If false, samples a subset of the output MTS, which improves UI performance
- Group
Bies List<string> - Dimension to group by
- Hide
Timestamp bool - (false by default) Whether to show the timestamp in the chart
- Max
Delay int - How long (in seconds) to wait for late datapoints
- Minimum
Resolution int - The minimum resolution (in seconds) to use for computing the underlying program
- Name string
- Name of the table chart.
- Program
Text string - The SignalFlow for your Data Table Chart
- Refresh
Interval int - How often (in seconds) to refresh the values of the Table
- Timezone string
- The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
- Unit
Prefix string - (Metric by default) Must be "Metric" or "Binary"
- Url string
- The URL of the chart.
- Viz
Options List<Pulumi.Signal Fx. Inputs. Table Chart Viz Option> - Plot-level customization options, associated with a publish statement
- Description string
- Description of the table chart.
- Disable
Sampling bool - (false by default) If false, samples a subset of the output MTS, which improves UI performance
- Group
Bies []string - Dimension to group by
- Hide
Timestamp bool - (false by default) Whether to show the timestamp in the chart
- Max
Delay int - How long (in seconds) to wait for late datapoints
- Minimum
Resolution int - The minimum resolution (in seconds) to use for computing the underlying program
- Name string
- Name of the table chart.
- Program
Text string - The SignalFlow for your Data Table Chart
- Refresh
Interval int - How often (in seconds) to refresh the values of the Table
- Timezone string
- The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
- Unit
Prefix string - (Metric by default) Must be "Metric" or "Binary"
- Url string
- The URL of the chart.
- Viz
Options []TableChart Viz Option Args - Plot-level customization options, associated with a publish statement
- description String
- Description of the table chart.
- disable
Sampling Boolean - (false by default) If false, samples a subset of the output MTS, which improves UI performance
- group
Bies List<String> - Dimension to group by
- hide
Timestamp Boolean - (false by default) Whether to show the timestamp in the chart
- max
Delay Integer - How long (in seconds) to wait for late datapoints
- minimum
Resolution Integer - The minimum resolution (in seconds) to use for computing the underlying program
- name String
- Name of the table chart.
- program
Text String - The SignalFlow for your Data Table Chart
- refresh
Interval Integer - How often (in seconds) to refresh the values of the Table
- timezone String
- The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
- unit
Prefix String - (Metric by default) Must be "Metric" or "Binary"
- url String
- The URL of the chart.
- viz
Options List<TableChart Viz Option> - Plot-level customization options, associated with a publish statement
- description string
- Description of the table chart.
- disable
Sampling boolean - (false by default) If false, samples a subset of the output MTS, which improves UI performance
- group
Bies string[] - Dimension to group by
- hide
Timestamp boolean - (false by default) Whether to show the timestamp in the chart
- max
Delay number - How long (in seconds) to wait for late datapoints
- minimum
Resolution number - The minimum resolution (in seconds) to use for computing the underlying program
- name string
- Name of the table chart.
- program
Text string - The SignalFlow for your Data Table Chart
- refresh
Interval number - How often (in seconds) to refresh the values of the Table
- timezone string
- The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
- unit
Prefix string - (Metric by default) Must be "Metric" or "Binary"
- url string
- The URL of the chart.
- viz
Options TableChart Viz Option[] - Plot-level customization options, associated with a publish statement
- description str
- Description of the table chart.
- disable_
sampling bool - (false by default) If false, samples a subset of the output MTS, which improves UI performance
- group_
bies Sequence[str] - Dimension to group by
- hide_
timestamp bool - (false by default) Whether to show the timestamp in the chart
- max_
delay int - How long (in seconds) to wait for late datapoints
- minimum_
resolution int - The minimum resolution (in seconds) to use for computing the underlying program
- name str
- Name of the table chart.
- program_
text str - The SignalFlow for your Data Table Chart
- refresh_
interval int - How often (in seconds) to refresh the values of the Table
- timezone str
- The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
- unit_
prefix str - (Metric by default) Must be "Metric" or "Binary"
- url str
- The URL of the chart.
- viz_
options Sequence[TableChart Viz Option Args] - Plot-level customization options, associated with a publish statement
- description String
- Description of the table chart.
- disable
Sampling Boolean - (false by default) If false, samples a subset of the output MTS, which improves UI performance
- group
Bies List<String> - Dimension to group by
- hide
Timestamp Boolean - (false by default) Whether to show the timestamp in the chart
- max
Delay Number - How long (in seconds) to wait for late datapoints
- minimum
Resolution Number - The minimum resolution (in seconds) to use for computing the underlying program
- name String
- Name of the table chart.
- program
Text String - The SignalFlow for your Data Table Chart
- refresh
Interval Number - How often (in seconds) to refresh the values of the Table
- timezone String
- The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
- unit
Prefix String - (Metric by default) Must be "Metric" or "Binary"
- url String
- The URL of the chart.
- viz
Options List<Property Map> - Plot-level customization options, associated with a publish statement
Supporting Types
TableChartVizOption, TableChartVizOptionArgs
- Label string
- The label used in the publish statement that displays the plot (metric time series data) you want to customize
- Color string
- Color to use
- Display
Name string - Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
- Value
Prefix string - An arbitrary prefix to display with the value of this plot
- Value
Suffix string - An arbitrary suffix to display with the value of this plot
- Value
Unit string - A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes)
- Label string
- The label used in the publish statement that displays the plot (metric time series data) you want to customize
- Color string
- Color to use
- Display
Name string - Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
- Value
Prefix string - An arbitrary prefix to display with the value of this plot
- Value
Suffix string - An arbitrary suffix to display with the value of this plot
- Value
Unit string - A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes)
- label String
- The label used in the publish statement that displays the plot (metric time series data) you want to customize
- color String
- Color to use
- display
Name String - Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
- value
Prefix String - An arbitrary prefix to display with the value of this plot
- value
Suffix String - An arbitrary suffix to display with the value of this plot
- value
Unit String - A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes)
- label string
- The label used in the publish statement that displays the plot (metric time series data) you want to customize
- color string
- Color to use
- display
Name string - Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
- value
Prefix string - An arbitrary prefix to display with the value of this plot
- value
Suffix string - An arbitrary suffix to display with the value of this plot
- value
Unit string - A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes)
- label str
- The label used in the publish statement that displays the plot (metric time series data) you want to customize
- color str
- Color to use
- display_
name str - Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
- value_
prefix str - An arbitrary prefix to display with the value of this plot
- value_
suffix str - An arbitrary suffix to display with the value of this plot
- value_
unit str - A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes)
- label String
- The label used in the publish statement that displays the plot (metric time series data) you want to customize
- color String
- Color to use
- display
Name String - Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
- value
Prefix String - An arbitrary prefix to display with the value of this plot
- value
Suffix String - An arbitrary suffix to display with the value of this plot
- value
Unit String - A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes)
Package Details
- Repository
- SignalFx pulumi/pulumi-signalfx
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
signalfx
Terraform Provider.