@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,6 +1,419 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
+ /**
5
+ * Synthetic Monitoring checks are tests that run on selected probes at defined
6
+ * intervals and report metrics and logs back to your Grafana Cloud account. The
7
+ * target for checks can be a domain name, a server, or a website, depending on
8
+ * what information you would like to gather about your endpoint. You can define
9
+ * multiple checks for a single endpoint to check different capabilities.
10
+ *
11
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/)
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ### DNS Basic
16
+ *
17
+ * <!--Start PulumiCodeChooser -->
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as grafana from "@pulumi/grafana";
21
+ * import * as grafana from "@pulumiverse/grafana";
22
+ *
23
+ * const main = grafana.getSyntheticMonitoringProbes({});
24
+ * const dns = new grafana.SyntheticMonitoringCheck("dns", {
25
+ * job: "DNS Defaults",
26
+ * target: "grafana.com",
27
+ * enabled: false,
28
+ * probes: [main.then(main => main.probes?.Atlanta)],
29
+ * labels: {
30
+ * foo: "bar",
31
+ * },
32
+ * settings: {
33
+ * dns: {},
34
+ * },
35
+ * });
36
+ * ```
37
+ * <!--End PulumiCodeChooser -->
38
+ *
39
+ * ### DNS Complex
40
+ *
41
+ * <!--Start PulumiCodeChooser -->
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as grafana from "@pulumi/grafana";
45
+ * import * as grafana from "@pulumiverse/grafana";
46
+ *
47
+ * const main = grafana.getSyntheticMonitoringProbes({});
48
+ * const dns = new grafana.SyntheticMonitoringCheck("dns", {
49
+ * job: "DNS Updated",
50
+ * target: "grafana.net",
51
+ * enabled: false,
52
+ * probes: [
53
+ * main.then(main => main.probes?.Frankfurt),
54
+ * main.then(main => main.probes?.London),
55
+ * ],
56
+ * labels: {
57
+ * foo: "baz",
58
+ * },
59
+ * settings: {
60
+ * dns: {
61
+ * ipVersion: "Any",
62
+ * server: "8.8.4.4",
63
+ * port: 8600,
64
+ * recordType: "CNAME",
65
+ * protocol: "TCP",
66
+ * validRCodes: [
67
+ * "NOERROR",
68
+ * "NOTAUTH",
69
+ * ],
70
+ * validateAnswerRrs: {
71
+ * failIfMatchesRegexps: [".+-bad-stuff*"],
72
+ * failIfNotMatchesRegexps: [".+-good-stuff*"],
73
+ * },
74
+ * validateAuthorityRrs: {
75
+ * failIfMatchesRegexps: [".+-bad-stuff*"],
76
+ * failIfNotMatchesRegexps: [".+-good-stuff*"],
77
+ * },
78
+ * validateAdditionalRrs: [{
79
+ * failIfMatchesRegexps: [".+-bad-stuff*"],
80
+ * failIfNotMatchesRegexps: [".+-good-stuff*"],
81
+ * }],
82
+ * },
83
+ * },
84
+ * });
85
+ * ```
86
+ * <!--End PulumiCodeChooser -->
87
+ *
88
+ * ### HTTP Basic
89
+ *
90
+ * <!--Start PulumiCodeChooser -->
91
+ * ```typescript
92
+ * import * as pulumi from "@pulumi/pulumi";
93
+ * import * as grafana from "@pulumi/grafana";
94
+ * import * as grafana from "@pulumiverse/grafana";
95
+ *
96
+ * const main = grafana.getSyntheticMonitoringProbes({});
97
+ * const http = new grafana.SyntheticMonitoringCheck("http", {
98
+ * job: "HTTP Defaults",
99
+ * target: "https://grafana.com",
100
+ * enabled: false,
101
+ * probes: [main.then(main => main.probes?.Atlanta)],
102
+ * labels: {
103
+ * foo: "bar",
104
+ * },
105
+ * settings: {
106
+ * http: {},
107
+ * },
108
+ * });
109
+ * ```
110
+ * <!--End PulumiCodeChooser -->
111
+ *
112
+ * ### HTTP Complex
113
+ *
114
+ * <!--Start PulumiCodeChooser -->
115
+ * ```typescript
116
+ * import * as pulumi from "@pulumi/pulumi";
117
+ * import * as grafana from "@pulumi/grafana";
118
+ * import * as grafana from "@pulumiverse/grafana";
119
+ *
120
+ * const main = grafana.getSyntheticMonitoringProbes({});
121
+ * const http = new grafana.SyntheticMonitoringCheck("http", {
122
+ * job: "HTTP Defaults",
123
+ * target: "https://grafana.org",
124
+ * enabled: false,
125
+ * probes: [
126
+ * main.then(main => main.probes?.Bangalore),
127
+ * main.then(main => main.probes?.Mumbai),
128
+ * ],
129
+ * labels: {
130
+ * foo: "bar",
131
+ * },
132
+ * settings: {
133
+ * http: {
134
+ * ipVersion: "V6",
135
+ * method: "TRACE",
136
+ * body: "and spirit",
137
+ * noFollowRedirects: true,
138
+ * bearerToken: "asdfjkl;",
139
+ * proxyUrl: "https://almost-there",
140
+ * failIfSsl: true,
141
+ * failIfNotSsl: true,
142
+ * cacheBustingQueryParamName: "pineapple",
143
+ * tlsConfig: {
144
+ * serverName: "grafana.org",
145
+ * clientCert: `-----BEGIN CERTIFICATE-----
146
+ * MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
147
+ * RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOT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+ * tqufP5kJx9CIeJXPx3QQsk1XfEtxtUvuw4ZaZkQnNUqvGl7V+AZpur5Eqfv3zBi8
164
+ * QxxL7qGkARNssNWH2Ju+tqpM/UZRnjlFrDR4SXUgT0coTduBalUY6qHkciHmRpiP
165
+ * tf3SgpDeiCSOV2iVFGdaR1mz3muWoAYWFstcWN3a3HjjVugIi23yLN8Gv8CNeoH4
166
+ * prulinFCLrFgAh8SLAF8mOAZanT06LH8jOIFYrdUxH+ZeRBR0rLoFjUF+JB7UKD9
167
+ * 5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
168
+ * l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
169
+ * 7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
170
+ * vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
171
+ * -----END CERTIFICATE-----
172
+ * `,
173
+ * },
174
+ * headers: ["Content-Type: multipart/form-data; boundary=something"],
175
+ * basicAuth: {
176
+ * username: "open",
177
+ * password: "sesame",
178
+ * },
179
+ * validStatusCodes: [
180
+ * 200,
181
+ * 201,
182
+ * ],
183
+ * validHttpVersions: [
184
+ * "HTTP/1.0",
185
+ * "HTTP/1.1",
186
+ * "HTTP/2.0",
187
+ * ],
188
+ * failIfBodyMatchesRegexps: [".*bad stuff.*"],
189
+ * failIfBodyNotMatchesRegexps: [".*good stuff.*"],
190
+ * failIfHeaderMatchesRegexps: [{
191
+ * header: "Content-Type",
192
+ * regexp: "application/soap*",
193
+ * allowMissing: true,
194
+ * }],
195
+ * },
196
+ * },
197
+ * });
198
+ * ```
199
+ * <!--End PulumiCodeChooser -->
200
+ *
201
+ * ### Ping Basic
202
+ *
203
+ * <!--Start PulumiCodeChooser -->
204
+ * ```typescript
205
+ * import * as pulumi from "@pulumi/pulumi";
206
+ * import * as grafana from "@pulumi/grafana";
207
+ * import * as grafana from "@pulumiverse/grafana";
208
+ *
209
+ * const main = grafana.getSyntheticMonitoringProbes({});
210
+ * const ping = new grafana.SyntheticMonitoringCheck("ping", {
211
+ * job: "Ping Defaults",
212
+ * target: "grafana.com",
213
+ * enabled: false,
214
+ * probes: [main.then(main => main.probes?.Atlanta)],
215
+ * labels: {
216
+ * foo: "bar",
217
+ * },
218
+ * settings: {
219
+ * ping: {},
220
+ * },
221
+ * });
222
+ * ```
223
+ * <!--End PulumiCodeChooser -->
224
+ *
225
+ * ### Ping Complex
226
+ *
227
+ * <!--Start PulumiCodeChooser -->
228
+ * ```typescript
229
+ * import * as pulumi from "@pulumi/pulumi";
230
+ * import * as grafana from "@pulumi/grafana";
231
+ * import * as grafana from "@pulumiverse/grafana";
232
+ *
233
+ * const main = grafana.getSyntheticMonitoringProbes({});
234
+ * const ping = new grafana.SyntheticMonitoringCheck("ping", {
235
+ * job: "Ping Updated",
236
+ * target: "grafana.net",
237
+ * enabled: false,
238
+ * probes: [
239
+ * main.then(main => main.probes?.Frankfurt),
240
+ * main.then(main => main.probes?.London),
241
+ * ],
242
+ * labels: {
243
+ * foo: "baz",
244
+ * },
245
+ * settings: {
246
+ * ping: {
247
+ * ipVersion: "Any",
248
+ * payloadSize: 20,
249
+ * dontFragment: true,
250
+ * },
251
+ * },
252
+ * });
253
+ * ```
254
+ * <!--End PulumiCodeChooser -->
255
+ *
256
+ * ### TCP Basic
257
+ *
258
+ * <!--Start PulumiCodeChooser -->
259
+ * ```typescript
260
+ * import * as pulumi from "@pulumi/pulumi";
261
+ * import * as grafana from "@pulumi/grafana";
262
+ * import * as grafana from "@pulumiverse/grafana";
263
+ *
264
+ * const main = grafana.getSyntheticMonitoringProbes({});
265
+ * const tcp = new grafana.SyntheticMonitoringCheck("tcp", {
266
+ * job: "TCP Defaults",
267
+ * target: "grafana.com:80",
268
+ * enabled: false,
269
+ * probes: [main.then(main => main.probes?.Atlanta)],
270
+ * labels: {
271
+ * foo: "bar",
272
+ * },
273
+ * settings: {
274
+ * tcp: {},
275
+ * },
276
+ * });
277
+ * ```
278
+ * <!--End PulumiCodeChooser -->
279
+ *
280
+ * ### TCP Complex
281
+ *
282
+ * <!--Start PulumiCodeChooser -->
283
+ * ```typescript
284
+ * import * as pulumi from "@pulumi/pulumi";
285
+ * import * as grafana from "@pulumi/grafana";
286
+ * import * as grafana from "@pulumiverse/grafana";
287
+ *
288
+ * const main = grafana.getSyntheticMonitoringProbes({});
289
+ * const tcp = new grafana.SyntheticMonitoringCheck("tcp", {
290
+ * job: "TCP Defaults",
291
+ * target: "grafana.com:443",
292
+ * enabled: false,
293
+ * probes: [
294
+ * main.then(main => main.probes?.Frankfurt),
295
+ * main.then(main => main.probes?.London),
296
+ * ],
297
+ * labels: {
298
+ * foo: "baz",
299
+ * },
300
+ * settings: {
301
+ * tcp: {
302
+ * ipVersion: "V6",
303
+ * tls: true,
304
+ * queryResponses: [
305
+ * {
306
+ * send: "howdy",
307
+ * expect: "hi",
308
+ * },
309
+ * {
310
+ * send: "like this",
311
+ * expect: "like that",
312
+ * startTls: true,
313
+ * },
314
+ * ],
315
+ * tlsConfig: {
316
+ * serverName: "grafana.com",
317
+ * caCert: `-----BEGIN CERTIFICATE-----
318
+ * MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
319
+ * RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
320
+ * MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
321
+ * 0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
322
+ * h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
323
+ * BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8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KD9
339
+ * 5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
340
+ * l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
341
+ * 7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
342
+ * vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
343
+ * -----END CERTIFICATE-----
344
+ * `,
345
+ * },
346
+ * },
347
+ * },
348
+ * });
349
+ * ```
350
+ * <!--End PulumiCodeChooser -->
351
+ *
352
+ * ### Traceroute Basic
353
+ *
354
+ * <!--Start PulumiCodeChooser -->
355
+ * ```typescript
356
+ * import * as pulumi from "@pulumi/pulumi";
357
+ * import * as grafana from "@pulumi/grafana";
358
+ * import * as grafana from "@pulumiverse/grafana";
359
+ *
360
+ * const main = grafana.getSyntheticMonitoringProbes({});
361
+ * const traceroute = new grafana.SyntheticMonitoringCheck("traceroute", {
362
+ * job: "Traceroute defaults",
363
+ * target: "grafana.com",
364
+ * enabled: false,
365
+ * frequency: 120000,
366
+ * timeout: 30000,
367
+ * probes: [main.then(main => main.probes?.Atlanta)],
368
+ * labels: {
369
+ * foo: "bar",
370
+ * },
371
+ * settings: {
372
+ * traceroute: {},
373
+ * },
374
+ * });
375
+ * ```
376
+ * <!--End PulumiCodeChooser -->
377
+ *
378
+ * ### Traceroute Complex
379
+ *
380
+ * <!--Start PulumiCodeChooser -->
381
+ * ```typescript
382
+ * import * as pulumi from "@pulumi/pulumi";
383
+ * import * as grafana from "@pulumi/grafana";
384
+ * import * as grafana from "@pulumiverse/grafana";
385
+ *
386
+ * const main = grafana.getSyntheticMonitoringProbes({});
387
+ * const traceroute = new grafana.SyntheticMonitoringCheck("traceroute", {
388
+ * job: "Traceroute complex",
389
+ * target: "grafana.net",
390
+ * enabled: false,
391
+ * frequency: 120000,
392
+ * timeout: 30000,
393
+ * probes: [
394
+ * main.then(main => main.probes?.Frankfurt),
395
+ * main.then(main => main.probes?.London),
396
+ * ],
397
+ * labels: {
398
+ * foo: "baz",
399
+ * },
400
+ * settings: {
401
+ * traceroute: {
402
+ * maxHops: 25,
403
+ * maxUnknownHops: 10,
404
+ * ptrLookup: false,
405
+ * },
406
+ * },
407
+ * });
408
+ * ```
409
+ * <!--End PulumiCodeChooser -->
410
+ *
411
+ * ## Import
412
+ *
413
+ * ```sh
414
+ * $ pulumi import grafana:index/syntheticMonitoringCheck:SyntheticMonitoringCheck name "{{ id }}"
415
+ * ```
416
+ */
4
417
  export declare class SyntheticMonitoringCheck extends pulumi.CustomResource {
5
418
  /**
6
419
  * Get an existing SyntheticMonitoringCheck resource's state with the given name, ID, and optional extra
@@ -18,22 +431,19 @@ export declare class SyntheticMonitoringCheck extends pulumi.CustomResource {
18
431
  */
19
432
  static isInstance(obj: any): obj is SyntheticMonitoringCheck;
20
433
  /**
21
- * Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert
22
- * levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/).
434
+ * Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`.
23
435
  */
24
436
  readonly alertSensitivity: pulumi.Output<string | undefined>;
25
437
  /**
26
- * Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of
27
- * metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each.
438
+ * Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`.
28
439
  */
29
440
  readonly basicMetricsOnly: pulumi.Output<boolean | undefined>;
30
441
  /**
31
- * Whether to enable the check.
442
+ * Whether to enable the check. Defaults to `true`.
32
443
  */
33
444
  readonly enabled: pulumi.Output<boolean | undefined>;
34
445
  /**
35
- * How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable
36
- * value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms).
446
+ * How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`.
37
447
  */
38
448
  readonly frequency: pulumi.Output<number | undefined>;
39
449
  /**
@@ -41,9 +451,7 @@ export declare class SyntheticMonitoringCheck extends pulumi.CustomResource {
41
451
  */
42
452
  readonly job: pulumi.Output<string>;
43
453
  /**
44
- * Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per
45
- * check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of
46
- * the labels cannot be empty, and the maximum length is 32 bytes.
454
+ * Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
47
455
  */
48
456
  readonly labels: pulumi.Output<{
49
457
  [key: string]: string;
@@ -65,8 +473,7 @@ export declare class SyntheticMonitoringCheck extends pulumi.CustomResource {
65
473
  */
66
474
  readonly tenantId: pulumi.Output<number>;
67
475
  /**
68
- * Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms),
69
- * and the maximum 10 seconds (10000 ms).
476
+ * Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to `3000`.
70
477
  */
71
478
  readonly timeout: pulumi.Output<number | undefined>;
72
479
  /**
@@ -83,22 +490,19 @@ export declare class SyntheticMonitoringCheck extends pulumi.CustomResource {
83
490
  */
84
491
  export interface SyntheticMonitoringCheckState {
85
492
  /**
86
- * Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert
87
- * levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/).
493
+ * Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`.
88
494
  */
89
495
  alertSensitivity?: pulumi.Input<string>;
90
496
  /**
91
- * Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of
92
- * metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each.
497
+ * Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`.
93
498
  */
94
499
  basicMetricsOnly?: pulumi.Input<boolean>;
95
500
  /**
96
- * Whether to enable the check.
501
+ * Whether to enable the check. Defaults to `true`.
97
502
  */
98
503
  enabled?: pulumi.Input<boolean>;
99
504
  /**
100
- * How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable
101
- * value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms).
505
+ * How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`.
102
506
  */
103
507
  frequency?: pulumi.Input<number>;
104
508
  /**
@@ -106,9 +510,7 @@ export interface SyntheticMonitoringCheckState {
106
510
  */
107
511
  job?: pulumi.Input<string>;
108
512
  /**
109
- * Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per
110
- * check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of
111
- * the labels cannot be empty, and the maximum length is 32 bytes.
513
+ * Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
112
514
  */
113
515
  labels?: pulumi.Input<{
114
516
  [key: string]: pulumi.Input<string>;
@@ -130,8 +532,7 @@ export interface SyntheticMonitoringCheckState {
130
532
  */
131
533
  tenantId?: pulumi.Input<number>;
132
534
  /**
133
- * Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms),
134
- * and the maximum 10 seconds (10000 ms).
535
+ * Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to `3000`.
135
536
  */
136
537
  timeout?: pulumi.Input<number>;
137
538
  }
@@ -140,22 +541,19 @@ export interface SyntheticMonitoringCheckState {
140
541
  */
141
542
  export interface SyntheticMonitoringCheckArgs {
142
543
  /**
143
- * Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert
144
- * levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/).
544
+ * Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`.
145
545
  */
146
546
  alertSensitivity?: pulumi.Input<string>;
147
547
  /**
148
- * Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of
149
- * metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each.
548
+ * Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`.
150
549
  */
151
550
  basicMetricsOnly?: pulumi.Input<boolean>;
152
551
  /**
153
- * Whether to enable the check.
552
+ * Whether to enable the check. Defaults to `true`.
154
553
  */
155
554
  enabled?: pulumi.Input<boolean>;
156
555
  /**
157
- * How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable
158
- * value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms).
556
+ * How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`.
159
557
  */
160
558
  frequency?: pulumi.Input<number>;
161
559
  /**
@@ -163,9 +561,7 @@ export interface SyntheticMonitoringCheckArgs {
163
561
  */
164
562
  job: pulumi.Input<string>;
165
563
  /**
166
- * Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per
167
- * check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of
168
- * the labels cannot be empty, and the maximum length is 32 bytes.
564
+ * Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
169
565
  */
170
566
  labels?: pulumi.Input<{
171
567
  [key: string]: pulumi.Input<string>;
@@ -183,8 +579,7 @@ export interface SyntheticMonitoringCheckArgs {
183
579
  */
184
580
  target: pulumi.Input<string>;
185
581
  /**
186
- * Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms),
187
- * and the maximum 10 seconds (10000 ms).
582
+ * Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to `3000`.
188
583
  */
189
584
  timeout?: pulumi.Input<number>;
190
585
  }