@pulumi/wavefront 3.2.0-alpha.1762845558 → 3.2.0-alpha.1763191009
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/dashboard.d.ts +55 -0
- package/dashboard.js +55 -0
- package/dashboard.js.map +1 -1
- package/dashboardJson.d.ts +90 -90
- package/dashboardJson.js +90 -90
- package/package.json +2 -2
package/dashboard.d.ts
CHANGED
|
@@ -6,6 +6,61 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
12
|
+
*
|
|
13
|
+
* const basic = new wavefront.User("basic", {
|
|
14
|
+
* email: "test+tftesting@example.com",
|
|
15
|
+
* groups: [
|
|
16
|
+
* "agent_management",
|
|
17
|
+
* "alerts_management",
|
|
18
|
+
* ],
|
|
19
|
+
* });
|
|
20
|
+
* const testDashboard = new wavefront.Dashboard("test_dashboard", {
|
|
21
|
+
* name: "Terraform Test Dashboard",
|
|
22
|
+
* description: "testing, testing",
|
|
23
|
+
* url: "tftestcreate",
|
|
24
|
+
* displaySectionTableOfContents: true,
|
|
25
|
+
* displayQueryParameters: true,
|
|
26
|
+
* canViews: [basic.id],
|
|
27
|
+
* sections: [{
|
|
28
|
+
* name: "section 1",
|
|
29
|
+
* rows: [{
|
|
30
|
+
* charts: [{
|
|
31
|
+
* name: "chart 1",
|
|
32
|
+
* description: "chart number 1",
|
|
33
|
+
* units: "something per unit",
|
|
34
|
+
* sources: [{
|
|
35
|
+
* name: "source name",
|
|
36
|
+
* query: "ts()",
|
|
37
|
+
* }],
|
|
38
|
+
* chartSetting: {
|
|
39
|
+
* type: "linear",
|
|
40
|
+
* },
|
|
41
|
+
* summarization: "MEAN",
|
|
42
|
+
* }],
|
|
43
|
+
* }],
|
|
44
|
+
* }],
|
|
45
|
+
* parameterDetails: [{
|
|
46
|
+
* name: "param1",
|
|
47
|
+
* label: "param1",
|
|
48
|
+
* defaultValue: "Label",
|
|
49
|
+
* hideFromView: false,
|
|
50
|
+
* parameterType: "SIMPLE",
|
|
51
|
+
* valuesToReadableStrings: {
|
|
52
|
+
* Label: "test",
|
|
53
|
+
* },
|
|
54
|
+
* }],
|
|
55
|
+
* tags: [
|
|
56
|
+
* "b",
|
|
57
|
+
* "terraform",
|
|
58
|
+
* "a",
|
|
59
|
+
* "test",
|
|
60
|
+
* ],
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
9
64
|
* ## Import
|
|
10
65
|
*
|
|
11
66
|
* Dashboards can be imported by using the `id`, e.g.:
|
package/dashboard.js
CHANGED
|
@@ -10,6 +10,61 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
16
|
+
*
|
|
17
|
+
* const basic = new wavefront.User("basic", {
|
|
18
|
+
* email: "test+tftesting@example.com",
|
|
19
|
+
* groups: [
|
|
20
|
+
* "agent_management",
|
|
21
|
+
* "alerts_management",
|
|
22
|
+
* ],
|
|
23
|
+
* });
|
|
24
|
+
* const testDashboard = new wavefront.Dashboard("test_dashboard", {
|
|
25
|
+
* name: "Terraform Test Dashboard",
|
|
26
|
+
* description: "testing, testing",
|
|
27
|
+
* url: "tftestcreate",
|
|
28
|
+
* displaySectionTableOfContents: true,
|
|
29
|
+
* displayQueryParameters: true,
|
|
30
|
+
* canViews: [basic.id],
|
|
31
|
+
* sections: [{
|
|
32
|
+
* name: "section 1",
|
|
33
|
+
* rows: [{
|
|
34
|
+
* charts: [{
|
|
35
|
+
* name: "chart 1",
|
|
36
|
+
* description: "chart number 1",
|
|
37
|
+
* units: "something per unit",
|
|
38
|
+
* sources: [{
|
|
39
|
+
* name: "source name",
|
|
40
|
+
* query: "ts()",
|
|
41
|
+
* }],
|
|
42
|
+
* chartSetting: {
|
|
43
|
+
* type: "linear",
|
|
44
|
+
* },
|
|
45
|
+
* summarization: "MEAN",
|
|
46
|
+
* }],
|
|
47
|
+
* }],
|
|
48
|
+
* }],
|
|
49
|
+
* parameterDetails: [{
|
|
50
|
+
* name: "param1",
|
|
51
|
+
* label: "param1",
|
|
52
|
+
* defaultValue: "Label",
|
|
53
|
+
* hideFromView: false,
|
|
54
|
+
* parameterType: "SIMPLE",
|
|
55
|
+
* valuesToReadableStrings: {
|
|
56
|
+
* Label: "test",
|
|
57
|
+
* },
|
|
58
|
+
* }],
|
|
59
|
+
* tags: [
|
|
60
|
+
* "b",
|
|
61
|
+
* "terraform",
|
|
62
|
+
* "a",
|
|
63
|
+
* "test",
|
|
64
|
+
* ],
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
13
68
|
* ## Import
|
|
14
69
|
*
|
|
15
70
|
* Dashboards can be imported by using the `id`, e.g.:
|
package/dashboard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../dashboard.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../dashboard.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH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AK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;SACrC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAhIL,8BAiIC;AAnHG,gBAAgB;AACO,sBAAY,GAAG,qCAAqC,CAAC"}
|
package/dashboardJson.d.ts
CHANGED
|
@@ -9,121 +9,121 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as wavefront from "@pulumi/wavefront";
|
|
10
10
|
*
|
|
11
11
|
* const testDashboardJson = new wavefront.DashboardJson("test_dashboard_json", {dashboardJson: `{
|
|
12
|
-
* "acl": {
|
|
13
|
-
* "canModify": [
|
|
14
|
-
* "group-uuid",
|
|
15
|
-
* "role-uuid"
|
|
12
|
+
* \\"acl\\": {
|
|
13
|
+
* \\"canModify\\": [
|
|
14
|
+
* \\"group-uuid\\",
|
|
15
|
+
* \\"role-uuid\\"
|
|
16
16
|
* ],
|
|
17
|
-
* "canView": [
|
|
18
|
-
* "group-uuid",
|
|
19
|
-
* "role-uuid"
|
|
17
|
+
* \\"canView\\": [
|
|
18
|
+
* \\"group-uuid\\",
|
|
19
|
+
* \\"role-uuid\\"
|
|
20
20
|
* ]
|
|
21
21
|
* },
|
|
22
|
-
* "name": "Terraform Test Dashboard Json",
|
|
23
|
-
* "description": "a",
|
|
24
|
-
* "eventFilterType": "BYCHART",
|
|
25
|
-
* "eventQuery": "",
|
|
26
|
-
* "defaultTimeWindow": "",
|
|
27
|
-
* "url": "tftestimport",
|
|
28
|
-
* "displayDescription": false,
|
|
29
|
-
* "displaySectionTableOfContents": true,
|
|
30
|
-
* "displayQueryParameters": false,
|
|
31
|
-
* "sections": [
|
|
22
|
+
* \\"name\\": \\"Terraform Test Dashboard Json\\",
|
|
23
|
+
* \\"description\\": \\"a\\",
|
|
24
|
+
* \\"eventFilterType\\": \\"BYCHART\\",
|
|
25
|
+
* \\"eventQuery\\": \\"\\",
|
|
26
|
+
* \\"defaultTimeWindow\\": \\"\\",
|
|
27
|
+
* \\"url\\": \\"tftestimport\\",
|
|
28
|
+
* \\"displayDescription\\": false,
|
|
29
|
+
* \\"displaySectionTableOfContents\\": true,
|
|
30
|
+
* \\"displayQueryParameters\\": false,
|
|
31
|
+
* \\"sections\\": [
|
|
32
32
|
* {
|
|
33
|
-
* "name": "section 1",
|
|
34
|
-
* "rows": [
|
|
33
|
+
* \\"name\\": \\"section 1\\",
|
|
34
|
+
* \\"rows\\": [
|
|
35
35
|
* {
|
|
36
|
-
* "charts": [
|
|
36
|
+
* \\"charts\\": [
|
|
37
37
|
* {
|
|
38
|
-
* "name": "chart 1",
|
|
39
|
-
* "sources": [
|
|
38
|
+
* \\"name\\": \\"chart 1\\",
|
|
39
|
+
* \\"sources\\": [
|
|
40
40
|
* {
|
|
41
|
-
* "name": "source 1",
|
|
42
|
-
* "query": "ts()",
|
|
43
|
-
* "scatterPlotSource": "Y",
|
|
44
|
-
* "querybuilderEnabled": false,
|
|
45
|
-
* "sourceDescription": ""
|
|
41
|
+
* \\"name\\": \\"source 1\\",
|
|
42
|
+
* \\"query\\": \\"ts()\\",
|
|
43
|
+
* \\"scatterPlotSource\\": \\"Y\\",
|
|
44
|
+
* \\"querybuilderEnabled\\": false,
|
|
45
|
+
* \\"sourceDescription\\": \\"\\"
|
|
46
46
|
* }
|
|
47
47
|
* ],
|
|
48
|
-
* "units": "someunit",
|
|
49
|
-
* "base": 0,
|
|
50
|
-
* "noDefaultEvents": false,
|
|
51
|
-
* "interpolatePoints": false,
|
|
52
|
-
* "includeObsoleteMetrics": false,
|
|
53
|
-
* "description": "This is chart 1, showing something",
|
|
54
|
-
* "chartSettings": {
|
|
55
|
-
* "type": "markdown-widget",
|
|
56
|
-
* "max": 100,
|
|
57
|
-
* "expectedDataSpacing": 120,
|
|
58
|
-
* "windowing": "full",
|
|
59
|
-
* "windowSize": 10,
|
|
60
|
-
* "autoColumnTags": false,
|
|
61
|
-
* "columnTags": "deprecated",
|
|
62
|
-
* "tagMode": "all",
|
|
63
|
-
* "numTags": 2,
|
|
64
|
-
* "customTags": [
|
|
65
|
-
* "tag1",
|
|
66
|
-
* "tag2"
|
|
48
|
+
* \\"units\\": \\"someunit\\",
|
|
49
|
+
* \\"base\\": 0,
|
|
50
|
+
* \\"noDefaultEvents\\": false,
|
|
51
|
+
* \\"interpolatePoints\\": false,
|
|
52
|
+
* \\"includeObsoleteMetrics\\": false,
|
|
53
|
+
* \\"description\\": \\"This is chart 1, showing something\\",
|
|
54
|
+
* \\"chartSettings\\": {
|
|
55
|
+
* \\"type\\": \\"markdown-widget\\",
|
|
56
|
+
* \\"max\\": 100,
|
|
57
|
+
* \\"expectedDataSpacing\\": 120,
|
|
58
|
+
* \\"windowing\\": \\"full\\",
|
|
59
|
+
* \\"windowSize\\": 10,
|
|
60
|
+
* \\"autoColumnTags\\": false,
|
|
61
|
+
* \\"columnTags\\": \\"deprecated\\",
|
|
62
|
+
* \\"tagMode\\": \\"all\\",
|
|
63
|
+
* \\"numTags\\": 2,
|
|
64
|
+
* \\"customTags\\": [
|
|
65
|
+
* \\"tag1\\",
|
|
66
|
+
* \\"tag2\\"
|
|
67
67
|
* ],
|
|
68
|
-
* "groupBySource": true,
|
|
69
|
-
* "y1Max": 100,
|
|
70
|
-
* "y1Units": "units",
|
|
71
|
-
* "y0ScaleSIBy1024": true,
|
|
72
|
-
* "y1ScaleSIBy1024": true,
|
|
73
|
-
* "y0UnitAutoscaling": true,
|
|
74
|
-
* "y1UnitAutoscaling": true,
|
|
75
|
-
* "fixedLegendEnabled": true,
|
|
76
|
-
* "fixedLegendUseRawStats": true,
|
|
77
|
-
* "fixedLegendPosition": "RIGHT",
|
|
78
|
-
* "fixedLegendDisplayStats": [
|
|
79
|
-
* "stat1",
|
|
80
|
-
* "stat2"
|
|
68
|
+
* \\"groupBySource\\": true,
|
|
69
|
+
* \\"y1Max\\": 100,
|
|
70
|
+
* \\"y1Units\\": \\"units\\",
|
|
71
|
+
* \\"y0ScaleSIBy1024\\": true,
|
|
72
|
+
* \\"y1ScaleSIBy1024\\": true,
|
|
73
|
+
* \\"y0UnitAutoscaling\\": true,
|
|
74
|
+
* \\"y1UnitAutoscaling\\": true,
|
|
75
|
+
* \\"fixedLegendEnabled\\": true,
|
|
76
|
+
* \\"fixedLegendUseRawStats\\": true,
|
|
77
|
+
* \\"fixedLegendPosition\\": \\"RIGHT\\",
|
|
78
|
+
* \\"fixedLegendDisplayStats\\": [
|
|
79
|
+
* \\"stat1\\",
|
|
80
|
+
* \\"stat2\\"
|
|
81
81
|
* ],
|
|
82
|
-
* "fixedLegendFilterSort": "TOP",
|
|
83
|
-
* "fixedLegendFilterLimit": 1,
|
|
84
|
-
* "fixedLegendFilterField": "CURRENT",
|
|
85
|
-
* "plainMarkdownContent": "markdown content"
|
|
82
|
+
* \\"fixedLegendFilterSort\\": \\"TOP\\",
|
|
83
|
+
* \\"fixedLegendFilterLimit\\": 1,
|
|
84
|
+
* \\"fixedLegendFilterField\\": \\"CURRENT\\",
|
|
85
|
+
* \\"plainMarkdownContent\\": \\"markdown content\\"
|
|
86
86
|
* },
|
|
87
|
-
* "chartAttributes": {
|
|
88
|
-
* "dashboardLinks": {
|
|
89
|
-
* "
|
|
90
|
-
* "variables": {
|
|
91
|
-
* "xxx": "xxx"
|
|
87
|
+
* \\"chartAttributes\\": {
|
|
88
|
+
* \\"dashboardLinks\\": {
|
|
89
|
+
* \\"*\\": {
|
|
90
|
+
* \\"variables\\": {
|
|
91
|
+
* \\"xxx\\": \\"xxx\\"
|
|
92
92
|
* },
|
|
93
|
-
* "destination": "/dashboards/xxxx"
|
|
93
|
+
* \\"destination\\": \\"/dashboards/xxxx\\"
|
|
94
94
|
* }
|
|
95
95
|
* }
|
|
96
96
|
* },
|
|
97
|
-
* "summarization": "MEAN"
|
|
97
|
+
* \\"summarization\\": \\"MEAN\\"
|
|
98
98
|
* }
|
|
99
99
|
* ],
|
|
100
|
-
* "heightFactor": 50
|
|
100
|
+
* \\"heightFactor\\": 50
|
|
101
101
|
* }
|
|
102
102
|
* ]
|
|
103
103
|
* }
|
|
104
104
|
* ],
|
|
105
|
-
* "parameterDetails": {
|
|
106
|
-
* "param": {
|
|
107
|
-
* "hideFromView": false,
|
|
108
|
-
* "description": null,
|
|
109
|
-
* "allowAll": null,
|
|
110
|
-
* "tagKey": null,
|
|
111
|
-
* "queryValue": null,
|
|
112
|
-
* "dynamicFieldType": null,
|
|
113
|
-
* "reverseDynSort": null,
|
|
114
|
-
* "parameterType": "SIMPLE",
|
|
115
|
-
* "label": "test",
|
|
116
|
-
* "defaultValue": "Label",
|
|
117
|
-
* "valuesToReadableStrings": {
|
|
118
|
-
* "Label": "test"
|
|
105
|
+
* \\"parameterDetails\\": {
|
|
106
|
+
* \\"param\\": {
|
|
107
|
+
* \\"hideFromView\\": false,
|
|
108
|
+
* \\"description\\": null,
|
|
109
|
+
* \\"allowAll\\": null,
|
|
110
|
+
* \\"tagKey\\": null,
|
|
111
|
+
* \\"queryValue\\": null,
|
|
112
|
+
* \\"dynamicFieldType\\": null,
|
|
113
|
+
* \\"reverseDynSort\\": null,
|
|
114
|
+
* \\"parameterType\\": \\"SIMPLE\\",
|
|
115
|
+
* \\"label\\": \\"test\\",
|
|
116
|
+
* \\"defaultValue\\": \\"Label\\",
|
|
117
|
+
* \\"valuesToReadableStrings\\": {
|
|
118
|
+
* \\"Label\\": \\"test\\"
|
|
119
119
|
* },
|
|
120
|
-
* "selectedLabel": "Label",
|
|
121
|
-
* "value": "test"
|
|
120
|
+
* \\"selectedLabel\\": \\"Label\\",
|
|
121
|
+
* \\"value\\": \\"test\\"
|
|
122
122
|
* }
|
|
123
123
|
* },
|
|
124
|
-
* "tags": {
|
|
125
|
-
* "customerTags": [
|
|
126
|
-
* "terraform"
|
|
124
|
+
* \\"tags\\": {
|
|
125
|
+
* \\"customerTags\\": [
|
|
126
|
+
* \\"terraform\\"
|
|
127
127
|
* ]
|
|
128
128
|
* }
|
|
129
129
|
* }
|
package/dashboardJson.js
CHANGED
|
@@ -15,121 +15,121 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as wavefront from "@pulumi/wavefront";
|
|
16
16
|
*
|
|
17
17
|
* const testDashboardJson = new wavefront.DashboardJson("test_dashboard_json", {dashboardJson: `{
|
|
18
|
-
* "acl": {
|
|
19
|
-
* "canModify": [
|
|
20
|
-
* "group-uuid",
|
|
21
|
-
* "role-uuid"
|
|
18
|
+
* \\"acl\\": {
|
|
19
|
+
* \\"canModify\\": [
|
|
20
|
+
* \\"group-uuid\\",
|
|
21
|
+
* \\"role-uuid\\"
|
|
22
22
|
* ],
|
|
23
|
-
* "canView": [
|
|
24
|
-
* "group-uuid",
|
|
25
|
-
* "role-uuid"
|
|
23
|
+
* \\"canView\\": [
|
|
24
|
+
* \\"group-uuid\\",
|
|
25
|
+
* \\"role-uuid\\"
|
|
26
26
|
* ]
|
|
27
27
|
* },
|
|
28
|
-
* "name": "Terraform Test Dashboard Json",
|
|
29
|
-
* "description": "a",
|
|
30
|
-
* "eventFilterType": "BYCHART",
|
|
31
|
-
* "eventQuery": "",
|
|
32
|
-
* "defaultTimeWindow": "",
|
|
33
|
-
* "url": "tftestimport",
|
|
34
|
-
* "displayDescription": false,
|
|
35
|
-
* "displaySectionTableOfContents": true,
|
|
36
|
-
* "displayQueryParameters": false,
|
|
37
|
-
* "sections": [
|
|
28
|
+
* \\"name\\": \\"Terraform Test Dashboard Json\\",
|
|
29
|
+
* \\"description\\": \\"a\\",
|
|
30
|
+
* \\"eventFilterType\\": \\"BYCHART\\",
|
|
31
|
+
* \\"eventQuery\\": \\"\\",
|
|
32
|
+
* \\"defaultTimeWindow\\": \\"\\",
|
|
33
|
+
* \\"url\\": \\"tftestimport\\",
|
|
34
|
+
* \\"displayDescription\\": false,
|
|
35
|
+
* \\"displaySectionTableOfContents\\": true,
|
|
36
|
+
* \\"displayQueryParameters\\": false,
|
|
37
|
+
* \\"sections\\": [
|
|
38
38
|
* {
|
|
39
|
-
* "name": "section 1",
|
|
40
|
-
* "rows": [
|
|
39
|
+
* \\"name\\": \\"section 1\\",
|
|
40
|
+
* \\"rows\\": [
|
|
41
41
|
* {
|
|
42
|
-
* "charts": [
|
|
42
|
+
* \\"charts\\": [
|
|
43
43
|
* {
|
|
44
|
-
* "name": "chart 1",
|
|
45
|
-
* "sources": [
|
|
44
|
+
* \\"name\\": \\"chart 1\\",
|
|
45
|
+
* \\"sources\\": [
|
|
46
46
|
* {
|
|
47
|
-
* "name": "source 1",
|
|
48
|
-
* "query": "ts()",
|
|
49
|
-
* "scatterPlotSource": "Y",
|
|
50
|
-
* "querybuilderEnabled": false,
|
|
51
|
-
* "sourceDescription": ""
|
|
47
|
+
* \\"name\\": \\"source 1\\",
|
|
48
|
+
* \\"query\\": \\"ts()\\",
|
|
49
|
+
* \\"scatterPlotSource\\": \\"Y\\",
|
|
50
|
+
* \\"querybuilderEnabled\\": false,
|
|
51
|
+
* \\"sourceDescription\\": \\"\\"
|
|
52
52
|
* }
|
|
53
53
|
* ],
|
|
54
|
-
* "units": "someunit",
|
|
55
|
-
* "base": 0,
|
|
56
|
-
* "noDefaultEvents": false,
|
|
57
|
-
* "interpolatePoints": false,
|
|
58
|
-
* "includeObsoleteMetrics": false,
|
|
59
|
-
* "description": "This is chart 1, showing something",
|
|
60
|
-
* "chartSettings": {
|
|
61
|
-
* "type": "markdown-widget",
|
|
62
|
-
* "max": 100,
|
|
63
|
-
* "expectedDataSpacing": 120,
|
|
64
|
-
* "windowing": "full",
|
|
65
|
-
* "windowSize": 10,
|
|
66
|
-
* "autoColumnTags": false,
|
|
67
|
-
* "columnTags": "deprecated",
|
|
68
|
-
* "tagMode": "all",
|
|
69
|
-
* "numTags": 2,
|
|
70
|
-
* "customTags": [
|
|
71
|
-
* "tag1",
|
|
72
|
-
* "tag2"
|
|
54
|
+
* \\"units\\": \\"someunit\\",
|
|
55
|
+
* \\"base\\": 0,
|
|
56
|
+
* \\"noDefaultEvents\\": false,
|
|
57
|
+
* \\"interpolatePoints\\": false,
|
|
58
|
+
* \\"includeObsoleteMetrics\\": false,
|
|
59
|
+
* \\"description\\": \\"This is chart 1, showing something\\",
|
|
60
|
+
* \\"chartSettings\\": {
|
|
61
|
+
* \\"type\\": \\"markdown-widget\\",
|
|
62
|
+
* \\"max\\": 100,
|
|
63
|
+
* \\"expectedDataSpacing\\": 120,
|
|
64
|
+
* \\"windowing\\": \\"full\\",
|
|
65
|
+
* \\"windowSize\\": 10,
|
|
66
|
+
* \\"autoColumnTags\\": false,
|
|
67
|
+
* \\"columnTags\\": \\"deprecated\\",
|
|
68
|
+
* \\"tagMode\\": \\"all\\",
|
|
69
|
+
* \\"numTags\\": 2,
|
|
70
|
+
* \\"customTags\\": [
|
|
71
|
+
* \\"tag1\\",
|
|
72
|
+
* \\"tag2\\"
|
|
73
73
|
* ],
|
|
74
|
-
* "groupBySource": true,
|
|
75
|
-
* "y1Max": 100,
|
|
76
|
-
* "y1Units": "units",
|
|
77
|
-
* "y0ScaleSIBy1024": true,
|
|
78
|
-
* "y1ScaleSIBy1024": true,
|
|
79
|
-
* "y0UnitAutoscaling": true,
|
|
80
|
-
* "y1UnitAutoscaling": true,
|
|
81
|
-
* "fixedLegendEnabled": true,
|
|
82
|
-
* "fixedLegendUseRawStats": true,
|
|
83
|
-
* "fixedLegendPosition": "RIGHT",
|
|
84
|
-
* "fixedLegendDisplayStats": [
|
|
85
|
-
* "stat1",
|
|
86
|
-
* "stat2"
|
|
74
|
+
* \\"groupBySource\\": true,
|
|
75
|
+
* \\"y1Max\\": 100,
|
|
76
|
+
* \\"y1Units\\": \\"units\\",
|
|
77
|
+
* \\"y0ScaleSIBy1024\\": true,
|
|
78
|
+
* \\"y1ScaleSIBy1024\\": true,
|
|
79
|
+
* \\"y0UnitAutoscaling\\": true,
|
|
80
|
+
* \\"y1UnitAutoscaling\\": true,
|
|
81
|
+
* \\"fixedLegendEnabled\\": true,
|
|
82
|
+
* \\"fixedLegendUseRawStats\\": true,
|
|
83
|
+
* \\"fixedLegendPosition\\": \\"RIGHT\\",
|
|
84
|
+
* \\"fixedLegendDisplayStats\\": [
|
|
85
|
+
* \\"stat1\\",
|
|
86
|
+
* \\"stat2\\"
|
|
87
87
|
* ],
|
|
88
|
-
* "fixedLegendFilterSort": "TOP",
|
|
89
|
-
* "fixedLegendFilterLimit": 1,
|
|
90
|
-
* "fixedLegendFilterField": "CURRENT",
|
|
91
|
-
* "plainMarkdownContent": "markdown content"
|
|
88
|
+
* \\"fixedLegendFilterSort\\": \\"TOP\\",
|
|
89
|
+
* \\"fixedLegendFilterLimit\\": 1,
|
|
90
|
+
* \\"fixedLegendFilterField\\": \\"CURRENT\\",
|
|
91
|
+
* \\"plainMarkdownContent\\": \\"markdown content\\"
|
|
92
92
|
* },
|
|
93
|
-
* "chartAttributes": {
|
|
94
|
-
* "dashboardLinks": {
|
|
95
|
-
* "
|
|
96
|
-
* "variables": {
|
|
97
|
-
* "xxx": "xxx"
|
|
93
|
+
* \\"chartAttributes\\": {
|
|
94
|
+
* \\"dashboardLinks\\": {
|
|
95
|
+
* \\"*\\": {
|
|
96
|
+
* \\"variables\\": {
|
|
97
|
+
* \\"xxx\\": \\"xxx\\"
|
|
98
98
|
* },
|
|
99
|
-
* "destination": "/dashboards/xxxx"
|
|
99
|
+
* \\"destination\\": \\"/dashboards/xxxx\\"
|
|
100
100
|
* }
|
|
101
101
|
* }
|
|
102
102
|
* },
|
|
103
|
-
* "summarization": "MEAN"
|
|
103
|
+
* \\"summarization\\": \\"MEAN\\"
|
|
104
104
|
* }
|
|
105
105
|
* ],
|
|
106
|
-
* "heightFactor": 50
|
|
106
|
+
* \\"heightFactor\\": 50
|
|
107
107
|
* }
|
|
108
108
|
* ]
|
|
109
109
|
* }
|
|
110
110
|
* ],
|
|
111
|
-
* "parameterDetails": {
|
|
112
|
-
* "param": {
|
|
113
|
-
* "hideFromView": false,
|
|
114
|
-
* "description": null,
|
|
115
|
-
* "allowAll": null,
|
|
116
|
-
* "tagKey": null,
|
|
117
|
-
* "queryValue": null,
|
|
118
|
-
* "dynamicFieldType": null,
|
|
119
|
-
* "reverseDynSort": null,
|
|
120
|
-
* "parameterType": "SIMPLE",
|
|
121
|
-
* "label": "test",
|
|
122
|
-
* "defaultValue": "Label",
|
|
123
|
-
* "valuesToReadableStrings": {
|
|
124
|
-
* "Label": "test"
|
|
111
|
+
* \\"parameterDetails\\": {
|
|
112
|
+
* \\"param\\": {
|
|
113
|
+
* \\"hideFromView\\": false,
|
|
114
|
+
* \\"description\\": null,
|
|
115
|
+
* \\"allowAll\\": null,
|
|
116
|
+
* \\"tagKey\\": null,
|
|
117
|
+
* \\"queryValue\\": null,
|
|
118
|
+
* \\"dynamicFieldType\\": null,
|
|
119
|
+
* \\"reverseDynSort\\": null,
|
|
120
|
+
* \\"parameterType\\": \\"SIMPLE\\",
|
|
121
|
+
* \\"label\\": \\"test\\",
|
|
122
|
+
* \\"defaultValue\\": \\"Label\\",
|
|
123
|
+
* \\"valuesToReadableStrings\\": {
|
|
124
|
+
* \\"Label\\": \\"test\\"
|
|
125
125
|
* },
|
|
126
|
-
* "selectedLabel": "Label",
|
|
127
|
-
* "value": "test"
|
|
126
|
+
* \\"selectedLabel\\": \\"Label\\",
|
|
127
|
+
* \\"value\\": \\"test\\"
|
|
128
128
|
* }
|
|
129
129
|
* },
|
|
130
|
-
* "tags": {
|
|
131
|
-
* "customerTags": [
|
|
132
|
-
* "terraform"
|
|
130
|
+
* \\"tags\\": {
|
|
131
|
+
* \\"customerTags\\": [
|
|
132
|
+
* \\"terraform\\"
|
|
133
133
|
* ]
|
|
134
134
|
* }
|
|
135
135
|
* }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/wavefront",
|
|
3
|
-
"version": "3.2.0-alpha.
|
|
3
|
+
"version": "3.2.0-alpha.1763191009",
|
|
4
4
|
"description": "A Pulumi package for creating and managing wavefront cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "wavefront",
|
|
26
|
-
"version": "3.2.0-alpha.
|
|
26
|
+
"version": "3.2.0-alpha.1763191009"
|
|
27
27
|
}
|
|
28
28
|
}
|