@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
@@ -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/escalation_chains/)
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 default = grafana.getOncallEscalationChain({
13
+ * name: "default",
14
+ * });
15
+ * ```
16
+ * <!--End PulumiCodeChooser -->
17
+ */
2
18
  export declare function getOncallEscalationChain(args: GetOncallEscalationChainArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallEscalationChainResult>;
3
19
  /**
4
20
  * A collection of arguments for invoking getOncallEscalationChain.
5
21
  */
6
22
  export interface GetOncallEscalationChainArgs {
23
+ /**
24
+ * The escalation chain name.
25
+ */
7
26
  name: string;
8
27
  }
9
28
  /**
@@ -14,12 +33,34 @@ export interface GetOncallEscalationChainResult {
14
33
  * The provider-assigned unique ID for this managed resource.
15
34
  */
16
35
  readonly id: string;
36
+ /**
37
+ * The escalation chain name.
38
+ */
17
39
  readonly name: string;
18
40
  }
41
+ /**
42
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/)
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
+ *
51
+ * const default = grafana.getOncallEscalationChain({
52
+ * name: "default",
53
+ * });
54
+ * ```
55
+ * <!--End PulumiCodeChooser -->
56
+ */
19
57
  export declare function getOncallEscalationChainOutput(args: GetOncallEscalationChainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallEscalationChainResult>;
20
58
  /**
21
59
  * A collection of arguments for invoking getOncallEscalationChain.
22
60
  */
23
61
  export interface GetOncallEscalationChainOutputArgs {
62
+ /**
63
+ * The escalation chain name.
64
+ */
24
65
  name: pulumi.Input<string>;
25
66
  }
@@ -5,6 +5,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getOncallEscalationChainOutput = exports.getOncallEscalationChain = 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/escalation_chains/)
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 default = grafana.getOncallEscalationChain({
19
+ * name: "default",
20
+ * });
21
+ * ```
22
+ * <!--End PulumiCodeChooser -->
23
+ */
8
24
  function getOncallEscalationChain(args, opts) {
9
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
26
  return pulumi.runtime.invoke("grafana:index/getOncallEscalationChain:getOncallEscalationChain", {
@@ -12,6 +28,22 @@ function getOncallEscalationChain(args, opts) {
12
28
  }, opts);
13
29
  }
14
30
  exports.getOncallEscalationChain = getOncallEscalationChain;
31
+ /**
32
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/)
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 default = grafana.getOncallEscalationChain({
42
+ * name: "default",
43
+ * });
44
+ * ```
45
+ * <!--End PulumiCodeChooser -->
46
+ */
15
47
  function getOncallEscalationChainOutput(args, opts) {
16
48
  return pulumi.output(args).apply((a) => getOncallEscalationChain(a, opts));
17
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getOncallEscalationChain.js","sourceRoot":"","sources":["../getOncallEscalationChain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC;AAmBD,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
1
+ {"version":3,"file":"getOncallEscalationChain.js","sourceRoot":"","sources":["../getOncallEscalationChain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC;AAyBD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
@@ -1,22 +1,66 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/integrations/)
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 exampleIntegration = grafana.getOncallIntegration({
13
+ * id: "CEXAMPLEID123",
14
+ * });
15
+ * ```
16
+ * <!--End PulumiCodeChooser -->
17
+ */
2
18
  export declare function getOncallIntegration(args: GetOncallIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallIntegrationResult>;
3
19
  /**
4
20
  * A collection of arguments for invoking getOncallIntegration.
5
21
  */
6
22
  export interface GetOncallIntegrationArgs {
23
+ /**
24
+ * The integration ID.
25
+ */
7
26
  id: string;
8
27
  }
9
28
  /**
10
29
  * A collection of values returned by getOncallIntegration.
11
30
  */
12
31
  export interface GetOncallIntegrationResult {
32
+ /**
33
+ * The integration ID.
34
+ */
13
35
  readonly id: string;
36
+ /**
37
+ * The integration name.
38
+ */
14
39
  readonly name: string;
15
40
  }
41
+ /**
42
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/integrations/)
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
+ *
51
+ * const exampleIntegration = grafana.getOncallIntegration({
52
+ * id: "CEXAMPLEID123",
53
+ * });
54
+ * ```
55
+ * <!--End PulumiCodeChooser -->
56
+ */
16
57
  export declare function getOncallIntegrationOutput(args: GetOncallIntegrationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallIntegrationResult>;
17
58
  /**
18
59
  * A collection of arguments for invoking getOncallIntegration.
19
60
  */
20
61
  export interface GetOncallIntegrationOutputArgs {
62
+ /**
63
+ * The integration ID.
64
+ */
21
65
  id: pulumi.Input<string>;
22
66
  }
@@ -5,6 +5,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getOncallIntegrationOutput = exports.getOncallIntegration = 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/integrations/)
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 exampleIntegration = grafana.getOncallIntegration({
19
+ * id: "CEXAMPLEID123",
20
+ * });
21
+ * ```
22
+ * <!--End PulumiCodeChooser -->
23
+ */
8
24
  function getOncallIntegration(args, opts) {
9
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
26
  return pulumi.runtime.invoke("grafana:index/getOncallIntegration:getOncallIntegration", {
@@ -12,6 +28,22 @@ function getOncallIntegration(args, opts) {
12
28
  }, opts);
13
29
  }
14
30
  exports.getOncallIntegration = getOncallIntegration;
31
+ /**
32
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/integrations/)
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 exampleIntegration = grafana.getOncallIntegration({
42
+ * id: "CEXAMPLEID123",
43
+ * });
44
+ * ```
45
+ * <!--End PulumiCodeChooser -->
46
+ */
15
47
  function getOncallIntegrationOutput(args, opts) {
16
48
  return pulumi.output(args).apply((a) => getOncallIntegration(a, opts));
17
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getOncallIntegration.js","sourceRoot":"","sources":["../getOncallIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AAgBD,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
1
+ {"version":3,"file":"getOncallIntegration.js","sourceRoot":"","sources":["../getOncallIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AAyBD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
@@ -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/outgoing_webhooks/)
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 exampleOutgoingWebhook = grafana.getOncallOutgoingWebhook({
13
+ * name: "example_outgoing_webhook",
14
+ * });
15
+ * ```
16
+ * <!--End PulumiCodeChooser -->
17
+ */
2
18
  export declare function getOncallOutgoingWebhook(args: GetOncallOutgoingWebhookArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallOutgoingWebhookResult>;
3
19
  /**
4
20
  * A collection of arguments for invoking getOncallOutgoingWebhook.
5
21
  */
6
22
  export interface GetOncallOutgoingWebhookArgs {
23
+ /**
24
+ * The outgoing webhook name.
25
+ */
7
26
  name: string;
8
27
  }
9
28
  /**
@@ -14,12 +33,34 @@ export interface GetOncallOutgoingWebhookResult {
14
33
  * The provider-assigned unique ID for this managed resource.
15
34
  */
16
35
  readonly id: string;
36
+ /**
37
+ * The outgoing webhook name.
38
+ */
17
39
  readonly name: string;
18
40
  }
41
+ /**
42
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
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
+ *
51
+ * const exampleOutgoingWebhook = grafana.getOncallOutgoingWebhook({
52
+ * name: "example_outgoing_webhook",
53
+ * });
54
+ * ```
55
+ * <!--End PulumiCodeChooser -->
56
+ */
19
57
  export declare function getOncallOutgoingWebhookOutput(args: GetOncallOutgoingWebhookOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallOutgoingWebhookResult>;
20
58
  /**
21
59
  * A collection of arguments for invoking getOncallOutgoingWebhook.
22
60
  */
23
61
  export interface GetOncallOutgoingWebhookOutputArgs {
62
+ /**
63
+ * The outgoing webhook name.
64
+ */
24
65
  name: pulumi.Input<string>;
25
66
  }
@@ -5,6 +5,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getOncallOutgoingWebhookOutput = exports.getOncallOutgoingWebhook = 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/outgoing_webhooks/)
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 exampleOutgoingWebhook = grafana.getOncallOutgoingWebhook({
19
+ * name: "example_outgoing_webhook",
20
+ * });
21
+ * ```
22
+ * <!--End PulumiCodeChooser -->
23
+ */
8
24
  function getOncallOutgoingWebhook(args, opts) {
9
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
26
  return pulumi.runtime.invoke("grafana:index/getOncallOutgoingWebhook:getOncallOutgoingWebhook", {
@@ -12,6 +28,22 @@ function getOncallOutgoingWebhook(args, opts) {
12
28
  }, opts);
13
29
  }
14
30
  exports.getOncallOutgoingWebhook = getOncallOutgoingWebhook;
31
+ /**
32
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
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 exampleOutgoingWebhook = grafana.getOncallOutgoingWebhook({
42
+ * name: "example_outgoing_webhook",
43
+ * });
44
+ * ```
45
+ * <!--End PulumiCodeChooser -->
46
+ */
15
47
  function getOncallOutgoingWebhookOutput(args, opts) {
16
48
  return pulumi.output(args).apply((a) => getOncallOutgoingWebhook(a, opts));
17
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getOncallOutgoingWebhook.js","sourceRoot":"","sources":["../getOncallOutgoingWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC;AAmBD,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
1
+ {"version":3,"file":"getOncallOutgoingWebhook.js","sourceRoot":"","sources":["../getOncallOutgoingWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC;AAyBD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
@@ -1,9 +1,29 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * * [Official documentation](https://grafana.com/docs/oncall/latest/manage/on-call-schedules/)
4
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)
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
+ *
13
+ * const schedule = grafana.getOncallSchedule({
14
+ * name: "example_schedule",
15
+ * });
16
+ * ```
17
+ * <!--End PulumiCodeChooser -->
18
+ */
2
19
  export declare function getOncallSchedule(args: GetOncallScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallScheduleResult>;
3
20
  /**
4
21
  * A collection of arguments for invoking getOncallSchedule.
5
22
  */
6
23
  export interface GetOncallScheduleArgs {
24
+ /**
25
+ * The schedule name.
26
+ */
7
27
  name: string;
8
28
  }
9
29
  /**
@@ -14,13 +34,39 @@ export interface GetOncallScheduleResult {
14
34
  * The provider-assigned unique ID for this managed resource.
15
35
  */
16
36
  readonly id: string;
37
+ /**
38
+ * The schedule name.
39
+ */
17
40
  readonly name: string;
41
+ /**
42
+ * The schedule type.
43
+ */
18
44
  readonly type: string;
19
45
  }
46
+ /**
47
+ * * [Official documentation](https://grafana.com/docs/oncall/latest/manage/on-call-schedules/)
48
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)
49
+ *
50
+ * ## Example Usage
51
+ *
52
+ * <!--Start PulumiCodeChooser -->
53
+ * ```typescript
54
+ * import * as pulumi from "@pulumi/pulumi";
55
+ * import * as grafana from "@pulumi/grafana";
56
+ *
57
+ * const schedule = grafana.getOncallSchedule({
58
+ * name: "example_schedule",
59
+ * });
60
+ * ```
61
+ * <!--End PulumiCodeChooser -->
62
+ */
20
63
  export declare function getOncallScheduleOutput(args: GetOncallScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallScheduleResult>;
21
64
  /**
22
65
  * A collection of arguments for invoking getOncallSchedule.
23
66
  */
24
67
  export interface GetOncallScheduleOutputArgs {
68
+ /**
69
+ * The schedule name.
70
+ */
25
71
  name: pulumi.Input<string>;
26
72
  }
@@ -5,6 +5,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getOncallScheduleOutput = exports.getOncallSchedule = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * * [Official documentation](https://grafana.com/docs/oncall/latest/manage/on-call-schedules/)
10
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)
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
+ *
19
+ * const schedule = grafana.getOncallSchedule({
20
+ * name: "example_schedule",
21
+ * });
22
+ * ```
23
+ * <!--End PulumiCodeChooser -->
24
+ */
8
25
  function getOncallSchedule(args, opts) {
9
26
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
27
  return pulumi.runtime.invoke("grafana:index/getOncallSchedule:getOncallSchedule", {
@@ -12,6 +29,23 @@ function getOncallSchedule(args, opts) {
12
29
  }, opts);
13
30
  }
14
31
  exports.getOncallSchedule = getOncallSchedule;
32
+ /**
33
+ * * [Official documentation](https://grafana.com/docs/oncall/latest/manage/on-call-schedules/)
34
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * <!--Start PulumiCodeChooser -->
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as grafana from "@pulumi/grafana";
42
+ *
43
+ * const schedule = grafana.getOncallSchedule({
44
+ * name: "example_schedule",
45
+ * });
46
+ * ```
47
+ * <!--End PulumiCodeChooser -->
48
+ */
15
49
  function getOncallScheduleOutput(args, opts) {
16
50
  return pulumi.output(args).apply((a) => getOncallSchedule(a, opts));
17
51
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getOncallSchedule.js","sourceRoot":"","sources":["../getOncallSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AAoBD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
1
+ {"version":3,"file":"getOncallSchedule.js","sourceRoot":"","sources":["../getOncallSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AA6BD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
@@ -1,9 +1,26 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * <!--Start PulumiCodeChooser -->
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as grafana from "@pulumi/grafana";
9
+ *
10
+ * const exampleTeam = grafana.getOncallTeam({
11
+ * name: "example_team",
12
+ * });
13
+ * ```
14
+ * <!--End PulumiCodeChooser -->
15
+ */
2
16
  export declare function getOncallTeam(args: GetOncallTeamArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallTeamResult>;
3
17
  /**
4
18
  * A collection of arguments for invoking getOncallTeam.
5
19
  */
6
20
  export interface GetOncallTeamArgs {
21
+ /**
22
+ * The team name.
23
+ */
7
24
  name: string;
8
25
  }
9
26
  /**
@@ -16,12 +33,32 @@ export interface GetOncallTeamResult {
16
33
  * The provider-assigned unique ID for this managed resource.
17
34
  */
18
35
  readonly id: string;
36
+ /**
37
+ * The team name.
38
+ */
19
39
  readonly name: string;
20
40
  }
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
+ *
49
+ * const exampleTeam = grafana.getOncallTeam({
50
+ * name: "example_team",
51
+ * });
52
+ * ```
53
+ * <!--End PulumiCodeChooser -->
54
+ */
21
55
  export declare function getOncallTeamOutput(args: GetOncallTeamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallTeamResult>;
22
56
  /**
23
57
  * A collection of arguments for invoking getOncallTeam.
24
58
  */
25
59
  export interface GetOncallTeamOutputArgs {
60
+ /**
61
+ * The team name.
62
+ */
26
63
  name: pulumi.Input<string>;
27
64
  }
package/getOncallTeam.js CHANGED
@@ -5,6 +5,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getOncallTeamOutput = exports.getOncallTeam = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * <!--Start PulumiCodeChooser -->
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as grafana from "@pulumi/grafana";
15
+ *
16
+ * const exampleTeam = grafana.getOncallTeam({
17
+ * name: "example_team",
18
+ * });
19
+ * ```
20
+ * <!--End PulumiCodeChooser -->
21
+ */
8
22
  function getOncallTeam(args, opts) {
9
23
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
24
  return pulumi.runtime.invoke("grafana:index/getOncallTeam:getOncallTeam", {
@@ -12,6 +26,20 @@ function getOncallTeam(args, opts) {
12
26
  }, opts);
13
27
  }
14
28
  exports.getOncallTeam = getOncallTeam;
29
+ /**
30
+ * ## Example Usage
31
+ *
32
+ * <!--Start PulumiCodeChooser -->
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as grafana from "@pulumi/grafana";
36
+ *
37
+ * const exampleTeam = grafana.getOncallTeam({
38
+ * name: "example_team",
39
+ * });
40
+ * ```
41
+ * <!--End PulumiCodeChooser -->
42
+ */
15
43
  function getOncallTeamOutput(args, opts) {
16
44
  return pulumi.output(args).apply((a) => getOncallTeam(a, opts));
17
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getOncallTeam.js","sourceRoot":"","sources":["../getOncallTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,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,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAqBD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,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
+ {"version":3,"file":"getOncallTeam.js","sourceRoot":"","sources":["../getOncallTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,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,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AA2BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,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,27 +1,74 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/users/)
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 alex = grafana.getOncallUser({
13
+ * username: "alex",
14
+ * });
15
+ * ```
16
+ * <!--End PulumiCodeChooser -->
17
+ */
2
18
  export declare function getOncallUser(args: GetOncallUserArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallUserResult>;
3
19
  /**
4
20
  * A collection of arguments for invoking getOncallUser.
5
21
  */
6
22
  export interface GetOncallUserArgs {
23
+ /**
24
+ * The username of the user.
25
+ */
7
26
  username: string;
8
27
  }
9
28
  /**
10
29
  * A collection of values returned by getOncallUser.
11
30
  */
12
31
  export interface GetOncallUserResult {
32
+ /**
33
+ * The email of the user.
34
+ */
13
35
  readonly email: string;
14
36
  /**
15
37
  * The provider-assigned unique ID for this managed resource.
16
38
  */
17
39
  readonly id: string;
40
+ /**
41
+ * The role of the user.
42
+ */
18
43
  readonly role: string;
44
+ /**
45
+ * The username of the user.
46
+ */
19
47
  readonly username: string;
20
48
  }
49
+ /**
50
+ * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/users/)
51
+ *
52
+ * ## Example Usage
53
+ *
54
+ * <!--Start PulumiCodeChooser -->
55
+ * ```typescript
56
+ * import * as pulumi from "@pulumi/pulumi";
57
+ * import * as grafana from "@pulumi/grafana";
58
+ *
59
+ * const alex = grafana.getOncallUser({
60
+ * username: "alex",
61
+ * });
62
+ * ```
63
+ * <!--End PulumiCodeChooser -->
64
+ */
21
65
  export declare function getOncallUserOutput(args: GetOncallUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallUserResult>;
22
66
  /**
23
67
  * A collection of arguments for invoking getOncallUser.
24
68
  */
25
69
  export interface GetOncallUserOutputArgs {
70
+ /**
71
+ * The username of the user.
72
+ */
26
73
  username: pulumi.Input<string>;
27
74
  }