@volcengine/pulumi 0.0.38 → 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 (271) hide show
  1. package/nat/dnatEntry.d.ts +3 -3
  2. package/nat/gateway.d.ts +89 -5
  3. package/nat/gateway.js +70 -2
  4. package/nat/gateway.js.map +1 -1
  5. package/nat/getIps.d.ts +170 -0
  6. package/nat/getIps.js +111 -0
  7. package/nat/getIps.js.map +1 -0
  8. package/nat/index.d.ts +9 -0
  9. package/nat/index.js +12 -1
  10. package/nat/index.js.map +1 -1
  11. package/nat/ip.d.ts +157 -0
  12. package/nat/ip.js +113 -0
  13. package/nat/ip.js.map +1 -0
  14. package/nat/ips.d.ts +172 -0
  15. package/nat/ips.js +114 -0
  16. package/nat/ips.js.map +1 -0
  17. package/nat/snatEntry.d.ts +17 -5
  18. package/nat/snatEntry.js +2 -3
  19. package/nat/snatEntry.js.map +1 -1
  20. package/package.json +1 -1
  21. package/rds_postgresql/account.d.ts +20 -7
  22. package/rds_postgresql/account.js +6 -3
  23. package/rds_postgresql/account.js.map +1 -1
  24. package/rds_postgresql/allowlist.d.ts +76 -8
  25. package/rds_postgresql/allowlist.js +22 -7
  26. package/rds_postgresql/allowlist.js.map +1 -1
  27. package/rds_postgresql/allowlistVersionUpgrade.d.ts +59 -0
  28. package/rds_postgresql/allowlistVersionUpgrade.js +63 -0
  29. package/rds_postgresql/allowlistVersionUpgrade.js.map +1 -0
  30. package/rds_postgresql/allowlists.d.ts +73 -2
  31. package/rds_postgresql/allowlists.js +21 -2
  32. package/rds_postgresql/allowlists.js.map +1 -1
  33. package/rds_postgresql/backupDownload.d.ts +82 -0
  34. package/rds_postgresql/backupDownload.js +79 -0
  35. package/rds_postgresql/backupDownload.js.map +1 -0
  36. package/rds_postgresql/backupDownloads.d.ts +94 -0
  37. package/rds_postgresql/backupDownloads.js +52 -0
  38. package/rds_postgresql/backupDownloads.js.map +1 -0
  39. package/rds_postgresql/backupPolicies.d.ts +33 -0
  40. package/rds_postgresql/backupPolicies.js +23 -0
  41. package/rds_postgresql/backupPolicies.js.map +1 -0
  42. package/rds_postgresql/backupPolicy.d.ts +160 -0
  43. package/rds_postgresql/backupPolicy.js +94 -0
  44. package/rds_postgresql/backupPolicy.js.map +1 -0
  45. package/rds_postgresql/dataBackup.d.ts +163 -0
  46. package/rds_postgresql/dataBackup.js +109 -0
  47. package/rds_postgresql/dataBackup.js.map +1 -0
  48. package/rds_postgresql/dataBackups.d.ts +212 -0
  49. package/rds_postgresql/dataBackups.js +66 -0
  50. package/rds_postgresql/dataBackups.js.map +1 -0
  51. package/rds_postgresql/database.d.ts +43 -0
  52. package/rds_postgresql/database.js +13 -0
  53. package/rds_postgresql/database.js.map +1 -1
  54. package/rds_postgresql/databaseEndpoint.d.ts +280 -0
  55. package/rds_postgresql/databaseEndpoint.js +129 -0
  56. package/rds_postgresql/databaseEndpoint.js.map +1 -0
  57. package/rds_postgresql/databaseEndpoints.d.ts +88 -0
  58. package/rds_postgresql/databaseEndpoints.js +53 -0
  59. package/rds_postgresql/databaseEndpoints.js.map +1 -0
  60. package/rds_postgresql/endpointPublicAddress.d.ts +95 -0
  61. package/rds_postgresql/endpointPublicAddress.js +85 -0
  62. package/rds_postgresql/endpointPublicAddress.js.map +1 -0
  63. package/rds_postgresql/engineVersionParameters.d.ts +91 -0
  64. package/rds_postgresql/engineVersionParameters.js +52 -0
  65. package/rds_postgresql/engineVersionParameters.js.map +1 -0
  66. package/rds_postgresql/getAllowlists.d.ts +73 -2
  67. package/rds_postgresql/getAllowlists.js +21 -2
  68. package/rds_postgresql/getAllowlists.js.map +1 -1
  69. package/rds_postgresql/getBackupDownloads.d.ts +92 -0
  70. package/rds_postgresql/getBackupDownloads.js +49 -0
  71. package/rds_postgresql/getBackupDownloads.js.map +1 -0
  72. package/rds_postgresql/getBackupPolicies.d.ts +31 -0
  73. package/rds_postgresql/getBackupPolicies.js +20 -0
  74. package/rds_postgresql/getBackupPolicies.js.map +1 -0
  75. package/rds_postgresql/getDataBackups.d.ts +210 -0
  76. package/rds_postgresql/getDataBackups.js +63 -0
  77. package/rds_postgresql/getDataBackups.js.map +1 -0
  78. package/rds_postgresql/getDatabaseEndpoints.d.ts +86 -0
  79. package/rds_postgresql/getDatabaseEndpoints.js +50 -0
  80. package/rds_postgresql/getDatabaseEndpoints.js.map +1 -0
  81. package/rds_postgresql/getEngineVersionParameters.d.ts +89 -0
  82. package/rds_postgresql/getEngineVersionParameters.js +49 -0
  83. package/rds_postgresql/getEngineVersionParameters.js.map +1 -0
  84. package/rds_postgresql/getInstanceBackupDetacheds.d.ts +167 -0
  85. package/rds_postgresql/getInstanceBackupDetacheds.js +62 -0
  86. package/rds_postgresql/getInstanceBackupDetacheds.js.map +1 -0
  87. package/rds_postgresql/getInstanceBackupWalLogs.d.ts +111 -0
  88. package/rds_postgresql/getInstanceBackupWalLogs.js +55 -0
  89. package/rds_postgresql/getInstanceBackupWalLogs.js.map +1 -0
  90. package/rds_postgresql/getInstanceFailoverLogs.d.ts +108 -0
  91. package/rds_postgresql/getInstanceFailoverLogs.js +55 -0
  92. package/rds_postgresql/getInstanceFailoverLogs.js.map +1 -0
  93. package/rds_postgresql/getInstanceParameterLogs.d.ts +97 -0
  94. package/rds_postgresql/getInstanceParameterLogs.js +52 -0
  95. package/rds_postgresql/getInstanceParameterLogs.js.map +1 -0
  96. package/rds_postgresql/getInstanceParameters.d.ts +89 -0
  97. package/rds_postgresql/getInstanceParameters.js +49 -0
  98. package/rds_postgresql/getInstanceParameters.js.map +1 -0
  99. package/rds_postgresql/getInstancePriceDetails.d.ts +157 -0
  100. package/rds_postgresql/getInstancePriceDetails.js +103 -0
  101. package/rds_postgresql/getInstancePriceDetails.js.map +1 -0
  102. package/rds_postgresql/getInstancePriceDifferences.d.ts +172 -0
  103. package/rds_postgresql/getInstancePriceDifferences.js +94 -0
  104. package/rds_postgresql/getInstancePriceDifferences.js.map +1 -0
  105. package/rds_postgresql/getInstanceRecoverableTimes.d.ts +75 -0
  106. package/rds_postgresql/getInstanceRecoverableTimes.js +46 -0
  107. package/rds_postgresql/getInstanceRecoverableTimes.js.map +1 -0
  108. package/rds_postgresql/getInstanceSpecs.d.ts +120 -0
  109. package/rds_postgresql/getInstanceSpecs.js +56 -0
  110. package/rds_postgresql/getInstanceSpecs.js.map +1 -0
  111. package/rds_postgresql/getInstanceSsls.d.ts +101 -0
  112. package/rds_postgresql/getInstanceSsls.js +56 -0
  113. package/rds_postgresql/getInstanceSsls.js.map +1 -0
  114. package/rds_postgresql/getInstanceTasks.d.ts +160 -0
  115. package/rds_postgresql/getInstanceTasks.js +69 -0
  116. package/rds_postgresql/getInstanceTasks.js.map +1 -0
  117. package/rds_postgresql/getInstances.d.ts +24 -0
  118. package/rds_postgresql/getInstances.js +2 -0
  119. package/rds_postgresql/getInstances.js.map +1 -1
  120. package/rds_postgresql/getParameterTemplateApplyDiffs.d.ts +86 -0
  121. package/rds_postgresql/getParameterTemplateApplyDiffs.js +49 -0
  122. package/rds_postgresql/getParameterTemplateApplyDiffs.js.map +1 -0
  123. package/rds_postgresql/getParameterTemplates.d.ts +118 -0
  124. package/rds_postgresql/getParameterTemplates.js +54 -0
  125. package/rds_postgresql/getParameterTemplates.js.map +1 -0
  126. package/rds_postgresql/getPlannedEvents.d.ts +178 -0
  127. package/rds_postgresql/getPlannedEvents.js +71 -0
  128. package/rds_postgresql/getPlannedEvents.js.map +1 -0
  129. package/rds_postgresql/getRegions.d.ts +62 -0
  130. package/rds_postgresql/getRegions.js +42 -0
  131. package/rds_postgresql/getRegions.js.map +1 -0
  132. package/rds_postgresql/getReplicationSlots.d.ts +153 -0
  133. package/rds_postgresql/getReplicationSlots.js +59 -0
  134. package/rds_postgresql/getReplicationSlots.js.map +1 -0
  135. package/rds_postgresql/getZones.d.ts +71 -0
  136. package/rds_postgresql/getZones.js +43 -0
  137. package/rds_postgresql/getZones.js.map +1 -0
  138. package/rds_postgresql/index.d.ts +165 -0
  139. package/rds_postgresql/index.js +190 -1
  140. package/rds_postgresql/index.js.map +1 -1
  141. package/rds_postgresql/instance.d.ts +178 -11
  142. package/rds_postgresql/instance.js +50 -5
  143. package/rds_postgresql/instance.js.map +1 -1
  144. package/rds_postgresql/instanceBackupDetacheds.d.ts +169 -0
  145. package/rds_postgresql/instanceBackupDetacheds.js +65 -0
  146. package/rds_postgresql/instanceBackupDetacheds.js.map +1 -0
  147. package/rds_postgresql/instanceBackupWalLogs.d.ts +113 -0
  148. package/rds_postgresql/instanceBackupWalLogs.js +58 -0
  149. package/rds_postgresql/instanceBackupWalLogs.js.map +1 -0
  150. package/rds_postgresql/instanceFailoverLogs.d.ts +110 -0
  151. package/rds_postgresql/instanceFailoverLogs.js +58 -0
  152. package/rds_postgresql/instanceFailoverLogs.js.map +1 -0
  153. package/rds_postgresql/instanceParameterLogs.d.ts +99 -0
  154. package/rds_postgresql/instanceParameterLogs.js +55 -0
  155. package/rds_postgresql/instanceParameterLogs.js.map +1 -0
  156. package/rds_postgresql/instanceParameters.d.ts +91 -0
  157. package/rds_postgresql/instanceParameters.js +52 -0
  158. package/rds_postgresql/instanceParameters.js.map +1 -0
  159. package/rds_postgresql/instancePriceDetails.d.ts +159 -0
  160. package/rds_postgresql/instancePriceDetails.js +106 -0
  161. package/rds_postgresql/instancePriceDetails.js.map +1 -0
  162. package/rds_postgresql/instancePriceDifferences.d.ts +174 -0
  163. package/rds_postgresql/instancePriceDifferences.js +97 -0
  164. package/rds_postgresql/instancePriceDifferences.js.map +1 -0
  165. package/rds_postgresql/instanceRecoverableTimes.d.ts +77 -0
  166. package/rds_postgresql/instanceRecoverableTimes.js +49 -0
  167. package/rds_postgresql/instanceRecoverableTimes.js.map +1 -0
  168. package/rds_postgresql/instanceSpecs.d.ts +122 -0
  169. package/rds_postgresql/instanceSpecs.js +59 -0
  170. package/rds_postgresql/instanceSpecs.js.map +1 -0
  171. package/rds_postgresql/instanceSsl.d.ts +107 -0
  172. package/rds_postgresql/instanceSsl.js +81 -0
  173. package/rds_postgresql/instanceSsl.js.map +1 -0
  174. package/rds_postgresql/instanceSsls.d.ts +103 -0
  175. package/rds_postgresql/instanceSsls.js +59 -0
  176. package/rds_postgresql/instanceSsls.js.map +1 -0
  177. package/rds_postgresql/instanceTasks.d.ts +162 -0
  178. package/rds_postgresql/instanceTasks.js +72 -0
  179. package/rds_postgresql/instanceTasks.js.map +1 -0
  180. package/rds_postgresql/instances.d.ts +24 -0
  181. package/rds_postgresql/instances.js +2 -0
  182. package/rds_postgresql/instances.js.map +1 -1
  183. package/rds_postgresql/parameterTemplate.d.ts +178 -0
  184. package/rds_postgresql/parameterTemplate.js +117 -0
  185. package/rds_postgresql/parameterTemplate.js.map +1 -0
  186. package/rds_postgresql/parameterTemplateApplyDiffs.d.ts +88 -0
  187. package/rds_postgresql/parameterTemplateApplyDiffs.js +52 -0
  188. package/rds_postgresql/parameterTemplateApplyDiffs.js.map +1 -0
  189. package/rds_postgresql/parameterTemplates.d.ts +120 -0
  190. package/rds_postgresql/parameterTemplates.js +57 -0
  191. package/rds_postgresql/parameterTemplates.js.map +1 -0
  192. package/rds_postgresql/plannedEvents.d.ts +180 -0
  193. package/rds_postgresql/plannedEvents.js +74 -0
  194. package/rds_postgresql/plannedEvents.js.map +1 -0
  195. package/rds_postgresql/regions.d.ts +64 -0
  196. package/rds_postgresql/regions.js +45 -0
  197. package/rds_postgresql/regions.js.map +1 -0
  198. package/rds_postgresql/replicationSlot.d.ts +82 -0
  199. package/rds_postgresql/replicationSlot.js +79 -0
  200. package/rds_postgresql/replicationSlot.js.map +1 -0
  201. package/rds_postgresql/replicationSlots.d.ts +155 -0
  202. package/rds_postgresql/replicationSlots.js +62 -0
  203. package/rds_postgresql/replicationSlots.js.map +1 -0
  204. package/rds_postgresql/restoreBackup.d.ts +126 -0
  205. package/rds_postgresql/restoreBackup.js +100 -0
  206. package/rds_postgresql/restoreBackup.js.map +1 -0
  207. package/rds_postgresql/schema.d.ts +3 -3
  208. package/rds_postgresql/state.d.ts +106 -0
  209. package/rds_postgresql/state.js +83 -0
  210. package/rds_postgresql/state.js.map +1 -0
  211. package/rds_postgresql/zones.d.ts +73 -0
  212. package/rds_postgresql/zones.js +46 -0
  213. package/rds_postgresql/zones.js.map +1 -0
  214. package/tos/bucket.d.ts +16 -4
  215. package/tos/bucket.js +3 -1
  216. package/tos/bucket.js.map +1 -1
  217. package/tos/bucketAccessMonitor.d.ts +67 -0
  218. package/tos/bucketAccessMonitor.js +71 -0
  219. package/tos/bucketAccessMonitor.js.map +1 -0
  220. package/tos/bucketCustomdomain.d.ts +95 -0
  221. package/tos/bucketCustomdomain.js +90 -0
  222. package/tos/bucketCustomdomain.js.map +1 -0
  223. package/tos/bucketEncryption.d.ts +1 -1
  224. package/tos/bucketEncryption.js +1 -1
  225. package/tos/bucketLifecycle.d.ts +158 -0
  226. package/tos/bucketLifecycle.js +153 -0
  227. package/tos/bucketLifecycle.js.map +1 -0
  228. package/tos/bucketLogging.d.ts +88 -0
  229. package/tos/bucketLogging.js +80 -0
  230. package/tos/bucketLogging.js.map +1 -0
  231. package/tos/bucketMirrorBack.d.ts +72 -0
  232. package/tos/bucketMirrorBack.js +67 -0
  233. package/tos/bucketMirrorBack.js.map +1 -0
  234. package/tos/bucketObjectLockConfiguration.d.ts +89 -0
  235. package/tos/bucketObjectLockConfiguration.js +81 -0
  236. package/tos/bucketObjectLockConfiguration.js.map +1 -0
  237. package/tos/bucketRename.d.ts +67 -0
  238. package/tos/bucketRename.js +71 -0
  239. package/tos/bucketRename.js.map +1 -0
  240. package/tos/bucketReplication.d.ts +130 -0
  241. package/tos/bucketReplication.js +118 -0
  242. package/tos/bucketReplication.js.map +1 -0
  243. package/tos/bucketRequestPayment.d.ts +67 -0
  244. package/tos/bucketRequestPayment.js +71 -0
  245. package/tos/bucketRequestPayment.js.map +1 -0
  246. package/tos/bucketTransferAcceleration.d.ts +67 -0
  247. package/tos/bucketTransferAcceleration.js +71 -0
  248. package/tos/bucketTransferAcceleration.js.map +1 -0
  249. package/tos/bucketWebsite.d.ts +138 -0
  250. package/tos/bucketWebsite.js +103 -0
  251. package/tos/bucketWebsite.js.map +1 -0
  252. package/tos/buckets.d.ts +24 -0
  253. package/tos/buckets.js +2 -0
  254. package/tos/buckets.js.map +1 -1
  255. package/tos/getBuckets.d.ts +24 -0
  256. package/tos/getBuckets.js +2 -0
  257. package/tos/getBuckets.js.map +1 -1
  258. package/tos/index.d.ts +33 -0
  259. package/tos/index.js +56 -1
  260. package/tos/index.js.map +1 -1
  261. package/types/input.d.ts +1062 -84
  262. package/types/output.d.ts +3394 -466
  263. package/vpc/index.d.ts +3 -0
  264. package/vpc/index.js +6 -1
  265. package/vpc/index.js.map +1 -1
  266. package/vpc/userCidrBlockAssociate.d.ts +91 -0
  267. package/vpc/userCidrBlockAssociate.js +88 -0
  268. package/vpc/userCidrBlockAssociate.js.map +1 -0
  269. package/vpc/vpc.d.ts +8 -0
  270. package/vpc/vpc.js +2 -0
  271. package/vpc/vpc.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volcengine/pulumi",
3
- "version": "v0.0.38",
3
+ "version": "v0.0.40",
4
4
  "description": "A Pulumi package for creating and managing volcengine cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,14 +11,15 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * accountName: "acc-test-account",
12
12
  * accountPassword: "93c@*****!ab12",
13
13
  * accountType: "Super",
14
- * instanceId: "postgres-954*****7233",
14
+ * instanceId: "postgres-0ac38a79fe35",
15
15
  * });
16
16
  * const foo1 = new volcengine.rds_postgresql.Account("foo1", {
17
17
  * accountName: "acc-test-account1",
18
18
  * accountPassword: "9wc@****b12",
19
- * accountPrivileges: "Inherit,Login,CreateRole,CreateDB",
19
+ * accountPrivileges: "Login,Inherit",
20
20
  * accountType: "Normal",
21
- * instanceId: "postgres-95*****7233",
21
+ * instanceId: "postgres-0ac38a79fe35",
22
+ * notAllowPrivileges: ["DDL"],
22
23
  * });
23
24
  * ```
24
25
  *
@@ -55,9 +56,9 @@ export declare class Account extends pulumi.CustomResource {
55
56
  */
56
57
  readonly accountPassword: pulumi.Output<string>;
57
58
  /**
58
- * The privilege information of account. When the account type is a super account, there is no need to pass in this parameter, and all privileges are supported by default. When the account type is a normal account, this parameter can be passed in, the default values are Login and Inherit.
59
+ * The privilege information of account. When the account type is a super account, there is no need to pass in this parameter, and all privileges are supported by default. When the account type is a normal account, this parameter can be passed in, the default values are Login and Inherit.When the account type is an instance read-only account, this parameter is not required to be passed in, as this account type does not support permission granting.
59
60
  */
60
- readonly accountPrivileges: pulumi.Output<string>;
61
+ readonly accountPrivileges: pulumi.Output<string | undefined>;
61
62
  /**
62
63
  * The status of the database account.
63
64
  */
@@ -72,6 +73,10 @@ export declare class Account extends pulumi.CustomResource {
72
73
  * The ID of the RDS instance.
73
74
  */
74
75
  readonly instanceId: pulumi.Output<string>;
76
+ /**
77
+ * The permissions to be disabled for the account. Only the DDL permission is supported for the moment. This field can only be passed in for high-privilege accounts or normal accounts, i.e., when the accountType is set to Super or Normal.
78
+ */
79
+ readonly notAllowPrivileges: pulumi.Output<string[] | undefined>;
75
80
  /**
76
81
  * Create a Account resource with the given unique name, arguments, and options.
77
82
  *
@@ -94,7 +99,7 @@ export interface AccountState {
94
99
  */
95
100
  accountPassword?: pulumi.Input<string>;
96
101
  /**
97
- * The privilege information of account. When the account type is a super account, there is no need to pass in this parameter, and all privileges are supported by default. When the account type is a normal account, this parameter can be passed in, the default values are Login and Inherit.
102
+ * The privilege information of account. When the account type is a super account, there is no need to pass in this parameter, and all privileges are supported by default. When the account type is a normal account, this parameter can be passed in, the default values are Login and Inherit.When the account type is an instance read-only account, this parameter is not required to be passed in, as this account type does not support permission granting.
98
103
  */
99
104
  accountPrivileges?: pulumi.Input<string>;
100
105
  /**
@@ -111,6 +116,10 @@ export interface AccountState {
111
116
  * The ID of the RDS instance.
112
117
  */
113
118
  instanceId?: pulumi.Input<string>;
119
+ /**
120
+ * The permissions to be disabled for the account. Only the DDL permission is supported for the moment. This field can only be passed in for high-privilege accounts or normal accounts, i.e., when the accountType is set to Super or Normal.
121
+ */
122
+ notAllowPrivileges?: pulumi.Input<pulumi.Input<string>[]>;
114
123
  }
115
124
  /**
116
125
  * The set of arguments for constructing a Account resource.
@@ -125,7 +134,7 @@ export interface AccountArgs {
125
134
  */
126
135
  accountPassword: pulumi.Input<string>;
127
136
  /**
128
- * The privilege information of account. When the account type is a super account, there is no need to pass in this parameter, and all privileges are supported by default. When the account type is a normal account, this parameter can be passed in, the default values are Login and Inherit.
137
+ * The privilege information of account. When the account type is a super account, there is no need to pass in this parameter, and all privileges are supported by default. When the account type is a normal account, this parameter can be passed in, the default values are Login and Inherit.When the account type is an instance read-only account, this parameter is not required to be passed in, as this account type does not support permission granting.
129
138
  */
130
139
  accountPrivileges?: pulumi.Input<string>;
131
140
  /**
@@ -138,4 +147,8 @@ export interface AccountArgs {
138
147
  * The ID of the RDS instance.
139
148
  */
140
149
  instanceId: pulumi.Input<string>;
150
+ /**
151
+ * The permissions to be disabled for the account. Only the DDL permission is supported for the moment. This field can only be passed in for high-privilege accounts or normal accounts, i.e., when the accountType is set to Super or Normal.
152
+ */
153
+ notAllowPrivileges?: pulumi.Input<pulumi.Input<string>[]>;
141
154
  }
@@ -17,14 +17,15 @@ const utilities = require("../utilities");
17
17
  * accountName: "acc-test-account",
18
18
  * accountPassword: "93c@*****!ab12",
19
19
  * accountType: "Super",
20
- * instanceId: "postgres-954*****7233",
20
+ * instanceId: "postgres-0ac38a79fe35",
21
21
  * });
22
22
  * const foo1 = new volcengine.rds_postgresql.Account("foo1", {
23
23
  * accountName: "acc-test-account1",
24
24
  * accountPassword: "9wc@****b12",
25
- * accountPrivileges: "Inherit,Login,CreateRole,CreateDB",
25
+ * accountPrivileges: "Login,Inherit",
26
26
  * accountType: "Normal",
27
- * instanceId: "postgres-95*****7233",
27
+ * instanceId: "postgres-0ac38a79fe35",
28
+ * notAllowPrivileges: ["DDL"],
28
29
  * });
29
30
  * ```
30
31
  *
@@ -70,6 +71,7 @@ class Account extends pulumi.CustomResource {
70
71
  resourceInputs["accountStatus"] = state ? state.accountStatus : undefined;
71
72
  resourceInputs["accountType"] = state ? state.accountType : undefined;
72
73
  resourceInputs["instanceId"] = state ? state.instanceId : undefined;
74
+ resourceInputs["notAllowPrivileges"] = state ? state.notAllowPrivileges : undefined;
73
75
  }
74
76
  else {
75
77
  const args = argsOrState;
@@ -90,6 +92,7 @@ class Account extends pulumi.CustomResource {
90
92
  resourceInputs["accountPrivileges"] = args ? args.accountPrivileges : undefined;
91
93
  resourceInputs["accountType"] = args ? args.accountType : undefined;
92
94
  resourceInputs["instanceId"] = args ? args.instanceId : undefined;
95
+ resourceInputs["notAllowPrivileges"] = args ? args.notAllowPrivileges : undefined;
93
96
  resourceInputs["accountStatus"] = undefined /*out*/;
94
97
  }
95
98
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"account.js","sourceRoot":"","sources":["../../rds_postgresql/account.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,c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EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAzGL,0BA0GC;AA5FG,gBAAgB;AACO,oBAAY,GAAG,2CAA2C,CAAC"}
@@ -10,13 +10,21 @@ import * as outputs from "../types/output";
10
10
  * import * as volcengine from "@volcengine/pulumi";
11
11
  *
12
12
  * const foo = new volcengine.rds_postgresql.Allowlist("foo", {
13
- * allowLists: [
14
- * "192.168.0.0/24",
15
- * "192.168.1.0/24",
16
- * ],
13
+ * allowLists: ["10.0.0.0/24"],
17
14
  * allowListDesc: "acc-test",
18
15
  * allowListName: "acc-test-allowlist",
19
16
  * allowListType: "IPv4",
17
+ * securityGroupBindInfos: [{
18
+ * bindMode: "IngressDirectionIp",
19
+ * securityGroupId: "sg-1jojfhw8rca9s1n7ampztrq6w",
20
+ * }],
21
+ * });
22
+ * const example = new volcengine.rds_postgresql.Allowlist("example", {
23
+ * allowListName: "unify_new",
24
+ * instanceIds: [
25
+ * "postgres-72715e0d9f58",
26
+ * "postgres-eb3a578a6d73",
27
+ * ],
20
28
  * });
21
29
  * ```
22
30
  *
@@ -44,6 +52,10 @@ export declare class Allowlist extends pulumi.CustomResource {
44
52
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
53
  */
46
54
  static isInstance(obj: any): obj is Allowlist;
55
+ /**
56
+ * The category of the allow list. Valid values: Ordinary, Default. When this parameter is used as a request parameter, there is no default value.
57
+ */
58
+ readonly allowListCategory: pulumi.Output<string>;
47
59
  /**
48
60
  * The description of the postgresql allow list.
49
61
  */
@@ -57,7 +69,7 @@ export declare class Allowlist extends pulumi.CustomResource {
57
69
  */
58
70
  readonly allowListType: pulumi.Output<string>;
59
71
  /**
60
- * Enter an IP address or a range of IP addresses in CIDR format.
72
+ * Enter an IP address or a range of IP addresses in CIDR format. This field cannot be used together with the userAllowList field.
61
73
  */
62
74
  readonly allowLists: pulumi.Output<string[]>;
63
75
  /**
@@ -68,6 +80,22 @@ export declare class Allowlist extends pulumi.CustomResource {
68
80
  * The list of postgresql instances.
69
81
  */
70
82
  readonly associatedInstances: pulumi.Output<outputs.rds_postgresql.AllowlistAssociatedInstance[]>;
83
+ /**
84
+ * IDs of PostgreSQL instances to unify allowlists. When set, creation uses UnifyNewAllowList to merge existing instance allowlists into a new one. Supports merging and generating allowlists of up to 300 instances.
85
+ */
86
+ readonly instanceIds: pulumi.Output<string[]>;
87
+ /**
88
+ * The information of security groups to bind with the allow list.
89
+ */
90
+ readonly securityGroupBindInfos: pulumi.Output<outputs.rds_postgresql.AllowlistSecurityGroupBindInfo[] | undefined>;
91
+ /**
92
+ * Whether to update the security groups bound to the allowlist when modifying.
93
+ */
94
+ readonly updateSecurityGroup: pulumi.Output<boolean | undefined>;
95
+ /**
96
+ * IP addresses outside security groups to be added to the allowlist. Cannot be used with allow_list.
97
+ */
98
+ readonly userAllowLists: pulumi.Output<string[]>;
71
99
  /**
72
100
  * Create a Allowlist resource with the given unique name, arguments, and options.
73
101
  *
@@ -81,6 +109,10 @@ export declare class Allowlist extends pulumi.CustomResource {
81
109
  * Input properties used for looking up and filtering Allowlist resources.
82
110
  */
83
111
  export interface AllowlistState {
112
+ /**
113
+ * The category of the allow list. Valid values: Ordinary, Default. When this parameter is used as a request parameter, there is no default value.
114
+ */
115
+ allowListCategory?: pulumi.Input<string>;
84
116
  /**
85
117
  * The description of the postgresql allow list.
86
118
  */
@@ -94,7 +126,7 @@ export interface AllowlistState {
94
126
  */
95
127
  allowListType?: pulumi.Input<string>;
96
128
  /**
97
- * Enter an IP address or a range of IP addresses in CIDR format.
129
+ * Enter an IP address or a range of IP addresses in CIDR format. This field cannot be used together with the userAllowList field.
98
130
  */
99
131
  allowLists?: pulumi.Input<pulumi.Input<string>[]>;
100
132
  /**
@@ -105,11 +137,31 @@ export interface AllowlistState {
105
137
  * The list of postgresql instances.
106
138
  */
107
139
  associatedInstances?: pulumi.Input<pulumi.Input<inputs.rds_postgresql.AllowlistAssociatedInstance>[]>;
140
+ /**
141
+ * IDs of PostgreSQL instances to unify allowlists. When set, creation uses UnifyNewAllowList to merge existing instance allowlists into a new one. Supports merging and generating allowlists of up to 300 instances.
142
+ */
143
+ instanceIds?: pulumi.Input<pulumi.Input<string>[]>;
144
+ /**
145
+ * The information of security groups to bind with the allow list.
146
+ */
147
+ securityGroupBindInfos?: pulumi.Input<pulumi.Input<inputs.rds_postgresql.AllowlistSecurityGroupBindInfo>[]>;
148
+ /**
149
+ * Whether to update the security groups bound to the allowlist when modifying.
150
+ */
151
+ updateSecurityGroup?: pulumi.Input<boolean>;
152
+ /**
153
+ * IP addresses outside security groups to be added to the allowlist. Cannot be used with allow_list.
154
+ */
155
+ userAllowLists?: pulumi.Input<pulumi.Input<string>[]>;
108
156
  }
109
157
  /**
110
158
  * The set of arguments for constructing a Allowlist resource.
111
159
  */
112
160
  export interface AllowlistArgs {
161
+ /**
162
+ * The category of the allow list. Valid values: Ordinary, Default. When this parameter is used as a request parameter, there is no default value.
163
+ */
164
+ allowListCategory?: pulumi.Input<string>;
113
165
  /**
114
166
  * The description of the postgresql allow list.
115
167
  */
@@ -123,7 +175,23 @@ export interface AllowlistArgs {
123
175
  */
124
176
  allowListType?: pulumi.Input<string>;
125
177
  /**
126
- * Enter an IP address or a range of IP addresses in CIDR format.
178
+ * Enter an IP address or a range of IP addresses in CIDR format. This field cannot be used together with the userAllowList field.
179
+ */
180
+ allowLists?: pulumi.Input<pulumi.Input<string>[]>;
181
+ /**
182
+ * IDs of PostgreSQL instances to unify allowlists. When set, creation uses UnifyNewAllowList to merge existing instance allowlists into a new one. Supports merging and generating allowlists of up to 300 instances.
183
+ */
184
+ instanceIds?: pulumi.Input<pulumi.Input<string>[]>;
185
+ /**
186
+ * The information of security groups to bind with the allow list.
187
+ */
188
+ securityGroupBindInfos?: pulumi.Input<pulumi.Input<inputs.rds_postgresql.AllowlistSecurityGroupBindInfo>[]>;
189
+ /**
190
+ * Whether to update the security groups bound to the allowlist when modifying.
191
+ */
192
+ updateSecurityGroup?: pulumi.Input<boolean>;
193
+ /**
194
+ * IP addresses outside security groups to be added to the allowlist. Cannot be used with allow_list.
127
195
  */
128
- allowLists: pulumi.Input<pulumi.Input<string>[]>;
196
+ userAllowLists?: pulumi.Input<pulumi.Input<string>[]>;
129
197
  }
@@ -14,13 +14,21 @@ const utilities = require("../utilities");
14
14
  * import * as volcengine from "@volcengine/pulumi";
15
15
  *
16
16
  * const foo = new volcengine.rds_postgresql.Allowlist("foo", {
17
- * allowLists: [
18
- * "192.168.0.0/24",
19
- * "192.168.1.0/24",
20
- * ],
17
+ * allowLists: ["10.0.0.0/24"],
21
18
  * allowListDesc: "acc-test",
22
19
  * allowListName: "acc-test-allowlist",
23
20
  * allowListType: "IPv4",
21
+ * securityGroupBindInfos: [{
22
+ * bindMode: "IngressDirectionIp",
23
+ * securityGroupId: "sg-1jojfhw8rca9s1n7ampztrq6w",
24
+ * }],
25
+ * });
26
+ * const example = new volcengine.rds_postgresql.Allowlist("example", {
27
+ * allowListName: "unify_new",
28
+ * instanceIds: [
29
+ * "postgres-72715e0d9f58",
30
+ * "postgres-eb3a578a6d73",
31
+ * ],
24
32
  * });
25
33
  * ```
26
34
  *
@@ -60,25 +68,32 @@ class Allowlist extends pulumi.CustomResource {
60
68
  opts = opts || {};
61
69
  if (opts.id) {
62
70
  const state = argsOrState;
71
+ resourceInputs["allowListCategory"] = state ? state.allowListCategory : undefined;
63
72
  resourceInputs["allowListDesc"] = state ? state.allowListDesc : undefined;
64
73
  resourceInputs["allowListName"] = state ? state.allowListName : undefined;
65
74
  resourceInputs["allowListType"] = state ? state.allowListType : undefined;
66
75
  resourceInputs["allowLists"] = state ? state.allowLists : undefined;
67
76
  resourceInputs["associatedInstanceNum"] = state ? state.associatedInstanceNum : undefined;
68
77
  resourceInputs["associatedInstances"] = state ? state.associatedInstances : undefined;
78
+ resourceInputs["instanceIds"] = state ? state.instanceIds : undefined;
79
+ resourceInputs["securityGroupBindInfos"] = state ? state.securityGroupBindInfos : undefined;
80
+ resourceInputs["updateSecurityGroup"] = state ? state.updateSecurityGroup : undefined;
81
+ resourceInputs["userAllowLists"] = state ? state.userAllowLists : undefined;
69
82
  }
70
83
  else {
71
84
  const args = argsOrState;
72
85
  if ((!args || args.allowListName === undefined) && !opts.urn) {
73
86
  throw new Error("Missing required property 'allowListName'");
74
87
  }
75
- if ((!args || args.allowLists === undefined) && !opts.urn) {
76
- throw new Error("Missing required property 'allowLists'");
77
- }
88
+ resourceInputs["allowListCategory"] = args ? args.allowListCategory : undefined;
78
89
  resourceInputs["allowListDesc"] = args ? args.allowListDesc : undefined;
79
90
  resourceInputs["allowListName"] = args ? args.allowListName : undefined;
80
91
  resourceInputs["allowListType"] = args ? args.allowListType : undefined;
81
92
  resourceInputs["allowLists"] = args ? args.allowLists : undefined;
93
+ resourceInputs["instanceIds"] = args ? args.instanceIds : undefined;
94
+ resourceInputs["securityGroupBindInfos"] = args ? args.securityGroupBindInfos : undefined;
95
+ resourceInputs["updateSecurityGroup"] = args ? args.updateSecurityGroup : undefined;
96
+ resourceInputs["userAllowLists"] = args ? args.userAllowLists : undefined;
82
97
  resourceInputs["associatedInstanceNum"] = undefined /*out*/;
83
98
  resourceInputs["associatedInstances"] = undefined /*out*/;
84
99
  }
@@ -1 +1 @@
1
- {"version":3,"file":"allowlist.js","sourceRoot":"","sources":["../../rds_postgresql/allowlist.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAA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I,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AApHL,8BAqHC;AAvGG,gBAAgB;AACO,sBAAY,GAAG,+CAA+C,CAAC"}
@@ -0,0 +1,59 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage rds postgresql allowlist version upgrade
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const example = new volcengine.rds_postgresql.AllowlistVersionUpgrade("example", {instanceId: "postgres-72715e0d9f58"});
11
+ * ```
12
+ */
13
+ export declare class AllowlistVersionUpgrade extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing AllowlistVersionUpgrade resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AllowlistVersionUpgradeState, opts?: pulumi.CustomResourceOptions): AllowlistVersionUpgrade;
24
+ /**
25
+ * Returns true if the given object is an instance of AllowlistVersionUpgrade. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is AllowlistVersionUpgrade;
29
+ /**
30
+ * The id of the postgresql instance to upgrade allowlist version.
31
+ */
32
+ readonly instanceId: pulumi.Output<string>;
33
+ /**
34
+ * Create a AllowlistVersionUpgrade resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name: string, args: AllowlistVersionUpgradeArgs, opts?: pulumi.CustomResourceOptions);
41
+ }
42
+ /**
43
+ * Input properties used for looking up and filtering AllowlistVersionUpgrade resources.
44
+ */
45
+ export interface AllowlistVersionUpgradeState {
46
+ /**
47
+ * The id of the postgresql instance to upgrade allowlist version.
48
+ */
49
+ instanceId?: pulumi.Input<string>;
50
+ }
51
+ /**
52
+ * The set of arguments for constructing a AllowlistVersionUpgrade resource.
53
+ */
54
+ export interface AllowlistVersionUpgradeArgs {
55
+ /**
56
+ * The id of the postgresql instance to upgrade allowlist version.
57
+ */
58
+ instanceId: pulumi.Input<string>;
59
+ }
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.AllowlistVersionUpgrade = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage rds postgresql allowlist version upgrade
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const example = new volcengine.rds_postgresql.AllowlistVersionUpgrade("example", {instanceId: "postgres-72715e0d9f58"});
17
+ * ```
18
+ */
19
+ class AllowlistVersionUpgrade extends pulumi.CustomResource {
20
+ /**
21
+ * Get an existing AllowlistVersionUpgrade resource's state with the given name, ID, and optional extra
22
+ * properties used to qualify the lookup.
23
+ *
24
+ * @param name The _unique_ name of the resulting resource.
25
+ * @param id The _unique_ provider ID of the resource to lookup.
26
+ * @param state Any extra arguments used during the lookup.
27
+ * @param opts Optional settings to control the behavior of the CustomResource.
28
+ */
29
+ static get(name, id, state, opts) {
30
+ return new AllowlistVersionUpgrade(name, state, Object.assign(Object.assign({}, opts), { id: id }));
31
+ }
32
+ /**
33
+ * Returns true if the given object is an instance of AllowlistVersionUpgrade. This is designed to work even
34
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
35
+ */
36
+ static isInstance(obj) {
37
+ if (obj === undefined || obj === null) {
38
+ return false;
39
+ }
40
+ return obj['__pulumiType'] === AllowlistVersionUpgrade.__pulumiType;
41
+ }
42
+ constructor(name, argsOrState, opts) {
43
+ let resourceInputs = {};
44
+ opts = opts || {};
45
+ if (opts.id) {
46
+ const state = argsOrState;
47
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
48
+ }
49
+ else {
50
+ const args = argsOrState;
51
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
52
+ throw new Error("Missing required property 'instanceId'");
53
+ }
54
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
55
+ }
56
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
57
+ super(AllowlistVersionUpgrade.__pulumiType, name, resourceInputs, opts);
58
+ }
59
+ }
60
+ exports.AllowlistVersionUpgrade = AllowlistVersionUpgrade;
61
+ /** @internal */
62
+ AllowlistVersionUpgrade.__pulumiType = 'volcengine:rds_postgresql/allowlistVersionUpgrade:AllowlistVersionUpgrade';
63
+ //# sourceMappingURL=allowlistVersionUpgrade.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowlistVersionUpgrade.js","sourceRoot":"","sources":["../../rds_postgresql/allowlistVersionUpgrade.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IAeD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;aAAM;YACH,MAAM,IAAI,GAAG,WAAsD,CAAC;YACpE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAxDL,0DAyDC;AA3CG,gBAAgB;AACO,oCAAY,GAAG,2EAA2E,CAAC"}
@@ -8,7 +8,14 @@ import * as outputs from "../types/output";
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as volcengine from "@pulumi/volcengine";
10
10
  *
11
- * const foo = volcengine.rds_postgresql.getAllowlists({});
11
+ * const default = volcengine.rds_postgresql.getAllowlists({
12
+ * allowListCategory: "Ordinary",
13
+ * allowListDesc: "test allow list",
14
+ * allowListId: "acl-e7846436e1e741edbd385868fa657436",
15
+ * allowListName: "test",
16
+ * ipAddress: "100.64.0.0/10",
17
+ * nameRegex: ".*allowlist.*",
18
+ * });
12
19
  * ```
13
20
  */
14
21
  /** @deprecated volcengine.rds_postgresql.Allowlists has been deprecated in favor of volcengine.rds_postgresql.getAllowlists */
@@ -17,10 +24,30 @@ export declare function allowlists(args?: AllowlistsArgs, opts?: pulumi.InvokeOp
17
24
  * A collection of arguments for invoking Allowlists.
18
25
  */
19
26
  export interface AllowlistsArgs {
27
+ /**
28
+ * The category of the postgresql allow list. Valid values: Ordinary, Default.
29
+ */
30
+ allowListCategory?: string;
31
+ /**
32
+ * The description of the postgresql allow list. Perform a fuzzy search based on the description information.
33
+ */
34
+ allowListDesc?: string;
35
+ /**
36
+ * The id of the postgresql allow list.
37
+ */
38
+ allowListId?: string;
39
+ /**
40
+ * The name of the postgresql allow list.
41
+ */
42
+ allowListName?: string;
20
43
  /**
21
44
  * The id of the postgresql Instance.
22
45
  */
23
46
  instanceId?: string;
47
+ /**
48
+ * The IP address to be added to the allow list.
49
+ */
50
+ ipAddress?: string;
24
51
  /**
25
52
  * A Name Regex of Resource.
26
53
  */
@@ -34,6 +61,22 @@ export interface AllowlistsArgs {
34
61
  * A collection of values returned by Allowlists.
35
62
  */
36
63
  export interface AllowlistsResult {
64
+ /**
65
+ * The category of the postgresql allow list.
66
+ */
67
+ readonly allowListCategory?: string;
68
+ /**
69
+ * The description of the postgresql allow list.
70
+ */
71
+ readonly allowListDesc?: string;
72
+ /**
73
+ * The id of the postgresql allow list.
74
+ */
75
+ readonly allowListId?: string;
76
+ /**
77
+ * The name of the postgresql allow list.
78
+ */
79
+ readonly allowListName?: string;
37
80
  /**
38
81
  * The provider-assigned unique ID for this managed resource.
39
82
  */
@@ -42,6 +85,7 @@ export interface AllowlistsResult {
42
85
  * The id of the postgresql instance.
43
86
  */
44
87
  readonly instanceId?: string;
88
+ readonly ipAddress?: string;
45
89
  readonly nameRegex?: string;
46
90
  readonly outputFile?: string;
47
91
  /**
@@ -61,7 +105,14 @@ export interface AllowlistsResult {
61
105
  * import * as pulumi from "@pulumi/pulumi";
62
106
  * import * as volcengine from "@pulumi/volcengine";
63
107
  *
64
- * const foo = volcengine.rds_postgresql.getAllowlists({});
108
+ * const default = volcengine.rds_postgresql.getAllowlists({
109
+ * allowListCategory: "Ordinary",
110
+ * allowListDesc: "test allow list",
111
+ * allowListId: "acl-e7846436e1e741edbd385868fa657436",
112
+ * allowListName: "test",
113
+ * ipAddress: "100.64.0.0/10",
114
+ * nameRegex: ".*allowlist.*",
115
+ * });
65
116
  * ```
66
117
  */
67
118
  /** @deprecated volcengine.rds_postgresql.Allowlists has been deprecated in favor of volcengine.rds_postgresql.getAllowlists */
@@ -70,10 +121,30 @@ export declare function allowlistsOutput(args?: AllowlistsOutputArgs, opts?: pul
70
121
  * A collection of arguments for invoking Allowlists.
71
122
  */
72
123
  export interface AllowlistsOutputArgs {
124
+ /**
125
+ * The category of the postgresql allow list. Valid values: Ordinary, Default.
126
+ */
127
+ allowListCategory?: pulumi.Input<string>;
128
+ /**
129
+ * The description of the postgresql allow list. Perform a fuzzy search based on the description information.
130
+ */
131
+ allowListDesc?: pulumi.Input<string>;
132
+ /**
133
+ * The id of the postgresql allow list.
134
+ */
135
+ allowListId?: pulumi.Input<string>;
136
+ /**
137
+ * The name of the postgresql allow list.
138
+ */
139
+ allowListName?: pulumi.Input<string>;
73
140
  /**
74
141
  * The id of the postgresql Instance.
75
142
  */
76
143
  instanceId?: pulumi.Input<string>;
144
+ /**
145
+ * The IP address to be added to the allow list.
146
+ */
147
+ ipAddress?: pulumi.Input<string>;
77
148
  /**
78
149
  * A Name Regex of Resource.
79
150
  */
@@ -13,7 +13,14 @@ const utilities = require("../utilities");
13
13
  * import * as pulumi from "@pulumi/pulumi";
14
14
  * import * as volcengine from "@pulumi/volcengine";
15
15
  *
16
- * const foo = volcengine.rds_postgresql.getAllowlists({});
16
+ * const default = volcengine.rds_postgresql.getAllowlists({
17
+ * allowListCategory: "Ordinary",
18
+ * allowListDesc: "test allow list",
19
+ * allowListId: "acl-e7846436e1e741edbd385868fa657436",
20
+ * allowListName: "test",
21
+ * ipAddress: "100.64.0.0/10",
22
+ * nameRegex: ".*allowlist.*",
23
+ * });
17
24
  * ```
18
25
  */
19
26
  /** @deprecated volcengine.rds_postgresql.Allowlists has been deprecated in favor of volcengine.rds_postgresql.getAllowlists */
@@ -22,7 +29,12 @@ function allowlists(args, opts) {
22
29
  args = args || {};
23
30
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
31
  return pulumi.runtime.invoke("volcengine:rds_postgresql/allowlists:Allowlists", {
32
+ "allowListCategory": args.allowListCategory,
33
+ "allowListDesc": args.allowListDesc,
34
+ "allowListId": args.allowListId,
35
+ "allowListName": args.allowListName,
25
36
  "instanceId": args.instanceId,
37
+ "ipAddress": args.ipAddress,
26
38
  "nameRegex": args.nameRegex,
27
39
  "outputFile": args.outputFile,
28
40
  }, opts);
@@ -36,7 +48,14 @@ exports.allowlists = allowlists;
36
48
  * import * as pulumi from "@pulumi/pulumi";
37
49
  * import * as volcengine from "@pulumi/volcengine";
38
50
  *
39
- * const foo = volcengine.rds_postgresql.getAllowlists({});
51
+ * const default = volcengine.rds_postgresql.getAllowlists({
52
+ * allowListCategory: "Ordinary",
53
+ * allowListDesc: "test allow list",
54
+ * allowListId: "acl-e7846436e1e741edbd385868fa657436",
55
+ * allowListName: "test",
56
+ * ipAddress: "100.64.0.0/10",
57
+ * nameRegex: ".*allowlist.*",
58
+ * });
40
59
  * ```
41
60
  */
42
61
  /** @deprecated volcengine.rds_postgresql.Allowlists has been deprecated in favor of volcengine.rds_postgresql.getAllowlists */