@pulumi/azure-native 1.46.0 → 1.47.0-alpha.1637376359

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 (336) hide show
  1. package/alertsmanagement/getPrometheusRuleGroup.d.ts +75 -0
  2. package/alertsmanagement/getPrometheusRuleGroup.js +29 -0
  3. package/alertsmanagement/getPrometheusRuleGroup.js.map +1 -0
  4. package/alertsmanagement/index.d.ts +4 -1
  5. package/alertsmanagement/index.js +8 -1
  6. package/alertsmanagement/index.js.map +1 -1
  7. package/alertsmanagement/prometheusRuleGroup.d.ts +107 -0
  8. package/alertsmanagement/prometheusRuleGroup.js +88 -0
  9. package/alertsmanagement/prometheusRuleGroup.js.map +1 -0
  10. package/alertsmanagement/v20210722preview/getPrometheusRuleGroup.d.ts +74 -0
  11. package/alertsmanagement/v20210722preview/getPrometheusRuleGroup.js +28 -0
  12. package/alertsmanagement/v20210722preview/getPrometheusRuleGroup.js.map +1 -0
  13. package/alertsmanagement/v20210722preview/index.d.ts +2 -0
  14. package/alertsmanagement/v20210722preview/index.js +34 -0
  15. package/alertsmanagement/v20210722preview/index.js.map +1 -0
  16. package/alertsmanagement/v20210722preview/prometheusRuleGroup.d.ts +106 -0
  17. package/alertsmanagement/v20210722preview/prometheusRuleGroup.js +87 -0
  18. package/alertsmanagement/v20210722preview/prometheusRuleGroup.js.map +1 -0
  19. package/config/vars.d.ts +1 -1
  20. package/config/vars.js +2 -1
  21. package/config/vars.js.map +1 -1
  22. package/containerregistry/index.d.ts +2 -1
  23. package/containerregistry/index.js +3 -1
  24. package/containerregistry/index.js.map +1 -1
  25. package/containerregistry/privateEndpointConnection.js +1 -1
  26. package/containerregistry/privateEndpointConnection.js.map +1 -1
  27. package/containerregistry/registry.js +1 -1
  28. package/containerregistry/registry.js.map +1 -1
  29. package/containerregistry/replication.js +1 -1
  30. package/containerregistry/replication.js.map +1 -1
  31. package/containerregistry/v20160627preview/registry.js +1 -1
  32. package/containerregistry/v20160627preview/registry.js.map +1 -1
  33. package/containerregistry/v20170301/registry.js +1 -1
  34. package/containerregistry/v20170301/registry.js.map +1 -1
  35. package/containerregistry/v20170601preview/registry.js +1 -1
  36. package/containerregistry/v20170601preview/registry.js.map +1 -1
  37. package/containerregistry/v20170601preview/replication.js +1 -1
  38. package/containerregistry/v20170601preview/replication.js.map +1 -1
  39. package/containerregistry/v20170601preview/webhook.js +1 -1
  40. package/containerregistry/v20170601preview/webhook.js.map +1 -1
  41. package/containerregistry/v20171001/registry.js +1 -1
  42. package/containerregistry/v20171001/registry.js.map +1 -1
  43. package/containerregistry/v20171001/replication.js +1 -1
  44. package/containerregistry/v20171001/replication.js.map +1 -1
  45. package/containerregistry/v20171001/webhook.js +1 -1
  46. package/containerregistry/v20171001/webhook.js.map +1 -1
  47. package/containerregistry/v20190501/registry.js +1 -1
  48. package/containerregistry/v20190501/registry.js.map +1 -1
  49. package/containerregistry/v20190501/replication.js +1 -1
  50. package/containerregistry/v20190501/replication.js.map +1 -1
  51. package/containerregistry/v20190501/webhook.js +1 -1
  52. package/containerregistry/v20190501/webhook.js.map +1 -1
  53. package/containerregistry/v20191201preview/privateEndpointConnection.js +1 -1
  54. package/containerregistry/v20191201preview/privateEndpointConnection.js.map +1 -1
  55. package/containerregistry/v20191201preview/registry.js +1 -1
  56. package/containerregistry/v20191201preview/registry.js.map +1 -1
  57. package/containerregistry/v20191201preview/replication.js +1 -1
  58. package/containerregistry/v20191201preview/replication.js.map +1 -1
  59. package/containerregistry/v20191201preview/webhook.js +1 -1
  60. package/containerregistry/v20191201preview/webhook.js.map +1 -1
  61. package/containerregistry/v20201101preview/privateEndpointConnection.js +1 -1
  62. package/containerregistry/v20201101preview/privateEndpointConnection.js.map +1 -1
  63. package/containerregistry/v20201101preview/registry.js +1 -1
  64. package/containerregistry/v20201101preview/registry.js.map +1 -1
  65. package/containerregistry/v20201101preview/replication.js +1 -1
  66. package/containerregistry/v20201101preview/replication.js.map +1 -1
  67. package/containerregistry/v20201101preview/webhook.js +1 -1
  68. package/containerregistry/v20201101preview/webhook.js.map +1 -1
  69. package/containerregistry/v20210601preview/privateEndpointConnection.js +1 -1
  70. package/containerregistry/v20210601preview/privateEndpointConnection.js.map +1 -1
  71. package/containerregistry/v20210601preview/registry.js +1 -1
  72. package/containerregistry/v20210601preview/registry.js.map +1 -1
  73. package/containerregistry/v20210601preview/replication.js +1 -1
  74. package/containerregistry/v20210601preview/replication.js.map +1 -1
  75. package/containerregistry/v20210601preview/webhook.js +1 -1
  76. package/containerregistry/v20210601preview/webhook.js.map +1 -1
  77. package/containerregistry/v20210801preview/privateEndpointConnection.js +1 -1
  78. package/containerregistry/v20210801preview/privateEndpointConnection.js.map +1 -1
  79. package/containerregistry/v20210801preview/registry.js +1 -1
  80. package/containerregistry/v20210801preview/registry.js.map +1 -1
  81. package/containerregistry/v20210801preview/replication.js +1 -1
  82. package/containerregistry/v20210801preview/replication.js.map +1 -1
  83. package/containerregistry/v20210801preview/webhook.js +1 -1
  84. package/containerregistry/v20210801preview/webhook.js.map +1 -1
  85. package/containerregistry/v20210901/getPrivateEndpointConnection.d.ts +68 -0
  86. package/containerregistry/v20210901/getPrivateEndpointConnection.js +29 -0
  87. package/containerregistry/v20210901/getPrivateEndpointConnection.js.map +1 -0
  88. package/containerregistry/v20210901/getRegistry.d.ts +122 -0
  89. package/containerregistry/v20210901/getRegistry.js +28 -0
  90. package/containerregistry/v20210901/getRegistry.js.map +1 -0
  91. package/containerregistry/v20210901/getReplication.d.ts +82 -0
  92. package/containerregistry/v20210901/getReplication.js +29 -0
  93. package/containerregistry/v20210901/getReplication.js.map +1 -0
  94. package/containerregistry/v20210901/getWebhook.d.ts +82 -0
  95. package/containerregistry/v20210901/getWebhook.js +29 -0
  96. package/containerregistry/v20210901/getWebhook.js.map +1 -0
  97. package/containerregistry/v20210901/getWebhookCallbackConfig.d.ts +49 -0
  98. package/containerregistry/v20210901/getWebhookCallbackConfig.js +29 -0
  99. package/containerregistry/v20210901/getWebhookCallbackConfig.js.map +1 -0
  100. package/containerregistry/v20210901/index.d.ts +12 -0
  101. package/containerregistry/v20210901/index.js +54 -0
  102. package/containerregistry/v20210901/index.js.map +1 -0
  103. package/containerregistry/v20210901/listRegistryCredentials.d.ts +40 -0
  104. package/containerregistry/v20210901/listRegistryCredentials.js +28 -0
  105. package/containerregistry/v20210901/listRegistryCredentials.js.map +1 -0
  106. package/containerregistry/v20210901/listWebhookEvents.d.ts +48 -0
  107. package/containerregistry/v20210901/listWebhookEvents.js +29 -0
  108. package/containerregistry/v20210901/listWebhookEvents.js.map +1 -0
  109. package/containerregistry/v20210901/privateEndpointConnection.d.ts +78 -0
  110. package/containerregistry/v20210901/privateEndpointConnection.js +79 -0
  111. package/containerregistry/v20210901/privateEndpointConnection.js.map +1 -0
  112. package/containerregistry/v20210901/registry.d.ts +178 -0
  113. package/containerregistry/v20210901/registry.js +109 -0
  114. package/containerregistry/v20210901/registry.js.map +1 -0
  115. package/containerregistry/v20210901/replication.d.ts +102 -0
  116. package/containerregistry/v20210901/replication.js +86 -0
  117. package/containerregistry/v20210901/replication.js.map +1 -0
  118. package/containerregistry/v20210901/webhook.d.ts +116 -0
  119. package/containerregistry/v20210901/webhook.js +93 -0
  120. package/containerregistry/v20210901/webhook.js.map +1 -0
  121. package/containerregistry/webhook.js +1 -1
  122. package/containerregistry/webhook.js.map +1 -1
  123. package/index.d.ts +2 -1
  124. package/index.js +4 -2
  125. package/index.js.map +1 -1
  126. package/insights/v20150501/workbook.js +1 -1
  127. package/insights/v20150501/workbook.js.map +1 -1
  128. package/insights/v20180617preview/workbook.js +1 -1
  129. package/insights/v20180617preview/workbook.js.map +1 -1
  130. package/insights/v20201020/workbook.js +1 -1
  131. package/insights/v20201020/workbook.js.map +1 -1
  132. package/insights/v20210308/workbook.js +1 -1
  133. package/insights/v20210308/workbook.js.map +1 -1
  134. package/insights/v20210801/getWorkbook.d.ts +112 -0
  135. package/insights/v20210801/getWorkbook.js +28 -0
  136. package/insights/v20210801/getWorkbook.js.map +1 -0
  137. package/insights/v20210801/index.d.ts +2 -0
  138. package/insights/v20210801/index.js +5 -0
  139. package/insights/v20210801/index.js.map +1 -1
  140. package/insights/v20210801/workbook.d.ts +170 -0
  141. package/insights/v20210801/workbook.js +108 -0
  142. package/insights/v20210801/workbook.js.map +1 -0
  143. package/insights/workbook.js +1 -1
  144. package/insights/workbook.js.map +1 -1
  145. package/kubernetesconfiguration/extension.js +1 -1
  146. package/kubernetesconfiguration/extension.js.map +1 -1
  147. package/kubernetesconfiguration/fluxConfiguration.js +1 -1
  148. package/kubernetesconfiguration/fluxConfiguration.js.map +1 -1
  149. package/kubernetesconfiguration/index.d.ts +2 -1
  150. package/kubernetesconfiguration/index.js +3 -1
  151. package/kubernetesconfiguration/index.js.map +1 -1
  152. package/kubernetesconfiguration/sourceControlConfiguration.js +1 -1
  153. package/kubernetesconfiguration/sourceControlConfiguration.js.map +1 -1
  154. package/kubernetesconfiguration/v20191101preview/sourceControlConfiguration.js +1 -1
  155. package/kubernetesconfiguration/v20191101preview/sourceControlConfiguration.js.map +1 -1
  156. package/kubernetesconfiguration/v20200701preview/extension.js +1 -1
  157. package/kubernetesconfiguration/v20200701preview/extension.js.map +1 -1
  158. package/kubernetesconfiguration/v20200701preview/sourceControlConfiguration.js +1 -1
  159. package/kubernetesconfiguration/v20200701preview/sourceControlConfiguration.js.map +1 -1
  160. package/kubernetesconfiguration/v20201001preview/sourceControlConfiguration.js +1 -1
  161. package/kubernetesconfiguration/v20201001preview/sourceControlConfiguration.js.map +1 -1
  162. package/kubernetesconfiguration/v20210301/sourceControlConfiguration.js +1 -1
  163. package/kubernetesconfiguration/v20210301/sourceControlConfiguration.js.map +1 -1
  164. package/kubernetesconfiguration/v20210501preview/extension.js +1 -1
  165. package/kubernetesconfiguration/v20210501preview/extension.js.map +1 -1
  166. package/kubernetesconfiguration/v20210501preview/sourceControlConfiguration.js +1 -1
  167. package/kubernetesconfiguration/v20210501preview/sourceControlConfiguration.js.map +1 -1
  168. package/kubernetesconfiguration/v20210901/extension.js +1 -1
  169. package/kubernetesconfiguration/v20210901/extension.js.map +1 -1
  170. package/kubernetesconfiguration/v20211101preview/extension.js +1 -1
  171. package/kubernetesconfiguration/v20211101preview/extension.js.map +1 -1
  172. package/kubernetesconfiguration/v20211101preview/fluxConfiguration.js +1 -1
  173. package/kubernetesconfiguration/v20211101preview/fluxConfiguration.js.map +1 -1
  174. package/kubernetesconfiguration/v20211101preview/sourceControlConfiguration.js +1 -1
  175. package/kubernetesconfiguration/v20211101preview/sourceControlConfiguration.js.map +1 -1
  176. package/kubernetesconfiguration/v20220101preview/extension.d.ts +172 -0
  177. package/kubernetesconfiguration/v20220101preview/extension.js +110 -0
  178. package/kubernetesconfiguration/v20220101preview/extension.js.map +1 -0
  179. package/kubernetesconfiguration/v20220101preview/fluxConfiguration.d.ts +166 -0
  180. package/kubernetesconfiguration/v20220101preview/fluxConfiguration.js +112 -0
  181. package/kubernetesconfiguration/v20220101preview/fluxConfiguration.js.map +1 -0
  182. package/kubernetesconfiguration/v20220101preview/getExtension.d.ts +134 -0
  183. package/kubernetesconfiguration/v20220101preview/getExtension.js +31 -0
  184. package/kubernetesconfiguration/v20220101preview/getExtension.js.map +1 -0
  185. package/kubernetesconfiguration/v20220101preview/getFluxConfiguration.d.ts +136 -0
  186. package/kubernetesconfiguration/v20220101preview/getFluxConfiguration.js +31 -0
  187. package/kubernetesconfiguration/v20220101preview/getFluxConfiguration.js.map +1 -0
  188. package/kubernetesconfiguration/v20220101preview/getSourceControlConfiguration.d.ts +126 -0
  189. package/kubernetesconfiguration/v20220101preview/getSourceControlConfiguration.js +31 -0
  190. package/kubernetesconfiguration/v20220101preview/getSourceControlConfiguration.js.map +1 -0
  191. package/kubernetesconfiguration/v20220101preview/index.d.ts +7 -0
  192. package/kubernetesconfiguration/v20220101preview/index.js +46 -0
  193. package/kubernetesconfiguration/v20220101preview/index.js.map +1 -0
  194. package/kubernetesconfiguration/v20220101preview/sourceControlConfiguration.d.ts +162 -0
  195. package/kubernetesconfiguration/v20220101preview/sourceControlConfiguration.js +108 -0
  196. package/kubernetesconfiguration/v20220101preview/sourceControlConfiguration.js.map +1 -0
  197. package/orbital/contact.d.ts +139 -0
  198. package/orbital/contact.js +118 -0
  199. package/orbital/contact.js.map +1 -0
  200. package/orbital/contactProfile.d.ts +111 -0
  201. package/orbital/contactProfile.js +87 -0
  202. package/orbital/contactProfile.js.map +1 -0
  203. package/orbital/getContact.d.ts +121 -0
  204. package/orbital/getContact.js +30 -0
  205. package/orbital/getContact.js.map +1 -0
  206. package/orbital/getContactProfile.d.ts +79 -0
  207. package/orbital/getContactProfile.js +29 -0
  208. package/orbital/getContactProfile.js.map +1 -0
  209. package/orbital/getSpacecraft.d.ts +91 -0
  210. package/orbital/getSpacecraft.js +29 -0
  211. package/orbital/getSpacecraft.js.map +1 -0
  212. package/orbital/index.d.ts +10 -0
  213. package/orbital/index.js +51 -0
  214. package/orbital/index.js.map +1 -0
  215. package/orbital/listSpacecraftAvailableContacts.d.ts +73 -0
  216. package/orbital/listSpacecraftAvailableContacts.js +33 -0
  217. package/orbital/listSpacecraftAvailableContacts.js.map +1 -0
  218. package/orbital/spacecraft.d.ts +127 -0
  219. package/orbital/spacecraft.js +93 -0
  220. package/orbital/spacecraft.js.map +1 -0
  221. package/orbital/v20210404preview/contact.d.ts +138 -0
  222. package/orbital/v20210404preview/contact.js +117 -0
  223. package/orbital/v20210404preview/contact.js.map +1 -0
  224. package/orbital/v20210404preview/contactProfile.d.ts +110 -0
  225. package/orbital/v20210404preview/contactProfile.js +86 -0
  226. package/orbital/v20210404preview/contactProfile.js.map +1 -0
  227. package/orbital/v20210404preview/getContact.d.ts +120 -0
  228. package/orbital/v20210404preview/getContact.js +29 -0
  229. package/orbital/v20210404preview/getContact.js.map +1 -0
  230. package/orbital/v20210404preview/getContactProfile.d.ts +78 -0
  231. package/orbital/v20210404preview/getContactProfile.js +28 -0
  232. package/orbital/v20210404preview/getContactProfile.js.map +1 -0
  233. package/orbital/v20210404preview/getSpacecraft.d.ts +90 -0
  234. package/orbital/v20210404preview/getSpacecraft.js +28 -0
  235. package/orbital/v20210404preview/getSpacecraft.js.map +1 -0
  236. package/orbital/v20210404preview/index.d.ts +8 -0
  237. package/orbital/v20210404preview/index.js +47 -0
  238. package/orbital/v20210404preview/index.js.map +1 -0
  239. package/orbital/v20210404preview/listSpacecraftAvailableContacts.d.ts +72 -0
  240. package/orbital/v20210404preview/listSpacecraftAvailableContacts.js +32 -0
  241. package/orbital/v20210404preview/listSpacecraftAvailableContacts.js.map +1 -0
  242. package/orbital/v20210404preview/spacecraft.d.ts +126 -0
  243. package/orbital/v20210404preview/spacecraft.js +92 -0
  244. package/orbital/v20210404preview/spacecraft.js.map +1 -0
  245. package/package.json +2 -2
  246. package/package.json.dev +1 -1
  247. package/provider.js +12 -12
  248. package/provider.js.map +1 -1
  249. package/streamanalytics/cluster.js +1 -1
  250. package/streamanalytics/cluster.js.map +1 -1
  251. package/streamanalytics/privateEndpoint.js +1 -1
  252. package/streamanalytics/privateEndpoint.js.map +1 -1
  253. package/streamanalytics/v20200301/cluster.d.ts +102 -0
  254. package/streamanalytics/v20200301/cluster.js +85 -0
  255. package/streamanalytics/v20200301/cluster.js.map +1 -0
  256. package/streamanalytics/v20200301/getCluster.d.ts +82 -0
  257. package/streamanalytics/v20200301/getCluster.js +28 -0
  258. package/streamanalytics/v20200301/getCluster.js.map +1 -0
  259. package/streamanalytics/v20200301/getPrivateEndpoint.d.ts +64 -0
  260. package/streamanalytics/v20200301/getPrivateEndpoint.js +29 -0
  261. package/streamanalytics/v20200301/getPrivateEndpoint.js.map +1 -0
  262. package/streamanalytics/v20200301/index.d.ts +5 -0
  263. package/streamanalytics/v20200301/index.js +11 -0
  264. package/streamanalytics/v20200301/index.js.map +1 -1
  265. package/streamanalytics/v20200301/listClusterStreamingJobs.d.ts +40 -0
  266. package/streamanalytics/v20200301/listClusterStreamingJobs.js +28 -0
  267. package/streamanalytics/v20200301/listClusterStreamingJobs.js.map +1 -0
  268. package/streamanalytics/v20200301/privateEndpoint.d.ts +70 -0
  269. package/streamanalytics/v20200301/privateEndpoint.js +77 -0
  270. package/streamanalytics/v20200301/privateEndpoint.js.map +1 -0
  271. package/streamanalytics/v20200301preview/cluster.js +1 -1
  272. package/streamanalytics/v20200301preview/cluster.js.map +1 -1
  273. package/streamanalytics/v20200301preview/privateEndpoint.js +1 -1
  274. package/streamanalytics/v20200301preview/privateEndpoint.js.map +1 -1
  275. package/types/enums/botservice/index.d.ts +8 -0
  276. package/types/enums/botservice/index.js +5 -1
  277. package/types/enums/botservice/index.js.map +1 -1
  278. package/types/enums/botservice/v20210301/index.d.ts +8 -0
  279. package/types/enums/botservice/v20210301/index.js +5 -1
  280. package/types/enums/botservice/v20210301/index.js.map +1 -1
  281. package/types/enums/botservice/v20210501preview/index.d.ts +8 -0
  282. package/types/enums/botservice/v20210501preview/index.js +5 -1
  283. package/types/enums/botservice/v20210501preview/index.js.map +1 -1
  284. package/types/enums/containerregistry/index.d.ts +2 -1
  285. package/types/enums/containerregistry/index.js +3 -1
  286. package/types/enums/containerregistry/index.js.map +1 -1
  287. package/types/enums/containerregistry/v20210901/index.d.ts +124 -0
  288. package/types/enums/containerregistry/v20210901/index.js +73 -0
  289. package/types/enums/containerregistry/v20210901/index.js.map +1 -0
  290. package/types/enums/index.d.ts +2 -1
  291. package/types/enums/index.js +4 -2
  292. package/types/enums/index.js.map +1 -1
  293. package/types/enums/insights/v20210801/index.d.ts +13 -3
  294. package/types/enums/insights/v20210801/index.js +9 -3
  295. package/types/enums/insights/v20210801/index.js.map +1 -1
  296. package/types/enums/kubernetesconfiguration/index.d.ts +2 -1
  297. package/types/enums/kubernetesconfiguration/index.js +3 -1
  298. package/types/enums/kubernetesconfiguration/index.js.map +1 -1
  299. package/types/enums/kubernetesconfiguration/v20220101preview/index.d.ts +47 -0
  300. package/types/enums/kubernetesconfiguration/v20220101preview/index.js +29 -0
  301. package/types/enums/kubernetesconfiguration/v20220101preview/index.js.map +1 -0
  302. package/types/enums/orbital/index.d.ts +38 -0
  303. package/types/enums/orbital/index.js +29 -0
  304. package/types/enums/orbital/index.js.map +1 -0
  305. package/types/enums/orbital/v20210404preview/index.d.ts +36 -0
  306. package/types/enums/orbital/v20210404preview/index.js +26 -0
  307. package/types/enums/orbital/v20210404preview/index.js.map +1 -0
  308. package/types/enums/streamanalytics/v20200301/index.d.ts +10 -0
  309. package/types/enums/streamanalytics/v20200301/index.js +7 -1
  310. package/types/enums/streamanalytics/v20200301/index.js.map +1 -1
  311. package/types/enums/videoindexer/index.d.ts +2 -1
  312. package/types/enums/videoindexer/index.js +3 -1
  313. package/types/enums/videoindexer/index.js.map +1 -1
  314. package/types/enums/videoindexer/v20211110preview/index.d.ts +10 -0
  315. package/types/enums/videoindexer/v20211110preview/index.js +12 -0
  316. package/types/enums/videoindexer/v20211110preview/index.js.map +1 -0
  317. package/types/input.d.ts +955 -96
  318. package/types/output.d.ts +1794 -125
  319. package/videoindexer/account.js +1 -1
  320. package/videoindexer/account.js.map +1 -1
  321. package/videoindexer/index.d.ts +2 -1
  322. package/videoindexer/index.js +3 -1
  323. package/videoindexer/index.js.map +1 -1
  324. package/videoindexer/v20211018preview/account.js +1 -1
  325. package/videoindexer/v20211018preview/account.js.map +1 -1
  326. package/videoindexer/v20211027preview/account.js +1 -1
  327. package/videoindexer/v20211027preview/account.js.map +1 -1
  328. package/videoindexer/v20211110preview/account.d.ts +114 -0
  329. package/videoindexer/v20211110preview/account.js +86 -0
  330. package/videoindexer/v20211110preview/account.js.map +1 -0
  331. package/videoindexer/v20211110preview/getAccount.d.ts +86 -0
  332. package/videoindexer/v20211110preview/getAccount.js +28 -0
  333. package/videoindexer/v20211110preview/getAccount.js.map +1 -0
  334. package/videoindexer/v20211110preview/index.d.ts +3 -0
  335. package/videoindexer/v20211110preview/index.js +36 -0
  336. package/videoindexer/v20211110preview/index.js.map +1 -0
@@ -0,0 +1,75 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * The Prometheus rule group resource.
5
+ * API Version: 2021-07-22-preview.
6
+ */
7
+ export declare function getPrometheusRuleGroup(args: GetPrometheusRuleGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetPrometheusRuleGroupResult>;
8
+ export interface GetPrometheusRuleGroupArgs {
9
+ /**
10
+ * The name of the resource group. The name is case insensitive.
11
+ */
12
+ resourceGroupName: string;
13
+ /**
14
+ * The name of the rule group.
15
+ */
16
+ ruleGroupName: string;
17
+ }
18
+ /**
19
+ * The Prometheus rule group resource.
20
+ */
21
+ export interface GetPrometheusRuleGroupResult {
22
+ /**
23
+ * the description of the Prometheus rule group that will be included in the alert email.
24
+ */
25
+ readonly description?: string;
26
+ /**
27
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
28
+ */
29
+ readonly id: string;
30
+ /**
31
+ * the interval in which to run the Prometheus rule group represented in ISO 8601 duration format.
32
+ */
33
+ readonly interval?: string;
34
+ /**
35
+ * The geo-location where the resource lives
36
+ */
37
+ readonly location: string;
38
+ /**
39
+ * The name of the resource
40
+ */
41
+ readonly name: string;
42
+ /**
43
+ * defines the rules in the Prometheus rule group.
44
+ */
45
+ readonly rules: outputs.alertsmanagement.PrometheusRuleResponse[];
46
+ /**
47
+ * the list of resource id's that this rule group is scoped to.
48
+ */
49
+ readonly scopes: string[];
50
+ /**
51
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
52
+ */
53
+ readonly systemData: outputs.alertsmanagement.SystemDataResponse;
54
+ /**
55
+ * Resource tags.
56
+ */
57
+ readonly tags?: {
58
+ [key: string]: string;
59
+ };
60
+ /**
61
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
62
+ */
63
+ readonly type: string;
64
+ }
65
+ export declare function getPrometheusRuleGroupOutput(args: GetPrometheusRuleGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPrometheusRuleGroupResult>;
66
+ export interface GetPrometheusRuleGroupOutputArgs {
67
+ /**
68
+ * The name of the resource group. The name is case insensitive.
69
+ */
70
+ resourceGroupName: pulumi.Input<string>;
71
+ /**
72
+ * The name of the rule group.
73
+ */
74
+ ruleGroupName: pulumi.Input<string>;
75
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getPrometheusRuleGroupOutput = exports.getPrometheusRuleGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * The Prometheus rule group resource.
10
+ * API Version: 2021-07-22-preview.
11
+ */
12
+ function getPrometheusRuleGroup(args, opts) {
13
+ if (!opts) {
14
+ opts = {};
15
+ }
16
+ if (!opts.version) {
17
+ opts.version = utilities.getVersion();
18
+ }
19
+ return pulumi.runtime.invoke("azure-native:alertsmanagement:getPrometheusRuleGroup", {
20
+ "resourceGroupName": args.resourceGroupName,
21
+ "ruleGroupName": args.ruleGroupName,
22
+ }, opts);
23
+ }
24
+ exports.getPrometheusRuleGroup = getPrometheusRuleGroup;
25
+ function getPrometheusRuleGroupOutput(args, opts) {
26
+ return pulumi.output(args).apply(a => getPrometheusRuleGroup(a, opts));
27
+ }
28
+ exports.getPrometheusRuleGroupOutput = getPrometheusRuleGroupOutput;
29
+ //# sourceMappingURL=getPrometheusRuleGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPrometheusRuleGroup.js","sourceRoot":"","sources":["../../alertsmanagement/getPrometheusRuleGroup.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;GAGG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,wDAYC;AA2DD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,oEAEC"}
@@ -1,8 +1,10 @@
1
1
  export * from "./actionRuleByName";
2
2
  export * from "./getActionRuleByName";
3
3
  export * from "./getHealthAlert";
4
+ export * from "./getPrometheusRuleGroup";
4
5
  export * from "./getSmartDetectorAlertRule";
5
6
  export * from "./healthAlert";
7
+ export * from "./prometheusRuleGroup";
6
8
  export * from "./smartDetectorAlertRule";
7
9
  export * from "../types/enums/alertsmanagement";
8
10
  import * as v20181102privatepreview from "./v20181102privatepreview";
@@ -11,5 +13,6 @@ import * as v20190505preview from "./v20190505preview";
11
13
  import * as v20190601 from "./v20190601";
12
14
  import * as v20200804preview from "./v20200804preview";
13
15
  import * as v20210401 from "./v20210401";
16
+ import * as v20210722preview from "./v20210722preview";
14
17
  import * as v20210808preview from "./v20210808preview";
15
- export { v20181102privatepreview, v20190301, v20190505preview, v20190601, v20200804preview, v20210401, v20210808preview, };
18
+ export { v20181102privatepreview, v20190301, v20190505preview, v20190601, v20200804preview, v20210401, v20210722preview, v20210808preview, };
@@ -12,15 +12,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
12
12
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.v20210808preview = exports.v20210401 = exports.v20200804preview = exports.v20190601 = exports.v20190505preview = exports.v20190301 = exports.v20181102privatepreview = void 0;
15
+ exports.v20210808preview = exports.v20210722preview = exports.v20210401 = exports.v20200804preview = exports.v20190601 = exports.v20190505preview = exports.v20190301 = exports.v20181102privatepreview = void 0;
16
16
  const pulumi = require("@pulumi/pulumi");
17
17
  const utilities = require("../utilities");
18
18
  // Export members:
19
19
  __exportStar(require("./actionRuleByName"), exports);
20
20
  __exportStar(require("./getActionRuleByName"), exports);
21
21
  __exportStar(require("./getHealthAlert"), exports);
22
+ __exportStar(require("./getPrometheusRuleGroup"), exports);
22
23
  __exportStar(require("./getSmartDetectorAlertRule"), exports);
23
24
  __exportStar(require("./healthAlert"), exports);
25
+ __exportStar(require("./prometheusRuleGroup"), exports);
24
26
  __exportStar(require("./smartDetectorAlertRule"), exports);
25
27
  // Export enums:
26
28
  __exportStar(require("../types/enums/alertsmanagement"), exports);
@@ -37,11 +39,14 @@ const v20200804preview = require("./v20200804preview");
37
39
  exports.v20200804preview = v20200804preview;
38
40
  const v20210401 = require("./v20210401");
39
41
  exports.v20210401 = v20210401;
42
+ const v20210722preview = require("./v20210722preview");
43
+ exports.v20210722preview = v20210722preview;
40
44
  const v20210808preview = require("./v20210808preview");
41
45
  exports.v20210808preview = v20210808preview;
42
46
  // Import resources to register:
43
47
  const actionRuleByName_1 = require("./actionRuleByName");
44
48
  const healthAlert_1 = require("./healthAlert");
49
+ const prometheusRuleGroup_1 = require("./prometheusRuleGroup");
45
50
  const smartDetectorAlertRule_1 = require("./smartDetectorAlertRule");
46
51
  const _module = {
47
52
  version: utilities.getVersion(),
@@ -51,6 +56,8 @@ const _module = {
51
56
  return new actionRuleByName_1.ActionRuleByName(name, undefined, { urn });
52
57
  case "azure-native:alertsmanagement:HealthAlert":
53
58
  return new healthAlert_1.HealthAlert(name, undefined, { urn });
59
+ case "azure-native:alertsmanagement:PrometheusRuleGroup":
60
+ return new prometheusRuleGroup_1.PrometheusRuleGroup(name, undefined, { urn });
54
61
  case "azure-native:alertsmanagement:SmartDetectorAlertRule":
55
62
  return new smartDetectorAlertRule_1.SmartDetectorAlertRule(name, undefined, { urn });
56
63
  default:
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../alertsmanagement/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,qDAAmC;AACnC,wDAAsC;AACtC,mDAAiC;AACjC,8DAA4C;AAC5C,gDAA8B;AAC9B,2DAAyC;AAEzC,gBAAgB;AAChB,kEAAgD;AAEhD,sBAAsB;AACtB,qEAAqE;AASjE,0DAAuB;AAR3B,yCAAyC;AASrC,8BAAS;AARb,uDAAuD;AASnD,4CAAgB;AARpB,yCAAyC;AASrC,8BAAS;AARb,uDAAuD;AASnD,4CAAgB;AARpB,yCAAyC;AASrC,8BAAS;AARb,uDAAuD;AASnD,4CAAgB;AAGpB,gCAAgC;AAChC,yDAAsD;AACtD,+CAA4C;AAC5C,qEAAkE;AAElE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,gDAAgD;gBACjD,OAAO,IAAI,mCAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D,KAAK,2CAA2C;gBAC5C,OAAO,IAAI,yBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,sDAAsD;gBACvD,OAAO,IAAI,+CAAsB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../alertsmanagement/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,qDAAmC;AACnC,wDAAsC;AACtC,mDAAiC;AACjC,2DAAyC;AACzC,8DAA4C;AAC5C,gDAA8B;AAC9B,wDAAsC;AACtC,2DAAyC;AAEzC,gBAAgB;AAChB,kEAAgD;AAEhD,sBAAsB;AACtB,qEAAqE;AAUjE,0DAAuB;AAT3B,yCAAyC;AAUrC,8BAAS;AATb,uDAAuD;AAUnD,4CAAgB;AATpB,yCAAyC;AAUrC,8BAAS;AATb,uDAAuD;AAUnD,4CAAgB;AATpB,yCAAyC;AAUrC,8BAAS;AATb,uDAAuD;AAUnD,4CAAgB;AATpB,uDAAuD;AAUnD,4CAAgB;AAGpB,gCAAgC;AAChC,yDAAsD;AACtD,+CAA4C;AAC5C,+DAA4D;AAC5D,qEAAkE;AAElE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,gDAAgD;gBACjD,OAAO,IAAI,mCAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D,KAAK,2CAA2C;gBAC5C,OAAO,IAAI,yBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,mDAAmD;gBACpD,OAAO,IAAI,yCAAmB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjE,KAAK,sDAAsD;gBACvD,OAAO,IAAI,+CAAsB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,107 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * The Prometheus rule group resource.
5
+ * API Version: 2021-07-22-preview.
6
+ */
7
+ export declare class PrometheusRuleGroup extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing PrometheusRuleGroup resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PrometheusRuleGroup;
17
+ /**
18
+ * Returns true if the given object is an instance of PrometheusRuleGroup. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is PrometheusRuleGroup;
22
+ /**
23
+ * the description of the Prometheus rule group that will be included in the alert email.
24
+ */
25
+ readonly description: pulumi.Output<string | undefined>;
26
+ /**
27
+ * the interval in which to run the Prometheus rule group represented in ISO 8601 duration format.
28
+ */
29
+ readonly interval: pulumi.Output<string | undefined>;
30
+ /**
31
+ * The geo-location where the resource lives
32
+ */
33
+ readonly location: pulumi.Output<string>;
34
+ /**
35
+ * The name of the resource
36
+ */
37
+ readonly name: pulumi.Output<string>;
38
+ /**
39
+ * defines the rules in the Prometheus rule group.
40
+ */
41
+ readonly rules: pulumi.Output<outputs.alertsmanagement.PrometheusRuleResponse[]>;
42
+ /**
43
+ * the list of resource id's that this rule group is scoped to.
44
+ */
45
+ readonly scopes: pulumi.Output<string[]>;
46
+ /**
47
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
48
+ */
49
+ readonly systemData: pulumi.Output<outputs.alertsmanagement.SystemDataResponse>;
50
+ /**
51
+ * Resource tags.
52
+ */
53
+ readonly tags: pulumi.Output<{
54
+ [key: string]: string;
55
+ } | undefined>;
56
+ /**
57
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
58
+ */
59
+ readonly type: pulumi.Output<string>;
60
+ /**
61
+ * Create a PrometheusRuleGroup resource with the given unique name, arguments, and options.
62
+ *
63
+ * @param name The _unique_ name of the resource.
64
+ * @param args The arguments to use to populate this resource's properties.
65
+ * @param opts A bag of options that control this resource's behavior.
66
+ */
67
+ constructor(name: string, args: PrometheusRuleGroupArgs, opts?: pulumi.CustomResourceOptions);
68
+ }
69
+ /**
70
+ * The set of arguments for constructing a PrometheusRuleGroup resource.
71
+ */
72
+ export interface PrometheusRuleGroupArgs {
73
+ /**
74
+ * the description of the Prometheus rule group that will be included in the alert email.
75
+ */
76
+ description?: pulumi.Input<string>;
77
+ /**
78
+ * the interval in which to run the Prometheus rule group represented in ISO 8601 duration format.
79
+ */
80
+ interval?: pulumi.Input<string>;
81
+ /**
82
+ * The geo-location where the resource lives
83
+ */
84
+ location?: pulumi.Input<string>;
85
+ /**
86
+ * The name of the resource group. The name is case insensitive.
87
+ */
88
+ resourceGroupName: pulumi.Input<string>;
89
+ /**
90
+ * The name of the rule group.
91
+ */
92
+ ruleGroupName?: pulumi.Input<string>;
93
+ /**
94
+ * defines the rules in the Prometheus rule group.
95
+ */
96
+ rules: pulumi.Input<pulumi.Input<inputs.alertsmanagement.PrometheusRuleArgs>[]>;
97
+ /**
98
+ * the list of resource id's that this rule group is scoped to.
99
+ */
100
+ scopes: pulumi.Input<pulumi.Input<string>[]>;
101
+ /**
102
+ * Resource tags.
103
+ */
104
+ tags?: pulumi.Input<{
105
+ [key: string]: pulumi.Input<string>;
106
+ }>;
107
+ }
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.PrometheusRuleGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * The Prometheus rule group resource.
10
+ * API Version: 2021-07-22-preview.
11
+ */
12
+ class PrometheusRuleGroup extends pulumi.CustomResource {
13
+ /**
14
+ * Create a PrometheusRuleGroup resource with the given unique name, arguments, and options.
15
+ *
16
+ * @param name The _unique_ name of the resource.
17
+ * @param args The arguments to use to populate this resource's properties.
18
+ * @param opts A bag of options that control this resource's behavior.
19
+ */
20
+ constructor(name, args, opts) {
21
+ let inputs = {};
22
+ opts = opts || {};
23
+ if (!opts.id) {
24
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
25
+ throw new Error("Missing required property 'resourceGroupName'");
26
+ }
27
+ if ((!args || args.rules === undefined) && !opts.urn) {
28
+ throw new Error("Missing required property 'rules'");
29
+ }
30
+ if ((!args || args.scopes === undefined) && !opts.urn) {
31
+ throw new Error("Missing required property 'scopes'");
32
+ }
33
+ inputs["description"] = args ? args.description : undefined;
34
+ inputs["interval"] = args ? args.interval : undefined;
35
+ inputs["location"] = args ? args.location : undefined;
36
+ inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
37
+ inputs["ruleGroupName"] = args ? args.ruleGroupName : undefined;
38
+ inputs["rules"] = args ? args.rules : undefined;
39
+ inputs["scopes"] = args ? args.scopes : undefined;
40
+ inputs["tags"] = args ? args.tags : undefined;
41
+ inputs["name"] = undefined /*out*/;
42
+ inputs["systemData"] = undefined /*out*/;
43
+ inputs["type"] = undefined /*out*/;
44
+ }
45
+ else {
46
+ inputs["description"] = undefined /*out*/;
47
+ inputs["interval"] = undefined /*out*/;
48
+ inputs["location"] = undefined /*out*/;
49
+ inputs["name"] = undefined /*out*/;
50
+ inputs["rules"] = undefined /*out*/;
51
+ inputs["scopes"] = undefined /*out*/;
52
+ inputs["systemData"] = undefined /*out*/;
53
+ inputs["tags"] = undefined /*out*/;
54
+ inputs["type"] = undefined /*out*/;
55
+ }
56
+ if (!opts.version) {
57
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
58
+ }
59
+ const aliasOpts = { aliases: [{ type: "azure-native:alertsmanagement/v20210722preview:PrometheusRuleGroup" }] };
60
+ opts = pulumi.mergeOptions(opts, aliasOpts);
61
+ super(PrometheusRuleGroup.__pulumiType, name, inputs, opts);
62
+ }
63
+ /**
64
+ * Get an existing PrometheusRuleGroup resource's state with the given name, ID, and optional extra
65
+ * properties used to qualify the lookup.
66
+ *
67
+ * @param name The _unique_ name of the resulting resource.
68
+ * @param id The _unique_ provider ID of the resource to lookup.
69
+ * @param opts Optional settings to control the behavior of the CustomResource.
70
+ */
71
+ static get(name, id, opts) {
72
+ return new PrometheusRuleGroup(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
73
+ }
74
+ /**
75
+ * Returns true if the given object is an instance of PrometheusRuleGroup. This is designed to work even
76
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
77
+ */
78
+ static isInstance(obj) {
79
+ if (obj === undefined || obj === null) {
80
+ return false;
81
+ }
82
+ return obj['__pulumiType'] === PrometheusRuleGroup.__pulumiType;
83
+ }
84
+ }
85
+ exports.PrometheusRuleGroup = PrometheusRuleGroup;
86
+ /** @internal */
87
+ PrometheusRuleGroup.__pulumiType = 'azure-native:alertsmanagement:PrometheusRuleGroup';
88
+ //# sourceMappingURL=prometheusRuleGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prometheusRuleGroup.js","sourceRoot":"","sources":["../../alertsmanagement/prometheusRuleGroup.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,74 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../../types";
3
+ /**
4
+ * The Prometheus rule group resource.
5
+ */
6
+ export declare function getPrometheusRuleGroup(args: GetPrometheusRuleGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetPrometheusRuleGroupResult>;
7
+ export interface GetPrometheusRuleGroupArgs {
8
+ /**
9
+ * The name of the resource group. The name is case insensitive.
10
+ */
11
+ resourceGroupName: string;
12
+ /**
13
+ * The name of the rule group.
14
+ */
15
+ ruleGroupName: string;
16
+ }
17
+ /**
18
+ * The Prometheus rule group resource.
19
+ */
20
+ export interface GetPrometheusRuleGroupResult {
21
+ /**
22
+ * the description of the Prometheus rule group that will be included in the alert email.
23
+ */
24
+ readonly description?: string;
25
+ /**
26
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
27
+ */
28
+ readonly id: string;
29
+ /**
30
+ * the interval in which to run the Prometheus rule group represented in ISO 8601 duration format.
31
+ */
32
+ readonly interval?: string;
33
+ /**
34
+ * The geo-location where the resource lives
35
+ */
36
+ readonly location: string;
37
+ /**
38
+ * The name of the resource
39
+ */
40
+ readonly name: string;
41
+ /**
42
+ * defines the rules in the Prometheus rule group.
43
+ */
44
+ readonly rules: outputs.alertsmanagement.v20210722preview.PrometheusRuleResponse[];
45
+ /**
46
+ * the list of resource id's that this rule group is scoped to.
47
+ */
48
+ readonly scopes: string[];
49
+ /**
50
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
51
+ */
52
+ readonly systemData: outputs.alertsmanagement.v20210722preview.SystemDataResponse;
53
+ /**
54
+ * Resource tags.
55
+ */
56
+ readonly tags?: {
57
+ [key: string]: string;
58
+ };
59
+ /**
60
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
61
+ */
62
+ readonly type: string;
63
+ }
64
+ export declare function getPrometheusRuleGroupOutput(args: GetPrometheusRuleGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPrometheusRuleGroupResult>;
65
+ export interface GetPrometheusRuleGroupOutputArgs {
66
+ /**
67
+ * The name of the resource group. The name is case insensitive.
68
+ */
69
+ resourceGroupName: pulumi.Input<string>;
70
+ /**
71
+ * The name of the rule group.
72
+ */
73
+ ruleGroupName: pulumi.Input<string>;
74
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getPrometheusRuleGroupOutput = exports.getPrometheusRuleGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * The Prometheus rule group resource.
10
+ */
11
+ function getPrometheusRuleGroup(args, opts) {
12
+ if (!opts) {
13
+ opts = {};
14
+ }
15
+ if (!opts.version) {
16
+ opts.version = utilities.getVersion();
17
+ }
18
+ return pulumi.runtime.invoke("azure-native:alertsmanagement/v20210722preview:getPrometheusRuleGroup", {
19
+ "resourceGroupName": args.resourceGroupName,
20
+ "ruleGroupName": args.ruleGroupName,
21
+ }, opts);
22
+ }
23
+ exports.getPrometheusRuleGroup = getPrometheusRuleGroup;
24
+ function getPrometheusRuleGroupOutput(args, opts) {
25
+ return pulumi.output(args).apply(a => getPrometheusRuleGroup(a, opts));
26
+ }
27
+ exports.getPrometheusRuleGroupOutput = getPrometheusRuleGroupOutput;
28
+ //# sourceMappingURL=getPrometheusRuleGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPrometheusRuleGroup.js","sourceRoot":"","sources":["../../../alertsmanagement/v20210722preview/getPrometheusRuleGroup.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,wDAYC;AA2DD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,oEAEC"}
@@ -0,0 +1,2 @@
1
+ export * from "./getPrometheusRuleGroup";
2
+ export * from "./prometheusRuleGroup";
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
7
+ }) : (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ o[k2] = m[k];
10
+ }));
11
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
12
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ const pulumi = require("@pulumi/pulumi");
16
+ const utilities = require("../../utilities");
17
+ // Export members:
18
+ __exportStar(require("./getPrometheusRuleGroup"), exports);
19
+ __exportStar(require("./prometheusRuleGroup"), exports);
20
+ // Import resources to register:
21
+ const prometheusRuleGroup_1 = require("./prometheusRuleGroup");
22
+ const _module = {
23
+ version: utilities.getVersion(),
24
+ construct: (name, type, urn) => {
25
+ switch (type) {
26
+ case "azure-native:alertsmanagement/v20210722preview:PrometheusRuleGroup":
27
+ return new prometheusRuleGroup_1.PrometheusRuleGroup(name, undefined, { urn });
28
+ default:
29
+ throw new Error(`unknown resource type ${type}`);
30
+ }
31
+ },
32
+ };
33
+ pulumi.runtime.registerResourceModule("azure-native", "alertsmanagement/v20210722preview", _module);
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../alertsmanagement/v20210722preview/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAE7C,kBAAkB;AAClB,2DAAyC;AACzC,wDAAsC;AAEtC,gCAAgC;AAChC,+DAA4D;AAE5D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,oEAAoE;gBACrE,OAAO,IAAI,yCAAmB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,mCAAmC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,106 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../../types";
3
+ /**
4
+ * The Prometheus rule group resource.
5
+ */
6
+ export declare class PrometheusRuleGroup extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing PrometheusRuleGroup resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PrometheusRuleGroup;
16
+ /**
17
+ * Returns true if the given object is an instance of PrometheusRuleGroup. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is PrometheusRuleGroup;
21
+ /**
22
+ * the description of the Prometheus rule group that will be included in the alert email.
23
+ */
24
+ readonly description: pulumi.Output<string | undefined>;
25
+ /**
26
+ * the interval in which to run the Prometheus rule group represented in ISO 8601 duration format.
27
+ */
28
+ readonly interval: pulumi.Output<string | undefined>;
29
+ /**
30
+ * The geo-location where the resource lives
31
+ */
32
+ readonly location: pulumi.Output<string>;
33
+ /**
34
+ * The name of the resource
35
+ */
36
+ readonly name: pulumi.Output<string>;
37
+ /**
38
+ * defines the rules in the Prometheus rule group.
39
+ */
40
+ readonly rules: pulumi.Output<outputs.alertsmanagement.v20210722preview.PrometheusRuleResponse[]>;
41
+ /**
42
+ * the list of resource id's that this rule group is scoped to.
43
+ */
44
+ readonly scopes: pulumi.Output<string[]>;
45
+ /**
46
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
47
+ */
48
+ readonly systemData: pulumi.Output<outputs.alertsmanagement.v20210722preview.SystemDataResponse>;
49
+ /**
50
+ * Resource tags.
51
+ */
52
+ readonly tags: pulumi.Output<{
53
+ [key: string]: string;
54
+ } | undefined>;
55
+ /**
56
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
57
+ */
58
+ readonly type: pulumi.Output<string>;
59
+ /**
60
+ * Create a PrometheusRuleGroup resource with the given unique name, arguments, and options.
61
+ *
62
+ * @param name The _unique_ name of the resource.
63
+ * @param args The arguments to use to populate this resource's properties.
64
+ * @param opts A bag of options that control this resource's behavior.
65
+ */
66
+ constructor(name: string, args: PrometheusRuleGroupArgs, opts?: pulumi.CustomResourceOptions);
67
+ }
68
+ /**
69
+ * The set of arguments for constructing a PrometheusRuleGroup resource.
70
+ */
71
+ export interface PrometheusRuleGroupArgs {
72
+ /**
73
+ * the description of the Prometheus rule group that will be included in the alert email.
74
+ */
75
+ description?: pulumi.Input<string>;
76
+ /**
77
+ * the interval in which to run the Prometheus rule group represented in ISO 8601 duration format.
78
+ */
79
+ interval?: pulumi.Input<string>;
80
+ /**
81
+ * The geo-location where the resource lives
82
+ */
83
+ location?: pulumi.Input<string>;
84
+ /**
85
+ * The name of the resource group. The name is case insensitive.
86
+ */
87
+ resourceGroupName: pulumi.Input<string>;
88
+ /**
89
+ * The name of the rule group.
90
+ */
91
+ ruleGroupName?: pulumi.Input<string>;
92
+ /**
93
+ * defines the rules in the Prometheus rule group.
94
+ */
95
+ rules: pulumi.Input<pulumi.Input<inputs.alertsmanagement.v20210722preview.PrometheusRuleArgs>[]>;
96
+ /**
97
+ * the list of resource id's that this rule group is scoped to.
98
+ */
99
+ scopes: pulumi.Input<pulumi.Input<string>[]>;
100
+ /**
101
+ * Resource tags.
102
+ */
103
+ tags?: pulumi.Input<{
104
+ [key: string]: pulumi.Input<string>;
105
+ }>;
106
+ }