@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/getFolder.d.ts CHANGED
@@ -1,10 +1,38 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/)
4
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * <!--Start PulumiCodeChooser -->
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as grafana from "@pulumi/grafana";
12
+ * import * as grafana from "@pulumiverse/grafana";
13
+ *
14
+ * const test = new grafana.Folder("test", {
15
+ * title: "test-folder",
16
+ * uid: "test-ds-folder-uid",
17
+ * });
18
+ * const fromTitle = grafana.getFolderOutput({
19
+ * title: test.title,
20
+ * });
21
+ * ```
22
+ * <!--End PulumiCodeChooser -->
23
+ */
2
24
  export declare function getFolder(args: GetFolderArgs, opts?: pulumi.InvokeOptions): Promise<GetFolderResult>;
3
25
  /**
4
26
  * A collection of arguments for invoking getFolder.
5
27
  */
6
28
  export interface GetFolderArgs {
29
+ /**
30
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
31
+ */
7
32
  orgId?: string;
33
+ /**
34
+ * The title of the folder.
35
+ */
8
36
  title: string;
9
37
  }
10
38
  /**
@@ -15,17 +43,60 @@ export interface GetFolderResult {
15
43
  * The provider-assigned unique ID for this managed resource.
16
44
  */
17
45
  readonly id: string;
46
+ /**
47
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
48
+ */
18
49
  readonly orgId?: string;
50
+ /**
51
+ * The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.
52
+ */
19
53
  readonly parentFolderUid: string;
54
+ /**
55
+ * The title of the folder.
56
+ */
20
57
  readonly title: string;
58
+ /**
59
+ * Unique identifier.
60
+ */
21
61
  readonly uid: string;
62
+ /**
63
+ * The full URL of the folder.
64
+ */
22
65
  readonly url: string;
23
66
  }
67
+ /**
68
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/)
69
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)
70
+ *
71
+ * ## Example Usage
72
+ *
73
+ * <!--Start PulumiCodeChooser -->
74
+ * ```typescript
75
+ * import * as pulumi from "@pulumi/pulumi";
76
+ * import * as grafana from "@pulumi/grafana";
77
+ * import * as grafana from "@pulumiverse/grafana";
78
+ *
79
+ * const test = new grafana.Folder("test", {
80
+ * title: "test-folder",
81
+ * uid: "test-ds-folder-uid",
82
+ * });
83
+ * const fromTitle = grafana.getFolderOutput({
84
+ * title: test.title,
85
+ * });
86
+ * ```
87
+ * <!--End PulumiCodeChooser -->
88
+ */
24
89
  export declare function getFolderOutput(args: GetFolderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFolderResult>;
25
90
  /**
26
91
  * A collection of arguments for invoking getFolder.
27
92
  */
28
93
  export interface GetFolderOutputArgs {
94
+ /**
95
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
96
+ */
29
97
  orgId?: pulumi.Input<string>;
98
+ /**
99
+ * The title of the folder.
100
+ */
30
101
  title: pulumi.Input<string>;
31
102
  }
package/getFolder.js CHANGED
@@ -5,6 +5,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getFolderOutput = exports.getFolder = 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/manage-dashboards/)
10
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * <!--Start PulumiCodeChooser -->
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as grafana from "@pulumi/grafana";
18
+ * import * as grafana from "@pulumiverse/grafana";
19
+ *
20
+ * const test = new grafana.Folder("test", {
21
+ * title: "test-folder",
22
+ * uid: "test-ds-folder-uid",
23
+ * });
24
+ * const fromTitle = grafana.getFolderOutput({
25
+ * title: test.title,
26
+ * });
27
+ * ```
28
+ * <!--End PulumiCodeChooser -->
29
+ */
8
30
  function getFolder(args, opts) {
9
31
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
32
  return pulumi.runtime.invoke("grafana:index/getFolder:getFolder", {
@@ -13,6 +35,28 @@ function getFolder(args, opts) {
13
35
  }, opts);
14
36
  }
15
37
  exports.getFolder = getFolder;
38
+ /**
39
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/)
40
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)
41
+ *
42
+ * ## Example Usage
43
+ *
44
+ * <!--Start PulumiCodeChooser -->
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as grafana from "@pulumi/grafana";
48
+ * import * as grafana from "@pulumiverse/grafana";
49
+ *
50
+ * const test = new grafana.Folder("test", {
51
+ * title: "test-folder",
52
+ * uid: "test-ds-folder-uid",
53
+ * });
54
+ * const fromTitle = grafana.getFolderOutput({
55
+ * title: test.title,
56
+ * });
57
+ * ```
58
+ * <!--End PulumiCodeChooser -->
59
+ */
16
60
  function getFolderOutput(args, opts) {
17
61
  return pulumi.output(args).apply((a) => getFolder(a, opts));
18
62
  }
package/getFolder.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getFolder.js","sourceRoot":"","sources":["../getFolder.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AAwBD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"getFolder.js","sourceRoot":"","sources":["../getFolder.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AA6CD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
package/getFolders.d.ts CHANGED
@@ -1,27 +1,87 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
+ /**
4
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/)
5
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)
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 testA = new grafana.Folder("testA", {
16
+ * title: "test-folder-a",
17
+ * uid: "test-ds-folder-uid-a",
18
+ * });
19
+ * const testB = new grafana.Folder("testB", {
20
+ * title: "test-folder-b",
21
+ * uid: "test-ds-folder-uid-b",
22
+ * });
23
+ * const test = grafana.getFolders({});
24
+ * ```
25
+ * <!--End PulumiCodeChooser -->
26
+ */
3
27
  export declare function getFolders(args?: GetFoldersArgs, opts?: pulumi.InvokeOptions): Promise<GetFoldersResult>;
4
28
  /**
5
29
  * A collection of arguments for invoking getFolders.
6
30
  */
7
31
  export interface GetFoldersArgs {
32
+ /**
33
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
34
+ */
8
35
  orgId?: string;
9
36
  }
10
37
  /**
11
38
  * A collection of values returned by getFolders.
12
39
  */
13
40
  export interface GetFoldersResult {
41
+ /**
42
+ * The Grafana instance's folders.
43
+ */
14
44
  readonly folders: outputs.GetFoldersFolder[];
15
45
  /**
16
46
  * The provider-assigned unique ID for this managed resource.
17
47
  */
18
48
  readonly id: string;
49
+ /**
50
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
51
+ */
19
52
  readonly orgId?: string;
20
53
  }
54
+ /**
55
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/)
56
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)
57
+ *
58
+ * ## Example Usage
59
+ *
60
+ * <!--Start PulumiCodeChooser -->
61
+ * ```typescript
62
+ * import * as pulumi from "@pulumi/pulumi";
63
+ * import * as grafana from "@pulumi/grafana";
64
+ * import * as grafana from "@pulumiverse/grafana";
65
+ *
66
+ * const testA = new grafana.Folder("testA", {
67
+ * title: "test-folder-a",
68
+ * uid: "test-ds-folder-uid-a",
69
+ * });
70
+ * const testB = new grafana.Folder("testB", {
71
+ * title: "test-folder-b",
72
+ * uid: "test-ds-folder-uid-b",
73
+ * });
74
+ * const test = grafana.getFolders({});
75
+ * ```
76
+ * <!--End PulumiCodeChooser -->
77
+ */
21
78
  export declare function getFoldersOutput(args?: GetFoldersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFoldersResult>;
22
79
  /**
23
80
  * A collection of arguments for invoking getFolders.
24
81
  */
25
82
  export interface GetFoldersOutputArgs {
83
+ /**
84
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
85
+ */
26
86
  orgId?: pulumi.Input<string>;
27
87
  }
package/getFolders.js CHANGED
@@ -5,6 +5,30 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getFoldersOutput = exports.getFolders = 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/manage-dashboards/)
10
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * <!--Start PulumiCodeChooser -->
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as grafana from "@pulumi/grafana";
18
+ * import * as grafana from "@pulumiverse/grafana";
19
+ *
20
+ * const testA = new grafana.Folder("testA", {
21
+ * title: "test-folder-a",
22
+ * uid: "test-ds-folder-uid-a",
23
+ * });
24
+ * const testB = new grafana.Folder("testB", {
25
+ * title: "test-folder-b",
26
+ * uid: "test-ds-folder-uid-b",
27
+ * });
28
+ * const test = grafana.getFolders({});
29
+ * ```
30
+ * <!--End PulumiCodeChooser -->
31
+ */
8
32
  function getFolders(args, opts) {
9
33
  args = args || {};
10
34
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -13,6 +37,30 @@ function getFolders(args, opts) {
13
37
  }, opts);
14
38
  }
15
39
  exports.getFolders = getFolders;
40
+ /**
41
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/)
42
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)
43
+ *
44
+ * ## Example Usage
45
+ *
46
+ * <!--Start PulumiCodeChooser -->
47
+ * ```typescript
48
+ * import * as pulumi from "@pulumi/pulumi";
49
+ * import * as grafana from "@pulumi/grafana";
50
+ * import * as grafana from "@pulumiverse/grafana";
51
+ *
52
+ * const testA = new grafana.Folder("testA", {
53
+ * title: "test-folder-a",
54
+ * uid: "test-ds-folder-uid-a",
55
+ * });
56
+ * const testB = new grafana.Folder("testB", {
57
+ * title: "test-folder-b",
58
+ * uid: "test-ds-folder-uid-b",
59
+ * });
60
+ * const test = grafana.getFolders({});
61
+ * ```
62
+ * <!--End PulumiCodeChooser -->
63
+ */
16
64
  function getFoldersOutput(args, opts) {
17
65
  return pulumi.output(args).apply((a) => getFolders(a, opts));
18
66
  }
package/getFolders.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getFolders.js","sourceRoot":"","sources":["../getFolders.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,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,qCAAqC,EAAE;QAChE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AAoBD,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
1
+ {"version":3,"file":"getFolders.js","sourceRoot":"","sources":["../getFolders.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,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,qCAAqC,EAAE;QAChE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
@@ -1,45 +1,110 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data source for retrieving a single library panel by name or uid.
4
+ */
2
5
  export declare function getLibraryPanel(args?: GetLibraryPanelArgs, opts?: pulumi.InvokeOptions): Promise<GetLibraryPanelResult>;
3
6
  /**
4
7
  * A collection of arguments for invoking getLibraryPanel.
5
8
  */
6
9
  export interface GetLibraryPanelArgs {
10
+ /**
11
+ * Name of the library panel.
12
+ */
7
13
  name?: string;
14
+ /**
15
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
16
+ */
8
17
  orgId?: string;
18
+ /**
19
+ * The unique identifier (UID) of the library panel.
20
+ */
9
21
  uid?: string;
10
22
  }
11
23
  /**
12
24
  * A collection of values returned by getLibraryPanel.
13
25
  */
14
26
  export interface GetLibraryPanelResult {
27
+ /**
28
+ * Timestamp when the library panel was created.
29
+ */
15
30
  readonly created: string;
31
+ /**
32
+ * Numerical IDs of Grafana dashboards containing the library panel.
33
+ */
16
34
  readonly dashboardIds: number[];
35
+ /**
36
+ * Description of the library panel.
37
+ */
17
38
  readonly description: string;
18
39
  /**
40
+ * Deprecated. Use `folderUid` instead
41
+ *
19
42
  * @deprecated Use `folderUid` instead
20
43
  */
21
44
  readonly folderId: string;
45
+ /**
46
+ * Name of the folder containing the library panel.
47
+ */
22
48
  readonly folderName: string;
49
+ /**
50
+ * Unique ID (UID) of the folder containing the library panel.
51
+ */
23
52
  readonly folderUid: string;
24
53
  /**
25
54
  * The provider-assigned unique ID for this managed resource.
26
55
  */
27
56
  readonly id: string;
57
+ /**
58
+ * The JSON model for the library panel.
59
+ */
28
60
  readonly modelJson: string;
61
+ /**
62
+ * Name of the library panel.
63
+ */
29
64
  readonly name?: string;
65
+ /**
66
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
67
+ */
30
68
  readonly orgId?: string;
69
+ /**
70
+ * The numeric ID of the library panel computed by Grafana.
71
+ */
31
72
  readonly panelId: number;
73
+ /**
74
+ * Type of the library panel (eg. text).
75
+ */
32
76
  readonly type: string;
77
+ /**
78
+ * The unique identifier (UID) of the library panel.
79
+ */
33
80
  readonly uid?: string;
81
+ /**
82
+ * Timestamp when the library panel was last modified.
83
+ */
34
84
  readonly updated: string;
85
+ /**
86
+ * Version of the library panel.
87
+ */
35
88
  readonly version: number;
36
89
  }
90
+ /**
91
+ * Data source for retrieving a single library panel by name or uid.
92
+ */
37
93
  export declare function getLibraryPanelOutput(args?: GetLibraryPanelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLibraryPanelResult>;
38
94
  /**
39
95
  * A collection of arguments for invoking getLibraryPanel.
40
96
  */
41
97
  export interface GetLibraryPanelOutputArgs {
98
+ /**
99
+ * Name of the library panel.
100
+ */
42
101
  name?: pulumi.Input<string>;
102
+ /**
103
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
104
+ */
43
105
  orgId?: pulumi.Input<string>;
106
+ /**
107
+ * The unique identifier (UID) of the library panel.
108
+ */
44
109
  uid?: pulumi.Input<string>;
45
110
  }
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getLibraryPanelOutput = exports.getLibraryPanel = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * Data source for retrieving a single library panel by name or uid.
10
+ */
8
11
  function getLibraryPanel(args, opts) {
9
12
  args = args || {};
10
13
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -15,6 +18,9 @@ function getLibraryPanel(args, opts) {
15
18
  }, opts);
16
19
  }
17
20
  exports.getLibraryPanel = getLibraryPanel;
21
+ /**
22
+ * Data source for retrieving a single library panel by name or uid.
23
+ */
18
24
  function getLibraryPanelOutput(args, opts) {
19
25
  return pulumi.output(args).apply((a) => getLibraryPanel(a, opts));
20
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getLibraryPanel.js","sourceRoot":"","sources":["../getLibraryPanel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,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,+CAA+C,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0CASC;AAqCD,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
1
+ {"version":3,"file":"getLibraryPanel.js","sourceRoot":"","sources":["../getLibraryPanel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,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,+CAA+C,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0CASC;AAuFD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
@@ -1,9 +1,28 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/)
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
+ *
12
+ * const exampleSlackChannel = grafana.getOnCallSlackChannel({
13
+ * name: "example_slack_channel",
14
+ * });
15
+ * ```
16
+ * <!--End PulumiCodeChooser -->
17
+ */
2
18
  export declare function getOnCallSlackChannel(args: GetOnCallSlackChannelArgs, opts?: pulumi.InvokeOptions): Promise<GetOnCallSlackChannelResult>;
3
19
  /**
4
20
  * A collection of arguments for invoking getOnCallSlackChannel.
5
21
  */
6
22
  export interface GetOnCallSlackChannelArgs {
23
+ /**
24
+ * The Slack channel name.
25
+ */
7
26
  name: string;
8
27
  }
9
28
  /**
@@ -14,13 +33,38 @@ export interface GetOnCallSlackChannelResult {
14
33
  * The provider-assigned unique ID for this managed resource.
15
34
  */
16
35
  readonly id: string;
36
+ /**
37
+ * The Slack channel name.
38
+ */
17
39
  readonly name: string;
40
+ /**
41
+ * The Slack ID of the channel.
42
+ */
18
43
  readonly slackId: string;
19
44
  }
45
+ /**
46
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/)
47
+ *
48
+ * ## Example Usage
49
+ *
50
+ * <!--Start PulumiCodeChooser -->
51
+ * ```typescript
52
+ * import * as pulumi from "@pulumi/pulumi";
53
+ * import * as grafana from "@pulumi/grafana";
54
+ *
55
+ * const exampleSlackChannel = grafana.getOnCallSlackChannel({
56
+ * name: "example_slack_channel",
57
+ * });
58
+ * ```
59
+ * <!--End PulumiCodeChooser -->
60
+ */
20
61
  export declare function getOnCallSlackChannelOutput(args: GetOnCallSlackChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOnCallSlackChannelResult>;
21
62
  /**
22
63
  * A collection of arguments for invoking getOnCallSlackChannel.
23
64
  */
24
65
  export interface GetOnCallSlackChannelOutputArgs {
66
+ /**
67
+ * The Slack channel name.
68
+ */
25
69
  name: pulumi.Input<string>;
26
70
  }
@@ -5,6 +5,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getOnCallSlackChannelOutput = exports.getOnCallSlackChannel = 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/slack_channels/)
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
+ *
18
+ * const exampleSlackChannel = grafana.getOnCallSlackChannel({
19
+ * name: "example_slack_channel",
20
+ * });
21
+ * ```
22
+ * <!--End PulumiCodeChooser -->
23
+ */
8
24
  function getOnCallSlackChannel(args, opts) {
9
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
26
  return pulumi.runtime.invoke("grafana:index/getOnCallSlackChannel:getOnCallSlackChannel", {
@@ -12,6 +28,22 @@ function getOnCallSlackChannel(args, opts) {
12
28
  }, opts);
13
29
  }
14
30
  exports.getOnCallSlackChannel = getOnCallSlackChannel;
31
+ /**
32
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/)
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * <!--Start PulumiCodeChooser -->
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as grafana from "@pulumi/grafana";
40
+ *
41
+ * const exampleSlackChannel = grafana.getOnCallSlackChannel({
42
+ * name: "example_slack_channel",
43
+ * });
44
+ * ```
45
+ * <!--End PulumiCodeChooser -->
46
+ */
15
47
  function getOnCallSlackChannelOutput(args, opts) {
16
48
  return pulumi.output(args).apply((a) => getOnCallSlackChannel(a, opts));
17
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getOnCallSlackChannel.js","sourceRoot":"","sources":["../getOnCallSlackChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAoBD,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
1
+ {"version":3,"file":"getOnCallSlackChannel.js","sourceRoot":"","sources":["../getOnCallSlackChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AA6BD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
@@ -1,9 +1,18 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * **Note:** This data source is going to be deprecated, please use outgoing webhook data source instead.
4
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
5
+ *
6
+ * !> Deprecated: Use the `grafana.OncallOutgoingWebhook` data source instead.
7
+ */
2
8
  export declare function getOncallAction(args: GetOncallActionArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallActionResult>;
3
9
  /**
4
10
  * A collection of arguments for invoking getOncallAction.
5
11
  */
6
12
  export interface GetOncallActionArgs {
13
+ /**
14
+ * The action name.
15
+ */
7
16
  name: string;
8
17
  }
9
18
  /**
@@ -14,12 +23,24 @@ export interface GetOncallActionResult {
14
23
  * The provider-assigned unique ID for this managed resource.
15
24
  */
16
25
  readonly id: string;
26
+ /**
27
+ * The action name.
28
+ */
17
29
  readonly name: string;
18
30
  }
31
+ /**
32
+ * **Note:** This data source is going to be deprecated, please use outgoing webhook data source instead.
33
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
34
+ *
35
+ * !> Deprecated: Use the `grafana.OncallOutgoingWebhook` data source instead.
36
+ */
19
37
  export declare function getOncallActionOutput(args: GetOncallActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallActionResult>;
20
38
  /**
21
39
  * A collection of arguments for invoking getOncallAction.
22
40
  */
23
41
  export interface GetOncallActionOutputArgs {
42
+ /**
43
+ * The action name.
44
+ */
24
45
  name: pulumi.Input<string>;
25
46
  }
@@ -5,6 +5,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getOncallActionOutput = exports.getOncallAction = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * **Note:** This data source is going to be deprecated, please use outgoing webhook data source instead.
10
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
11
+ *
12
+ * !> Deprecated: Use the `grafana.OncallOutgoingWebhook` data source instead.
13
+ */
8
14
  function getOncallAction(args, opts) {
9
15
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
16
  return pulumi.runtime.invoke("grafana:index/getOncallAction:getOncallAction", {
@@ -12,6 +18,12 @@ function getOncallAction(args, opts) {
12
18
  }, opts);
13
19
  }
14
20
  exports.getOncallAction = getOncallAction;
21
+ /**
22
+ * **Note:** This data source is going to be deprecated, please use outgoing webhook data source instead.
23
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
24
+ *
25
+ * !> Deprecated: Use the `grafana.OncallOutgoingWebhook` data source instead.
26
+ */
15
27
  function getOncallActionOutput(args, opts) {
16
28
  return pulumi.output(args).apply((a) => getOncallAction(a, opts));
17
29
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getOncallAction.js","sourceRoot":"","sources":["../getOncallAction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAmBD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
1
+ {"version":3,"file":"getOncallAction.js","sourceRoot":"","sources":["../getOncallAction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAyBD;;;;;GAKG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}