@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
@@ -18,6 +18,13 @@ const utilities = require("../utilities");
18
18
  * collate: "zh_CN.utf8",
19
19
  * dbName: "acc-test",
20
20
  * instanceId: "postgres-95*******233",
21
+ * owner: "super",
22
+ * });
23
+ * const cloneExample = new volcengine.rds_postgresql.Database("cloneExample", {
24
+ * dataOption: "Metadata",
25
+ * dbName: "clone-test",
26
+ * instanceId: "postgres-95*******233",
27
+ * sourceDbName: "acc-test",
21
28
  * });
22
29
  * ```
23
30
  *
@@ -60,10 +67,13 @@ class Database extends pulumi.CustomResource {
60
67
  resourceInputs["cType"] = state ? state.cType : undefined;
61
68
  resourceInputs["characterSetName"] = state ? state.characterSetName : undefined;
62
69
  resourceInputs["collate"] = state ? state.collate : undefined;
70
+ resourceInputs["dataOption"] = state ? state.dataOption : undefined;
63
71
  resourceInputs["dbName"] = state ? state.dbName : undefined;
64
72
  resourceInputs["dbStatus"] = state ? state.dbStatus : undefined;
65
73
  resourceInputs["instanceId"] = state ? state.instanceId : undefined;
66
74
  resourceInputs["owner"] = state ? state.owner : undefined;
75
+ resourceInputs["plpgsqlOptions"] = state ? state.plpgsqlOptions : undefined;
76
+ resourceInputs["sourceDbName"] = state ? state.sourceDbName : undefined;
67
77
  }
68
78
  else {
69
79
  const args = argsOrState;
@@ -76,9 +86,12 @@ class Database extends pulumi.CustomResource {
76
86
  resourceInputs["cType"] = args ? args.cType : undefined;
77
87
  resourceInputs["characterSetName"] = args ? args.characterSetName : undefined;
78
88
  resourceInputs["collate"] = args ? args.collate : undefined;
89
+ resourceInputs["dataOption"] = args ? args.dataOption : undefined;
79
90
  resourceInputs["dbName"] = args ? args.dbName : undefined;
80
91
  resourceInputs["instanceId"] = args ? args.instanceId : undefined;
81
92
  resourceInputs["owner"] = args ? args.owner : undefined;
93
+ resourceInputs["plpgsqlOptions"] = args ? args.plpgsqlOptions : undefined;
94
+ resourceInputs["sourceDbName"] = args ? args.sourceDbName : undefined;
82
95
  resourceInputs["dbStatus"] = undefined /*out*/;
83
96
  }
84
97
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"database.js","sourceRoot":"","sources":["../../rds_postgresql/database.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,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
4
+ /**
5
+ * Provides a resource to manage rds postgresql database endpoint
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const cluster = new volcengine.rds_postgresql.DatabaseEndpoint("cluster", {
13
+ * endpointId: "postgres-72715e0d9f58-cluster",
14
+ * endpointName: "默认终端",
15
+ * endpointType: "Cluster",
16
+ * instanceId: "postgres-72715e0d9f58",
17
+ * readOnlyNodeDistributionType: "Custom",
18
+ * readOnlyNodeMaxDelayTime: 40,
19
+ * readWriteMode: "ReadWrite",
20
+ * readWriteProxyConnection: 20,
21
+ * writeNodeHaltWriting: false,
22
+ * readWriteSplitting: true,
23
+ * readOnlyNodeWeights: [{
24
+ * nodeId: undefined,
25
+ * nodeType: "Primary",
26
+ * weight: 200,
27
+ * }],
28
+ * dnsVisibility: true,
29
+ * port: "5432",
30
+ * });
31
+ * const example = new volcengine.rds_postgresql.DatabaseEndpoint("example", {
32
+ * instanceId: "postgres-72715e0d9f58",
33
+ * endpointName: "tf-test",
34
+ * endpointType: "Custom",
35
+ * nodes: "Primary",
36
+ * readWriteMode: "ReadWrite",
37
+ * });
38
+ * ```
39
+ *
40
+ * ## Import
41
+ *
42
+ * RdsPostgresqlDatabaseEndpoint can be imported using the id, e.g.
43
+ *
44
+ * ```sh
45
+ * $ pulumi import volcengine:rds_postgresql/databaseEndpoint:DatabaseEndpoint default resource_id
46
+ * ```
47
+ */
48
+ export declare class DatabaseEndpoint extends pulumi.CustomResource {
49
+ /**
50
+ * Get an existing DatabaseEndpoint resource's state with the given name, ID, and optional extra
51
+ * properties used to qualify the lookup.
52
+ *
53
+ * @param name The _unique_ name of the resulting resource.
54
+ * @param id The _unique_ provider ID of the resource to lookup.
55
+ * @param state Any extra arguments used during the lookup.
56
+ * @param opts Optional settings to control the behavior of the CustomResource.
57
+ */
58
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DatabaseEndpointState, opts?: pulumi.CustomResourceOptions): DatabaseEndpoint;
59
+ /**
60
+ * Returns true if the given object is an instance of DatabaseEndpoint. This is designed to work even
61
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
62
+ */
63
+ static isInstance(obj: any): obj is DatabaseEndpoint;
64
+ /**
65
+ * Whether to enable public network resolution. false: Default value, Volcano Engine private network resolution. true: Volcano Engine private network and public network resolution. Do not set this field when creating a endpoint.
66
+ */
67
+ readonly dnsVisibility: pulumi.Output<boolean>;
68
+ /**
69
+ * Private address domain prefix to modify. Do not set this field when creating a endpoint.
70
+ */
71
+ readonly domainPrefix: pulumi.Output<string | undefined>;
72
+ /**
73
+ * The ID of the connection endpoint. The ID of the default endpoint is in the form of instance_id-cluster.
74
+ */
75
+ readonly endpointId: pulumi.Output<string>;
76
+ /**
77
+ * The name of the connection endpoint. If not provided, the connection endpoint will be automatically named Custom Endpoint.
78
+ */
79
+ readonly endpointName: pulumi.Output<string>;
80
+ /**
81
+ * Type of the connection endpoint. Valid values: `Custom`(custom endpoint), `Cluster`(default endpoint). When create a new
82
+ * endpoint, the value must be `Custom`. The default cluster endpoint does not support creation; you can use import to
83
+ * bring it under Terraform management.
84
+ */
85
+ readonly endpointType: pulumi.Output<string | undefined>;
86
+ /**
87
+ * Whether to enable the global read-only mode for the instance. There is no default value. If no value is passed, the request will be ignored. Do not set this field when creating a endpoint.
88
+ */
89
+ readonly globalReadOnly: pulumi.Output<boolean | undefined>;
90
+ /**
91
+ * The ID of the RDS PostgreSQL instance.
92
+ */
93
+ readonly instanceId: pulumi.Output<string>;
94
+ /**
95
+ * List of nodes configured for the connection endpoint. Required when EndpointType is Custom. The primary node does not need to pass the node ID; it is sufficient to pass the string "Primary".
96
+ */
97
+ readonly nodes: pulumi.Output<string | undefined>;
98
+ /**
99
+ * Private address port to modify. The value range is 1000~65534. Do not set this field when creating a endpoint.
100
+ */
101
+ readonly port: pulumi.Output<string>;
102
+ /**
103
+ * Read-only weight distribution mode, Default or Custom. Default: Standard weight allocation. Custom: Custom weight allocation.
104
+ */
105
+ readonly readOnlyNodeDistributionType: pulumi.Output<string>;
106
+ /**
107
+ * The maximum delay threshold for read-only nodes. When the delay time of a read-only node exceeds this value, read traffic will not be sent to that node. The value range is 0~3600. Default value is 30 seconds.
108
+ */
109
+ readonly readOnlyNodeMaxDelayTime: pulumi.Output<number>;
110
+ /**
111
+ * Custom read weight allocation. This parameter needs to be set when the value of readOnlyNodeDistributionType is Custom.
112
+ */
113
+ readonly readOnlyNodeWeights: pulumi.Output<outputs.rds_postgresql.DatabaseEndpointReadOnlyNodeWeight[]>;
114
+ /**
115
+ * ReadWrite or ReadOnly.
116
+ */
117
+ readonly readWriteMode: pulumi.Output<string | undefined>;
118
+ /**
119
+ * The number of proxy connections set for the terminal after enabling read-write separation. The minimum value of the proxy connection count is 20.
120
+ */
121
+ readonly readWriteProxyConnection: pulumi.Output<number>;
122
+ /**
123
+ * Whether to enable read-write separation. Only default endpoint supports this feature.
124
+ */
125
+ readonly readWriteSplitting: pulumi.Output<boolean>;
126
+ /**
127
+ * Whether to prohibit the terminal from sending write requests to the write node. To avoid having no available connection endpoints to carry write operations, this configuration can only be enabled when the instance has other read-write endpoints.
128
+ */
129
+ readonly writeNodeHaltWriting: pulumi.Output<boolean>;
130
+ /**
131
+ * Create a DatabaseEndpoint resource with the given unique name, arguments, and options.
132
+ *
133
+ * @param name The _unique_ name of the resource.
134
+ * @param args The arguments to use to populate this resource's properties.
135
+ * @param opts A bag of options that control this resource's behavior.
136
+ */
137
+ constructor(name: string, args: DatabaseEndpointArgs, opts?: pulumi.CustomResourceOptions);
138
+ }
139
+ /**
140
+ * Input properties used for looking up and filtering DatabaseEndpoint resources.
141
+ */
142
+ export interface DatabaseEndpointState {
143
+ /**
144
+ * Whether to enable public network resolution. false: Default value, Volcano Engine private network resolution. true: Volcano Engine private network and public network resolution. Do not set this field when creating a endpoint.
145
+ */
146
+ dnsVisibility?: pulumi.Input<boolean>;
147
+ /**
148
+ * Private address domain prefix to modify. Do not set this field when creating a endpoint.
149
+ */
150
+ domainPrefix?: pulumi.Input<string>;
151
+ /**
152
+ * The ID of the connection endpoint. The ID of the default endpoint is in the form of instance_id-cluster.
153
+ */
154
+ endpointId?: pulumi.Input<string>;
155
+ /**
156
+ * The name of the connection endpoint. If not provided, the connection endpoint will be automatically named Custom Endpoint.
157
+ */
158
+ endpointName?: pulumi.Input<string>;
159
+ /**
160
+ * Type of the connection endpoint. Valid values: `Custom`(custom endpoint), `Cluster`(default endpoint). When create a new
161
+ * endpoint, the value must be `Custom`. The default cluster endpoint does not support creation; you can use import to
162
+ * bring it under Terraform management.
163
+ */
164
+ endpointType?: pulumi.Input<string>;
165
+ /**
166
+ * Whether to enable the global read-only mode for the instance. There is no default value. If no value is passed, the request will be ignored. Do not set this field when creating a endpoint.
167
+ */
168
+ globalReadOnly?: pulumi.Input<boolean>;
169
+ /**
170
+ * The ID of the RDS PostgreSQL instance.
171
+ */
172
+ instanceId?: pulumi.Input<string>;
173
+ /**
174
+ * List of nodes configured for the connection endpoint. Required when EndpointType is Custom. The primary node does not need to pass the node ID; it is sufficient to pass the string "Primary".
175
+ */
176
+ nodes?: pulumi.Input<string>;
177
+ /**
178
+ * Private address port to modify. The value range is 1000~65534. Do not set this field when creating a endpoint.
179
+ */
180
+ port?: pulumi.Input<string>;
181
+ /**
182
+ * Read-only weight distribution mode, Default or Custom. Default: Standard weight allocation. Custom: Custom weight allocation.
183
+ */
184
+ readOnlyNodeDistributionType?: pulumi.Input<string>;
185
+ /**
186
+ * The maximum delay threshold for read-only nodes. When the delay time of a read-only node exceeds this value, read traffic will not be sent to that node. The value range is 0~3600. Default value is 30 seconds.
187
+ */
188
+ readOnlyNodeMaxDelayTime?: pulumi.Input<number>;
189
+ /**
190
+ * Custom read weight allocation. This parameter needs to be set when the value of readOnlyNodeDistributionType is Custom.
191
+ */
192
+ readOnlyNodeWeights?: pulumi.Input<pulumi.Input<inputs.rds_postgresql.DatabaseEndpointReadOnlyNodeWeight>[]>;
193
+ /**
194
+ * ReadWrite or ReadOnly.
195
+ */
196
+ readWriteMode?: pulumi.Input<string>;
197
+ /**
198
+ * The number of proxy connections set for the terminal after enabling read-write separation. The minimum value of the proxy connection count is 20.
199
+ */
200
+ readWriteProxyConnection?: pulumi.Input<number>;
201
+ /**
202
+ * Whether to enable read-write separation. Only default endpoint supports this feature.
203
+ */
204
+ readWriteSplitting?: pulumi.Input<boolean>;
205
+ /**
206
+ * Whether to prohibit the terminal from sending write requests to the write node. To avoid having no available connection endpoints to carry write operations, this configuration can only be enabled when the instance has other read-write endpoints.
207
+ */
208
+ writeNodeHaltWriting?: pulumi.Input<boolean>;
209
+ }
210
+ /**
211
+ * The set of arguments for constructing a DatabaseEndpoint resource.
212
+ */
213
+ export interface DatabaseEndpointArgs {
214
+ /**
215
+ * Whether to enable public network resolution. false: Default value, Volcano Engine private network resolution. true: Volcano Engine private network and public network resolution. Do not set this field when creating a endpoint.
216
+ */
217
+ dnsVisibility?: pulumi.Input<boolean>;
218
+ /**
219
+ * Private address domain prefix to modify. Do not set this field when creating a endpoint.
220
+ */
221
+ domainPrefix?: pulumi.Input<string>;
222
+ /**
223
+ * The ID of the connection endpoint. The ID of the default endpoint is in the form of instance_id-cluster.
224
+ */
225
+ endpointId?: pulumi.Input<string>;
226
+ /**
227
+ * The name of the connection endpoint. If not provided, the connection endpoint will be automatically named Custom Endpoint.
228
+ */
229
+ endpointName: pulumi.Input<string>;
230
+ /**
231
+ * Type of the connection endpoint. Valid values: `Custom`(custom endpoint), `Cluster`(default endpoint). When create a new
232
+ * endpoint, the value must be `Custom`. The default cluster endpoint does not support creation; you can use import to
233
+ * bring it under Terraform management.
234
+ */
235
+ endpointType?: pulumi.Input<string>;
236
+ /**
237
+ * Whether to enable the global read-only mode for the instance. There is no default value. If no value is passed, the request will be ignored. Do not set this field when creating a endpoint.
238
+ */
239
+ globalReadOnly?: pulumi.Input<boolean>;
240
+ /**
241
+ * The ID of the RDS PostgreSQL instance.
242
+ */
243
+ instanceId: pulumi.Input<string>;
244
+ /**
245
+ * List of nodes configured for the connection endpoint. Required when EndpointType is Custom. The primary node does not need to pass the node ID; it is sufficient to pass the string "Primary".
246
+ */
247
+ nodes?: pulumi.Input<string>;
248
+ /**
249
+ * Private address port to modify. The value range is 1000~65534. Do not set this field when creating a endpoint.
250
+ */
251
+ port?: pulumi.Input<string>;
252
+ /**
253
+ * Read-only weight distribution mode, Default or Custom. Default: Standard weight allocation. Custom: Custom weight allocation.
254
+ */
255
+ readOnlyNodeDistributionType?: pulumi.Input<string>;
256
+ /**
257
+ * The maximum delay threshold for read-only nodes. When the delay time of a read-only node exceeds this value, read traffic will not be sent to that node. The value range is 0~3600. Default value is 30 seconds.
258
+ */
259
+ readOnlyNodeMaxDelayTime?: pulumi.Input<number>;
260
+ /**
261
+ * Custom read weight allocation. This parameter needs to be set when the value of readOnlyNodeDistributionType is Custom.
262
+ */
263
+ readOnlyNodeWeights?: pulumi.Input<pulumi.Input<inputs.rds_postgresql.DatabaseEndpointReadOnlyNodeWeight>[]>;
264
+ /**
265
+ * ReadWrite or ReadOnly.
266
+ */
267
+ readWriteMode?: pulumi.Input<string>;
268
+ /**
269
+ * The number of proxy connections set for the terminal after enabling read-write separation. The minimum value of the proxy connection count is 20.
270
+ */
271
+ readWriteProxyConnection?: pulumi.Input<number>;
272
+ /**
273
+ * Whether to enable read-write separation. Only default endpoint supports this feature.
274
+ */
275
+ readWriteSplitting?: pulumi.Input<boolean>;
276
+ /**
277
+ * Whether to prohibit the terminal from sending write requests to the write node. To avoid having no available connection endpoints to carry write operations, this configuration can only be enabled when the instance has other read-write endpoints.
278
+ */
279
+ writeNodeHaltWriting?: pulumi.Input<boolean>;
280
+ }
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.DatabaseEndpoint = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage rds postgresql database endpoint
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const cluster = new volcengine.rds_postgresql.DatabaseEndpoint("cluster", {
17
+ * endpointId: "postgres-72715e0d9f58-cluster",
18
+ * endpointName: "默认终端",
19
+ * endpointType: "Cluster",
20
+ * instanceId: "postgres-72715e0d9f58",
21
+ * readOnlyNodeDistributionType: "Custom",
22
+ * readOnlyNodeMaxDelayTime: 40,
23
+ * readWriteMode: "ReadWrite",
24
+ * readWriteProxyConnection: 20,
25
+ * writeNodeHaltWriting: false,
26
+ * readWriteSplitting: true,
27
+ * readOnlyNodeWeights: [{
28
+ * nodeId: undefined,
29
+ * nodeType: "Primary",
30
+ * weight: 200,
31
+ * }],
32
+ * dnsVisibility: true,
33
+ * port: "5432",
34
+ * });
35
+ * const example = new volcengine.rds_postgresql.DatabaseEndpoint("example", {
36
+ * instanceId: "postgres-72715e0d9f58",
37
+ * endpointName: "tf-test",
38
+ * endpointType: "Custom",
39
+ * nodes: "Primary",
40
+ * readWriteMode: "ReadWrite",
41
+ * });
42
+ * ```
43
+ *
44
+ * ## Import
45
+ *
46
+ * RdsPostgresqlDatabaseEndpoint can be imported using the id, e.g.
47
+ *
48
+ * ```sh
49
+ * $ pulumi import volcengine:rds_postgresql/databaseEndpoint:DatabaseEndpoint default resource_id
50
+ * ```
51
+ */
52
+ class DatabaseEndpoint extends pulumi.CustomResource {
53
+ /**
54
+ * Get an existing DatabaseEndpoint resource's state with the given name, ID, and optional extra
55
+ * properties used to qualify the lookup.
56
+ *
57
+ * @param name The _unique_ name of the resulting resource.
58
+ * @param id The _unique_ provider ID of the resource to lookup.
59
+ * @param state Any extra arguments used during the lookup.
60
+ * @param opts Optional settings to control the behavior of the CustomResource.
61
+ */
62
+ static get(name, id, state, opts) {
63
+ return new DatabaseEndpoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
64
+ }
65
+ /**
66
+ * Returns true if the given object is an instance of DatabaseEndpoint. This is designed to work even
67
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
+ */
69
+ static isInstance(obj) {
70
+ if (obj === undefined || obj === null) {
71
+ return false;
72
+ }
73
+ return obj['__pulumiType'] === DatabaseEndpoint.__pulumiType;
74
+ }
75
+ constructor(name, argsOrState, opts) {
76
+ let resourceInputs = {};
77
+ opts = opts || {};
78
+ if (opts.id) {
79
+ const state = argsOrState;
80
+ resourceInputs["dnsVisibility"] = state ? state.dnsVisibility : undefined;
81
+ resourceInputs["domainPrefix"] = state ? state.domainPrefix : undefined;
82
+ resourceInputs["endpointId"] = state ? state.endpointId : undefined;
83
+ resourceInputs["endpointName"] = state ? state.endpointName : undefined;
84
+ resourceInputs["endpointType"] = state ? state.endpointType : undefined;
85
+ resourceInputs["globalReadOnly"] = state ? state.globalReadOnly : undefined;
86
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
87
+ resourceInputs["nodes"] = state ? state.nodes : undefined;
88
+ resourceInputs["port"] = state ? state.port : undefined;
89
+ resourceInputs["readOnlyNodeDistributionType"] = state ? state.readOnlyNodeDistributionType : undefined;
90
+ resourceInputs["readOnlyNodeMaxDelayTime"] = state ? state.readOnlyNodeMaxDelayTime : undefined;
91
+ resourceInputs["readOnlyNodeWeights"] = state ? state.readOnlyNodeWeights : undefined;
92
+ resourceInputs["readWriteMode"] = state ? state.readWriteMode : undefined;
93
+ resourceInputs["readWriteProxyConnection"] = state ? state.readWriteProxyConnection : undefined;
94
+ resourceInputs["readWriteSplitting"] = state ? state.readWriteSplitting : undefined;
95
+ resourceInputs["writeNodeHaltWriting"] = state ? state.writeNodeHaltWriting : undefined;
96
+ }
97
+ else {
98
+ const args = argsOrState;
99
+ if ((!args || args.endpointName === undefined) && !opts.urn) {
100
+ throw new Error("Missing required property 'endpointName'");
101
+ }
102
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
103
+ throw new Error("Missing required property 'instanceId'");
104
+ }
105
+ resourceInputs["dnsVisibility"] = args ? args.dnsVisibility : undefined;
106
+ resourceInputs["domainPrefix"] = args ? args.domainPrefix : undefined;
107
+ resourceInputs["endpointId"] = args ? args.endpointId : undefined;
108
+ resourceInputs["endpointName"] = args ? args.endpointName : undefined;
109
+ resourceInputs["endpointType"] = args ? args.endpointType : undefined;
110
+ resourceInputs["globalReadOnly"] = args ? args.globalReadOnly : undefined;
111
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
112
+ resourceInputs["nodes"] = args ? args.nodes : undefined;
113
+ resourceInputs["port"] = args ? args.port : undefined;
114
+ resourceInputs["readOnlyNodeDistributionType"] = args ? args.readOnlyNodeDistributionType : undefined;
115
+ resourceInputs["readOnlyNodeMaxDelayTime"] = args ? args.readOnlyNodeMaxDelayTime : undefined;
116
+ resourceInputs["readOnlyNodeWeights"] = args ? args.readOnlyNodeWeights : undefined;
117
+ resourceInputs["readWriteMode"] = args ? args.readWriteMode : undefined;
118
+ resourceInputs["readWriteProxyConnection"] = args ? args.readWriteProxyConnection : undefined;
119
+ resourceInputs["readWriteSplitting"] = args ? args.readWriteSplitting : undefined;
120
+ resourceInputs["writeNodeHaltWriting"] = args ? args.writeNodeHaltWriting : undefined;
121
+ }
122
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
123
+ super(DatabaseEndpoint.__pulumiType, name, resourceInputs, opts);
124
+ }
125
+ }
126
+ exports.DatabaseEndpoint = DatabaseEndpoint;
127
+ /** @internal */
128
+ DatabaseEndpoint.__pulumiType = 'volcengine:rds_postgresql/databaseEndpoint:DatabaseEndpoint';
129
+ //# sourceMappingURL=databaseEndpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databaseEndpoint.js","sourceRoot":"","sources":["../../rds_postgresql/databaseEndpoint.ts"],"names":[],"mappings":";AA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;AA1IG,gBAAgB;AACO,6BAAY,GAAG,6DAA6D,CAAC"}
@@ -0,0 +1,88 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of rds postgresql database endpoints
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const example = volcengine.rds_postgresql.getDatabaseEndpoints({
12
+ * instanceId: "postgres-72715e0d9f58",
13
+ * nameRegex: "默认.*",
14
+ * });
15
+ * ```
16
+ */
17
+ /** @deprecated volcengine.rds_postgresql.DatabaseEndpoints has been deprecated in favor of volcengine.rds_postgresql.getDatabaseEndpoints */
18
+ export declare function databaseEndpoints(args?: DatabaseEndpointsArgs, opts?: pulumi.InvokeOptions): Promise<DatabaseEndpointsResult>;
19
+ /**
20
+ * A collection of arguments for invoking DatabaseEndpoints.
21
+ */
22
+ export interface DatabaseEndpointsArgs {
23
+ /**
24
+ * The ID of the RDS PostgreSQL instance.
25
+ */
26
+ instanceId?: string;
27
+ /**
28
+ * The name of the endpoint to filter.
29
+ */
30
+ nameRegex?: string;
31
+ /**
32
+ * File name where to save data source results.
33
+ */
34
+ outputFile?: string;
35
+ }
36
+ /**
37
+ * A collection of values returned by DatabaseEndpoints.
38
+ */
39
+ export interface DatabaseEndpointsResult {
40
+ /**
41
+ * The collection of query.
42
+ */
43
+ readonly endpoints: outputs.rds_postgresql.DatabaseEndpointsEndpoint[];
44
+ /**
45
+ * The provider-assigned unique ID for this managed resource.
46
+ */
47
+ readonly id: string;
48
+ readonly instanceId?: string;
49
+ readonly nameRegex?: string;
50
+ readonly outputFile?: string;
51
+ /**
52
+ * The total count of query.
53
+ */
54
+ readonly totalCount: number;
55
+ }
56
+ /**
57
+ * Use this data source to query detailed information of rds postgresql database endpoints
58
+ * ## Example Usage
59
+ *
60
+ * ```typescript
61
+ * import * as pulumi from "@pulumi/pulumi";
62
+ * import * as volcengine from "@pulumi/volcengine";
63
+ *
64
+ * const example = volcengine.rds_postgresql.getDatabaseEndpoints({
65
+ * instanceId: "postgres-72715e0d9f58",
66
+ * nameRegex: "默认.*",
67
+ * });
68
+ * ```
69
+ */
70
+ /** @deprecated volcengine.rds_postgresql.DatabaseEndpoints has been deprecated in favor of volcengine.rds_postgresql.getDatabaseEndpoints */
71
+ export declare function databaseEndpointsOutput(args?: DatabaseEndpointsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<DatabaseEndpointsResult>;
72
+ /**
73
+ * A collection of arguments for invoking DatabaseEndpoints.
74
+ */
75
+ export interface DatabaseEndpointsOutputArgs {
76
+ /**
77
+ * The ID of the RDS PostgreSQL instance.
78
+ */
79
+ instanceId?: pulumi.Input<string>;
80
+ /**
81
+ * The name of the endpoint to filter.
82
+ */
83
+ nameRegex?: pulumi.Input<string>;
84
+ /**
85
+ * File name where to save data source results.
86
+ */
87
+ outputFile?: pulumi.Input<string>;
88
+ }
@@ -0,0 +1,53 @@
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.databaseEndpointsOutput = exports.databaseEndpoints = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of rds postgresql database endpoints
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const example = volcengine.rds_postgresql.getDatabaseEndpoints({
17
+ * instanceId: "postgres-72715e0d9f58",
18
+ * nameRegex: "默认.*",
19
+ * });
20
+ * ```
21
+ */
22
+ /** @deprecated volcengine.rds_postgresql.DatabaseEndpoints has been deprecated in favor of volcengine.rds_postgresql.getDatabaseEndpoints */
23
+ function databaseEndpoints(args, opts) {
24
+ pulumi.log.warn("databaseEndpoints is deprecated: volcengine.rds_postgresql.DatabaseEndpoints has been deprecated in favor of volcengine.rds_postgresql.getDatabaseEndpoints");
25
+ args = args || {};
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invoke("volcengine:rds_postgresql/databaseEndpoints:DatabaseEndpoints", {
28
+ "instanceId": args.instanceId,
29
+ "nameRegex": args.nameRegex,
30
+ "outputFile": args.outputFile,
31
+ }, opts);
32
+ }
33
+ exports.databaseEndpoints = databaseEndpoints;
34
+ /**
35
+ * Use this data source to query detailed information of rds postgresql database endpoints
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as volcengine from "@pulumi/volcengine";
41
+ *
42
+ * const example = volcengine.rds_postgresql.getDatabaseEndpoints({
43
+ * instanceId: "postgres-72715e0d9f58",
44
+ * nameRegex: "默认.*",
45
+ * });
46
+ * ```
47
+ */
48
+ /** @deprecated volcengine.rds_postgresql.DatabaseEndpoints has been deprecated in favor of volcengine.rds_postgresql.getDatabaseEndpoints */
49
+ function databaseEndpointsOutput(args, opts) {
50
+ return pulumi.output(args).apply((a) => databaseEndpoints(a, opts));
51
+ }
52
+ exports.databaseEndpointsOutput = databaseEndpointsOutput;
53
+ //# sourceMappingURL=databaseEndpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databaseEndpoints.js","sourceRoot":"","sources":["../../rds_postgresql/databaseEndpoints.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,6IAA6I;AAC7I,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6JAA6J,CAAC,CAAA;IAC9K,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE;QAC1F,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8CAUC;AAwCD;;;;;;;;;;;;;GAaG;AACH,6IAA6I;AAC7I,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}