@volcengine/pulumi 0.0.17 → 0.0.20

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 (343) hide show
  1. package/autoscaling/scalingGroup.d.ts +1 -1
  2. package/bioos/cluster.d.ts +11 -11
  3. package/bioos/cluster.js +6 -6
  4. package/bioos/cluster.js.map +1 -1
  5. package/bioos/clusters.d.ts +3 -0
  6. package/bioos/clusters.js.map +1 -1
  7. package/bioos/workspace.d.ts +1 -1
  8. package/cen/grantInstance.d.ts +1 -1
  9. package/cen/grantInstance.js +1 -1
  10. package/clb/acl.d.ts +1 -1
  11. package/clb/certificate.d.ts +1 -1
  12. package/clb/clb.d.ts +68 -18
  13. package/clb/clb.js +38 -17
  14. package/clb/clb.js.map +1 -1
  15. package/clb/listener.d.ts +101 -0
  16. package/clb/listener.js +26 -0
  17. package/clb/listener.js.map +1 -1
  18. package/clb/serverGroup.d.ts +12 -0
  19. package/clb/serverGroup.js +2 -0
  20. package/clb/serverGroup.js.map +1 -1
  21. package/cr/registry.d.ts +1 -1
  22. package/cr/registry.js +1 -1
  23. package/direct_connect/bgpPeer.d.ts +175 -0
  24. package/direct_connect/bgpPeer.js +100 -0
  25. package/direct_connect/bgpPeer.js.map +1 -0
  26. package/direct_connect/bgpPeers.d.ts +129 -0
  27. package/direct_connect/bgpPeers.js +52 -0
  28. package/direct_connect/bgpPeers.js.map +1 -0
  29. package/direct_connect/connection.d.ts +217 -0
  30. package/direct_connect/connection.js +133 -0
  31. package/direct_connect/connection.js.map +1 -0
  32. package/direct_connect/connections.d.ts +154 -0
  33. package/direct_connect/connections.js +54 -0
  34. package/direct_connect/connections.js.map +1 -0
  35. package/direct_connect/gateway.d.ts +100 -0
  36. package/direct_connect/gateway.js +79 -0
  37. package/direct_connect/gateway.js.map +1 -0
  38. package/direct_connect/gatewayRoute.d.ts +143 -0
  39. package/direct_connect/gatewayRoute.js +97 -0
  40. package/direct_connect/gatewayRoute.js.map +1 -0
  41. package/direct_connect/gatewayRoutes.d.ts +141 -0
  42. package/direct_connect/gatewayRoutes.js +58 -0
  43. package/direct_connect/gatewayRoutes.js.map +1 -0
  44. package/direct_connect/gateways.d.ts +118 -0
  45. package/direct_connect/gateways.js +51 -0
  46. package/direct_connect/gateways.js.map +1 -0
  47. package/direct_connect/index.d.ts +30 -0
  48. package/direct_connect/index.js +57 -0
  49. package/direct_connect/index.js.map +1 -0
  50. package/direct_connect/virtualInterface.d.ts +263 -0
  51. package/direct_connect/virtualInterface.js +127 -0
  52. package/direct_connect/virtualInterface.js.map +1 -0
  53. package/direct_connect/virtualInterfaces.d.ts +178 -0
  54. package/direct_connect/virtualInterfaces.js +56 -0
  55. package/direct_connect/virtualInterfaces.js.map +1 -0
  56. package/ebs/volume.d.ts +1 -1
  57. package/ecs/availableResources.d.ts +114 -0
  58. package/ecs/availableResources.js +50 -0
  59. package/ecs/availableResources.js.map +1 -0
  60. package/ecs/command.d.ts +157 -0
  61. package/ecs/command.js +93 -0
  62. package/ecs/command.js.map +1 -0
  63. package/ecs/commands.d.ts +132 -0
  64. package/ecs/commands.js +52 -0
  65. package/ecs/commands.js.map +1 -0
  66. package/ecs/index.d.ts +21 -0
  67. package/ecs/index.js +26 -1
  68. package/ecs/index.js.map +1 -1
  69. package/ecs/instance.d.ts +25 -4
  70. package/ecs/instance.js +2 -0
  71. package/ecs/instance.js.map +1 -1
  72. package/ecs/invocation.d.ts +223 -0
  73. package/ecs/invocation.js +118 -0
  74. package/ecs/invocation.js.map +1 -0
  75. package/ecs/invocationResults.d.ts +116 -0
  76. package/ecs/invocationResults.js +51 -0
  77. package/ecs/invocationResults.js.map +1 -0
  78. package/ecs/invocations.d.ts +161 -0
  79. package/ecs/invocations.js +56 -0
  80. package/ecs/invocations.js.map +1 -0
  81. package/ecs/regions.d.ts +75 -0
  82. package/ecs/regions.js +47 -0
  83. package/ecs/regions.js.map +1 -0
  84. package/eip/address.d.ts +1 -1
  85. package/escloud/instance.d.ts +26 -13
  86. package/escloud/instance.js +26 -13
  87. package/escloud/instance.js.map +1 -1
  88. package/escloud/instances.d.ts +100 -6
  89. package/escloud/instances.js +100 -6
  90. package/escloud/instances.js.map +1 -1
  91. package/iam/index.d.ts +15 -0
  92. package/iam/index.js +22 -1
  93. package/iam/index.js.map +1 -1
  94. package/iam/userGroup.d.ts +95 -0
  95. package/iam/userGroup.js +79 -0
  96. package/iam/userGroup.js.map +1 -0
  97. package/iam/userGroupAttachment.d.ts +92 -0
  98. package/iam/userGroupAttachment.js +89 -0
  99. package/iam/userGroupAttachment.js.map +1 -0
  100. package/iam/userGroupPolicyAttachment.d.ts +105 -0
  101. package/iam/userGroupPolicyAttachment.js +95 -0
  102. package/iam/userGroupPolicyAttachment.js.map +1 -0
  103. package/iam/userGroupPolicyAttachments.d.ts +107 -0
  104. package/iam/userGroupPolicyAttachments.js +78 -0
  105. package/iam/userGroupPolicyAttachments.js.map +1 -0
  106. package/iam/userGroups.d.ts +87 -0
  107. package/iam/userGroups.js +59 -0
  108. package/iam/userGroups.js.map +1 -0
  109. package/index.d.ts +4 -1
  110. package/index.js +7 -1
  111. package/index.js.map +1 -1
  112. package/nas/fileSystem.d.ts +241 -0
  113. package/nas/fileSystem.js +123 -0
  114. package/nas/fileSystem.js.map +1 -0
  115. package/nas/fileSystems.d.ts +231 -0
  116. package/nas/fileSystems.js +90 -0
  117. package/nas/fileSystems.js.map +1 -0
  118. package/nas/index.d.ts +30 -0
  119. package/nas/index.js +55 -0
  120. package/nas/index.js.map +1 -0
  121. package/nas/mountPoint.d.ts +103 -0
  122. package/nas/mountPoint.js +80 -0
  123. package/nas/mountPoint.js.map +1 -0
  124. package/nas/mountPoints.d.ts +91 -0
  125. package/nas/mountPoints.js +29 -0
  126. package/nas/mountPoints.js.map +1 -0
  127. package/nas/permissionGroup.d.ts +116 -0
  128. package/nas/permissionGroup.js +92 -0
  129. package/nas/permissionGroup.js.map +1 -0
  130. package/nas/permissionGroups.d.ts +116 -0
  131. package/nas/permissionGroups.js +87 -0
  132. package/nas/permissionGroups.js.map +1 -0
  133. package/nas/regions.d.ts +62 -0
  134. package/nas/regions.js +42 -0
  135. package/nas/regions.js.map +1 -0
  136. package/nas/snapshot.d.ts +167 -0
  137. package/nas/snapshot.js +100 -0
  138. package/nas/snapshot.js.map +1 -0
  139. package/nas/snapshots.d.ts +131 -0
  140. package/nas/snapshots.js +59 -0
  141. package/nas/snapshots.js.map +1 -0
  142. package/nas/zones.d.ts +62 -0
  143. package/nas/zones.js +42 -0
  144. package/nas/zones.js.map +1 -0
  145. package/nat/gateway.d.ts +1 -1
  146. package/package.json +2 -2
  147. package/rds_mysql/account.d.ts +48 -4
  148. package/rds_mysql/account.js +48 -4
  149. package/rds_mysql/account.js.map +1 -1
  150. package/rds_mysql/accounts.d.ts +106 -6
  151. package/rds_mysql/accounts.js +106 -6
  152. package/rds_mysql/accounts.js.map +1 -1
  153. package/rds_mysql/allowlist.d.ts +7 -3
  154. package/rds_mysql/allowlist.js +7 -3
  155. package/rds_mysql/allowlist.js.map +1 -1
  156. package/rds_mysql/allowlistAssociate.d.ts +47 -3
  157. package/rds_mysql/allowlistAssociate.js +47 -3
  158. package/rds_mysql/allowlistAssociate.js.map +1 -1
  159. package/rds_mysql/allowlists.d.ts +102 -4
  160. package/rds_mysql/allowlists.js +102 -4
  161. package/rds_mysql/allowlists.js.map +1 -1
  162. package/rds_mysql/database.d.ts +38 -4
  163. package/rds_mysql/database.js +38 -4
  164. package/rds_mysql/database.js.map +1 -1
  165. package/rds_mysql/databases.d.ts +84 -6
  166. package/rds_mysql/databases.js +84 -6
  167. package/rds_mysql/databases.js.map +1 -1
  168. package/rds_mysql/instance.d.ts +18 -15
  169. package/rds_mysql/instance.js +17 -14
  170. package/rds_mysql/instance.js.map +1 -1
  171. package/rds_mysql/instanceReadonlyNode.d.ts +38 -3
  172. package/rds_mysql/instanceReadonlyNode.js +38 -3
  173. package/rds_mysql/instanceReadonlyNode.js.map +1 -1
  174. package/rds_mysql/instances.d.ts +74 -4
  175. package/rds_mysql/instances.js +74 -4
  176. package/rds_mysql/instances.js.map +1 -1
  177. package/redis/account.d.ts +32 -5
  178. package/redis/account.js +32 -5
  179. package/redis/account.js.map +1 -1
  180. package/redis/accounts.d.ts +74 -4
  181. package/redis/accounts.js +74 -4
  182. package/redis/accounts.js.map +1 -1
  183. package/redis/allowList.d.ts +2 -2
  184. package/redis/allowList.js +2 -2
  185. package/redis/allowListAssociate.d.ts +34 -6
  186. package/redis/allowListAssociate.js +34 -6
  187. package/redis/allowListAssociate.js.map +1 -1
  188. package/redis/allowLists.d.ts +78 -2
  189. package/redis/allowLists.js +78 -2
  190. package/redis/allowLists.js.map +1 -1
  191. package/redis/backup.d.ts +29 -1
  192. package/redis/backup.js +29 -1
  193. package/redis/backup.js.map +1 -1
  194. package/redis/backupRestore.d.ts +33 -3
  195. package/redis/backupRestore.js +33 -3
  196. package/redis/backupRestore.js.map +1 -1
  197. package/redis/backups.d.ts +68 -6
  198. package/redis/backups.js +68 -6
  199. package/redis/backups.js.map +1 -1
  200. package/redis/continuousBackup.d.ts +29 -1
  201. package/redis/continuousBackup.js +29 -1
  202. package/redis/continuousBackup.js.map +1 -1
  203. package/redis/endpoint.d.ts +37 -3
  204. package/redis/endpoint.js +37 -3
  205. package/redis/endpoint.js.map +1 -1
  206. package/redis/instance.d.ts +47 -35
  207. package/redis/instance.js +41 -32
  208. package/redis/instance.js.map +1 -1
  209. package/redis/instances.d.ts +60 -4
  210. package/redis/instances.js +60 -4
  211. package/redis/instances.js.map +1 -1
  212. package/tls/alarmNotifyGroup.d.ts +1 -1
  213. package/tls/index_.d.ts +33 -8
  214. package/tls/index_.js +23 -8
  215. package/tls/index_.js.map +1 -1
  216. package/tls/indexes.d.ts +2 -2
  217. package/tls/indexes.js +2 -2
  218. package/transit_router/bandwidthPackage.d.ts +211 -0
  219. package/transit_router/bandwidthPackage.js +102 -0
  220. package/transit_router/bandwidthPackage.js.map +1 -0
  221. package/transit_router/bandwidthPackages.d.ts +115 -0
  222. package/transit_router/bandwidthPackages.js +65 -0
  223. package/transit_router/bandwidthPackages.js.map +1 -0
  224. package/transit_router/directConnectGatewayAttachment.d.ts +116 -0
  225. package/transit_router/directConnectGatewayAttachment.js +87 -0
  226. package/transit_router/directConnectGatewayAttachment.js.map +1 -0
  227. package/transit_router/directConnectGatewayAttachments.d.ts +99 -0
  228. package/transit_router/directConnectGatewayAttachments.js +48 -0
  229. package/transit_router/directConnectGatewayAttachments.js.map +1 -0
  230. package/transit_router/grantRule.d.ts +95 -0
  231. package/transit_router/grantRule.js +82 -0
  232. package/transit_router/grantRule.js.map +1 -0
  233. package/transit_router/grantRules.d.ts +90 -0
  234. package/transit_router/grantRules.js +47 -0
  235. package/transit_router/grantRules.js.map +1 -0
  236. package/transit_router/index.d.ts +69 -0
  237. package/transit_router/index.js +110 -0
  238. package/transit_router/index.js.map +1 -0
  239. package/transit_router/peerAttachment.d.ts +179 -0
  240. package/transit_router/peerAttachment.js +105 -0
  241. package/transit_router/peerAttachment.js.map +1 -0
  242. package/transit_router/peerAttachments.d.ts +132 -0
  243. package/transit_router/peerAttachments.js +52 -0
  244. package/transit_router/peerAttachments.js.map +1 -0
  245. package/transit_router/routeEntries.d.ts +122 -0
  246. package/transit_router/routeEntries.js +52 -0
  247. package/transit_router/routeEntries.js.map +1 -0
  248. package/transit_router/routeEntry.d.ts +173 -0
  249. package/transit_router/routeEntry.js +103 -0
  250. package/transit_router/routeEntry.js.map +1 -0
  251. package/transit_router/routeTable.d.ts +135 -0
  252. package/transit_router/routeTable.js +89 -0
  253. package/transit_router/routeTable.js.map +1 -0
  254. package/transit_router/routeTableAssociation.d.ts +82 -0
  255. package/transit_router/routeTableAssociation.js +79 -0
  256. package/transit_router/routeTableAssociation.js.map +1 -0
  257. package/transit_router/routeTableAssociations.d.ts +92 -0
  258. package/transit_router/routeTableAssociations.js +49 -0
  259. package/transit_router/routeTableAssociations.js.map +1 -0
  260. package/transit_router/routeTablePropagation.d.ts +82 -0
  261. package/transit_router/routeTablePropagation.js +79 -0
  262. package/transit_router/routeTablePropagation.js.map +1 -0
  263. package/transit_router/routeTablePropagations.d.ts +92 -0
  264. package/transit_router/routeTablePropagations.js +49 -0
  265. package/transit_router/routeTablePropagations.js.map +1 -0
  266. package/transit_router/routeTables.d.ts +98 -0
  267. package/transit_router/routeTables.js +50 -0
  268. package/transit_router/routeTables.js.map +1 -0
  269. package/transit_router/sharedTransitRouterState.d.ts +82 -0
  270. package/transit_router/sharedTransitRouterState.js +79 -0
  271. package/transit_router/sharedTransitRouterState.js.map +1 -0
  272. package/transit_router/transitRouter.d.ts +148 -0
  273. package/transit_router/transitRouter.js +89 -0
  274. package/transit_router/transitRouter.js.map +1 -0
  275. package/transit_router/transitRouters.d.ts +89 -0
  276. package/transit_router/transitRouters.js +50 -0
  277. package/transit_router/transitRouters.js.map +1 -0
  278. package/transit_router/vpcAttachment.d.ts +164 -0
  279. package/transit_router/vpcAttachment.js +108 -0
  280. package/transit_router/vpcAttachment.js.map +1 -0
  281. package/transit_router/vpcAttachments.d.ts +101 -0
  282. package/transit_router/vpcAttachments.js +50 -0
  283. package/transit_router/vpcAttachments.js.map +1 -0
  284. package/transit_router/vpnAttachment.d.ts +153 -0
  285. package/transit_router/vpnAttachment.js +99 -0
  286. package/transit_router/vpnAttachment.js.map +1 -0
  287. package/transit_router/vpnAttachments.d.ts +101 -0
  288. package/transit_router/vpnAttachments.js +50 -0
  289. package/transit_router/vpnAttachments.js.map +1 -0
  290. package/types/input.d.ts +320 -2
  291. package/types/output.d.ts +5482 -3219
  292. package/vke/index.d.ts +3 -0
  293. package/vke/index.js +4 -1
  294. package/vke/index.js.map +1 -1
  295. package/vke/supportResourceTypes.d.ts +80 -0
  296. package/vke/supportResourceTypes.js +44 -0
  297. package/vke/supportResourceTypes.js.map +1 -0
  298. package/vpc/haVip.d.ts +206 -0
  299. package/vpc/haVip.js +120 -0
  300. package/vpc/haVip.js.map +1 -0
  301. package/vpc/haVipAssociate.d.ts +131 -0
  302. package/vpc/haVipAssociate.js +118 -0
  303. package/vpc/haVipAssociate.js.map +1 -0
  304. package/vpc/haVips.d.ts +192 -0
  305. package/vpc/haVips.js +90 -0
  306. package/vpc/haVips.js.map +1 -0
  307. package/vpc/index.d.ts +15 -0
  308. package/vpc/index.js +22 -1
  309. package/vpc/index.js.map +1 -1
  310. package/vpc/networkAcl.d.ts +1 -1
  311. package/vpc/networkInterface.d.ts +31 -1
  312. package/vpc/networkInterface.js +4 -0
  313. package/vpc/networkInterface.js.map +1 -1
  314. package/vpc/prefixList.d.ts +166 -0
  315. package/vpc/prefixList.js +106 -0
  316. package/vpc/prefixList.js.map +1 -0
  317. package/vpc/prefixLists.d.ts +151 -0
  318. package/vpc/prefixLists.js +92 -0
  319. package/vpc/prefixLists.js.map +1 -0
  320. package/vpc/routeTable.d.ts +1 -1
  321. package/vpc/securityGroup.d.ts +2 -2
  322. package/vpc/securityGroup.js +1 -1
  323. package/vpc/vpc.d.ts +1 -1
  324. package/vpn/connection.d.ts +1 -1
  325. package/vpn/customerGateway.d.ts +1 -1
  326. package/vpn/gateway.d.ts +37 -1
  327. package/vpn/gateway.js +6 -0
  328. package/vpn/gateway.js.map +1 -1
  329. package/vpn/index.d.ts +12 -0
  330. package/vpn/index.js +17 -1
  331. package/vpn/index.js.map +1 -1
  332. package/vpn/sslVpnClientCert.d.ts +201 -0
  333. package/vpn/sslVpnClientCert.js +131 -0
  334. package/vpn/sslVpnClientCert.js.map +1 -0
  335. package/vpn/sslVpnClientCerts.d.ts +192 -0
  336. package/vpn/sslVpnClientCerts.js +134 -0
  337. package/vpn/sslVpnClientCerts.js.map +1 -0
  338. package/vpn/sslVpnServer.d.ts +231 -0
  339. package/vpn/sslVpnServer.js +128 -0
  340. package/vpn/sslVpnServer.js.map +1 -0
  341. package/vpn/sslVpnServers.d.ts +167 -0
  342. package/vpn/sslVpnServers.js +117 -0
  343. package/vpn/sslVpnServers.js.map +1 -0
@@ -8,9 +8,37 @@ import * as outputs from "../types/output";
8
8
  * ```typescript
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as volcengine from "@pulumi/volcengine";
11
+ * import * as volcengine from "@volcengine/pulumi";
11
12
  *
12
- * const default = volcengine.redis.Instances({
13
- * instanceId: "redis-cnlf2lh1kksvv****",
13
+ * const fooZones = volcengine.ecs.Zones({});
14
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
15
+ * vpcName: "acc-test-vpc",
16
+ * cidrBlock: "172.16.0.0/16",
17
+ * });
18
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
19
+ * subnetName: "acc-test-subnet",
20
+ * cidrBlock: "172.16.0.0/24",
21
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
22
+ * vpcId: fooVpc.id,
23
+ * });
24
+ * const fooInstance = new volcengine.redis.Instance("fooInstance", {
25
+ * zoneIds: [fooZones.then(fooZones => fooZones.zones?.[0]?.id)],
26
+ * instanceName: "acc-test-tf-redis",
27
+ * shardedCluster: 1,
28
+ * password: "1qaz!QAZ12",
29
+ * nodeNumber: 2,
30
+ * shardCapacity: 1024,
31
+ * shardNumber: 2,
32
+ * engineVersion: "5.0",
33
+ * subnetId: fooSubnet.id,
34
+ * deletionProtection: "disabled",
35
+ * vpcAuthMode: "close",
36
+ * chargeType: "PostPaid",
37
+ * port: 6381,
38
+ * projectName: "default",
39
+ * });
40
+ * const fooInstances = volcengine.redis.InstancesOutput({
41
+ * instanceId: fooInstance.id,
14
42
  * });
15
43
  * ```
16
44
  */
@@ -131,9 +159,37 @@ export interface InstancesResult {
131
159
  * ```typescript
132
160
  * import * as pulumi from "@pulumi/pulumi";
133
161
  * import * as volcengine from "@pulumi/volcengine";
162
+ * import * as volcengine from "@volcengine/pulumi";
134
163
  *
135
- * const default = volcengine.redis.Instances({
136
- * instanceId: "redis-cnlf2lh1kksvv****",
164
+ * const fooZones = volcengine.ecs.Zones({});
165
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
166
+ * vpcName: "acc-test-vpc",
167
+ * cidrBlock: "172.16.0.0/16",
168
+ * });
169
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
170
+ * subnetName: "acc-test-subnet",
171
+ * cidrBlock: "172.16.0.0/24",
172
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
173
+ * vpcId: fooVpc.id,
174
+ * });
175
+ * const fooInstance = new volcengine.redis.Instance("fooInstance", {
176
+ * zoneIds: [fooZones.then(fooZones => fooZones.zones?.[0]?.id)],
177
+ * instanceName: "acc-test-tf-redis",
178
+ * shardedCluster: 1,
179
+ * password: "1qaz!QAZ12",
180
+ * nodeNumber: 2,
181
+ * shardCapacity: 1024,
182
+ * shardNumber: 2,
183
+ * engineVersion: "5.0",
184
+ * subnetId: fooSubnet.id,
185
+ * deletionProtection: "disabled",
186
+ * vpcAuthMode: "close",
187
+ * chargeType: "PostPaid",
188
+ * port: 6381,
189
+ * projectName: "default",
190
+ * });
191
+ * const fooInstances = volcengine.redis.InstancesOutput({
192
+ * instanceId: fooInstance.id,
137
193
  * });
138
194
  * ```
139
195
  */
@@ -12,9 +12,37 @@ const utilities = require("../utilities");
12
12
  * ```typescript
13
13
  * import * as pulumi from "@pulumi/pulumi";
14
14
  * import * as volcengine from "@pulumi/volcengine";
15
+ * import * as volcengine from "@volcengine/pulumi";
15
16
  *
16
- * const default = volcengine.redis.Instances({
17
- * instanceId: "redis-cnlf2lh1kksvv****",
17
+ * const fooZones = volcengine.ecs.Zones({});
18
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
19
+ * vpcName: "acc-test-vpc",
20
+ * cidrBlock: "172.16.0.0/16",
21
+ * });
22
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
23
+ * subnetName: "acc-test-subnet",
24
+ * cidrBlock: "172.16.0.0/24",
25
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
26
+ * vpcId: fooVpc.id,
27
+ * });
28
+ * const fooInstance = new volcengine.redis.Instance("fooInstance", {
29
+ * zoneIds: [fooZones.then(fooZones => fooZones.zones?.[0]?.id)],
30
+ * instanceName: "acc-test-tf-redis",
31
+ * shardedCluster: 1,
32
+ * password: "1qaz!QAZ12",
33
+ * nodeNumber: 2,
34
+ * shardCapacity: 1024,
35
+ * shardNumber: 2,
36
+ * engineVersion: "5.0",
37
+ * subnetId: fooSubnet.id,
38
+ * deletionProtection: "disabled",
39
+ * vpcAuthMode: "close",
40
+ * chargeType: "PostPaid",
41
+ * port: 6381,
42
+ * projectName: "default",
43
+ * });
44
+ * const fooInstances = volcengine.redis.InstancesOutput({
45
+ * instanceId: fooInstance.id,
18
46
  * });
19
47
  * ```
20
48
  */
@@ -44,9 +72,37 @@ exports.instances = instances;
44
72
  * ```typescript
45
73
  * import * as pulumi from "@pulumi/pulumi";
46
74
  * import * as volcengine from "@pulumi/volcengine";
75
+ * import * as volcengine from "@volcengine/pulumi";
47
76
  *
48
- * const default = volcengine.redis.Instances({
49
- * instanceId: "redis-cnlf2lh1kksvv****",
77
+ * const fooZones = volcengine.ecs.Zones({});
78
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
79
+ * vpcName: "acc-test-vpc",
80
+ * cidrBlock: "172.16.0.0/16",
81
+ * });
82
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
83
+ * subnetName: "acc-test-subnet",
84
+ * cidrBlock: "172.16.0.0/24",
85
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
86
+ * vpcId: fooVpc.id,
87
+ * });
88
+ * const fooInstance = new volcengine.redis.Instance("fooInstance", {
89
+ * zoneIds: [fooZones.then(fooZones => fooZones.zones?.[0]?.id)],
90
+ * instanceName: "acc-test-tf-redis",
91
+ * shardedCluster: 1,
92
+ * password: "1qaz!QAZ12",
93
+ * nodeNumber: 2,
94
+ * shardCapacity: 1024,
95
+ * shardNumber: 2,
96
+ * engineVersion: "5.0",
97
+ * subnetId: fooSubnet.id,
98
+ * deletionProtection: "disabled",
99
+ * vpcAuthMode: "close",
100
+ * chargeType: "PostPaid",
101
+ * port: 6381,
102
+ * projectName: "default",
103
+ * });
104
+ * const fooInstances = volcengine.redis.InstancesOutput({
105
+ * instanceId: fooInstance.id,
50
106
  * });
51
107
  * ```
52
108
  */
@@ -1 +1 @@
1
- {"version":3,"file":"instances.js","sourceRoot":"","sources":["../../redis/instances.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,sCAAsC,EAAE;QACjE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAlBD,8BAkBC;AAgHD;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAA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AAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
@@ -61,7 +61,7 @@ export declare class AlarmNotifyGroup extends pulumi.CustomResource {
61
61
  /**
62
62
  * The name of the iam project.
63
63
  */
64
- readonly iamProjectName: pulumi.Output<string | undefined>;
64
+ readonly iamProjectName: pulumi.Output<string>;
65
65
  /**
66
66
  * The notify type.
67
67
  */
package/tls/index_.d.ts CHANGED
@@ -10,11 +10,6 @@ import * as outputs from "../types/output";
10
10
  * import * as volcengine from "@volcengine/pulumi";
11
11
  *
12
12
  * const foo = new volcengine.tls.Index("foo", {
13
- * fullText: {
14
- * caseSensitive: true,
15
- * delimiter: "!",
16
- * includeChinese: false,
17
- * },
18
13
  * keyValues: [
19
14
  * {
20
15
  * caseSensitive: true,
@@ -22,11 +17,11 @@ import * as outputs from "../types/output";
22
17
  * includeChinese: false,
23
18
  * jsonKeys: [
24
19
  * {
25
- * key: "k2.k4",
20
+ * key: "class",
26
21
  * valueType: "text",
27
22
  * },
28
23
  * {
29
- * key: "k3.k4",
24
+ * key: "age",
30
25
  * valueType: "long",
31
26
  * },
32
27
  * ],
@@ -43,7 +38,25 @@ import * as outputs from "../types/output";
43
38
  * valueType: "text",
44
39
  * },
45
40
  * ],
46
- * topicId: "65d67d34-c5b4-4ec8-b3a9-175d3366****",
41
+ * topicId: "7ce12237-6670-44a7-9d79-2e36961586e6",
42
+ * userInnerKeyValues: [{
43
+ * caseSensitive: false,
44
+ * delimiter: ",:-/ ",
45
+ * includeChinese: false,
46
+ * jsonKeys: [
47
+ * {
48
+ * key: "age",
49
+ * valueType: "long",
50
+ * },
51
+ * {
52
+ * key: "name",
53
+ * valueType: "long",
54
+ * },
55
+ * ],
56
+ * key: "__content__",
57
+ * sqlFlag: false,
58
+ * valueType: "json",
59
+ * }],
47
60
  * });
48
61
  * ```
49
62
  *
@@ -91,6 +104,10 @@ export declare class Index extends pulumi.CustomResource {
91
104
  * The topic id of the tls index.
92
105
  */
93
106
  readonly topicId: pulumi.Output<string>;
107
+ /**
108
+ * The reserved field index configuration of the tls index.
109
+ */
110
+ readonly userInnerKeyValues: pulumi.Output<outputs.tls.IndexUserInnerKeyValue[] | undefined>;
94
111
  /**
95
112
  * Create a Index resource with the given unique name, arguments, and options.
96
113
  *
@@ -124,6 +141,10 @@ export interface IndexState {
124
141
  * The topic id of the tls index.
125
142
  */
126
143
  topicId?: pulumi.Input<string>;
144
+ /**
145
+ * The reserved field index configuration of the tls index.
146
+ */
147
+ userInnerKeyValues?: pulumi.Input<pulumi.Input<inputs.tls.IndexUserInnerKeyValue>[]>;
127
148
  }
128
149
  /**
129
150
  * The set of arguments for constructing a Index resource.
@@ -141,4 +162,8 @@ export interface IndexArgs {
141
162
  * The topic id of the tls index.
142
163
  */
143
164
  topicId: pulumi.Input<string>;
165
+ /**
166
+ * The reserved field index configuration of the tls index.
167
+ */
168
+ userInnerKeyValues?: pulumi.Input<pulumi.Input<inputs.tls.IndexUserInnerKeyValue>[]>;
144
169
  }
package/tls/index_.js CHANGED
@@ -14,11 +14,6 @@ const utilities = require("../utilities");
14
14
  * import * as volcengine from "@volcengine/pulumi";
15
15
  *
16
16
  * const foo = new volcengine.tls.Index("foo", {
17
- * fullText: {
18
- * caseSensitive: true,
19
- * delimiter: "!",
20
- * includeChinese: false,
21
- * },
22
17
  * keyValues: [
23
18
  * {
24
19
  * caseSensitive: true,
@@ -26,11 +21,11 @@ const utilities = require("../utilities");
26
21
  * includeChinese: false,
27
22
  * jsonKeys: [
28
23
  * {
29
- * key: "k2.k4",
24
+ * key: "class",
30
25
  * valueType: "text",
31
26
  * },
32
27
  * {
33
- * key: "k3.k4",
28
+ * key: "age",
34
29
  * valueType: "long",
35
30
  * },
36
31
  * ],
@@ -47,7 +42,25 @@ const utilities = require("../utilities");
47
42
  * valueType: "text",
48
43
  * },
49
44
  * ],
50
- * topicId: "65d67d34-c5b4-4ec8-b3a9-175d3366****",
45
+ * topicId: "7ce12237-6670-44a7-9d79-2e36961586e6",
46
+ * userInnerKeyValues: [{
47
+ * caseSensitive: false,
48
+ * delimiter: ",:-/ ",
49
+ * includeChinese: false,
50
+ * jsonKeys: [
51
+ * {
52
+ * key: "age",
53
+ * valueType: "long",
54
+ * },
55
+ * {
56
+ * key: "name",
57
+ * valueType: "long",
58
+ * },
59
+ * ],
60
+ * key: "__content__",
61
+ * sqlFlag: false,
62
+ * valueType: "json",
63
+ * }],
51
64
  * });
52
65
  * ```
53
66
  *
@@ -92,6 +105,7 @@ class Index extends pulumi.CustomResource {
92
105
  resourceInputs["keyValues"] = state ? state.keyValues : undefined;
93
106
  resourceInputs["modifyTime"] = state ? state.modifyTime : undefined;
94
107
  resourceInputs["topicId"] = state ? state.topicId : undefined;
108
+ resourceInputs["userInnerKeyValues"] = state ? state.userInnerKeyValues : undefined;
95
109
  }
96
110
  else {
97
111
  const args = argsOrState;
@@ -101,6 +115,7 @@ class Index extends pulumi.CustomResource {
101
115
  resourceInputs["fullText"] = args ? args.fullText : undefined;
102
116
  resourceInputs["keyValues"] = args ? args.keyValues : undefined;
103
117
  resourceInputs["topicId"] = args ? args.topicId : undefined;
118
+ resourceInputs["userInnerKeyValues"] = args ? args.userInnerKeyValues : undefined;
104
119
  resourceInputs["createTime"] = undefined /*out*/;
105
120
  resourceInputs["modifyTime"] = undefined /*out*/;
106
121
  }
package/tls/index_.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index_.js","sourceRoot":"","sources":["../../tls/index_.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EA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C,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAtFL,sBAuFC;AAzEG,gBAAgB;AACO,kBAAY,GAAG,4BAA4B,CAAC"}
package/tls/indexes.d.ts CHANGED
@@ -9,7 +9,7 @@ import * as outputs from "../types/output";
9
9
  * import * as volcengine from "@pulumi/volcengine";
10
10
  *
11
11
  * const default = volcengine.tls.Indexes({
12
- * ids: ["65d67d34-c5b4-4ec8-b3a9-175d3366****"],
12
+ * ids: ["7ce12237-6670-44a7-9d79-2e36961586e6"],
13
13
  * });
14
14
  * ```
15
15
  */
@@ -55,7 +55,7 @@ export interface IndexesResult {
55
55
  * import * as volcengine from "@pulumi/volcengine";
56
56
  *
57
57
  * const default = volcengine.tls.Indexes({
58
- * ids: ["65d67d34-c5b4-4ec8-b3a9-175d3366****"],
58
+ * ids: ["7ce12237-6670-44a7-9d79-2e36961586e6"],
59
59
  * });
60
60
  * ```
61
61
  */
package/tls/indexes.js CHANGED
@@ -14,7 +14,7 @@ const utilities = require("../utilities");
14
14
  * import * as volcengine from "@pulumi/volcengine";
15
15
  *
16
16
  * const default = volcengine.tls.Indexes({
17
- * ids: ["65d67d34-c5b4-4ec8-b3a9-175d3366****"],
17
+ * ids: ["7ce12237-6670-44a7-9d79-2e36961586e6"],
18
18
  * });
19
19
  * ```
20
20
  */
@@ -35,7 +35,7 @@ exports.indexes = indexes;
35
35
  * import * as volcengine from "@pulumi/volcengine";
36
36
  *
37
37
  * const default = volcengine.tls.Indexes({
38
- * ids: ["65d67d34-c5b4-4ec8-b3a9-175d3366****"],
38
+ * ids: ["7ce12237-6670-44a7-9d79-2e36961586e6"],
39
39
  * });
40
40
  * ```
41
41
  */
@@ -0,0 +1,211 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides a resource to manage transit router bandwidth package
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.transit_router.BandwidthPackage("foo", {
13
+ * bandwidth: 2,
14
+ * description: "acc-test",
15
+ * period: 1,
16
+ * renewType: "Manual",
17
+ * transitRouterBandwidthPackageName: "acc-tf-test",
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * TransitRouterBandwidthPackage can be imported using the Id, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import volcengine:transit_router/bandwidthPackage:BandwidthPackage default tbp-cd-2felfww0i6pkw59gp68bq****
27
+ * ```
28
+ */
29
+ export declare class BandwidthPackage extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing BandwidthPackage resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BandwidthPackageState, opts?: pulumi.CustomResourceOptions): BandwidthPackage;
40
+ /**
41
+ * Returns true if the given object is an instance of BandwidthPackage. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is BandwidthPackage;
45
+ /**
46
+ * The detailed information on cross regional connections associated with bandwidth packets.
47
+ */
48
+ readonly allocations: pulumi.Output<outputs.transit_router.BandwidthPackageAllocation[]>;
49
+ /**
50
+ * The bandwidth peak of the transit router bandwidth package. Unit: Mbps. Valid values: 2-10000. Default is 2 Mbps.
51
+ */
52
+ readonly bandwidth: pulumi.Output<number | undefined>;
53
+ /**
54
+ * The business status of the transit router bandwidth package.
55
+ */
56
+ readonly businessStatus: pulumi.Output<string>;
57
+ /**
58
+ * The create time of the transit router bandwidth package.
59
+ */
60
+ readonly creationTime: pulumi.Output<string>;
61
+ /**
62
+ * The delete time of the transit router bandwidth package.
63
+ */
64
+ readonly deleteTime: pulumi.Output<string>;
65
+ /**
66
+ * The description of the transit router bandwidth package.
67
+ */
68
+ readonly description: pulumi.Output<string>;
69
+ /**
70
+ * The expired time of the transit router bandwidth package.
71
+ */
72
+ readonly expiredTime: pulumi.Output<string>;
73
+ /**
74
+ * The period of the transit router bandwidth package, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.The modification of this field only takes effect when the value of the `renewType` is `Manual`.
75
+ */
76
+ readonly period: pulumi.Output<number | undefined>;
77
+ /**
78
+ * The remaining renewal times of of the transit router bandwidth package. Valid values: -1 or 1~100. Default value is -1, means unlimited renewal.This field is only effective when the value of the `renewType` is `Auto`.
79
+ */
80
+ readonly remainRenewTimes: pulumi.Output<number | undefined>;
81
+ /**
82
+ * The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
83
+ */
84
+ readonly remainingBandwidth: pulumi.Output<number>;
85
+ /**
86
+ * The auto renewal period of the transit router bandwidth package. Valid values: 1,2,3,6,12. Default value is 1. Unit: Month.This field is only effective when the value of the `renewType` is `Auto`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
87
+ */
88
+ readonly renewPeriod: pulumi.Output<number | undefined>;
89
+ /**
90
+ * The renewal type of the transit router bandwidth package. Valid values: `Manual`, `Auto`, `NoRenew`. Default is `Manual`.This field is only effective when modifying the bandwidth package.
91
+ */
92
+ readonly renewType: pulumi.Output<string | undefined>;
93
+ /**
94
+ * The status of the transit router bandwidth package.
95
+ */
96
+ readonly status: pulumi.Output<string>;
97
+ /**
98
+ * The name of the transit router bandwidth package.
99
+ */
100
+ readonly transitRouterBandwidthPackageName: pulumi.Output<string>;
101
+ /**
102
+ * The update time of the transit router bandwidth package.
103
+ */
104
+ readonly updateTime: pulumi.Output<string>;
105
+ /**
106
+ * Create a BandwidthPackage resource with the given unique name, arguments, and options.
107
+ *
108
+ * @param name The _unique_ name of the resource.
109
+ * @param args The arguments to use to populate this resource's properties.
110
+ * @param opts A bag of options that control this resource's behavior.
111
+ */
112
+ constructor(name: string, args?: BandwidthPackageArgs, opts?: pulumi.CustomResourceOptions);
113
+ }
114
+ /**
115
+ * Input properties used for looking up and filtering BandwidthPackage resources.
116
+ */
117
+ export interface BandwidthPackageState {
118
+ /**
119
+ * The detailed information on cross regional connections associated with bandwidth packets.
120
+ */
121
+ allocations?: pulumi.Input<pulumi.Input<inputs.transit_router.BandwidthPackageAllocation>[]>;
122
+ /**
123
+ * The bandwidth peak of the transit router bandwidth package. Unit: Mbps. Valid values: 2-10000. Default is 2 Mbps.
124
+ */
125
+ bandwidth?: pulumi.Input<number>;
126
+ /**
127
+ * The business status of the transit router bandwidth package.
128
+ */
129
+ businessStatus?: pulumi.Input<string>;
130
+ /**
131
+ * The create time of the transit router bandwidth package.
132
+ */
133
+ creationTime?: pulumi.Input<string>;
134
+ /**
135
+ * The delete time of the transit router bandwidth package.
136
+ */
137
+ deleteTime?: pulumi.Input<string>;
138
+ /**
139
+ * The description of the transit router bandwidth package.
140
+ */
141
+ description?: pulumi.Input<string>;
142
+ /**
143
+ * The expired time of the transit router bandwidth package.
144
+ */
145
+ expiredTime?: pulumi.Input<string>;
146
+ /**
147
+ * The period of the transit router bandwidth package, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.The modification of this field only takes effect when the value of the `renewType` is `Manual`.
148
+ */
149
+ period?: pulumi.Input<number>;
150
+ /**
151
+ * The remaining renewal times of of the transit router bandwidth package. Valid values: -1 or 1~100. Default value is -1, means unlimited renewal.This field is only effective when the value of the `renewType` is `Auto`.
152
+ */
153
+ remainRenewTimes?: pulumi.Input<number>;
154
+ /**
155
+ * The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
156
+ */
157
+ remainingBandwidth?: pulumi.Input<number>;
158
+ /**
159
+ * The auto renewal period of the transit router bandwidth package. Valid values: 1,2,3,6,12. Default value is 1. Unit: Month.This field is only effective when the value of the `renewType` is `Auto`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
160
+ */
161
+ renewPeriod?: pulumi.Input<number>;
162
+ /**
163
+ * The renewal type of the transit router bandwidth package. Valid values: `Manual`, `Auto`, `NoRenew`. Default is `Manual`.This field is only effective when modifying the bandwidth package.
164
+ */
165
+ renewType?: pulumi.Input<string>;
166
+ /**
167
+ * The status of the transit router bandwidth package.
168
+ */
169
+ status?: pulumi.Input<string>;
170
+ /**
171
+ * The name of the transit router bandwidth package.
172
+ */
173
+ transitRouterBandwidthPackageName?: pulumi.Input<string>;
174
+ /**
175
+ * The update time of the transit router bandwidth package.
176
+ */
177
+ updateTime?: pulumi.Input<string>;
178
+ }
179
+ /**
180
+ * The set of arguments for constructing a BandwidthPackage resource.
181
+ */
182
+ export interface BandwidthPackageArgs {
183
+ /**
184
+ * The bandwidth peak of the transit router bandwidth package. Unit: Mbps. Valid values: 2-10000. Default is 2 Mbps.
185
+ */
186
+ bandwidth?: pulumi.Input<number>;
187
+ /**
188
+ * The description of the transit router bandwidth package.
189
+ */
190
+ description?: pulumi.Input<string>;
191
+ /**
192
+ * The period of the transit router bandwidth package, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.The modification of this field only takes effect when the value of the `renewType` is `Manual`.
193
+ */
194
+ period?: pulumi.Input<number>;
195
+ /**
196
+ * The remaining renewal times of of the transit router bandwidth package. Valid values: -1 or 1~100. Default value is -1, means unlimited renewal.This field is only effective when the value of the `renewType` is `Auto`.
197
+ */
198
+ remainRenewTimes?: pulumi.Input<number>;
199
+ /**
200
+ * The auto renewal period of the transit router bandwidth package. Valid values: 1,2,3,6,12. Default value is 1. Unit: Month.This field is only effective when the value of the `renewType` is `Auto`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
201
+ */
202
+ renewPeriod?: pulumi.Input<number>;
203
+ /**
204
+ * The renewal type of the transit router bandwidth package. Valid values: `Manual`, `Auto`, `NoRenew`. Default is `Manual`.This field is only effective when modifying the bandwidth package.
205
+ */
206
+ renewType?: pulumi.Input<string>;
207
+ /**
208
+ * The name of the transit router bandwidth package.
209
+ */
210
+ transitRouterBandwidthPackageName?: pulumi.Input<string>;
211
+ }