@volcengine/pulumi 0.0.32 → 0.0.34

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 (722) hide show
  1. package/apig/apigCustomDomain.d.ts +244 -0
  2. package/apig/apigCustomDomain.js +167 -0
  3. package/apig/apigCustomDomain.js.map +1 -0
  4. package/apig/apigGateway.d.ts +262 -0
  5. package/apig/apigGateway.js +150 -0
  6. package/apig/apigGateway.js.map +1 -0
  7. package/apig/apigGatewayService.d.ts +206 -0
  8. package/apig/apigGatewayService.js +159 -0
  9. package/apig/apigGatewayService.js.map +1 -0
  10. package/apig/apigRoute.d.ts +397 -0
  11. package/apig/apigRoute.js +299 -0
  12. package/apig/apigRoute.js.map +1 -0
  13. package/apig/apigUpstream.d.ts +375 -0
  14. package/apig/apigUpstream.js +278 -0
  15. package/apig/apigUpstream.js.map +1 -0
  16. package/apig/apigUpstreamSource.d.ts +214 -0
  17. package/apig/apigUpstreamSource.js +182 -0
  18. package/apig/apigUpstreamSource.js.map +1 -0
  19. package/apig/apigUpstreamVersion.d.ts +211 -0
  20. package/apig/apigUpstreamVersion.js +206 -0
  21. package/apig/apigUpstreamVersion.js.map +1 -0
  22. package/apig/customDomains.d.ts +112 -0
  23. package/apig/customDomains.js +55 -0
  24. package/apig/customDomains.js.map +1 -0
  25. package/apig/gatewayServices.d.ts +104 -0
  26. package/apig/gatewayServices.js +52 -0
  27. package/apig/gatewayServices.js.map +1 -0
  28. package/apig/gateways.d.ts +162 -0
  29. package/apig/gateways.js +63 -0
  30. package/apig/gateways.js.map +1 -0
  31. package/apig/getCustomDomains.d.ts +110 -0
  32. package/apig/getCustomDomains.js +52 -0
  33. package/apig/getCustomDomains.js.map +1 -0
  34. package/apig/getGatewayServices.d.ts +102 -0
  35. package/apig/getGatewayServices.js +49 -0
  36. package/apig/getGatewayServices.js.map +1 -0
  37. package/apig/getGateways.d.ts +160 -0
  38. package/apig/getGateways.js +60 -0
  39. package/apig/getGateways.js.map +1 -0
  40. package/apig/getRoutes.d.ts +153 -0
  41. package/apig/getRoutes.js +54 -0
  42. package/apig/getRoutes.js.map +1 -0
  43. package/apig/getUpstreamSources.d.ts +123 -0
  44. package/apig/getUpstreamSources.js +51 -0
  45. package/apig/getUpstreamSources.js.map +1 -0
  46. package/apig/getUpstreamVersions.d.ts +84 -0
  47. package/apig/getUpstreamVersions.js +47 -0
  48. package/apig/getUpstreamVersions.js.map +1 -0
  49. package/apig/getUpstreams.d.ts +140 -0
  50. package/apig/getUpstreams.js +60 -0
  51. package/apig/getUpstreams.js.map +1 -0
  52. package/apig/index.d.ts +63 -0
  53. package/apig/index.js +94 -0
  54. package/apig/index.js.map +1 -0
  55. package/apig/routes.d.ts +155 -0
  56. package/apig/routes.js +57 -0
  57. package/apig/routes.js.map +1 -0
  58. package/apig/upstreamSources.d.ts +125 -0
  59. package/apig/upstreamSources.js +54 -0
  60. package/apig/upstreamSources.js.map +1 -0
  61. package/apig/upstreamVersions.d.ts +86 -0
  62. package/apig/upstreamVersions.js +50 -0
  63. package/apig/upstreamVersions.js.map +1 -0
  64. package/apig/upstreams.d.ts +142 -0
  65. package/apig/upstreams.js +63 -0
  66. package/apig/upstreams.js.map +1 -0
  67. package/cen/bandwidthPackage.d.ts +15 -3
  68. package/cen/bandwidthPackage.js +2 -0
  69. package/cen/bandwidthPackage.js.map +1 -1
  70. package/cen/getGrantInstances.d.ts +106 -0
  71. package/cen/getGrantInstances.js +53 -0
  72. package/cen/getGrantInstances.js.map +1 -0
  73. package/cen/getInterRegionBandwidths.d.ts +12 -0
  74. package/cen/getInterRegionBandwidths.js +1 -0
  75. package/cen/getInterRegionBandwidths.js.map +1 -1
  76. package/cen/grantInstances.d.ts +108 -0
  77. package/cen/grantInstances.js +56 -0
  78. package/cen/grantInstances.js.map +1 -0
  79. package/cen/index.d.ts +6 -0
  80. package/cen/index.js +7 -1
  81. package/cen/index.js.map +1 -1
  82. package/cen/interRegionBandwidth.d.ts +12 -0
  83. package/cen/interRegionBandwidth.js +2 -0
  84. package/cen/interRegionBandwidth.js.map +1 -1
  85. package/cen/interRegionBandwidths.d.ts +12 -0
  86. package/cen/interRegionBandwidths.js +1 -0
  87. package/cen/interRegionBandwidths.js.map +1 -1
  88. package/cen/serviceRouteEntry.d.ts +2 -2
  89. package/cen/serviceRouteEntry.js +2 -2
  90. package/cr/getNamespaces.d.ts +9 -0
  91. package/cr/getNamespaces.js +1 -0
  92. package/cr/getNamespaces.js.map +1 -1
  93. package/cr/getRegistries.d.ts +9 -0
  94. package/cr/getRegistries.js +1 -0
  95. package/cr/getRegistries.js.map +1 -1
  96. package/cr/namespace.d.ts +12 -0
  97. package/cr/namespace.js +2 -0
  98. package/cr/namespace.js.map +1 -1
  99. package/cr/namespaces.d.ts +9 -0
  100. package/cr/namespaces.js +1 -0
  101. package/cr/namespaces.js.map +1 -1
  102. package/cr/registries.d.ts +9 -0
  103. package/cr/registries.js +1 -0
  104. package/cr/registries.js.map +1 -1
  105. package/cr/registry.d.ts +35 -3
  106. package/cr/registry.js +6 -2
  107. package/cr/registry.js.map +1 -1
  108. package/ebs/getMaxExtraPerformances.d.ts +22 -0
  109. package/ebs/getMaxExtraPerformances.js +22 -0
  110. package/ebs/getMaxExtraPerformances.js.map +1 -1
  111. package/ebs/maxExtraPerformances.d.ts +22 -0
  112. package/ebs/maxExtraPerformances.js +22 -0
  113. package/ebs/maxExtraPerformances.js.map +1 -1
  114. package/escloud_v2/escloudNodeAvailableSpecs.d.ts +73 -0
  115. package/escloud_v2/escloudNodeAvailableSpecs.js +46 -0
  116. package/escloud_v2/escloudNodeAvailableSpecs.js.map +1 -0
  117. package/escloud_v2/escloudZonesV2.d.ts +64 -0
  118. package/escloud_v2/escloudZonesV2.js +45 -0
  119. package/escloud_v2/escloudZonesV2.js.map +1 -0
  120. package/escloud_v2/getEscloudNodeAvailableSpecs.d.ts +71 -0
  121. package/escloud_v2/getEscloudNodeAvailableSpecs.js +43 -0
  122. package/escloud_v2/getEscloudNodeAvailableSpecs.js.map +1 -0
  123. package/escloud_v2/getEscloudZonesV2.d.ts +62 -0
  124. package/escloud_v2/getEscloudZonesV2.js +42 -0
  125. package/escloud_v2/getEscloudZonesV2.js.map +1 -0
  126. package/escloud_v2/index.d.ts +12 -0
  127. package/escloud_v2/index.js +13 -1
  128. package/escloud_v2/index.js.map +1 -1
  129. package/index.d.ts +6 -1
  130. package/index.js +12 -1
  131. package/index.js.map +1 -1
  132. package/kafka/allowList.d.ts +98 -0
  133. package/kafka/allowList.js +85 -0
  134. package/kafka/allowList.js.map +1 -0
  135. package/kafka/allowListAssociate.d.ts +90 -0
  136. package/kafka/allowListAssociate.js +87 -0
  137. package/kafka/allowListAssociate.js.map +1 -0
  138. package/kafka/allowLists.d.ts +91 -0
  139. package/kafka/allowLists.js +52 -0
  140. package/kafka/allowLists.js.map +1 -0
  141. package/kafka/getAllowLists.d.ts +89 -0
  142. package/kafka/getAllowLists.js +49 -0
  143. package/kafka/getAllowLists.js.map +1 -0
  144. package/kafka/index.d.ts +12 -0
  145. package/kafka/index.js +17 -1
  146. package/kafka/index.js.map +1 -1
  147. package/kms/getKeyrings.d.ts +154 -0
  148. package/kms/getKeyrings.js +69 -0
  149. package/kms/getKeyrings.js.map +1 -0
  150. package/kms/getKeys.d.ts +263 -0
  151. package/kms/getKeys.js +106 -0
  152. package/kms/getKeys.js.map +1 -0
  153. package/kms/getSecrets.d.ts +202 -0
  154. package/kms/getSecrets.js +73 -0
  155. package/kms/getSecrets.js.map +1 -0
  156. package/kms/index.d.ts +36 -0
  157. package/kms/index.js +65 -0
  158. package/kms/index.js.map +1 -0
  159. package/kms/key.d.ts +282 -0
  160. package/kms/key.js +127 -0
  161. package/kms/key.js.map +1 -0
  162. package/kms/keyArchive.d.ts +119 -0
  163. package/kms/keyArchive.js +94 -0
  164. package/kms/keyArchive.js.map +1 -0
  165. package/kms/keyEnable.d.ts +105 -0
  166. package/kms/keyEnable.js +80 -0
  167. package/kms/keyEnable.js.map +1 -0
  168. package/kms/keyRotation.d.ts +105 -0
  169. package/kms/keyRotation.js +80 -0
  170. package/kms/keyRotation.js.map +1 -0
  171. package/kms/keyring.d.ts +139 -0
  172. package/kms/keyring.js +89 -0
  173. package/kms/keyring.js.map +1 -0
  174. package/kms/keyrings.d.ts +156 -0
  175. package/kms/keyrings.js +72 -0
  176. package/kms/keyrings.js.map +1 -0
  177. package/kms/keys.d.ts +265 -0
  178. package/kms/keys.js +109 -0
  179. package/kms/keys.js.map +1 -0
  180. package/kms/secret.d.ts +264 -0
  181. package/kms/secret.js +122 -0
  182. package/kms/secret.js.map +1 -0
  183. package/kms/secrets.d.ts +204 -0
  184. package/kms/secrets.js +76 -0
  185. package/kms/secrets.js.map +1 -0
  186. package/mongodb/getInstanceParameterLogs.d.ts +1 -1
  187. package/mongodb/instanceParameter.d.ts +1 -1
  188. package/mongodb/instanceParameter.js +1 -1
  189. package/mongodb/instanceParameterLogs.d.ts +1 -1
  190. package/nas/autoSnapshotPolicies.d.ts +115 -0
  191. package/nas/autoSnapshotPolicies.js +66 -0
  192. package/nas/autoSnapshotPolicies.js.map +1 -0
  193. package/nas/autoSnapshotPolicy.d.ts +132 -0
  194. package/nas/autoSnapshotPolicy.js +94 -0
  195. package/nas/autoSnapshotPolicy.js.map +1 -0
  196. package/nas/autoSnapshotPolicyApply.d.ts +101 -0
  197. package/nas/autoSnapshotPolicyApply.js +98 -0
  198. package/nas/autoSnapshotPolicyApply.js.map +1 -0
  199. package/nas/getAutoSnapshotPolicies.d.ts +113 -0
  200. package/nas/getAutoSnapshotPolicies.js +63 -0
  201. package/nas/getAutoSnapshotPolicies.js.map +1 -0
  202. package/nas/index.d.ts +12 -0
  203. package/nas/index.js +17 -1
  204. package/nas/index.js.map +1 -1
  205. package/package.json +1 -1
  206. package/private_zone/getPrivateZones.d.ts +31 -0
  207. package/private_zone/getPrivateZones.js +3 -0
  208. package/private_zone/getPrivateZones.js.map +1 -1
  209. package/private_zone/getRecords.d.ts +19 -4
  210. package/private_zone/getRecords.js +1 -0
  211. package/private_zone/getRecords.js.map +1 -1
  212. package/private_zone/getResolverEndpoints.d.ts +22 -0
  213. package/private_zone/getResolverEndpoints.js +2 -0
  214. package/private_zone/getResolverEndpoints.js.map +1 -1
  215. package/private_zone/getResolverRules.d.ts +22 -0
  216. package/private_zone/getResolverRules.js +2 -0
  217. package/private_zone/getResolverRules.js.map +1 -1
  218. package/private_zone/privateZone.d.ts +44 -0
  219. package/private_zone/privateZone.js +11 -0
  220. package/private_zone/privateZone.js.map +1 -1
  221. package/private_zone/privateZones.d.ts +31 -0
  222. package/private_zone/privateZones.js +3 -0
  223. package/private_zone/privateZones.js.map +1 -1
  224. package/private_zone/record.d.ts +24 -0
  225. package/private_zone/record.js +4 -0
  226. package/private_zone/record.js.map +1 -1
  227. package/private_zone/records.d.ts +19 -4
  228. package/private_zone/records.js +1 -0
  229. package/private_zone/records.js.map +1 -1
  230. package/private_zone/resolverEndpoint.d.ts +45 -2
  231. package/private_zone/resolverEndpoint.js +11 -4
  232. package/private_zone/resolverEndpoint.js.map +1 -1
  233. package/private_zone/resolverEndpoints.d.ts +22 -0
  234. package/private_zone/resolverEndpoints.js +2 -0
  235. package/private_zone/resolverEndpoints.js.map +1 -1
  236. package/private_zone/resolverRule.d.ts +62 -3
  237. package/private_zone/resolverRule.js +13 -0
  238. package/private_zone/resolverRule.js.map +1 -1
  239. package/private_zone/resolverRules.d.ts +22 -0
  240. package/private_zone/resolverRules.js +2 -0
  241. package/private_zone/resolverRules.js.map +1 -1
  242. package/private_zone/userVpcAuthorization.d.ts +24 -0
  243. package/private_zone/userVpcAuthorization.js +4 -0
  244. package/private_zone/userVpcAuthorization.js.map +1 -1
  245. package/rabbitmq/getRegions.d.ts +62 -0
  246. package/rabbitmq/getRegions.js +42 -0
  247. package/rabbitmq/getRegions.js.map +1 -0
  248. package/rabbitmq/getZones.d.ts +62 -0
  249. package/rabbitmq/getZones.js +42 -0
  250. package/rabbitmq/getZones.js.map +1 -0
  251. package/rabbitmq/index.d.ts +12 -0
  252. package/rabbitmq/index.js +13 -1
  253. package/rabbitmq/index.js.map +1 -1
  254. package/rabbitmq/regions.d.ts +64 -0
  255. package/rabbitmq/regions.js +45 -0
  256. package/rabbitmq/regions.js.map +1 -0
  257. package/rabbitmq/zones.d.ts +64 -0
  258. package/rabbitmq/zones.js +45 -0
  259. package/rabbitmq/zones.js.map +1 -0
  260. package/rds_mysql/account.d.ts +53 -3
  261. package/rds_mysql/account.js +20 -0
  262. package/rds_mysql/account.js.map +1 -1
  263. package/rds_mysql/accountTableColumnInfos.d.ts +139 -0
  264. package/rds_mysql/accountTableColumnInfos.js +57 -0
  265. package/rds_mysql/accountTableColumnInfos.js.map +1 -0
  266. package/rds_mysql/backupPolicy.d.ts +30 -1
  267. package/rds_mysql/backupPolicy.js +12 -1
  268. package/rds_mysql/backupPolicy.js.map +1 -1
  269. package/rds_mysql/backups.d.ts +2 -16
  270. package/rds_mysql/backups.js +2 -16
  271. package/rds_mysql/backups.js.map +1 -1
  272. package/rds_mysql/database.d.ts +13 -0
  273. package/rds_mysql/database.js +3 -0
  274. package/rds_mysql/database.js.map +1 -1
  275. package/rds_mysql/endpoint.d.ts +32 -34
  276. package/rds_mysql/endpoint.js +10 -19
  277. package/rds_mysql/endpoint.js.map +1 -1
  278. package/rds_mysql/getAccountTableColumnInfos.d.ts +137 -0
  279. package/rds_mysql/getAccountTableColumnInfos.js +54 -0
  280. package/rds_mysql/getAccountTableColumnInfos.js.map +1 -0
  281. package/rds_mysql/getBackups.d.ts +2 -16
  282. package/rds_mysql/getBackups.js +2 -16
  283. package/rds_mysql/getBackups.js.map +1 -1
  284. package/rds_mysql/getInstances.d.ts +75 -0
  285. package/rds_mysql/getInstances.js +7 -0
  286. package/rds_mysql/getInstances.js.map +1 -1
  287. package/rds_mysql/getPlannedEvents.d.ts +132 -0
  288. package/rds_mysql/getPlannedEvents.js +52 -0
  289. package/rds_mysql/getPlannedEvents.js.map +1 -0
  290. package/rds_mysql/getTasks.d.ts +175 -0
  291. package/rds_mysql/getTasks.js +60 -0
  292. package/rds_mysql/getTasks.js.map +1 -0
  293. package/rds_mysql/index.d.ts +18 -0
  294. package/rds_mysql/index.js +20 -2
  295. package/rds_mysql/index.js.map +1 -1
  296. package/rds_mysql/instance.d.ts +167 -12
  297. package/rds_mysql/instance.js +40 -3
  298. package/rds_mysql/instance.js.map +1 -1
  299. package/rds_mysql/instanceReadonlyNode.d.ts +8 -0
  300. package/rds_mysql/instanceReadonlyNode.js +2 -0
  301. package/rds_mysql/instanceReadonlyNode.js.map +1 -1
  302. package/rds_mysql/instances.d.ts +75 -0
  303. package/rds_mysql/instances.js +7 -0
  304. package/rds_mysql/instances.js.map +1 -1
  305. package/rds_mysql/plannedEvents.d.ts +134 -0
  306. package/rds_mysql/plannedEvents.js +55 -0
  307. package/rds_mysql/plannedEvents.js.map +1 -0
  308. package/rds_mysql/tasks.d.ts +177 -0
  309. package/rds_mysql/tasks.js +63 -0
  310. package/rds_mysql/tasks.js.map +1 -0
  311. package/redis/allowList.d.ts +24 -0
  312. package/redis/allowList.js +6 -0
  313. package/redis/allowList.js.map +1 -1
  314. package/redis/allowLists.d.ts +39 -0
  315. package/redis/allowLists.js +4 -0
  316. package/redis/allowLists.js.map +1 -1
  317. package/redis/backup.d.ts +46 -7
  318. package/redis/backup.js +14 -3
  319. package/redis/backup.js.map +1 -1
  320. package/redis/backupRestore.d.ts +14 -2
  321. package/redis/backupRestore.js +2 -3
  322. package/redis/backupRestore.js.map +1 -1
  323. package/redis/backups.d.ts +47 -5
  324. package/redis/backups.js +5 -0
  325. package/redis/backups.js.map +1 -1
  326. package/redis/bigKeys.d.ts +181 -0
  327. package/redis/bigKeys.js +110 -0
  328. package/redis/bigKeys.js.map +1 -0
  329. package/redis/getAllowLists.d.ts +39 -0
  330. package/redis/getAllowLists.js +4 -0
  331. package/redis/getAllowLists.js.map +1 -1
  332. package/redis/getBackups.d.ts +47 -5
  333. package/redis/getBackups.js +5 -0
  334. package/redis/getBackups.js.map +1 -1
  335. package/redis/getBigKeys.d.ts +179 -0
  336. package/redis/getBigKeys.js +107 -0
  337. package/redis/getBigKeys.js.map +1 -0
  338. package/redis/getInstanceSpecs.d.ts +76 -0
  339. package/redis/getInstanceSpecs.js +29 -0
  340. package/redis/getInstanceSpecs.js.map +1 -0
  341. package/redis/getInstances.d.ts +3 -0
  342. package/redis/getInstances.js.map +1 -1
  343. package/redis/getParameterGroups.d.ts +79 -0
  344. package/redis/getParameterGroups.js +29 -0
  345. package/redis/getParameterGroups.js.map +1 -0
  346. package/redis/getPlannedEvents.d.ts +161 -0
  347. package/redis/getPlannedEvents.js +106 -0
  348. package/redis/getPlannedEvents.js.map +1 -0
  349. package/redis/index.d.ts +27 -0
  350. package/redis/index.js +31 -1
  351. package/redis/index.js.map +1 -1
  352. package/redis/instance.d.ts +85 -1
  353. package/redis/instance.js +14 -0
  354. package/redis/instance.js.map +1 -1
  355. package/redis/instanceSpecs.d.ts +78 -0
  356. package/redis/instanceSpecs.js +32 -0
  357. package/redis/instanceSpecs.js.map +1 -0
  358. package/redis/instances.d.ts +3 -0
  359. package/redis/instances.js.map +1 -1
  360. package/redis/parameterGroup.d.ts +118 -0
  361. package/redis/parameterGroup.js +93 -0
  362. package/redis/parameterGroup.js.map +1 -0
  363. package/redis/parameterGroups.d.ts +81 -0
  364. package/redis/parameterGroups.js +32 -0
  365. package/redis/parameterGroups.js.map +1 -0
  366. package/redis/plannedEvents.d.ts +163 -0
  367. package/redis/plannedEvents.js +109 -0
  368. package/redis/plannedEvents.js.map +1 -0
  369. package/tls/consumerGroup.d.ts +121 -0
  370. package/tls/consumerGroup.js +97 -0
  371. package/tls/consumerGroup.js.map +1 -0
  372. package/tls/consumerGroups.d.ts +139 -0
  373. package/tls/consumerGroups.js +52 -0
  374. package/tls/consumerGroups.js.map +1 -0
  375. package/tls/etlTask.d.ts +196 -0
  376. package/tls/etlTask.js +123 -0
  377. package/tls/etlTask.js.map +1 -0
  378. package/tls/etlTasks.d.ts +160 -0
  379. package/tls/etlTasks.js +54 -0
  380. package/tls/etlTasks.js.map +1 -0
  381. package/tls/getConsumerGroups.d.ts +137 -0
  382. package/tls/getConsumerGroups.js +49 -0
  383. package/tls/getConsumerGroups.js.map +1 -0
  384. package/tls/getEtlTasks.d.ts +158 -0
  385. package/tls/getEtlTasks.js +51 -0
  386. package/tls/getEtlTasks.js.map +1 -0
  387. package/tls/getImportTasks.d.ts +173 -0
  388. package/tls/getImportTasks.js +52 -0
  389. package/tls/getImportTasks.js.map +1 -0
  390. package/tls/getScheduleSqlTasks.d.ts +155 -0
  391. package/tls/getScheduleSqlTasks.js +51 -0
  392. package/tls/getScheduleSqlTasks.js.map +1 -0
  393. package/tls/getShippers.d.ts +164 -0
  394. package/tls/getShippers.js +51 -0
  395. package/tls/getShippers.js.map +1 -0
  396. package/tls/importTask.d.ts +175 -0
  397. package/tls/importTask.js +110 -0
  398. package/tls/importTask.js.map +1 -0
  399. package/tls/importTasks.d.ts +175 -0
  400. package/tls/importTasks.js +55 -0
  401. package/tls/importTasks.js.map +1 -0
  402. package/tls/index.d.ts +45 -0
  403. package/tls/index.js +57 -2
  404. package/tls/index.js.map +1 -1
  405. package/tls/scheduleSqlTask.d.ts +219 -0
  406. package/tls/scheduleSqlTask.js +135 -0
  407. package/tls/scheduleSqlTask.js.map +1 -0
  408. package/tls/scheduleSqlTasks.d.ts +157 -0
  409. package/tls/scheduleSqlTasks.js +54 -0
  410. package/tls/scheduleSqlTasks.js.map +1 -0
  411. package/tls/shipper.d.ts +191 -0
  412. package/tls/shipper.js +119 -0
  413. package/tls/shipper.js.map +1 -0
  414. package/tls/shippers.d.ts +166 -0
  415. package/tls/shippers.js +54 -0
  416. package/tls/shippers.js.map +1 -0
  417. package/types/input.d.ts +6348 -3370
  418. package/types/output.d.ts +38406 -23946
  419. package/vefaas/function.d.ts +346 -0
  420. package/vefaas/function.js +126 -0
  421. package/vefaas/function.js.map +1 -0
  422. package/vefaas/functions.d.ts +73 -0
  423. package/vefaas/functions.js +46 -0
  424. package/vefaas/functions.js.map +1 -0
  425. package/vefaas/getFunctions.d.ts +71 -0
  426. package/vefaas/getFunctions.js +43 -0
  427. package/vefaas/getFunctions.js.map +1 -0
  428. package/vefaas/getKafkaTriggers.d.ts +87 -0
  429. package/vefaas/getKafkaTriggers.js +47 -0
  430. package/vefaas/getKafkaTriggers.js.map +1 -0
  431. package/vefaas/getReleases.d.ts +106 -0
  432. package/vefaas/getReleases.js +49 -0
  433. package/vefaas/getReleases.js.map +1 -0
  434. package/vefaas/getTimers.d.ts +87 -0
  435. package/vefaas/getTimers.js +47 -0
  436. package/vefaas/getTimers.js.map +1 -0
  437. package/vefaas/index.d.ts +36 -0
  438. package/vefaas/index.js +61 -0
  439. package/vefaas/index.js.map +1 -0
  440. package/vefaas/kafkaTrigger.d.ts +232 -0
  441. package/vefaas/kafkaTrigger.js +119 -0
  442. package/vefaas/kafkaTrigger.js.map +1 -0
  443. package/vefaas/kafkaTriggers.d.ts +89 -0
  444. package/vefaas/kafkaTriggers.js +50 -0
  445. package/vefaas/kafkaTriggers.js.map +1 -0
  446. package/vefaas/release.d.ts +211 -0
  447. package/vefaas/release.js +108 -0
  448. package/vefaas/release.js.map +1 -0
  449. package/vefaas/releases.d.ts +108 -0
  450. package/vefaas/releases.js +52 -0
  451. package/vefaas/releases.js.map +1 -0
  452. package/vefaas/timer.d.ts +170 -0
  453. package/vefaas/timer.js +95 -0
  454. package/vefaas/timer.js.map +1 -0
  455. package/vefaas/timers.d.ts +89 -0
  456. package/vefaas/timers.js +50 -0
  457. package/vefaas/timers.js.map +1 -0
  458. package/vmp/alertingRule.d.ts +300 -0
  459. package/vmp/alertingRule.js +220 -0
  460. package/vmp/alertingRule.js.map +1 -0
  461. package/vmp/alertingRules.d.ts +386 -0
  462. package/vmp/alertingRules.js +291 -0
  463. package/vmp/alertingRules.js.map +1 -0
  464. package/vmp/alerts.d.ts +119 -0
  465. package/vmp/alerts.js +54 -0
  466. package/vmp/alerts.js.map +1 -0
  467. package/vmp/contact.d.ts +181 -0
  468. package/vmp/contact.js +102 -0
  469. package/vmp/contact.js.map +1 -0
  470. package/vmp/contactGroup.d.ts +124 -0
  471. package/vmp/contactGroup.js +109 -0
  472. package/vmp/contactGroup.js.map +1 -0
  473. package/vmp/contactGroups.d.ts +167 -0
  474. package/vmp/contactGroups.js +129 -0
  475. package/vmp/contactGroups.js.map +1 -0
  476. package/vmp/contacts.d.ts +137 -0
  477. package/vmp/contacts.js +88 -0
  478. package/vmp/contacts.js.map +1 -0
  479. package/vmp/getAlertingRules.d.ts +384 -0
  480. package/vmp/getAlertingRules.js +288 -0
  481. package/vmp/getAlertingRules.js.map +1 -0
  482. package/vmp/getAlerts.d.ts +117 -0
  483. package/vmp/getAlerts.js +51 -0
  484. package/vmp/getAlerts.js.map +1 -0
  485. package/vmp/getContactGroups.d.ts +165 -0
  486. package/vmp/getContactGroups.js +126 -0
  487. package/vmp/getContactGroups.js.map +1 -0
  488. package/vmp/getContacts.d.ts +135 -0
  489. package/vmp/getContacts.js +85 -0
  490. package/vmp/getContacts.js.map +1 -0
  491. package/vmp/getInstanceTypes.d.ts +75 -0
  492. package/vmp/getInstanceTypes.js +47 -0
  493. package/vmp/getInstanceTypes.js.map +1 -0
  494. package/vmp/getNotifyGroupPolicies.d.ts +141 -0
  495. package/vmp/getNotifyGroupPolicies.js +102 -0
  496. package/vmp/getNotifyGroupPolicies.js.map +1 -0
  497. package/vmp/getNotifyPolicies.d.ts +221 -0
  498. package/vmp/getNotifyPolicies.js +160 -0
  499. package/vmp/getNotifyPolicies.js.map +1 -0
  500. package/vmp/getNotifyTemplates.d.ts +134 -0
  501. package/vmp/getNotifyTemplates.js +76 -0
  502. package/vmp/getNotifyTemplates.js.map +1 -0
  503. package/vmp/getRuleFiles.d.ts +152 -0
  504. package/vmp/getRuleFiles.js +93 -0
  505. package/vmp/getRuleFiles.js.map +1 -0
  506. package/vmp/getRules.d.ts +131 -0
  507. package/vmp/getRules.js +53 -0
  508. package/vmp/getRules.js.map +1 -0
  509. package/vmp/getWorkspaces.d.ts +146 -0
  510. package/vmp/getWorkspaces.js +68 -0
  511. package/vmp/getWorkspaces.js.map +1 -0
  512. package/vmp/index.d.ts +90 -0
  513. package/vmp/index.js +124 -0
  514. package/vmp/index.js.map +1 -0
  515. package/vmp/instanceTypes.d.ts +77 -0
  516. package/vmp/instanceTypes.js +50 -0
  517. package/vmp/instanceTypes.js.map +1 -0
  518. package/vmp/notifyGroupPolicies.d.ts +143 -0
  519. package/vmp/notifyGroupPolicies.js +105 -0
  520. package/vmp/notifyGroupPolicies.js.map +1 -0
  521. package/vmp/notifyGroupPolicy.d.ts +118 -0
  522. package/vmp/notifyGroupPolicy.js +100 -0
  523. package/vmp/notifyGroupPolicy.js.map +1 -0
  524. package/vmp/notifyPolicies.d.ts +223 -0
  525. package/vmp/notifyPolicies.js +163 -0
  526. package/vmp/notifyPolicies.js.map +1 -0
  527. package/vmp/notifyPolicy.d.ts +158 -0
  528. package/vmp/notifyPolicy.js +130 -0
  529. package/vmp/notifyPolicy.js.map +1 -0
  530. package/vmp/notifyTemplate.d.ts +144 -0
  531. package/vmp/notifyTemplate.js +100 -0
  532. package/vmp/notifyTemplate.js.map +1 -0
  533. package/vmp/notifyTemplates.d.ts +136 -0
  534. package/vmp/notifyTemplates.js +79 -0
  535. package/vmp/notifyTemplates.js.map +1 -0
  536. package/vmp/ruleFile.d.ts +163 -0
  537. package/vmp/ruleFile.js +110 -0
  538. package/vmp/ruleFile.js.map +1 -0
  539. package/vmp/ruleFiles.d.ts +154 -0
  540. package/vmp/ruleFiles.js +96 -0
  541. package/vmp/ruleFiles.js.map +1 -0
  542. package/vmp/rules.d.ts +133 -0
  543. package/vmp/rules.js +56 -0
  544. package/vmp/rules.js.map +1 -0
  545. package/vmp/workspace.d.ts +212 -0
  546. package/vmp/workspace.js +110 -0
  547. package/vmp/workspace.js.map +1 -0
  548. package/vmp/workspaces.d.ts +148 -0
  549. package/vmp/workspaces.js +71 -0
  550. package/vmp/workspaces.js.map +1 -0
  551. package/vpc/cidrBlockAssociate.d.ts +83 -0
  552. package/vpc/cidrBlockAssociate.js +80 -0
  553. package/vpc/cidrBlockAssociate.js.map +1 -0
  554. package/vpc/flowLog.d.ts +266 -0
  555. package/vpc/flowLog.js +148 -0
  556. package/vpc/flowLog.js.map +1 -0
  557. package/vpc/flowLogActive.d.ts +103 -0
  558. package/vpc/flowLogActive.js +101 -0
  559. package/vpc/flowLogActive.js.map +1 -0
  560. package/vpc/flowLogs.d.ts +231 -0
  561. package/vpc/flowLogs.js +63 -0
  562. package/vpc/flowLogs.js.map +1 -0
  563. package/vpc/getFlowLogs.d.ts +229 -0
  564. package/vpc/getFlowLogs.js +60 -0
  565. package/vpc/getFlowLogs.js.map +1 -0
  566. package/vpc/getSubnets.d.ts +9 -0
  567. package/vpc/getSubnets.js +1 -0
  568. package/vpc/getSubnets.js.map +1 -1
  569. package/vpc/getTrafficMirrorFilterRules.d.ts +103 -0
  570. package/vpc/getTrafficMirrorFilterRules.js +50 -0
  571. package/vpc/getTrafficMirrorFilterRules.js.map +1 -0
  572. package/vpc/getTrafficMirrorFilters.d.ts +118 -0
  573. package/vpc/getTrafficMirrorFilters.js +51 -0
  574. package/vpc/getTrafficMirrorFilters.js.map +1 -0
  575. package/vpc/getTrafficMirrorSessions.d.ts +187 -0
  576. package/vpc/getTrafficMirrorSessions.js +57 -0
  577. package/vpc/getTrafficMirrorSessions.js.map +1 -0
  578. package/vpc/getTrafficMirrorTargets.d.ts +121 -0
  579. package/vpc/getTrafficMirrorTargets.js +51 -0
  580. package/vpc/getTrafficMirrorTargets.js.map +1 -0
  581. package/vpc/getVpcs.d.ts +9 -0
  582. package/vpc/getVpcs.js +1 -0
  583. package/vpc/getVpcs.js.map +1 -1
  584. package/vpc/index.d.ts +51 -0
  585. package/vpc/index.js +67 -2
  586. package/vpc/index.js.map +1 -1
  587. package/vpc/routeEntry.d.ts +3 -3
  588. package/vpc/subnets.d.ts +9 -0
  589. package/vpc/subnets.js +1 -0
  590. package/vpc/subnets.js.map +1 -1
  591. package/vpc/trafficMirrorFilter.d.ts +137 -0
  592. package/vpc/trafficMirrorFilter.js +88 -0
  593. package/vpc/trafficMirrorFilter.js.map +1 -0
  594. package/vpc/trafficMirrorFilterRule.d.ts +245 -0
  595. package/vpc/trafficMirrorFilterRule.js +144 -0
  596. package/vpc/trafficMirrorFilterRule.js.map +1 -0
  597. package/vpc/trafficMirrorFilterRules.d.ts +105 -0
  598. package/vpc/trafficMirrorFilterRules.js +53 -0
  599. package/vpc/trafficMirrorFilterRules.js.map +1 -0
  600. package/vpc/trafficMirrorFilters.d.ts +120 -0
  601. package/vpc/trafficMirrorFilters.js +54 -0
  602. package/vpc/trafficMirrorFilters.js.map +1 -0
  603. package/vpc/trafficMirrorSession.d.ts +330 -0
  604. package/vpc/trafficMirrorSession.js +221 -0
  605. package/vpc/trafficMirrorSession.js.map +1 -0
  606. package/vpc/trafficMirrorSessions.d.ts +189 -0
  607. package/vpc/trafficMirrorSessions.js +60 -0
  608. package/vpc/trafficMirrorSessions.js.map +1 -0
  609. package/vpc/trafficMirrorTarget.d.ts +222 -0
  610. package/vpc/trafficMirrorTarget.js +159 -0
  611. package/vpc/trafficMirrorTarget.js.map +1 -0
  612. package/vpc/trafficMirrorTargets.d.ts +123 -0
  613. package/vpc/trafficMirrorTargets.js +54 -0
  614. package/vpc/trafficMirrorTargets.js.map +1 -0
  615. package/vpc/vpc.d.ts +8 -0
  616. package/vpc/vpc.js +2 -0
  617. package/vpc/vpc.js.map +1 -1
  618. package/vpc/vpcs.d.ts +9 -0
  619. package/vpc/vpcs.js +1 -0
  620. package/vpc/vpcs.js.map +1 -1
  621. package/waf/aclRule.d.ts +326 -0
  622. package/waf/aclRule.js +150 -0
  623. package/waf/aclRule.js.map +1 -0
  624. package/waf/aclRules.d.ts +170 -0
  625. package/waf/aclRules.js +69 -0
  626. package/waf/aclRules.js.map +1 -0
  627. package/waf/botAnalyseProtectRule.d.ts +320 -0
  628. package/waf/botAnalyseProtectRule.js +171 -0
  629. package/waf/botAnalyseProtectRule.js.map +1 -0
  630. package/waf/botAnalyseProtectRules.d.ts +145 -0
  631. package/waf/botAnalyseProtectRules.js +57 -0
  632. package/waf/botAnalyseProtectRules.js.map +1 -0
  633. package/waf/ccRule.d.ts +337 -0
  634. package/waf/ccRule.js +182 -0
  635. package/waf/ccRule.js.map +1 -0
  636. package/waf/ccRules.d.ts +149 -0
  637. package/waf/ccRules.js +61 -0
  638. package/waf/ccRules.js.map +1 -0
  639. package/waf/customBot.d.ts +191 -0
  640. package/waf/customBot.js +127 -0
  641. package/waf/customBot.js.map +1 -0
  642. package/waf/customBots.d.ts +86 -0
  643. package/waf/customBots.js +51 -0
  644. package/waf/customBots.js.map +1 -0
  645. package/waf/customPage.d.ts +310 -0
  646. package/waf/customPage.js +160 -0
  647. package/waf/customPage.js.map +1 -0
  648. package/waf/customPages.d.ts +110 -0
  649. package/waf/customPages.js +52 -0
  650. package/waf/customPages.js.map +1 -0
  651. package/waf/domains.d.ts +94 -0
  652. package/waf/domains.js +48 -0
  653. package/waf/domains.js.map +1 -0
  654. package/waf/getAclRules.d.ts +168 -0
  655. package/waf/getAclRules.js +66 -0
  656. package/waf/getAclRules.js.map +1 -0
  657. package/waf/getBotAnalyseProtectRules.d.ts +143 -0
  658. package/waf/getBotAnalyseProtectRules.js +54 -0
  659. package/waf/getBotAnalyseProtectRules.js.map +1 -0
  660. package/waf/getCcRules.d.ts +147 -0
  661. package/waf/getCcRules.js +58 -0
  662. package/waf/getCcRules.js.map +1 -0
  663. package/waf/getCustomBots.d.ts +84 -0
  664. package/waf/getCustomBots.js +48 -0
  665. package/waf/getCustomBots.js.map +1 -0
  666. package/waf/getCustomPages.d.ts +108 -0
  667. package/waf/getCustomPages.js +49 -0
  668. package/waf/getCustomPages.js.map +1 -0
  669. package/waf/getDomains.d.ts +92 -0
  670. package/waf/getDomains.js +45 -0
  671. package/waf/getDomains.js.map +1 -0
  672. package/waf/getHostGroups.d.ts +146 -0
  673. package/waf/getHostGroups.js +55 -0
  674. package/waf/getHostGroups.js.map +1 -0
  675. package/waf/getIpGroups.d.ts +105 -0
  676. package/waf/getIpGroups.js +49 -0
  677. package/waf/getIpGroups.js.map +1 -0
  678. package/waf/getProhibitions.d.ts +127 -0
  679. package/waf/getProhibitions.js +55 -0
  680. package/waf/getProhibitions.js.map +1 -0
  681. package/waf/getServiceCertificates.d.ts +71 -0
  682. package/waf/getServiceCertificates.js +43 -0
  683. package/waf/getServiceCertificates.js.map +1 -0
  684. package/waf/getSystemBots.d.ts +84 -0
  685. package/waf/getSystemBots.js +47 -0
  686. package/waf/getSystemBots.js.map +1 -0
  687. package/waf/hostGroup.d.ts +152 -0
  688. package/waf/hostGroup.js +90 -0
  689. package/waf/hostGroup.js.map +1 -0
  690. package/waf/hostGroups.d.ts +148 -0
  691. package/waf/hostGroups.js +58 -0
  692. package/waf/hostGroups.js.map +1 -0
  693. package/waf/index.d.ts +99 -0
  694. package/waf/index.js +139 -0
  695. package/waf/index.js.map +1 -0
  696. package/waf/instanceCtl.d.ts +95 -0
  697. package/waf/instanceCtl.js +76 -0
  698. package/waf/instanceCtl.js.map +1 -0
  699. package/waf/ipGroup.d.ts +132 -0
  700. package/waf/ipGroup.js +93 -0
  701. package/waf/ipGroup.js.map +1 -0
  702. package/waf/ipGroups.d.ts +107 -0
  703. package/waf/ipGroups.js +52 -0
  704. package/waf/ipGroups.js.map +1 -0
  705. package/waf/prohibitions.d.ts +129 -0
  706. package/waf/prohibitions.js +58 -0
  707. package/waf/prohibitions.js.map +1 -0
  708. package/waf/serviceCertificates.d.ts +73 -0
  709. package/waf/serviceCertificates.js +46 -0
  710. package/waf/serviceCertificates.js.map +1 -0
  711. package/waf/systemBot.d.ts +137 -0
  712. package/waf/systemBot.js +92 -0
  713. package/waf/systemBot.js.map +1 -0
  714. package/waf/systemBots.d.ts +86 -0
  715. package/waf/systemBots.js +50 -0
  716. package/waf/systemBots.js.map +1 -0
  717. package/waf/vulnerability.d.ts +116 -0
  718. package/waf/vulnerability.js +72 -0
  719. package/waf/vulnerability.js.map +1 -0
  720. package/waf/wafDomain.d.ts +877 -0
  721. package/waf/wafDomain.js +252 -0
  722. package/waf/wafDomain.js.map +1 -0
@@ -0,0 +1,288 @@
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.getAlertingRulesOutput = exports.getAlertingRules = 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 alerting rules
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 fooWorkspace = new volcengine.vmp.Workspace("fooWorkspace", {
18
+ * instanceTypeId: "vmp.standard.15d",
19
+ * deleteProtectionEnabled: false,
20
+ * description: "acc-test-1",
21
+ * username: "admin123",
22
+ * password: "***********",
23
+ * });
24
+ * const fooContact = new volcengine.vmp.Contact("fooContact", {
25
+ * email: "acctest1@tftest.com",
26
+ * webhook: {
27
+ * address: "https://www.acctest1.com",
28
+ * },
29
+ * larkBotWebhook: {
30
+ * address: "https://www.acctest1.com",
31
+ * },
32
+ * dingTalkBotWebhook: {
33
+ * address: "https://www.dingacctest1.com",
34
+ * atMobiles: ["18046891812"],
35
+ * },
36
+ * phoneNumber: {
37
+ * countryCode: "+86",
38
+ * number: "18310101010",
39
+ * },
40
+ * });
41
+ * const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
42
+ * email: "acctest2@tftest.com",
43
+ * webhook: {
44
+ * address: "https://www.acctest2.com",
45
+ * },
46
+ * larkBotWebhook: {
47
+ * address: "https://www.acctest2.com",
48
+ * },
49
+ * dingTalkBotWebhook: {
50
+ * address: "https://www.dingacctest2.com",
51
+ * atMobiles: ["18046891813"],
52
+ * },
53
+ * phoneNumber: {
54
+ * countryCode: "+86",
55
+ * number: "18310101011",
56
+ * },
57
+ * });
58
+ * const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
59
+ * const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
60
+ * const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
61
+ * description: "acc-test-1",
62
+ * levels: [
63
+ * {
64
+ * level: "P1",
65
+ * contactGroupIds: [fooContactGroup.id],
66
+ * channels: [
67
+ * "Email",
68
+ * "Webhook",
69
+ * ],
70
+ * },
71
+ * {
72
+ * level: "P0",
73
+ * contactGroupIds: [foo1ContactGroup.id],
74
+ * channels: ["LarkBotWebhook"],
75
+ * },
76
+ * ],
77
+ * });
78
+ * const fooNotifyGroupPolicy = new volcengine.vmp.NotifyGroupPolicy("fooNotifyGroupPolicy", {
79
+ * description: "acc-test-1",
80
+ * levels: [
81
+ * {
82
+ * level: "P2",
83
+ * groupBies: ["__rule__"],
84
+ * groupWait: "35",
85
+ * groupInterval: "30",
86
+ * repeatInterval: "30",
87
+ * },
88
+ * {
89
+ * level: "P0",
90
+ * groupBies: ["__rule__"],
91
+ * groupWait: "30",
92
+ * groupInterval: "30",
93
+ * repeatInterval: "30",
94
+ * },
95
+ * {
96
+ * level: "P1",
97
+ * groupBies: ["__rule__"],
98
+ * groupWait: "40",
99
+ * groupInterval: "45",
100
+ * repeatInterval: "30",
101
+ * },
102
+ * ],
103
+ * });
104
+ * const fooAlertingRule = new volcengine.vmp.AlertingRule("fooAlertingRule", {
105
+ * description: "acc-test-1",
106
+ * notifyPolicyId: fooNotifyPolicy.id,
107
+ * notifyGroupPolicyId: fooNotifyGroupPolicy.id,
108
+ * query: {
109
+ * workspaceId: fooWorkspace.id,
110
+ * promQl: "sum(up)",
111
+ * },
112
+ * levels: [
113
+ * {
114
+ * level: "P0",
115
+ * "for": "0s",
116
+ * comparator: ">=",
117
+ * threshold: 2,
118
+ * },
119
+ * {
120
+ * level: "P1",
121
+ * "for": "0s",
122
+ * comparator: ">=",
123
+ * threshold: 1,
124
+ * },
125
+ * {
126
+ * level: "P2",
127
+ * "for": "0s",
128
+ * comparator: ">=",
129
+ * threshold: 0.5,
130
+ * },
131
+ * ],
132
+ * });
133
+ * const fooAlertingRules = volcengine.vmp.getAlertingRulesOutput({
134
+ * ids: [fooAlertingRule.id],
135
+ * });
136
+ * ```
137
+ */
138
+ function getAlertingRules(args, opts) {
139
+ args = args || {};
140
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
141
+ return pulumi.runtime.invoke("volcengine:vmp/getAlertingRules:getAlertingRules", {
142
+ "ids": args.ids,
143
+ "name": args.name,
144
+ "nameRegex": args.nameRegex,
145
+ "notifyGroupPolicyIds": args.notifyGroupPolicyIds,
146
+ "notifyPolicyIds": args.notifyPolicyIds,
147
+ "outputFile": args.outputFile,
148
+ "status": args.status,
149
+ "type": args.type,
150
+ "workspaceId": args.workspaceId,
151
+ }, opts);
152
+ }
153
+ exports.getAlertingRules = getAlertingRules;
154
+ /**
155
+ * Use this data source to query detailed information of vmp alerting rules
156
+ * ## Example Usage
157
+ *
158
+ * ```typescript
159
+ * import * as pulumi from "@pulumi/pulumi";
160
+ * import * as volcengine from "@pulumi/volcengine";
161
+ * import * as volcengine from "@volcengine/pulumi";
162
+ *
163
+ * const fooWorkspace = new volcengine.vmp.Workspace("fooWorkspace", {
164
+ * instanceTypeId: "vmp.standard.15d",
165
+ * deleteProtectionEnabled: false,
166
+ * description: "acc-test-1",
167
+ * username: "admin123",
168
+ * password: "***********",
169
+ * });
170
+ * const fooContact = new volcengine.vmp.Contact("fooContact", {
171
+ * email: "acctest1@tftest.com",
172
+ * webhook: {
173
+ * address: "https://www.acctest1.com",
174
+ * },
175
+ * larkBotWebhook: {
176
+ * address: "https://www.acctest1.com",
177
+ * },
178
+ * dingTalkBotWebhook: {
179
+ * address: "https://www.dingacctest1.com",
180
+ * atMobiles: ["18046891812"],
181
+ * },
182
+ * phoneNumber: {
183
+ * countryCode: "+86",
184
+ * number: "18310101010",
185
+ * },
186
+ * });
187
+ * const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
188
+ * email: "acctest2@tftest.com",
189
+ * webhook: {
190
+ * address: "https://www.acctest2.com",
191
+ * },
192
+ * larkBotWebhook: {
193
+ * address: "https://www.acctest2.com",
194
+ * },
195
+ * dingTalkBotWebhook: {
196
+ * address: "https://www.dingacctest2.com",
197
+ * atMobiles: ["18046891813"],
198
+ * },
199
+ * phoneNumber: {
200
+ * countryCode: "+86",
201
+ * number: "18310101011",
202
+ * },
203
+ * });
204
+ * const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
205
+ * const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
206
+ * const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
207
+ * description: "acc-test-1",
208
+ * levels: [
209
+ * {
210
+ * level: "P1",
211
+ * contactGroupIds: [fooContactGroup.id],
212
+ * channels: [
213
+ * "Email",
214
+ * "Webhook",
215
+ * ],
216
+ * },
217
+ * {
218
+ * level: "P0",
219
+ * contactGroupIds: [foo1ContactGroup.id],
220
+ * channels: ["LarkBotWebhook"],
221
+ * },
222
+ * ],
223
+ * });
224
+ * const fooNotifyGroupPolicy = new volcengine.vmp.NotifyGroupPolicy("fooNotifyGroupPolicy", {
225
+ * description: "acc-test-1",
226
+ * levels: [
227
+ * {
228
+ * level: "P2",
229
+ * groupBies: ["__rule__"],
230
+ * groupWait: "35",
231
+ * groupInterval: "30",
232
+ * repeatInterval: "30",
233
+ * },
234
+ * {
235
+ * level: "P0",
236
+ * groupBies: ["__rule__"],
237
+ * groupWait: "30",
238
+ * groupInterval: "30",
239
+ * repeatInterval: "30",
240
+ * },
241
+ * {
242
+ * level: "P1",
243
+ * groupBies: ["__rule__"],
244
+ * groupWait: "40",
245
+ * groupInterval: "45",
246
+ * repeatInterval: "30",
247
+ * },
248
+ * ],
249
+ * });
250
+ * const fooAlertingRule = new volcengine.vmp.AlertingRule("fooAlertingRule", {
251
+ * description: "acc-test-1",
252
+ * notifyPolicyId: fooNotifyPolicy.id,
253
+ * notifyGroupPolicyId: fooNotifyGroupPolicy.id,
254
+ * query: {
255
+ * workspaceId: fooWorkspace.id,
256
+ * promQl: "sum(up)",
257
+ * },
258
+ * levels: [
259
+ * {
260
+ * level: "P0",
261
+ * "for": "0s",
262
+ * comparator: ">=",
263
+ * threshold: 2,
264
+ * },
265
+ * {
266
+ * level: "P1",
267
+ * "for": "0s",
268
+ * comparator: ">=",
269
+ * threshold: 1,
270
+ * },
271
+ * {
272
+ * level: "P2",
273
+ * "for": "0s",
274
+ * comparator: ">=",
275
+ * threshold: 0.5,
276
+ * },
277
+ * ],
278
+ * });
279
+ * const fooAlertingRules = volcengine.vmp.getAlertingRulesOutput({
280
+ * ids: [fooAlertingRule.id],
281
+ * });
282
+ * ```
283
+ */
284
+ function getAlertingRulesOutput(args, opts) {
285
+ return pulumi.output(args).apply((a) => getAlertingRules(a, opts));
286
+ }
287
+ exports.getAlertingRulesOutput = getAlertingRulesOutput;
288
+ //# sourceMappingURL=getAlertingRules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAlertingRules.js","sourceRoot":"","sources":["../../vmp/getAlertingRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiIG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,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,kDAAkD,EAAE;QAC7E,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,4CAeC;AAkFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiIG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
@@ -0,0 +1,117 @@
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 alerts
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const default = volcengine.vmp.getAlerts({
12
+ * ids: ["9a4f84-0868efcb795c2ac4-73cefd4b3263****"],
13
+ * });
14
+ * ```
15
+ */
16
+ export declare function getAlerts(args?: GetAlertsArgs, opts?: pulumi.InvokeOptions): Promise<GetAlertsResult>;
17
+ /**
18
+ * A collection of arguments for invoking getAlerts.
19
+ */
20
+ export interface GetAlertsArgs {
21
+ /**
22
+ * A list of alerting rule IDs.
23
+ */
24
+ alertingRuleIds?: string[];
25
+ /**
26
+ * The status of vmp alert. Valid values: `Pending`, `Active`, `Resolved`, `Disabled`.
27
+ */
28
+ currentPhase?: string;
29
+ /**
30
+ * Whether to use descending sorting.
31
+ */
32
+ desc?: boolean;
33
+ /**
34
+ * A list of vmp alert IDs.
35
+ */
36
+ ids?: string[];
37
+ /**
38
+ * The level of vmp alert. Valid values: `P0`, `P1`, `P2`.
39
+ */
40
+ level?: string;
41
+ /**
42
+ * File name where to save data source results.
43
+ */
44
+ outputFile?: string;
45
+ }
46
+ /**
47
+ * A collection of values returned by getAlerts.
48
+ */
49
+ export interface GetAlertsResult {
50
+ readonly alertingRuleIds?: string[];
51
+ /**
52
+ * The collection of query.
53
+ */
54
+ readonly alerts: outputs.vmp.GetAlertsAlert[];
55
+ /**
56
+ * The status of the vmp alert.
57
+ */
58
+ readonly currentPhase?: string;
59
+ readonly desc?: boolean;
60
+ /**
61
+ * The provider-assigned unique ID for this managed resource.
62
+ */
63
+ readonly id: string;
64
+ readonly ids?: string[];
65
+ /**
66
+ * The level of the vmp alerting rule.
67
+ */
68
+ readonly level?: string;
69
+ readonly outputFile?: string;
70
+ /**
71
+ * The total count of query.
72
+ */
73
+ readonly totalCount: number;
74
+ }
75
+ /**
76
+ * Use this data source to query detailed information of vmp alerts
77
+ * ## Example Usage
78
+ *
79
+ * ```typescript
80
+ * import * as pulumi from "@pulumi/pulumi";
81
+ * import * as volcengine from "@pulumi/volcengine";
82
+ *
83
+ * const default = volcengine.vmp.getAlerts({
84
+ * ids: ["9a4f84-0868efcb795c2ac4-73cefd4b3263****"],
85
+ * });
86
+ * ```
87
+ */
88
+ export declare function getAlertsOutput(args?: GetAlertsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAlertsResult>;
89
+ /**
90
+ * A collection of arguments for invoking getAlerts.
91
+ */
92
+ export interface GetAlertsOutputArgs {
93
+ /**
94
+ * A list of alerting rule IDs.
95
+ */
96
+ alertingRuleIds?: pulumi.Input<pulumi.Input<string>[]>;
97
+ /**
98
+ * The status of vmp alert. Valid values: `Pending`, `Active`, `Resolved`, `Disabled`.
99
+ */
100
+ currentPhase?: pulumi.Input<string>;
101
+ /**
102
+ * Whether to use descending sorting.
103
+ */
104
+ desc?: pulumi.Input<boolean>;
105
+ /**
106
+ * A list of vmp alert IDs.
107
+ */
108
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
109
+ /**
110
+ * The level of vmp alert. Valid values: `P0`, `P1`, `P2`.
111
+ */
112
+ level?: pulumi.Input<string>;
113
+ /**
114
+ * File name where to save data source results.
115
+ */
116
+ outputFile?: pulumi.Input<string>;
117
+ }
@@ -0,0 +1,51 @@
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.getAlertsOutput = exports.getAlerts = 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 alerts
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const default = volcengine.vmp.getAlerts({
17
+ * ids: ["9a4f84-0868efcb795c2ac4-73cefd4b3263****"],
18
+ * });
19
+ * ```
20
+ */
21
+ function getAlerts(args, opts) {
22
+ args = args || {};
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("volcengine:vmp/getAlerts:getAlerts", {
25
+ "alertingRuleIds": args.alertingRuleIds,
26
+ "currentPhase": args.currentPhase,
27
+ "desc": args.desc,
28
+ "ids": args.ids,
29
+ "level": args.level,
30
+ "outputFile": args.outputFile,
31
+ }, opts);
32
+ }
33
+ exports.getAlerts = getAlerts;
34
+ /**
35
+ * Use this data source to query detailed information of vmp alerts
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as volcengine from "@pulumi/volcengine";
41
+ *
42
+ * const default = volcengine.vmp.getAlerts({
43
+ * ids: ["9a4f84-0868efcb795c2ac4-73cefd4b3263****"],
44
+ * });
45
+ * ```
46
+ */
47
+ function getAlertsOutput(args, opts) {
48
+ return pulumi.output(args).apply((a) => getAlerts(a, opts));
49
+ }
50
+ exports.getAlertsOutput = getAlertsOutput;
51
+ //# sourceMappingURL=getAlerts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAlerts.js","sourceRoot":"","sources":["../../vmp/getAlerts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,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,oCAAoC,EAAE;QAC/D,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,8BAYC;AA6DD;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
@@ -0,0 +1,165 @@
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 contact groups
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 foo1 = new volcengine.vmp.Contact("foo1", {
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: [
47
+ * fooContact.id,
48
+ * foo1.id,
49
+ * ]});
50
+ * const fooContactGroups = volcengine.vmp.getContactGroupsOutput({
51
+ * ids: [fooContactGroup.id],
52
+ * });
53
+ * ```
54
+ */
55
+ export declare function getContactGroups(args?: GetContactGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetContactGroupsResult>;
56
+ /**
57
+ * A collection of arguments for invoking getContactGroups.
58
+ */
59
+ export interface GetContactGroupsArgs {
60
+ /**
61
+ * A list of contact group ids.
62
+ */
63
+ ids?: string[];
64
+ /**
65
+ * The name of contact group.
66
+ */
67
+ name?: string;
68
+ /**
69
+ * File name where to save data source results.
70
+ */
71
+ outputFile?: string;
72
+ }
73
+ /**
74
+ * A collection of values returned by getContactGroups.
75
+ */
76
+ export interface GetContactGroupsResult {
77
+ /**
78
+ * The collection of query.
79
+ */
80
+ readonly contactGroups: outputs.vmp.GetContactGroupsContactGroup[];
81
+ /**
82
+ * The provider-assigned unique ID for this managed resource.
83
+ */
84
+ readonly id: string;
85
+ readonly ids?: string[];
86
+ /**
87
+ * The name of contact group.
88
+ */
89
+ readonly name?: string;
90
+ readonly outputFile?: string;
91
+ /**
92
+ * The total count of query.
93
+ */
94
+ readonly totalCount: number;
95
+ }
96
+ /**
97
+ * Use this data source to query detailed information of vmp contact groups
98
+ * ## Example Usage
99
+ *
100
+ * ```typescript
101
+ * import * as pulumi from "@pulumi/pulumi";
102
+ * import * as volcengine from "@pulumi/volcengine";
103
+ * import * as volcengine from "@volcengine/pulumi";
104
+ *
105
+ * const fooContact = new volcengine.vmp.Contact("fooContact", {
106
+ * email: "acctest1@tftest.com",
107
+ * webhook: {
108
+ * address: "https://www.acctest1.com",
109
+ * },
110
+ * larkBotWebhook: {
111
+ * address: "https://www.acctest1.com",
112
+ * },
113
+ * dingTalkBotWebhook: {
114
+ * address: "https://www.dingacctest1.com",
115
+ * atMobiles: ["18046891812"],
116
+ * },
117
+ * phoneNumber: {
118
+ * countryCode: "+86",
119
+ * number: "18310101010",
120
+ * },
121
+ * });
122
+ * const foo1 = new volcengine.vmp.Contact("foo1", {
123
+ * email: "acctest2@tftest.com",
124
+ * webhook: {
125
+ * address: "https://www.acctest2.com",
126
+ * },
127
+ * larkBotWebhook: {
128
+ * address: "https://www.acctest2.com",
129
+ * },
130
+ * dingTalkBotWebhook: {
131
+ * address: "https://www.dingacctest2.com",
132
+ * atMobiles: ["18046891813"],
133
+ * },
134
+ * phoneNumber: {
135
+ * countryCode: "+86",
136
+ * number: "18310101011",
137
+ * },
138
+ * });
139
+ * const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [
140
+ * fooContact.id,
141
+ * foo1.id,
142
+ * ]});
143
+ * const fooContactGroups = volcengine.vmp.getContactGroupsOutput({
144
+ * ids: [fooContactGroup.id],
145
+ * });
146
+ * ```
147
+ */
148
+ export declare function getContactGroupsOutput(args?: GetContactGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetContactGroupsResult>;
149
+ /**
150
+ * A collection of arguments for invoking getContactGroups.
151
+ */
152
+ export interface GetContactGroupsOutputArgs {
153
+ /**
154
+ * A list of contact group ids.
155
+ */
156
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
157
+ /**
158
+ * The name of contact group.
159
+ */
160
+ name?: pulumi.Input<string>;
161
+ /**
162
+ * File name where to save data source results.
163
+ */
164
+ outputFile?: pulumi.Input<string>;
165
+ }