@volcengine/pulumi 0.0.39 → 0.0.40

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 (252) hide show
  1. package/package.json +1 -1
  2. package/rds_postgresql/account.d.ts +20 -7
  3. package/rds_postgresql/account.js +6 -3
  4. package/rds_postgresql/account.js.map +1 -1
  5. package/rds_postgresql/allowlist.d.ts +76 -8
  6. package/rds_postgresql/allowlist.js +22 -7
  7. package/rds_postgresql/allowlist.js.map +1 -1
  8. package/rds_postgresql/allowlistVersionUpgrade.d.ts +59 -0
  9. package/rds_postgresql/allowlistVersionUpgrade.js +63 -0
  10. package/rds_postgresql/allowlistVersionUpgrade.js.map +1 -0
  11. package/rds_postgresql/allowlists.d.ts +73 -2
  12. package/rds_postgresql/allowlists.js +21 -2
  13. package/rds_postgresql/allowlists.js.map +1 -1
  14. package/rds_postgresql/backupDownload.d.ts +82 -0
  15. package/rds_postgresql/backupDownload.js +79 -0
  16. package/rds_postgresql/backupDownload.js.map +1 -0
  17. package/rds_postgresql/backupDownloads.d.ts +94 -0
  18. package/rds_postgresql/backupDownloads.js +52 -0
  19. package/rds_postgresql/backupDownloads.js.map +1 -0
  20. package/rds_postgresql/backupPolicies.d.ts +33 -0
  21. package/rds_postgresql/backupPolicies.js +23 -0
  22. package/rds_postgresql/backupPolicies.js.map +1 -0
  23. package/rds_postgresql/backupPolicy.d.ts +160 -0
  24. package/rds_postgresql/backupPolicy.js +94 -0
  25. package/rds_postgresql/backupPolicy.js.map +1 -0
  26. package/rds_postgresql/dataBackup.d.ts +163 -0
  27. package/rds_postgresql/dataBackup.js +109 -0
  28. package/rds_postgresql/dataBackup.js.map +1 -0
  29. package/rds_postgresql/dataBackups.d.ts +212 -0
  30. package/rds_postgresql/dataBackups.js +66 -0
  31. package/rds_postgresql/dataBackups.js.map +1 -0
  32. package/rds_postgresql/database.d.ts +43 -0
  33. package/rds_postgresql/database.js +13 -0
  34. package/rds_postgresql/database.js.map +1 -1
  35. package/rds_postgresql/databaseEndpoint.d.ts +280 -0
  36. package/rds_postgresql/databaseEndpoint.js +129 -0
  37. package/rds_postgresql/databaseEndpoint.js.map +1 -0
  38. package/rds_postgresql/databaseEndpoints.d.ts +88 -0
  39. package/rds_postgresql/databaseEndpoints.js +53 -0
  40. package/rds_postgresql/databaseEndpoints.js.map +1 -0
  41. package/rds_postgresql/endpointPublicAddress.d.ts +95 -0
  42. package/rds_postgresql/endpointPublicAddress.js +85 -0
  43. package/rds_postgresql/endpointPublicAddress.js.map +1 -0
  44. package/rds_postgresql/engineVersionParameters.d.ts +91 -0
  45. package/rds_postgresql/engineVersionParameters.js +52 -0
  46. package/rds_postgresql/engineVersionParameters.js.map +1 -0
  47. package/rds_postgresql/getAllowlists.d.ts +73 -2
  48. package/rds_postgresql/getAllowlists.js +21 -2
  49. package/rds_postgresql/getAllowlists.js.map +1 -1
  50. package/rds_postgresql/getBackupDownloads.d.ts +92 -0
  51. package/rds_postgresql/getBackupDownloads.js +49 -0
  52. package/rds_postgresql/getBackupDownloads.js.map +1 -0
  53. package/rds_postgresql/getBackupPolicies.d.ts +31 -0
  54. package/rds_postgresql/getBackupPolicies.js +20 -0
  55. package/rds_postgresql/getBackupPolicies.js.map +1 -0
  56. package/rds_postgresql/getDataBackups.d.ts +210 -0
  57. package/rds_postgresql/getDataBackups.js +63 -0
  58. package/rds_postgresql/getDataBackups.js.map +1 -0
  59. package/rds_postgresql/getDatabaseEndpoints.d.ts +86 -0
  60. package/rds_postgresql/getDatabaseEndpoints.js +50 -0
  61. package/rds_postgresql/getDatabaseEndpoints.js.map +1 -0
  62. package/rds_postgresql/getEngineVersionParameters.d.ts +89 -0
  63. package/rds_postgresql/getEngineVersionParameters.js +49 -0
  64. package/rds_postgresql/getEngineVersionParameters.js.map +1 -0
  65. package/rds_postgresql/getInstanceBackupDetacheds.d.ts +167 -0
  66. package/rds_postgresql/getInstanceBackupDetacheds.js +62 -0
  67. package/rds_postgresql/getInstanceBackupDetacheds.js.map +1 -0
  68. package/rds_postgresql/getInstanceBackupWalLogs.d.ts +111 -0
  69. package/rds_postgresql/getInstanceBackupWalLogs.js +55 -0
  70. package/rds_postgresql/getInstanceBackupWalLogs.js.map +1 -0
  71. package/rds_postgresql/getInstanceFailoverLogs.d.ts +108 -0
  72. package/rds_postgresql/getInstanceFailoverLogs.js +55 -0
  73. package/rds_postgresql/getInstanceFailoverLogs.js.map +1 -0
  74. package/rds_postgresql/getInstanceParameterLogs.d.ts +97 -0
  75. package/rds_postgresql/getInstanceParameterLogs.js +52 -0
  76. package/rds_postgresql/getInstanceParameterLogs.js.map +1 -0
  77. package/rds_postgresql/getInstanceParameters.d.ts +89 -0
  78. package/rds_postgresql/getInstanceParameters.js +49 -0
  79. package/rds_postgresql/getInstanceParameters.js.map +1 -0
  80. package/rds_postgresql/getInstancePriceDetails.d.ts +157 -0
  81. package/rds_postgresql/getInstancePriceDetails.js +103 -0
  82. package/rds_postgresql/getInstancePriceDetails.js.map +1 -0
  83. package/rds_postgresql/getInstancePriceDifferences.d.ts +172 -0
  84. package/rds_postgresql/getInstancePriceDifferences.js +94 -0
  85. package/rds_postgresql/getInstancePriceDifferences.js.map +1 -0
  86. package/rds_postgresql/getInstanceRecoverableTimes.d.ts +75 -0
  87. package/rds_postgresql/getInstanceRecoverableTimes.js +46 -0
  88. package/rds_postgresql/getInstanceRecoverableTimes.js.map +1 -0
  89. package/rds_postgresql/getInstanceSpecs.d.ts +120 -0
  90. package/rds_postgresql/getInstanceSpecs.js +56 -0
  91. package/rds_postgresql/getInstanceSpecs.js.map +1 -0
  92. package/rds_postgresql/getInstanceSsls.d.ts +101 -0
  93. package/rds_postgresql/getInstanceSsls.js +56 -0
  94. package/rds_postgresql/getInstanceSsls.js.map +1 -0
  95. package/rds_postgresql/getInstanceTasks.d.ts +160 -0
  96. package/rds_postgresql/getInstanceTasks.js +69 -0
  97. package/rds_postgresql/getInstanceTasks.js.map +1 -0
  98. package/rds_postgresql/getInstances.d.ts +24 -0
  99. package/rds_postgresql/getInstances.js +2 -0
  100. package/rds_postgresql/getInstances.js.map +1 -1
  101. package/rds_postgresql/getParameterTemplateApplyDiffs.d.ts +86 -0
  102. package/rds_postgresql/getParameterTemplateApplyDiffs.js +49 -0
  103. package/rds_postgresql/getParameterTemplateApplyDiffs.js.map +1 -0
  104. package/rds_postgresql/getParameterTemplates.d.ts +118 -0
  105. package/rds_postgresql/getParameterTemplates.js +54 -0
  106. package/rds_postgresql/getParameterTemplates.js.map +1 -0
  107. package/rds_postgresql/getPlannedEvents.d.ts +178 -0
  108. package/rds_postgresql/getPlannedEvents.js +71 -0
  109. package/rds_postgresql/getPlannedEvents.js.map +1 -0
  110. package/rds_postgresql/getRegions.d.ts +62 -0
  111. package/rds_postgresql/getRegions.js +42 -0
  112. package/rds_postgresql/getRegions.js.map +1 -0
  113. package/rds_postgresql/getReplicationSlots.d.ts +153 -0
  114. package/rds_postgresql/getReplicationSlots.js +59 -0
  115. package/rds_postgresql/getReplicationSlots.js.map +1 -0
  116. package/rds_postgresql/getZones.d.ts +71 -0
  117. package/rds_postgresql/getZones.js +43 -0
  118. package/rds_postgresql/getZones.js.map +1 -0
  119. package/rds_postgresql/index.d.ts +165 -0
  120. package/rds_postgresql/index.js +190 -1
  121. package/rds_postgresql/index.js.map +1 -1
  122. package/rds_postgresql/instance.d.ts +178 -11
  123. package/rds_postgresql/instance.js +50 -5
  124. package/rds_postgresql/instance.js.map +1 -1
  125. package/rds_postgresql/instanceBackupDetacheds.d.ts +169 -0
  126. package/rds_postgresql/instanceBackupDetacheds.js +65 -0
  127. package/rds_postgresql/instanceBackupDetacheds.js.map +1 -0
  128. package/rds_postgresql/instanceBackupWalLogs.d.ts +113 -0
  129. package/rds_postgresql/instanceBackupWalLogs.js +58 -0
  130. package/rds_postgresql/instanceBackupWalLogs.js.map +1 -0
  131. package/rds_postgresql/instanceFailoverLogs.d.ts +110 -0
  132. package/rds_postgresql/instanceFailoverLogs.js +58 -0
  133. package/rds_postgresql/instanceFailoverLogs.js.map +1 -0
  134. package/rds_postgresql/instanceParameterLogs.d.ts +99 -0
  135. package/rds_postgresql/instanceParameterLogs.js +55 -0
  136. package/rds_postgresql/instanceParameterLogs.js.map +1 -0
  137. package/rds_postgresql/instanceParameters.d.ts +91 -0
  138. package/rds_postgresql/instanceParameters.js +52 -0
  139. package/rds_postgresql/instanceParameters.js.map +1 -0
  140. package/rds_postgresql/instancePriceDetails.d.ts +159 -0
  141. package/rds_postgresql/instancePriceDetails.js +106 -0
  142. package/rds_postgresql/instancePriceDetails.js.map +1 -0
  143. package/rds_postgresql/instancePriceDifferences.d.ts +174 -0
  144. package/rds_postgresql/instancePriceDifferences.js +97 -0
  145. package/rds_postgresql/instancePriceDifferences.js.map +1 -0
  146. package/rds_postgresql/instanceRecoverableTimes.d.ts +77 -0
  147. package/rds_postgresql/instanceRecoverableTimes.js +49 -0
  148. package/rds_postgresql/instanceRecoverableTimes.js.map +1 -0
  149. package/rds_postgresql/instanceSpecs.d.ts +122 -0
  150. package/rds_postgresql/instanceSpecs.js +59 -0
  151. package/rds_postgresql/instanceSpecs.js.map +1 -0
  152. package/rds_postgresql/instanceSsl.d.ts +107 -0
  153. package/rds_postgresql/instanceSsl.js +81 -0
  154. package/rds_postgresql/instanceSsl.js.map +1 -0
  155. package/rds_postgresql/instanceSsls.d.ts +103 -0
  156. package/rds_postgresql/instanceSsls.js +59 -0
  157. package/rds_postgresql/instanceSsls.js.map +1 -0
  158. package/rds_postgresql/instanceTasks.d.ts +162 -0
  159. package/rds_postgresql/instanceTasks.js +72 -0
  160. package/rds_postgresql/instanceTasks.js.map +1 -0
  161. package/rds_postgresql/instances.d.ts +24 -0
  162. package/rds_postgresql/instances.js +2 -0
  163. package/rds_postgresql/instances.js.map +1 -1
  164. package/rds_postgresql/parameterTemplate.d.ts +178 -0
  165. package/rds_postgresql/parameterTemplate.js +117 -0
  166. package/rds_postgresql/parameterTemplate.js.map +1 -0
  167. package/rds_postgresql/parameterTemplateApplyDiffs.d.ts +88 -0
  168. package/rds_postgresql/parameterTemplateApplyDiffs.js +52 -0
  169. package/rds_postgresql/parameterTemplateApplyDiffs.js.map +1 -0
  170. package/rds_postgresql/parameterTemplates.d.ts +120 -0
  171. package/rds_postgresql/parameterTemplates.js +57 -0
  172. package/rds_postgresql/parameterTemplates.js.map +1 -0
  173. package/rds_postgresql/plannedEvents.d.ts +180 -0
  174. package/rds_postgresql/plannedEvents.js +74 -0
  175. package/rds_postgresql/plannedEvents.js.map +1 -0
  176. package/rds_postgresql/regions.d.ts +64 -0
  177. package/rds_postgresql/regions.js +45 -0
  178. package/rds_postgresql/regions.js.map +1 -0
  179. package/rds_postgresql/replicationSlot.d.ts +82 -0
  180. package/rds_postgresql/replicationSlot.js +79 -0
  181. package/rds_postgresql/replicationSlot.js.map +1 -0
  182. package/rds_postgresql/replicationSlots.d.ts +155 -0
  183. package/rds_postgresql/replicationSlots.js +62 -0
  184. package/rds_postgresql/replicationSlots.js.map +1 -0
  185. package/rds_postgresql/restoreBackup.d.ts +126 -0
  186. package/rds_postgresql/restoreBackup.js +100 -0
  187. package/rds_postgresql/restoreBackup.js.map +1 -0
  188. package/rds_postgresql/schema.d.ts +3 -3
  189. package/rds_postgresql/state.d.ts +106 -0
  190. package/rds_postgresql/state.js +83 -0
  191. package/rds_postgresql/state.js.map +1 -0
  192. package/rds_postgresql/zones.d.ts +73 -0
  193. package/rds_postgresql/zones.js +46 -0
  194. package/rds_postgresql/zones.js.map +1 -0
  195. package/tos/bucket.d.ts +16 -4
  196. package/tos/bucket.js +3 -1
  197. package/tos/bucket.js.map +1 -1
  198. package/tos/bucketAccessMonitor.d.ts +67 -0
  199. package/tos/bucketAccessMonitor.js +71 -0
  200. package/tos/bucketAccessMonitor.js.map +1 -0
  201. package/tos/bucketCustomdomain.d.ts +95 -0
  202. package/tos/bucketCustomdomain.js +90 -0
  203. package/tos/bucketCustomdomain.js.map +1 -0
  204. package/tos/bucketEncryption.d.ts +1 -1
  205. package/tos/bucketEncryption.js +1 -1
  206. package/tos/bucketLifecycle.d.ts +158 -0
  207. package/tos/bucketLifecycle.js +153 -0
  208. package/tos/bucketLifecycle.js.map +1 -0
  209. package/tos/bucketLogging.d.ts +88 -0
  210. package/tos/bucketLogging.js +80 -0
  211. package/tos/bucketLogging.js.map +1 -0
  212. package/tos/bucketMirrorBack.d.ts +72 -0
  213. package/tos/bucketMirrorBack.js +67 -0
  214. package/tos/bucketMirrorBack.js.map +1 -0
  215. package/tos/bucketObjectLockConfiguration.d.ts +89 -0
  216. package/tos/bucketObjectLockConfiguration.js +81 -0
  217. package/tos/bucketObjectLockConfiguration.js.map +1 -0
  218. package/tos/bucketRename.d.ts +67 -0
  219. package/tos/bucketRename.js +71 -0
  220. package/tos/bucketRename.js.map +1 -0
  221. package/tos/bucketReplication.d.ts +130 -0
  222. package/tos/bucketReplication.js +118 -0
  223. package/tos/bucketReplication.js.map +1 -0
  224. package/tos/bucketRequestPayment.d.ts +67 -0
  225. package/tos/bucketRequestPayment.js +71 -0
  226. package/tos/bucketRequestPayment.js.map +1 -0
  227. package/tos/bucketTransferAcceleration.d.ts +67 -0
  228. package/tos/bucketTransferAcceleration.js +71 -0
  229. package/tos/bucketTransferAcceleration.js.map +1 -0
  230. package/tos/bucketWebsite.d.ts +138 -0
  231. package/tos/bucketWebsite.js +103 -0
  232. package/tos/bucketWebsite.js.map +1 -0
  233. package/tos/buckets.d.ts +24 -0
  234. package/tos/buckets.js +2 -0
  235. package/tos/buckets.js.map +1 -1
  236. package/tos/getBuckets.d.ts +24 -0
  237. package/tos/getBuckets.js +2 -0
  238. package/tos/getBuckets.js.map +1 -1
  239. package/tos/index.d.ts +33 -0
  240. package/tos/index.js +56 -1
  241. package/tos/index.js.map +1 -1
  242. package/types/input.d.ts +1062 -84
  243. package/types/output.d.ts +6590 -3778
  244. package/vpc/index.d.ts +3 -0
  245. package/vpc/index.js +6 -1
  246. package/vpc/index.js.map +1 -1
  247. package/vpc/userCidrBlockAssociate.d.ts +91 -0
  248. package/vpc/userCidrBlockAssociate.js +88 -0
  249. package/vpc/userCidrBlockAssociate.js.map +1 -0
  250. package/vpc/vpc.d.ts +8 -0
  251. package/vpc/vpc.js +2 -0
  252. package/vpc/vpc.js.map +1 -1
package/types/input.d.ts CHANGED
@@ -4360,6 +4360,220 @@ export declare namespace rds_postgresql {
4360
4360
  */
4361
4361
  vpc?: pulumi.Input<string>;
4362
4362
  }
4363
+ interface AllowlistSecurityGroupBindInfo {
4364
+ /**
4365
+ * The binding mode of the security group. Valid values: IngressDirectionIp, AssociateEcsIp.
4366
+ */
4367
+ bindMode: pulumi.Input<string>;
4368
+ /**
4369
+ * IP addresses in the security group.
4370
+ */
4371
+ ipLists?: pulumi.Input<pulumi.Input<string>[]>;
4372
+ /**
4373
+ * The ID of the security group.
4374
+ */
4375
+ securityGroupId: pulumi.Input<string>;
4376
+ /**
4377
+ * The name of the security group.
4378
+ */
4379
+ securityGroupName?: pulumi.Input<string>;
4380
+ }
4381
+ interface DataBackupBackupMeta {
4382
+ /**
4383
+ * The name of the database.
4384
+ */
4385
+ dbName: pulumi.Input<string>;
4386
+ }
4387
+ interface DatabaseEndpointReadOnlyNodeWeight {
4388
+ /**
4389
+ * A read-only node requires passing in the NodeId. A primary node does not need to pass in the NodeId.
4390
+ */
4391
+ nodeId?: pulumi.Input<string>;
4392
+ /**
4393
+ * Node type. Primary or ReadOnly.
4394
+ */
4395
+ nodeType?: pulumi.Input<string>;
4396
+ /**
4397
+ * Custom read weight allocation. Increases by 100, with a maximum value of 40000. Weights cannot all be set to 0.
4398
+ */
4399
+ weight?: pulumi.Input<number>;
4400
+ }
4401
+ interface GetInstancePriceDetailsChargeInfo {
4402
+ /**
4403
+ * Whether to auto renew the subscription in a pre-paid scenario.
4404
+ */
4405
+ autoRenew?: boolean;
4406
+ /**
4407
+ * The charge type of the instance. Valid values: PostPaid, PrePaid.
4408
+ */
4409
+ chargeType: string;
4410
+ /**
4411
+ * Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
4412
+ */
4413
+ number?: number;
4414
+ /**
4415
+ * Subscription duration in a pre-paid scenario.Default value:1.
4416
+ */
4417
+ period?: number;
4418
+ /**
4419
+ * Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
4420
+ */
4421
+ periodUnit?: string;
4422
+ }
4423
+ interface GetInstancePriceDetailsChargeInfoArgs {
4424
+ /**
4425
+ * Whether to auto renew the subscription in a pre-paid scenario.
4426
+ */
4427
+ autoRenew?: pulumi.Input<boolean>;
4428
+ /**
4429
+ * The charge type of the instance. Valid values: PostPaid, PrePaid.
4430
+ */
4431
+ chargeType: pulumi.Input<string>;
4432
+ /**
4433
+ * Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
4434
+ */
4435
+ number?: pulumi.Input<number>;
4436
+ /**
4437
+ * Subscription duration in a pre-paid scenario.Default value:1.
4438
+ */
4439
+ period?: pulumi.Input<number>;
4440
+ /**
4441
+ * Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
4442
+ */
4443
+ periodUnit?: pulumi.Input<string>;
4444
+ }
4445
+ interface GetInstancePriceDetailsNodeInfo {
4446
+ /**
4447
+ * The id of the node.
4448
+ */
4449
+ nodeId?: string;
4450
+ /**
4451
+ * The operate type of the node. Valid values: Create.
4452
+ */
4453
+ nodeOperateType?: string;
4454
+ /**
4455
+ * The specification of the node.
4456
+ */
4457
+ nodeSpec: string;
4458
+ /**
4459
+ * The type of the node. Valid values: Primary, Secondary, ReadOnly.
4460
+ */
4461
+ nodeType: string;
4462
+ /**
4463
+ * The AZ of the node.
4464
+ */
4465
+ zoneId: string;
4466
+ }
4467
+ interface GetInstancePriceDetailsNodeInfoArgs {
4468
+ /**
4469
+ * The id of the node.
4470
+ */
4471
+ nodeId?: pulumi.Input<string>;
4472
+ /**
4473
+ * The operate type of the node. Valid values: Create.
4474
+ */
4475
+ nodeOperateType?: pulumi.Input<string>;
4476
+ /**
4477
+ * The specification of the node.
4478
+ */
4479
+ nodeSpec: pulumi.Input<string>;
4480
+ /**
4481
+ * The type of the node. Valid values: Primary, Secondary, ReadOnly.
4482
+ */
4483
+ nodeType: pulumi.Input<string>;
4484
+ /**
4485
+ * The AZ of the node.
4486
+ */
4487
+ zoneId: pulumi.Input<string>;
4488
+ }
4489
+ interface GetInstancePriceDifferencesChargeInfo {
4490
+ /**
4491
+ * Whether to auto renew the subscription in a pre-paid scenario.
4492
+ */
4493
+ autoRenew?: boolean;
4494
+ /**
4495
+ * The charge type of the instance. Valid values: PostPaid, PrePaid.
4496
+ */
4497
+ chargeType: string;
4498
+ /**
4499
+ * Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
4500
+ */
4501
+ number?: number;
4502
+ /**
4503
+ * Subscription duration in a pre-paid scenario.Default value:1.
4504
+ */
4505
+ period?: number;
4506
+ /**
4507
+ * Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
4508
+ */
4509
+ periodUnit?: string;
4510
+ }
4511
+ interface GetInstancePriceDifferencesChargeInfoArgs {
4512
+ /**
4513
+ * Whether to auto renew the subscription in a pre-paid scenario.
4514
+ */
4515
+ autoRenew?: pulumi.Input<boolean>;
4516
+ /**
4517
+ * The charge type of the instance. Valid values: PostPaid, PrePaid.
4518
+ */
4519
+ chargeType: pulumi.Input<string>;
4520
+ /**
4521
+ * Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
4522
+ */
4523
+ number?: pulumi.Input<number>;
4524
+ /**
4525
+ * Subscription duration in a pre-paid scenario.Default value:1.
4526
+ */
4527
+ period?: pulumi.Input<number>;
4528
+ /**
4529
+ * Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
4530
+ */
4531
+ periodUnit?: pulumi.Input<string>;
4532
+ }
4533
+ interface GetInstancePriceDifferencesNodeInfo {
4534
+ /**
4535
+ * The id of the node.When the modifyType is set to Temporary, this parameter is required.
4536
+ */
4537
+ nodeId?: string;
4538
+ /**
4539
+ * The operate type of the node. Valid values: Create, Modify.
4540
+ */
4541
+ nodeOperateType?: string;
4542
+ /**
4543
+ * The specification of the node.
4544
+ */
4545
+ nodeSpec: string;
4546
+ /**
4547
+ * The type of the node. Valid values: Primary, Secondary, ReadOnly.
4548
+ */
4549
+ nodeType: string;
4550
+ /**
4551
+ * The AZ of the node.
4552
+ */
4553
+ zoneId: string;
4554
+ }
4555
+ interface GetInstancePriceDifferencesNodeInfoArgs {
4556
+ /**
4557
+ * The id of the node.When the modifyType is set to Temporary, this parameter is required.
4558
+ */
4559
+ nodeId?: pulumi.Input<string>;
4560
+ /**
4561
+ * The operate type of the node. Valid values: Create, Modify.
4562
+ */
4563
+ nodeOperateType?: pulumi.Input<string>;
4564
+ /**
4565
+ * The specification of the node.
4566
+ */
4567
+ nodeSpec: pulumi.Input<string>;
4568
+ /**
4569
+ * The type of the node. Valid values: Primary, Secondary, ReadOnly.
4570
+ */
4571
+ nodeType: pulumi.Input<string>;
4572
+ /**
4573
+ * The AZ of the node.
4574
+ */
4575
+ zoneId: pulumi.Input<string>;
4576
+ }
4363
4577
  interface GetInstancesTag {
4364
4578
  /**
4365
4579
  * The Key of Tags.
@@ -4399,7 +4613,7 @@ export declare namespace rds_postgresql {
4399
4613
  * Pay status. Value:
4400
4614
  * normal - normal
4401
4615
  * overdue - overdue
4402
- * .
4616
+ * unpaid - unpaid.
4403
4617
  */
4404
4618
  chargeStatus?: pulumi.Input<string>;
4405
4619
  /**
@@ -4408,6 +4622,10 @@ export declare namespace rds_postgresql {
4408
4622
  * PrePaid - Yearly and monthly (default).
4409
4623
  */
4410
4624
  chargeType?: pulumi.Input<string>;
4625
+ /**
4626
+ * The number of the RDS PostgreSQL instance.
4627
+ */
4628
+ number?: pulumi.Input<number>;
4411
4629
  /**
4412
4630
  * Estimated release time when arrears are closed (pay-as-you-go & monthly subscription).
4413
4631
  */
@@ -4441,6 +4659,10 @@ export declare namespace rds_postgresql {
4441
4659
  */
4442
4660
  autoRenew?: pulumi.Input<boolean>;
4443
4661
  chargeType: pulumi.Input<string>;
4662
+ /**
4663
+ * Purchase number of the RDS PostgreSQL instance. Range: [1, 20]. Default: 1.
4664
+ */
4665
+ number?: pulumi.Input<number>;
4444
4666
  /**
4445
4667
  * Purchase duration in prepaid scenarios. Default: 1.
4446
4668
  */
@@ -4490,6 +4712,16 @@ export declare namespace rds_postgresql {
4490
4712
  * AllNode: All node terminals. (Only the operation and maintenance side).
4491
4713
  */
4492
4714
  endpointType?: pulumi.Input<string>;
4715
+ /**
4716
+ * The distribution type of the read-only nodes, value:
4717
+ * Default: Default distribution.
4718
+ * Custom: Custom distribution.
4719
+ */
4720
+ readOnlyNodeDistributionType?: pulumi.Input<string>;
4721
+ /**
4722
+ * Maximum latency threshold of read-only node. If the latency of a read-only node exceeds this value, reading traffic won't be routed to this node. Unit: seconds.Values: 0~3600.Default value: 30.
4723
+ */
4724
+ readOnlyNodeMaxDelayTime?: pulumi.Input<number>;
4493
4725
  /**
4494
4726
  * The list of nodes configured by the connection terminal and the corresponding read-only weights.
4495
4727
  */
@@ -4500,24 +4732,48 @@ export declare namespace rds_postgresql {
4500
4732
  * ReadOnly: read only (default).
4501
4733
  */
4502
4734
  readWriteMode?: pulumi.Input<string>;
4735
+ /**
4736
+ * After the terminal enables read-write separation, the number of proxy connections set for the terminal. The lower limit of the number of proxy connections is 20. The upper limit of the number of proxy connections depends on the specifications of the instance master node.
4737
+ */
4738
+ readWriteProxyConnection?: pulumi.Input<number>;
4739
+ /**
4740
+ * Whether the endpoint sends write requests to the write node (currently only the master node is a write node). Values: true: Yes(Default). false: No.
4741
+ */
4742
+ writeNodeHaltWriting?: pulumi.Input<boolean>;
4503
4743
  }
4504
4744
  interface InstanceEndpointAddress {
4505
4745
  /**
4506
- * DNS Visibility.
4746
+ * Address that can be accessed across regions.
4747
+ */
4748
+ crossRegionDomain?: pulumi.Input<string>;
4749
+ /**
4750
+ * Whether to enable public network resolution. Values: false: Default value. PrivateZone of Volcano Engine. true: Private and public network resolution of Volcano Engine.
4507
4751
  */
4508
4752
  dnsVisibility?: pulumi.Input<boolean>;
4509
4753
  /**
4510
4754
  * Connect domain name.
4511
4755
  */
4512
4756
  domain?: pulumi.Input<string>;
4757
+ /**
4758
+ * The type of private network address. Values: LocalDomain: Local domain name. CrossRegionDomain: Domains accessible across regions.
4759
+ */
4760
+ domainVisibilitySetting?: pulumi.Input<string>;
4513
4761
  /**
4514
4762
  * The ID of the EIP, only valid for Public addresses.
4515
4763
  */
4516
4764
  eipId?: pulumi.Input<string>;
4765
+ /**
4766
+ * Address IP protocol, IPv4 or IPv6.
4767
+ */
4768
+ internetProtocol?: pulumi.Input<string>;
4517
4769
  /**
4518
4770
  * The IP Address.
4519
4771
  */
4520
4772
  ipAddress?: pulumi.Input<string>;
4773
+ /**
4774
+ * The IPv6 Address.
4775
+ */
4776
+ ipv6Address?: pulumi.Input<string>;
4521
4777
  /**
4522
4778
  * Network address type, temporarily Private, Public, PublicService.
4523
4779
  */
@@ -4547,6 +4803,16 @@ export declare namespace rds_postgresql {
4547
4803
  */
4548
4804
  weight?: pulumi.Input<number>;
4549
4805
  }
4806
+ interface InstanceEstimationResult {
4807
+ /**
4808
+ * After changing according to the current configuration, the estimated impact on the read and write connections of the instance.
4809
+ */
4810
+ effects?: pulumi.Input<pulumi.Input<string>[]>;
4811
+ /**
4812
+ * Estimated impact on the instance after the current configuration changes.
4813
+ */
4814
+ plans?: pulumi.Input<pulumi.Input<string>[]>;
4815
+ }
4550
4816
  interface InstanceNode {
4551
4817
  /**
4552
4818
  * Node creation local time.
@@ -4605,154 +4871,364 @@ export declare namespace rds_postgresql {
4605
4871
  */
4606
4872
  value: pulumi.Input<string>;
4607
4873
  }
4608
- interface InstanceTag {
4609
- /**
4610
- * The Key of Tags.
4611
- */
4612
- key: pulumi.Input<string>;
4874
+ interface InstancePriceDetailsChargeInfo {
4613
4875
  /**
4614
- * The Value of Tags.
4876
+ * Whether to auto renew the subscription in a pre-paid scenario.
4615
4877
  */
4616
- value: pulumi.Input<string>;
4617
- }
4618
- interface InstancesTag {
4878
+ autoRenew?: boolean;
4619
4879
  /**
4620
- * The Key of Tags.
4880
+ * The charge type of the instance. Valid values: PostPaid, PrePaid.
4621
4881
  */
4622
- key: string;
4882
+ chargeType: string;
4623
4883
  /**
4624
- * The Value of Tags.
4884
+ * Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
4625
4885
  */
4626
- value: string;
4627
- }
4628
- interface InstancesTagArgs {
4886
+ number?: number;
4629
4887
  /**
4630
- * The Key of Tags.
4888
+ * Subscription duration in a pre-paid scenario.Default value:1.
4631
4889
  */
4632
- key: pulumi.Input<string>;
4890
+ period?: number;
4633
4891
  /**
4634
- * The Value of Tags.
4892
+ * Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
4635
4893
  */
4636
- value: pulumi.Input<string>;
4894
+ periodUnit?: string;
4637
4895
  }
4638
- }
4639
- export declare namespace rds_v2 {
4640
- interface RdsInstanceV2ChargeInfo {
4896
+ interface InstancePriceDetailsChargeInfoArgs {
4641
4897
  /**
4642
- * Whether to automatically renew in prepaid scenarios.
4898
+ * Whether to auto renew the subscription in a pre-paid scenario.
4643
4899
  */
4644
4900
  autoRenew?: pulumi.Input<boolean>;
4645
4901
  /**
4646
- * Payment type. Value:
4647
- * PostPaid - Pay-As-You-Go
4648
- * PrePaid - Yearly and monthly (default).
4902
+ * The charge type of the instance. Valid values: PostPaid, PrePaid.
4649
4903
  */
4650
4904
  chargeType: pulumi.Input<string>;
4651
4905
  /**
4652
- * Purchase duration in prepaid scenarios. Default: 1.
4906
+ * Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
4907
+ */
4908
+ number?: pulumi.Input<number>;
4909
+ /**
4910
+ * Subscription duration in a pre-paid scenario.Default value:1.
4653
4911
  */
4654
4912
  period?: pulumi.Input<number>;
4655
4913
  /**
4656
- * The purchase cycle in the prepaid scenario.
4657
- * Month - monthly subscription (default)
4658
- * Year - Package year.
4914
+ * Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
4659
4915
  */
4660
4916
  periodUnit?: pulumi.Input<string>;
4661
4917
  }
4662
- interface RdsInstanceV2ConnectionInfo {
4918
+ interface InstancePriceDetailsNodeInfo {
4663
4919
  /**
4664
- * Address list.
4920
+ * The id of the node.
4665
4921
  */
4666
- addresses?: pulumi.Input<pulumi.Input<inputs.rds_v2.RdsInstanceV2ConnectionInfoAddress>[]>;
4922
+ nodeId?: string;
4667
4923
  /**
4668
- * When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
4924
+ * The operate type of the node. Valid values: Create.
4669
4925
  */
4670
- autoAddNewNodes?: pulumi.Input<string>;
4926
+ nodeOperateType?: string;
4671
4927
  /**
4672
- * Address description.
4928
+ * The specification of the node.
4673
4929
  */
4674
- description?: pulumi.Input<string>;
4930
+ nodeSpec: string;
4675
4931
  /**
4676
- * Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
4932
+ * The type of the node. Valid values: Primary, Secondary, ReadOnly.
4677
4933
  */
4678
- enableReadOnly?: pulumi.Input<string>;
4934
+ nodeType: string;
4679
4935
  /**
4680
- * Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
4936
+ * The AZ of the node.
4681
4937
  */
4682
- enableReadWriteSplitting?: pulumi.Input<string>;
4938
+ zoneId: string;
4939
+ }
4940
+ interface InstancePriceDetailsNodeInfoArgs {
4683
4941
  /**
4684
- * Instance connection terminal ID.
4942
+ * The id of the node.
4685
4943
  */
4686
- endpointId?: pulumi.Input<string>;
4944
+ nodeId?: pulumi.Input<string>;
4687
4945
  /**
4688
- * The instance connection terminal name.
4946
+ * The operate type of the node. Valid values: Create.
4689
4947
  */
4690
- endpointName?: pulumi.Input<string>;
4948
+ nodeOperateType?: pulumi.Input<string>;
4691
4949
  /**
4692
- * Terminal type:
4693
- * Cluster: The default terminal. (created by default)
4694
- * Primary: Primary node terminal.
4695
- * Custom: Custom terminal.
4696
- * Direct: Direct connection to the terminal. (Only the operation and maintenance side)
4697
- * AllNode: All node terminals. (Only the operation and maintenance side).
4950
+ * The specification of the node.
4698
4951
  */
4699
- endpointType?: pulumi.Input<string>;
4952
+ nodeSpec: pulumi.Input<string>;
4700
4953
  /**
4701
- * The list of nodes configured by the connection terminal and the corresponding read-only weights.
4954
+ * The type of the node. Valid values: Primary, Secondary, ReadOnly.
4702
4955
  */
4703
- readOnlyNodeWeights?: pulumi.Input<pulumi.Input<inputs.rds_v2.RdsInstanceV2ConnectionInfoReadOnlyNodeWeight>[]>;
4956
+ nodeType: pulumi.Input<string>;
4704
4957
  /**
4705
- * Read and write mode:
4706
- * ReadWrite: read and write
4707
- * ReadOnly: read only (default).
4958
+ * The AZ of the node.
4708
4959
  */
4709
- readWriteMode?: pulumi.Input<string>;
4960
+ zoneId: pulumi.Input<string>;
4710
4961
  }
4711
- interface RdsInstanceV2ConnectionInfoAddress {
4962
+ interface InstancePriceDifferencesChargeInfo {
4712
4963
  /**
4713
- * Connect domain name.
4964
+ * Whether to auto renew the subscription in a pre-paid scenario.
4714
4965
  */
4715
- domain?: pulumi.Input<string>;
4966
+ autoRenew?: boolean;
4716
4967
  /**
4717
- * The ID of the EIP, only valid for Public addresses.
4968
+ * The charge type of the instance. Valid values: PostPaid, PrePaid.
4718
4969
  */
4719
- eipId?: pulumi.Input<string>;
4970
+ chargeType: string;
4720
4971
  /**
4721
- * The IP Address.
4972
+ * Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
4722
4973
  */
4723
- ipAddress?: pulumi.Input<string>;
4974
+ number?: number;
4724
4975
  /**
4725
- * Network address type, temporarily Private, Public, PublicService.
4976
+ * Subscription duration in a pre-paid scenario.Default value:1.
4726
4977
  */
4727
- networkType?: pulumi.Input<string>;
4978
+ period?: number;
4728
4979
  /**
4729
- * The Port.
4980
+ * Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
4730
4981
  */
4731
- port?: pulumi.Input<string>;
4982
+ periodUnit?: string;
4983
+ }
4984
+ interface InstancePriceDifferencesChargeInfoArgs {
4732
4985
  /**
4733
- * Subnet ID.
4986
+ * Whether to auto renew the subscription in a pre-paid scenario.
4734
4987
  */
4735
- subnetId?: pulumi.Input<string>;
4736
- }
4737
- interface RdsInstanceV2ConnectionInfoReadOnlyNodeWeight {
4988
+ autoRenew?: pulumi.Input<boolean>;
4738
4989
  /**
4739
- * The ID of the node.
4990
+ * The charge type of the instance. Valid values: PostPaid, PrePaid.
4740
4991
  */
4741
- nodeId?: pulumi.Input<string>;
4992
+ chargeType: pulumi.Input<string>;
4742
4993
  /**
4743
- * The type of the node.
4994
+ * Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
4744
4995
  */
4745
- nodeType?: pulumi.Input<string>;
4996
+ number?: pulumi.Input<number>;
4746
4997
  /**
4747
- * The weight of the node.
4998
+ * Subscription duration in a pre-paid scenario.Default value:1.
4748
4999
  */
4749
- weight?: pulumi.Input<number>;
5000
+ period?: pulumi.Input<number>;
5001
+ /**
5002
+ * Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
5003
+ */
5004
+ periodUnit?: pulumi.Input<string>;
4750
5005
  }
4751
- interface RdsInstanceV2NodeInfo {
5006
+ interface InstancePriceDifferencesNodeInfo {
4752
5007
  /**
4753
- * The ID of the node.
5008
+ * The id of the node.When the modifyType is set to Temporary, this parameter is required.
4754
5009
  */
4755
- nodeId?: pulumi.Input<string>;
5010
+ nodeId?: string;
5011
+ /**
5012
+ * The operate type of the node. Valid values: Create, Modify.
5013
+ */
5014
+ nodeOperateType?: string;
5015
+ /**
5016
+ * The specification of the node.
5017
+ */
5018
+ nodeSpec: string;
5019
+ /**
5020
+ * The type of the node. Valid values: Primary, Secondary, ReadOnly.
5021
+ */
5022
+ nodeType: string;
5023
+ /**
5024
+ * The AZ of the node.
5025
+ */
5026
+ zoneId: string;
5027
+ }
5028
+ interface InstancePriceDifferencesNodeInfoArgs {
5029
+ /**
5030
+ * The id of the node.When the modifyType is set to Temporary, this parameter is required.
5031
+ */
5032
+ nodeId?: pulumi.Input<string>;
5033
+ /**
5034
+ * The operate type of the node. Valid values: Create, Modify.
5035
+ */
5036
+ nodeOperateType?: pulumi.Input<string>;
5037
+ /**
5038
+ * The specification of the node.
5039
+ */
5040
+ nodeSpec: pulumi.Input<string>;
5041
+ /**
5042
+ * The type of the node. Valid values: Primary, Secondary, ReadOnly.
5043
+ */
5044
+ nodeType: pulumi.Input<string>;
5045
+ /**
5046
+ * The AZ of the node.
5047
+ */
5048
+ zoneId: pulumi.Input<string>;
5049
+ }
5050
+ interface InstanceTag {
5051
+ /**
5052
+ * The Key of Tags.
5053
+ */
5054
+ key: pulumi.Input<string>;
5055
+ /**
5056
+ * The Value of Tags.
5057
+ */
5058
+ value: pulumi.Input<string>;
5059
+ }
5060
+ interface InstanceZoneMigration {
5061
+ /**
5062
+ * Node ID to migrate.
5063
+ */
5064
+ nodeId: pulumi.Input<string>;
5065
+ /**
5066
+ * Node type: Secondary or ReadOnly.
5067
+ */
5068
+ nodeType?: pulumi.Input<string>;
5069
+ /**
5070
+ * Target zone ID.
5071
+ */
5072
+ zoneId: pulumi.Input<string>;
5073
+ }
5074
+ interface InstancesTag {
5075
+ /**
5076
+ * The Key of Tags.
5077
+ */
5078
+ key: string;
5079
+ /**
5080
+ * The Value of Tags.
5081
+ */
5082
+ value: string;
5083
+ }
5084
+ interface InstancesTagArgs {
5085
+ /**
5086
+ * The Key of Tags.
5087
+ */
5088
+ key: pulumi.Input<string>;
5089
+ /**
5090
+ * The Value of Tags.
5091
+ */
5092
+ value: pulumi.Input<string>;
5093
+ }
5094
+ interface ParameterTemplateTemplateParam {
5095
+ /**
5096
+ * The name of the parameter.
5097
+ */
5098
+ name: pulumi.Input<string>;
5099
+ /**
5100
+ * The value of the parameter.
5101
+ */
5102
+ value: pulumi.Input<string>;
5103
+ }
5104
+ interface RestoreBackupDatabase {
5105
+ /**
5106
+ * Original database name.
5107
+ */
5108
+ dbName: pulumi.Input<string>;
5109
+ /**
5110
+ * New database name.
5111
+ */
5112
+ newDbName: pulumi.Input<string>;
5113
+ }
5114
+ }
5115
+ export declare namespace rds_v2 {
5116
+ interface RdsInstanceV2ChargeInfo {
5117
+ /**
5118
+ * Whether to automatically renew in prepaid scenarios.
5119
+ */
5120
+ autoRenew?: pulumi.Input<boolean>;
5121
+ /**
5122
+ * Payment type. Value:
5123
+ * PostPaid - Pay-As-You-Go
5124
+ * PrePaid - Yearly and monthly (default).
5125
+ */
5126
+ chargeType: pulumi.Input<string>;
5127
+ /**
5128
+ * Purchase duration in prepaid scenarios. Default: 1.
5129
+ */
5130
+ period?: pulumi.Input<number>;
5131
+ /**
5132
+ * The purchase cycle in the prepaid scenario.
5133
+ * Month - monthly subscription (default)
5134
+ * Year - Package year.
5135
+ */
5136
+ periodUnit?: pulumi.Input<string>;
5137
+ }
5138
+ interface RdsInstanceV2ConnectionInfo {
5139
+ /**
5140
+ * Address list.
5141
+ */
5142
+ addresses?: pulumi.Input<pulumi.Input<inputs.rds_v2.RdsInstanceV2ConnectionInfoAddress>[]>;
5143
+ /**
5144
+ * When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
5145
+ */
5146
+ autoAddNewNodes?: pulumi.Input<string>;
5147
+ /**
5148
+ * Address description.
5149
+ */
5150
+ description?: pulumi.Input<string>;
5151
+ /**
5152
+ * Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
5153
+ */
5154
+ enableReadOnly?: pulumi.Input<string>;
5155
+ /**
5156
+ * Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
5157
+ */
5158
+ enableReadWriteSplitting?: pulumi.Input<string>;
5159
+ /**
5160
+ * Instance connection terminal ID.
5161
+ */
5162
+ endpointId?: pulumi.Input<string>;
5163
+ /**
5164
+ * The instance connection terminal name.
5165
+ */
5166
+ endpointName?: pulumi.Input<string>;
5167
+ /**
5168
+ * Terminal type:
5169
+ * Cluster: The default terminal. (created by default)
5170
+ * Primary: Primary node terminal.
5171
+ * Custom: Custom terminal.
5172
+ * Direct: Direct connection to the terminal. (Only the operation and maintenance side)
5173
+ * AllNode: All node terminals. (Only the operation and maintenance side).
5174
+ */
5175
+ endpointType?: pulumi.Input<string>;
5176
+ /**
5177
+ * The list of nodes configured by the connection terminal and the corresponding read-only weights.
5178
+ */
5179
+ readOnlyNodeWeights?: pulumi.Input<pulumi.Input<inputs.rds_v2.RdsInstanceV2ConnectionInfoReadOnlyNodeWeight>[]>;
5180
+ /**
5181
+ * Read and write mode:
5182
+ * ReadWrite: read and write
5183
+ * ReadOnly: read only (default).
5184
+ */
5185
+ readWriteMode?: pulumi.Input<string>;
5186
+ }
5187
+ interface RdsInstanceV2ConnectionInfoAddress {
5188
+ /**
5189
+ * Connect domain name.
5190
+ */
5191
+ domain?: pulumi.Input<string>;
5192
+ /**
5193
+ * The ID of the EIP, only valid for Public addresses.
5194
+ */
5195
+ eipId?: pulumi.Input<string>;
5196
+ /**
5197
+ * The IP Address.
5198
+ */
5199
+ ipAddress?: pulumi.Input<string>;
5200
+ /**
5201
+ * Network address type, temporarily Private, Public, PublicService.
5202
+ */
5203
+ networkType?: pulumi.Input<string>;
5204
+ /**
5205
+ * The Port.
5206
+ */
5207
+ port?: pulumi.Input<string>;
5208
+ /**
5209
+ * Subnet ID.
5210
+ */
5211
+ subnetId?: pulumi.Input<string>;
5212
+ }
5213
+ interface RdsInstanceV2ConnectionInfoReadOnlyNodeWeight {
5214
+ /**
5215
+ * The ID of the node.
5216
+ */
5217
+ nodeId?: pulumi.Input<string>;
5218
+ /**
5219
+ * The type of the node.
5220
+ */
5221
+ nodeType?: pulumi.Input<string>;
5222
+ /**
5223
+ * The weight of the node.
5224
+ */
5225
+ weight?: pulumi.Input<number>;
5226
+ }
5227
+ interface RdsInstanceV2NodeInfo {
5228
+ /**
5229
+ * The ID of the node.
5230
+ */
5231
+ nodeId?: pulumi.Input<string>;
4756
5232
  /**
4757
5233
  * Masternode specs. Pass
4758
5234
  * DescribeDBInstanceSpecs Query the instance specifications that can be sold.
@@ -5959,6 +6435,20 @@ export declare namespace tos {
5959
6435
  */
5960
6436
  responseVary?: pulumi.Input<boolean>;
5961
6437
  }
6438
+ interface BucketCustomdomainCustomDomainRule {
6439
+ /**
6440
+ * The certificate id.
6441
+ */
6442
+ certId?: pulumi.Input<string>;
6443
+ /**
6444
+ * The custom domain name for the bucket.
6445
+ */
6446
+ domain: pulumi.Input<string>;
6447
+ /**
6448
+ * Custom domain access protocol.tos|s3.
6449
+ */
6450
+ protocol?: pulumi.Input<string>;
6451
+ }
5962
6452
  interface BucketEncryptionRule {
5963
6453
  /**
5964
6454
  * The server side encryption configuration.
@@ -6025,6 +6515,352 @@ export declare namespace tos {
6025
6515
  */
6026
6516
  frequency: pulumi.Input<string>;
6027
6517
  }
6518
+ interface BucketLifecycleRule {
6519
+ /**
6520
+ * The abort incomplete multipart upload configuration of the lifecycle rule.
6521
+ */
6522
+ abortIncompleteMultipartUpload?: pulumi.Input<inputs.tos.BucketLifecycleRuleAbortIncompleteMultipartUpload>;
6523
+ /**
6524
+ * The expiration configuration of the lifecycle rule.
6525
+ */
6526
+ expiration?: pulumi.Input<inputs.tos.BucketLifecycleRuleExpiration>;
6527
+ /**
6528
+ * The filter configuration of the lifecycle rule.
6529
+ */
6530
+ filter?: pulumi.Input<inputs.tos.BucketLifecycleRuleFilter>;
6531
+ /**
6532
+ * The ID of the lifecycle rule.
6533
+ */
6534
+ id?: pulumi.Input<string>;
6535
+ /**
6536
+ * The non-current version expiration configuration of the lifecycle rule.
6537
+ */
6538
+ nonCurrentVersionExpiration?: pulumi.Input<inputs.tos.BucketLifecycleRuleNonCurrentVersionExpiration>;
6539
+ /**
6540
+ * The non-current version transition configuration of the lifecycle rule.
6541
+ */
6542
+ nonCurrentVersionTransitions?: pulumi.Input<pulumi.Input<inputs.tos.BucketLifecycleRuleNonCurrentVersionTransition>[]>;
6543
+ /**
6544
+ * The prefix of the lifecycle rule.
6545
+ */
6546
+ prefix?: pulumi.Input<string>;
6547
+ /**
6548
+ * The status of the lifecycle rule. Valid values: Enabled, Disabled.
6549
+ */
6550
+ status: pulumi.Input<string>;
6551
+ /**
6552
+ * The tag filters.
6553
+ */
6554
+ tags?: pulumi.Input<pulumi.Input<inputs.tos.BucketLifecycleRuleTag>[]>;
6555
+ /**
6556
+ * The transition configuration of the lifecycle rule.
6557
+ */
6558
+ transitions?: pulumi.Input<pulumi.Input<inputs.tos.BucketLifecycleRuleTransition>[]>;
6559
+ }
6560
+ interface BucketLifecycleRuleAbortIncompleteMultipartUpload {
6561
+ /**
6562
+ * The number of days after initiation when the incomplete multipart upload should be aborted.
6563
+ */
6564
+ daysAfterInitiation: pulumi.Input<number>;
6565
+ }
6566
+ interface BucketLifecycleRuleExpiration {
6567
+ /**
6568
+ * The date when the rule takes effect. Format: 2023-01-01T00:00:00.000Z.
6569
+ */
6570
+ date?: pulumi.Input<string>;
6571
+ /**
6572
+ * The number of days after object creation when the rule takes effect.
6573
+ */
6574
+ days?: pulumi.Input<number>;
6575
+ }
6576
+ interface BucketLifecycleRuleFilter {
6577
+ /**
6578
+ * Whether to enable equal conditions. The value can only be "Enabled" or "Disabled". If not configured, it will default to "Disabled".
6579
+ */
6580
+ greaterThanIncludeEqual?: pulumi.Input<string>;
6581
+ /**
6582
+ * Whether to enable equal conditions. The value can only be "Enabled" or "Disabled". If not configured, it will default to "Disabled".
6583
+ */
6584
+ lessThanIncludeEqual?: pulumi.Input<string>;
6585
+ /**
6586
+ * The minimum object size in bytes for the rule to apply.
6587
+ */
6588
+ objectSizeGreaterThan?: pulumi.Input<number>;
6589
+ /**
6590
+ * The maximum object size in bytes for the rule to apply.
6591
+ */
6592
+ objectSizeLessThan?: pulumi.Input<number>;
6593
+ }
6594
+ interface BucketLifecycleRuleNonCurrentVersionExpiration {
6595
+ /**
6596
+ * The number of days after object creation when the non-current version expiration takes effect.
6597
+ */
6598
+ nonCurrentDays: pulumi.Input<number>;
6599
+ }
6600
+ interface BucketLifecycleRuleNonCurrentVersionTransition {
6601
+ /**
6602
+ * The number of days after object creation when the non-current version transition takes effect.
6603
+ */
6604
+ nonCurrentDays: pulumi.Input<number>;
6605
+ /**
6606
+ * The storage class to transition to. Valid values: IA, ARCHIVE, COLD_ARCHIVE.
6607
+ */
6608
+ storageClass: pulumi.Input<string>;
6609
+ }
6610
+ interface BucketLifecycleRuleTag {
6611
+ /**
6612
+ * The key of the tag.
6613
+ */
6614
+ key: pulumi.Input<string>;
6615
+ /**
6616
+ * The value of the tag.
6617
+ */
6618
+ value: pulumi.Input<string>;
6619
+ }
6620
+ interface BucketLifecycleRuleTransition {
6621
+ /**
6622
+ * The date when the transition takes effect. Format: 2023-01-01T00:00:00.000Z.
6623
+ */
6624
+ date?: pulumi.Input<string>;
6625
+ /**
6626
+ * The number of days after object creation when the transition takes effect.
6627
+ */
6628
+ days?: pulumi.Input<number>;
6629
+ /**
6630
+ * The storage class to transition to. Valid values: IA, ARCHIVE, COLD_ARCHIVE.
6631
+ */
6632
+ storageClass?: pulumi.Input<string>;
6633
+ }
6634
+ interface BucketLoggingLoggingEnabled {
6635
+ /**
6636
+ * The role that is assumed by TOS to write log objects to the target bucket.
6637
+ */
6638
+ role?: pulumi.Input<string>;
6639
+ /**
6640
+ * The name of the target bucket where the access logs are stored.
6641
+ */
6642
+ targetBucket?: pulumi.Input<string>;
6643
+ /**
6644
+ * The prefix for the log object keys.
6645
+ */
6646
+ targetPrefix?: pulumi.Input<string>;
6647
+ }
6648
+ interface BucketMirrorBackRule {
6649
+ /**
6650
+ * The condition of the mirrorBack rule.
6651
+ */
6652
+ condition?: pulumi.Input<inputs.tos.BucketMirrorBackRuleCondition>;
6653
+ /**
6654
+ * The ID of the mirrorBack rule.
6655
+ */
6656
+ id?: pulumi.Input<string>;
6657
+ /**
6658
+ * The redirect configuration of the mirrorBack rule.
6659
+ */
6660
+ redirect?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirect>;
6661
+ }
6662
+ interface BucketMirrorBackRuleCondition {
6663
+ /**
6664
+ * Only when a specific domain name is supported will the origin retrieval be triggered.
6665
+ */
6666
+ allowHosts?: pulumi.Input<pulumi.Input<string>[]>;
6667
+ /**
6668
+ * Error code for triggering the source re-fetch function.
6669
+ */
6670
+ httpCode: pulumi.Input<number>;
6671
+ /**
6672
+ * The type of request that triggers the re-sourcing process.
6673
+ */
6674
+ httpMethods?: pulumi.Input<pulumi.Input<string>[]>;
6675
+ /**
6676
+ * The prefix of the object name that matches the source object.
6677
+ */
6678
+ keyPrefix?: pulumi.Input<string>;
6679
+ /**
6680
+ * The suffix of the object name that matches the source object.
6681
+ */
6682
+ keySuffix?: pulumi.Input<string>;
6683
+ }
6684
+ interface BucketMirrorBackRuleRedirect {
6685
+ /**
6686
+ * The fetch header to metadata rules.
6687
+ */
6688
+ fetchHeaderToMetaDataRules?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectFetchHeaderToMetaDataRule>[]>;
6689
+ /**
6690
+ * Whether to fetch source on redirect.
6691
+ */
6692
+ fetchSourceOnRedirect?: pulumi.Input<boolean>;
6693
+ /**
6694
+ * Whether to fetch source on redirect with query.
6695
+ */
6696
+ fetchSourceOnRedirectWithQuery?: pulumi.Input<boolean>;
6697
+ /**
6698
+ * Whether to follow redirects.
6699
+ */
6700
+ followRedirect?: pulumi.Input<boolean>;
6701
+ /**
6702
+ * The mirror header configuration.
6703
+ */
6704
+ mirrorHeaders?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectMirrorHeader>[]>;
6705
+ /**
6706
+ * Whether to pass query parameters.
6707
+ */
6708
+ passQuery?: pulumi.Input<boolean>;
6709
+ /**
6710
+ * The private source configuration.
6711
+ */
6712
+ privateSources?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSource>[]>;
6713
+ /**
6714
+ * The public source configuration.
6715
+ */
6716
+ publicSource?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPublicSource>;
6717
+ /**
6718
+ * The type of redirect.
6719
+ */
6720
+ redirectType?: pulumi.Input<string>;
6721
+ /**
6722
+ * The transform configuration.
6723
+ */
6724
+ transform?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectTransform>;
6725
+ }
6726
+ interface BucketMirrorBackRuleRedirectFetchHeaderToMetaDataRule {
6727
+ /**
6728
+ * The metadata suffix.
6729
+ */
6730
+ metaDataSuffix: pulumi.Input<string>;
6731
+ /**
6732
+ * The source header.
6733
+ */
6734
+ sourceHeader: pulumi.Input<string>;
6735
+ }
6736
+ interface BucketMirrorBackRuleRedirectMirrorHeader {
6737
+ /**
6738
+ * Whether to pass all headers.
6739
+ */
6740
+ passAll?: pulumi.Input<boolean>;
6741
+ /**
6742
+ * The headers to pass.
6743
+ */
6744
+ passes?: pulumi.Input<pulumi.Input<string>[]>;
6745
+ /**
6746
+ * The headers to remove.
6747
+ */
6748
+ removes?: pulumi.Input<pulumi.Input<string>[]>;
6749
+ /**
6750
+ * The mirror header configuration.
6751
+ */
6752
+ sets?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectMirrorHeaderSet>[]>;
6753
+ }
6754
+ interface BucketMirrorBackRuleRedirectMirrorHeaderSet {
6755
+ /**
6756
+ * The key of the header.
6757
+ */
6758
+ key?: pulumi.Input<string>;
6759
+ /**
6760
+ * The value of the header.
6761
+ */
6762
+ value?: pulumi.Input<string>;
6763
+ }
6764
+ interface BucketMirrorBackRuleRedirectPrivateSource {
6765
+ /**
6766
+ * The source endpoint.
6767
+ */
6768
+ sourceEndpoints?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpoint>[]>;
6769
+ }
6770
+ interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpoint {
6771
+ /**
6772
+ * The follower endpoints.
6773
+ */
6774
+ followers?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollower>[]>;
6775
+ /**
6776
+ * The primary endpoints.
6777
+ */
6778
+ primaries?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimary>[]>;
6779
+ }
6780
+ interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollower {
6781
+ /**
6782
+ * The bucket name.
6783
+ */
6784
+ bucketName?: pulumi.Input<string>;
6785
+ /**
6786
+ * The credential provider.
6787
+ */
6788
+ credentialProvider?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollowerCredentialProvider>;
6789
+ /**
6790
+ * The endpoint.
6791
+ */
6792
+ endpoint?: pulumi.Input<string>;
6793
+ }
6794
+ interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollowerCredentialProvider {
6795
+ /**
6796
+ * The role.
6797
+ */
6798
+ role?: pulumi.Input<string>;
6799
+ }
6800
+ interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimary {
6801
+ /**
6802
+ * The bucket name.
6803
+ */
6804
+ bucketName?: pulumi.Input<string>;
6805
+ /**
6806
+ * The credential provider.
6807
+ */
6808
+ credentialProvider?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimaryCredentialProvider>;
6809
+ /**
6810
+ * The endpoint.
6811
+ */
6812
+ endpoint?: pulumi.Input<string>;
6813
+ }
6814
+ interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimaryCredentialProvider {
6815
+ /**
6816
+ * The role.
6817
+ */
6818
+ role?: pulumi.Input<string>;
6819
+ }
6820
+ interface BucketMirrorBackRuleRedirectPublicSource {
6821
+ /**
6822
+ * Whether the endpoint is fixed.
6823
+ */
6824
+ fixedEndpoint?: pulumi.Input<boolean>;
6825
+ /**
6826
+ * The source endpoint.
6827
+ */
6828
+ sourceEndpoint?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPublicSourceSourceEndpoint>;
6829
+ }
6830
+ interface BucketMirrorBackRuleRedirectPublicSourceSourceEndpoint {
6831
+ /**
6832
+ * The follower endpoints.
6833
+ */
6834
+ followers?: pulumi.Input<pulumi.Input<string>[]>;
6835
+ /**
6836
+ * The primary endpoints.
6837
+ */
6838
+ primaries?: pulumi.Input<pulumi.Input<string>[]>;
6839
+ }
6840
+ interface BucketMirrorBackRuleRedirectTransform {
6841
+ /**
6842
+ * The replace key prefix configuration.
6843
+ */
6844
+ replaceKeyPrefix?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectTransformReplaceKeyPrefix>;
6845
+ /**
6846
+ * The key prefix to add.
6847
+ */
6848
+ withKeyPrefix?: pulumi.Input<string>;
6849
+ /**
6850
+ * The key suffix to add.
6851
+ */
6852
+ withKeySuffix?: pulumi.Input<string>;
6853
+ }
6854
+ interface BucketMirrorBackRuleRedirectTransformReplaceKeyPrefix {
6855
+ /**
6856
+ * The key prefix to replace.
6857
+ */
6858
+ keyPrefix?: pulumi.Input<string>;
6859
+ /**
6860
+ * The value to replace with.
6861
+ */
6862
+ replaceWith?: pulumi.Input<string>;
6863
+ }
6028
6864
  interface BucketNotificationRules {
6029
6865
  /**
6030
6866
  * The destination info of the notification.
@@ -6091,6 +6927,26 @@ export declare namespace tos {
6091
6927
  */
6092
6928
  permission: pulumi.Input<string>;
6093
6929
  }
6930
+ interface BucketObjectLockConfigurationRule {
6931
+ /**
6932
+ * The default retention configuration.
6933
+ */
6934
+ defaultRetention: pulumi.Input<inputs.tos.BucketObjectLockConfigurationRuleDefaultRetention>;
6935
+ }
6936
+ interface BucketObjectLockConfigurationRuleDefaultRetention {
6937
+ /**
6938
+ * The number of days for the default retention period.
6939
+ */
6940
+ days?: pulumi.Input<number>;
6941
+ /**
6942
+ * The default retention mode. Valid values: COMPLIANCE, GOVERNANCE.
6943
+ */
6944
+ mode: pulumi.Input<string>;
6945
+ /**
6946
+ * The number of years for the default retention period.
6947
+ */
6948
+ years?: pulumi.Input<number>;
6949
+ }
6094
6950
  interface BucketObjectTag {
6095
6951
  /**
6096
6952
  * The Key of Tags.
@@ -6119,6 +6975,60 @@ export declare namespace tos {
6119
6975
  */
6120
6976
  ttl?: pulumi.Input<number>;
6121
6977
  }
6978
+ interface BucketReplicationRule {
6979
+ /**
6980
+ * The access control translation configuration of the replication rule.
6981
+ */
6982
+ accessControlTranslation: pulumi.Input<inputs.tos.BucketReplicationRuleAccessControlTranslation>;
6983
+ /**
6984
+ * The destination configuration of the replication rule.
6985
+ */
6986
+ destination: pulumi.Input<inputs.tos.BucketReplicationRuleDestination>;
6987
+ /**
6988
+ * Whether to replicate historical objects. Valid values: Enabled, Disabled.
6989
+ */
6990
+ historicalObjectReplication?: pulumi.Input<string>;
6991
+ /**
6992
+ * The ID of the replication rule.
6993
+ */
6994
+ id?: pulumi.Input<string>;
6995
+ /**
6996
+ * The prefix set for the replication rule.
6997
+ */
6998
+ prefixSets?: pulumi.Input<pulumi.Input<string>[]>;
6999
+ /**
7000
+ * The status of the replication rule. Valid values: Enabled, Disabled.
7001
+ */
7002
+ status: pulumi.Input<string>;
7003
+ /**
7004
+ * Specify the data transmission link to be used for cross-regional replication. Valid values: internal, tos_acc.
7005
+ */
7006
+ transferType?: pulumi.Input<string>;
7007
+ }
7008
+ interface BucketReplicationRuleAccessControlTranslation {
7009
+ /**
7010
+ * The owner of the destination object.
7011
+ */
7012
+ owner?: pulumi.Input<string>;
7013
+ }
7014
+ interface BucketReplicationRuleDestination {
7015
+ /**
7016
+ * The destination bucket name.
7017
+ */
7018
+ bucket: pulumi.Input<string>;
7019
+ /**
7020
+ * The destination bucket location.
7021
+ */
7022
+ location: pulumi.Input<string>;
7023
+ /**
7024
+ * The storage class for the destination bucket. Valid values: STANDARD, IA, ARCHIVE, COLD_ARCHIVE.
7025
+ */
7026
+ storageClass?: pulumi.Input<string>;
7027
+ /**
7028
+ * The storage class inherit directive. Valid values: COPY, OVERRIDE.
7029
+ */
7030
+ storageClassInheritDirective?: pulumi.Input<string>;
7031
+ }
6122
7032
  interface BucketTag {
6123
7033
  /**
6124
7034
  * The Key of Tags.
@@ -6129,6 +7039,74 @@ export declare namespace tos {
6129
7039
  */
6130
7040
  value: pulumi.Input<string>;
6131
7041
  }
7042
+ interface BucketWebsiteErrorDocument {
7043
+ /**
7044
+ * The key of the error document object, e.g., error.html.
7045
+ */
7046
+ key?: pulumi.Input<string>;
7047
+ }
7048
+ interface BucketWebsiteIndexDocument {
7049
+ /**
7050
+ * The suffix of the index document, e.g., index.html.
7051
+ */
7052
+ suffix: pulumi.Input<string>;
7053
+ /**
7054
+ * Whether to support subdirectory indexing. Default is false.
7055
+ */
7056
+ supportSubDir?: pulumi.Input<boolean>;
7057
+ }
7058
+ interface BucketWebsiteRedirectAllRequestsTo {
7059
+ /**
7060
+ * The target host name for redirect.
7061
+ */
7062
+ hostName?: pulumi.Input<string>;
7063
+ /**
7064
+ * The protocol for redirect. Valid values: http, https.
7065
+ */
7066
+ protocol?: pulumi.Input<string>;
7067
+ }
7068
+ interface BucketWebsiteRoutingRule {
7069
+ /**
7070
+ * The condition for the routing rule.
7071
+ */
7072
+ condition: pulumi.Input<inputs.tos.BucketWebsiteRoutingRuleCondition>;
7073
+ /**
7074
+ * The redirect configuration for the routing rule.
7075
+ */
7076
+ redirect: pulumi.Input<inputs.tos.BucketWebsiteRoutingRuleRedirect>;
7077
+ }
7078
+ interface BucketWebsiteRoutingRuleCondition {
7079
+ /**
7080
+ * The HTTP error code that must match for the rule to apply, e.g., 404.
7081
+ */
7082
+ httpErrorCodeReturnedEquals?: pulumi.Input<number>;
7083
+ /**
7084
+ * The key prefix that must match for the rule to apply.
7085
+ */
7086
+ keyPrefixEquals?: pulumi.Input<string>;
7087
+ }
7088
+ interface BucketWebsiteRoutingRuleRedirect {
7089
+ /**
7090
+ * The host name to redirect to.
7091
+ */
7092
+ hostName?: pulumi.Input<string>;
7093
+ /**
7094
+ * The HTTP redirect code to use, e.g., 301, 302.
7095
+ */
7096
+ httpRedirectCode?: pulumi.Input<number>;
7097
+ /**
7098
+ * The protocol to use for the redirect. Valid values: http, https.
7099
+ */
7100
+ protocol?: pulumi.Input<string>;
7101
+ /**
7102
+ * The key prefix to replace the original key prefix with.
7103
+ */
7104
+ replaceKeyPrefixWith?: pulumi.Input<string>;
7105
+ /**
7106
+ * The key to replace the original key with.
7107
+ */
7108
+ replaceKeyWith?: pulumi.Input<string>;
7109
+ }
6132
7110
  }
6133
7111
  export declare namespace transit_router {
6134
7112
  interface BandwidthPackageAllocation {