@volcengine/pulumi 0.0.39 → 0.0.41

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 (297) 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 +1238 -212
  243. package/types/output.d.ts +6932 -3808
  244. package/vmp/alertSamples.d.ts +104 -0
  245. package/vmp/alertSamples.js +57 -0
  246. package/vmp/alertSamples.js.map +1 -0
  247. package/vmp/alertingRuleEnableDisable.d.ts +66 -0
  248. package/vmp/alertingRuleEnableDisable.js +70 -0
  249. package/vmp/alertingRuleEnableDisable.js.map +1 -0
  250. package/vmp/contact.d.ts +5 -1
  251. package/vmp/contact.js +1 -1
  252. package/vmp/contact.js.map +1 -1
  253. package/vmp/contacts.d.ts +18 -0
  254. package/vmp/contacts.js +2 -0
  255. package/vmp/contacts.js.map +1 -1
  256. package/vmp/getAlertSamples.d.ts +102 -0
  257. package/vmp/getAlertSamples.js +54 -0
  258. package/vmp/getAlertSamples.js.map +1 -0
  259. package/vmp/getContacts.d.ts +18 -0
  260. package/vmp/getContacts.js +2 -0
  261. package/vmp/getContacts.js.map +1 -1
  262. package/vmp/getIntegrationTasks.d.ts +119 -0
  263. package/vmp/getIntegrationTasks.js +51 -0
  264. package/vmp/getIntegrationTasks.js.map +1 -0
  265. package/vmp/getSilencePolicies.d.ts +110 -0
  266. package/vmp/getSilencePolicies.js +52 -0
  267. package/vmp/getSilencePolicies.js.map +1 -0
  268. package/vmp/index.d.ts +33 -0
  269. package/vmp/index.js +45 -2
  270. package/vmp/index.js.map +1 -1
  271. package/vmp/integrationTask.d.ts +142 -0
  272. package/vmp/integrationTask.js +78 -0
  273. package/vmp/integrationTask.js.map +1 -0
  274. package/vmp/integrationTaskEnable.d.ts +71 -0
  275. package/vmp/integrationTaskEnable.js +75 -0
  276. package/vmp/integrationTaskEnable.js.map +1 -0
  277. package/vmp/integrationTasks.d.ts +121 -0
  278. package/vmp/integrationTasks.js +54 -0
  279. package/vmp/integrationTasks.js.map +1 -0
  280. package/vmp/silencePolicies.d.ts +112 -0
  281. package/vmp/silencePolicies.js +55 -0
  282. package/vmp/silencePolicies.js.map +1 -0
  283. package/vmp/silencePolicy.d.ts +168 -0
  284. package/vmp/silencePolicy.js +113 -0
  285. package/vmp/silencePolicy.js.map +1 -0
  286. package/vmp/silencePolicyEnableDisable.d.ts +66 -0
  287. package/vmp/silencePolicyEnableDisable.js +70 -0
  288. package/vmp/silencePolicyEnableDisable.js.map +1 -0
  289. package/vpc/index.d.ts +3 -0
  290. package/vpc/index.js +6 -1
  291. package/vpc/index.js.map +1 -1
  292. package/vpc/userCidrBlockAssociate.d.ts +91 -0
  293. package/vpc/userCidrBlockAssociate.js +88 -0
  294. package/vpc/userCidrBlockAssociate.js.map +1 -0
  295. package/vpc/vpc.d.ts +8 -0
  296. package/vpc/vpc.js +2 -0
  297. 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.
@@ -5781,249 +6257,609 @@ export declare namespace tls {
5781
6257
  */
5782
6258
  cronTimeZone?: pulumi.Input<string>;
5783
6259
  /**
5784
- * The scheduling cycle or the time point of regular execution (the number of minutes away from 00:00), with a value range of 1 to 1440, and the unit is minutes.
6260
+ * The scheduling cycle or the time point of regular execution (the number of minutes away from 00:00), with a value range of 1 to 1440, and the unit is minutes.
6261
+ */
6262
+ time: pulumi.Input<number>;
6263
+ /**
6264
+ * The type of Scheduling cycle.
6265
+ */
6266
+ type: pulumi.Input<string>;
6267
+ }
6268
+ interface ShipperContentInfo {
6269
+ /**
6270
+ * CSV format log content configuration.
6271
+ */
6272
+ csvInfo?: pulumi.Input<inputs.tls.ShipperContentInfoCsvInfo>;
6273
+ /**
6274
+ * Log content parsing format.
6275
+ */
6276
+ format?: pulumi.Input<string>;
6277
+ /**
6278
+ * JSON format log content configuration.
6279
+ */
6280
+ jsonInfo?: pulumi.Input<inputs.tls.ShipperContentInfoJsonInfo>;
6281
+ }
6282
+ interface ShipperContentInfoCsvInfo {
6283
+ /**
6284
+ * Delimiters are supported, including commas, tabs, vertical bars, semicolons, and Spaces.
6285
+ */
6286
+ delimiter: pulumi.Input<string>;
6287
+ /**
6288
+ * When the field content contains a delimiter, use an escape character to wrap the field. Currently, only single quotes, double quotes, and null characters are supported.
6289
+ */
6290
+ escapeChar: pulumi.Input<string>;
6291
+ /**
6292
+ * Configure the fields that need to be delivered.
6293
+ */
6294
+ keys: pulumi.Input<pulumi.Input<string>[]>;
6295
+ /**
6296
+ * Invalid field filling content, with a length ranging from 0 to 128.
6297
+ */
6298
+ nonFieldContent: pulumi.Input<string>;
6299
+ /**
6300
+ * Whether to print the Key on the first line.
6301
+ */
6302
+ printHeader: pulumi.Input<boolean>;
6303
+ }
6304
+ interface ShipperContentInfoJsonInfo {
6305
+ /**
6306
+ * Enable the flag.
6307
+ */
6308
+ enable: pulumi.Input<boolean>;
6309
+ /**
6310
+ * Whether to escape or not. It must be configured as true.
6311
+ */
6312
+ escape?: pulumi.Input<boolean>;
6313
+ /**
6314
+ * When delivering in JSON format, if this parameter is not configured, it indicates that all fields have been delivered. Including __content__ (choice), __source__, __path__, __time__, __image_name__, __container_name__, __pod_name__, __pod_uid__, namespace, __tag____client_ip__, __tag____receive_time__.
6315
+ */
6316
+ keys?: pulumi.Input<pulumi.Input<string>[]>;
6317
+ }
6318
+ interface ShipperKafkaShipperInfo {
6319
+ /**
6320
+ * Compression formats currently supported include snappy, gzip, lz4, and none.
6321
+ */
6322
+ compress: pulumi.Input<string>;
6323
+ /**
6324
+ * Delivery end time, millisecond timestamp. If not configured, it will keep delivering.
6325
+ */
6326
+ endTime?: pulumi.Input<number>;
6327
+ /**
6328
+ * Kafka instance.
6329
+ */
6330
+ instance: pulumi.Input<string>;
6331
+ /**
6332
+ * The name of the Kafka Topic.
6333
+ */
6334
+ kafkaTopic: pulumi.Input<string>;
6335
+ /**
6336
+ * Delivery start time, millisecond timestamp. If not configured, the default is the current time.
6337
+ */
6338
+ startTime?: pulumi.Input<number>;
6339
+ }
6340
+ interface ShipperTosShipperInfo {
6341
+ /**
6342
+ * When choosing a TOS bucket, it must be located in the same region as the source log topic.
6343
+ */
6344
+ bucket: pulumi.Input<string>;
6345
+ /**
6346
+ * Compression formats currently supported include snappy, gzip, lz4, and none.
6347
+ */
6348
+ compress?: pulumi.Input<string>;
6349
+ /**
6350
+ * The delivery time interval, measured in seconds, ranges from 300 to 900.
6351
+ */
6352
+ interval?: pulumi.Input<number>;
6353
+ /**
6354
+ * The maximum size of the original file that can be delivered to each partition (Shard), that is, the size of the uncompressed log file. The unit is MiB, and the value range is 5 to 256.
6355
+ */
6356
+ maxSize?: pulumi.Input<number>;
6357
+ /**
6358
+ * Partition rules for delivering logs.
6359
+ */
6360
+ partitionFormat?: pulumi.Input<string>;
6361
+ /**
6362
+ * The top-level directory name of the storage bucket. All log data delivered through this delivery configuration will be delivered to this directory.
6363
+ */
6364
+ prefix?: pulumi.Input<string>;
6365
+ }
6366
+ interface TopicTag {
6367
+ /**
6368
+ * The Key of Tags.
6369
+ */
6370
+ key: pulumi.Input<string>;
6371
+ /**
6372
+ * The Value of Tags.
6373
+ */
6374
+ value: pulumi.Input<string>;
6375
+ }
6376
+ interface TopicsTag {
6377
+ /**
6378
+ * The Key of Tags.
6379
+ */
6380
+ key: string;
6381
+ /**
6382
+ * The Value of Tags.
6383
+ */
6384
+ value: string;
6385
+ }
6386
+ interface TopicsTagArgs {
6387
+ /**
6388
+ * The Key of Tags.
6389
+ */
6390
+ key: pulumi.Input<string>;
6391
+ /**
6392
+ * The Value of Tags.
6393
+ */
6394
+ value: pulumi.Input<string>;
6395
+ }
6396
+ }
6397
+ export declare namespace tos {
6398
+ interface BucketAccountAcl {
6399
+ /**
6400
+ * The accountId to control.
6401
+ */
6402
+ accountId: pulumi.Input<string>;
6403
+ /**
6404
+ * The acl type to control.Valid value is CanonicalUser.
6405
+ */
6406
+ aclType?: pulumi.Input<string>;
6407
+ /**
6408
+ * The permission to control.Valid value is FULL_CONTROL|READ|READ_ACP|WRITE|WRITE_ACP.
6409
+ */
6410
+ permission: pulumi.Input<string>;
6411
+ }
6412
+ interface BucketCorsCorsRule {
6413
+ /**
6414
+ * The list of headers that are allowed in a preflight request.
6415
+ */
6416
+ allowedHeaders?: pulumi.Input<pulumi.Input<string>[]>;
6417
+ /**
6418
+ * The list of HTTP methods that are allowed in a preflight request. Valid values: `PUT`, `POST`, `DELETE`, `GET`, `HEAD`.
6419
+ */
6420
+ allowedMethods: pulumi.Input<pulumi.Input<string>[]>;
6421
+ /**
6422
+ * The list of origins that are allowed to make requests to the bucket.
6423
+ */
6424
+ allowedOrigins: pulumi.Input<pulumi.Input<string>[]>;
6425
+ /**
6426
+ * The list of headers that are exposed in the response to a preflight request. It is recommended to add two expose headers, X-Tos-Request-Id and ETag.
6427
+ */
6428
+ exposeHeaders?: pulumi.Input<pulumi.Input<string>[]>;
6429
+ /**
6430
+ * The maximum amount of time that a preflight request can be cached. Unit: second. Default value: 3600.
6431
+ */
6432
+ maxAgeSeconds?: pulumi.Input<number>;
6433
+ /**
6434
+ * Indicates whether the bucket returns the 'Vary: Origin' header in the response to preflight requests. Default value: false.
6435
+ */
6436
+ responseVary?: pulumi.Input<boolean>;
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
+ }
6452
+ interface BucketEncryptionRule {
6453
+ /**
6454
+ * The server side encryption configuration.
6455
+ */
6456
+ applyServerSideEncryptionByDefault: pulumi.Input<inputs.tos.BucketEncryptionRuleApplyServerSideEncryptionByDefault>;
6457
+ }
6458
+ interface BucketEncryptionRuleApplyServerSideEncryptionByDefault {
6459
+ /**
6460
+ * The kms data encryption. Valid values: `AES256`, `SM4`. Default is `AES256`.
6461
+ */
6462
+ kmsDataEncryption?: pulumi.Input<string>;
6463
+ /**
6464
+ * The kms master key id. This field is required when `sseAlgorithm` is `kms`. The format is `trn:kms:<region>:<accountID>:keyrings/<keyring>/keys/<key>`.
6465
+ */
6466
+ kmsMasterKeyId?: pulumi.Input<string>;
6467
+ /**
6468
+ * The server side encryption algorithm. Valid values: `kms`, `AES256`, `SM4`.
6469
+ */
6470
+ sseAlgorithm: pulumi.Input<string>;
6471
+ }
6472
+ interface BucketInventoryDestination {
6473
+ /**
6474
+ * The destination tos bucket information of the bucket inventory.
6475
+ */
6476
+ tosBucketDestination: pulumi.Input<inputs.tos.BucketInventoryDestinationTosBucketDestination>;
6477
+ }
6478
+ interface BucketInventoryDestinationTosBucketDestination {
6479
+ /**
6480
+ * The account id of the destination tos bucket.
6481
+ */
6482
+ accountId: pulumi.Input<string>;
6483
+ /**
6484
+ * The name of the destination tos bucket.
6485
+ */
6486
+ bucket: pulumi.Input<string>;
6487
+ /**
6488
+ * The format of the bucket inventory. Valid values: `CSV`.
6489
+ */
6490
+ format: pulumi.Input<string>;
6491
+ /**
6492
+ * The storage path prefix of the bucket inventory in destination tos bucket.
6493
+ */
6494
+ prefix?: pulumi.Input<string>;
6495
+ /**
6496
+ * The role name used to grant TOS access to read all files from the source bucket and write files to the destination bucket. You can use the default TOS role `TosArchiveTOSInventory`.
6497
+ */
6498
+ role: pulumi.Input<string>;
6499
+ }
6500
+ interface BucketInventoryFilter {
6501
+ /**
6502
+ * The prefix matching information of the exported object. If not set, a list of all objects in the bucket will be generated by default.
6503
+ */
6504
+ prefix?: pulumi.Input<string>;
6505
+ }
6506
+ interface BucketInventoryOptionalFields {
6507
+ /**
6508
+ * The information exported from the bucket inventory. Valid values: `Size`, `LastModifiedDate`, `ETag`, `StorageClass`, `IsMultipartUploaded`, `EncryptionStatus`, `CRC64`, `ReplicationStatus`.
6509
+ */
6510
+ fields?: pulumi.Input<pulumi.Input<string>[]>;
6511
+ }
6512
+ interface BucketInventorySchedule {
6513
+ /**
6514
+ * The export schedule of the bucket inventory. Valid values: `Daily`, `Weekly`.
6515
+ */
6516
+ frequency: pulumi.Input<string>;
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.
5785
6603
  */
5786
- time: pulumi.Input<number>;
6604
+ nonCurrentDays: pulumi.Input<number>;
5787
6605
  /**
5788
- * The type of Scheduling cycle.
6606
+ * The storage class to transition to. Valid values: IA, ARCHIVE, COLD_ARCHIVE.
5789
6607
  */
5790
- type: pulumi.Input<string>;
6608
+ storageClass: pulumi.Input<string>;
5791
6609
  }
5792
- interface ShipperContentInfo {
6610
+ interface BucketLifecycleRuleTag {
5793
6611
  /**
5794
- * CSV format log content configuration.
6612
+ * The key of the tag.
5795
6613
  */
5796
- csvInfo?: pulumi.Input<inputs.tls.ShipperContentInfoCsvInfo>;
6614
+ key: pulumi.Input<string>;
5797
6615
  /**
5798
- * Log content parsing format.
6616
+ * The value of the tag.
5799
6617
  */
5800
- format?: pulumi.Input<string>;
6618
+ value: pulumi.Input<string>;
6619
+ }
6620
+ interface BucketLifecycleRuleTransition {
5801
6621
  /**
5802
- * JSON format log content configuration.
6622
+ * The date when the transition takes effect. Format: 2023-01-01T00:00:00.000Z.
5803
6623
  */
5804
- jsonInfo?: pulumi.Input<inputs.tls.ShipperContentInfoJsonInfo>;
5805
- }
5806
- interface ShipperContentInfoCsvInfo {
6624
+ date?: pulumi.Input<string>;
5807
6625
  /**
5808
- * Delimiters are supported, including commas, tabs, vertical bars, semicolons, and Spaces.
6626
+ * The number of days after object creation when the transition takes effect.
5809
6627
  */
5810
- delimiter: pulumi.Input<string>;
6628
+ days?: pulumi.Input<number>;
5811
6629
  /**
5812
- * When the field content contains a delimiter, use an escape character to wrap the field. Currently, only single quotes, double quotes, and null characters are supported.
6630
+ * The storage class to transition to. Valid values: IA, ARCHIVE, COLD_ARCHIVE.
5813
6631
  */
5814
- escapeChar: pulumi.Input<string>;
6632
+ storageClass?: pulumi.Input<string>;
6633
+ }
6634
+ interface BucketLoggingLoggingEnabled {
5815
6635
  /**
5816
- * Configure the fields that need to be delivered.
6636
+ * The role that is assumed by TOS to write log objects to the target bucket.
5817
6637
  */
5818
- keys: pulumi.Input<pulumi.Input<string>[]>;
6638
+ role?: pulumi.Input<string>;
5819
6639
  /**
5820
- * Invalid field filling content, with a length ranging from 0 to 128.
6640
+ * The name of the target bucket where the access logs are stored.
5821
6641
  */
5822
- nonFieldContent: pulumi.Input<string>;
6642
+ targetBucket?: pulumi.Input<string>;
5823
6643
  /**
5824
- * Whether to print the Key on the first line.
6644
+ * The prefix for the log object keys.
5825
6645
  */
5826
- printHeader: pulumi.Input<boolean>;
6646
+ targetPrefix?: pulumi.Input<string>;
5827
6647
  }
5828
- interface ShipperContentInfoJsonInfo {
6648
+ interface BucketMirrorBackRule {
5829
6649
  /**
5830
- * Enable the flag.
6650
+ * The condition of the mirrorBack rule.
5831
6651
  */
5832
- enable: pulumi.Input<boolean>;
6652
+ condition?: pulumi.Input<inputs.tos.BucketMirrorBackRuleCondition>;
5833
6653
  /**
5834
- * Whether to escape or not. It must be configured as true.
6654
+ * The ID of the mirrorBack rule.
5835
6655
  */
5836
- escape?: pulumi.Input<boolean>;
6656
+ id?: pulumi.Input<string>;
5837
6657
  /**
5838
- * When delivering in JSON format, if this parameter is not configured, it indicates that all fields have been delivered. Including __content__ (choice), __source__, __path__, __time__, __image_name__, __container_name__, __pod_name__, __pod_uid__, namespace, __tag____client_ip__, __tag____receive_time__.
6658
+ * The redirect configuration of the mirrorBack rule.
5839
6659
  */
5840
- keys?: pulumi.Input<pulumi.Input<string>[]>;
6660
+ redirect?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirect>;
5841
6661
  }
5842
- interface ShipperKafkaShipperInfo {
6662
+ interface BucketMirrorBackRuleCondition {
5843
6663
  /**
5844
- * Compression formats currently supported include snappy, gzip, lz4, and none.
6664
+ * Only when a specific domain name is supported will the origin retrieval be triggered.
5845
6665
  */
5846
- compress: pulumi.Input<string>;
6666
+ allowHosts?: pulumi.Input<pulumi.Input<string>[]>;
5847
6667
  /**
5848
- * Delivery end time, millisecond timestamp. If not configured, it will keep delivering.
6668
+ * Error code for triggering the source re-fetch function.
5849
6669
  */
5850
- endTime?: pulumi.Input<number>;
6670
+ httpCode: pulumi.Input<number>;
5851
6671
  /**
5852
- * Kafka instance.
6672
+ * The type of request that triggers the re-sourcing process.
5853
6673
  */
5854
- instance: pulumi.Input<string>;
6674
+ httpMethods?: pulumi.Input<pulumi.Input<string>[]>;
5855
6675
  /**
5856
- * The name of the Kafka Topic.
6676
+ * The prefix of the object name that matches the source object.
5857
6677
  */
5858
- kafkaTopic: pulumi.Input<string>;
6678
+ keyPrefix?: pulumi.Input<string>;
5859
6679
  /**
5860
- * Delivery start time, millisecond timestamp. If not configured, the default is the current time.
6680
+ * The suffix of the object name that matches the source object.
5861
6681
  */
5862
- startTime?: pulumi.Input<number>;
6682
+ keySuffix?: pulumi.Input<string>;
5863
6683
  }
5864
- interface ShipperTosShipperInfo {
6684
+ interface BucketMirrorBackRuleRedirect {
5865
6685
  /**
5866
- * When choosing a TOS bucket, it must be located in the same region as the source log topic.
6686
+ * The fetch header to metadata rules.
5867
6687
  */
5868
- bucket: pulumi.Input<string>;
6688
+ fetchHeaderToMetaDataRules?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectFetchHeaderToMetaDataRule>[]>;
5869
6689
  /**
5870
- * Compression formats currently supported include snappy, gzip, lz4, and none.
6690
+ * Whether to fetch source on redirect.
5871
6691
  */
5872
- compress?: pulumi.Input<string>;
6692
+ fetchSourceOnRedirect?: pulumi.Input<boolean>;
5873
6693
  /**
5874
- * The delivery time interval, measured in seconds, ranges from 300 to 900.
6694
+ * Whether to fetch source on redirect with query.
5875
6695
  */
5876
- interval?: pulumi.Input<number>;
6696
+ fetchSourceOnRedirectWithQuery?: pulumi.Input<boolean>;
5877
6697
  /**
5878
- * The maximum size of the original file that can be delivered to each partition (Shard), that is, the size of the uncompressed log file. The unit is MiB, and the value range is 5 to 256.
6698
+ * Whether to follow redirects.
5879
6699
  */
5880
- maxSize?: pulumi.Input<number>;
6700
+ followRedirect?: pulumi.Input<boolean>;
5881
6701
  /**
5882
- * Partition rules for delivering logs.
6702
+ * The mirror header configuration.
5883
6703
  */
5884
- partitionFormat?: pulumi.Input<string>;
6704
+ mirrorHeaders?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectMirrorHeader>[]>;
5885
6705
  /**
5886
- * The top-level directory name of the storage bucket. All log data delivered through this delivery configuration will be delivered to this directory.
6706
+ * Whether to pass query parameters.
5887
6707
  */
5888
- prefix?: pulumi.Input<string>;
5889
- }
5890
- interface TopicTag {
6708
+ passQuery?: pulumi.Input<boolean>;
5891
6709
  /**
5892
- * The Key of Tags.
6710
+ * The private source configuration.
5893
6711
  */
5894
- key: pulumi.Input<string>;
6712
+ privateSources?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSource>[]>;
5895
6713
  /**
5896
- * The Value of Tags.
6714
+ * The public source configuration.
5897
6715
  */
5898
- value: pulumi.Input<string>;
5899
- }
5900
- interface TopicsTag {
6716
+ publicSource?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPublicSource>;
5901
6717
  /**
5902
- * The Key of Tags.
6718
+ * The type of redirect.
5903
6719
  */
5904
- key: string;
6720
+ redirectType?: pulumi.Input<string>;
5905
6721
  /**
5906
- * The Value of Tags.
6722
+ * The transform configuration.
5907
6723
  */
5908
- value: string;
6724
+ transform?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectTransform>;
5909
6725
  }
5910
- interface TopicsTagArgs {
6726
+ interface BucketMirrorBackRuleRedirectFetchHeaderToMetaDataRule {
5911
6727
  /**
5912
- * The Key of Tags.
6728
+ * The metadata suffix.
5913
6729
  */
5914
- key: pulumi.Input<string>;
6730
+ metaDataSuffix: pulumi.Input<string>;
5915
6731
  /**
5916
- * The Value of Tags.
6732
+ * The source header.
5917
6733
  */
5918
- value: pulumi.Input<string>;
6734
+ sourceHeader: pulumi.Input<string>;
5919
6735
  }
5920
- }
5921
- export declare namespace tos {
5922
- interface BucketAccountAcl {
6736
+ interface BucketMirrorBackRuleRedirectMirrorHeader {
5923
6737
  /**
5924
- * The accountId to control.
6738
+ * Whether to pass all headers.
5925
6739
  */
5926
- accountId: pulumi.Input<string>;
6740
+ passAll?: pulumi.Input<boolean>;
5927
6741
  /**
5928
- * The acl type to control.Valid value is CanonicalUser.
6742
+ * The headers to pass.
5929
6743
  */
5930
- aclType?: pulumi.Input<string>;
6744
+ passes?: pulumi.Input<pulumi.Input<string>[]>;
5931
6745
  /**
5932
- * The permission to control.Valid value is FULL_CONTROL|READ|READ_ACP|WRITE|WRITE_ACP.
6746
+ * The headers to remove.
5933
6747
  */
5934
- permission: pulumi.Input<string>;
6748
+ removes?: pulumi.Input<pulumi.Input<string>[]>;
6749
+ /**
6750
+ * The mirror header configuration.
6751
+ */
6752
+ sets?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectMirrorHeaderSet>[]>;
5935
6753
  }
5936
- interface BucketCorsCorsRule {
6754
+ interface BucketMirrorBackRuleRedirectMirrorHeaderSet {
5937
6755
  /**
5938
- * The list of headers that are allowed in a preflight request.
6756
+ * The key of the header.
5939
6757
  */
5940
- allowedHeaders?: pulumi.Input<pulumi.Input<string>[]>;
6758
+ key?: pulumi.Input<string>;
5941
6759
  /**
5942
- * The list of HTTP methods that are allowed in a preflight request. Valid values: `PUT`, `POST`, `DELETE`, `GET`, `HEAD`.
6760
+ * The value of the header.
5943
6761
  */
5944
- allowedMethods: pulumi.Input<pulumi.Input<string>[]>;
6762
+ value?: pulumi.Input<string>;
6763
+ }
6764
+ interface BucketMirrorBackRuleRedirectPrivateSource {
5945
6765
  /**
5946
- * The list of origins that are allowed to make requests to the bucket.
6766
+ * The source endpoint.
5947
6767
  */
5948
- allowedOrigins: pulumi.Input<pulumi.Input<string>[]>;
6768
+ sourceEndpoints?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpoint>[]>;
6769
+ }
6770
+ interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpoint {
5949
6771
  /**
5950
- * The list of headers that are exposed in the response to a preflight request. It is recommended to add two expose headers, X-Tos-Request-Id and ETag.
6772
+ * The follower endpoints.
5951
6773
  */
5952
- exposeHeaders?: pulumi.Input<pulumi.Input<string>[]>;
6774
+ followers?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollower>[]>;
5953
6775
  /**
5954
- * The maximum amount of time that a preflight request can be cached. Unit: second. Default value: 3600.
6776
+ * The primary endpoints.
5955
6777
  */
5956
- maxAgeSeconds?: pulumi.Input<number>;
6778
+ primaries?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimary>[]>;
6779
+ }
6780
+ interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollower {
5957
6781
  /**
5958
- * Indicates whether the bucket returns the 'Vary: Origin' header in the response to preflight requests. Default value: false.
6782
+ * The bucket name.
5959
6783
  */
5960
- responseVary?: pulumi.Input<boolean>;
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>;
5961
6793
  }
5962
- interface BucketEncryptionRule {
6794
+ interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollowerCredentialProvider {
5963
6795
  /**
5964
- * The server side encryption configuration.
6796
+ * The role.
5965
6797
  */
5966
- applyServerSideEncryptionByDefault: pulumi.Input<inputs.tos.BucketEncryptionRuleApplyServerSideEncryptionByDefault>;
6798
+ role?: pulumi.Input<string>;
5967
6799
  }
5968
- interface BucketEncryptionRuleApplyServerSideEncryptionByDefault {
6800
+ interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimary {
5969
6801
  /**
5970
- * The kms data encryption. Valid values: `AES256`, `SM4`. Default is `AES256`.
6802
+ * The bucket name.
5971
6803
  */
5972
- kmsDataEncryption?: pulumi.Input<string>;
6804
+ bucketName?: pulumi.Input<string>;
5973
6805
  /**
5974
- * The kms master key id. This field is required when `sseAlgorithm` is `kms`. The format is `trn:kms:<region>:<accountID>:keyrings/<keyring>/keys/<key>`.
6806
+ * The credential provider.
5975
6807
  */
5976
- kmsMasterKeyId?: pulumi.Input<string>;
6808
+ credentialProvider?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimaryCredentialProvider>;
5977
6809
  /**
5978
- * The server side encryption algorithm. Valid values: `kms`, `AES256`, `SM4`.
6810
+ * The endpoint.
5979
6811
  */
5980
- sseAlgorithm: pulumi.Input<string>;
6812
+ endpoint?: pulumi.Input<string>;
5981
6813
  }
5982
- interface BucketInventoryDestination {
6814
+ interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimaryCredentialProvider {
5983
6815
  /**
5984
- * The destination tos bucket information of the bucket inventory.
6816
+ * The role.
5985
6817
  */
5986
- tosBucketDestination: pulumi.Input<inputs.tos.BucketInventoryDestinationTosBucketDestination>;
6818
+ role?: pulumi.Input<string>;
5987
6819
  }
5988
- interface BucketInventoryDestinationTosBucketDestination {
6820
+ interface BucketMirrorBackRuleRedirectPublicSource {
5989
6821
  /**
5990
- * The account id of the destination tos bucket.
6822
+ * Whether the endpoint is fixed.
5991
6823
  */
5992
- accountId: pulumi.Input<string>;
6824
+ fixedEndpoint?: pulumi.Input<boolean>;
5993
6825
  /**
5994
- * The name of the destination tos bucket.
6826
+ * The source endpoint.
5995
6827
  */
5996
- bucket: pulumi.Input<string>;
6828
+ sourceEndpoint?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPublicSourceSourceEndpoint>;
6829
+ }
6830
+ interface BucketMirrorBackRuleRedirectPublicSourceSourceEndpoint {
5997
6831
  /**
5998
- * The format of the bucket inventory. Valid values: `CSV`.
6832
+ * The follower endpoints.
5999
6833
  */
6000
- format: pulumi.Input<string>;
6834
+ followers?: pulumi.Input<pulumi.Input<string>[]>;
6001
6835
  /**
6002
- * The storage path prefix of the bucket inventory in destination tos bucket.
6836
+ * The primary endpoints.
6003
6837
  */
6004
- prefix?: pulumi.Input<string>;
6838
+ primaries?: pulumi.Input<pulumi.Input<string>[]>;
6839
+ }
6840
+ interface BucketMirrorBackRuleRedirectTransform {
6005
6841
  /**
6006
- * The role name used to grant TOS access to read all files from the source bucket and write files to the destination bucket. You can use the default TOS role `TosArchiveTOSInventory`.
6842
+ * The replace key prefix configuration.
6007
6843
  */
6008
- role: pulumi.Input<string>;
6009
- }
6010
- interface BucketInventoryFilter {
6844
+ replaceKeyPrefix?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectTransformReplaceKeyPrefix>;
6011
6845
  /**
6012
- * The prefix matching information of the exported object. If not set, a list of all objects in the bucket will be generated by default.
6846
+ * The key prefix to add.
6013
6847
  */
6014
- prefix?: pulumi.Input<string>;
6015
- }
6016
- interface BucketInventoryOptionalFields {
6848
+ withKeyPrefix?: pulumi.Input<string>;
6017
6849
  /**
6018
- * The information exported from the bucket inventory. Valid values: `Size`, `LastModifiedDate`, `ETag`, `StorageClass`, `IsMultipartUploaded`, `EncryptionStatus`, `CRC64`, `ReplicationStatus`.
6850
+ * The key suffix to add.
6019
6851
  */
6020
- fields?: pulumi.Input<pulumi.Input<string>[]>;
6852
+ withKeySuffix?: pulumi.Input<string>;
6021
6853
  }
6022
- interface BucketInventorySchedule {
6854
+ interface BucketMirrorBackRuleRedirectTransformReplaceKeyPrefix {
6023
6855
  /**
6024
- * The export schedule of the bucket inventory. Valid values: `Daily`, `Weekly`.
6856
+ * The key prefix to replace.
6025
6857
  */
6026
- frequency: pulumi.Input<string>;
6858
+ keyPrefix?: pulumi.Input<string>;
6859
+ /**
6860
+ * The value to replace with.
6861
+ */
6862
+ replaceWith?: pulumi.Input<string>;
6027
6863
  }
6028
6864
  interface BucketNotificationRules {
6029
6865
  /**
@@ -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 {
@@ -8863,6 +9841,54 @@ export declare namespace vmp {
8863
9841
  */
8864
9842
  title: pulumi.Input<string>;
8865
9843
  }
9844
+ interface SilencePolicyMetricLabelMatcher {
9845
+ /**
9846
+ * Label matcher. Among them, each LabelMatcher array can contain a maximum of 24 items.
9847
+ */
9848
+ matchers: pulumi.Input<pulumi.Input<inputs.vmp.SilencePolicyMetricLabelMatcherMatcher>[]>;
9849
+ }
9850
+ interface SilencePolicyMetricLabelMatcherMatcher {
9851
+ /**
9852
+ * Label.
9853
+ */
9854
+ label: pulumi.Input<string>;
9855
+ /**
9856
+ * Operator. The optional values are as follows: Equal, NotEqual, RegexpEqual, RegexpNotEqual.
9857
+ */
9858
+ operator?: pulumi.Input<string>;
9859
+ /**
9860
+ * Label value.
9861
+ */
9862
+ value: pulumi.Input<string>;
9863
+ }
9864
+ interface SilencePolicyTimeRangeMatcher {
9865
+ /**
9866
+ * Silence time range, like 2025-01-02 15:04~2025-01-03 14:04.
9867
+ */
9868
+ date?: pulumi.Input<string>;
9869
+ /**
9870
+ * Timezone, e.g. Asia/Shanghai.
9871
+ */
9872
+ location: pulumi.Input<string>;
9873
+ /**
9874
+ * The cycle of alarm silence. It is used to configure alarm silence that takes effect periodically.
9875
+ */
9876
+ periodicDate?: pulumi.Input<inputs.vmp.SilencePolicyTimeRangeMatcherPeriodicDate>;
9877
+ }
9878
+ interface SilencePolicyTimeRangeMatcherPeriodicDate {
9879
+ /**
9880
+ * Days of month, e.g. 2~3. A maximum of 10 time periods can be configured.
9881
+ */
9882
+ dayOfMonth?: pulumi.Input<string>;
9883
+ /**
9884
+ * Time periods, e.g. 20:00~21:12,22:00~23:12. A maximum of 4 time periods can be configured.
9885
+ */
9886
+ time?: pulumi.Input<string>;
9887
+ /**
9888
+ * Weekdays, e.g. 1,3,5. A maximum of 7 time periods can be configured.
9889
+ */
9890
+ weekday?: pulumi.Input<string>;
9891
+ }
8866
9892
  interface WorkspaceTag {
8867
9893
  /**
8868
9894
  * The Key of Tags.