@volcengine/pulumi 0.0.22 → 0.0.24

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 (443) hide show
  1. package/bandwidth_package/attachment.d.ts +71 -10
  2. package/bandwidth_package/attachment.js +71 -10
  3. package/bandwidth_package/attachment.js.map +1 -1
  4. package/bandwidth_package/bandwidthPackage.d.ts +4 -4
  5. package/bandwidth_package/bandwidthPackage.js +4 -4
  6. package/bandwidth_package/bandwidthPackages.d.ts +38 -4
  7. package/bandwidth_package/bandwidthPackages.js +38 -4
  8. package/bandwidth_package/bandwidthPackages.js.map +1 -1
  9. package/cdn/cdnCertificate.d.ts +110 -0
  10. package/cdn/cdnCertificate.js +93 -0
  11. package/cdn/cdnCertificate.js.map +1 -0
  12. package/cdn/cdnDomain.d.ts +199 -0
  13. package/cdn/cdnDomain.js +141 -0
  14. package/cdn/cdnDomain.js.map +1 -0
  15. package/cdn/certificates.d.ts +113 -0
  16. package/cdn/certificates.js +62 -0
  17. package/cdn/certificates.js.map +1 -0
  18. package/cdn/configs.d.ts +178 -0
  19. package/cdn/configs.js +146 -0
  20. package/cdn/configs.js.map +1 -0
  21. package/cdn/domains.d.ts +274 -0
  22. package/cdn/domains.js +155 -0
  23. package/cdn/domains.js.map +1 -0
  24. package/cdn/index.d.ts +21 -0
  25. package/cdn/index.js +44 -0
  26. package/cdn/index.js.map +1 -0
  27. package/cdn/sharedConfig.d.ts +194 -0
  28. package/cdn/sharedConfig.js +129 -0
  29. package/cdn/sharedConfig.js.map +1 -0
  30. package/cdn/sharedConfigs.d.ts +115 -0
  31. package/cdn/sharedConfigs.js +54 -0
  32. package/cdn/sharedConfigs.js.map +1 -0
  33. package/cen/attachInstance.d.ts +15 -8
  34. package/cen/attachInstance.js +15 -8
  35. package/cen/attachInstance.js.map +1 -1
  36. package/cen/attachInstances.d.ts +44 -4
  37. package/cen/attachInstances.js +44 -4
  38. package/cen/attachInstances.js.map +1 -1
  39. package/cen/bandwidthPackage.d.ts +11 -10
  40. package/cen/bandwidthPackage.js +8 -4
  41. package/cen/bandwidthPackage.js.map +1 -1
  42. package/cen/bandwidthPackageAssociate.d.ts +27 -3
  43. package/cen/bandwidthPackageAssociate.js +27 -3
  44. package/cen/bandwidthPackageAssociate.js.map +1 -1
  45. package/cen/bandwidthPackages.d.ts +42 -6
  46. package/cen/bandwidthPackages.js +42 -6
  47. package/cen/bandwidthPackages.js.map +1 -1
  48. package/cen/cen.d.ts +6 -2
  49. package/cen/cen.js +6 -2
  50. package/cen/cen.js.map +1 -1
  51. package/cen/cens.d.ts +30 -4
  52. package/cen/cens.js +30 -4
  53. package/cen/cens.js.map +1 -1
  54. package/cen/interRegionBandwidth.d.ts +35 -5
  55. package/cen/interRegionBandwidth.js +35 -5
  56. package/cen/interRegionBandwidth.js.map +1 -1
  57. package/cen/interRegionBandwidths.d.ts +78 -4
  58. package/cen/interRegionBandwidths.js +78 -4
  59. package/cen/interRegionBandwidths.js.map +1 -1
  60. package/cen/routeEntries.d.ts +0 -20
  61. package/cen/routeEntries.js +0 -20
  62. package/cen/routeEntries.js.map +1 -1
  63. package/cen/routeEntry.d.ts +0 -21
  64. package/cen/routeEntry.js +0 -21
  65. package/cen/routeEntry.js.map +1 -1
  66. package/cen/serviceRouteEntries.d.ts +98 -4
  67. package/cen/serviceRouteEntries.js +98 -4
  68. package/cen/serviceRouteEntries.js.map +1 -1
  69. package/cen/serviceRouteEntry.d.ts +31 -46
  70. package/cen/serviceRouteEntry.js +31 -46
  71. package/cen/serviceRouteEntry.js.map +1 -1
  72. package/cloud_identity/group.d.ts +126 -0
  73. package/cloud_identity/group.js +89 -0
  74. package/cloud_identity/group.js.map +1 -0
  75. package/cloud_identity/groups.d.ts +133 -0
  76. package/cloud_identity/groups.js +72 -0
  77. package/cloud_identity/groups.js.map +1 -0
  78. package/cloud_identity/index.d.ts +39 -0
  79. package/cloud_identity/index.js +70 -0
  80. package/cloud_identity/index.js.map +1 -0
  81. package/cloud_identity/permissionSet.d.ts +136 -0
  82. package/cloud_identity/permissionSet.js +95 -0
  83. package/cloud_identity/permissionSet.js.map +1 -0
  84. package/cloud_identity/permissionSetAssignment.d.ts +135 -0
  85. package/cloud_identity/permissionSetAssignment.js +118 -0
  86. package/cloud_identity/permissionSetAssignment.js.map +1 -0
  87. package/cloud_identity/permissionSetAssignments.d.ts +191 -0
  88. package/cloud_identity/permissionSetAssignments.js +119 -0
  89. package/cloud_identity/permissionSetAssignments.js.map +1 -0
  90. package/cloud_identity/permissionSetProvisioning.d.ts +133 -0
  91. package/cloud_identity/permissionSetProvisioning.js +120 -0
  92. package/cloud_identity/permissionSetProvisioning.js.map +1 -0
  93. package/cloud_identity/permissionSetProvisionings.d.ts +99 -0
  94. package/cloud_identity/permissionSetProvisionings.js +49 -0
  95. package/cloud_identity/permissionSetProvisionings.js.map +1 -0
  96. package/cloud_identity/permissionSets.d.ts +132 -0
  97. package/cloud_identity/permissionSets.js +96 -0
  98. package/cloud_identity/permissionSets.js.map +1 -0
  99. package/cloud_identity/user.d.ts +137 -0
  100. package/cloud_identity/user.js +91 -0
  101. package/cloud_identity/user.js.map +1 -0
  102. package/cloud_identity/userAttachment.d.ts +95 -0
  103. package/cloud_identity/userAttachment.js +92 -0
  104. package/cloud_identity/userAttachment.js.map +1 -0
  105. package/cloud_identity/userProvisioning.d.ts +171 -0
  106. package/cloud_identity/userProvisioning.js +98 -0
  107. package/cloud_identity/userProvisioning.js.map +1 -0
  108. package/cloud_identity/userProvisionings.d.ts +75 -0
  109. package/cloud_identity/userProvisionings.js +47 -0
  110. package/cloud_identity/userProvisionings.js.map +1 -0
  111. package/cloud_identity/users.d.ts +144 -0
  112. package/cloud_identity/users.js +75 -0
  113. package/cloud_identity/users.js.map +1 -0
  114. package/cloud_monitor/contact.d.ts +94 -0
  115. package/cloud_monitor/contact.js +78 -0
  116. package/cloud_monitor/contact.js.map +1 -0
  117. package/cloud_monitor/contactGroup.d.ts +97 -0
  118. package/cloud_monitor/contactGroup.js +78 -0
  119. package/cloud_monitor/contactGroup.js.map +1 -0
  120. package/cloud_monitor/contactGroups.d.ts +78 -0
  121. package/cloud_monitor/contactGroups.js +47 -0
  122. package/cloud_monitor/contactGroups.js.map +1 -0
  123. package/cloud_monitor/contacts.d.ts +81 -0
  124. package/cloud_monitor/contacts.js +52 -0
  125. package/cloud_monitor/contacts.js.map +1 -0
  126. package/cloud_monitor/eventRule.d.ts +250 -0
  127. package/cloud_monitor/eventRule.js +147 -0
  128. package/cloud_monitor/eventRule.js.map +1 -0
  129. package/cloud_monitor/eventRules.d.ts +90 -0
  130. package/cloud_monitor/eventRules.js +48 -0
  131. package/cloud_monitor/eventRules.js.map +1 -0
  132. package/cloud_monitor/index.d.ts +24 -0
  133. package/cloud_monitor/index.js +49 -0
  134. package/cloud_monitor/index.js.map +1 -0
  135. package/cloud_monitor/rule.d.ts +361 -0
  136. package/cloud_monitor/rule.js +201 -0
  137. package/cloud_monitor/rule.js.map +1 -0
  138. package/cloud_monitor/rules.d.ts +144 -0
  139. package/cloud_monitor/rules.js +53 -0
  140. package/cloud_monitor/rules.js.map +1 -0
  141. package/config/vars.d.ts +6 -0
  142. package/config/vars.js +6 -0
  143. package/config/vars.js.map +1 -1
  144. package/ebs/volume.d.ts +22 -0
  145. package/ebs/volume.js +10 -0
  146. package/ebs/volume.js.map +1 -1
  147. package/ebs/volumes.d.ts +13 -0
  148. package/ebs/volumes.js +1 -0
  149. package/ebs/volumes.js.map +1 -1
  150. package/ecs/iamRoleAttachment.d.ts +62 -0
  151. package/ecs/iamRoleAttachment.js +62 -0
  152. package/ecs/iamRoleAttachment.js.map +1 -1
  153. package/ecs/instance.d.ts +15 -0
  154. package/ecs/instance.js +2 -0
  155. package/ecs/instance.js.map +1 -1
  156. package/ecs/state.d.ts +4 -4
  157. package/eip/address.d.ts +3 -3
  158. package/financial_relation/financialRelation.d.ts +111 -0
  159. package/financial_relation/financialRelation.js +73 -0
  160. package/financial_relation/financialRelation.js.map +1 -0
  161. package/financial_relation/financialRelations.d.ts +103 -0
  162. package/financial_relation/financialRelations.js +53 -0
  163. package/financial_relation/financialRelations.js.map +1 -0
  164. package/financial_relation/index.d.ts +6 -0
  165. package/financial_relation/index.js +25 -0
  166. package/financial_relation/index.js.map +1 -0
  167. package/iam/accessKeys.d.ts +83 -0
  168. package/iam/accessKeys.js +44 -0
  169. package/iam/accessKeys.js.map +1 -0
  170. package/iam/index.d.ts +9 -0
  171. package/iam/index.js +12 -1
  172. package/iam/index.js.map +1 -1
  173. package/iam/samlProvider.d.ts +144 -0
  174. package/iam/samlProvider.js +96 -0
  175. package/iam/samlProvider.js.map +1 -0
  176. package/iam/samlProviders.d.ts +62 -0
  177. package/iam/samlProviders.js +42 -0
  178. package/iam/samlProviders.js.map +1 -0
  179. package/index.d.ts +9 -1
  180. package/index.js +17 -1
  181. package/index.js.map +1 -1
  182. package/kafka/consumedPartitions.d.ts +235 -0
  183. package/kafka/consumedPartitions.js +190 -0
  184. package/kafka/consumedPartitions.js.map +1 -0
  185. package/kafka/consumedTopics.d.ts +238 -0
  186. package/kafka/consumedTopics.js +190 -0
  187. package/kafka/consumedTopics.js.map +1 -0
  188. package/kafka/group.d.ts +142 -0
  189. package/kafka/group.js +123 -0
  190. package/kafka/group.js.map +1 -0
  191. package/kafka/groups.d.ts +184 -0
  192. package/kafka/groups.js +136 -0
  193. package/kafka/groups.js.map +1 -0
  194. package/kafka/index.d.ts +42 -0
  195. package/kafka/index.js +69 -0
  196. package/kafka/index.js.map +1 -0
  197. package/kafka/instance.d.ts +322 -0
  198. package/kafka/instance.js +171 -0
  199. package/kafka/instance.js.map +1 -0
  200. package/kafka/instances.d.ts +205 -0
  201. package/kafka/instances.js +129 -0
  202. package/kafka/instances.js.map +1 -0
  203. package/kafka/publicAddress.d.ts +152 -0
  204. package/kafka/publicAddress.js +131 -0
  205. package/kafka/publicAddress.js.map +1 -0
  206. package/kafka/regions.d.ts +62 -0
  207. package/kafka/regions.js +42 -0
  208. package/kafka/regions.js.map +1 -0
  209. package/kafka/saslUser.d.ts +173 -0
  210. package/kafka/saslUser.js +135 -0
  211. package/kafka/saslUser.js.map +1 -0
  212. package/kafka/saslUsers.d.ts +183 -0
  213. package/kafka/saslUsers.js +143 -0
  214. package/kafka/saslUsers.js.map +1 -0
  215. package/kafka/topic.d.ts +216 -0
  216. package/kafka/topic.js +154 -0
  217. package/kafka/topic.js.map +1 -0
  218. package/kafka/topicPartitions.d.ts +240 -0
  219. package/kafka/topicPartitions.js +187 -0
  220. package/kafka/topicPartitions.js.map +1 -0
  221. package/kafka/topics.d.ts +260 -0
  222. package/kafka/topics.js +179 -0
  223. package/kafka/topics.js.map +1 -0
  224. package/kafka/zones.d.ts +75 -0
  225. package/kafka/zones.js +46 -0
  226. package/kafka/zones.js.map +1 -0
  227. package/nat/gateway.d.ts +4 -4
  228. package/organization/account.d.ts +183 -0
  229. package/organization/account.js +108 -0
  230. package/organization/account.js.map +1 -0
  231. package/organization/accounts.d.ts +105 -0
  232. package/organization/accounts.js +50 -0
  233. package/organization/accounts.js.map +1 -0
  234. package/organization/index.d.ts +30 -0
  235. package/organization/index.js +59 -0
  236. package/organization/index.js.map +1 -0
  237. package/organization/organization.d.ts +151 -0
  238. package/organization/organization.js +90 -0
  239. package/organization/organization.js.map +1 -0
  240. package/organization/organizations.d.ts +71 -0
  241. package/organization/organizations.js +43 -0
  242. package/organization/organizations.js.map +1 -0
  243. package/organization/serviceControlPolicies.d.ts +89 -0
  244. package/organization/serviceControlPolicies.js +50 -0
  245. package/organization/serviceControlPolicies.js.map +1 -0
  246. package/organization/serviceControlPolicy.d.ts +123 -0
  247. package/organization/serviceControlPolicy.js +92 -0
  248. package/organization/serviceControlPolicy.js.map +1 -0
  249. package/organization/serviceControlPolicyAttachment.d.ts +105 -0
  250. package/organization/serviceControlPolicyAttachment.js +95 -0
  251. package/organization/serviceControlPolicyAttachment.js.map +1 -0
  252. package/organization/serviceControlPolicyEnabler.d.ts +55 -0
  253. package/organization/serviceControlPolicyEnabler.js +66 -0
  254. package/organization/serviceControlPolicyEnabler.js.map +1 -0
  255. package/organization/unit.d.ts +129 -0
  256. package/organization/unit.js +89 -0
  257. package/organization/unit.js.map +1 -0
  258. package/organization/units.d.ts +62 -0
  259. package/organization/units.js +42 -0
  260. package/organization/units.js.map +1 -0
  261. package/package.json +2 -2
  262. package/privatelink/securityGroup.d.ts +60 -6
  263. package/privatelink/securityGroup.js +54 -3
  264. package/privatelink/securityGroup.js.map +1 -1
  265. package/privatelink/vpcEndpoint.d.ts +51 -12
  266. package/privatelink/vpcEndpoint.js +45 -9
  267. package/privatelink/vpcEndpoint.js.map +1 -1
  268. package/privatelink/vpcEndpointConnection.d.ts +60 -3
  269. package/privatelink/vpcEndpointConnection.js +60 -3
  270. package/privatelink/vpcEndpointConnection.js.map +1 -1
  271. package/privatelink/vpcEndpointConnections.d.ts +120 -6
  272. package/privatelink/vpcEndpointConnections.js +120 -6
  273. package/privatelink/vpcEndpointConnections.js.map +1 -1
  274. package/privatelink/vpcEndpointService.d.ts +38 -7
  275. package/privatelink/vpcEndpointService.js +35 -4
  276. package/privatelink/vpcEndpointService.js.map +1 -1
  277. package/privatelink/vpcEndpointServicePermission.d.ts +39 -6
  278. package/privatelink/vpcEndpointServicePermission.js +39 -6
  279. package/privatelink/vpcEndpointServicePermission.js.map +1 -1
  280. package/privatelink/vpcEndpointServicePermissions.d.ts +88 -4
  281. package/privatelink/vpcEndpointServicePermissions.js +88 -4
  282. package/privatelink/vpcEndpointServicePermissions.js.map +1 -1
  283. package/privatelink/vpcEndpointServiceResource.d.ts +60 -12
  284. package/privatelink/vpcEndpointServiceResource.js +57 -9
  285. package/privatelink/vpcEndpointServiceResource.js.map +1 -1
  286. package/privatelink/vpcEndpointServices.d.ts +84 -10
  287. package/privatelink/vpcEndpointServices.js +84 -10
  288. package/privatelink/vpcEndpointServices.js.map +1 -1
  289. package/privatelink/vpcEndpointZone.d.ts +50 -3
  290. package/privatelink/vpcEndpointZone.js +50 -3
  291. package/privatelink/vpcEndpointZone.js.map +1 -1
  292. package/privatelink/vpcEndpointZones.d.ts +108 -4
  293. package/privatelink/vpcEndpointZones.js +108 -4
  294. package/privatelink/vpcEndpointZones.js.map +1 -1
  295. package/privatelink/vpcEndpoints.d.ts +104 -4
  296. package/privatelink/vpcEndpoints.js +104 -4
  297. package/privatelink/vpcEndpoints.js.map +1 -1
  298. package/provider.d.ts +6 -0
  299. package/provider.js +1 -0
  300. package/provider.js.map +1 -1
  301. package/rds_mssql/backup.d.ts +101 -0
  302. package/rds_mssql/backup.js +77 -0
  303. package/rds_mssql/backup.js.map +1 -0
  304. package/rds_mssql/backups.d.ts +123 -0
  305. package/rds_mssql/backups.js +50 -0
  306. package/rds_mssql/backups.js.map +1 -0
  307. package/rds_mssql/index.d.ts +18 -0
  308. package/rds_mssql/index.js +39 -0
  309. package/rds_mssql/index.js.map +1 -0
  310. package/rds_mssql/instance.d.ts +256 -0
  311. package/rds_mssql/instance.js +149 -0
  312. package/rds_mssql/instance.js.map +1 -0
  313. package/rds_mssql/instances.d.ts +190 -0
  314. package/rds_mssql/instances.js +57 -0
  315. package/rds_mssql/instances.js.map +1 -0
  316. package/rds_mssql/regions.d.ts +62 -0
  317. package/rds_mssql/regions.js +42 -0
  318. package/rds_mssql/regions.js.map +1 -0
  319. package/rds_mssql/zones.d.ts +71 -0
  320. package/rds_mssql/zones.js +43 -0
  321. package/rds_mssql/zones.js.map +1 -0
  322. package/rds_mysql/instance.d.ts +29 -0
  323. package/rds_mysql/instance.js +9 -0
  324. package/rds_mysql/instance.js.map +1 -1
  325. package/rds_mysql/instances.d.ts +13 -0
  326. package/rds_mysql/instances.js +1 -0
  327. package/rds_mysql/instances.js.map +1 -1
  328. package/rds_postgresql/account.d.ts +141 -0
  329. package/rds_postgresql/account.js +104 -0
  330. package/rds_postgresql/account.js.map +1 -0
  331. package/rds_postgresql/accounts.d.ts +87 -0
  332. package/rds_postgresql/accounts.js +47 -0
  333. package/rds_postgresql/accounts.js.map +1 -0
  334. package/rds_postgresql/database.d.ts +140 -0
  335. package/rds_postgresql/database.js +91 -0
  336. package/rds_postgresql/database.js.map +1 -0
  337. package/rds_postgresql/databases.d.ts +89 -0
  338. package/rds_postgresql/databases.js +49 -0
  339. package/rds_postgresql/databases.js.map +1 -0
  340. package/rds_postgresql/index.d.ts +27 -0
  341. package/rds_postgresql/index.js +54 -0
  342. package/rds_postgresql/index.js.map +1 -0
  343. package/rds_postgresql/instance.d.ts +371 -0
  344. package/rds_postgresql/instance.js +180 -0
  345. package/rds_postgresql/instance.js.map +1 -0
  346. package/rds_postgresql/instanceReadonlyNode.d.ts +142 -0
  347. package/rds_postgresql/instanceReadonlyNode.js +126 -0
  348. package/rds_postgresql/instanceReadonlyNode.js.map +1 -0
  349. package/rds_postgresql/instances.d.ts +258 -0
  350. package/rds_postgresql/instances.js +134 -0
  351. package/rds_postgresql/instances.js.map +1 -0
  352. package/rds_postgresql/schema.d.ts +167 -0
  353. package/rds_postgresql/schema.js +150 -0
  354. package/rds_postgresql/schema.js.map +1 -0
  355. package/rds_postgresql/schemas.d.ts +219 -0
  356. package/rds_postgresql/schemas.js +179 -0
  357. package/rds_postgresql/schemas.js.map +1 -0
  358. package/redis/instance.d.ts +3 -3
  359. package/tls/index_.d.ts +3 -2
  360. package/tls/index_.js +3 -2
  361. package/tls/index_.js.map +1 -1
  362. package/tos/bucket.d.ts +30 -1
  363. package/tos/bucket.js +10 -1
  364. package/tos/bucket.js.map +1 -1
  365. package/tos/bucketObject.d.ts +29 -9
  366. package/tos/bucketObject.js +9 -6
  367. package/tos/bucketObject.js.map +1 -1
  368. package/tos/bucketPolicy.d.ts +2 -2
  369. package/tos/bucketPolicy.js +2 -2
  370. package/transit_router/bandwidthPackage.d.ts +29 -0
  371. package/transit_router/bandwidthPackage.js +9 -0
  372. package/transit_router/bandwidthPackage.js.map +1 -1
  373. package/transit_router/bandwidthPackages.d.ts +25 -0
  374. package/transit_router/bandwidthPackages.js +2 -0
  375. package/transit_router/bandwidthPackages.js.map +1 -1
  376. package/transit_router/directConnectGatewayAttachment.d.ts +35 -5
  377. package/transit_router/directConnectGatewayAttachment.js +23 -5
  378. package/transit_router/directConnectGatewayAttachment.js.map +1 -1
  379. package/transit_router/directConnectGatewayAttachments.d.ts +13 -0
  380. package/transit_router/directConnectGatewayAttachments.js +1 -0
  381. package/transit_router/directConnectGatewayAttachments.js.map +1 -1
  382. package/transit_router/grantRule.d.ts +8 -4
  383. package/transit_router/grantRule.js +8 -4
  384. package/transit_router/grantRule.js.map +1 -1
  385. package/transit_router/peerAttachment.d.ts +37 -6
  386. package/transit_router/peerAttachment.js +25 -6
  387. package/transit_router/peerAttachment.js.map +1 -1
  388. package/transit_router/peerAttachments.d.ts +13 -0
  389. package/transit_router/peerAttachments.js +1 -0
  390. package/transit_router/peerAttachments.js.map +1 -1
  391. package/transit_router/routeEntry.d.ts +72 -5
  392. package/transit_router/routeEntry.js +72 -5
  393. package/transit_router/routeEntry.js.map +1 -1
  394. package/transit_router/routeTable.d.ts +26 -4
  395. package/transit_router/routeTable.js +14 -4
  396. package/transit_router/routeTable.js.map +1 -1
  397. package/transit_router/routeTableAssociation.d.ts +69 -3
  398. package/transit_router/routeTableAssociation.js +69 -3
  399. package/transit_router/routeTableAssociation.js.map +1 -1
  400. package/transit_router/routeTablePropagation.d.ts +46 -3
  401. package/transit_router/routeTablePropagation.js +46 -3
  402. package/transit_router/routeTablePropagation.js.map +1 -1
  403. package/transit_router/routeTables.d.ts +39 -6
  404. package/transit_router/routeTables.js +27 -6
  405. package/transit_router/routeTables.js.map +1 -1
  406. package/transit_router/sharedTransitRouterState.d.ts +6 -2
  407. package/transit_router/sharedTransitRouterState.js +6 -2
  408. package/transit_router/sharedTransitRouterState.js.map +1 -1
  409. package/transit_router/transitRouter.d.ts +29 -0
  410. package/transit_router/transitRouter.js +9 -0
  411. package/transit_router/transitRouter.js.map +1 -1
  412. package/transit_router/transitRouters.d.ts +41 -6
  413. package/transit_router/transitRouters.js +18 -6
  414. package/transit_router/transitRouters.js.map +1 -1
  415. package/transit_router/vpcAttachment.d.ts +46 -8
  416. package/transit_router/vpcAttachment.js +36 -8
  417. package/transit_router/vpcAttachment.js.map +1 -1
  418. package/transit_router/vpcAttachments.d.ts +13 -0
  419. package/transit_router/vpcAttachments.js +1 -0
  420. package/transit_router/vpcAttachments.js.map +1 -1
  421. package/transit_router/vpnAttachment.d.ts +77 -5
  422. package/transit_router/vpnAttachment.js +65 -5
  423. package/transit_router/vpnAttachment.js.map +1 -1
  424. package/transit_router/vpnAttachments.d.ts +13 -0
  425. package/transit_router/vpnAttachments.js +1 -0
  426. package/transit_router/vpnAttachments.js.map +1 -1
  427. package/types/input.d.ts +1035 -39
  428. package/types/output.d.ts +6130 -2668
  429. package/vke/cluster.d.ts +3 -14
  430. package/vke/cluster.js +0 -11
  431. package/vke/cluster.js.map +1 -1
  432. package/vke/clusters.d.ts +0 -22
  433. package/vke/clusters.js +0 -22
  434. package/vke/clusters.js.map +1 -1
  435. package/vke/kubeconfigs.d.ts +9 -0
  436. package/vke/kubeconfigs.js +1 -0
  437. package/vke/kubeconfigs.js.map +1 -1
  438. package/vpc/subnet.d.ts +14 -0
  439. package/vpc/subnet.js +2 -0
  440. package/vpc/subnet.js.map +1 -1
  441. package/vpc/subnets.d.ts +13 -0
  442. package/vpc/subnets.js +1 -0
  443. package/vpc/subnets.js.map +1 -1
package/cdn/domains.js ADDED
@@ -0,0 +1,155 @@
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.domainsOutput = exports.domains = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of cdn domains
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 fooCdnCertificate = new volcengine.cdn.CdnCertificate("fooCdnCertificate", {
18
+ * certificate: "",
19
+ * privateKey: "",
20
+ * desc: "tftest",
21
+ * source: "cdn_cert_hosting",
22
+ * });
23
+ * const fooCdnDomain = new volcengine.cdn.CdnDomain("fooCdnDomain", {
24
+ * domain: "tftest.byte-test.com",
25
+ * serviceType: "web",
26
+ * tags: [
27
+ * {
28
+ * key: "tfkey1",
29
+ * value: "tfvalue1",
30
+ * },
31
+ * {
32
+ * key: "tfkey2",
33
+ * value: "tfvalue2",
34
+ * },
35
+ * ],
36
+ * domainConfig: fooCdnCertificate.id.apply(id => JSON.stringify({
37
+ * OriginProtocol: "https",
38
+ * Origin: [{
39
+ * OriginAction: {
40
+ * OriginLines: [{
41
+ * Address: "1.1.1.1",
42
+ * HttpPort: "80",
43
+ * HttpsPort: "443",
44
+ * InstanceType: "ip",
45
+ * OriginType: "primary",
46
+ * PrivateBucketAccess: false,
47
+ * Weight: "2",
48
+ * }],
49
+ * },
50
+ * }],
51
+ * HTTPS: {
52
+ * CertInfo: {
53
+ * CertId: id,
54
+ * },
55
+ * DisableHttp: false,
56
+ * HTTP2: true,
57
+ * Switch: true,
58
+ * Ocsp: false,
59
+ * TlsVersion: [
60
+ * "tlsv1.1",
61
+ * "tlsv1.2",
62
+ * ],
63
+ * },
64
+ * })),
65
+ * });
66
+ * const fooDomains = volcengine.cdn.DomainsOutput({
67
+ * domain: fooCdnDomain.id,
68
+ * });
69
+ * ```
70
+ */
71
+ function domains(args, opts) {
72
+ args = args || {};
73
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
74
+ return pulumi.runtime.invoke("volcengine:cdn/domains:Domains", {
75
+ "domain": args.domain,
76
+ "https": args.https,
77
+ "ipv6": args.ipv6,
78
+ "originProtocol": args.originProtocol,
79
+ "outputFile": args.outputFile,
80
+ "primaryOrigin": args.primaryOrigin,
81
+ "project": args.project,
82
+ "serviceType": args.serviceType,
83
+ "status": args.status,
84
+ "tags": args.tags,
85
+ }, opts);
86
+ }
87
+ exports.domains = domains;
88
+ /**
89
+ * Use this data source to query detailed information of cdn domains
90
+ * ## Example Usage
91
+ *
92
+ * ```typescript
93
+ * import * as pulumi from "@pulumi/pulumi";
94
+ * import * as volcengine from "@pulumi/volcengine";
95
+ * import * as volcengine from "@volcengine/pulumi";
96
+ *
97
+ * const fooCdnCertificate = new volcengine.cdn.CdnCertificate("fooCdnCertificate", {
98
+ * certificate: "",
99
+ * privateKey: "",
100
+ * desc: "tftest",
101
+ * source: "cdn_cert_hosting",
102
+ * });
103
+ * const fooCdnDomain = new volcengine.cdn.CdnDomain("fooCdnDomain", {
104
+ * domain: "tftest.byte-test.com",
105
+ * serviceType: "web",
106
+ * tags: [
107
+ * {
108
+ * key: "tfkey1",
109
+ * value: "tfvalue1",
110
+ * },
111
+ * {
112
+ * key: "tfkey2",
113
+ * value: "tfvalue2",
114
+ * },
115
+ * ],
116
+ * domainConfig: fooCdnCertificate.id.apply(id => JSON.stringify({
117
+ * OriginProtocol: "https",
118
+ * Origin: [{
119
+ * OriginAction: {
120
+ * OriginLines: [{
121
+ * Address: "1.1.1.1",
122
+ * HttpPort: "80",
123
+ * HttpsPort: "443",
124
+ * InstanceType: "ip",
125
+ * OriginType: "primary",
126
+ * PrivateBucketAccess: false,
127
+ * Weight: "2",
128
+ * }],
129
+ * },
130
+ * }],
131
+ * HTTPS: {
132
+ * CertInfo: {
133
+ * CertId: id,
134
+ * },
135
+ * DisableHttp: false,
136
+ * HTTP2: true,
137
+ * Switch: true,
138
+ * Ocsp: false,
139
+ * TlsVersion: [
140
+ * "tlsv1.1",
141
+ * "tlsv1.2",
142
+ * ],
143
+ * },
144
+ * })),
145
+ * });
146
+ * const fooDomains = volcengine.cdn.DomainsOutput({
147
+ * domain: fooCdnDomain.id,
148
+ * });
149
+ * ```
150
+ */
151
+ function domainsOutput(args, opts) {
152
+ return pulumi.output(args).apply((a) => domains(a, opts));
153
+ }
154
+ exports.domainsOutput = domainsOutput;
155
+ //# sourceMappingURL=domains.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domains.js","sourceRoot":"","sources":["../../cdn/domains.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,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,gCAAgC,EAAE;QAC3D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,0BAgBC;AAsGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
package/cdn/index.d.ts ADDED
@@ -0,0 +1,21 @@
1
+ export { CdnCertificateArgs, CdnCertificateState } from "./cdnCertificate";
2
+ export type CdnCertificate = import("./cdnCertificate").CdnCertificate;
3
+ export declare const CdnCertificate: typeof import("./cdnCertificate").CdnCertificate;
4
+ export { CdnDomainArgs, CdnDomainState } from "./cdnDomain";
5
+ export type CdnDomain = import("./cdnDomain").CdnDomain;
6
+ export declare const CdnDomain: typeof import("./cdnDomain").CdnDomain;
7
+ export { CertificatesArgs, CertificatesResult, CertificatesOutputArgs } from "./certificates";
8
+ export declare const certificates: typeof import("./certificates").certificates;
9
+ export declare const certificatesOutput: typeof import("./certificates").certificatesOutput;
10
+ export { ConfigsArgs, ConfigsResult, ConfigsOutputArgs } from "./configs";
11
+ export declare const configs: typeof import("./configs").configs;
12
+ export declare const configsOutput: typeof import("./configs").configsOutput;
13
+ export { DomainsArgs, DomainsResult, DomainsOutputArgs } from "./domains";
14
+ export declare const domains: typeof import("./domains").domains;
15
+ export declare const domainsOutput: typeof import("./domains").domainsOutput;
16
+ export { SharedConfigArgs, SharedConfigState } from "./sharedConfig";
17
+ export type SharedConfig = import("./sharedConfig").SharedConfig;
18
+ export declare const SharedConfig: typeof import("./sharedConfig").SharedConfig;
19
+ export { SharedConfigsArgs, SharedConfigsResult, SharedConfigsOutputArgs } from "./sharedConfigs";
20
+ export declare const sharedConfigs: typeof import("./sharedConfigs").sharedConfigs;
21
+ export declare const sharedConfigsOutput: typeof import("./sharedConfigs").sharedConfigsOutput;
package/cdn/index.js ADDED
@@ -0,0 +1,44 @@
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.sharedConfigsOutput = exports.sharedConfigs = exports.SharedConfig = exports.domainsOutput = exports.domains = exports.configsOutput = exports.configs = exports.certificatesOutput = exports.certificates = exports.CdnDomain = exports.CdnCertificate = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.CdnCertificate = null;
9
+ utilities.lazyLoad(exports, ["CdnCertificate"], () => require("./cdnCertificate"));
10
+ exports.CdnDomain = null;
11
+ utilities.lazyLoad(exports, ["CdnDomain"], () => require("./cdnDomain"));
12
+ exports.certificates = null;
13
+ exports.certificatesOutput = null;
14
+ utilities.lazyLoad(exports, ["certificates", "certificatesOutput"], () => require("./certificates"));
15
+ exports.configs = null;
16
+ exports.configsOutput = null;
17
+ utilities.lazyLoad(exports, ["configs", "configsOutput"], () => require("./configs"));
18
+ exports.domains = null;
19
+ exports.domainsOutput = null;
20
+ utilities.lazyLoad(exports, ["domains", "domainsOutput"], () => require("./domains"));
21
+ exports.SharedConfig = null;
22
+ utilities.lazyLoad(exports, ["SharedConfig"], () => require("./sharedConfig"));
23
+ exports.sharedConfigs = null;
24
+ exports.sharedConfigsOutput = null;
25
+ utilities.lazyLoad(exports, ["sharedConfigs", "sharedConfigsOutput"], () => require("./sharedConfigs"));
26
+ const _module = {
27
+ version: utilities.getVersion(),
28
+ construct: (name, type, urn) => {
29
+ switch (type) {
30
+ case "volcengine:cdn/cdnCertificate:CdnCertificate":
31
+ return new exports.CdnCertificate(name, undefined, { urn });
32
+ case "volcengine:cdn/cdnDomain:CdnDomain":
33
+ return new exports.CdnDomain(name, undefined, { urn });
34
+ case "volcengine:cdn/sharedConfig:SharedConfig":
35
+ return new exports.SharedConfig(name, undefined, { urn });
36
+ default:
37
+ throw new Error(`unknown resource type ${type}`);
38
+ }
39
+ },
40
+ };
41
+ pulumi.runtime.registerResourceModule("volcengine", "cdn/cdnCertificate", _module);
42
+ pulumi.runtime.registerResourceModule("volcengine", "cdn/cdnDomain", _module);
43
+ pulumi.runtime.registerResourceModule("volcengine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puts from "../types/output";
4
+ /**
5
+ * Provides a resource to manage cdn shared config
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const foo = new volcengine.cdn.SharedConfig("foo", {
13
+ * allowIpAccessRule: {
14
+ * rules: [
15
+ * "1.1.1.1",
16
+ * "2.2.2.0/24",
17
+ * "3.3.3.3",
18
+ * ],
19
+ * },
20
+ * allowRefererAccessRule: {
21
+ * commonType: {
22
+ * rules: [
23
+ * "1.1.1.1",
24
+ * "2.2.2.0/24",
25
+ * "3.3.4.4",
26
+ * ],
27
+ * },
28
+ * },
29
+ * commonMatchList: {
30
+ * commonType: {
31
+ * rules: [
32
+ * "1.1.1.1",
33
+ * "2.2.2.0/24",
34
+ * ],
35
+ * },
36
+ * },
37
+ * configName: "tftest",
38
+ * configType: "allow_referer_access_rule",
39
+ * denyIpAccessRule: {
40
+ * rules: [
41
+ * "1.1.1.1",
42
+ * "2.2.2.0/24",
43
+ * ],
44
+ * },
45
+ * denyRefererAccessRule: {
46
+ * commonType: {
47
+ * rules: [
48
+ * "1.1.1.1",
49
+ * "2.2.2.0/24",
50
+ * ],
51
+ * },
52
+ * },
53
+ * });
54
+ * ```
55
+ *
56
+ * ## Import
57
+ *
58
+ * CdnSharedConfig can be imported using the id, e.g.
59
+ *
60
+ * ```sh
61
+ * $ pulumi import volcengine:cdn/sharedConfig:SharedConfig default resource_id
62
+ * ```
63
+ */
64
+ export declare class SharedConfig extends pulumi.CustomResource {
65
+ /**
66
+ * Get an existing SharedConfig resource's state with the given name, ID, and optional extra
67
+ * properties used to qualify the lookup.
68
+ *
69
+ * @param name The _unique_ name of the resulting resource.
70
+ * @param id The _unique_ provider ID of the resource to lookup.
71
+ * @param state Any extra arguments used during the lookup.
72
+ * @param opts Optional settings to control the behavior of the CustomResource.
73
+ */
74
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SharedConfigState, opts?: pulumi.CustomResourceOptions): SharedConfig;
75
+ /**
76
+ * Returns true if the given object is an instance of SharedConfig. This is designed to work even
77
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
78
+ */
79
+ static isInstance(obj: any): obj is SharedConfig;
80
+ /**
81
+ * The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
82
+ */
83
+ readonly allowIpAccessRule: pulumi.Output<outputs.cdn.SharedConfigAllowIpAccessRule | undefined>;
84
+ /**
85
+ * The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
86
+ */
87
+ readonly allowRefererAccessRule: pulumi.Output<outputs.cdn.SharedConfigAllowRefererAccessRule | undefined>;
88
+ /**
89
+ * The configuration for a common list is represented by ConfigType common_match_list.
90
+ */
91
+ readonly commonMatchList: pulumi.Output<outputs.cdn.SharedConfigCommonMatchList | undefined>;
92
+ /**
93
+ * The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
94
+ */
95
+ readonly configName: pulumi.Output<string>;
96
+ /**
97
+ * The type of the shared config. The type of global configuration. The parameter can have the following values: `denyIpAccessRule`: represents IP blacklist. `allowIpAccessRule`: represents IP whitelist. `denyRefererAccessRule`: represents Referer blacklist. `allowRefererAccessRule`: represents Referer whitelist. `commonMatchList`: represents common list.
98
+ */
99
+ readonly configType: pulumi.Output<string>;
100
+ /**
101
+ * The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
102
+ */
103
+ readonly denyIpAccessRule: pulumi.Output<outputs.cdn.SharedConfigDenyIpAccessRule | undefined>;
104
+ /**
105
+ * The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
106
+ */
107
+ readonly denyRefererAccessRule: pulumi.Output<outputs.cdn.SharedConfigDenyRefererAccessRule | undefined>;
108
+ /**
109
+ * The ProjectName of the cdn shared config.
110
+ */
111
+ readonly projectName: pulumi.Output<string>;
112
+ /**
113
+ * Create a SharedConfig resource with the given unique name, arguments, and options.
114
+ *
115
+ * @param name The _unique_ name of the resource.
116
+ * @param args The arguments to use to populate this resource's properties.
117
+ * @param opts A bag of options that control this resource's behavior.
118
+ */
119
+ constructor(name: string, args: SharedConfigArgs, opts?: pulumi.CustomResourceOptions);
120
+ }
121
+ /**
122
+ * Input properties used for looking up and filtering SharedConfig resources.
123
+ */
124
+ export interface SharedConfigState {
125
+ /**
126
+ * The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
127
+ */
128
+ allowIpAccessRule?: pulumi.Input<inputs.cdn.SharedConfigAllowIpAccessRule>;
129
+ /**
130
+ * The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
131
+ */
132
+ allowRefererAccessRule?: pulumi.Input<inputs.cdn.SharedConfigAllowRefererAccessRule>;
133
+ /**
134
+ * The configuration for a common list is represented by ConfigType common_match_list.
135
+ */
136
+ commonMatchList?: pulumi.Input<inputs.cdn.SharedConfigCommonMatchList>;
137
+ /**
138
+ * The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
139
+ */
140
+ configName?: pulumi.Input<string>;
141
+ /**
142
+ * The type of the shared config. The type of global configuration. The parameter can have the following values: `denyIpAccessRule`: represents IP blacklist. `allowIpAccessRule`: represents IP whitelist. `denyRefererAccessRule`: represents Referer blacklist. `allowRefererAccessRule`: represents Referer whitelist. `commonMatchList`: represents common list.
143
+ */
144
+ configType?: pulumi.Input<string>;
145
+ /**
146
+ * The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
147
+ */
148
+ denyIpAccessRule?: pulumi.Input<inputs.cdn.SharedConfigDenyIpAccessRule>;
149
+ /**
150
+ * The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
151
+ */
152
+ denyRefererAccessRule?: pulumi.Input<inputs.cdn.SharedConfigDenyRefererAccessRule>;
153
+ /**
154
+ * The ProjectName of the cdn shared config.
155
+ */
156
+ projectName?: pulumi.Input<string>;
157
+ }
158
+ /**
159
+ * The set of arguments for constructing a SharedConfig resource.
160
+ */
161
+ export interface SharedConfigArgs {
162
+ /**
163
+ * The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
164
+ */
165
+ allowIpAccessRule?: pulumi.Input<inputs.cdn.SharedConfigAllowIpAccessRule>;
166
+ /**
167
+ * The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
168
+ */
169
+ allowRefererAccessRule?: pulumi.Input<inputs.cdn.SharedConfigAllowRefererAccessRule>;
170
+ /**
171
+ * The configuration for a common list is represented by ConfigType common_match_list.
172
+ */
173
+ commonMatchList?: pulumi.Input<inputs.cdn.SharedConfigCommonMatchList>;
174
+ /**
175
+ * The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
176
+ */
177
+ configName: pulumi.Input<string>;
178
+ /**
179
+ * The type of the shared config. The type of global configuration. The parameter can have the following values: `denyIpAccessRule`: represents IP blacklist. `allowIpAccessRule`: represents IP whitelist. `denyRefererAccessRule`: represents Referer blacklist. `allowRefererAccessRule`: represents Referer whitelist. `commonMatchList`: represents common list.
180
+ */
181
+ configType: pulumi.Input<string>;
182
+ /**
183
+ * The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
184
+ */
185
+ denyIpAccessRule?: pulumi.Input<inputs.cdn.SharedConfigDenyIpAccessRule>;
186
+ /**
187
+ * The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
188
+ */
189
+ denyRefererAccessRule?: pulumi.Input<inputs.cdn.SharedConfigDenyRefererAccessRule>;
190
+ /**
191
+ * The ProjectName of the cdn shared config.
192
+ */
193
+ projectName?: pulumi.Input<string>;
194
+ }
@@ -0,0 +1,129 @@
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.SharedConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage cdn shared config
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.cdn.SharedConfig("foo", {
17
+ * allowIpAccessRule: {
18
+ * rules: [
19
+ * "1.1.1.1",
20
+ * "2.2.2.0/24",
21
+ * "3.3.3.3",
22
+ * ],
23
+ * },
24
+ * allowRefererAccessRule: {
25
+ * commonType: {
26
+ * rules: [
27
+ * "1.1.1.1",
28
+ * "2.2.2.0/24",
29
+ * "3.3.4.4",
30
+ * ],
31
+ * },
32
+ * },
33
+ * commonMatchList: {
34
+ * commonType: {
35
+ * rules: [
36
+ * "1.1.1.1",
37
+ * "2.2.2.0/24",
38
+ * ],
39
+ * },
40
+ * },
41
+ * configName: "tftest",
42
+ * configType: "allow_referer_access_rule",
43
+ * denyIpAccessRule: {
44
+ * rules: [
45
+ * "1.1.1.1",
46
+ * "2.2.2.0/24",
47
+ * ],
48
+ * },
49
+ * denyRefererAccessRule: {
50
+ * commonType: {
51
+ * rules: [
52
+ * "1.1.1.1",
53
+ * "2.2.2.0/24",
54
+ * ],
55
+ * },
56
+ * },
57
+ * });
58
+ * ```
59
+ *
60
+ * ## Import
61
+ *
62
+ * CdnSharedConfig can be imported using the id, e.g.
63
+ *
64
+ * ```sh
65
+ * $ pulumi import volcengine:cdn/sharedConfig:SharedConfig default resource_id
66
+ * ```
67
+ */
68
+ class SharedConfig extends pulumi.CustomResource {
69
+ /**
70
+ * Get an existing SharedConfig resource's state with the given name, ID, and optional extra
71
+ * properties used to qualify the lookup.
72
+ *
73
+ * @param name The _unique_ name of the resulting resource.
74
+ * @param id The _unique_ provider ID of the resource to lookup.
75
+ * @param state Any extra arguments used during the lookup.
76
+ * @param opts Optional settings to control the behavior of the CustomResource.
77
+ */
78
+ static get(name, id, state, opts) {
79
+ return new SharedConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
80
+ }
81
+ /**
82
+ * Returns true if the given object is an instance of SharedConfig. This is designed to work even
83
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
84
+ */
85
+ static isInstance(obj) {
86
+ if (obj === undefined || obj === null) {
87
+ return false;
88
+ }
89
+ return obj['__pulumiType'] === SharedConfig.__pulumiType;
90
+ }
91
+ constructor(name, argsOrState, opts) {
92
+ let resourceInputs = {};
93
+ opts = opts || {};
94
+ if (opts.id) {
95
+ const state = argsOrState;
96
+ resourceInputs["allowIpAccessRule"] = state ? state.allowIpAccessRule : undefined;
97
+ resourceInputs["allowRefererAccessRule"] = state ? state.allowRefererAccessRule : undefined;
98
+ resourceInputs["commonMatchList"] = state ? state.commonMatchList : undefined;
99
+ resourceInputs["configName"] = state ? state.configName : undefined;
100
+ resourceInputs["configType"] = state ? state.configType : undefined;
101
+ resourceInputs["denyIpAccessRule"] = state ? state.denyIpAccessRule : undefined;
102
+ resourceInputs["denyRefererAccessRule"] = state ? state.denyRefererAccessRule : undefined;
103
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
104
+ }
105
+ else {
106
+ const args = argsOrState;
107
+ if ((!args || args.configName === undefined) && !opts.urn) {
108
+ throw new Error("Missing required property 'configName'");
109
+ }
110
+ if ((!args || args.configType === undefined) && !opts.urn) {
111
+ throw new Error("Missing required property 'configType'");
112
+ }
113
+ resourceInputs["allowIpAccessRule"] = args ? args.allowIpAccessRule : undefined;
114
+ resourceInputs["allowRefererAccessRule"] = args ? args.allowRefererAccessRule : undefined;
115
+ resourceInputs["commonMatchList"] = args ? args.commonMatchList : undefined;
116
+ resourceInputs["configName"] = args ? args.configName : undefined;
117
+ resourceInputs["configType"] = args ? args.configType : undefined;
118
+ resourceInputs["denyIpAccessRule"] = args ? args.denyIpAccessRule : undefined;
119
+ resourceInputs["denyRefererAccessRule"] = args ? args.denyRefererAccessRule : undefined;
120
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
121
+ }
122
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
123
+ super(SharedConfig.__pulumiType, name, resourceInputs, opts);
124
+ }
125
+ }
126
+ exports.SharedConfig = SharedConfig;
127
+ /** @internal */
128
+ SharedConfig.__pulumiType = 'volcengine:cdn/sharedConfig:SharedConfig';
129
+ //# sourceMappingURL=sharedConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sharedConfig.js","sourceRoot":"","sources":["../../cdn/sharedConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;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;IA2CD,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,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,C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C,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;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;;AArGL,oCAsGC;AAxFG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
@@ -0,0 +1,115 @@
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 cdn shared configs
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const foo = volcengine.cdn.SharedConfigs({
12
+ * configName: "tf-test",
13
+ * configType: "allow_ip_access_rule",
14
+ * projectName: "default",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function sharedConfigs(args?: SharedConfigsArgs, opts?: pulumi.InvokeOptions): Promise<SharedConfigsResult>;
19
+ /**
20
+ * A collection of arguments for invoking SharedConfigs.
21
+ */
22
+ export interface SharedConfigsArgs {
23
+ /**
24
+ * The name of the shared config.
25
+ */
26
+ configName?: string;
27
+ /**
28
+ * The type of the shared config.
29
+ */
30
+ configType?: string;
31
+ /**
32
+ * The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time.
33
+ */
34
+ configTypeLists?: string[];
35
+ /**
36
+ * File name where to save data source results.
37
+ */
38
+ outputFile?: string;
39
+ /**
40
+ * The name of the project.
41
+ */
42
+ projectName?: string;
43
+ }
44
+ /**
45
+ * A collection of values returned by SharedConfigs.
46
+ */
47
+ export interface SharedConfigsResult {
48
+ /**
49
+ * The collection of query.
50
+ */
51
+ readonly configDatas: outputs.cdn.SharedConfigsConfigData[];
52
+ /**
53
+ * The name of the config.
54
+ */
55
+ readonly configName?: string;
56
+ /**
57
+ * The type of the config.
58
+ */
59
+ readonly configType?: string;
60
+ readonly configTypeLists?: string[];
61
+ /**
62
+ * The provider-assigned unique ID for this managed resource.
63
+ */
64
+ readonly id: string;
65
+ readonly outputFile?: string;
66
+ /**
67
+ * The name of the project.
68
+ */
69
+ readonly projectName?: 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 cdn shared configs
77
+ * ## Example Usage
78
+ *
79
+ * ```typescript
80
+ * import * as pulumi from "@pulumi/pulumi";
81
+ * import * as volcengine from "@pulumi/volcengine";
82
+ *
83
+ * const foo = volcengine.cdn.SharedConfigs({
84
+ * configName: "tf-test",
85
+ * configType: "allow_ip_access_rule",
86
+ * projectName: "default",
87
+ * });
88
+ * ```
89
+ */
90
+ export declare function sharedConfigsOutput(args?: SharedConfigsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<SharedConfigsResult>;
91
+ /**
92
+ * A collection of arguments for invoking SharedConfigs.
93
+ */
94
+ export interface SharedConfigsOutputArgs {
95
+ /**
96
+ * The name of the shared config.
97
+ */
98
+ configName?: pulumi.Input<string>;
99
+ /**
100
+ * The type of the shared config.
101
+ */
102
+ configType?: pulumi.Input<string>;
103
+ /**
104
+ * The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time.
105
+ */
106
+ configTypeLists?: pulumi.Input<pulumi.Input<string>[]>;
107
+ /**
108
+ * File name where to save data source results.
109
+ */
110
+ outputFile?: pulumi.Input<string>;
111
+ /**
112
+ * The name of the project.
113
+ */
114
+ projectName?: pulumi.Input<string>;
115
+ }