@volcengine/pulumi 0.0.32 → 0.0.33

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 (482) hide show
  1. package/cen/bandwidthPackage.d.ts +15 -3
  2. package/cen/bandwidthPackage.js +2 -0
  3. package/cen/bandwidthPackage.js.map +1 -1
  4. package/cen/getGrantInstances.d.ts +106 -0
  5. package/cen/getGrantInstances.js +53 -0
  6. package/cen/getGrantInstances.js.map +1 -0
  7. package/cen/getInterRegionBandwidths.d.ts +12 -0
  8. package/cen/getInterRegionBandwidths.js +1 -0
  9. package/cen/getInterRegionBandwidths.js.map +1 -1
  10. package/cen/grantInstances.d.ts +108 -0
  11. package/cen/grantInstances.js +56 -0
  12. package/cen/grantInstances.js.map +1 -0
  13. package/cen/index.d.ts +6 -0
  14. package/cen/index.js +7 -1
  15. package/cen/index.js.map +1 -1
  16. package/cen/interRegionBandwidths.d.ts +12 -0
  17. package/cen/interRegionBandwidths.js +1 -0
  18. package/cen/interRegionBandwidths.js.map +1 -1
  19. package/cen/serviceRouteEntry.d.ts +2 -2
  20. package/cen/serviceRouteEntry.js +2 -2
  21. package/cr/getNamespaces.d.ts +9 -0
  22. package/cr/getNamespaces.js +1 -0
  23. package/cr/getNamespaces.js.map +1 -1
  24. package/cr/getRegistries.d.ts +9 -0
  25. package/cr/getRegistries.js +1 -0
  26. package/cr/getRegistries.js.map +1 -1
  27. package/cr/namespace.d.ts +12 -0
  28. package/cr/namespace.js +2 -0
  29. package/cr/namespace.js.map +1 -1
  30. package/cr/namespaces.d.ts +9 -0
  31. package/cr/namespaces.js +1 -0
  32. package/cr/namespaces.js.map +1 -1
  33. package/cr/registries.d.ts +9 -0
  34. package/cr/registries.js +1 -0
  35. package/cr/registries.js.map +1 -1
  36. package/cr/registry.d.ts +35 -3
  37. package/cr/registry.js +6 -2
  38. package/cr/registry.js.map +1 -1
  39. package/ebs/getMaxExtraPerformances.d.ts +22 -0
  40. package/ebs/getMaxExtraPerformances.js +22 -0
  41. package/ebs/getMaxExtraPerformances.js.map +1 -1
  42. package/ebs/maxExtraPerformances.d.ts +22 -0
  43. package/ebs/maxExtraPerformances.js +22 -0
  44. package/ebs/maxExtraPerformances.js.map +1 -1
  45. package/escloud_v2/escloudNodeAvailableSpecs.d.ts +73 -0
  46. package/escloud_v2/escloudNodeAvailableSpecs.js +46 -0
  47. package/escloud_v2/escloudNodeAvailableSpecs.js.map +1 -0
  48. package/escloud_v2/escloudZonesV2.d.ts +64 -0
  49. package/escloud_v2/escloudZonesV2.js +45 -0
  50. package/escloud_v2/escloudZonesV2.js.map +1 -0
  51. package/escloud_v2/getEscloudNodeAvailableSpecs.d.ts +71 -0
  52. package/escloud_v2/getEscloudNodeAvailableSpecs.js +43 -0
  53. package/escloud_v2/getEscloudNodeAvailableSpecs.js.map +1 -0
  54. package/escloud_v2/getEscloudZonesV2.d.ts +62 -0
  55. package/escloud_v2/getEscloudZonesV2.js +42 -0
  56. package/escloud_v2/getEscloudZonesV2.js.map +1 -0
  57. package/escloud_v2/index.d.ts +12 -0
  58. package/escloud_v2/index.js +13 -1
  59. package/escloud_v2/index.js.map +1 -1
  60. package/index.d.ts +4 -1
  61. package/index.js +8 -1
  62. package/index.js.map +1 -1
  63. package/kafka/allowList.d.ts +98 -0
  64. package/kafka/allowList.js +85 -0
  65. package/kafka/allowList.js.map +1 -0
  66. package/kafka/allowListAssociate.d.ts +90 -0
  67. package/kafka/allowListAssociate.js +87 -0
  68. package/kafka/allowListAssociate.js.map +1 -0
  69. package/kafka/allowLists.d.ts +91 -0
  70. package/kafka/allowLists.js +52 -0
  71. package/kafka/allowLists.js.map +1 -0
  72. package/kafka/getAllowLists.d.ts +89 -0
  73. package/kafka/getAllowLists.js +49 -0
  74. package/kafka/getAllowLists.js.map +1 -0
  75. package/kafka/index.d.ts +12 -0
  76. package/kafka/index.js +17 -1
  77. package/kafka/index.js.map +1 -1
  78. package/kms/getKeyrings.d.ts +154 -0
  79. package/kms/getKeyrings.js +69 -0
  80. package/kms/getKeyrings.js.map +1 -0
  81. package/kms/getKeys.d.ts +263 -0
  82. package/kms/getKeys.js +106 -0
  83. package/kms/getKeys.js.map +1 -0
  84. package/kms/getSecrets.d.ts +202 -0
  85. package/kms/getSecrets.js +73 -0
  86. package/kms/getSecrets.js.map +1 -0
  87. package/kms/index.d.ts +36 -0
  88. package/kms/index.js +65 -0
  89. package/kms/index.js.map +1 -0
  90. package/kms/key.d.ts +282 -0
  91. package/kms/key.js +127 -0
  92. package/kms/key.js.map +1 -0
  93. package/kms/keyArchive.d.ts +119 -0
  94. package/kms/keyArchive.js +94 -0
  95. package/kms/keyArchive.js.map +1 -0
  96. package/kms/keyEnable.d.ts +105 -0
  97. package/kms/keyEnable.js +80 -0
  98. package/kms/keyEnable.js.map +1 -0
  99. package/kms/keyRotation.d.ts +105 -0
  100. package/kms/keyRotation.js +80 -0
  101. package/kms/keyRotation.js.map +1 -0
  102. package/kms/keyring.d.ts +139 -0
  103. package/kms/keyring.js +89 -0
  104. package/kms/keyring.js.map +1 -0
  105. package/kms/keyrings.d.ts +156 -0
  106. package/kms/keyrings.js +72 -0
  107. package/kms/keyrings.js.map +1 -0
  108. package/kms/keys.d.ts +265 -0
  109. package/kms/keys.js +109 -0
  110. package/kms/keys.js.map +1 -0
  111. package/kms/secret.d.ts +264 -0
  112. package/kms/secret.js +122 -0
  113. package/kms/secret.js.map +1 -0
  114. package/kms/secrets.d.ts +204 -0
  115. package/kms/secrets.js +76 -0
  116. package/kms/secrets.js.map +1 -0
  117. package/mongodb/getInstanceParameterLogs.d.ts +1 -1
  118. package/mongodb/instanceParameter.d.ts +1 -1
  119. package/mongodb/instanceParameter.js +1 -1
  120. package/mongodb/instanceParameterLogs.d.ts +1 -1
  121. package/nas/autoSnapshotPolicies.d.ts +115 -0
  122. package/nas/autoSnapshotPolicies.js +66 -0
  123. package/nas/autoSnapshotPolicies.js.map +1 -0
  124. package/nas/autoSnapshotPolicy.d.ts +132 -0
  125. package/nas/autoSnapshotPolicy.js +94 -0
  126. package/nas/autoSnapshotPolicy.js.map +1 -0
  127. package/nas/autoSnapshotPolicyApply.d.ts +101 -0
  128. package/nas/autoSnapshotPolicyApply.js +98 -0
  129. package/nas/autoSnapshotPolicyApply.js.map +1 -0
  130. package/nas/getAutoSnapshotPolicies.d.ts +113 -0
  131. package/nas/getAutoSnapshotPolicies.js +63 -0
  132. package/nas/getAutoSnapshotPolicies.js.map +1 -0
  133. package/nas/index.d.ts +12 -0
  134. package/nas/index.js +17 -1
  135. package/nas/index.js.map +1 -1
  136. package/package.json +1 -1
  137. package/private_zone/getPrivateZones.d.ts +31 -0
  138. package/private_zone/getPrivateZones.js +3 -0
  139. package/private_zone/getPrivateZones.js.map +1 -1
  140. package/private_zone/getRecords.d.ts +19 -4
  141. package/private_zone/getRecords.js +1 -0
  142. package/private_zone/getRecords.js.map +1 -1
  143. package/private_zone/getResolverEndpoints.d.ts +22 -0
  144. package/private_zone/getResolverEndpoints.js +2 -0
  145. package/private_zone/getResolverEndpoints.js.map +1 -1
  146. package/private_zone/getResolverRules.d.ts +22 -0
  147. package/private_zone/getResolverRules.js +2 -0
  148. package/private_zone/getResolverRules.js.map +1 -1
  149. package/private_zone/privateZone.d.ts +44 -0
  150. package/private_zone/privateZone.js +11 -0
  151. package/private_zone/privateZone.js.map +1 -1
  152. package/private_zone/privateZones.d.ts +31 -0
  153. package/private_zone/privateZones.js +3 -0
  154. package/private_zone/privateZones.js.map +1 -1
  155. package/private_zone/record.d.ts +24 -0
  156. package/private_zone/record.js +4 -0
  157. package/private_zone/record.js.map +1 -1
  158. package/private_zone/records.d.ts +19 -4
  159. package/private_zone/records.js +1 -0
  160. package/private_zone/records.js.map +1 -1
  161. package/private_zone/resolverEndpoint.d.ts +45 -2
  162. package/private_zone/resolverEndpoint.js +11 -4
  163. package/private_zone/resolverEndpoint.js.map +1 -1
  164. package/private_zone/resolverEndpoints.d.ts +22 -0
  165. package/private_zone/resolverEndpoints.js +2 -0
  166. package/private_zone/resolverEndpoints.js.map +1 -1
  167. package/private_zone/resolverRule.d.ts +62 -3
  168. package/private_zone/resolverRule.js +13 -0
  169. package/private_zone/resolverRule.js.map +1 -1
  170. package/private_zone/resolverRules.d.ts +22 -0
  171. package/private_zone/resolverRules.js +2 -0
  172. package/private_zone/resolverRules.js.map +1 -1
  173. package/private_zone/userVpcAuthorization.d.ts +24 -0
  174. package/private_zone/userVpcAuthorization.js +4 -0
  175. package/private_zone/userVpcAuthorization.js.map +1 -1
  176. package/rabbitmq/getRegions.d.ts +62 -0
  177. package/rabbitmq/getRegions.js +42 -0
  178. package/rabbitmq/getRegions.js.map +1 -0
  179. package/rabbitmq/getZones.d.ts +62 -0
  180. package/rabbitmq/getZones.js +42 -0
  181. package/rabbitmq/getZones.js.map +1 -0
  182. package/rabbitmq/index.d.ts +12 -0
  183. package/rabbitmq/index.js +13 -1
  184. package/rabbitmq/index.js.map +1 -1
  185. package/rabbitmq/regions.d.ts +64 -0
  186. package/rabbitmq/regions.js +45 -0
  187. package/rabbitmq/regions.js.map +1 -0
  188. package/rabbitmq/zones.d.ts +64 -0
  189. package/rabbitmq/zones.js +45 -0
  190. package/rabbitmq/zones.js.map +1 -0
  191. package/rds_mysql/account.d.ts +53 -3
  192. package/rds_mysql/account.js +20 -0
  193. package/rds_mysql/account.js.map +1 -1
  194. package/rds_mysql/accountTableColumnInfos.d.ts +139 -0
  195. package/rds_mysql/accountTableColumnInfos.js +57 -0
  196. package/rds_mysql/accountTableColumnInfos.js.map +1 -0
  197. package/rds_mysql/backupPolicy.d.ts +30 -1
  198. package/rds_mysql/backupPolicy.js +12 -1
  199. package/rds_mysql/backupPolicy.js.map +1 -1
  200. package/rds_mysql/backups.d.ts +2 -16
  201. package/rds_mysql/backups.js +2 -16
  202. package/rds_mysql/backups.js.map +1 -1
  203. package/rds_mysql/database.d.ts +13 -0
  204. package/rds_mysql/database.js +3 -0
  205. package/rds_mysql/database.js.map +1 -1
  206. package/rds_mysql/endpoint.d.ts +32 -34
  207. package/rds_mysql/endpoint.js +10 -19
  208. package/rds_mysql/endpoint.js.map +1 -1
  209. package/rds_mysql/getAccountTableColumnInfos.d.ts +137 -0
  210. package/rds_mysql/getAccountTableColumnInfos.js +54 -0
  211. package/rds_mysql/getAccountTableColumnInfos.js.map +1 -0
  212. package/rds_mysql/getBackups.d.ts +2 -16
  213. package/rds_mysql/getBackups.js +2 -16
  214. package/rds_mysql/getBackups.js.map +1 -1
  215. package/rds_mysql/getInstances.d.ts +75 -0
  216. package/rds_mysql/getInstances.js +7 -0
  217. package/rds_mysql/getInstances.js.map +1 -1
  218. package/rds_mysql/getPlannedEvents.d.ts +132 -0
  219. package/rds_mysql/getPlannedEvents.js +52 -0
  220. package/rds_mysql/getPlannedEvents.js.map +1 -0
  221. package/rds_mysql/getTasks.d.ts +175 -0
  222. package/rds_mysql/getTasks.js +60 -0
  223. package/rds_mysql/getTasks.js.map +1 -0
  224. package/rds_mysql/index.d.ts +18 -0
  225. package/rds_mysql/index.js +20 -2
  226. package/rds_mysql/index.js.map +1 -1
  227. package/rds_mysql/instance.d.ts +167 -12
  228. package/rds_mysql/instance.js +40 -3
  229. package/rds_mysql/instance.js.map +1 -1
  230. package/rds_mysql/instanceReadonlyNode.d.ts +8 -0
  231. package/rds_mysql/instanceReadonlyNode.js +2 -0
  232. package/rds_mysql/instanceReadonlyNode.js.map +1 -1
  233. package/rds_mysql/instances.d.ts +75 -0
  234. package/rds_mysql/instances.js +7 -0
  235. package/rds_mysql/instances.js.map +1 -1
  236. package/rds_mysql/plannedEvents.d.ts +134 -0
  237. package/rds_mysql/plannedEvents.js +55 -0
  238. package/rds_mysql/plannedEvents.js.map +1 -0
  239. package/rds_mysql/tasks.d.ts +177 -0
  240. package/rds_mysql/tasks.js +63 -0
  241. package/rds_mysql/tasks.js.map +1 -0
  242. package/redis/allowList.d.ts +24 -0
  243. package/redis/allowList.js +6 -0
  244. package/redis/allowList.js.map +1 -1
  245. package/redis/allowLists.d.ts +39 -0
  246. package/redis/allowLists.js +4 -0
  247. package/redis/allowLists.js.map +1 -1
  248. package/redis/backup.d.ts +46 -7
  249. package/redis/backup.js +14 -3
  250. package/redis/backup.js.map +1 -1
  251. package/redis/backupRestore.d.ts +14 -2
  252. package/redis/backupRestore.js +2 -3
  253. package/redis/backupRestore.js.map +1 -1
  254. package/redis/backups.d.ts +47 -5
  255. package/redis/backups.js +5 -0
  256. package/redis/backups.js.map +1 -1
  257. package/redis/bigKeys.d.ts +181 -0
  258. package/redis/bigKeys.js +110 -0
  259. package/redis/bigKeys.js.map +1 -0
  260. package/redis/getAllowLists.d.ts +39 -0
  261. package/redis/getAllowLists.js +4 -0
  262. package/redis/getAllowLists.js.map +1 -1
  263. package/redis/getBackups.d.ts +47 -5
  264. package/redis/getBackups.js +5 -0
  265. package/redis/getBackups.js.map +1 -1
  266. package/redis/getBigKeys.d.ts +179 -0
  267. package/redis/getBigKeys.js +107 -0
  268. package/redis/getBigKeys.js.map +1 -0
  269. package/redis/getInstanceSpecs.d.ts +76 -0
  270. package/redis/getInstanceSpecs.js +29 -0
  271. package/redis/getInstanceSpecs.js.map +1 -0
  272. package/redis/getInstances.d.ts +3 -0
  273. package/redis/getInstances.js.map +1 -1
  274. package/redis/getParameterGroups.d.ts +79 -0
  275. package/redis/getParameterGroups.js +29 -0
  276. package/redis/getParameterGroups.js.map +1 -0
  277. package/redis/getPlannedEvents.d.ts +161 -0
  278. package/redis/getPlannedEvents.js +106 -0
  279. package/redis/getPlannedEvents.js.map +1 -0
  280. package/redis/index.d.ts +27 -0
  281. package/redis/index.js +31 -1
  282. package/redis/index.js.map +1 -1
  283. package/redis/instance.d.ts +85 -1
  284. package/redis/instance.js +14 -0
  285. package/redis/instance.js.map +1 -1
  286. package/redis/instanceSpecs.d.ts +78 -0
  287. package/redis/instanceSpecs.js +32 -0
  288. package/redis/instanceSpecs.js.map +1 -0
  289. package/redis/instances.d.ts +3 -0
  290. package/redis/instances.js.map +1 -1
  291. package/redis/parameterGroup.d.ts +118 -0
  292. package/redis/parameterGroup.js +93 -0
  293. package/redis/parameterGroup.js.map +1 -0
  294. package/redis/parameterGroups.d.ts +81 -0
  295. package/redis/parameterGroups.js +32 -0
  296. package/redis/parameterGroups.js.map +1 -0
  297. package/redis/plannedEvents.d.ts +163 -0
  298. package/redis/plannedEvents.js +109 -0
  299. package/redis/plannedEvents.js.map +1 -0
  300. package/tls/consumerGroup.d.ts +121 -0
  301. package/tls/consumerGroup.js +97 -0
  302. package/tls/consumerGroup.js.map +1 -0
  303. package/tls/consumerGroups.d.ts +139 -0
  304. package/tls/consumerGroups.js +52 -0
  305. package/tls/consumerGroups.js.map +1 -0
  306. package/tls/etlTask.d.ts +196 -0
  307. package/tls/etlTask.js +123 -0
  308. package/tls/etlTask.js.map +1 -0
  309. package/tls/etlTasks.d.ts +160 -0
  310. package/tls/etlTasks.js +54 -0
  311. package/tls/etlTasks.js.map +1 -0
  312. package/tls/getConsumerGroups.d.ts +137 -0
  313. package/tls/getConsumerGroups.js +49 -0
  314. package/tls/getConsumerGroups.js.map +1 -0
  315. package/tls/getEtlTasks.d.ts +158 -0
  316. package/tls/getEtlTasks.js +51 -0
  317. package/tls/getEtlTasks.js.map +1 -0
  318. package/tls/getImportTasks.d.ts +173 -0
  319. package/tls/getImportTasks.js +52 -0
  320. package/tls/getImportTasks.js.map +1 -0
  321. package/tls/getScheduleSqlTasks.d.ts +155 -0
  322. package/tls/getScheduleSqlTasks.js +51 -0
  323. package/tls/getScheduleSqlTasks.js.map +1 -0
  324. package/tls/getShippers.d.ts +164 -0
  325. package/tls/getShippers.js +51 -0
  326. package/tls/getShippers.js.map +1 -0
  327. package/tls/importTask.d.ts +175 -0
  328. package/tls/importTask.js +110 -0
  329. package/tls/importTask.js.map +1 -0
  330. package/tls/importTasks.d.ts +175 -0
  331. package/tls/importTasks.js +55 -0
  332. package/tls/importTasks.js.map +1 -0
  333. package/tls/index.d.ts +45 -0
  334. package/tls/index.js +57 -2
  335. package/tls/index.js.map +1 -1
  336. package/tls/scheduleSqlTask.d.ts +219 -0
  337. package/tls/scheduleSqlTask.js +135 -0
  338. package/tls/scheduleSqlTask.js.map +1 -0
  339. package/tls/scheduleSqlTasks.d.ts +157 -0
  340. package/tls/scheduleSqlTasks.js +54 -0
  341. package/tls/scheduleSqlTasks.js.map +1 -0
  342. package/tls/shipper.d.ts +191 -0
  343. package/tls/shipper.js +119 -0
  344. package/tls/shipper.js.map +1 -0
  345. package/tls/shippers.d.ts +166 -0
  346. package/tls/shippers.js +54 -0
  347. package/tls/shippers.js.map +1 -0
  348. package/types/input.d.ts +1107 -31
  349. package/types/output.d.ts +8576 -1522
  350. package/vefaas/function.d.ts +346 -0
  351. package/vefaas/function.js +126 -0
  352. package/vefaas/function.js.map +1 -0
  353. package/vefaas/functions.d.ts +73 -0
  354. package/vefaas/functions.js +46 -0
  355. package/vefaas/functions.js.map +1 -0
  356. package/vefaas/getFunctions.d.ts +71 -0
  357. package/vefaas/getFunctions.js +43 -0
  358. package/vefaas/getFunctions.js.map +1 -0
  359. package/vefaas/getKafkaTriggers.d.ts +87 -0
  360. package/vefaas/getKafkaTriggers.js +47 -0
  361. package/vefaas/getKafkaTriggers.js.map +1 -0
  362. package/vefaas/getReleases.d.ts +106 -0
  363. package/vefaas/getReleases.js +49 -0
  364. package/vefaas/getReleases.js.map +1 -0
  365. package/vefaas/getTimers.d.ts +87 -0
  366. package/vefaas/getTimers.js +47 -0
  367. package/vefaas/getTimers.js.map +1 -0
  368. package/vefaas/index.d.ts +36 -0
  369. package/vefaas/index.js +61 -0
  370. package/vefaas/index.js.map +1 -0
  371. package/vefaas/kafkaTrigger.d.ts +232 -0
  372. package/vefaas/kafkaTrigger.js +119 -0
  373. package/vefaas/kafkaTrigger.js.map +1 -0
  374. package/vefaas/kafkaTriggers.d.ts +89 -0
  375. package/vefaas/kafkaTriggers.js +50 -0
  376. package/vefaas/kafkaTriggers.js.map +1 -0
  377. package/vefaas/release.d.ts +211 -0
  378. package/vefaas/release.js +108 -0
  379. package/vefaas/release.js.map +1 -0
  380. package/vefaas/releases.d.ts +108 -0
  381. package/vefaas/releases.js +52 -0
  382. package/vefaas/releases.js.map +1 -0
  383. package/vefaas/timer.d.ts +170 -0
  384. package/vefaas/timer.js +95 -0
  385. package/vefaas/timer.js.map +1 -0
  386. package/vefaas/timers.d.ts +89 -0
  387. package/vefaas/timers.js +50 -0
  388. package/vefaas/timers.js.map +1 -0
  389. package/vmp/alertingRule.d.ts +300 -0
  390. package/vmp/alertingRule.js +220 -0
  391. package/vmp/alertingRule.js.map +1 -0
  392. package/vmp/alertingRules.d.ts +386 -0
  393. package/vmp/alertingRules.js +291 -0
  394. package/vmp/alertingRules.js.map +1 -0
  395. package/vmp/alerts.d.ts +119 -0
  396. package/vmp/alerts.js +54 -0
  397. package/vmp/alerts.js.map +1 -0
  398. package/vmp/contact.d.ts +181 -0
  399. package/vmp/contact.js +102 -0
  400. package/vmp/contact.js.map +1 -0
  401. package/vmp/contactGroup.d.ts +124 -0
  402. package/vmp/contactGroup.js +109 -0
  403. package/vmp/contactGroup.js.map +1 -0
  404. package/vmp/contactGroups.d.ts +167 -0
  405. package/vmp/contactGroups.js +129 -0
  406. package/vmp/contactGroups.js.map +1 -0
  407. package/vmp/contacts.d.ts +137 -0
  408. package/vmp/contacts.js +88 -0
  409. package/vmp/contacts.js.map +1 -0
  410. package/vmp/getAlertingRules.d.ts +384 -0
  411. package/vmp/getAlertingRules.js +288 -0
  412. package/vmp/getAlertingRules.js.map +1 -0
  413. package/vmp/getAlerts.d.ts +117 -0
  414. package/vmp/getAlerts.js +51 -0
  415. package/vmp/getAlerts.js.map +1 -0
  416. package/vmp/getContactGroups.d.ts +165 -0
  417. package/vmp/getContactGroups.js +126 -0
  418. package/vmp/getContactGroups.js.map +1 -0
  419. package/vmp/getContacts.d.ts +135 -0
  420. package/vmp/getContacts.js +85 -0
  421. package/vmp/getContacts.js.map +1 -0
  422. package/vmp/getInstanceTypes.d.ts +75 -0
  423. package/vmp/getInstanceTypes.js +47 -0
  424. package/vmp/getInstanceTypes.js.map +1 -0
  425. package/vmp/getNotifyGroupPolicies.d.ts +141 -0
  426. package/vmp/getNotifyGroupPolicies.js +102 -0
  427. package/vmp/getNotifyGroupPolicies.js.map +1 -0
  428. package/vmp/getNotifyPolicies.d.ts +221 -0
  429. package/vmp/getNotifyPolicies.js +160 -0
  430. package/vmp/getNotifyPolicies.js.map +1 -0
  431. package/vmp/getNotifyTemplates.d.ts +134 -0
  432. package/vmp/getNotifyTemplates.js +76 -0
  433. package/vmp/getNotifyTemplates.js.map +1 -0
  434. package/vmp/getRuleFiles.d.ts +152 -0
  435. package/vmp/getRuleFiles.js +93 -0
  436. package/vmp/getRuleFiles.js.map +1 -0
  437. package/vmp/getRules.d.ts +131 -0
  438. package/vmp/getRules.js +53 -0
  439. package/vmp/getRules.js.map +1 -0
  440. package/vmp/getWorkspaces.d.ts +146 -0
  441. package/vmp/getWorkspaces.js +68 -0
  442. package/vmp/getWorkspaces.js.map +1 -0
  443. package/vmp/index.d.ts +90 -0
  444. package/vmp/index.js +124 -0
  445. package/vmp/index.js.map +1 -0
  446. package/vmp/instanceTypes.d.ts +77 -0
  447. package/vmp/instanceTypes.js +50 -0
  448. package/vmp/instanceTypes.js.map +1 -0
  449. package/vmp/notifyGroupPolicies.d.ts +143 -0
  450. package/vmp/notifyGroupPolicies.js +105 -0
  451. package/vmp/notifyGroupPolicies.js.map +1 -0
  452. package/vmp/notifyGroupPolicy.d.ts +118 -0
  453. package/vmp/notifyGroupPolicy.js +100 -0
  454. package/vmp/notifyGroupPolicy.js.map +1 -0
  455. package/vmp/notifyPolicies.d.ts +223 -0
  456. package/vmp/notifyPolicies.js +163 -0
  457. package/vmp/notifyPolicies.js.map +1 -0
  458. package/vmp/notifyPolicy.d.ts +158 -0
  459. package/vmp/notifyPolicy.js +130 -0
  460. package/vmp/notifyPolicy.js.map +1 -0
  461. package/vmp/notifyTemplate.d.ts +144 -0
  462. package/vmp/notifyTemplate.js +100 -0
  463. package/vmp/notifyTemplate.js.map +1 -0
  464. package/vmp/notifyTemplates.d.ts +136 -0
  465. package/vmp/notifyTemplates.js +79 -0
  466. package/vmp/notifyTemplates.js.map +1 -0
  467. package/vmp/ruleFile.d.ts +163 -0
  468. package/vmp/ruleFile.js +110 -0
  469. package/vmp/ruleFile.js.map +1 -0
  470. package/vmp/ruleFiles.d.ts +154 -0
  471. package/vmp/ruleFiles.js +96 -0
  472. package/vmp/ruleFiles.js.map +1 -0
  473. package/vmp/rules.d.ts +133 -0
  474. package/vmp/rules.js +56 -0
  475. package/vmp/rules.js.map +1 -0
  476. package/vmp/workspace.d.ts +212 -0
  477. package/vmp/workspace.js +110 -0
  478. package/vmp/workspace.js.map +1 -0
  479. package/vmp/workspaces.d.ts +148 -0
  480. package/vmp/workspaces.js +71 -0
  481. package/vmp/workspaces.js.map +1 -0
  482. package/vpc/routeEntry.d.ts +3 -3
@@ -0,0 +1,220 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.AlertingRule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage vmp alerting rule
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const fooWorkspace = new volcengine.vmp.Workspace("fooWorkspace", {
17
+ * instanceTypeId: "vmp.standard.15d",
18
+ * deleteProtectionEnabled: false,
19
+ * description: "acc-test-1",
20
+ * username: "admin123",
21
+ * password: "Pass123456",
22
+ * });
23
+ * const fooContact = new volcengine.vmp.Contact("fooContact", {
24
+ * email: "acctest1@tftest.com",
25
+ * webhook: {
26
+ * address: "https://www.acctest1.com",
27
+ * },
28
+ * larkBotWebhook: {
29
+ * address: "https://www.acctest1.com",
30
+ * },
31
+ * dingTalkBotWebhook: {
32
+ * address: "https://www.dingacctest1.com",
33
+ * atMobiles: ["18046891812"],
34
+ * },
35
+ * phoneNumber: {
36
+ * countryCode: "+86",
37
+ * number: "18310101010",
38
+ * },
39
+ * });
40
+ * const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
41
+ * email: "acctest2@tftest.com",
42
+ * webhook: {
43
+ * address: "https://www.acctest2.com",
44
+ * },
45
+ * larkBotWebhook: {
46
+ * address: "https://www.acctest2.com",
47
+ * },
48
+ * dingTalkBotWebhook: {
49
+ * address: "https://www.dingacctest2.com",
50
+ * atMobiles: ["18046891813"],
51
+ * },
52
+ * phoneNumber: {
53
+ * countryCode: "+86",
54
+ * number: "18310101011",
55
+ * },
56
+ * });
57
+ * const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
58
+ * const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
59
+ * const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
60
+ * description: "acc-test-1",
61
+ * levels: [
62
+ * {
63
+ * level: "P1",
64
+ * contactGroupIds: [fooContactGroup.id],
65
+ * channels: [
66
+ * "Email",
67
+ * "Webhook",
68
+ * ],
69
+ * },
70
+ * {
71
+ * level: "P0",
72
+ * contactGroupIds: [foo1ContactGroup.id],
73
+ * channels: ["LarkBotWebhook"],
74
+ * },
75
+ * ],
76
+ * });
77
+ * const fooNotifyGroupPolicy = new volcengine.vmp.NotifyGroupPolicy("fooNotifyGroupPolicy", {
78
+ * description: "acc-test-1",
79
+ * levels: [
80
+ * {
81
+ * level: "P2",
82
+ * groupBies: ["__rule__"],
83
+ * groupWait: "35",
84
+ * groupInterval: "60",
85
+ * repeatInterval: "70",
86
+ * },
87
+ * {
88
+ * level: "P0",
89
+ * groupBies: ["__rule__"],
90
+ * groupWait: "30",
91
+ * groupInterval: "60",
92
+ * repeatInterval: "70",
93
+ * },
94
+ * {
95
+ * level: "P1",
96
+ * groupBies: ["__rule__"],
97
+ * groupWait: "40",
98
+ * groupInterval: "75",
99
+ * repeatInterval: "75",
100
+ * },
101
+ * ],
102
+ * });
103
+ * const fooAlertingRule = new volcengine.vmp.AlertingRule("fooAlertingRule", {
104
+ * description: "acc-test-1",
105
+ * notifyPolicyId: fooNotifyPolicy.id,
106
+ * notifyGroupPolicyId: fooNotifyGroupPolicy.id,
107
+ * query: {
108
+ * workspaceId: fooWorkspace.id,
109
+ * promQl: "sum(up)",
110
+ * },
111
+ * levels: [
112
+ * {
113
+ * level: "P0",
114
+ * "for": "0s",
115
+ * comparator: ">=",
116
+ * threshold: 2,
117
+ * },
118
+ * {
119
+ * level: "P1",
120
+ * "for": "0s",
121
+ * comparator: ">=",
122
+ * threshold: 1,
123
+ * },
124
+ * {
125
+ * level: "P2",
126
+ * "for": "0s",
127
+ * comparator: ">=",
128
+ * threshold: 0.5,
129
+ * },
130
+ * ],
131
+ * annotations: [{
132
+ * name: "annotation",
133
+ * value: "acc-test",
134
+ * }],
135
+ * labels: [{
136
+ * name: "label",
137
+ * value: "acc-test",
138
+ * }],
139
+ * });
140
+ * ```
141
+ *
142
+ * ## Import
143
+ *
144
+ * VmpAlertingRule can be imported using the id, e.g.
145
+ *
146
+ * ```sh
147
+ * $ pulumi import volcengine:vmp/alertingRule:AlertingRule default 5bd29e81-2717-4ac8-a1a6-d76da2b1****
148
+ * ```
149
+ */
150
+ class AlertingRule extends pulumi.CustomResource {
151
+ /**
152
+ * Get an existing AlertingRule resource's state with the given name, ID, and optional extra
153
+ * properties used to qualify the lookup.
154
+ *
155
+ * @param name The _unique_ name of the resulting resource.
156
+ * @param id The _unique_ provider ID of the resource to lookup.
157
+ * @param state Any extra arguments used during the lookup.
158
+ * @param opts Optional settings to control the behavior of the CustomResource.
159
+ */
160
+ static get(name, id, state, opts) {
161
+ return new AlertingRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
162
+ }
163
+ /**
164
+ * Returns true if the given object is an instance of AlertingRule. This is designed to work even
165
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
166
+ */
167
+ static isInstance(obj) {
168
+ if (obj === undefined || obj === null) {
169
+ return false;
170
+ }
171
+ return obj['__pulumiType'] === AlertingRule.__pulumiType;
172
+ }
173
+ constructor(name, argsOrState, opts) {
174
+ let resourceInputs = {};
175
+ opts = opts || {};
176
+ if (opts.id) {
177
+ const state = argsOrState;
178
+ resourceInputs["annotations"] = state ? state.annotations : undefined;
179
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
180
+ resourceInputs["description"] = state ? state.description : undefined;
181
+ resourceInputs["labels"] = state ? state.labels : undefined;
182
+ resourceInputs["levels"] = state ? state.levels : undefined;
183
+ resourceInputs["name"] = state ? state.name : undefined;
184
+ resourceInputs["notifyGroupPolicyId"] = state ? state.notifyGroupPolicyId : undefined;
185
+ resourceInputs["notifyPolicyId"] = state ? state.notifyPolicyId : undefined;
186
+ resourceInputs["query"] = state ? state.query : undefined;
187
+ resourceInputs["status"] = state ? state.status : undefined;
188
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
189
+ }
190
+ else {
191
+ const args = argsOrState;
192
+ if ((!args || args.levels === undefined) && !opts.urn) {
193
+ throw new Error("Missing required property 'levels'");
194
+ }
195
+ if ((!args || args.notifyGroupPolicyId === undefined) && !opts.urn) {
196
+ throw new Error("Missing required property 'notifyGroupPolicyId'");
197
+ }
198
+ if ((!args || args.query === undefined) && !opts.urn) {
199
+ throw new Error("Missing required property 'query'");
200
+ }
201
+ resourceInputs["annotations"] = args ? args.annotations : undefined;
202
+ resourceInputs["description"] = args ? args.description : undefined;
203
+ resourceInputs["labels"] = args ? args.labels : undefined;
204
+ resourceInputs["levels"] = args ? args.levels : undefined;
205
+ resourceInputs["name"] = args ? args.name : undefined;
206
+ resourceInputs["notifyGroupPolicyId"] = args ? args.notifyGroupPolicyId : undefined;
207
+ resourceInputs["notifyPolicyId"] = args ? args.notifyPolicyId : undefined;
208
+ resourceInputs["query"] = args ? args.query : undefined;
209
+ resourceInputs["createTime"] = undefined /*out*/;
210
+ resourceInputs["status"] = undefined /*out*/;
211
+ resourceInputs["updateTime"] = undefined /*out*/;
212
+ }
213
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
214
+ super(AlertingRule.__pulumiType, name, resourceInputs, opts);
215
+ }
216
+ }
217
+ exports.AlertingRule = AlertingRule;
218
+ /** @internal */
219
+ AlertingRule.__pulumiType = 'volcengine:vmp/alertingRule:AlertingRule';
220
+ //# sourceMappingURL=alertingRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alertingRule.js","sourceRoot":"","sources":["../../vmp/alertingRule.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,386 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of vmp alerting rules
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const fooWorkspace = new volcengine.vmp.Workspace("fooWorkspace", {
13
+ * instanceTypeId: "vmp.standard.15d",
14
+ * deleteProtectionEnabled: false,
15
+ * description: "acc-test-1",
16
+ * username: "admin123",
17
+ * password: "***********",
18
+ * });
19
+ * const fooContact = new volcengine.vmp.Contact("fooContact", {
20
+ * email: "acctest1@tftest.com",
21
+ * webhook: {
22
+ * address: "https://www.acctest1.com",
23
+ * },
24
+ * larkBotWebhook: {
25
+ * address: "https://www.acctest1.com",
26
+ * },
27
+ * dingTalkBotWebhook: {
28
+ * address: "https://www.dingacctest1.com",
29
+ * atMobiles: ["18046891812"],
30
+ * },
31
+ * phoneNumber: {
32
+ * countryCode: "+86",
33
+ * number: "18310101010",
34
+ * },
35
+ * });
36
+ * const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
37
+ * email: "acctest2@tftest.com",
38
+ * webhook: {
39
+ * address: "https://www.acctest2.com",
40
+ * },
41
+ * larkBotWebhook: {
42
+ * address: "https://www.acctest2.com",
43
+ * },
44
+ * dingTalkBotWebhook: {
45
+ * address: "https://www.dingacctest2.com",
46
+ * atMobiles: ["18046891813"],
47
+ * },
48
+ * phoneNumber: {
49
+ * countryCode: "+86",
50
+ * number: "18310101011",
51
+ * },
52
+ * });
53
+ * const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
54
+ * const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
55
+ * const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
56
+ * description: "acc-test-1",
57
+ * levels: [
58
+ * {
59
+ * level: "P1",
60
+ * contactGroupIds: [fooContactGroup.id],
61
+ * channels: [
62
+ * "Email",
63
+ * "Webhook",
64
+ * ],
65
+ * },
66
+ * {
67
+ * level: "P0",
68
+ * contactGroupIds: [foo1ContactGroup.id],
69
+ * channels: ["LarkBotWebhook"],
70
+ * },
71
+ * ],
72
+ * });
73
+ * const fooNotifyGroupPolicy = new volcengine.vmp.NotifyGroupPolicy("fooNotifyGroupPolicy", {
74
+ * description: "acc-test-1",
75
+ * levels: [
76
+ * {
77
+ * level: "P2",
78
+ * groupBies: ["__rule__"],
79
+ * groupWait: "35",
80
+ * groupInterval: "30",
81
+ * repeatInterval: "30",
82
+ * },
83
+ * {
84
+ * level: "P0",
85
+ * groupBies: ["__rule__"],
86
+ * groupWait: "30",
87
+ * groupInterval: "30",
88
+ * repeatInterval: "30",
89
+ * },
90
+ * {
91
+ * level: "P1",
92
+ * groupBies: ["__rule__"],
93
+ * groupWait: "40",
94
+ * groupInterval: "45",
95
+ * repeatInterval: "30",
96
+ * },
97
+ * ],
98
+ * });
99
+ * const fooAlertingRule = new volcengine.vmp.AlertingRule("fooAlertingRule", {
100
+ * description: "acc-test-1",
101
+ * notifyPolicyId: fooNotifyPolicy.id,
102
+ * notifyGroupPolicyId: fooNotifyGroupPolicy.id,
103
+ * query: {
104
+ * workspaceId: fooWorkspace.id,
105
+ * promQl: "sum(up)",
106
+ * },
107
+ * levels: [
108
+ * {
109
+ * level: "P0",
110
+ * "for": "0s",
111
+ * comparator: ">=",
112
+ * threshold: 2,
113
+ * },
114
+ * {
115
+ * level: "P1",
116
+ * "for": "0s",
117
+ * comparator: ">=",
118
+ * threshold: 1,
119
+ * },
120
+ * {
121
+ * level: "P2",
122
+ * "for": "0s",
123
+ * comparator: ">=",
124
+ * threshold: 0.5,
125
+ * },
126
+ * ],
127
+ * });
128
+ * const fooAlertingRules = volcengine.vmp.getAlertingRulesOutput({
129
+ * ids: [fooAlertingRule.id],
130
+ * });
131
+ * ```
132
+ */
133
+ /** @deprecated volcengine.vmp.AlertingRules has been deprecated in favor of volcengine.vmp.getAlertingRules */
134
+ export declare function alertingRules(args?: AlertingRulesArgs, opts?: pulumi.InvokeOptions): Promise<AlertingRulesResult>;
135
+ /**
136
+ * A collection of arguments for invoking AlertingRules.
137
+ */
138
+ export interface AlertingRulesArgs {
139
+ /**
140
+ * A list of vmp alerting rule IDs.
141
+ */
142
+ ids?: string[];
143
+ /**
144
+ * The name of vmp alerting rule. This field support fuzzy query.
145
+ */
146
+ name?: string;
147
+ /**
148
+ * A Name Regex of Resource.
149
+ */
150
+ nameRegex?: string;
151
+ /**
152
+ * A list of notify group policy IDs.
153
+ */
154
+ notifyGroupPolicyIds?: string[];
155
+ /**
156
+ * A list of notify policy IDs.
157
+ */
158
+ notifyPolicyIds?: string[];
159
+ /**
160
+ * File name where to save data source results.
161
+ */
162
+ outputFile?: string;
163
+ /**
164
+ * The status of vmp alerting rule. Valid values: `Running`, `Disabled`.
165
+ */
166
+ status?: string;
167
+ /**
168
+ * The type of vmp alerting rule. Valid values: `vmp/PromQL`.
169
+ */
170
+ type?: string;
171
+ /**
172
+ * The workspace id of vmp alerting rule.
173
+ */
174
+ workspaceId?: string;
175
+ }
176
+ /**
177
+ * A collection of values returned by AlertingRules.
178
+ */
179
+ export interface AlertingRulesResult {
180
+ /**
181
+ * The collection of query.
182
+ */
183
+ readonly alertingRules: outputs.vmp.AlertingRulesAlertingRule[];
184
+ /**
185
+ * The provider-assigned unique ID for this managed resource.
186
+ */
187
+ readonly id: string;
188
+ readonly ids?: string[];
189
+ /**
190
+ * The name of the vmp alerting rule.
191
+ */
192
+ readonly name?: string;
193
+ readonly nameRegex?: string;
194
+ readonly notifyGroupPolicyIds?: string[];
195
+ readonly notifyPolicyIds?: string[];
196
+ readonly outputFile?: string;
197
+ /**
198
+ * The status of the vmp alerting rule.
199
+ */
200
+ readonly status?: string;
201
+ /**
202
+ * The total count of query.
203
+ */
204
+ readonly totalCount: number;
205
+ /**
206
+ * The type of the vmp alerting rule.
207
+ */
208
+ readonly type?: string;
209
+ /**
210
+ * The id of the workspace.
211
+ */
212
+ readonly workspaceId?: string;
213
+ }
214
+ /**
215
+ * Use this data source to query detailed information of vmp alerting rules
216
+ * ## Example Usage
217
+ *
218
+ * ```typescript
219
+ * import * as pulumi from "@pulumi/pulumi";
220
+ * import * as volcengine from "@pulumi/volcengine";
221
+ * import * as volcengine from "@volcengine/pulumi";
222
+ *
223
+ * const fooWorkspace = new volcengine.vmp.Workspace("fooWorkspace", {
224
+ * instanceTypeId: "vmp.standard.15d",
225
+ * deleteProtectionEnabled: false,
226
+ * description: "acc-test-1",
227
+ * username: "admin123",
228
+ * password: "***********",
229
+ * });
230
+ * const fooContact = new volcengine.vmp.Contact("fooContact", {
231
+ * email: "acctest1@tftest.com",
232
+ * webhook: {
233
+ * address: "https://www.acctest1.com",
234
+ * },
235
+ * larkBotWebhook: {
236
+ * address: "https://www.acctest1.com",
237
+ * },
238
+ * dingTalkBotWebhook: {
239
+ * address: "https://www.dingacctest1.com",
240
+ * atMobiles: ["18046891812"],
241
+ * },
242
+ * phoneNumber: {
243
+ * countryCode: "+86",
244
+ * number: "18310101010",
245
+ * },
246
+ * });
247
+ * const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
248
+ * email: "acctest2@tftest.com",
249
+ * webhook: {
250
+ * address: "https://www.acctest2.com",
251
+ * },
252
+ * larkBotWebhook: {
253
+ * address: "https://www.acctest2.com",
254
+ * },
255
+ * dingTalkBotWebhook: {
256
+ * address: "https://www.dingacctest2.com",
257
+ * atMobiles: ["18046891813"],
258
+ * },
259
+ * phoneNumber: {
260
+ * countryCode: "+86",
261
+ * number: "18310101011",
262
+ * },
263
+ * });
264
+ * const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
265
+ * const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
266
+ * const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
267
+ * description: "acc-test-1",
268
+ * levels: [
269
+ * {
270
+ * level: "P1",
271
+ * contactGroupIds: [fooContactGroup.id],
272
+ * channels: [
273
+ * "Email",
274
+ * "Webhook",
275
+ * ],
276
+ * },
277
+ * {
278
+ * level: "P0",
279
+ * contactGroupIds: [foo1ContactGroup.id],
280
+ * channels: ["LarkBotWebhook"],
281
+ * },
282
+ * ],
283
+ * });
284
+ * const fooNotifyGroupPolicy = new volcengine.vmp.NotifyGroupPolicy("fooNotifyGroupPolicy", {
285
+ * description: "acc-test-1",
286
+ * levels: [
287
+ * {
288
+ * level: "P2",
289
+ * groupBies: ["__rule__"],
290
+ * groupWait: "35",
291
+ * groupInterval: "30",
292
+ * repeatInterval: "30",
293
+ * },
294
+ * {
295
+ * level: "P0",
296
+ * groupBies: ["__rule__"],
297
+ * groupWait: "30",
298
+ * groupInterval: "30",
299
+ * repeatInterval: "30",
300
+ * },
301
+ * {
302
+ * level: "P1",
303
+ * groupBies: ["__rule__"],
304
+ * groupWait: "40",
305
+ * groupInterval: "45",
306
+ * repeatInterval: "30",
307
+ * },
308
+ * ],
309
+ * });
310
+ * const fooAlertingRule = new volcengine.vmp.AlertingRule("fooAlertingRule", {
311
+ * description: "acc-test-1",
312
+ * notifyPolicyId: fooNotifyPolicy.id,
313
+ * notifyGroupPolicyId: fooNotifyGroupPolicy.id,
314
+ * query: {
315
+ * workspaceId: fooWorkspace.id,
316
+ * promQl: "sum(up)",
317
+ * },
318
+ * levels: [
319
+ * {
320
+ * level: "P0",
321
+ * "for": "0s",
322
+ * comparator: ">=",
323
+ * threshold: 2,
324
+ * },
325
+ * {
326
+ * level: "P1",
327
+ * "for": "0s",
328
+ * comparator: ">=",
329
+ * threshold: 1,
330
+ * },
331
+ * {
332
+ * level: "P2",
333
+ * "for": "0s",
334
+ * comparator: ">=",
335
+ * threshold: 0.5,
336
+ * },
337
+ * ],
338
+ * });
339
+ * const fooAlertingRules = volcengine.vmp.getAlertingRulesOutput({
340
+ * ids: [fooAlertingRule.id],
341
+ * });
342
+ * ```
343
+ */
344
+ /** @deprecated volcengine.vmp.AlertingRules has been deprecated in favor of volcengine.vmp.getAlertingRules */
345
+ export declare function alertingRulesOutput(args?: AlertingRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<AlertingRulesResult>;
346
+ /**
347
+ * A collection of arguments for invoking AlertingRules.
348
+ */
349
+ export interface AlertingRulesOutputArgs {
350
+ /**
351
+ * A list of vmp alerting rule IDs.
352
+ */
353
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
354
+ /**
355
+ * The name of vmp alerting rule. This field support fuzzy query.
356
+ */
357
+ name?: pulumi.Input<string>;
358
+ /**
359
+ * A Name Regex of Resource.
360
+ */
361
+ nameRegex?: pulumi.Input<string>;
362
+ /**
363
+ * A list of notify group policy IDs.
364
+ */
365
+ notifyGroupPolicyIds?: pulumi.Input<pulumi.Input<string>[]>;
366
+ /**
367
+ * A list of notify policy IDs.
368
+ */
369
+ notifyPolicyIds?: pulumi.Input<pulumi.Input<string>[]>;
370
+ /**
371
+ * File name where to save data source results.
372
+ */
373
+ outputFile?: pulumi.Input<string>;
374
+ /**
375
+ * The status of vmp alerting rule. Valid values: `Running`, `Disabled`.
376
+ */
377
+ status?: pulumi.Input<string>;
378
+ /**
379
+ * The type of vmp alerting rule. Valid values: `vmp/PromQL`.
380
+ */
381
+ type?: pulumi.Input<string>;
382
+ /**
383
+ * The workspace id of vmp alerting rule.
384
+ */
385
+ workspaceId?: pulumi.Input<string>;
386
+ }