@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/oncallSchedule.js CHANGED
@@ -5,6 +5,49 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.OncallSchedule = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)
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 exampleSlackChannel = grafana.getOnCallSlackChannel({
20
+ * name: "example_slack_channel",
21
+ * });
22
+ * const exampleUserGroup = grafana.getOncallUserGroup({
23
+ * slackHandle: "example_slack_handle",
24
+ * });
25
+ * // ICal based schedule
26
+ * const exampleScheduleOncallSchedule = new grafana.OncallSchedule("exampleScheduleOncallSchedule", {
27
+ * type: "ical",
28
+ * icalUrlPrimary: "https://example.com/example_ical.ics",
29
+ * icalUrlOverrides: "https://example.com/example_overrides_ical.ics",
30
+ * slack: {
31
+ * channelId: exampleSlackChannel.then(exampleSlackChannel => exampleSlackChannel.slackId),
32
+ * userGroupId: exampleUserGroup.then(exampleUserGroup => exampleUserGroup.slackId),
33
+ * },
34
+ * });
35
+ * // Shift based schedule
36
+ * const exampleScheduleIndex_oncallScheduleOncallSchedule = new grafana.OncallSchedule("exampleScheduleIndex/oncallScheduleOncallSchedule", {
37
+ * type: "calendar",
38
+ * timeZone: "America/New_York",
39
+ * shifts: [],
40
+ * icalUrlOverrides: "https://example.com/example_overrides_ical.ics",
41
+ * });
42
+ * ```
43
+ * <!--End PulumiCodeChooser -->
44
+ *
45
+ * ## Import
46
+ *
47
+ * ```sh
48
+ * $ pulumi import grafana:index/oncallSchedule:OncallSchedule name "{{ id }}"
49
+ * ```
50
+ */
8
51
  class OncallSchedule extends pulumi.CustomResource {
9
52
  /**
10
53
  * Get an existing OncallSchedule resource's state with the given name, ID, and optional extra
@@ -1 +1 @@
1
- {"version":3,"file":"oncallSchedule.js","sourceRoot":"","sources":["../oncallSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAA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/latest/administration/organization-management/)
4
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/org/)
5
+ *
6
+ * This resource represents an instance-scoped resource and uses Grafana's admin APIs.
7
+ * It does not work with API tokens or service accounts which are org-scoped.
8
+ * You must use basic auth.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * <!--Start PulumiCodeChooser -->
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as grafana from "@pulumiverse/grafana";
16
+ *
17
+ * const test = new grafana.Organization("test", {
18
+ * adminUser: "admin",
19
+ * admins: ["admin@example.com"],
20
+ * createUsers: true,
21
+ * editors: [
22
+ * "editor-01@example.com",
23
+ * "editor-02@example.com",
24
+ * ],
25
+ * viewers: [
26
+ * "viewer-01@example.com",
27
+ * "viewer-02@example.com",
28
+ * ],
29
+ * });
30
+ * ```
31
+ * <!--End PulumiCodeChooser -->
32
+ *
33
+ * ## Import
34
+ *
35
+ * ```sh
36
+ * $ pulumi import grafana:index/organization:Organization name "{{ id }}"
37
+ * ```
38
+ */
2
39
  export declare class Organization extends pulumi.CustomResource {
3
40
  /**
4
41
  * Get an existing Organization resource's state with the given name, ID, and optional extra
@@ -22,20 +59,25 @@ export declare class Organization extends pulumi.CustomResource {
22
59
  */
23
60
  readonly adminUser: pulumi.Output<string | undefined>;
24
61
  /**
25
- * A list of email addresses corresponding to users who should be given admin access to the organization. Note: users
26
- * specified here must already exist in Grafana unless 'create_users' is set to true.
62
+ * A list of email addresses corresponding to users who should be given admin
63
+ * access to the organization. Note: users specified here must already exist in
64
+ * Grafana unless 'create_users' is set to true.
27
65
  */
28
66
  readonly admins: pulumi.Output<string[] | undefined>;
29
67
  /**
30
- * Whether or not to create Grafana users specified in the organization's membership if they don't already exist in
31
- * Grafana. If unspecified, this parameter defaults to true, creating placeholder users with the name, login, and email set
32
- * to the email of the user, and a random password. Setting this option to false will cause an error to be thrown for any
33
- * users that do not already exist in Grafana.
68
+ * Whether or not to create Grafana users specified in the organization's
69
+ * membership if they don't already exist in Grafana. If unspecified, this
70
+ * parameter defaults to true, creating placeholder users with the name, login,
71
+ * and email set to the email of the user, and a random password. Setting this
72
+ * option to false will cause an error to be thrown for any users that do not
73
+ * already exist in Grafana.
74
+ * Defaults to `true`.
34
75
  */
35
76
  readonly createUsers: pulumi.Output<boolean | undefined>;
36
77
  /**
37
- * A list of email addresses corresponding to users who should be given editor access to the organization. Note: users
38
- * specified here must already exist in Grafana unless 'create_users' is set to true.
78
+ * A list of email addresses corresponding to users who should be given editor
79
+ * access to the organization. Note: users specified here must already exist in
80
+ * Grafana unless 'create_users' is set to true.
39
81
  */
40
82
  readonly editors: pulumi.Output<string[] | undefined>;
41
83
  /**
@@ -47,14 +89,15 @@ export declare class Organization extends pulumi.CustomResource {
47
89
  */
48
90
  readonly orgId: pulumi.Output<number>;
49
91
  /**
50
- * A list of email addresses corresponding to users who should be given none access to the organization. Note: users
51
- * specified here must already exist in Grafana, unless 'create_users' is set to true. This feature is only available in
52
- * Grafana 10.2+.
92
+ * A list of email addresses corresponding to users who should be given none access to the organization.
93
+ * Note: users specified here must already exist in Grafana, unless 'create_users' is
94
+ * set to true. This feature is only available in Grafana 10.2+.
53
95
  */
54
96
  readonly usersWithoutAccesses: pulumi.Output<string[] | undefined>;
55
97
  /**
56
- * A list of email addresses corresponding to users who should be given viewer access to the organization. Note: users
57
- * specified here must already exist in Grafana unless 'create_users' is set to true.
98
+ * A list of email addresses corresponding to users who should be given viewer
99
+ * access to the organization. Note: users specified here must already exist in
100
+ * Grafana unless 'create_users' is set to true.
58
101
  */
59
102
  readonly viewers: pulumi.Output<string[] | undefined>;
60
103
  /**
@@ -77,20 +120,25 @@ export interface OrganizationState {
77
120
  */
78
121
  adminUser?: pulumi.Input<string>;
79
122
  /**
80
- * A list of email addresses corresponding to users who should be given admin access to the organization. Note: users
81
- * specified here must already exist in Grafana unless 'create_users' is set to true.
123
+ * A list of email addresses corresponding to users who should be given admin
124
+ * access to the organization. Note: users specified here must already exist in
125
+ * Grafana unless 'create_users' is set to true.
82
126
  */
83
127
  admins?: pulumi.Input<pulumi.Input<string>[]>;
84
128
  /**
85
- * Whether or not to create Grafana users specified in the organization's membership if they don't already exist in
86
- * Grafana. If unspecified, this parameter defaults to true, creating placeholder users with the name, login, and email set
87
- * to the email of the user, and a random password. Setting this option to false will cause an error to be thrown for any
88
- * users that do not already exist in Grafana.
129
+ * Whether or not to create Grafana users specified in the organization's
130
+ * membership if they don't already exist in Grafana. If unspecified, this
131
+ * parameter defaults to true, creating placeholder users with the name, login,
132
+ * and email set to the email of the user, and a random password. Setting this
133
+ * option to false will cause an error to be thrown for any users that do not
134
+ * already exist in Grafana.
135
+ * Defaults to `true`.
89
136
  */
90
137
  createUsers?: pulumi.Input<boolean>;
91
138
  /**
92
- * A list of email addresses corresponding to users who should be given editor access to the organization. Note: users
93
- * specified here must already exist in Grafana unless 'create_users' is set to true.
139
+ * A list of email addresses corresponding to users who should be given editor
140
+ * access to the organization. Note: users specified here must already exist in
141
+ * Grafana unless 'create_users' is set to true.
94
142
  */
95
143
  editors?: pulumi.Input<pulumi.Input<string>[]>;
96
144
  /**
@@ -102,14 +150,15 @@ export interface OrganizationState {
102
150
  */
103
151
  orgId?: pulumi.Input<number>;
104
152
  /**
105
- * A list of email addresses corresponding to users who should be given none access to the organization. Note: users
106
- * specified here must already exist in Grafana, unless 'create_users' is set to true. This feature is only available in
107
- * Grafana 10.2+.
153
+ * A list of email addresses corresponding to users who should be given none access to the organization.
154
+ * Note: users specified here must already exist in Grafana, unless 'create_users' is
155
+ * set to true. This feature is only available in Grafana 10.2+.
108
156
  */
109
157
  usersWithoutAccesses?: pulumi.Input<pulumi.Input<string>[]>;
110
158
  /**
111
- * A list of email addresses corresponding to users who should be given viewer access to the organization. Note: users
112
- * specified here must already exist in Grafana unless 'create_users' is set to true.
159
+ * A list of email addresses corresponding to users who should be given viewer
160
+ * access to the organization. Note: users specified here must already exist in
161
+ * Grafana unless 'create_users' is set to true.
113
162
  */
114
163
  viewers?: pulumi.Input<pulumi.Input<string>[]>;
115
164
  }
@@ -124,20 +173,25 @@ export interface OrganizationArgs {
124
173
  */
125
174
  adminUser?: pulumi.Input<string>;
126
175
  /**
127
- * A list of email addresses corresponding to users who should be given admin access to the organization. Note: users
128
- * specified here must already exist in Grafana unless 'create_users' is set to true.
176
+ * A list of email addresses corresponding to users who should be given admin
177
+ * access to the organization. Note: users specified here must already exist in
178
+ * Grafana unless 'create_users' is set to true.
129
179
  */
130
180
  admins?: pulumi.Input<pulumi.Input<string>[]>;
131
181
  /**
132
- * Whether or not to create Grafana users specified in the organization's membership if they don't already exist in
133
- * Grafana. If unspecified, this parameter defaults to true, creating placeholder users with the name, login, and email set
134
- * to the email of the user, and a random password. Setting this option to false will cause an error to be thrown for any
135
- * users that do not already exist in Grafana.
182
+ * Whether or not to create Grafana users specified in the organization's
183
+ * membership if they don't already exist in Grafana. If unspecified, this
184
+ * parameter defaults to true, creating placeholder users with the name, login,
185
+ * and email set to the email of the user, and a random password. Setting this
186
+ * option to false will cause an error to be thrown for any users that do not
187
+ * already exist in Grafana.
188
+ * Defaults to `true`.
136
189
  */
137
190
  createUsers?: pulumi.Input<boolean>;
138
191
  /**
139
- * A list of email addresses corresponding to users who should be given editor access to the organization. Note: users
140
- * specified here must already exist in Grafana unless 'create_users' is set to true.
192
+ * A list of email addresses corresponding to users who should be given editor
193
+ * access to the organization. Note: users specified here must already exist in
194
+ * Grafana unless 'create_users' is set to true.
141
195
  */
142
196
  editors?: pulumi.Input<pulumi.Input<string>[]>;
143
197
  /**
@@ -145,14 +199,15 @@ export interface OrganizationArgs {
145
199
  */
146
200
  name?: pulumi.Input<string>;
147
201
  /**
148
- * A list of email addresses corresponding to users who should be given none access to the organization. Note: users
149
- * specified here must already exist in Grafana, unless 'create_users' is set to true. This feature is only available in
150
- * Grafana 10.2+.
202
+ * A list of email addresses corresponding to users who should be given none access to the organization.
203
+ * Note: users specified here must already exist in Grafana, unless 'create_users' is
204
+ * set to true. This feature is only available in Grafana 10.2+.
151
205
  */
152
206
  usersWithoutAccesses?: pulumi.Input<pulumi.Input<string>[]>;
153
207
  /**
154
- * A list of email addresses corresponding to users who should be given viewer access to the organization. Note: users
155
- * specified here must already exist in Grafana unless 'create_users' is set to true.
208
+ * A list of email addresses corresponding to users who should be given viewer
209
+ * access to the organization. Note: users specified here must already exist in
210
+ * Grafana unless 'create_users' is set to true.
156
211
  */
157
212
  viewers?: pulumi.Input<pulumi.Input<string>[]>;
158
213
  }
package/organization.js CHANGED
@@ -5,6 +5,43 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Organization = 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/administration/organization-management/)
10
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/org/)
11
+ *
12
+ * This resource represents an instance-scoped resource and uses Grafana's admin APIs.
13
+ * It does not work with API tokens or service accounts which are org-scoped.
14
+ * You must use basic auth.
15
+ *
16
+ * ## Example Usage
17
+ *
18
+ * <!--Start PulumiCodeChooser -->
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as grafana from "@pulumiverse/grafana";
22
+ *
23
+ * const test = new grafana.Organization("test", {
24
+ * adminUser: "admin",
25
+ * admins: ["admin@example.com"],
26
+ * createUsers: true,
27
+ * editors: [
28
+ * "editor-01@example.com",
29
+ * "editor-02@example.com",
30
+ * ],
31
+ * viewers: [
32
+ * "viewer-01@example.com",
33
+ * "viewer-02@example.com",
34
+ * ],
35
+ * });
36
+ * ```
37
+ * <!--End PulumiCodeChooser -->
38
+ *
39
+ * ## Import
40
+ *
41
+ * ```sh
42
+ * $ pulumi import grafana:index/organization:Organization name "{{ id }}"
43
+ * ```
44
+ */
8
45
  class Organization extends pulumi.CustomResource {
9
46
  /**
10
47
  * Get an existing Organization resource's state with the given name, ID, and optional extra
@@ -1 +1 @@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AAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA/GL,oCAgHC;AAlGG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
@@ -1,4 +1,29 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/administration/organization-management/)
4
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/preferences/#get-current-org-prefs)
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * <!--Start PulumiCodeChooser -->
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as grafana from "@pulumiverse/grafana";
12
+ *
13
+ * const test = new grafana.OrganizationPreference("test", {
14
+ * theme: "light",
15
+ * timezone: "utc",
16
+ * weekStart: "sunday",
17
+ * });
18
+ * ```
19
+ * <!--End PulumiCodeChooser -->
20
+ *
21
+ * ## Import
22
+ *
23
+ * ```sh
24
+ * $ pulumi import grafana:index/organizationPreference:OrganizationPreference name "{{ orgID }}"
25
+ * ```
26
+ */
2
27
  export declare class OrganizationPreference extends pulumi.CustomResource {
3
28
  /**
4
29
  * Get an existing OrganizationPreference resource's state with the given name, ID, and optional extra
@@ -16,7 +41,7 @@ export declare class OrganizationPreference extends pulumi.CustomResource {
16
41
  */
17
42
  static isInstance(obj: any): obj is OrganizationPreference;
18
43
  /**
19
- * The Organization home dashboard ID. Deprecated: Use `home_dashboard_uid` instead.
44
+ * The Organization home dashboard ID. Deprecated: Use `homeDashboardUid` instead.
20
45
  *
21
46
  * @deprecated Use `homeDashboardUid` instead.
22
47
  */
@@ -38,8 +63,7 @@ export declare class OrganizationPreference extends pulumi.CustomResource {
38
63
  */
39
64
  readonly timezone: pulumi.Output<string | undefined>;
40
65
  /**
41
- * The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the
42
- * default.
66
+ * The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to ``.
43
67
  */
44
68
  readonly weekStart: pulumi.Output<string | undefined>;
45
69
  /**
@@ -56,7 +80,7 @@ export declare class OrganizationPreference extends pulumi.CustomResource {
56
80
  */
57
81
  export interface OrganizationPreferenceState {
58
82
  /**
59
- * The Organization home dashboard ID. Deprecated: Use `home_dashboard_uid` instead.
83
+ * The Organization home dashboard ID. Deprecated: Use `homeDashboardUid` instead.
60
84
  *
61
85
  * @deprecated Use `homeDashboardUid` instead.
62
86
  */
@@ -78,8 +102,7 @@ export interface OrganizationPreferenceState {
78
102
  */
79
103
  timezone?: pulumi.Input<string>;
80
104
  /**
81
- * The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the
82
- * default.
105
+ * The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to ``.
83
106
  */
84
107
  weekStart?: pulumi.Input<string>;
85
108
  }
@@ -88,7 +111,7 @@ export interface OrganizationPreferenceState {
88
111
  */
89
112
  export interface OrganizationPreferenceArgs {
90
113
  /**
91
- * The Organization home dashboard ID. Deprecated: Use `home_dashboard_uid` instead.
114
+ * The Organization home dashboard ID. Deprecated: Use `homeDashboardUid` instead.
92
115
  *
93
116
  * @deprecated Use `homeDashboardUid` instead.
94
117
  */
@@ -110,8 +133,7 @@ export interface OrganizationPreferenceArgs {
110
133
  */
111
134
  timezone?: pulumi.Input<string>;
112
135
  /**
113
- * The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the
114
- * default.
136
+ * The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to ``.
115
137
  */
116
138
  weekStart?: pulumi.Input<string>;
117
139
  }
@@ -5,6 +5,31 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.OrganizationPreference = 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/administration/organization-management/)
10
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/preferences/#get-current-org-prefs)
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * <!--Start PulumiCodeChooser -->
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as grafana from "@pulumiverse/grafana";
18
+ *
19
+ * const test = new grafana.OrganizationPreference("test", {
20
+ * theme: "light",
21
+ * timezone: "utc",
22
+ * weekStart: "sunday",
23
+ * });
24
+ * ```
25
+ * <!--End PulumiCodeChooser -->
26
+ *
27
+ * ## Import
28
+ *
29
+ * ```sh
30
+ * $ pulumi import grafana:index/organizationPreference:OrganizationPreference name "{{ orgID }}"
31
+ * ```
32
+ */
8
33
  class OrganizationPreference extends pulumi.CustomResource {
9
34
  /**
10
35
  * Get an existing OrganizationPreference resource's state with the given name, ID, and optional extra
@@ -1 +1 @@
1
- {"version":3,"file":"organizationPreference.js","sourceRoot":"","sources":["../organizationPreference.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAE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
  "description": "A Pulumi package for creating and managing grafana.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -12,7 +12,7 @@
12
12
  "license": "Apache-2.0",
13
13
  "scripts": {
14
14
  "build": "tsc",
15
- "install": "node scripts/install-pulumi-plugin.js resource grafana --server github://api.github.com/pulumiverse v0.5.0"
15
+ "install": "node scripts/install-pulumi-plugin.js resource grafana --server github://api.github.com/pulumiverse v0.5.1"
16
16
  },
17
17
  "dependencies": {
18
18
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumiverse/grafana",
3
- "version": "v0.5.0",
3
+ "version": "v0.5.1",
4
4
  "description": "A Pulumi package for creating and managing grafana.",
5
5
  "keywords": [
6
6
  "pulumi",
package/playlist.d.ts CHANGED
@@ -1,6 +1,47 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
+ /**
5
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/create-manage-playlists/)
6
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/playlist/)
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * <!--Start PulumiCodeChooser -->
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as grafana from "@pulumiverse/grafana";
14
+ *
15
+ * const test = new grafana.Playlist("test", {
16
+ * interval: "5m",
17
+ * items: [
18
+ * {
19
+ * order: 2,
20
+ * title: "Terraform Dashboard By Tag",
21
+ * type: "dashboard_by_tag",
22
+ * value: "terraform",
23
+ * },
24
+ * {
25
+ * order: 1,
26
+ * title: "Terraform Dashboard By ID",
27
+ * type: "dashboard_by_id",
28
+ * value: "3",
29
+ * },
30
+ * ],
31
+ * });
32
+ * ```
33
+ * <!--End PulumiCodeChooser -->
34
+ *
35
+ * ## Import
36
+ *
37
+ * ```sh
38
+ * $ pulumi import grafana:index/playlist:Playlist name "{{ uid }}"
39
+ * ```
40
+ *
41
+ * ```sh
42
+ * $ pulumi import grafana:index/playlist:Playlist name "{{ orgID }}:{{ uid }}"
43
+ * ```
44
+ */
4
45
  export declare class Playlist extends pulumi.CustomResource {
5
46
  /**
6
47
  * Get an existing Playlist resource's state with the given name, ID, and optional extra
package/playlist.js CHANGED
@@ -5,6 +5,47 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Playlist = 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/create-manage-playlists/)
10
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/playlist/)
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * <!--Start PulumiCodeChooser -->
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as grafana from "@pulumiverse/grafana";
18
+ *
19
+ * const test = new grafana.Playlist("test", {
20
+ * interval: "5m",
21
+ * items: [
22
+ * {
23
+ * order: 2,
24
+ * title: "Terraform Dashboard By Tag",
25
+ * type: "dashboard_by_tag",
26
+ * value: "terraform",
27
+ * },
28
+ * {
29
+ * order: 1,
30
+ * title: "Terraform Dashboard By ID",
31
+ * type: "dashboard_by_id",
32
+ * value: "3",
33
+ * },
34
+ * ],
35
+ * });
36
+ * ```
37
+ * <!--End PulumiCodeChooser -->
38
+ *
39
+ * ## Import
40
+ *
41
+ * ```sh
42
+ * $ pulumi import grafana:index/playlist:Playlist name "{{ uid }}"
43
+ * ```
44
+ *
45
+ * ```sh
46
+ * $ pulumi import grafana:index/playlist:Playlist name "{{ orgID }}:{{ uid }}"
47
+ * ```
48
+ */
8
49
  class Playlist extends pulumi.CustomResource {
9
50
  /**
10
51
  * Get an existing Playlist resource's state with the given name, ID, and optional extra
package/playlist.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"playlist.js","sourceRoot":"","sources":["../playlist.ts"],"names":[],"m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