UNPKG

@pulumi/signalfx

Version:

A Pulumi package for creating and managing SignalFx resources.

149 lines 5.48 kB
import * as pulumi from "@pulumi/pulumi"; /** * Displays a listing of events as a widget in a dashboard. * * ## Example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as signalfx from "@pulumi/signalfx"; * * const mynote0 = new signalfx.EventFeedChart("mynote0", { * name: "Important Dashboard Note", * description: "Lorem ipsum dolor sit amet", * programText: "A = events(eventType='My Event Type').publish(label='A')", * vizOptions: [{ * label: "A", * color: "orange", * }], * }); * ``` */ export declare class EventFeedChart extends pulumi.CustomResource { /** * Get an existing EventFeedChart resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EventFeedChartState, opts?: pulumi.CustomResourceOptions): EventFeedChart; /** * Returns true if the given object is an instance of EventFeedChart. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EventFeedChart; /** * Description of the text note. */ readonly description: pulumi.Output<string | undefined>; /** * Seconds since epoch. Used for visualization. Conflicts with `timeRange`. */ readonly endTime: pulumi.Output<number | undefined>; /** * Name of the text note. */ readonly name: pulumi.Output<string>; /** * Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/). */ readonly programText: pulumi.Output<string>; /** * Seconds since epoch. Used for visualization. Conflicts with `timeRange`. */ readonly startTime: pulumi.Output<number | undefined>; /** * Tags associated with the resource */ readonly tags: pulumi.Output<string[] | undefined>; /** * From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`. */ readonly timeRange: pulumi.Output<number | undefined>; /** * The URL of the chart. */ readonly url: pulumi.Output<string>; /** * Create a EventFeedChart resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EventFeedChartArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EventFeedChart resources. */ export interface EventFeedChartState { /** * Description of the text note. */ description?: pulumi.Input<string | undefined>; /** * Seconds since epoch. Used for visualization. Conflicts with `timeRange`. */ endTime?: pulumi.Input<number | undefined>; /** * Name of the text note. */ name?: pulumi.Input<string | undefined>; /** * Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/). */ programText?: pulumi.Input<string | undefined>; /** * Seconds since epoch. Used for visualization. Conflicts with `timeRange`. */ startTime?: pulumi.Input<number | undefined>; /** * Tags associated with the resource */ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>; /** * From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`. */ timeRange?: pulumi.Input<number | undefined>; /** * The URL of the chart. */ url?: pulumi.Input<string | undefined>; } /** * The set of arguments for constructing a EventFeedChart resource. */ export interface EventFeedChartArgs { /** * Description of the text note. */ description?: pulumi.Input<string | undefined>; /** * Seconds since epoch. Used for visualization. Conflicts with `timeRange`. */ endTime?: pulumi.Input<number | undefined>; /** * Name of the text note. */ name?: pulumi.Input<string | undefined>; /** * Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/). */ programText: pulumi.Input<string>; /** * Seconds since epoch. Used for visualization. Conflicts with `timeRange`. */ startTime?: pulumi.Input<number | undefined>; /** * Tags associated with the resource */ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>; /** * From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`. */ timeRange?: pulumi.Input<number | undefined>; } //# sourceMappingURL=eventFeedChart.d.ts.map