@pulumi/signalfx 5.5.0 → 5.6.0-alpha.1661919440

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/logs/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./listChart";
1
+ export * from "./view";
package/logs/index.js CHANGED
@@ -19,19 +19,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  const pulumi = require("@pulumi/pulumi");
20
20
  const utilities = require("../utilities");
21
21
  // Export members:
22
- __exportStar(require("./listChart"), exports);
22
+ __exportStar(require("./view"), exports);
23
23
  // Import resources to register:
24
- const listChart_1 = require("./listChart");
24
+ const view_1 = require("./view");
25
25
  const _module = {
26
26
  version: utilities.getVersion(),
27
27
  construct: (name, type, urn) => {
28
28
  switch (type) {
29
- case "signalfx:logs/listChart:ListChart":
30
- return new listChart_1.ListChart(name, undefined, { urn });
29
+ case "signalfx:logs/view:View":
30
+ return new view_1.View(name, undefined, { urn });
31
31
  default:
32
32
  throw new Error(`unknown resource type ${type}`);
33
33
  }
34
34
  },
35
35
  };
36
- pulumi.runtime.registerResourceModule("signalfx", "logs/listChart", _module);
36
+ pulumi.runtime.registerResourceModule("signalfx", "logs/view", _module);
37
37
  //# sourceMappingURL=index.js.map
package/logs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../logs/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,8CAA4B;AAE5B,gCAAgC;AAChC,2CAAwC;AAExC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,mCAAmC;gBACpC,OAAO,IAAI,qBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../logs/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,yCAAuB;AAEvB,gCAAgC;AAChC,iCAA8B;AAE9B,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,yBAAyB;gBAC1B,OAAO,IAAI,WAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA"}
package/logs/view.d.ts ADDED
@@ -0,0 +1,193 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * You can add logs data to your Observability Cloud dashboards without turning your logs into metrics first. A log view displays log lines in a table form in a dashboard and shows you in detail what is happening and why.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as signalfx from "@pulumi/signalfx";
11
+ *
12
+ * const myLogView = new signalfx.logs.View("my_log_view", {
13
+ * columns: [
14
+ * {
15
+ * name: "severity",
16
+ * },
17
+ * {
18
+ * name: "time",
19
+ * },
20
+ * {
21
+ * name: "amount.currency_code",
22
+ * },
23
+ * {
24
+ * name: "amount.nanos",
25
+ * },
26
+ * {
27
+ * name: "amount.units",
28
+ * },
29
+ * {
30
+ * name: "message",
31
+ * },
32
+ * ],
33
+ * description: "Lorem ipsum dolor sit amet, laudem tibique iracundia at mea. Nam posse dolores ex, nec cu adhuc putent honestatis",
34
+ * programText: "logs(filter=field('message') == 'Transaction processed' and field('service.name') == 'paymentservice').publish()\n",
35
+ * sortOptions: [{
36
+ * descending: false,
37
+ * field: "severity",
38
+ * }],
39
+ * timeRange: 900,
40
+ * });
41
+ * ```
42
+ */
43
+ export declare class View extends pulumi.CustomResource {
44
+ /**
45
+ * Get an existing View resource's state with the given name, ID, and optional extra
46
+ * properties used to qualify the lookup.
47
+ *
48
+ * @param name The _unique_ name of the resulting resource.
49
+ * @param id The _unique_ provider ID of the resource to lookup.
50
+ * @param state Any extra arguments used during the lookup.
51
+ * @param opts Optional settings to control the behavior of the CustomResource.
52
+ */
53
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ViewState, opts?: pulumi.CustomResourceOptions): View;
54
+ /**
55
+ * Returns true if the given object is an instance of View. This is designed to work even
56
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
57
+ */
58
+ static isInstance(obj: any): obj is View;
59
+ /**
60
+ * The column headers to show on the log view.
61
+ */
62
+ readonly columns: pulumi.Output<outputs.logs.ViewColumn[] | undefined>;
63
+ /**
64
+ * The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
65
+ */
66
+ readonly defaultConnection: pulumi.Output<string | undefined>;
67
+ /**
68
+ * Description of the log view.
69
+ */
70
+ readonly description: pulumi.Output<string | undefined>;
71
+ /**
72
+ * Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
73
+ */
74
+ readonly endTime: pulumi.Output<number | undefined>;
75
+ /**
76
+ * Name of the log view.
77
+ */
78
+ readonly name: pulumi.Output<string>;
79
+ /**
80
+ * Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
81
+ */
82
+ readonly programText: pulumi.Output<string>;
83
+ /**
84
+ * The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
85
+ */
86
+ readonly sortOptions: pulumi.Output<outputs.logs.ViewSortOption[] | undefined>;
87
+ /**
88
+ * Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
89
+ */
90
+ readonly startTime: pulumi.Output<number | undefined>;
91
+ /**
92
+ * From when to display data. SignalFx time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`.
93
+ */
94
+ readonly timeRange: pulumi.Output<number | undefined>;
95
+ /**
96
+ * The URL of the log view.
97
+ */
98
+ readonly url: pulumi.Output<string>;
99
+ /**
100
+ * Create a View resource with the given unique name, arguments, and options.
101
+ *
102
+ * @param name The _unique_ name of the resource.
103
+ * @param args The arguments to use to populate this resource's properties.
104
+ * @param opts A bag of options that control this resource's behavior.
105
+ */
106
+ constructor(name: string, args: ViewArgs, opts?: pulumi.CustomResourceOptions);
107
+ }
108
+ /**
109
+ * Input properties used for looking up and filtering View resources.
110
+ */
111
+ export interface ViewState {
112
+ /**
113
+ * The column headers to show on the log view.
114
+ */
115
+ columns?: pulumi.Input<pulumi.Input<inputs.logs.ViewColumn>[]>;
116
+ /**
117
+ * The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
118
+ */
119
+ defaultConnection?: pulumi.Input<string>;
120
+ /**
121
+ * Description of the log view.
122
+ */
123
+ description?: pulumi.Input<string>;
124
+ /**
125
+ * Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
126
+ */
127
+ endTime?: pulumi.Input<number>;
128
+ /**
129
+ * Name of the log view.
130
+ */
131
+ name?: pulumi.Input<string>;
132
+ /**
133
+ * Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
134
+ */
135
+ programText?: pulumi.Input<string>;
136
+ /**
137
+ * The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
138
+ */
139
+ sortOptions?: pulumi.Input<pulumi.Input<inputs.logs.ViewSortOption>[]>;
140
+ /**
141
+ * Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
142
+ */
143
+ startTime?: pulumi.Input<number>;
144
+ /**
145
+ * From when to display data. SignalFx time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`.
146
+ */
147
+ timeRange?: pulumi.Input<number>;
148
+ /**
149
+ * The URL of the log view.
150
+ */
151
+ url?: pulumi.Input<string>;
152
+ }
153
+ /**
154
+ * The set of arguments for constructing a View resource.
155
+ */
156
+ export interface ViewArgs {
157
+ /**
158
+ * The column headers to show on the log view.
159
+ */
160
+ columns?: pulumi.Input<pulumi.Input<inputs.logs.ViewColumn>[]>;
161
+ /**
162
+ * The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
163
+ */
164
+ defaultConnection?: pulumi.Input<string>;
165
+ /**
166
+ * Description of the log view.
167
+ */
168
+ description?: pulumi.Input<string>;
169
+ /**
170
+ * Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
171
+ */
172
+ endTime?: pulumi.Input<number>;
173
+ /**
174
+ * Name of the log view.
175
+ */
176
+ name?: pulumi.Input<string>;
177
+ /**
178
+ * Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
179
+ */
180
+ programText: pulumi.Input<string>;
181
+ /**
182
+ * The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
183
+ */
184
+ sortOptions?: pulumi.Input<pulumi.Input<inputs.logs.ViewSortOption>[]>;
185
+ /**
186
+ * Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
187
+ */
188
+ startTime?: pulumi.Input<number>;
189
+ /**
190
+ * From when to display data. SignalFx time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`.
191
+ */
192
+ timeRange?: pulumi.Input<number>;
193
+ }
@@ -2,13 +2,11 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.ListChart = void 0;
5
+ exports.View = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * This chart type displays current data values in a list format.
10
- *
11
- * The name of each value in the chart reflects the name of the plot and any associated dimensions. We recommend you click the Pencil icon and give the plot a meaningful name, as in plot B below. Otherwise, just the raw metric name will be displayed on the chart, as in plot A below.
9
+ * You can add logs data to your Observability Cloud dashboards without turning your logs into metrics first. A log view displays log lines in a table form in a dashboard and shows you in detail what is happening and why.
12
10
  *
13
11
  * ## Example Usage
14
12
  *
@@ -16,45 +14,38 @@ const utilities = require("../utilities");
16
14
  * import * as pulumi from "@pulumi/pulumi";
17
15
  * import * as signalfx from "@pulumi/signalfx";
18
16
  *
19
- * const mylistchart0 = new signalfx.ListChart("mylistchart0", {
20
- * colorBy: "Metric",
21
- * description: "Very cool List Chart",
22
- * disableSampling: true,
23
- * hideMissingValues: true,
24
- * legendOptionsFields: [
17
+ * const myLogView = new signalfx.logs.View("my_log_view", {
18
+ * columns: [
19
+ * {
20
+ * name: "severity",
21
+ * },
25
22
  * {
26
- * enabled: false,
27
- * property: "collector",
23
+ * name: "time",
28
24
  * },
29
25
  * {
30
- * enabled: true,
31
- * property: "cluster_name",
26
+ * name: "amount.currency_code",
32
27
  * },
33
28
  * {
34
- * enabled: true,
35
- * property: "role",
29
+ * name: "amount.nanos",
36
30
  * },
37
31
  * {
38
- * enabled: false,
39
- * property: "collector",
32
+ * name: "amount.units",
40
33
  * },
41
34
  * {
42
- * enabled: false,
43
- * property: "host",
35
+ * name: "message",
44
36
  * },
45
37
  * ],
46
- * maxDelay: 2,
47
- * maxPrecision: 2,
48
- * programText: `myfilters = filter("cluster_name", "prod") and filter("role", "search")
49
- * data("cpu.total.idle", filter=myfilters).publish()
50
- * `,
51
- * refreshInterval: 1,
52
- * sortBy: "-value",
53
- * timezone: "Europe/Paris",
38
+ * description: "Lorem ipsum dolor sit amet, laudem tibique iracundia at mea. Nam posse dolores ex, nec cu adhuc putent honestatis",
39
+ * programText: "logs(filter=field('message') == 'Transaction processed' and field('service.name') == 'paymentservice').publish()\n",
40
+ * sortOptions: [{
41
+ * descending: false,
42
+ * field: "severity",
43
+ * }],
44
+ * timeRange: 900,
54
45
  * });
55
46
  * ```
56
47
  */
57
- class ListChart extends pulumi.CustomResource {
48
+ class View extends pulumi.CustomResource {
58
49
  constructor(name, argsOrState, opts) {
59
50
  let resourceInputs = {};
60
51
  opts = opts || {};
@@ -88,10 +79,10 @@ class ListChart extends pulumi.CustomResource {
88
79
  resourceInputs["url"] = undefined /*out*/;
89
80
  }
90
81
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
91
- super(ListChart.__pulumiType, name, resourceInputs, opts);
82
+ super(View.__pulumiType, name, resourceInputs, opts);
92
83
  }
93
84
  /**
94
- * Get an existing ListChart resource's state with the given name, ID, and optional extra
85
+ * Get an existing View resource's state with the given name, ID, and optional extra
95
86
  * properties used to qualify the lookup.
96
87
  *
97
88
  * @param name The _unique_ name of the resulting resource.
@@ -100,20 +91,20 @@ class ListChart extends pulumi.CustomResource {
100
91
  * @param opts Optional settings to control the behavior of the CustomResource.
101
92
  */
102
93
  static get(name, id, state, opts) {
103
- return new ListChart(name, state, Object.assign(Object.assign({}, opts), { id: id }));
94
+ return new View(name, state, Object.assign(Object.assign({}, opts), { id: id }));
104
95
  }
105
96
  /**
106
- * Returns true if the given object is an instance of ListChart. This is designed to work even
97
+ * Returns true if the given object is an instance of View. This is designed to work even
107
98
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
108
99
  */
109
100
  static isInstance(obj) {
110
101
  if (obj === undefined || obj === null) {
111
102
  return false;
112
103
  }
113
- return obj['__pulumiType'] === ListChart.__pulumiType;
104
+ return obj['__pulumiType'] === View.__pulumiType;
114
105
  }
115
106
  }
116
- exports.ListChart = ListChart;
107
+ exports.View = View;
117
108
  /** @internal */
118
- ListChart.__pulumiType = 'signalfx:logs/listChart:ListChart';
119
- //# sourceMappingURL=listChart.js.map
109
+ View.__pulumiType = 'signalfx:logs/view:View';
110
+ //# sourceMappingURL=view.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view.js","sourceRoot":"","sources":["../../logs/view.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IA6E3C,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAA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AjGG,gBAAgB;AACO,iBAAY,GAAG,yBAAyB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/signalfx",
3
- "version": "v5.5.0",
3
+ "version": "v5.6.0-alpha.1661919440+5737e598",
4
4
  "description": "A Pulumi package for creating and managing SignalFx resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource signalfx v5.5.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource signalfx v5.6.0-alpha.1661919440+5737e598"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/signalfx",
3
- "version": "v5.5.0",
3
+ "version": "v5.6.0-alpha.1661919440+5737e598",
4
4
  "description": "A Pulumi package for creating and managing SignalFx resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource signalfx v5.5.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource signalfx v5.6.0-alpha.1661919440+5737e598"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/types/input.d.ts CHANGED
@@ -836,13 +836,13 @@ export declare namespace gcp {
836
836
  }
837
837
  }
838
838
  export declare namespace logs {
839
- interface ListChartColumn {
839
+ interface ViewColumn {
840
840
  /**
841
- * Name of the chart.
841
+ * Name of the log view.
842
842
  */
843
843
  name: pulumi.Input<string>;
844
844
  }
845
- interface ListChartSortOption {
845
+ interface ViewSortOption {
846
846
  descending: pulumi.Input<boolean>;
847
847
  field: pulumi.Input<string>;
848
848
  }
package/types/output.d.ts CHANGED
@@ -820,13 +820,13 @@ export declare namespace gcp {
820
820
  }
821
821
  }
822
822
  export declare namespace logs {
823
- interface ListChartColumn {
823
+ interface ViewColumn {
824
824
  /**
825
- * Name of the chart.
825
+ * Name of the log view.
826
826
  */
827
827
  name: string;
828
828
  }
829
- interface ListChartSortOption {
829
+ interface ViewSortOption {
830
830
  descending: boolean;
831
831
  field: string;
832
832
  }
@@ -1,202 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, output as outputs } from "../types";
3
- /**
4
- * This chart type displays current data values in a list format.
5
- *
6
- * The name of each value in the chart reflects the name of the plot and any associated dimensions. We recommend you click the Pencil icon and give the plot a meaningful name, as in plot B below. Otherwise, just the raw metric name will be displayed on the chart, as in plot A below.
7
- *
8
- * ## Example Usage
9
- *
10
- * ```typescript
11
- * import * as pulumi from "@pulumi/pulumi";
12
- * import * as signalfx from "@pulumi/signalfx";
13
- *
14
- * const mylistchart0 = new signalfx.ListChart("mylistchart0", {
15
- * colorBy: "Metric",
16
- * description: "Very cool List Chart",
17
- * disableSampling: true,
18
- * hideMissingValues: true,
19
- * legendOptionsFields: [
20
- * {
21
- * enabled: false,
22
- * property: "collector",
23
- * },
24
- * {
25
- * enabled: true,
26
- * property: "cluster_name",
27
- * },
28
- * {
29
- * enabled: true,
30
- * property: "role",
31
- * },
32
- * {
33
- * enabled: false,
34
- * property: "collector",
35
- * },
36
- * {
37
- * enabled: false,
38
- * property: "host",
39
- * },
40
- * ],
41
- * maxDelay: 2,
42
- * maxPrecision: 2,
43
- * programText: `myfilters = filter("cluster_name", "prod") and filter("role", "search")
44
- * data("cpu.total.idle", filter=myfilters).publish()
45
- * `,
46
- * refreshInterval: 1,
47
- * sortBy: "-value",
48
- * timezone: "Europe/Paris",
49
- * });
50
- * ```
51
- */
52
- export declare class ListChart extends pulumi.CustomResource {
53
- /**
54
- * Get an existing ListChart resource's state with the given name, ID, and optional extra
55
- * properties used to qualify the lookup.
56
- *
57
- * @param name The _unique_ name of the resulting resource.
58
- * @param id The _unique_ provider ID of the resource to lookup.
59
- * @param state Any extra arguments used during the lookup.
60
- * @param opts Optional settings to control the behavior of the CustomResource.
61
- */
62
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ListChartState, opts?: pulumi.CustomResourceOptions): ListChart;
63
- /**
64
- * Returns true if the given object is an instance of ListChart. This is designed to work even
65
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
66
- */
67
- static isInstance(obj: any): obj is ListChart;
68
- /**
69
- * Column configuration
70
- */
71
- readonly columns: pulumi.Output<outputs.logs.ListChartColumn[] | undefined>;
72
- /**
73
- * default connection that the dashboard uses
74
- */
75
- readonly defaultConnection: pulumi.Output<string | undefined>;
76
- /**
77
- * Description of the chart.
78
- */
79
- readonly description: pulumi.Output<string | undefined>;
80
- /**
81
- * Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
82
- */
83
- readonly endTime: pulumi.Output<number | undefined>;
84
- /**
85
- * Name of the chart.
86
- */
87
- readonly name: pulumi.Output<string>;
88
- /**
89
- * Signalflow program text for the chart. More info[in the SignalFx docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
90
- */
91
- readonly programText: pulumi.Output<string>;
92
- /**
93
- * Sorting options configuration
94
- */
95
- readonly sortOptions: pulumi.Output<outputs.logs.ListChartSortOption[] | undefined>;
96
- /**
97
- * Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
98
- */
99
- readonly startTime: pulumi.Output<number | undefined>;
100
- /**
101
- * How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `startTime` and `endTime`.
102
- */
103
- readonly timeRange: pulumi.Output<number | undefined>;
104
- /**
105
- * The URL of the chart.
106
- */
107
- readonly url: pulumi.Output<string>;
108
- /**
109
- * Create a ListChart resource with the given unique name, arguments, and options.
110
- *
111
- * @param name The _unique_ name of the resource.
112
- * @param args The arguments to use to populate this resource's properties.
113
- * @param opts A bag of options that control this resource's behavior.
114
- */
115
- constructor(name: string, args: ListChartArgs, opts?: pulumi.CustomResourceOptions);
116
- }
117
- /**
118
- * Input properties used for looking up and filtering ListChart resources.
119
- */
120
- export interface ListChartState {
121
- /**
122
- * Column configuration
123
- */
124
- columns?: pulumi.Input<pulumi.Input<inputs.logs.ListChartColumn>[]>;
125
- /**
126
- * default connection that the dashboard uses
127
- */
128
- defaultConnection?: pulumi.Input<string>;
129
- /**
130
- * Description of the chart.
131
- */
132
- description?: pulumi.Input<string>;
133
- /**
134
- * Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
135
- */
136
- endTime?: pulumi.Input<number>;
137
- /**
138
- * Name of the chart.
139
- */
140
- name?: pulumi.Input<string>;
141
- /**
142
- * Signalflow program text for the chart. More info[in the SignalFx docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
143
- */
144
- programText?: pulumi.Input<string>;
145
- /**
146
- * Sorting options configuration
147
- */
148
- sortOptions?: pulumi.Input<pulumi.Input<inputs.logs.ListChartSortOption>[]>;
149
- /**
150
- * Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
151
- */
152
- startTime?: pulumi.Input<number>;
153
- /**
154
- * How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `startTime` and `endTime`.
155
- */
156
- timeRange?: pulumi.Input<number>;
157
- /**
158
- * The URL of the chart.
159
- */
160
- url?: pulumi.Input<string>;
161
- }
162
- /**
163
- * The set of arguments for constructing a ListChart resource.
164
- */
165
- export interface ListChartArgs {
166
- /**
167
- * Column configuration
168
- */
169
- columns?: pulumi.Input<pulumi.Input<inputs.logs.ListChartColumn>[]>;
170
- /**
171
- * default connection that the dashboard uses
172
- */
173
- defaultConnection?: pulumi.Input<string>;
174
- /**
175
- * Description of the chart.
176
- */
177
- description?: pulumi.Input<string>;
178
- /**
179
- * Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
180
- */
181
- endTime?: pulumi.Input<number>;
182
- /**
183
- * Name of the chart.
184
- */
185
- name?: pulumi.Input<string>;
186
- /**
187
- * Signalflow program text for the chart. More info[in the SignalFx docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
188
- */
189
- programText: pulumi.Input<string>;
190
- /**
191
- * Sorting options configuration
192
- */
193
- sortOptions?: pulumi.Input<pulumi.Input<inputs.logs.ListChartSortOption>[]>;
194
- /**
195
- * Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
196
- */
197
- startTime?: pulumi.Input<number>;
198
- /**
199
- * How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `startTime` and `endTime`.
200
- */
201
- timeRange?: pulumi.Input<number>;
202
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"listChart.js","sourceRoot":"","sources":["../../logs/listChart.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IA6EhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,K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