@pulumiverse/grafana 0.2.1-alpha.1709570924

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 (252) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +54 -0
  3. package/annotation.d.ts +151 -0
  4. package/annotation.js +79 -0
  5. package/annotation.js.map +1 -0
  6. package/apiKey.d.ts +77 -0
  7. package/apiKey.js +80 -0
  8. package/apiKey.js.map +1 -0
  9. package/cloudAccessPolicy.d.ts +156 -0
  10. package/cloudAccessPolicy.js +115 -0
  11. package/cloudAccessPolicy.js.map +1 -0
  12. package/cloudAccessPolicyToken.d.ts +151 -0
  13. package/cloudAccessPolicyToken.js +108 -0
  14. package/cloudAccessPolicyToken.js.map +1 -0
  15. package/cloudApiKey.d.ts +102 -0
  16. package/cloudApiKey.js +85 -0
  17. package/cloudApiKey.js.map +1 -0
  18. package/cloudPluginInstallation.d.ts +96 -0
  19. package/cloudPluginInstallation.js +86 -0
  20. package/cloudPluginInstallation.js.map +1 -0
  21. package/cloudStack.d.ts +291 -0
  22. package/cloudStack.js +142 -0
  23. package/cloudStack.js.map +1 -0
  24. package/cloudStackApiKey.d.ts +52 -0
  25. package/cloudStackApiKey.js +67 -0
  26. package/cloudStackApiKey.js.map +1 -0
  27. package/cloudStackServiceAccount.d.ts +97 -0
  28. package/cloudStackServiceAccount.js +80 -0
  29. package/cloudStackServiceAccount.js.map +1 -0
  30. package/cloudStackServiceAccountToken.d.ts +78 -0
  31. package/cloudStackServiceAccountToken.js +93 -0
  32. package/cloudStackServiceAccountToken.js.map +1 -0
  33. package/config/index.d.ts +1 -0
  34. package/config/index.js +21 -0
  35. package/config/index.js.map +1 -0
  36. package/config/vars.d.ts +89 -0
  37. package/config/vars.js +131 -0
  38. package/config/vars.js.map +1 -0
  39. package/contactPoint.d.ts +310 -0
  40. package/contactPoint.js +119 -0
  41. package/contactPoint.js.map +1 -0
  42. package/dashboard.d.ts +154 -0
  43. package/dashboard.js +94 -0
  44. package/dashboard.js.map +1 -0
  45. package/dashboardPermission.d.ts +131 -0
  46. package/dashboardPermission.js +97 -0
  47. package/dashboardPermission.js.map +1 -0
  48. package/dataSource.d.ts +294 -0
  49. package/dataSource.js +164 -0
  50. package/dataSource.js.map +1 -0
  51. package/dataSourcePermission.d.ts +124 -0
  52. package/dataSourcePermission.js +109 -0
  53. package/dataSourcePermission.js.map +1 -0
  54. package/folder.d.ts +127 -0
  55. package/folder.js +95 -0
  56. package/folder.js.map +1 -0
  57. package/folderPermission.d.ts +106 -0
  58. package/folderPermission.js +91 -0
  59. package/folderPermission.js.map +1 -0
  60. package/getCloudIps.d.ts +56 -0
  61. package/getCloudIps.js +41 -0
  62. package/getCloudIps.js.map +1 -0
  63. package/getCloudOrganization.d.ts +37 -0
  64. package/getCloudOrganization.js +21 -0
  65. package/getCloudOrganization.js.map +1 -0
  66. package/getCloudStack.d.ts +130 -0
  67. package/getCloudStack.js +25 -0
  68. package/getCloudStack.js.map +1 -0
  69. package/getDashboard.d.ts +134 -0
  70. package/getDashboard.js +81 -0
  71. package/getDashboard.js.map +1 -0
  72. package/getDashboards.d.ts +74 -0
  73. package/getDashboards.js +36 -0
  74. package/getDashboards.js.map +1 -0
  75. package/getDataSource.d.ts +156 -0
  76. package/getDataSource.js +95 -0
  77. package/getDataSource.js.map +1 -0
  78. package/getFolder.d.ts +82 -0
  79. package/getFolder.js +59 -0
  80. package/getFolder.js.map +1 -0
  81. package/getFolders.d.ts +61 -0
  82. package/getFolders.js +61 -0
  83. package/getFolders.js.map +1 -0
  84. package/getLibraryPanel.d.ts +108 -0
  85. package/getLibraryPanel.js +28 -0
  86. package/getLibraryPanel.js.map +1 -0
  87. package/getOnCallSlackChannel.d.ts +66 -0
  88. package/getOnCallSlackChannel.js +47 -0
  89. package/getOnCallSlackChannel.js.map +1 -0
  90. package/getOncallAction.d.ts +46 -0
  91. package/getOncallAction.js +31 -0
  92. package/getOncallAction.js.map +1 -0
  93. package/getOncallEscalationChain.d.ts +62 -0
  94. package/getOncallEscalationChain.js +47 -0
  95. package/getOncallEscalationChain.js.map +1 -0
  96. package/getOncallOutgoingWebhook.d.ts +62 -0
  97. package/getOncallOutgoingWebhook.js +47 -0
  98. package/getOncallOutgoingWebhook.js.map +1 -0
  99. package/getOncallSchedule.d.ts +68 -0
  100. package/getOncallSchedule.js +49 -0
  101. package/getOncallSchedule.js.map +1 -0
  102. package/getOncallTeam.d.ts +60 -0
  103. package/getOncallTeam.js +43 -0
  104. package/getOncallTeam.js.map +1 -0
  105. package/getOncallUser.d.ts +70 -0
  106. package/getOncallUser.js +47 -0
  107. package/getOncallUser.js.map +1 -0
  108. package/getOncallUserGroup.d.ts +54 -0
  109. package/getOncallUserGroup.js +47 -0
  110. package/getOncallUserGroup.js.map +1 -0
  111. package/getOrganization.d.ts +94 -0
  112. package/getOrganization.js +67 -0
  113. package/getOrganization.js.map +1 -0
  114. package/getOrganizationPreferences.d.ts +62 -0
  115. package/getOrganizationPreferences.js +43 -0
  116. package/getOrganizationPreferences.js.map +1 -0
  117. package/getRole.d.ts +147 -0
  118. package/getRole.js +95 -0
  119. package/getRole.js.map +1 -0
  120. package/getSlos.d.ts +31 -0
  121. package/getSlos.js +31 -0
  122. package/getSlos.js.map +1 -0
  123. package/getSyntheticMonitoringProbe.d.ts +88 -0
  124. package/getSyntheticMonitoringProbe.js +47 -0
  125. package/getSyntheticMonitoringProbe.js.map +1 -0
  126. package/getSyntheticMonitoringProbes.d.ts +64 -0
  127. package/getSyntheticMonitoringProbes.js +44 -0
  128. package/getSyntheticMonitoringProbes.js.map +1 -0
  129. package/getTeam.d.ts +83 -0
  130. package/getTeam.js +67 -0
  131. package/getTeam.js.map +1 -0
  132. package/getUser.d.ts +128 -0
  133. package/getUser.js +84 -0
  134. package/getUser.js.map +1 -0
  135. package/getUsers.d.ts +61 -0
  136. package/getUsers.js +61 -0
  137. package/getUsers.js.map +1 -0
  138. package/index.d.ts +228 -0
  139. package/index.js +353 -0
  140. package/index.js.map +1 -0
  141. package/libraryPanel.d.ts +193 -0
  142. package/libraryPanel.js +103 -0
  143. package/libraryPanel.js.map +1 -0
  144. package/machineLearningHoliday.d.ts +103 -0
  145. package/machineLearningHoliday.js +62 -0
  146. package/machineLearningHoliday.js.map +1 -0
  147. package/machineLearningJob.d.ts +201 -0
  148. package/machineLearningJob.js +83 -0
  149. package/machineLearningJob.js.map +1 -0
  150. package/machineLearningOutlierDetector.d.ts +159 -0
  151. package/machineLearningOutlierDetector.js +84 -0
  152. package/machineLearningOutlierDetector.js.map +1 -0
  153. package/messageTemplate.d.ts +86 -0
  154. package/messageTemplate.js +80 -0
  155. package/messageTemplate.js.map +1 -0
  156. package/muteTiming.d.ts +106 -0
  157. package/muteTiming.js +95 -0
  158. package/muteTiming.js.map +1 -0
  159. package/notificationPolicy.d.ts +186 -0
  160. package/notificationPolicy.js +141 -0
  161. package/notificationPolicy.js.map +1 -0
  162. package/oncallEscalation.d.ts +227 -0
  163. package/oncallEscalation.js +124 -0
  164. package/oncallEscalation.js.map +1 -0
  165. package/oncallEscalationChain.d.ts +80 -0
  166. package/oncallEscalationChain.js +71 -0
  167. package/oncallEscalationChain.js.map +1 -0
  168. package/oncallIntegration.d.ts +116 -0
  169. package/oncallIntegration.js +75 -0
  170. package/oncallIntegration.js.map +1 -0
  171. package/oncallOnCallShift.d.ts +237 -0
  172. package/oncallOnCallShift.js +97 -0
  173. package/oncallOnCallShift.js.map +1 -0
  174. package/oncallOutgoingWebhook.d.ts +152 -0
  175. package/oncallOutgoingWebhook.js +88 -0
  176. package/oncallOutgoingWebhook.js.map +1 -0
  177. package/oncallRoute.d.ts +175 -0
  178. package/oncallRoute.js +116 -0
  179. package/oncallRoute.js.map +1 -0
  180. package/oncallSchedule.d.ts +187 -0
  181. package/oncallSchedule.js +109 -0
  182. package/oncallSchedule.js.map +1 -0
  183. package/organization.d.ts +193 -0
  184. package/organization.js +96 -0
  185. package/organization.js.map +1 -0
  186. package/organizationPreference.d.ts +125 -0
  187. package/organizationPreference.js +76 -0
  188. package/organizationPreference.js.map +1 -0
  189. package/package.json +30 -0
  190. package/package.json.bak +29 -0
  191. package/package.json.dev +29 -0
  192. package/playlist.d.ts +72 -0
  193. package/playlist.js +65 -0
  194. package/playlist.js.map +1 -0
  195. package/provider.d.ts +166 -0
  196. package/provider.js +64 -0
  197. package/provider.js.map +1 -0
  198. package/report.d.ts +241 -0
  199. package/report.js +110 -0
  200. package/report.js.map +1 -0
  201. package/role.d.ts +210 -0
  202. package/role.js +109 -0
  203. package/role.js.map +1 -0
  204. package/roleAssignment.d.ts +131 -0
  205. package/roleAssignment.js +95 -0
  206. package/roleAssignment.js.map +1 -0
  207. package/ruleGroup.d.ts +203 -0
  208. package/ruleGroup.js +174 -0
  209. package/ruleGroup.js.map +1 -0
  210. package/scripts/install-pulumi-plugin.js +21 -0
  211. package/serviceAccount.d.ts +102 -0
  212. package/serviceAccount.js +73 -0
  213. package/serviceAccount.js.map +1 -0
  214. package/serviceAccountPermission.d.ts +110 -0
  215. package/serviceAccountPermission.js +95 -0
  216. package/serviceAccountPermission.js.map +1 -0
  217. package/serviceAccountToken.d.ts +72 -0
  218. package/serviceAccountToken.js +85 -0
  219. package/serviceAccountToken.js.map +1 -0
  220. package/slo.d.ts +131 -0
  221. package/slo.js +77 -0
  222. package/slo.js.map +1 -0
  223. package/syntheticMonitoringCheck.d.ts +555 -0
  224. package/syntheticMonitoringCheck.js +464 -0
  225. package/syntheticMonitoringCheck.js.map +1 -0
  226. package/syntheticMonitoringInstallation.d.ts +112 -0
  227. package/syntheticMonitoringInstallation.js +95 -0
  228. package/syntheticMonitoringInstallation.js.map +1 -0
  229. package/syntheticMonitoringProbe.d.ts +164 -0
  230. package/syntheticMonitoringProbe.js +108 -0
  231. package/syntheticMonitoringProbe.js.map +1 -0
  232. package/team.d.ts +165 -0
  233. package/team.js +89 -0
  234. package/team.js.map +1 -0
  235. package/teamExternalGroup.d.ts +84 -0
  236. package/teamExternalGroup.js +81 -0
  237. package/teamExternalGroup.js.map +1 -0
  238. package/types/index.d.ts +3 -0
  239. package/types/index.js +11 -0
  240. package/types/index.js.map +1 -0
  241. package/types/input.d.ts +1914 -0
  242. package/types/input.js +5 -0
  243. package/types/input.js.map +1 -0
  244. package/types/output.d.ts +2011 -0
  245. package/types/output.js +5 -0
  246. package/types/output.js.map +1 -0
  247. package/user.d.ts +132 -0
  248. package/user.js +95 -0
  249. package/user.js.map +1 -0
  250. package/utilities.d.ts +4 -0
  251. package/utilities.js +69 -0
  252. package/utilities.js.map +1 -0
@@ -0,0 +1,555 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
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/monitor-public-endpoints/checks/)
12
+ *
13
+ * ## Example Usage
14
+ * ### DNS Basic
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as grafana from "@pulumi/grafana";
19
+ * import * as grafana from "@pulumiverse/grafana";
20
+ *
21
+ * const main = grafana.getSyntheticMonitoringProbes({});
22
+ * const dns = new grafana.SyntheticMonitoringCheck("dns", {
23
+ * job: "DNS Defaults",
24
+ * target: "grafana.com",
25
+ * enabled: false,
26
+ * probes: [main.then(main => main.probes?.Atlanta)],
27
+ * labels: {
28
+ * foo: "bar",
29
+ * },
30
+ * settings: {
31
+ * dns: {},
32
+ * },
33
+ * });
34
+ * ```
35
+ * ### DNS Complex
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as grafana from "@pulumi/grafana";
40
+ * import * as grafana from "@pulumiverse/grafana";
41
+ *
42
+ * const main = grafana.getSyntheticMonitoringProbes({});
43
+ * const dns = new grafana.SyntheticMonitoringCheck("dns", {
44
+ * job: "DNS Updated",
45
+ * target: "grafana.net",
46
+ * enabled: false,
47
+ * probes: [
48
+ * main.then(main => main.probes?.Frankfurt),
49
+ * main.then(main => main.probes?.London),
50
+ * ],
51
+ * labels: {
52
+ * foo: "baz",
53
+ * },
54
+ * settings: {
55
+ * dns: {
56
+ * ipVersion: "Any",
57
+ * server: "8.8.4.4",
58
+ * port: 8600,
59
+ * recordType: "CNAME",
60
+ * protocol: "TCP",
61
+ * validRCodes: [
62
+ * "NOERROR",
63
+ * "NOTAUTH",
64
+ * ],
65
+ * validateAnswerRrs: {
66
+ * failIfMatchesRegexps: [".+-bad-stuff*"],
67
+ * failIfNotMatchesRegexps: [".+-good-stuff*"],
68
+ * },
69
+ * validateAuthorityRrs: {
70
+ * failIfMatchesRegexps: [".+-bad-stuff*"],
71
+ * failIfNotMatchesRegexps: [".+-good-stuff*"],
72
+ * },
73
+ * validateAdditionalRrs: [{
74
+ * failIfMatchesRegexps: [".+-bad-stuff*"],
75
+ * failIfNotMatchesRegexps: [".+-good-stuff*"],
76
+ * }],
77
+ * },
78
+ * },
79
+ * });
80
+ * ```
81
+ * ### HTTP Basic
82
+ *
83
+ * ```typescript
84
+ * import * as pulumi from "@pulumi/pulumi";
85
+ * import * as grafana from "@pulumi/grafana";
86
+ * import * as grafana from "@pulumiverse/grafana";
87
+ *
88
+ * const main = grafana.getSyntheticMonitoringProbes({});
89
+ * const http = new grafana.SyntheticMonitoringCheck("http", {
90
+ * job: "HTTP Defaults",
91
+ * target: "https://grafana.com",
92
+ * enabled: false,
93
+ * probes: [main.then(main => main.probes?.Atlanta)],
94
+ * labels: {
95
+ * foo: "bar",
96
+ * },
97
+ * settings: {
98
+ * http: {},
99
+ * },
100
+ * });
101
+ * ```
102
+ * ### HTTP Complex
103
+ *
104
+ * ```typescript
105
+ * import * as pulumi from "@pulumi/pulumi";
106
+ * import * as grafana from "@pulumi/grafana";
107
+ * import * as grafana from "@pulumiverse/grafana";
108
+ *
109
+ * const main = grafana.getSyntheticMonitoringProbes({});
110
+ * const http = new grafana.SyntheticMonitoringCheck("http", {
111
+ * job: "HTTP Defaults",
112
+ * target: "https://grafana.org",
113
+ * enabled: false,
114
+ * probes: [
115
+ * main.then(main => main.probes?.Bangalore),
116
+ * main.then(main => main.probes?.Mumbai),
117
+ * ],
118
+ * labels: {
119
+ * foo: "bar",
120
+ * },
121
+ * settings: {
122
+ * http: {
123
+ * ipVersion: "V6",
124
+ * method: "TRACE",
125
+ * body: "and spirit",
126
+ * noFollowRedirects: true,
127
+ * bearerToken: "asdfjkl;",
128
+ * proxyUrl: "https://almost-there",
129
+ * failIfSsl: true,
130
+ * failIfNotSsl: true,
131
+ * cacheBustingQueryParamName: "pineapple",
132
+ * tlsConfig: {
133
+ * serverName: "grafana.org",
134
+ * clientCert: `-----BEGIN CERTIFICATE-----
135
+ * MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
136
+ * RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
137
+ * MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
138
+ * 0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
139
+ * h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
140
+ * BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9+cSmUobFJwuktDrPuwJhcEkl
141
+ * iDmhEqu1GuZzmKvzPacLTVia1vSlmCTCu89NiHI8iGiiLtqNrapup7f8j5m3a3SL
142
+ * a+vXhplFj2piNl7Nc0dfuVgtEliTI+qUL2/+4A7gzRWZpHy21/LxMMXmBhdJW9En
143
+ * FWkev97VZLgb5TR3+qpSWmXcodjPy4dibvwsOMpdd+Q4AYulwvlDw5idRPVgGvk7
144
+ * qq03+w9ppZ5Fugws9k2CD9F/75JX2mCbRpkuPe8XXZ7bqrMaQgQMLOrs68HuiiCk
145
+ * FTklglq4DMKxnf/Y/T/MgIa9Q1o28YSevh6A7FnfPGARj2H2T4rToi+bC1Vf7qNB
146
+ * Z18bDpz99tRUTbyiRUSBMWLCGhU6c4HAqUrfrkpperOKFBQ3i38a79838oFdXHBW
147
+ * 6rx1t5cC3XwtEoUyeBKAygez8G1LDXbN3607MxVhAjhHKtPkYvuBfysSNU6JrR0z
148
+ * UV1IURJANt2UMuKgSEkG/IMCAwEAATANBgkqhkiG9w0BAQsFAAOCAgEAcipMhp/w
149
+ * yzfPy61faVAw9SPaMNRlnW9FCDC3N9CGOjo2knjXpObPzyzsJiUURTjrA9eFMpRA
150
+ * e2Rgn2j+nvm2XdLAlC4Kh8jqv/wCL0X6BTQMdN5aOhXdSiXtpXOMvXYY/dQ4ebRZ
151
+ * XeRCVWQD79JbV6/uyx0nCV3FVcU7L1P4UjxroefVr0soLPMirgxHmOxLnkoVgdcB
152
+ * tqufP5kJx9CIeJXPx3QQsk1XfEtxtUvuw4ZaZkQnNUqvGl7V+AZpur5Eqfv3zBi8
153
+ * QxxL7qGkARNssNWH2Ju+tqpM/UZRnjlFrDR4SXUgT0coTduBalUY6qHkciHmRpiP
154
+ * tf3SgpDeiCSOV2iVFGdaR1mz3muWoAYWFstcWN3a3HjjVugIi23yLN8Gv8CNeoH4
155
+ * prulinFCLrFgAh8SLAF8mOAZanT06LH8jOIFYrdUxH+ZeRBR0rLoFjUF+JB7UKD9
156
+ * 5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
157
+ * l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
158
+ * 7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
159
+ * vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
160
+ * -----END CERTIFICATE-----
161
+ * `,
162
+ * },
163
+ * headers: ["Content-Type: multipart/form-data; boundary=something"],
164
+ * basicAuth: {
165
+ * username: "open",
166
+ * password: "sesame",
167
+ * },
168
+ * validStatusCodes: [
169
+ * 200,
170
+ * 201,
171
+ * ],
172
+ * validHttpVersions: [
173
+ * "HTTP/1.0",
174
+ * "HTTP/1.1",
175
+ * "HTTP/2.0",
176
+ * ],
177
+ * failIfBodyMatchesRegexps: ["*bad stuff*"],
178
+ * failIfBodyNotMatchesRegexps: ["*good stuff*"],
179
+ * failIfHeaderMatchesRegexps: [{
180
+ * header: "Content-Type",
181
+ * regexp: "application/soap*",
182
+ * allowMissing: true,
183
+ * }],
184
+ * },
185
+ * },
186
+ * });
187
+ * ```
188
+ * ### Ping Basic
189
+ *
190
+ * ```typescript
191
+ * import * as pulumi from "@pulumi/pulumi";
192
+ * import * as grafana from "@pulumi/grafana";
193
+ * import * as grafana from "@pulumiverse/grafana";
194
+ *
195
+ * const main = grafana.getSyntheticMonitoringProbes({});
196
+ * const ping = new grafana.SyntheticMonitoringCheck("ping", {
197
+ * job: "Ping Defaults",
198
+ * target: "grafana.com",
199
+ * enabled: false,
200
+ * probes: [main.then(main => main.probes?.Atlanta)],
201
+ * labels: {
202
+ * foo: "bar",
203
+ * },
204
+ * settings: {
205
+ * ping: {},
206
+ * },
207
+ * });
208
+ * ```
209
+ * ### Ping Complex
210
+ *
211
+ * ```typescript
212
+ * import * as pulumi from "@pulumi/pulumi";
213
+ * import * as grafana from "@pulumi/grafana";
214
+ * import * as grafana from "@pulumiverse/grafana";
215
+ *
216
+ * const main = grafana.getSyntheticMonitoringProbes({});
217
+ * const ping = new grafana.SyntheticMonitoringCheck("ping", {
218
+ * job: "Ping Updated",
219
+ * target: "grafana.net",
220
+ * enabled: false,
221
+ * probes: [
222
+ * main.then(main => main.probes?.Frankfurt),
223
+ * main.then(main => main.probes?.London),
224
+ * ],
225
+ * labels: {
226
+ * foo: "baz",
227
+ * },
228
+ * settings: {
229
+ * ping: {
230
+ * ipVersion: "Any",
231
+ * payloadSize: 20,
232
+ * dontFragment: true,
233
+ * },
234
+ * },
235
+ * });
236
+ * ```
237
+ * ### TCP Basic
238
+ *
239
+ * ```typescript
240
+ * import * as pulumi from "@pulumi/pulumi";
241
+ * import * as grafana from "@pulumi/grafana";
242
+ * import * as grafana from "@pulumiverse/grafana";
243
+ *
244
+ * const main = grafana.getSyntheticMonitoringProbes({});
245
+ * const tcp = new grafana.SyntheticMonitoringCheck("tcp", {
246
+ * job: "TCP Defaults",
247
+ * target: "grafana.com:80",
248
+ * enabled: false,
249
+ * probes: [main.then(main => main.probes?.Atlanta)],
250
+ * labels: {
251
+ * foo: "bar",
252
+ * },
253
+ * settings: {
254
+ * tcp: {},
255
+ * },
256
+ * });
257
+ * ```
258
+ * ### TCP Complex
259
+ *
260
+ * ```typescript
261
+ * import * as pulumi from "@pulumi/pulumi";
262
+ * import * as grafana from "@pulumi/grafana";
263
+ * import * as grafana from "@pulumiverse/grafana";
264
+ *
265
+ * const main = grafana.getSyntheticMonitoringProbes({});
266
+ * const tcp = new grafana.SyntheticMonitoringCheck("tcp", {
267
+ * job: "TCP Defaults",
268
+ * target: "grafana.com:443",
269
+ * enabled: false,
270
+ * probes: [
271
+ * main.then(main => main.probes?.Frankfurt),
272
+ * main.then(main => main.probes?.London),
273
+ * ],
274
+ * labels: {
275
+ * foo: "baz",
276
+ * },
277
+ * settings: {
278
+ * tcp: {
279
+ * ipVersion: "V6",
280
+ * tls: true,
281
+ * queryResponses: [
282
+ * {
283
+ * send: "howdy",
284
+ * expect: "hi",
285
+ * },
286
+ * {
287
+ * send: "like this",
288
+ * expect: "like that",
289
+ * startTls: true,
290
+ * },
291
+ * ],
292
+ * tlsConfig: {
293
+ * serverName: "grafana.com",
294
+ * caCert: `-----BEGIN CERTIFICATE-----
295
+ * MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
296
+ * RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
297
+ * MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
298
+ * 0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
299
+ * h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
300
+ * BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9+cSmUobFJwuktDrPuwJhcEkl
301
+ * iDmhEqu1GuZzmKvzPacLTVia1vSlmCTCu89NiHI8iGiiLtqNrapup7f8j5m3a3SL
302
+ * a+vXhplFj2piNl7Nc0dfuVgtEliTI+qUL2/+4A7gzRWZpHy21/LxMMXmBhdJW9En
303
+ * FWkev97VZLgb5TR3+qpSWmXcodjPy4dibvwsOMpdd+Q4AYulwvlDw5idRPVgGvk7
304
+ * qq03+w9ppZ5Fugws9k2CD9F/75JX2mCbRpkuPe8XXZ7bqrMaQgQMLOrs68HuiiCk
305
+ * FTklglq4DMKxnf/Y/T/MgIa9Q1o28YSevh6A7FnfPGARj2H2T4rToi+bC1Vf7qNB
306
+ * Z18bDpz99tRUTbyiRUSBMWLCGhU6c4HAqUrfrkpperOKFBQ3i38a79838oFdXHBW
307
+ * 6rx1t5cC3XwtEoUyeBKAygez8G1LDXbN3607MxVhAjhHKtPkYvuBfysSNU6JrR0z
308
+ * UV1IURJANt2UMuKgSEkG/IMCAwEAATANBgkqhkiG9w0BAQsFAAOCAgEAcipMhp/w
309
+ * yzfPy61faVAw9SPaMNRlnW9FCDC3N9CGOjo2knjXpObPzyzsJiUURTjrA9eFMpRA
310
+ * e2Rgn2j+nvm2XdLAlC4Kh8jqv/wCL0X6BTQMdN5aOhXdSiXtpXOMvXYY/dQ4ebRZ
311
+ * XeRCVWQD79JbV6/uyx0nCV3FVcU7L1P4UjxroefVr0soLPMirgxHmOxLnkoVgdcB
312
+ * tqufP5kJx9CIeJXPx3QQsk1XfEtxtUvuw4ZaZkQnNUqvGl7V+AZpur5Eqfv3zBi8
313
+ * QxxL7qGkARNssNWH2Ju+tqpM/UZRnjlFrDR4SXUgT0coTduBalUY6qHkciHmRpiP
314
+ * tf3SgpDeiCSOV2iVFGdaR1mz3muWoAYWFstcWN3a3HjjVugIi23yLN8Gv8CNeoH4
315
+ * prulinFCLrFgAh8SLAF8mOAZanT06LH8jOIFYrdUxH+ZeRBR0rLoFjUF+JB7UKD9
316
+ * 5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
317
+ * l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
318
+ * 7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
319
+ * vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
320
+ * -----END CERTIFICATE-----
321
+ * `,
322
+ * },
323
+ * },
324
+ * },
325
+ * });
326
+ * ```
327
+ * ### Traceroute Basic
328
+ *
329
+ * ```typescript
330
+ * import * as pulumi from "@pulumi/pulumi";
331
+ * import * as grafana from "@pulumi/grafana";
332
+ * import * as grafana from "@pulumiverse/grafana";
333
+ *
334
+ * const main = grafana.getSyntheticMonitoringProbes({});
335
+ * const traceroute = new grafana.SyntheticMonitoringCheck("traceroute", {
336
+ * job: "Traceroute defaults",
337
+ * target: "grafana.com",
338
+ * enabled: false,
339
+ * frequency: 120000,
340
+ * timeout: 30000,
341
+ * probes: [main.then(main => main.probes?.Atlanta)],
342
+ * labels: {
343
+ * foo: "bar",
344
+ * },
345
+ * settings: {
346
+ * traceroute: {},
347
+ * },
348
+ * });
349
+ * ```
350
+ * ### Traceroute Complex
351
+ *
352
+ * ```typescript
353
+ * import * as pulumi from "@pulumi/pulumi";
354
+ * import * as grafana from "@pulumi/grafana";
355
+ * import * as grafana from "@pulumiverse/grafana";
356
+ *
357
+ * const main = grafana.getSyntheticMonitoringProbes({});
358
+ * const traceroute = new grafana.SyntheticMonitoringCheck("traceroute", {
359
+ * job: "Traceroute complex",
360
+ * target: "grafana.net",
361
+ * enabled: false,
362
+ * frequency: 120000,
363
+ * timeout: 30000,
364
+ * probes: [
365
+ * main.then(main => main.probes?.Frankfurt),
366
+ * main.then(main => main.probes?.London),
367
+ * ],
368
+ * labels: {
369
+ * foo: "baz",
370
+ * },
371
+ * settings: {
372
+ * traceroute: {
373
+ * maxHops: 25,
374
+ * maxUnknownHops: 10,
375
+ * ptrLookup: false,
376
+ * },
377
+ * },
378
+ * });
379
+ * ```
380
+ *
381
+ * ## Import
382
+ *
383
+ * ```sh
384
+ * $ pulumi import grafana:index/syntheticMonitoringCheck:SyntheticMonitoringCheck check {{check-id}}
385
+ * ```
386
+ */
387
+ export declare class SyntheticMonitoringCheck extends pulumi.CustomResource {
388
+ /**
389
+ * Get an existing SyntheticMonitoringCheck resource's state with the given name, ID, and optional extra
390
+ * properties used to qualify the lookup.
391
+ *
392
+ * @param name The _unique_ name of the resulting resource.
393
+ * @param id The _unique_ provider ID of the resource to lookup.
394
+ * @param state Any extra arguments used during the lookup.
395
+ * @param opts Optional settings to control the behavior of the CustomResource.
396
+ */
397
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SyntheticMonitoringCheckState, opts?: pulumi.CustomResourceOptions): SyntheticMonitoringCheck;
398
+ /**
399
+ * Returns true if the given object is an instance of SyntheticMonitoringCheck. This is designed to work even
400
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
401
+ */
402
+ static isInstance(obj: any): obj is SyntheticMonitoringCheck;
403
+ /**
404
+ * Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/synthetic-monitoring-alerting/). Defaults to `none`.
405
+ */
406
+ readonly alertSensitivity: pulumi.Output<string | undefined>;
407
+ /**
408
+ * 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`.
409
+ */
410
+ readonly basicMetricsOnly: pulumi.Output<boolean | undefined>;
411
+ /**
412
+ * Whether to enable the check. Defaults to `true`.
413
+ */
414
+ readonly enabled: pulumi.Output<boolean | undefined>;
415
+ /**
416
+ * 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 120 seconds (120000 ms). Defaults to `60000`.
417
+ */
418
+ readonly frequency: pulumi.Output<number | undefined>;
419
+ /**
420
+ * Name used for job label.
421
+ */
422
+ readonly job: pulumi.Output<string>;
423
+ /**
424
+ * 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.
425
+ */
426
+ readonly labels: pulumi.Output<{
427
+ [key: string]: string;
428
+ } | undefined>;
429
+ /**
430
+ * List of probe location IDs where this target will be checked from.
431
+ */
432
+ readonly probes: pulumi.Output<number[]>;
433
+ /**
434
+ * Check settings. Should contain exactly one nested block.
435
+ */
436
+ readonly settings: pulumi.Output<outputs.SyntheticMonitoringCheckSettings>;
437
+ /**
438
+ * Hostname to ping.
439
+ */
440
+ readonly target: pulumi.Output<string>;
441
+ /**
442
+ * The tenant ID of the check.
443
+ */
444
+ readonly tenantId: pulumi.Output<number>;
445
+ /**
446
+ * 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`.
447
+ */
448
+ readonly timeout: pulumi.Output<number | undefined>;
449
+ /**
450
+ * Create a SyntheticMonitoringCheck resource with the given unique name, arguments, and options.
451
+ *
452
+ * @param name The _unique_ name of the resource.
453
+ * @param args The arguments to use to populate this resource's properties.
454
+ * @param opts A bag of options that control this resource's behavior.
455
+ */
456
+ constructor(name: string, args: SyntheticMonitoringCheckArgs, opts?: pulumi.CustomResourceOptions);
457
+ }
458
+ /**
459
+ * Input properties used for looking up and filtering SyntheticMonitoringCheck resources.
460
+ */
461
+ export interface SyntheticMonitoringCheckState {
462
+ /**
463
+ * Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/synthetic-monitoring-alerting/). Defaults to `none`.
464
+ */
465
+ alertSensitivity?: pulumi.Input<string>;
466
+ /**
467
+ * 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`.
468
+ */
469
+ basicMetricsOnly?: pulumi.Input<boolean>;
470
+ /**
471
+ * Whether to enable the check. Defaults to `true`.
472
+ */
473
+ enabled?: pulumi.Input<boolean>;
474
+ /**
475
+ * 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 120 seconds (120000 ms). Defaults to `60000`.
476
+ */
477
+ frequency?: pulumi.Input<number>;
478
+ /**
479
+ * Name used for job label.
480
+ */
481
+ job?: pulumi.Input<string>;
482
+ /**
483
+ * 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.
484
+ */
485
+ labels?: pulumi.Input<{
486
+ [key: string]: pulumi.Input<string>;
487
+ }>;
488
+ /**
489
+ * List of probe location IDs where this target will be checked from.
490
+ */
491
+ probes?: pulumi.Input<pulumi.Input<number>[]>;
492
+ /**
493
+ * Check settings. Should contain exactly one nested block.
494
+ */
495
+ settings?: pulumi.Input<inputs.SyntheticMonitoringCheckSettings>;
496
+ /**
497
+ * Hostname to ping.
498
+ */
499
+ target?: pulumi.Input<string>;
500
+ /**
501
+ * The tenant ID of the check.
502
+ */
503
+ tenantId?: pulumi.Input<number>;
504
+ /**
505
+ * 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`.
506
+ */
507
+ timeout?: pulumi.Input<number>;
508
+ }
509
+ /**
510
+ * The set of arguments for constructing a SyntheticMonitoringCheck resource.
511
+ */
512
+ export interface SyntheticMonitoringCheckArgs {
513
+ /**
514
+ * Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/synthetic-monitoring-alerting/). Defaults to `none`.
515
+ */
516
+ alertSensitivity?: pulumi.Input<string>;
517
+ /**
518
+ * 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`.
519
+ */
520
+ basicMetricsOnly?: pulumi.Input<boolean>;
521
+ /**
522
+ * Whether to enable the check. Defaults to `true`.
523
+ */
524
+ enabled?: pulumi.Input<boolean>;
525
+ /**
526
+ * 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 120 seconds (120000 ms). Defaults to `60000`.
527
+ */
528
+ frequency?: pulumi.Input<number>;
529
+ /**
530
+ * Name used for job label.
531
+ */
532
+ job: pulumi.Input<string>;
533
+ /**
534
+ * 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.
535
+ */
536
+ labels?: pulumi.Input<{
537
+ [key: string]: pulumi.Input<string>;
538
+ }>;
539
+ /**
540
+ * List of probe location IDs where this target will be checked from.
541
+ */
542
+ probes: pulumi.Input<pulumi.Input<number>[]>;
543
+ /**
544
+ * Check settings. Should contain exactly one nested block.
545
+ */
546
+ settings: pulumi.Input<inputs.SyntheticMonitoringCheckSettings>;
547
+ /**
548
+ * Hostname to ping.
549
+ */
550
+ target: pulumi.Input<string>;
551
+ /**
552
+ * 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`.
553
+ */
554
+ timeout?: pulumi.Input<number>;
555
+ }