@volcengine/pulumi 0.0.31 → 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 (519) 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/dns/backup.d.ts +10 -1
  40. package/dns/backup.js +10 -1
  41. package/dns/backup.js.map +1 -1
  42. package/dns/zone.d.ts +1 -1
  43. package/dns/zone.js +1 -1
  44. package/ebs/getMaxExtraPerformances.d.ts +104 -0
  45. package/ebs/getMaxExtraPerformances.js +52 -0
  46. package/ebs/getMaxExtraPerformances.js.map +1 -0
  47. package/ebs/index.d.ts +6 -0
  48. package/ebs/index.js +7 -1
  49. package/ebs/index.js.map +1 -1
  50. package/ebs/maxExtraPerformances.d.ts +106 -0
  51. package/ebs/maxExtraPerformances.js +55 -0
  52. package/ebs/maxExtraPerformances.js.map +1 -0
  53. package/ebs/volume.d.ts +22 -14
  54. package/ebs/volume.js +7 -2
  55. package/ebs/volume.js.map +1 -1
  56. package/escloud_v2/escloudInstanceV2.d.ts +19 -3
  57. package/escloud_v2/escloudInstanceV2.js +19 -3
  58. package/escloud_v2/escloudInstanceV2.js.map +1 -1
  59. package/escloud_v2/escloudNodeAvailableSpecs.d.ts +73 -0
  60. package/escloud_v2/escloudNodeAvailableSpecs.js +46 -0
  61. package/escloud_v2/escloudNodeAvailableSpecs.js.map +1 -0
  62. package/escloud_v2/escloudZonesV2.d.ts +64 -0
  63. package/escloud_v2/escloudZonesV2.js +45 -0
  64. package/escloud_v2/escloudZonesV2.js.map +1 -0
  65. package/escloud_v2/getEscloudNodeAvailableSpecs.d.ts +71 -0
  66. package/escloud_v2/getEscloudNodeAvailableSpecs.js +43 -0
  67. package/escloud_v2/getEscloudNodeAvailableSpecs.js.map +1 -0
  68. package/escloud_v2/getEscloudZonesV2.d.ts +62 -0
  69. package/escloud_v2/getEscloudZonesV2.js +42 -0
  70. package/escloud_v2/getEscloudZonesV2.js.map +1 -0
  71. package/escloud_v2/index.d.ts +12 -0
  72. package/escloud_v2/index.js +13 -1
  73. package/escloud_v2/index.js.map +1 -1
  74. package/index.d.ts +4 -1
  75. package/index.js +8 -1
  76. package/index.js.map +1 -1
  77. package/kafka/allowList.d.ts +98 -0
  78. package/kafka/allowList.js +85 -0
  79. package/kafka/allowList.js.map +1 -0
  80. package/kafka/allowListAssociate.d.ts +90 -0
  81. package/kafka/allowListAssociate.js +87 -0
  82. package/kafka/allowListAssociate.js.map +1 -0
  83. package/kafka/allowLists.d.ts +91 -0
  84. package/kafka/allowLists.js +52 -0
  85. package/kafka/allowLists.js.map +1 -0
  86. package/kafka/getAllowLists.d.ts +89 -0
  87. package/kafka/getAllowLists.js +49 -0
  88. package/kafka/getAllowLists.js.map +1 -0
  89. package/kafka/index.d.ts +12 -0
  90. package/kafka/index.js +17 -1
  91. package/kafka/index.js.map +1 -1
  92. package/kafka/instance.d.ts +37 -0
  93. package/kafka/instance.js +37 -0
  94. package/kafka/instance.js.map +1 -1
  95. package/kms/getKeyrings.d.ts +154 -0
  96. package/kms/getKeyrings.js +69 -0
  97. package/kms/getKeyrings.js.map +1 -0
  98. package/kms/getKeys.d.ts +263 -0
  99. package/kms/getKeys.js +106 -0
  100. package/kms/getKeys.js.map +1 -0
  101. package/kms/getSecrets.d.ts +202 -0
  102. package/kms/getSecrets.js +73 -0
  103. package/kms/getSecrets.js.map +1 -0
  104. package/kms/index.d.ts +36 -0
  105. package/kms/index.js +65 -0
  106. package/kms/index.js.map +1 -0
  107. package/kms/key.d.ts +282 -0
  108. package/kms/key.js +127 -0
  109. package/kms/key.js.map +1 -0
  110. package/kms/keyArchive.d.ts +119 -0
  111. package/kms/keyArchive.js +94 -0
  112. package/kms/keyArchive.js.map +1 -0
  113. package/kms/keyEnable.d.ts +105 -0
  114. package/kms/keyEnable.js +80 -0
  115. package/kms/keyEnable.js.map +1 -0
  116. package/kms/keyRotation.d.ts +105 -0
  117. package/kms/keyRotation.js +80 -0
  118. package/kms/keyRotation.js.map +1 -0
  119. package/kms/keyring.d.ts +139 -0
  120. package/kms/keyring.js +89 -0
  121. package/kms/keyring.js.map +1 -0
  122. package/kms/keyrings.d.ts +156 -0
  123. package/kms/keyrings.js +72 -0
  124. package/kms/keyrings.js.map +1 -0
  125. package/kms/keys.d.ts +265 -0
  126. package/kms/keys.js +109 -0
  127. package/kms/keys.js.map +1 -0
  128. package/kms/secret.d.ts +264 -0
  129. package/kms/secret.js +122 -0
  130. package/kms/secret.js.map +1 -0
  131. package/kms/secrets.d.ts +204 -0
  132. package/kms/secrets.js +76 -0
  133. package/kms/secrets.js.map +1 -0
  134. package/mongodb/getInstanceParameterLogs.d.ts +1 -1
  135. package/mongodb/instance.d.ts +66 -11
  136. package/mongodb/instance.js +40 -11
  137. package/mongodb/instance.js.map +1 -1
  138. package/mongodb/instanceParameter.d.ts +1 -1
  139. package/mongodb/instanceParameter.js +1 -1
  140. package/mongodb/instanceParameterLogs.d.ts +1 -1
  141. package/nas/autoSnapshotPolicies.d.ts +115 -0
  142. package/nas/autoSnapshotPolicies.js +66 -0
  143. package/nas/autoSnapshotPolicies.js.map +1 -0
  144. package/nas/autoSnapshotPolicy.d.ts +132 -0
  145. package/nas/autoSnapshotPolicy.js +94 -0
  146. package/nas/autoSnapshotPolicy.js.map +1 -0
  147. package/nas/autoSnapshotPolicyApply.d.ts +101 -0
  148. package/nas/autoSnapshotPolicyApply.js +98 -0
  149. package/nas/autoSnapshotPolicyApply.js.map +1 -0
  150. package/nas/getAutoSnapshotPolicies.d.ts +113 -0
  151. package/nas/getAutoSnapshotPolicies.js +63 -0
  152. package/nas/getAutoSnapshotPolicies.js.map +1 -0
  153. package/nas/index.d.ts +12 -0
  154. package/nas/index.js +17 -1
  155. package/nas/index.js.map +1 -1
  156. package/package.json +1 -1
  157. package/private_zone/getPrivateZones.d.ts +31 -0
  158. package/private_zone/getPrivateZones.js +3 -0
  159. package/private_zone/getPrivateZones.js.map +1 -1
  160. package/private_zone/getRecords.d.ts +19 -4
  161. package/private_zone/getRecords.js +1 -0
  162. package/private_zone/getRecords.js.map +1 -1
  163. package/private_zone/getResolverEndpoints.d.ts +22 -0
  164. package/private_zone/getResolverEndpoints.js +2 -0
  165. package/private_zone/getResolverEndpoints.js.map +1 -1
  166. package/private_zone/getResolverRules.d.ts +22 -0
  167. package/private_zone/getResolverRules.js +2 -0
  168. package/private_zone/getResolverRules.js.map +1 -1
  169. package/private_zone/privateZone.d.ts +44 -0
  170. package/private_zone/privateZone.js +11 -0
  171. package/private_zone/privateZone.js.map +1 -1
  172. package/private_zone/privateZones.d.ts +31 -0
  173. package/private_zone/privateZones.js +3 -0
  174. package/private_zone/privateZones.js.map +1 -1
  175. package/private_zone/record.d.ts +24 -0
  176. package/private_zone/record.js +4 -0
  177. package/private_zone/record.js.map +1 -1
  178. package/private_zone/records.d.ts +19 -4
  179. package/private_zone/records.js +1 -0
  180. package/private_zone/records.js.map +1 -1
  181. package/private_zone/resolverEndpoint.d.ts +45 -2
  182. package/private_zone/resolverEndpoint.js +11 -4
  183. package/private_zone/resolverEndpoint.js.map +1 -1
  184. package/private_zone/resolverEndpoints.d.ts +22 -0
  185. package/private_zone/resolverEndpoints.js +2 -0
  186. package/private_zone/resolverEndpoints.js.map +1 -1
  187. package/private_zone/resolverRule.d.ts +62 -3
  188. package/private_zone/resolverRule.js +13 -0
  189. package/private_zone/resolverRule.js.map +1 -1
  190. package/private_zone/resolverRules.d.ts +22 -0
  191. package/private_zone/resolverRules.js +2 -0
  192. package/private_zone/resolverRules.js.map +1 -1
  193. package/private_zone/userVpcAuthorization.d.ts +24 -0
  194. package/private_zone/userVpcAuthorization.js +4 -0
  195. package/private_zone/userVpcAuthorization.js.map +1 -1
  196. package/rabbitmq/getRegions.d.ts +62 -0
  197. package/rabbitmq/getRegions.js +42 -0
  198. package/rabbitmq/getRegions.js.map +1 -0
  199. package/rabbitmq/getZones.d.ts +62 -0
  200. package/rabbitmq/getZones.js +42 -0
  201. package/rabbitmq/getZones.js.map +1 -0
  202. package/rabbitmq/index.d.ts +12 -0
  203. package/rabbitmq/index.js +13 -1
  204. package/rabbitmq/index.js.map +1 -1
  205. package/rabbitmq/regions.d.ts +64 -0
  206. package/rabbitmq/regions.js +45 -0
  207. package/rabbitmq/regions.js.map +1 -0
  208. package/rabbitmq/zones.d.ts +64 -0
  209. package/rabbitmq/zones.js +45 -0
  210. package/rabbitmq/zones.js.map +1 -0
  211. package/rds_mysql/account.d.ts +53 -3
  212. package/rds_mysql/account.js +20 -0
  213. package/rds_mysql/account.js.map +1 -1
  214. package/rds_mysql/accountTableColumnInfos.d.ts +139 -0
  215. package/rds_mysql/accountTableColumnInfos.js +57 -0
  216. package/rds_mysql/accountTableColumnInfos.js.map +1 -0
  217. package/rds_mysql/backupPolicy.d.ts +30 -1
  218. package/rds_mysql/backupPolicy.js +12 -1
  219. package/rds_mysql/backupPolicy.js.map +1 -1
  220. package/rds_mysql/backups.d.ts +2 -16
  221. package/rds_mysql/backups.js +2 -16
  222. package/rds_mysql/backups.js.map +1 -1
  223. package/rds_mysql/database.d.ts +13 -0
  224. package/rds_mysql/database.js +3 -0
  225. package/rds_mysql/database.js.map +1 -1
  226. package/rds_mysql/endpoint.d.ts +32 -34
  227. package/rds_mysql/endpoint.js +10 -19
  228. package/rds_mysql/endpoint.js.map +1 -1
  229. package/rds_mysql/getAccountTableColumnInfos.d.ts +137 -0
  230. package/rds_mysql/getAccountTableColumnInfos.js +54 -0
  231. package/rds_mysql/getAccountTableColumnInfos.js.map +1 -0
  232. package/rds_mysql/getBackups.d.ts +2 -16
  233. package/rds_mysql/getBackups.js +2 -16
  234. package/rds_mysql/getBackups.js.map +1 -1
  235. package/rds_mysql/getInstances.d.ts +75 -0
  236. package/rds_mysql/getInstances.js +7 -0
  237. package/rds_mysql/getInstances.js.map +1 -1
  238. package/rds_mysql/getPlannedEvents.d.ts +132 -0
  239. package/rds_mysql/getPlannedEvents.js +52 -0
  240. package/rds_mysql/getPlannedEvents.js.map +1 -0
  241. package/rds_mysql/getTasks.d.ts +175 -0
  242. package/rds_mysql/getTasks.js +60 -0
  243. package/rds_mysql/getTasks.js.map +1 -0
  244. package/rds_mysql/index.d.ts +18 -0
  245. package/rds_mysql/index.js +20 -2
  246. package/rds_mysql/index.js.map +1 -1
  247. package/rds_mysql/instance.d.ts +209 -20
  248. package/rds_mysql/instance.js +82 -11
  249. package/rds_mysql/instance.js.map +1 -1
  250. package/rds_mysql/instanceReadonlyNode.d.ts +8 -0
  251. package/rds_mysql/instanceReadonlyNode.js +2 -0
  252. package/rds_mysql/instanceReadonlyNode.js.map +1 -1
  253. package/rds_mysql/instances.d.ts +75 -0
  254. package/rds_mysql/instances.js +7 -0
  255. package/rds_mysql/instances.js.map +1 -1
  256. package/rds_mysql/plannedEvents.d.ts +134 -0
  257. package/rds_mysql/plannedEvents.js +55 -0
  258. package/rds_mysql/plannedEvents.js.map +1 -0
  259. package/rds_mysql/tasks.d.ts +177 -0
  260. package/rds_mysql/tasks.js +63 -0
  261. package/rds_mysql/tasks.js.map +1 -0
  262. package/rds_postgresql/instance.d.ts +54 -3
  263. package/rds_postgresql/instance.js +54 -3
  264. package/rds_postgresql/instance.js.map +1 -1
  265. package/redis/allowList.d.ts +24 -0
  266. package/redis/allowList.js +6 -0
  267. package/redis/allowList.js.map +1 -1
  268. package/redis/allowLists.d.ts +39 -0
  269. package/redis/allowLists.js +4 -0
  270. package/redis/allowLists.js.map +1 -1
  271. package/redis/backup.d.ts +46 -7
  272. package/redis/backup.js +14 -3
  273. package/redis/backup.js.map +1 -1
  274. package/redis/backupRestore.d.ts +14 -2
  275. package/redis/backupRestore.js +2 -3
  276. package/redis/backupRestore.js.map +1 -1
  277. package/redis/backups.d.ts +47 -5
  278. package/redis/backups.js +5 -0
  279. package/redis/backups.js.map +1 -1
  280. package/redis/bigKeys.d.ts +181 -0
  281. package/redis/bigKeys.js +110 -0
  282. package/redis/bigKeys.js.map +1 -0
  283. package/redis/getAllowLists.d.ts +39 -0
  284. package/redis/getAllowLists.js +4 -0
  285. package/redis/getAllowLists.js.map +1 -1
  286. package/redis/getBackups.d.ts +47 -5
  287. package/redis/getBackups.js +5 -0
  288. package/redis/getBackups.js.map +1 -1
  289. package/redis/getBigKeys.d.ts +179 -0
  290. package/redis/getBigKeys.js +107 -0
  291. package/redis/getBigKeys.js.map +1 -0
  292. package/redis/getInstanceSpecs.d.ts +76 -0
  293. package/redis/getInstanceSpecs.js +29 -0
  294. package/redis/getInstanceSpecs.js.map +1 -0
  295. package/redis/getInstances.d.ts +3 -0
  296. package/redis/getInstances.js.map +1 -1
  297. package/redis/getParameterGroups.d.ts +79 -0
  298. package/redis/getParameterGroups.js +29 -0
  299. package/redis/getParameterGroups.js.map +1 -0
  300. package/redis/getPlannedEvents.d.ts +161 -0
  301. package/redis/getPlannedEvents.js +106 -0
  302. package/redis/getPlannedEvents.js.map +1 -0
  303. package/redis/index.d.ts +27 -0
  304. package/redis/index.js +31 -1
  305. package/redis/index.js.map +1 -1
  306. package/redis/instance.d.ts +93 -2
  307. package/redis/instance.js +22 -1
  308. package/redis/instance.js.map +1 -1
  309. package/redis/instanceSpecs.d.ts +78 -0
  310. package/redis/instanceSpecs.js +32 -0
  311. package/redis/instanceSpecs.js.map +1 -0
  312. package/redis/instances.d.ts +3 -0
  313. package/redis/instances.js.map +1 -1
  314. package/redis/parameterGroup.d.ts +118 -0
  315. package/redis/parameterGroup.js +93 -0
  316. package/redis/parameterGroup.js.map +1 -0
  317. package/redis/parameterGroups.d.ts +81 -0
  318. package/redis/parameterGroups.js +32 -0
  319. package/redis/parameterGroups.js.map +1 -0
  320. package/redis/plannedEvents.d.ts +163 -0
  321. package/redis/plannedEvents.js +109 -0
  322. package/redis/plannedEvents.js.map +1 -0
  323. package/tls/consumerGroup.d.ts +121 -0
  324. package/tls/consumerGroup.js +97 -0
  325. package/tls/consumerGroup.js.map +1 -0
  326. package/tls/consumerGroups.d.ts +139 -0
  327. package/tls/consumerGroups.js +52 -0
  328. package/tls/consumerGroups.js.map +1 -0
  329. package/tls/etlTask.d.ts +196 -0
  330. package/tls/etlTask.js +123 -0
  331. package/tls/etlTask.js.map +1 -0
  332. package/tls/etlTasks.d.ts +160 -0
  333. package/tls/etlTasks.js +54 -0
  334. package/tls/etlTasks.js.map +1 -0
  335. package/tls/getConsumerGroups.d.ts +137 -0
  336. package/tls/getConsumerGroups.js +49 -0
  337. package/tls/getConsumerGroups.js.map +1 -0
  338. package/tls/getEtlTasks.d.ts +158 -0
  339. package/tls/getEtlTasks.js +51 -0
  340. package/tls/getEtlTasks.js.map +1 -0
  341. package/tls/getImportTasks.d.ts +173 -0
  342. package/tls/getImportTasks.js +52 -0
  343. package/tls/getImportTasks.js.map +1 -0
  344. package/tls/getScheduleSqlTasks.d.ts +155 -0
  345. package/tls/getScheduleSqlTasks.js +51 -0
  346. package/tls/getScheduleSqlTasks.js.map +1 -0
  347. package/tls/getShippers.d.ts +164 -0
  348. package/tls/getShippers.js +51 -0
  349. package/tls/getShippers.js.map +1 -0
  350. package/tls/importTask.d.ts +175 -0
  351. package/tls/importTask.js +110 -0
  352. package/tls/importTask.js.map +1 -0
  353. package/tls/importTasks.d.ts +175 -0
  354. package/tls/importTasks.js +55 -0
  355. package/tls/importTasks.js.map +1 -0
  356. package/tls/index.d.ts +45 -0
  357. package/tls/index.js +57 -2
  358. package/tls/index.js.map +1 -1
  359. package/tls/scheduleSqlTask.d.ts +219 -0
  360. package/tls/scheduleSqlTask.js +135 -0
  361. package/tls/scheduleSqlTask.js.map +1 -0
  362. package/tls/scheduleSqlTasks.d.ts +157 -0
  363. package/tls/scheduleSqlTasks.js +54 -0
  364. package/tls/scheduleSqlTasks.js.map +1 -0
  365. package/tls/shipper.d.ts +191 -0
  366. package/tls/shipper.js +119 -0
  367. package/tls/shipper.js.map +1 -0
  368. package/tls/shippers.d.ts +166 -0
  369. package/tls/shippers.js +54 -0
  370. package/tls/shippers.js.map +1 -0
  371. package/types/input.d.ts +1107 -31
  372. package/types/output.d.ts +9274 -2000
  373. package/vefaas/function.d.ts +346 -0
  374. package/vefaas/function.js +126 -0
  375. package/vefaas/function.js.map +1 -0
  376. package/vefaas/functions.d.ts +73 -0
  377. package/vefaas/functions.js +46 -0
  378. package/vefaas/functions.js.map +1 -0
  379. package/vefaas/getFunctions.d.ts +71 -0
  380. package/vefaas/getFunctions.js +43 -0
  381. package/vefaas/getFunctions.js.map +1 -0
  382. package/vefaas/getKafkaTriggers.d.ts +87 -0
  383. package/vefaas/getKafkaTriggers.js +47 -0
  384. package/vefaas/getKafkaTriggers.js.map +1 -0
  385. package/vefaas/getReleases.d.ts +106 -0
  386. package/vefaas/getReleases.js +49 -0
  387. package/vefaas/getReleases.js.map +1 -0
  388. package/vefaas/getTimers.d.ts +87 -0
  389. package/vefaas/getTimers.js +47 -0
  390. package/vefaas/getTimers.js.map +1 -0
  391. package/vefaas/index.d.ts +36 -0
  392. package/vefaas/index.js +61 -0
  393. package/vefaas/index.js.map +1 -0
  394. package/vefaas/kafkaTrigger.d.ts +232 -0
  395. package/vefaas/kafkaTrigger.js +119 -0
  396. package/vefaas/kafkaTrigger.js.map +1 -0
  397. package/vefaas/kafkaTriggers.d.ts +89 -0
  398. package/vefaas/kafkaTriggers.js +50 -0
  399. package/vefaas/kafkaTriggers.js.map +1 -0
  400. package/vefaas/release.d.ts +211 -0
  401. package/vefaas/release.js +108 -0
  402. package/vefaas/release.js.map +1 -0
  403. package/vefaas/releases.d.ts +108 -0
  404. package/vefaas/releases.js +52 -0
  405. package/vefaas/releases.js.map +1 -0
  406. package/vefaas/timer.d.ts +170 -0
  407. package/vefaas/timer.js +95 -0
  408. package/vefaas/timer.js.map +1 -0
  409. package/vefaas/timers.d.ts +89 -0
  410. package/vefaas/timers.js +50 -0
  411. package/vefaas/timers.js.map +1 -0
  412. package/vke/getPermissions.d.ts +137 -0
  413. package/vke/getPermissions.js +55 -0
  414. package/vke/getPermissions.js.map +1 -0
  415. package/vke/index.d.ts +9 -0
  416. package/vke/index.js +12 -1
  417. package/vke/index.js.map +1 -1
  418. package/vke/permission.d.ts +269 -0
  419. package/vke/permission.js +165 -0
  420. package/vke/permission.js.map +1 -0
  421. package/vke/permissions.d.ts +139 -0
  422. package/vke/permissions.js +58 -0
  423. package/vke/permissions.js.map +1 -0
  424. package/vmp/alertingRule.d.ts +300 -0
  425. package/vmp/alertingRule.js +220 -0
  426. package/vmp/alertingRule.js.map +1 -0
  427. package/vmp/alertingRules.d.ts +386 -0
  428. package/vmp/alertingRules.js +291 -0
  429. package/vmp/alertingRules.js.map +1 -0
  430. package/vmp/alerts.d.ts +119 -0
  431. package/vmp/alerts.js +54 -0
  432. package/vmp/alerts.js.map +1 -0
  433. package/vmp/contact.d.ts +181 -0
  434. package/vmp/contact.js +102 -0
  435. package/vmp/contact.js.map +1 -0
  436. package/vmp/contactGroup.d.ts +124 -0
  437. package/vmp/contactGroup.js +109 -0
  438. package/vmp/contactGroup.js.map +1 -0
  439. package/vmp/contactGroups.d.ts +167 -0
  440. package/vmp/contactGroups.js +129 -0
  441. package/vmp/contactGroups.js.map +1 -0
  442. package/vmp/contacts.d.ts +137 -0
  443. package/vmp/contacts.js +88 -0
  444. package/vmp/contacts.js.map +1 -0
  445. package/vmp/getAlertingRules.d.ts +384 -0
  446. package/vmp/getAlertingRules.js +288 -0
  447. package/vmp/getAlertingRules.js.map +1 -0
  448. package/vmp/getAlerts.d.ts +117 -0
  449. package/vmp/getAlerts.js +51 -0
  450. package/vmp/getAlerts.js.map +1 -0
  451. package/vmp/getContactGroups.d.ts +165 -0
  452. package/vmp/getContactGroups.js +126 -0
  453. package/vmp/getContactGroups.js.map +1 -0
  454. package/vmp/getContacts.d.ts +135 -0
  455. package/vmp/getContacts.js +85 -0
  456. package/vmp/getContacts.js.map +1 -0
  457. package/vmp/getInstanceTypes.d.ts +75 -0
  458. package/vmp/getInstanceTypes.js +47 -0
  459. package/vmp/getInstanceTypes.js.map +1 -0
  460. package/vmp/getNotifyGroupPolicies.d.ts +141 -0
  461. package/vmp/getNotifyGroupPolicies.js +102 -0
  462. package/vmp/getNotifyGroupPolicies.js.map +1 -0
  463. package/vmp/getNotifyPolicies.d.ts +221 -0
  464. package/vmp/getNotifyPolicies.js +160 -0
  465. package/vmp/getNotifyPolicies.js.map +1 -0
  466. package/vmp/getNotifyTemplates.d.ts +134 -0
  467. package/vmp/getNotifyTemplates.js +76 -0
  468. package/vmp/getNotifyTemplates.js.map +1 -0
  469. package/vmp/getRuleFiles.d.ts +152 -0
  470. package/vmp/getRuleFiles.js +93 -0
  471. package/vmp/getRuleFiles.js.map +1 -0
  472. package/vmp/getRules.d.ts +131 -0
  473. package/vmp/getRules.js +53 -0
  474. package/vmp/getRules.js.map +1 -0
  475. package/vmp/getWorkspaces.d.ts +146 -0
  476. package/vmp/getWorkspaces.js +68 -0
  477. package/vmp/getWorkspaces.js.map +1 -0
  478. package/vmp/index.d.ts +90 -0
  479. package/vmp/index.js +124 -0
  480. package/vmp/index.js.map +1 -0
  481. package/vmp/instanceTypes.d.ts +77 -0
  482. package/vmp/instanceTypes.js +50 -0
  483. package/vmp/instanceTypes.js.map +1 -0
  484. package/vmp/notifyGroupPolicies.d.ts +143 -0
  485. package/vmp/notifyGroupPolicies.js +105 -0
  486. package/vmp/notifyGroupPolicies.js.map +1 -0
  487. package/vmp/notifyGroupPolicy.d.ts +118 -0
  488. package/vmp/notifyGroupPolicy.js +100 -0
  489. package/vmp/notifyGroupPolicy.js.map +1 -0
  490. package/vmp/notifyPolicies.d.ts +223 -0
  491. package/vmp/notifyPolicies.js +163 -0
  492. package/vmp/notifyPolicies.js.map +1 -0
  493. package/vmp/notifyPolicy.d.ts +158 -0
  494. package/vmp/notifyPolicy.js +130 -0
  495. package/vmp/notifyPolicy.js.map +1 -0
  496. package/vmp/notifyTemplate.d.ts +144 -0
  497. package/vmp/notifyTemplate.js +100 -0
  498. package/vmp/notifyTemplate.js.map +1 -0
  499. package/vmp/notifyTemplates.d.ts +136 -0
  500. package/vmp/notifyTemplates.js +79 -0
  501. package/vmp/notifyTemplates.js.map +1 -0
  502. package/vmp/ruleFile.d.ts +163 -0
  503. package/vmp/ruleFile.js +110 -0
  504. package/vmp/ruleFile.js.map +1 -0
  505. package/vmp/ruleFiles.d.ts +154 -0
  506. package/vmp/ruleFiles.js +96 -0
  507. package/vmp/ruleFiles.js.map +1 -0
  508. package/vmp/rules.d.ts +133 -0
  509. package/vmp/rules.js +56 -0
  510. package/vmp/rules.js.map +1 -0
  511. package/vmp/workspace.d.ts +212 -0
  512. package/vmp/workspace.js +110 -0
  513. package/vmp/workspace.js.map +1 -0
  514. package/vmp/workspaces.d.ts +148 -0
  515. package/vmp/workspaces.js +71 -0
  516. package/vmp/workspaces.js.map +1 -0
  517. package/vpc/routeEntry.d.ts +30 -9
  518. package/vpc/routeEntry.js +27 -6
  519. package/vpc/routeEntry.js.map +1 -1
@@ -0,0 +1,223 @@
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 notify policies
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 fooContact = new volcengine.vmp.Contact("fooContact", {
13
+ * email: "acctest1@tftest.com",
14
+ * webhook: {
15
+ * address: "https://www.acctest1.com",
16
+ * },
17
+ * larkBotWebhook: {
18
+ * address: "https://www.acctest1.com",
19
+ * },
20
+ * dingTalkBotWebhook: {
21
+ * address: "https://www.dingacctest1.com",
22
+ * atMobiles: ["18046891812"],
23
+ * },
24
+ * phoneNumber: {
25
+ * countryCode: "+86",
26
+ * number: "18310101010",
27
+ * },
28
+ * });
29
+ * const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
30
+ * email: "acctest2@tftest.com",
31
+ * webhook: {
32
+ * address: "https://www.acctest2.com",
33
+ * },
34
+ * larkBotWebhook: {
35
+ * address: "https://www.acctest2.com",
36
+ * },
37
+ * dingTalkBotWebhook: {
38
+ * address: "https://www.dingacctest2.com",
39
+ * atMobiles: ["18046891813"],
40
+ * },
41
+ * phoneNumber: {
42
+ * countryCode: "+86",
43
+ * number: "18310101011",
44
+ * },
45
+ * });
46
+ * const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
47
+ * const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
48
+ * const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
49
+ * description: "acc-test-1",
50
+ * levels: [
51
+ * {
52
+ * level: "P1",
53
+ * contactGroupIds: [fooContactGroup.id],
54
+ * channels: [
55
+ * "Email",
56
+ * "Webhook",
57
+ * ],
58
+ * },
59
+ * {
60
+ * level: "P0",
61
+ * contactGroupIds: [foo1ContactGroup.id],
62
+ * channels: ["LarkBotWebhook"],
63
+ * },
64
+ * ],
65
+ * });
66
+ * const fooNotifyPolicies = volcengine.vmp.getNotifyPoliciesOutput({
67
+ * ids: [fooNotifyPolicy.id],
68
+ * });
69
+ * ```
70
+ */
71
+ /** @deprecated volcengine.vmp.NotifyPolicies has been deprecated in favor of volcengine.vmp.getNotifyPolicies */
72
+ export declare function notifyPolicies(args?: NotifyPoliciesArgs, opts?: pulumi.InvokeOptions): Promise<NotifyPoliciesResult>;
73
+ /**
74
+ * A collection of arguments for invoking NotifyPolicies.
75
+ */
76
+ export interface NotifyPoliciesArgs {
77
+ /**
78
+ * The channel notify template for the alarm notification policy.
79
+ */
80
+ channelNotifyTemplateIds?: string[];
81
+ /**
82
+ * The contact group for the alarm notification policy.
83
+ */
84
+ contactGroupIds?: string[];
85
+ /**
86
+ * A list of notify policy ids.
87
+ */
88
+ ids?: string[];
89
+ /**
90
+ * The name of notify policy.
91
+ */
92
+ name?: string;
93
+ /**
94
+ * File name where to save data source results.
95
+ */
96
+ outputFile?: string;
97
+ }
98
+ /**
99
+ * A collection of values returned by NotifyPolicies.
100
+ */
101
+ export interface NotifyPoliciesResult {
102
+ /**
103
+ * The channel notify template for the alarm notification policy.
104
+ */
105
+ readonly channelNotifyTemplateIds?: string[];
106
+ /**
107
+ * The contact group for the alarm notification policy.
108
+ */
109
+ readonly contactGroupIds?: string[];
110
+ /**
111
+ * The provider-assigned unique ID for this managed resource.
112
+ */
113
+ readonly id: string;
114
+ readonly ids?: string[];
115
+ /**
116
+ * The name of notify policy.
117
+ */
118
+ readonly name?: string;
119
+ /**
120
+ * The list of notify policies.
121
+ */
122
+ readonly notifyPolicies: outputs.vmp.NotifyPoliciesNotifyPolicy[];
123
+ readonly outputFile?: string;
124
+ /**
125
+ * The total count of query.
126
+ */
127
+ readonly totalCount: number;
128
+ }
129
+ /**
130
+ * Use this data source to query detailed information of vmp notify policies
131
+ * ## Example Usage
132
+ *
133
+ * ```typescript
134
+ * import * as pulumi from "@pulumi/pulumi";
135
+ * import * as volcengine from "@pulumi/volcengine";
136
+ * import * as volcengine from "@volcengine/pulumi";
137
+ *
138
+ * const fooContact = new volcengine.vmp.Contact("fooContact", {
139
+ * email: "acctest1@tftest.com",
140
+ * webhook: {
141
+ * address: "https://www.acctest1.com",
142
+ * },
143
+ * larkBotWebhook: {
144
+ * address: "https://www.acctest1.com",
145
+ * },
146
+ * dingTalkBotWebhook: {
147
+ * address: "https://www.dingacctest1.com",
148
+ * atMobiles: ["18046891812"],
149
+ * },
150
+ * phoneNumber: {
151
+ * countryCode: "+86",
152
+ * number: "18310101010",
153
+ * },
154
+ * });
155
+ * const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
156
+ * email: "acctest2@tftest.com",
157
+ * webhook: {
158
+ * address: "https://www.acctest2.com",
159
+ * },
160
+ * larkBotWebhook: {
161
+ * address: "https://www.acctest2.com",
162
+ * },
163
+ * dingTalkBotWebhook: {
164
+ * address: "https://www.dingacctest2.com",
165
+ * atMobiles: ["18046891813"],
166
+ * },
167
+ * phoneNumber: {
168
+ * countryCode: "+86",
169
+ * number: "18310101011",
170
+ * },
171
+ * });
172
+ * const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
173
+ * const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
174
+ * const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
175
+ * description: "acc-test-1",
176
+ * levels: [
177
+ * {
178
+ * level: "P1",
179
+ * contactGroupIds: [fooContactGroup.id],
180
+ * channels: [
181
+ * "Email",
182
+ * "Webhook",
183
+ * ],
184
+ * },
185
+ * {
186
+ * level: "P0",
187
+ * contactGroupIds: [foo1ContactGroup.id],
188
+ * channels: ["LarkBotWebhook"],
189
+ * },
190
+ * ],
191
+ * });
192
+ * const fooNotifyPolicies = volcengine.vmp.getNotifyPoliciesOutput({
193
+ * ids: [fooNotifyPolicy.id],
194
+ * });
195
+ * ```
196
+ */
197
+ /** @deprecated volcengine.vmp.NotifyPolicies has been deprecated in favor of volcengine.vmp.getNotifyPolicies */
198
+ export declare function notifyPoliciesOutput(args?: NotifyPoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<NotifyPoliciesResult>;
199
+ /**
200
+ * A collection of arguments for invoking NotifyPolicies.
201
+ */
202
+ export interface NotifyPoliciesOutputArgs {
203
+ /**
204
+ * The channel notify template for the alarm notification policy.
205
+ */
206
+ channelNotifyTemplateIds?: pulumi.Input<pulumi.Input<string>[]>;
207
+ /**
208
+ * The contact group for the alarm notification policy.
209
+ */
210
+ contactGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
211
+ /**
212
+ * A list of notify policy ids.
213
+ */
214
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
215
+ /**
216
+ * The name of notify policy.
217
+ */
218
+ name?: pulumi.Input<string>;
219
+ /**
220
+ * File name where to save data source results.
221
+ */
222
+ outputFile?: pulumi.Input<string>;
223
+ }
@@ -0,0 +1,163 @@
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.notifyPoliciesOutput = exports.notifyPolicies = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of vmp notify policies
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ * import * as volcengine from "@volcengine/pulumi";
16
+ *
17
+ * const fooContact = new volcengine.vmp.Contact("fooContact", {
18
+ * email: "acctest1@tftest.com",
19
+ * webhook: {
20
+ * address: "https://www.acctest1.com",
21
+ * },
22
+ * larkBotWebhook: {
23
+ * address: "https://www.acctest1.com",
24
+ * },
25
+ * dingTalkBotWebhook: {
26
+ * address: "https://www.dingacctest1.com",
27
+ * atMobiles: ["18046891812"],
28
+ * },
29
+ * phoneNumber: {
30
+ * countryCode: "+86",
31
+ * number: "18310101010",
32
+ * },
33
+ * });
34
+ * const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
35
+ * email: "acctest2@tftest.com",
36
+ * webhook: {
37
+ * address: "https://www.acctest2.com",
38
+ * },
39
+ * larkBotWebhook: {
40
+ * address: "https://www.acctest2.com",
41
+ * },
42
+ * dingTalkBotWebhook: {
43
+ * address: "https://www.dingacctest2.com",
44
+ * atMobiles: ["18046891813"],
45
+ * },
46
+ * phoneNumber: {
47
+ * countryCode: "+86",
48
+ * number: "18310101011",
49
+ * },
50
+ * });
51
+ * const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
52
+ * const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
53
+ * const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
54
+ * description: "acc-test-1",
55
+ * levels: [
56
+ * {
57
+ * level: "P1",
58
+ * contactGroupIds: [fooContactGroup.id],
59
+ * channels: [
60
+ * "Email",
61
+ * "Webhook",
62
+ * ],
63
+ * },
64
+ * {
65
+ * level: "P0",
66
+ * contactGroupIds: [foo1ContactGroup.id],
67
+ * channels: ["LarkBotWebhook"],
68
+ * },
69
+ * ],
70
+ * });
71
+ * const fooNotifyPolicies = volcengine.vmp.getNotifyPoliciesOutput({
72
+ * ids: [fooNotifyPolicy.id],
73
+ * });
74
+ * ```
75
+ */
76
+ /** @deprecated volcengine.vmp.NotifyPolicies has been deprecated in favor of volcengine.vmp.getNotifyPolicies */
77
+ function notifyPolicies(args, opts) {
78
+ pulumi.log.warn("notifyPolicies is deprecated: volcengine.vmp.NotifyPolicies has been deprecated in favor of volcengine.vmp.getNotifyPolicies");
79
+ args = args || {};
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
81
+ return pulumi.runtime.invoke("volcengine:vmp/notifyPolicies:NotifyPolicies", {
82
+ "channelNotifyTemplateIds": args.channelNotifyTemplateIds,
83
+ "contactGroupIds": args.contactGroupIds,
84
+ "ids": args.ids,
85
+ "name": args.name,
86
+ "outputFile": args.outputFile,
87
+ }, opts);
88
+ }
89
+ exports.notifyPolicies = notifyPolicies;
90
+ /**
91
+ * Use this data source to query detailed information of vmp notify policies
92
+ * ## Example Usage
93
+ *
94
+ * ```typescript
95
+ * import * as pulumi from "@pulumi/pulumi";
96
+ * import * as volcengine from "@pulumi/volcengine";
97
+ * import * as volcengine from "@volcengine/pulumi";
98
+ *
99
+ * const fooContact = new volcengine.vmp.Contact("fooContact", {
100
+ * email: "acctest1@tftest.com",
101
+ * webhook: {
102
+ * address: "https://www.acctest1.com",
103
+ * },
104
+ * larkBotWebhook: {
105
+ * address: "https://www.acctest1.com",
106
+ * },
107
+ * dingTalkBotWebhook: {
108
+ * address: "https://www.dingacctest1.com",
109
+ * atMobiles: ["18046891812"],
110
+ * },
111
+ * phoneNumber: {
112
+ * countryCode: "+86",
113
+ * number: "18310101010",
114
+ * },
115
+ * });
116
+ * const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
117
+ * email: "acctest2@tftest.com",
118
+ * webhook: {
119
+ * address: "https://www.acctest2.com",
120
+ * },
121
+ * larkBotWebhook: {
122
+ * address: "https://www.acctest2.com",
123
+ * },
124
+ * dingTalkBotWebhook: {
125
+ * address: "https://www.dingacctest2.com",
126
+ * atMobiles: ["18046891813"],
127
+ * },
128
+ * phoneNumber: {
129
+ * countryCode: "+86",
130
+ * number: "18310101011",
131
+ * },
132
+ * });
133
+ * const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
134
+ * const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
135
+ * const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
136
+ * description: "acc-test-1",
137
+ * levels: [
138
+ * {
139
+ * level: "P1",
140
+ * contactGroupIds: [fooContactGroup.id],
141
+ * channels: [
142
+ * "Email",
143
+ * "Webhook",
144
+ * ],
145
+ * },
146
+ * {
147
+ * level: "P0",
148
+ * contactGroupIds: [foo1ContactGroup.id],
149
+ * channels: ["LarkBotWebhook"],
150
+ * },
151
+ * ],
152
+ * });
153
+ * const fooNotifyPolicies = volcengine.vmp.getNotifyPoliciesOutput({
154
+ * ids: [fooNotifyPolicy.id],
155
+ * });
156
+ * ```
157
+ */
158
+ /** @deprecated volcengine.vmp.NotifyPolicies has been deprecated in favor of volcengine.vmp.getNotifyPolicies */
159
+ function notifyPoliciesOutput(args, opts) {
160
+ return pulumi.output(args).apply((a) => notifyPolicies(a, opts));
161
+ }
162
+ exports.notifyPoliciesOutput = notifyPoliciesOutput;
163
+ //# sourceMappingURL=notifyPolicies.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notifyPolicies.js","sourceRoot":"","sources":["../../vmp/notifyPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,iHAAiH;AACjH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,8HAA8H,CAAC,CAAA;IAC/I,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,wCAYC;AA2DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,iHAAiH;AACjH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
@@ -0,0 +1,158 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides a resource to manage vmp notify policy
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const fooContact = new volcengine.vmp.Contact("fooContact", {
13
+ * email: "acctest1@tftest.com",
14
+ * webhook: {
15
+ * address: "https://www.acctest1.com",
16
+ * },
17
+ * larkBotWebhook: {
18
+ * address: "https://www.acctest1.com",
19
+ * },
20
+ * dingTalkBotWebhook: {
21
+ * address: "https://www.dingacctest1.com",
22
+ * atMobiles: ["18046891812"],
23
+ * },
24
+ * phoneNumber: {
25
+ * countryCode: "+86",
26
+ * number: "18310101010",
27
+ * },
28
+ * });
29
+ * const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
30
+ * email: "acctest2@tftest.com",
31
+ * webhook: {
32
+ * address: "https://www.acctest2.com",
33
+ * },
34
+ * larkBotWebhook: {
35
+ * address: "https://www.acctest2.com",
36
+ * },
37
+ * dingTalkBotWebhook: {
38
+ * address: "https://www.dingacctest2.com",
39
+ * atMobiles: ["18046891813"],
40
+ * },
41
+ * phoneNumber: {
42
+ * countryCode: "+86",
43
+ * number: "18310101011",
44
+ * },
45
+ * });
46
+ * const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
47
+ * const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
48
+ * const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
49
+ * description: "acc-test-1",
50
+ * levels: [
51
+ * {
52
+ * level: "P1",
53
+ * contactGroupIds: [fooContactGroup.id],
54
+ * channels: [
55
+ * "Email",
56
+ * "Webhook",
57
+ * ],
58
+ * },
59
+ * {
60
+ * level: "P0",
61
+ * contactGroupIds: [foo1ContactGroup.id],
62
+ * channels: ["LarkBotWebhook"],
63
+ * },
64
+ * ],
65
+ * });
66
+ * ```
67
+ *
68
+ * ## Import
69
+ *
70
+ * VMP Notify Policy can be imported using the id, e.g.
71
+ *
72
+ * ```sh
73
+ * $ pulumi import volcengine:vmp/notifyPolicy:NotifyPolicy default 60dde3ca-951c-4c05-8777-e5a7caa07ad6
74
+ * ```
75
+ */
76
+ export declare class NotifyPolicy extends pulumi.CustomResource {
77
+ /**
78
+ * Get an existing NotifyPolicy resource's state with the given name, ID, and optional extra
79
+ * properties used to qualify the lookup.
80
+ *
81
+ * @param name The _unique_ name of the resulting resource.
82
+ * @param id The _unique_ provider ID of the resource to lookup.
83
+ * @param state Any extra arguments used during the lookup.
84
+ * @param opts Optional settings to control the behavior of the CustomResource.
85
+ */
86
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NotifyPolicyState, opts?: pulumi.CustomResourceOptions): NotifyPolicy;
87
+ /**
88
+ * Returns true if the given object is an instance of NotifyPolicy. This is designed to work even
89
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
90
+ */
91
+ static isInstance(obj: any): obj is NotifyPolicy;
92
+ /**
93
+ * The channel notify template for the alarm notification policy.
94
+ */
95
+ readonly channelNotifyTemplateIds: pulumi.Output<string[] | undefined>;
96
+ /**
97
+ * The description of the notify policy.
98
+ */
99
+ readonly description: pulumi.Output<string | undefined>;
100
+ /**
101
+ * The levels of the notify policy.
102
+ */
103
+ readonly levels: pulumi.Output<outputs.vmp.NotifyPolicyLevel[]>;
104
+ /**
105
+ * The name of the notify policy.
106
+ */
107
+ readonly name: pulumi.Output<string>;
108
+ /**
109
+ * Create a NotifyPolicy resource with the given unique name, arguments, and options.
110
+ *
111
+ * @param name The _unique_ name of the resource.
112
+ * @param args The arguments to use to populate this resource's properties.
113
+ * @param opts A bag of options that control this resource's behavior.
114
+ */
115
+ constructor(name: string, args: NotifyPolicyArgs, opts?: pulumi.CustomResourceOptions);
116
+ }
117
+ /**
118
+ * Input properties used for looking up and filtering NotifyPolicy resources.
119
+ */
120
+ export interface NotifyPolicyState {
121
+ /**
122
+ * The channel notify template for the alarm notification policy.
123
+ */
124
+ channelNotifyTemplateIds?: pulumi.Input<pulumi.Input<string>[]>;
125
+ /**
126
+ * The description of the notify policy.
127
+ */
128
+ description?: pulumi.Input<string>;
129
+ /**
130
+ * The levels of the notify policy.
131
+ */
132
+ levels?: pulumi.Input<pulumi.Input<inputs.vmp.NotifyPolicyLevel>[]>;
133
+ /**
134
+ * The name of the notify policy.
135
+ */
136
+ name?: pulumi.Input<string>;
137
+ }
138
+ /**
139
+ * The set of arguments for constructing a NotifyPolicy resource.
140
+ */
141
+ export interface NotifyPolicyArgs {
142
+ /**
143
+ * The channel notify template for the alarm notification policy.
144
+ */
145
+ channelNotifyTemplateIds?: pulumi.Input<pulumi.Input<string>[]>;
146
+ /**
147
+ * The description of the notify policy.
148
+ */
149
+ description?: pulumi.Input<string>;
150
+ /**
151
+ * The levels of the notify policy.
152
+ */
153
+ levels: pulumi.Input<pulumi.Input<inputs.vmp.NotifyPolicyLevel>[]>;
154
+ /**
155
+ * The name of the notify policy.
156
+ */
157
+ name?: pulumi.Input<string>;
158
+ }
@@ -0,0 +1,130 @@
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.NotifyPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage vmp notify policy
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const fooContact = new volcengine.vmp.Contact("fooContact", {
17
+ * email: "acctest1@tftest.com",
18
+ * webhook: {
19
+ * address: "https://www.acctest1.com",
20
+ * },
21
+ * larkBotWebhook: {
22
+ * address: "https://www.acctest1.com",
23
+ * },
24
+ * dingTalkBotWebhook: {
25
+ * address: "https://www.dingacctest1.com",
26
+ * atMobiles: ["18046891812"],
27
+ * },
28
+ * phoneNumber: {
29
+ * countryCode: "+86",
30
+ * number: "18310101010",
31
+ * },
32
+ * });
33
+ * const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
34
+ * email: "acctest2@tftest.com",
35
+ * webhook: {
36
+ * address: "https://www.acctest2.com",
37
+ * },
38
+ * larkBotWebhook: {
39
+ * address: "https://www.acctest2.com",
40
+ * },
41
+ * dingTalkBotWebhook: {
42
+ * address: "https://www.dingacctest2.com",
43
+ * atMobiles: ["18046891813"],
44
+ * },
45
+ * phoneNumber: {
46
+ * countryCode: "+86",
47
+ * number: "18310101011",
48
+ * },
49
+ * });
50
+ * const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
51
+ * const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
52
+ * const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
53
+ * description: "acc-test-1",
54
+ * levels: [
55
+ * {
56
+ * level: "P1",
57
+ * contactGroupIds: [fooContactGroup.id],
58
+ * channels: [
59
+ * "Email",
60
+ * "Webhook",
61
+ * ],
62
+ * },
63
+ * {
64
+ * level: "P0",
65
+ * contactGroupIds: [foo1ContactGroup.id],
66
+ * channels: ["LarkBotWebhook"],
67
+ * },
68
+ * ],
69
+ * });
70
+ * ```
71
+ *
72
+ * ## Import
73
+ *
74
+ * VMP Notify Policy can be imported using the id, e.g.
75
+ *
76
+ * ```sh
77
+ * $ pulumi import volcengine:vmp/notifyPolicy:NotifyPolicy default 60dde3ca-951c-4c05-8777-e5a7caa07ad6
78
+ * ```
79
+ */
80
+ class NotifyPolicy extends pulumi.CustomResource {
81
+ /**
82
+ * Get an existing NotifyPolicy resource's state with the given name, ID, and optional extra
83
+ * properties used to qualify the lookup.
84
+ *
85
+ * @param name The _unique_ name of the resulting resource.
86
+ * @param id The _unique_ provider ID of the resource to lookup.
87
+ * @param state Any extra arguments used during the lookup.
88
+ * @param opts Optional settings to control the behavior of the CustomResource.
89
+ */
90
+ static get(name, id, state, opts) {
91
+ return new NotifyPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
92
+ }
93
+ /**
94
+ * Returns true if the given object is an instance of NotifyPolicy. This is designed to work even
95
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
96
+ */
97
+ static isInstance(obj) {
98
+ if (obj === undefined || obj === null) {
99
+ return false;
100
+ }
101
+ return obj['__pulumiType'] === NotifyPolicy.__pulumiType;
102
+ }
103
+ constructor(name, argsOrState, opts) {
104
+ let resourceInputs = {};
105
+ opts = opts || {};
106
+ if (opts.id) {
107
+ const state = argsOrState;
108
+ resourceInputs["channelNotifyTemplateIds"] = state ? state.channelNotifyTemplateIds : undefined;
109
+ resourceInputs["description"] = state ? state.description : undefined;
110
+ resourceInputs["levels"] = state ? state.levels : undefined;
111
+ resourceInputs["name"] = state ? state.name : undefined;
112
+ }
113
+ else {
114
+ const args = argsOrState;
115
+ if ((!args || args.levels === undefined) && !opts.urn) {
116
+ throw new Error("Missing required property 'levels'");
117
+ }
118
+ resourceInputs["channelNotifyTemplateIds"] = args ? args.channelNotifyTemplateIds : undefined;
119
+ resourceInputs["description"] = args ? args.description : undefined;
120
+ resourceInputs["levels"] = args ? args.levels : undefined;
121
+ resourceInputs["name"] = args ? args.name : undefined;
122
+ }
123
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
124
+ super(NotifyPolicy.__pulumiType, name, resourceInputs, opts);
125
+ }
126
+ }
127
+ exports.NotifyPolicy = NotifyPolicy;
128
+ /** @internal */
129
+ NotifyPolicy.__pulumiType = 'volcengine:vmp/notifyPolicy:NotifyPolicy';
130
+ //# sourceMappingURL=notifyPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notifyPolicy.js","sourceRoot":"","sources":["../../vmp/notifyPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA1EL,oCA2EC;AA7DG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}