@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/getRole.js CHANGED
@@ -5,6 +5,47 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getRoleOutput = exports.getRole = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * **Note:** This resource is available only with Grafana Enterprise 8.+.
10
+ *
11
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)
12
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/access_control/)
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * <!--Start PulumiCodeChooser -->
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as grafana from "@pulumi/grafana";
20
+ * import * as grafana from "@pulumiverse/grafana";
21
+ *
22
+ * const test = new grafana.Role("test", {
23
+ * description: "test-role description",
24
+ * uid: "test-ds-role-uid",
25
+ * version: 1,
26
+ * global: true,
27
+ * hidden: false,
28
+ * permissions: [
29
+ * {
30
+ * action: "org.users:add",
31
+ * scope: "users:*",
32
+ * },
33
+ * {
34
+ * action: "org.users:write",
35
+ * scope: "users:*",
36
+ * },
37
+ * {
38
+ * action: "org.users:read",
39
+ * scope: "users:*",
40
+ * },
41
+ * ],
42
+ * });
43
+ * const fromName = grafana.getRoleOutput({
44
+ * name: test.name,
45
+ * });
46
+ * ```
47
+ * <!--End PulumiCodeChooser -->
48
+ */
8
49
  function getRole(args, opts) {
9
50
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
51
  return pulumi.runtime.invoke("grafana:index/getRole:getRole", {
@@ -12,6 +53,47 @@ function getRole(args, opts) {
12
53
  }, opts);
13
54
  }
14
55
  exports.getRole = getRole;
56
+ /**
57
+ * **Note:** This resource is available only with Grafana Enterprise 8.+.
58
+ *
59
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)
60
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/access_control/)
61
+ *
62
+ * ## Example Usage
63
+ *
64
+ * <!--Start PulumiCodeChooser -->
65
+ * ```typescript
66
+ * import * as pulumi from "@pulumi/pulumi";
67
+ * import * as grafana from "@pulumi/grafana";
68
+ * import * as grafana from "@pulumiverse/grafana";
69
+ *
70
+ * const test = new grafana.Role("test", {
71
+ * description: "test-role description",
72
+ * uid: "test-ds-role-uid",
73
+ * version: 1,
74
+ * global: true,
75
+ * hidden: false,
76
+ * permissions: [
77
+ * {
78
+ * action: "org.users:add",
79
+ * scope: "users:*",
80
+ * },
81
+ * {
82
+ * action: "org.users:write",
83
+ * scope: "users:*",
84
+ * },
85
+ * {
86
+ * action: "org.users:read",
87
+ * scope: "users:*",
88
+ * },
89
+ * ],
90
+ * });
91
+ * const fromName = grafana.getRoleOutput({
92
+ * name: test.name,
93
+ * });
94
+ * ```
95
+ * <!--End PulumiCodeChooser -->
96
+ */
15
97
  function getRoleOutput(args, opts) {
16
98
  return pulumi.output(args).apply((a) => getRole(a, opts));
17
99
  }
package/getRole.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AA4BD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AA6DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
@@ -1,10 +1,20 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)
4
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)
5
+ */
2
6
  export declare function getServiceAccount(args: GetServiceAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceAccountResult>;
3
7
  /**
4
8
  * A collection of arguments for invoking getServiceAccount.
5
9
  */
6
10
  export interface GetServiceAccountArgs {
11
+ /**
12
+ * The name of the Service Account.
13
+ */
7
14
  name: string;
15
+ /**
16
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
17
+ */
8
18
  orgId?: string;
9
19
  }
10
20
  /**
@@ -15,16 +25,38 @@ export interface GetServiceAccountResult {
15
25
  * The provider-assigned unique ID for this managed resource.
16
26
  */
17
27
  readonly id: string;
28
+ /**
29
+ * The disabled status for the service account.
30
+ */
18
31
  readonly isDisabled: boolean;
32
+ /**
33
+ * The name of the Service Account.
34
+ */
19
35
  readonly name: string;
36
+ /**
37
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
38
+ */
20
39
  readonly orgId?: string;
40
+ /**
41
+ * The basic role of the service account in the organization.
42
+ */
21
43
  readonly role: string;
22
44
  }
45
+ /**
46
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)
47
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)
48
+ */
23
49
  export declare function getServiceAccountOutput(args: GetServiceAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceAccountResult>;
24
50
  /**
25
51
  * A collection of arguments for invoking getServiceAccount.
26
52
  */
27
53
  export interface GetServiceAccountOutputArgs {
54
+ /**
55
+ * The name of the Service Account.
56
+ */
28
57
  name: pulumi.Input<string>;
58
+ /**
59
+ * The Organization ID. If not set, the Org ID defined in the provider block will be used.
60
+ */
29
61
  orgId?: pulumi.Input<string>;
30
62
  }
@@ -5,6 +5,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getServiceAccountOutput = exports.getServiceAccount = 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/service-accounts/)
10
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)
11
+ */
8
12
  function getServiceAccount(args, opts) {
9
13
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
14
  return pulumi.runtime.invoke("grafana:index/getServiceAccount:getServiceAccount", {
@@ -13,6 +17,10 @@ function getServiceAccount(args, opts) {
13
17
  }, opts);
14
18
  }
15
19
  exports.getServiceAccount = getServiceAccount;
20
+ /**
21
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)
22
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)
23
+ */
16
24
  function getServiceAccountOutput(args, opts) {
17
25
  return pulumi.output(args).apply((a) => getServiceAccount(a, opts));
18
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getServiceAccount.js","sourceRoot":"","sources":["../getServiceAccount.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;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAuBD,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":"getServiceAccount.js","sourceRoot":"","sources":["../getServiceAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;GAGG;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;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAyCD;;;GAGG;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"}
package/getSlos.d.ts CHANGED
@@ -1,5 +1,12 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
+ /**
4
+ * Datasource for retrieving all SLOs.
5
+ *
6
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/)
7
+ * * [API documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/)
8
+ * * [Additional Information On Alerting Rule Annotations and Labels](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/)
9
+ */
3
10
  export declare function getSlos(opts?: pulumi.InvokeOptions): Promise<GetSlosResult>;
4
11
  /**
5
12
  * A collection of values returned by getSlos.
@@ -9,6 +16,16 @@ export interface GetSlosResult {
9
16
  * The provider-assigned unique ID for this managed resource.
10
17
  */
11
18
  readonly id: string;
19
+ /**
20
+ * Returns a list of all SLOs"
21
+ */
12
22
  readonly slos: outputs.GetSlosSlo[];
13
23
  }
24
+ /**
25
+ * Datasource for retrieving all SLOs.
26
+ *
27
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/)
28
+ * * [API documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/)
29
+ * * [Additional Information On Alerting Rule Annotations and Labels](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/)
30
+ */
14
31
  export declare function getSlosOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetSlosResult>;
package/getSlos.js CHANGED
@@ -5,11 +5,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getSlosOutput = exports.getSlos = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * Datasource for retrieving all SLOs.
10
+ *
11
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/)
12
+ * * [API documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/)
13
+ * * [Additional Information On Alerting Rule Annotations and Labels](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/)
14
+ */
8
15
  function getSlos(opts) {
9
16
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
17
  return pulumi.runtime.invoke("grafana:index/getSlos:getSlos", {}, opts);
11
18
  }
12
19
  exports.getSlos = getSlos;
20
+ /**
21
+ * Datasource for retrieving all SLOs.
22
+ *
23
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/)
24
+ * * [API documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/)
25
+ * * [Additional Information On Alerting Rule Annotations and Labels](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/)
26
+ */
13
27
  function getSlosOutput(opts) {
14
28
  return pulumi.output(getSlos(opts));
15
29
  }
package/getSlos.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getSlos.js","sourceRoot":"","sources":["../getSlos.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,OAAO,CAAC,IAA2B;IAE/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE,EAC7D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AAYD,SAAgB,aAAa,CAAC,IAA2B;IACrD,OAAO,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAA;AACvC,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getSlos.js","sourceRoot":"","sources":["../getSlos.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,OAAO,CAAC,IAA2B;IAE/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE,EAC7D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AAeD;;;;;;GAMG;AACH,SAAgB,aAAa,CAAC,IAA2B;IACrD,OAAO,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAA;AACvC,CAAC;AAFD,sCAEC"}
@@ -1,30 +1,92 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data source for retrieving a single probe by name.
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 atlanta = grafana.getSyntheticMonitoringProbe({
13
+ * name: "Atlanta",
14
+ * });
15
+ * ```
16
+ * <!--End PulumiCodeChooser -->
17
+ */
2
18
  export declare function getSyntheticMonitoringProbe(args: GetSyntheticMonitoringProbeArgs, opts?: pulumi.InvokeOptions): Promise<GetSyntheticMonitoringProbeResult>;
3
19
  /**
4
20
  * A collection of arguments for invoking getSyntheticMonitoringProbe.
5
21
  */
6
22
  export interface GetSyntheticMonitoringProbeArgs {
23
+ /**
24
+ * Name of the probe.
25
+ */
7
26
  name: string;
8
27
  }
9
28
  /**
10
29
  * A collection of values returned by getSyntheticMonitoringProbe.
11
30
  */
12
31
  export interface GetSyntheticMonitoringProbeResult {
32
+ /**
33
+ * The ID of the probe.
34
+ */
13
35
  readonly id: string;
36
+ /**
37
+ * Custom labels to be included with collected metrics and logs.
38
+ */
14
39
  readonly labels: {
15
40
  [key: string]: string;
16
41
  };
42
+ /**
43
+ * Latitude coordinates.
44
+ */
17
45
  readonly latitude: number;
46
+ /**
47
+ * Longitude coordinates.
48
+ */
18
49
  readonly longitude: number;
50
+ /**
51
+ * Name of the probe.
52
+ */
19
53
  readonly name: string;
54
+ /**
55
+ * Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to `true`.
56
+ */
20
57
  readonly public: boolean;
58
+ /**
59
+ * Region of the probe.
60
+ */
21
61
  readonly region: string;
62
+ /**
63
+ * The tenant ID of the probe.
64
+ */
22
65
  readonly tenantId: number;
23
66
  }
67
+ /**
68
+ * Data source for retrieving a single probe by name.
69
+ *
70
+ * ## Example Usage
71
+ *
72
+ * <!--Start PulumiCodeChooser -->
73
+ * ```typescript
74
+ * import * as pulumi from "@pulumi/pulumi";
75
+ * import * as grafana from "@pulumi/grafana";
76
+ *
77
+ * const atlanta = grafana.getSyntheticMonitoringProbe({
78
+ * name: "Atlanta",
79
+ * });
80
+ * ```
81
+ * <!--End PulumiCodeChooser -->
82
+ */
24
83
  export declare function getSyntheticMonitoringProbeOutput(args: GetSyntheticMonitoringProbeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSyntheticMonitoringProbeResult>;
25
84
  /**
26
85
  * A collection of arguments for invoking getSyntheticMonitoringProbe.
27
86
  */
28
87
  export interface GetSyntheticMonitoringProbeOutputArgs {
88
+ /**
89
+ * Name of the probe.
90
+ */
29
91
  name: pulumi.Input<string>;
30
92
  }
@@ -5,6 +5,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getSyntheticMonitoringProbeOutput = exports.getSyntheticMonitoringProbe = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * Data source for retrieving a single probe by name.
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 atlanta = grafana.getSyntheticMonitoringProbe({
19
+ * name: "Atlanta",
20
+ * });
21
+ * ```
22
+ * <!--End PulumiCodeChooser -->
23
+ */
8
24
  function getSyntheticMonitoringProbe(args, opts) {
9
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
26
  return pulumi.runtime.invoke("grafana:index/getSyntheticMonitoringProbe:getSyntheticMonitoringProbe", {
@@ -12,6 +28,22 @@ function getSyntheticMonitoringProbe(args, opts) {
12
28
  }, opts);
13
29
  }
14
30
  exports.getSyntheticMonitoringProbe = getSyntheticMonitoringProbe;
31
+ /**
32
+ * Data source for retrieving a single probe by name.
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 atlanta = grafana.getSyntheticMonitoringProbe({
42
+ * name: "Atlanta",
43
+ * });
44
+ * ```
45
+ * <!--End PulumiCodeChooser -->
46
+ */
15
47
  function getSyntheticMonitoringProbeOutput(args, opts) {
16
48
  return pulumi.output(args).apply((a) => getSyntheticMonitoringProbe(a, opts));
17
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getSyntheticMonitoringProbe.js","sourceRoot":"","sources":["../getSyntheticMonitoringProbe.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAE1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC;AAsBD,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,2BAA2B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtF,CAAC;AAFD,8EAEC"}
1
+ {"version":3,"file":"getSyntheticMonitoringProbe.js","sourceRoot":"","sources":["../getSyntheticMonitoringProbe.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAE1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC;AAiDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,2BAA2B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtF,CAAC;AAFD,8EAEC"}
@@ -1,28 +1,68 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data source for retrieving all probes.
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 main = grafana.getSyntheticMonitoringProbes({});
13
+ * ```
14
+ * <!--End PulumiCodeChooser -->
15
+ */
2
16
  export declare function getSyntheticMonitoringProbes(args?: GetSyntheticMonitoringProbesArgs, opts?: pulumi.InvokeOptions): Promise<GetSyntheticMonitoringProbesResult>;
3
17
  /**
4
18
  * A collection of arguments for invoking getSyntheticMonitoringProbes.
5
19
  */
6
20
  export interface GetSyntheticMonitoringProbesArgs {
21
+ /**
22
+ * If true, only probes that are not deprecated will be returned. Defaults to `true`.
23
+ */
7
24
  filterDeprecated?: boolean;
8
25
  }
9
26
  /**
10
27
  * A collection of values returned by getSyntheticMonitoringProbes.
11
28
  */
12
29
  export interface GetSyntheticMonitoringProbesResult {
30
+ /**
31
+ * If true, only probes that are not deprecated will be returned. Defaults to `true`.
32
+ */
13
33
  readonly filterDeprecated?: boolean;
14
34
  /**
15
35
  * The provider-assigned unique ID for this managed resource.
16
36
  */
17
37
  readonly id: string;
38
+ /**
39
+ * Map of probes with their names as keys and IDs as values.
40
+ */
18
41
  readonly probes: {
19
42
  [key: string]: number;
20
43
  };
21
44
  }
45
+ /**
46
+ * Data source for retrieving all probes.
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 main = grafana.getSyntheticMonitoringProbes({});
56
+ * ```
57
+ * <!--End PulumiCodeChooser -->
58
+ */
22
59
  export declare function getSyntheticMonitoringProbesOutput(args?: GetSyntheticMonitoringProbesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSyntheticMonitoringProbesResult>;
23
60
  /**
24
61
  * A collection of arguments for invoking getSyntheticMonitoringProbes.
25
62
  */
26
63
  export interface GetSyntheticMonitoringProbesOutputArgs {
64
+ /**
65
+ * If true, only probes that are not deprecated will be returned. Defaults to `true`.
66
+ */
27
67
  filterDeprecated?: pulumi.Input<boolean>;
28
68
  }
@@ -5,6 +5,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getSyntheticMonitoringProbesOutput = exports.getSyntheticMonitoringProbes = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * Data source for retrieving all probes.
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 main = grafana.getSyntheticMonitoringProbes({});
19
+ * ```
20
+ * <!--End PulumiCodeChooser -->
21
+ */
8
22
  function getSyntheticMonitoringProbes(args, opts) {
9
23
  args = args || {};
10
24
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -13,6 +27,20 @@ function getSyntheticMonitoringProbes(args, opts) {
13
27
  }, opts);
14
28
  }
15
29
  exports.getSyntheticMonitoringProbes = getSyntheticMonitoringProbes;
30
+ /**
31
+ * Data source for retrieving all probes.
32
+ *
33
+ * ## Example Usage
34
+ *
35
+ * <!--Start PulumiCodeChooser -->
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as grafana from "@pulumi/grafana";
39
+ *
40
+ * const main = grafana.getSyntheticMonitoringProbes({});
41
+ * ```
42
+ * <!--End PulumiCodeChooser -->
43
+ */
16
44
  function getSyntheticMonitoringProbesOutput(args, opts) {
17
45
  return pulumi.output(args).apply((a) => getSyntheticMonitoringProbes(a, opts));
18
46
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getSyntheticMonitoringProbes.js","sourceRoot":"","sources":["../getSyntheticMonitoringProbes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,4BAA4B,CAAC,IAAuC,EAAE,IAA2B;IAC7G,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,yEAAyE,EAAE;QACpG,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oEAOC;AAoBD,SAAgB,kCAAkC,CAAC,IAA6C,EAAE,IAA2B;IACzH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}
1
+ {"version":3,"file":"getSyntheticMonitoringProbes.js","sourceRoot":"","sources":["../getSyntheticMonitoringProbes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,4BAA4B,CAAC,IAAuC,EAAE,IAA2B;IAC7G,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,yEAAyE,EAAE;QACpG,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oEAOC;AA6BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,kCAAkC,CAAC,IAA6C,EAAE,IAA2B;IACzH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}
package/getTeam.d.ts CHANGED
@@ -1,5 +1,30 @@
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/administration/team-management/)
5
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team/)
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * <!--Start PulumiCodeChooser -->
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as grafana from "@pulumi/grafana";
13
+ * import * as grafana from "@pulumiverse/grafana";
14
+ *
15
+ * const test = new grafana.Team("test", {
16
+ * email: "test-team-email@test.com",
17
+ * preferences: {
18
+ * theme: "dark",
19
+ * timezone: "utc",
20
+ * },
21
+ * });
22
+ * const fromName = grafana.getTeamOutput({
23
+ * name: test.name,
24
+ * });
25
+ * ```
26
+ * <!--End PulumiCodeChooser -->
27
+ */
3
28
  export declare function getTeam(args: GetTeamArgs, opts?: pulumi.InvokeOptions): Promise<GetTeamResult>;
4
29
  /**
5
30
  * A collection of arguments for invoking getTeam.
@@ -26,6 +51,31 @@ export interface GetTeamResult {
26
51
  readonly teamId: number;
27
52
  readonly teamSyncs: outputs.GetTeamTeamSync[];
28
53
  }
54
+ /**
55
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/administration/team-management/)
56
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team/)
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 test = new grafana.Team("test", {
67
+ * email: "test-team-email@test.com",
68
+ * preferences: {
69
+ * theme: "dark",
70
+ * timezone: "utc",
71
+ * },
72
+ * });
73
+ * const fromName = grafana.getTeamOutput({
74
+ * name: test.name,
75
+ * });
76
+ * ```
77
+ * <!--End PulumiCodeChooser -->
78
+ */
29
79
  export declare function getTeamOutput(args: GetTeamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTeamResult>;
30
80
  /**
31
81
  * A collection of arguments for invoking getTeam.
package/getTeam.js CHANGED
@@ -5,6 +5,31 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getTeamOutput = exports.getTeam = 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/team-management/)
10
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team/)
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.Team("test", {
21
+ * email: "test-team-email@test.com",
22
+ * preferences: {
23
+ * theme: "dark",
24
+ * timezone: "utc",
25
+ * },
26
+ * });
27
+ * const fromName = grafana.getTeamOutput({
28
+ * name: test.name,
29
+ * });
30
+ * ```
31
+ * <!--End PulumiCodeChooser -->
32
+ */
8
33
  function getTeam(args, opts) {
9
34
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
35
  return pulumi.runtime.invoke("grafana:index/getTeam:getTeam", {
@@ -14,6 +39,31 @@ function getTeam(args, opts) {
14
39
  }, opts);
15
40
  }
16
41
  exports.getTeam = getTeam;
42
+ /**
43
+ * * [Official documentation](https://grafana.com/docs/grafana/latest/administration/team-management/)
44
+ * * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team/)
45
+ *
46
+ * ## Example Usage
47
+ *
48
+ * <!--Start PulumiCodeChooser -->
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as grafana from "@pulumi/grafana";
52
+ * import * as grafana from "@pulumiverse/grafana";
53
+ *
54
+ * const test = new grafana.Team("test", {
55
+ * email: "test-team-email@test.com",
56
+ * preferences: {
57
+ * theme: "dark",
58
+ * timezone: "utc",
59
+ * },
60
+ * });
61
+ * const fromName = grafana.getTeamOutput({
62
+ * name: test.name,
63
+ * });
64
+ * ```
65
+ * <!--End PulumiCodeChooser -->
66
+ */
17
67
  function getTeamOutput(args, opts) {
18
68
  return pulumi.output(args).apply((a) => getTeam(a, opts));
19
69
  }
package/getTeam.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getTeam.js","sourceRoot":"","sources":["../getTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AA4BD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getTeam.js","sourceRoot":"","sources":["../getTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AA4BD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}