@pulumiverse/grafana 0.5.0 → 0.5.1

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.
Files changed (256) hide show
  1. package/annotation.d.ts +28 -3
  2. package/annotation.js +25 -0
  3. package/annotation.js.map +1 -1
  4. package/apiKey.d.ts +18 -0
  5. package/apiKey.js +18 -0
  6. package/apiKey.js.map +1 -1
  7. package/cloudAccessPolicy.d.ts +57 -15
  8. package/cloudAccessPolicy.js +51 -0
  9. package/cloudAccessPolicy.js.map +1 -1
  10. package/cloudAccessPolicyToken.d.ts +54 -9
  11. package/cloudAccessPolicyToken.js +51 -0
  12. package/cloudAccessPolicyToken.js.map +1 -1
  13. package/cloudApiKey.d.ts +35 -6
  14. package/cloudApiKey.js +32 -0
  15. package/cloudApiKey.js.map +1 -1
  16. package/cloudOrgMember.d.ts +9 -0
  17. package/cloudOrgMember.js +9 -0
  18. package/cloudOrgMember.js.map +1 -1
  19. package/cloudPluginInstallation.d.ts +32 -0
  20. package/cloudPluginInstallation.js +32 -0
  21. package/cloudPluginInstallation.js.map +1 -1
  22. package/cloudStack.d.ts +49 -38
  23. package/cloudStack.js +30 -0
  24. package/cloudStack.js.map +1 -1
  25. package/cloudStackServiceAccount.d.ts +36 -3
  26. package/cloudStackServiceAccount.js +33 -0
  27. package/cloudStackServiceAccount.js.map +1 -1
  28. package/cloudStackServiceAccountToken.d.ts +28 -0
  29. package/cloudStackServiceAccountToken.js +28 -0
  30. package/cloudStackServiceAccountToken.js.map +1 -1
  31. package/contactPoint.d.ts +44 -9
  32. package/contactPoint.js +38 -0
  33. package/contactPoint.js.map +1 -1
  34. package/dashboard.d.ts +44 -16
  35. package/dashboard.js +37 -0
  36. package/dashboard.js.map +1 -1
  37. package/dashboardPermission.d.ts +55 -3
  38. package/dashboardPermission.js +52 -0
  39. package/dashboardPermission.js.map +1 -1
  40. package/dashboardPermissionItem.d.ts +48 -0
  41. package/dashboardPermissionItem.js +48 -0
  42. package/dashboardPermissionItem.js.map +1 -1
  43. package/dashboardPublic.d.ts +73 -12
  44. package/dashboardPublic.js +67 -0
  45. package/dashboardPublic.js.map +1 -1
  46. package/dataSource.d.ts +102 -36
  47. package/dataSource.js +78 -0
  48. package/dataSource.js.map +1 -1
  49. package/dataSourceConfig.d.ts +69 -18
  50. package/dataSourceConfig.js +63 -0
  51. package/dataSourceConfig.js.map +1 -1
  52. package/dataSourcePermission.d.ts +66 -3
  53. package/dataSourcePermission.js +63 -0
  54. package/dataSourcePermission.js.map +1 -1
  55. package/dataSourcePermissionItem.d.ts +61 -0
  56. package/dataSourcePermissionItem.js +61 -0
  57. package/dataSourcePermissionItem.js.map +1 -1
  58. package/folder.d.ts +43 -9
  59. package/folder.js +37 -0
  60. package/folder.js.map +1 -1
  61. package/folderPermission.d.ts +49 -0
  62. package/folderPermission.js +49 -0
  63. package/folderPermission.js.map +1 -1
  64. package/folderPermissionItem.d.ts +47 -0
  65. package/folderPermissionItem.js +47 -0
  66. package/folderPermissionItem.js.map +1 -1
  67. package/getCloudIps.d.ts +43 -0
  68. package/getCloudIps.js +28 -0
  69. package/getCloudIps.js.map +1 -1
  70. package/getCloudOrganization.d.ts +37 -0
  71. package/getCloudOrganization.js +28 -0
  72. package/getCloudOrganization.js.map +1 -1
  73. package/getCloudStack.d.ts +84 -0
  74. package/getCloudStack.js +6 -0
  75. package/getCloudStack.js.map +1 -1
  76. package/getDashboard.d.ts +114 -0
  77. package/getDashboard.js +64 -0
  78. package/getDashboard.js.map +1 -1
  79. package/getDashboards.d.ts +56 -0
  80. package/getDashboards.js +14 -0
  81. package/getDashboards.js.map +1 -1
  82. package/getDataSource.d.ts +118 -0
  83. package/getDataSource.js +76 -0
  84. package/getDataSource.js.map +1 -1
  85. package/getFolder.d.ts +71 -0
  86. package/getFolder.js +44 -0
  87. package/getFolder.js.map +1 -1
  88. package/getFolders.d.ts +60 -0
  89. package/getFolders.js +48 -0
  90. package/getFolders.js.map +1 -1
  91. package/getLibraryPanel.d.ts +65 -0
  92. package/getLibraryPanel.js +6 -0
  93. package/getLibraryPanel.js.map +1 -1
  94. package/getOnCallSlackChannel.d.ts +44 -0
  95. package/getOnCallSlackChannel.js +32 -0
  96. package/getOnCallSlackChannel.js.map +1 -1
  97. package/getOncallAction.d.ts +21 -0
  98. package/getOncallAction.js +12 -0
  99. package/getOncallAction.js.map +1 -1
  100. package/getOncallEscalationChain.d.ts +41 -0
  101. package/getOncallEscalationChain.js +32 -0
  102. package/getOncallEscalationChain.js.map +1 -1
  103. package/getOncallIntegration.d.ts +44 -0
  104. package/getOncallIntegration.js +32 -0
  105. package/getOncallIntegration.js.map +1 -1
  106. package/getOncallOutgoingWebhook.d.ts +41 -0
  107. package/getOncallOutgoingWebhook.js +32 -0
  108. package/getOncallOutgoingWebhook.js.map +1 -1
  109. package/getOncallSchedule.d.ts +46 -0
  110. package/getOncallSchedule.js +34 -0
  111. package/getOncallSchedule.js.map +1 -1
  112. package/getOncallTeam.d.ts +37 -0
  113. package/getOncallTeam.js +28 -0
  114. package/getOncallTeam.js.map +1 -1
  115. package/getOncallUser.d.ts +47 -0
  116. package/getOncallUser.js +32 -0
  117. package/getOncallUser.js.map +1 -1
  118. package/getOncallUserGroup.d.ts +32 -0
  119. package/getOncallUserGroup.js +32 -0
  120. package/getOncallUserGroup.js.map +1 -1
  121. package/getOrganization.d.ts +70 -0
  122. package/getOrganization.js +52 -0
  123. package/getOrganization.js.map +1 -1
  124. package/getOrganizationPreferences.d.ts +53 -0
  125. package/getOrganizationPreferences.js +30 -0
  126. package/getOrganizationPreferences.js.map +1 -1
  127. package/getRole.d.ts +118 -0
  128. package/getRole.js +82 -0
  129. package/getRole.js.map +1 -1
  130. package/getServiceAccount.d.ts +32 -0
  131. package/getServiceAccount.js +8 -0
  132. package/getServiceAccount.js.map +1 -1
  133. package/getSlos.d.ts +17 -0
  134. package/getSlos.js +14 -0
  135. package/getSlos.js.map +1 -1
  136. package/getSyntheticMonitoringProbe.d.ts +62 -0
  137. package/getSyntheticMonitoringProbe.js +32 -0
  138. package/getSyntheticMonitoringProbe.js.map +1 -1
  139. package/getSyntheticMonitoringProbes.d.ts +40 -0
  140. package/getSyntheticMonitoringProbes.js +28 -0
  141. package/getSyntheticMonitoringProbes.js.map +1 -1
  142. package/getTeam.d.ts +50 -0
  143. package/getTeam.js +50 -0
  144. package/getTeam.js.map +1 -1
  145. package/getUser.d.ts +99 -0
  146. package/getUser.js +66 -0
  147. package/getUser.js.map +1 -1
  148. package/getUsers.d.ts +51 -0
  149. package/getUsers.js +48 -0
  150. package/getUsers.js.map +1 -1
  151. package/libraryPanel.d.ts +43 -12
  152. package/libraryPanel.js +37 -0
  153. package/libraryPanel.js.map +1 -1
  154. package/machineLearningHoliday.d.ts +14 -3
  155. package/machineLearningHoliday.js +11 -0
  156. package/machineLearningHoliday.js.map +1 -1
  157. package/machineLearningJob.d.ts +18 -12
  158. package/machineLearningJob.js +9 -0
  159. package/machineLearningJob.js.map +1 -1
  160. package/machineLearningOutlierDetector.d.ts +22 -12
  161. package/machineLearningOutlierDetector.js +13 -0
  162. package/machineLearningOutlierDetector.js.map +1 -1
  163. package/messageTemplate.d.ts +32 -0
  164. package/messageTemplate.js +32 -0
  165. package/messageTemplate.js.map +1 -1
  166. package/muteTiming.d.ts +51 -0
  167. package/muteTiming.js +51 -0
  168. package/muteTiming.js.map +1 -1
  169. package/notificationPolicy.d.ts +98 -9
  170. package/notificationPolicy.js +92 -0
  171. package/notificationPolicy.js.map +1 -1
  172. package/oncallEscalation.d.ts +81 -41
  173. package/oncallEscalation.js +52 -0
  174. package/oncallEscalation.js.map +1 -1
  175. package/oncallEscalationChain.d.ts +25 -6
  176. package/oncallEscalationChain.js +22 -0
  177. package/oncallEscalationChain.js.map +1 -1
  178. package/oncallIntegration.d.ts +16 -15
  179. package/oncallIntegration.js +10 -0
  180. package/oncallIntegration.js.map +1 -1
  181. package/oncallOnCallShift.d.ts +30 -27
  182. package/oncallOnCallShift.js +9 -0
  183. package/oncallOnCallShift.js.map +1 -1
  184. package/oncallOutgoingWebhook.d.ts +34 -21
  185. package/oncallOutgoingWebhook.js +22 -0
  186. package/oncallOutgoingWebhook.js.map +1 -1
  187. package/oncallRoute.d.ts +49 -3
  188. package/oncallRoute.js +46 -0
  189. package/oncallRoute.js.map +1 -1
  190. package/oncallSchedule.d.ts +49 -9
  191. package/oncallSchedule.js +43 -0
  192. package/oncallSchedule.js.map +1 -1
  193. package/organization.d.ts +94 -39
  194. package/organization.js +37 -0
  195. package/organization.js.map +1 -1
  196. package/organizationPreference.d.ts +31 -9
  197. package/organizationPreference.js +25 -0
  198. package/organizationPreference.js.map +1 -1
  199. package/package.json +2 -2
  200. package/package.json.dev +1 -1
  201. package/playlist.d.ts +41 -0
  202. package/playlist.js +41 -0
  203. package/playlist.js.map +1 -1
  204. package/report.d.ts +56 -15
  205. package/report.js +41 -0
  206. package/report.js.map +1 -1
  207. package/role.d.ts +58 -15
  208. package/role.js +46 -0
  209. package/role.js.map +1 -1
  210. package/roleAssignment.d.ts +48 -0
  211. package/roleAssignment.js +48 -0
  212. package/roleAssignment.js.map +1 -1
  213. package/roleAssignmentItem.d.ts +51 -0
  214. package/roleAssignmentItem.js +51 -0
  215. package/roleAssignmentItem.js.map +1 -1
  216. package/ruleGroup.d.ts +117 -9
  217. package/ruleGroup.js +111 -0
  218. package/ruleGroup.js.map +1 -1
  219. package/serviceAccount.d.ts +33 -3
  220. package/serviceAccount.js +30 -0
  221. package/serviceAccount.js.map +1 -1
  222. package/serviceAccountPermission.d.ts +50 -0
  223. package/serviceAccountPermission.js +50 -0
  224. package/serviceAccountPermission.js.map +1 -1
  225. package/serviceAccountPermissionItem.d.ts +44 -0
  226. package/serviceAccountPermissionItem.js +44 -0
  227. package/serviceAccountPermissionItem.js.map +1 -1
  228. package/serviceAccountToken.d.ts +27 -9
  229. package/serviceAccountToken.js +24 -0
  230. package/serviceAccountToken.js.map +1 -1
  231. package/slo.d.ts +39 -27
  232. package/slo.js +15 -0
  233. package/slo.js.map +1 -1
  234. package/ssoSettings.d.ts +75 -3
  235. package/ssoSettings.js +72 -0
  236. package/ssoSettings.js.map +1 -1
  237. package/syntheticMonitoringCheck.d.ts +431 -36
  238. package/syntheticMonitoringCheck.js +413 -0
  239. package/syntheticMonitoringCheck.js.map +1 -1
  240. package/syntheticMonitoringInstallation.d.ts +75 -24
  241. package/syntheticMonitoringInstallation.js +69 -0
  242. package/syntheticMonitoringInstallation.js.map +1 -1
  243. package/syntheticMonitoringProbe.d.ts +39 -6
  244. package/syntheticMonitoringProbe.js +36 -0
  245. package/syntheticMonitoringProbe.js.map +1 -1
  246. package/team.d.ts +33 -0
  247. package/team.js +33 -0
  248. package/team.js.map +1 -1
  249. package/teamExternalGroup.d.ts +31 -0
  250. package/teamExternalGroup.js +31 -0
  251. package/teamExternalGroup.js.map +1 -1
  252. package/types/input.d.ts +123 -123
  253. package/types/output.d.ts +123 -123
  254. package/user.d.ts +33 -3
  255. package/user.js +30 -0
  256. package/user.js.map +1 -1
package/getDashboard.d.ts CHANGED
@@ -1,42 +1,156 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)
4
+ * * [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/)
5
+ * * [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * <!--Start PulumiCodeChooser -->
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as grafana from "@pulumi/grafana";
13
+ * import * as grafana from "@pulumiverse/grafana";
14
+ *
15
+ * const test = new grafana.Dashboard("test", {configJson: JSON.stringify({
16
+ * id: 12345,
17
+ * uid: "test-ds-dashboard-uid",
18
+ * title: "Production Overview",
19
+ * tags: ["templated"],
20
+ * timezone: "browser",
21
+ * schemaVersion: 16,
22
+ * version: 0,
23
+ * refresh: "25s",
24
+ * })});
25
+ * const fromId = grafana.getDashboardOutput({
26
+ * dashboardId: test.dashboardId,
27
+ * });
28
+ * const fromUid = grafana.getDashboard({
29
+ * uid: "test-ds-dashboard-uid",
30
+ * });
31
+ * ```
32
+ * <!--End PulumiCodeChooser -->
33
+ */
2
34
  export declare function getDashboard(args?: GetDashboardArgs, opts?: pulumi.InvokeOptions): Promise<GetDashboardResult>;
3
35
  /**
4
36
  * A collection of arguments for invoking getDashboard.
5
37
  */
6
38
  export interface GetDashboardArgs {
39
+ /**
40
+ * The numerical ID of the Grafana dashboard. Specify either this or `uid`. Defaults to `-1`.
41
+ */
7
42
  dashboardId?: number;
43
+ /**
44
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
45
+ */
8
46
  orgId?: string;
47
+ /**
48
+ * The uid of the Grafana dashboard. Specify either this or `dashboardId`. Defaults to ``.
49
+ */
9
50
  uid?: string;
10
51
  }
11
52
  /**
12
53
  * A collection of values returned by getDashboard.
13
54
  */
14
55
  export interface GetDashboardResult {
56
+ /**
57
+ * The complete dashboard model JSON.
58
+ */
15
59
  readonly configJson: string;
60
+ /**
61
+ * The numerical ID of the Grafana dashboard. Specify either this or `uid`. Defaults to `-1`.
62
+ */
16
63
  readonly dashboardId?: number;
17
64
  /**
65
+ * Deprecated. Use `folderUid` instead
66
+ *
18
67
  * @deprecated Use `folderUid` instead
19
68
  */
20
69
  readonly folder: number;
70
+ /**
71
+ * The UID of the folder where the Grafana dashboard is found.
72
+ */
21
73
  readonly folderUid: string;
22
74
  /**
23
75
  * The provider-assigned unique ID for this managed resource.
24
76
  */
25
77
  readonly id: string;
78
+ /**
79
+ * Whether or not the Grafana dashboard is starred. Starred Dashboards will show up on your own Home Dashboard by default, and are a convenient way to mark Dashboards that you’re interested in.
80
+ */
26
81
  readonly isStarred: boolean;
82
+ /**
83
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
84
+ */
27
85
  readonly orgId?: string;
86
+ /**
87
+ * URL slug of the dashboard (deprecated).
88
+ */
28
89
  readonly slug: string;
90
+ /**
91
+ * The title of the Grafana dashboard.
92
+ */
29
93
  readonly title: string;
94
+ /**
95
+ * The uid of the Grafana dashboard. Specify either this or `dashboardId`. Defaults to ``.
96
+ */
30
97
  readonly uid?: string;
98
+ /**
99
+ * The full URL of the dashboard.
100
+ */
31
101
  readonly url: string;
102
+ /**
103
+ * The numerical version of the Grafana dashboard.
104
+ */
32
105
  readonly version: number;
33
106
  }
107
+ /**
108
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)
109
+ * * [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/)
110
+ * * [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)
111
+ *
112
+ * ## Example Usage
113
+ *
114
+ * <!--Start PulumiCodeChooser -->
115
+ * ```typescript
116
+ * import * as pulumi from "@pulumi/pulumi";
117
+ * import * as grafana from "@pulumi/grafana";
118
+ * import * as grafana from "@pulumiverse/grafana";
119
+ *
120
+ * const test = new grafana.Dashboard("test", {configJson: JSON.stringify({
121
+ * id: 12345,
122
+ * uid: "test-ds-dashboard-uid",
123
+ * title: "Production Overview",
124
+ * tags: ["templated"],
125
+ * timezone: "browser",
126
+ * schemaVersion: 16,
127
+ * version: 0,
128
+ * refresh: "25s",
129
+ * })});
130
+ * const fromId = grafana.getDashboardOutput({
131
+ * dashboardId: test.dashboardId,
132
+ * });
133
+ * const fromUid = grafana.getDashboard({
134
+ * uid: "test-ds-dashboard-uid",
135
+ * });
136
+ * ```
137
+ * <!--End PulumiCodeChooser -->
138
+ */
34
139
  export declare function getDashboardOutput(args?: GetDashboardOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDashboardResult>;
35
140
  /**
36
141
  * A collection of arguments for invoking getDashboard.
37
142
  */
38
143
  export interface GetDashboardOutputArgs {
144
+ /**
145
+ * The numerical ID of the Grafana dashboard. Specify either this or `uid`. Defaults to `-1`.
146
+ */
39
147
  dashboardId?: pulumi.Input<number>;
148
+ /**
149
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
150
+ */
40
151
  orgId?: pulumi.Input<string>;
152
+ /**
153
+ * The uid of the Grafana dashboard. Specify either this or `dashboardId`. Defaults to ``.
154
+ */
41
155
  uid?: pulumi.Input<string>;
42
156
  }
package/getDashboard.js CHANGED
@@ -5,6 +5,38 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getDashboardOutput = exports.getDashboard = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)
10
+ * * [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/)
11
+ * * [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * <!--Start PulumiCodeChooser -->
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as grafana from "@pulumi/grafana";
19
+ * import * as grafana from "@pulumiverse/grafana";
20
+ *
21
+ * const test = new grafana.Dashboard("test", {configJson: JSON.stringify({
22
+ * id: 12345,
23
+ * uid: "test-ds-dashboard-uid",
24
+ * title: "Production Overview",
25
+ * tags: ["templated"],
26
+ * timezone: "browser",
27
+ * schemaVersion: 16,
28
+ * version: 0,
29
+ * refresh: "25s",
30
+ * })});
31
+ * const fromId = grafana.getDashboardOutput({
32
+ * dashboardId: test.dashboardId,
33
+ * });
34
+ * const fromUid = grafana.getDashboard({
35
+ * uid: "test-ds-dashboard-uid",
36
+ * });
37
+ * ```
38
+ * <!--End PulumiCodeChooser -->
39
+ */
8
40
  function getDashboard(args, opts) {
9
41
  args = args || {};
10
42
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -15,6 +47,38 @@ function getDashboard(args, opts) {
15
47
  }, opts);
16
48
  }
17
49
  exports.getDashboard = getDashboard;
50
+ /**
51
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)
52
+ * * [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/)
53
+ * * [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)
54
+ *
55
+ * ## Example Usage
56
+ *
57
+ * <!--Start PulumiCodeChooser -->
58
+ * ```typescript
59
+ * import * as pulumi from "@pulumi/pulumi";
60
+ * import * as grafana from "@pulumi/grafana";
61
+ * import * as grafana from "@pulumiverse/grafana";
62
+ *
63
+ * const test = new grafana.Dashboard("test", {configJson: JSON.stringify({
64
+ * id: 12345,
65
+ * uid: "test-ds-dashboard-uid",
66
+ * title: "Production Overview",
67
+ * tags: ["templated"],
68
+ * timezone: "browser",
69
+ * schemaVersion: 16,
70
+ * version: 0,
71
+ * refresh: "25s",
72
+ * })});
73
+ * const fromId = grafana.getDashboardOutput({
74
+ * dashboardId: test.dashboardId,
75
+ * });
76
+ * const fromUid = grafana.getDashboard({
77
+ * uid: "test-ds-dashboard-uid",
78
+ * });
79
+ * ```
80
+ * <!--End PulumiCodeChooser -->
81
+ */
18
82
  function getDashboardOutput(args, opts) {
19
83
  return pulumi.output(args).apply((a) => getDashboard(a, opts));
20
84
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getDashboard.js","sourceRoot":"","sources":["../getDashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EA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AAC;AAFD,gDAEC"}
@@ -1,17 +1,38 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
+ /**
4
+ * Datasource for retrieving all dashboards. Specify list of folder IDs to search in for dashboards.
5
+ *
6
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)
7
+ * * [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/)
8
+ * * [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)
9
+ */
3
10
  export declare function getDashboards(args?: GetDashboardsArgs, opts?: pulumi.InvokeOptions): Promise<GetDashboardsResult>;
4
11
  /**
5
12
  * A collection of arguments for invoking getDashboards.
6
13
  */
7
14
  export interface GetDashboardsArgs {
8
15
  /**
16
+ * Deprecated, use `folderUids` instead.
17
+ *
9
18
  * @deprecated Use `folderUids` instead.
10
19
  */
11
20
  folderIds?: number[];
21
+ /**
22
+ * UIDs of Grafana folders containing dashboards. Specify to filter for dashboards by folder (eg. `["General"]` for General folder), or leave blank to get all dashboards in all folders.
23
+ */
12
24
  folderUids?: string[];
25
+ /**
26
+ * Maximum number of dashboard search results to return. Defaults to `5000`.
27
+ */
13
28
  limit?: number;
29
+ /**
30
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
31
+ */
14
32
  orgId?: string;
33
+ /**
34
+ * List of string Grafana dashboard tags to search for, eg. `["prod"]`. Used only as search input, i.e., attribute value will remain unchanged.
35
+ */
15
36
  tags?: string[];
16
37
  }
17
38
  /**
@@ -20,29 +41,64 @@ export interface GetDashboardsArgs {
20
41
  export interface GetDashboardsResult {
21
42
  readonly dashboards: outputs.GetDashboardsDashboard[];
22
43
  /**
44
+ * Deprecated, use `folderUids` instead.
45
+ *
23
46
  * @deprecated Use `folderUids` instead.
24
47
  */
25
48
  readonly folderIds?: number[];
49
+ /**
50
+ * UIDs of Grafana folders containing dashboards. Specify to filter for dashboards by folder (eg. `["General"]` for General folder), or leave blank to get all dashboards in all folders.
51
+ */
26
52
  readonly folderUids?: string[];
27
53
  /**
28
54
  * The provider-assigned unique ID for this managed resource.
29
55
  */
30
56
  readonly id: string;
57
+ /**
58
+ * Maximum number of dashboard search results to return. Defaults to `5000`.
59
+ */
31
60
  readonly limit?: number;
61
+ /**
62
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
63
+ */
32
64
  readonly orgId?: string;
65
+ /**
66
+ * List of string Grafana dashboard tags to search for, eg. `["prod"]`. Used only as search input, i.e., attribute value will remain unchanged.
67
+ */
33
68
  readonly tags?: string[];
34
69
  }
70
+ /**
71
+ * Datasource for retrieving all dashboards. Specify list of folder IDs to search in for dashboards.
72
+ *
73
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)
74
+ * * [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/)
75
+ * * [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)
76
+ */
35
77
  export declare function getDashboardsOutput(args?: GetDashboardsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDashboardsResult>;
36
78
  /**
37
79
  * A collection of arguments for invoking getDashboards.
38
80
  */
39
81
  export interface GetDashboardsOutputArgs {
40
82
  /**
83
+ * Deprecated, use `folderUids` instead.
84
+ *
41
85
  * @deprecated Use `folderUids` instead.
42
86
  */
43
87
  folderIds?: pulumi.Input<pulumi.Input<number>[]>;
88
+ /**
89
+ * UIDs of Grafana folders containing dashboards. Specify to filter for dashboards by folder (eg. `["General"]` for General folder), or leave blank to get all dashboards in all folders.
90
+ */
44
91
  folderUids?: pulumi.Input<pulumi.Input<string>[]>;
92
+ /**
93
+ * Maximum number of dashboard search results to return. Defaults to `5000`.
94
+ */
45
95
  limit?: pulumi.Input<number>;
96
+ /**
97
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
98
+ */
46
99
  orgId?: pulumi.Input<string>;
100
+ /**
101
+ * List of string Grafana dashboard tags to search for, eg. `["prod"]`. Used only as search input, i.e., attribute value will remain unchanged.
102
+ */
47
103
  tags?: pulumi.Input<pulumi.Input<string>[]>;
48
104
  }
package/getDashboards.js CHANGED
@@ -5,6 +5,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getDashboardsOutput = exports.getDashboards = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * Datasource for retrieving all dashboards. Specify list of folder IDs to search in for dashboards.
10
+ *
11
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)
12
+ * * [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/)
13
+ * * [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)
14
+ */
8
15
  function getDashboards(args, opts) {
9
16
  args = args || {};
10
17
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -17,6 +24,13 @@ function getDashboards(args, opts) {
17
24
  }, opts);
18
25
  }
19
26
  exports.getDashboards = getDashboards;
27
+ /**
28
+ * Datasource for retrieving all dashboards. Specify list of folder IDs to search in for dashboards.
29
+ *
30
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)
31
+ * * [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/)
32
+ * * [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)
33
+ */
20
34
  function getDashboardsOutput(args, opts) {
21
35
  return pulumi.output(args).apply((a) => getDashboards(a, opts));
22
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getDashboards.js","sourceRoot":"","sources":["../getDashboards.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EA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AAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sCAWC;AA8DD;;;;;;GAMG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -1,14 +1,57 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Get details about a Grafana Datasource querying by either name, uid or ID
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * <!--Start PulumiCodeChooser -->
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as grafana from "@pulumi/grafana";
11
+ * import * as grafana from "@pulumiverse/grafana";
12
+ *
13
+ * const prometheus = new grafana.DataSource("prometheus", {
14
+ * type: "prometheus",
15
+ * uid: "prometheus-ds-test-uid",
16
+ * url: "https://my-instance.com",
17
+ * basicAuthEnabled: true,
18
+ * basicAuthUsername: "username",
19
+ * jsonDataEncoded: JSON.stringify({
20
+ * httpMethod: "POST",
21
+ * prometheusType: "Mimir",
22
+ * prometheusVersion: "2.4.0",
23
+ * }),
24
+ * secureJsonDataEncoded: JSON.stringify({
25
+ * basicAuthPassword: "password",
26
+ * }),
27
+ * });
28
+ * const fromName = grafana.getDataSourceOutput({
29
+ * name: prometheus.name,
30
+ * });
31
+ * const fromId = grafana.getDataSourceOutput({
32
+ * id: prometheus.id,
33
+ * });
34
+ * const fromUid = grafana.getDataSourceOutput({
35
+ * uid: prometheus.uid,
36
+ * });
37
+ * ```
38
+ * <!--End PulumiCodeChooser -->
39
+ */
2
40
  export declare function getDataSource(args?: GetDataSourceArgs, opts?: pulumi.InvokeOptions): Promise<GetDataSourceResult>;
3
41
  /**
4
42
  * A collection of arguments for invoking getDataSource.
5
43
  */
6
44
  export interface GetDataSourceArgs {
7
45
  /**
46
+ * Deprecated: Use `uid` instead of `id`
47
+ *
8
48
  * @deprecated Use `uid` instead of `id`
9
49
  */
10
50
  id?: string;
11
51
  name?: string;
52
+ /**
53
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
54
+ */
12
55
  orgId?: string;
13
56
  uid?: string;
14
57
  }
@@ -16,33 +59,108 @@ export interface GetDataSourceArgs {
16
59
  * A collection of values returned by getDataSource.
17
60
  */
18
61
  export interface GetDataSourceResult {
62
+ /**
63
+ * The method by which Grafana will access the data source: `proxy` or `direct`.
64
+ */
19
65
  readonly accessMode: string;
66
+ /**
67
+ * Whether to enable basic auth for the data source.
68
+ */
20
69
  readonly basicAuthEnabled: boolean;
70
+ /**
71
+ * Basic auth username.
72
+ */
21
73
  readonly basicAuthUsername: string;
74
+ /**
75
+ * (Required by some data source types) The name of the database to use on the selected data source server.
76
+ */
22
77
  readonly databaseName: string;
23
78
  /**
79
+ * Deprecated: Use `uid` instead of `id`
80
+ *
24
81
  * @deprecated Use `uid` instead of `id`
25
82
  */
26
83
  readonly id: string;
84
+ /**
85
+ * Whether to set the data source as default. This should only be `true` to a single data source.
86
+ */
27
87
  readonly isDefault: boolean;
88
+ /**
89
+ * Serialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.
90
+ */
28
91
  readonly jsonDataEncoded: string;
29
92
  readonly name: string;
93
+ /**
94
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
95
+ */
30
96
  readonly orgId?: string;
97
+ /**
98
+ * The data source type. Must be one of the supported data source keywords.
99
+ */
31
100
  readonly type: string;
32
101
  readonly uid: string;
102
+ /**
103
+ * The URL for the data source. The type of URL required varies depending on the chosen data source type.
104
+ */
33
105
  readonly url: string;
106
+ /**
107
+ * (Required by some data source types) The username to use to authenticate to the data source.
108
+ */
34
109
  readonly username: string;
35
110
  }
111
+ /**
112
+ * Get details about a Grafana Datasource querying by either name, uid or ID
113
+ *
114
+ * ## Example Usage
115
+ *
116
+ * <!--Start PulumiCodeChooser -->
117
+ * ```typescript
118
+ * import * as pulumi from "@pulumi/pulumi";
119
+ * import * as grafana from "@pulumi/grafana";
120
+ * import * as grafana from "@pulumiverse/grafana";
121
+ *
122
+ * const prometheus = new grafana.DataSource("prometheus", {
123
+ * type: "prometheus",
124
+ * uid: "prometheus-ds-test-uid",
125
+ * url: "https://my-instance.com",
126
+ * basicAuthEnabled: true,
127
+ * basicAuthUsername: "username",
128
+ * jsonDataEncoded: JSON.stringify({
129
+ * httpMethod: "POST",
130
+ * prometheusType: "Mimir",
131
+ * prometheusVersion: "2.4.0",
132
+ * }),
133
+ * secureJsonDataEncoded: JSON.stringify({
134
+ * basicAuthPassword: "password",
135
+ * }),
136
+ * });
137
+ * const fromName = grafana.getDataSourceOutput({
138
+ * name: prometheus.name,
139
+ * });
140
+ * const fromId = grafana.getDataSourceOutput({
141
+ * id: prometheus.id,
142
+ * });
143
+ * const fromUid = grafana.getDataSourceOutput({
144
+ * uid: prometheus.uid,
145
+ * });
146
+ * ```
147
+ * <!--End PulumiCodeChooser -->
148
+ */
36
149
  export declare function getDataSourceOutput(args?: GetDataSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDataSourceResult>;
37
150
  /**
38
151
  * A collection of arguments for invoking getDataSource.
39
152
  */
40
153
  export interface GetDataSourceOutputArgs {
41
154
  /**
155
+ * Deprecated: Use `uid` instead of `id`
156
+ *
42
157
  * @deprecated Use `uid` instead of `id`
43
158
  */
44
159
  id?: pulumi.Input<string>;
45
160
  name?: pulumi.Input<string>;
161
+ /**
162
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
163
+ */
46
164
  orgId?: pulumi.Input<string>;
47
165
  uid?: pulumi.Input<string>;
48
166
  }
package/getDataSource.js CHANGED
@@ -5,6 +5,44 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getDataSourceOutput = exports.getDataSource = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * Get details about a Grafana Datasource querying by either name, uid or ID
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * <!--Start PulumiCodeChooser -->
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as grafana from "@pulumi/grafana";
17
+ * import * as grafana from "@pulumiverse/grafana";
18
+ *
19
+ * const prometheus = new grafana.DataSource("prometheus", {
20
+ * type: "prometheus",
21
+ * uid: "prometheus-ds-test-uid",
22
+ * url: "https://my-instance.com",
23
+ * basicAuthEnabled: true,
24
+ * basicAuthUsername: "username",
25
+ * jsonDataEncoded: JSON.stringify({
26
+ * httpMethod: "POST",
27
+ * prometheusType: "Mimir",
28
+ * prometheusVersion: "2.4.0",
29
+ * }),
30
+ * secureJsonDataEncoded: JSON.stringify({
31
+ * basicAuthPassword: "password",
32
+ * }),
33
+ * });
34
+ * const fromName = grafana.getDataSourceOutput({
35
+ * name: prometheus.name,
36
+ * });
37
+ * const fromId = grafana.getDataSourceOutput({
38
+ * id: prometheus.id,
39
+ * });
40
+ * const fromUid = grafana.getDataSourceOutput({
41
+ * uid: prometheus.uid,
42
+ * });
43
+ * ```
44
+ * <!--End PulumiCodeChooser -->
45
+ */
8
46
  function getDataSource(args, opts) {
9
47
  args = args || {};
10
48
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -16,6 +54,44 @@ function getDataSource(args, opts) {
16
54
  }, opts);
17
55
  }
18
56
  exports.getDataSource = getDataSource;
57
+ /**
58
+ * Get details about a Grafana Datasource querying by either name, uid or ID
59
+ *
60
+ * ## Example Usage
61
+ *
62
+ * <!--Start PulumiCodeChooser -->
63
+ * ```typescript
64
+ * import * as pulumi from "@pulumi/pulumi";
65
+ * import * as grafana from "@pulumi/grafana";
66
+ * import * as grafana from "@pulumiverse/grafana";
67
+ *
68
+ * const prometheus = new grafana.DataSource("prometheus", {
69
+ * type: "prometheus",
70
+ * uid: "prometheus-ds-test-uid",
71
+ * url: "https://my-instance.com",
72
+ * basicAuthEnabled: true,
73
+ * basicAuthUsername: "username",
74
+ * jsonDataEncoded: JSON.stringify({
75
+ * httpMethod: "POST",
76
+ * prometheusType: "Mimir",
77
+ * prometheusVersion: "2.4.0",
78
+ * }),
79
+ * secureJsonDataEncoded: JSON.stringify({
80
+ * basicAuthPassword: "password",
81
+ * }),
82
+ * });
83
+ * const fromName = grafana.getDataSourceOutput({
84
+ * name: prometheus.name,
85
+ * });
86
+ * const fromId = grafana.getDataSourceOutput({
87
+ * id: prometheus.id,
88
+ * });
89
+ * const fromUid = grafana.getDataSourceOutput({
90
+ * uid: prometheus.uid,
91
+ * });
92
+ * ```
93
+ * <!--End PulumiCodeChooser -->
94
+ */
19
95
  function getDataSourceOutput(args, opts) {
20
96
  return pulumi.output(args).apply((a) => getDataSource(a, opts));
21
97
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getDataSource.js","sourceRoot":"","sources":["../getDataSource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AAoCD,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM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