@volcengine/pulumi-volcenginecc 0.0.41 → 0.0.43

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 (254) hide show
  1. package/directconnect/bgpPeer.d.ts +189 -0
  2. package/directconnect/bgpPeer.js +104 -0
  3. package/directconnect/bgpPeer.js.map +1 -0
  4. package/directconnect/getBgpPeer.d.ts +88 -0
  5. package/directconnect/getBgpPeer.js +28 -0
  6. package/directconnect/getBgpPeer.js.map +1 -0
  7. package/directconnect/getBgpPeers.d.ts +22 -0
  8. package/directconnect/getBgpPeers.js +24 -0
  9. package/directconnect/getBgpPeers.js.map +1 -0
  10. package/directconnect/index.d.ts +9 -0
  11. package/directconnect/index.js +12 -1
  12. package/directconnect/index.js.map +1 -1
  13. package/dns/backup.d.ts +90 -0
  14. package/dns/backup.js +76 -0
  15. package/dns/backup.js.map +1 -0
  16. package/dns/getBackup.d.ts +52 -0
  17. package/dns/getBackup.js +28 -0
  18. package/dns/getBackup.js.map +1 -0
  19. package/dns/getBackups.d.ts +22 -0
  20. package/dns/getBackups.js +24 -0
  21. package/dns/getBackups.js.map +1 -0
  22. package/dns/getRecord.d.ts +104 -0
  23. package/dns/getRecord.js +28 -0
  24. package/dns/getRecord.js.map +1 -0
  25. package/dns/getRecords.d.ts +22 -0
  26. package/dns/getRecords.js +24 -0
  27. package/dns/getRecords.js.map +1 -0
  28. package/dns/index.d.ts +18 -0
  29. package/dns/index.js +23 -1
  30. package/dns/index.js.map +1 -1
  31. package/dns/record.d.ts +236 -0
  32. package/dns/record.js +121 -0
  33. package/dns/record.js.map +1 -0
  34. package/gtm/getGtm.d.ts +100 -0
  35. package/gtm/getGtm.js +28 -0
  36. package/gtm/getGtm.js.map +1 -0
  37. package/gtm/getGtms.d.ts +22 -0
  38. package/gtm/getGtms.js +24 -0
  39. package/gtm/getGtms.js.map +1 -0
  40. package/gtm/getRouting.d.ts +48 -0
  41. package/gtm/getRouting.js +28 -0
  42. package/gtm/getRouting.js.map +1 -0
  43. package/gtm/getRoutings.d.ts +22 -0
  44. package/gtm/getRoutings.js +24 -0
  45. package/gtm/getRoutings.js.map +1 -0
  46. package/gtm/getRule.d.ts +105 -0
  47. package/gtm/getRule.js +28 -0
  48. package/gtm/getRule.js.map +1 -0
  49. package/gtm/getRules.d.ts +22 -0
  50. package/gtm/getRules.js +24 -0
  51. package/gtm/getRules.js.map +1 -0
  52. package/gtm/gtm.d.ts +228 -0
  53. package/gtm/gtm.js +113 -0
  54. package/gtm/gtm.js.map +1 -0
  55. package/gtm/index.d.ts +27 -0
  56. package/gtm/index.js +34 -1
  57. package/gtm/index.js.map +1 -1
  58. package/gtm/routing.d.ts +89 -0
  59. package/gtm/routing.js +74 -0
  60. package/gtm/routing.js.map +1 -0
  61. package/gtm/rule.d.ts +226 -0
  62. package/gtm/rule.js +99 -0
  63. package/gtm/rule.js.map +1 -0
  64. package/iam/allowedIpAddress.d.ts +107 -0
  65. package/iam/allowedIpAddress.js +95 -0
  66. package/iam/allowedIpAddress.js.map +1 -0
  67. package/iam/getAllowedIpAddress.d.ts +53 -0
  68. package/iam/getAllowedIpAddress.js +28 -0
  69. package/iam/getAllowedIpAddress.js.map +1 -0
  70. package/iam/getAllowedIpAddresses.d.ts +22 -0
  71. package/iam/getAllowedIpAddresses.js +24 -0
  72. package/iam/getAllowedIpAddresses.js.map +1 -0
  73. package/iam/getOauthProvider.d.ts +44 -0
  74. package/iam/getOauthProvider.js +28 -0
  75. package/iam/getOauthProvider.js.map +1 -0
  76. package/iam/getOauthProviders.d.ts +22 -0
  77. package/iam/getOauthProviders.js +24 -0
  78. package/iam/getOauthProviders.js.map +1 -0
  79. package/iam/index.d.ts +18 -0
  80. package/iam/index.js +23 -1
  81. package/iam/index.js.map +1 -1
  82. package/iam/oauthProvider.d.ts +256 -0
  83. package/iam/oauthProvider.js +143 -0
  84. package/iam/oauthProvider.js.map +1 -0
  85. package/kafka/getUser.d.ts +34 -0
  86. package/kafka/getUser.js +28 -0
  87. package/kafka/getUser.js.map +1 -0
  88. package/kafka/getUsers.d.ts +22 -0
  89. package/kafka/getUsers.js +24 -0
  90. package/kafka/getUsers.js.map +1 -0
  91. package/kafka/index.d.ts +9 -0
  92. package/kafka/index.js +12 -1
  93. package/kafka/index.js.map +1 -1
  94. package/kafka/user.d.ts +155 -0
  95. package/kafka/user.js +97 -0
  96. package/kafka/user.js.map +1 -0
  97. package/mongodb/account.d.ts +146 -0
  98. package/mongodb/account.js +82 -0
  99. package/mongodb/account.js.map +1 -0
  100. package/mongodb/endpoint.d.ts +175 -0
  101. package/mongodb/endpoint.js +97 -0
  102. package/mongodb/endpoint.js.map +1 -0
  103. package/mongodb/getAccount.d.ts +77 -0
  104. package/mongodb/getAccount.js +28 -0
  105. package/mongodb/getAccount.js.map +1 -0
  106. package/mongodb/getAccounts.d.ts +22 -0
  107. package/mongodb/getAccounts.js +24 -0
  108. package/mongodb/getAccounts.js.map +1 -0
  109. package/mongodb/getEndpoint.d.ts +39 -0
  110. package/mongodb/getEndpoint.js +28 -0
  111. package/mongodb/getEndpoint.js.map +1 -0
  112. package/mongodb/getEndpoints.d.ts +22 -0
  113. package/mongodb/getEndpoints.js +24 -0
  114. package/mongodb/getEndpoints.js.map +1 -0
  115. package/mongodb/index.d.ts +18 -0
  116. package/mongodb/index.js +23 -1
  117. package/mongodb/index.js.map +1 -1
  118. package/package.json +1 -1
  119. package/privatelink/gatewayEndpoint.d.ts +182 -0
  120. package/privatelink/gatewayEndpoint.js +106 -0
  121. package/privatelink/gatewayEndpoint.js.map +1 -0
  122. package/privatelink/getGatewayEndpoint.d.ts +85 -0
  123. package/privatelink/getGatewayEndpoint.js +28 -0
  124. package/privatelink/getGatewayEndpoint.js.map +1 -0
  125. package/privatelink/getGatewayEndpoints.d.ts +22 -0
  126. package/privatelink/getGatewayEndpoints.js +24 -0
  127. package/privatelink/getGatewayEndpoints.js.map +1 -0
  128. package/privatelink/index.d.ts +9 -0
  129. package/privatelink/index.js +12 -1
  130. package/privatelink/index.js.map +1 -1
  131. package/rdsmssql/backup.d.ts +148 -0
  132. package/rdsmssql/backup.js +85 -0
  133. package/rdsmssql/backup.js.map +1 -0
  134. package/rdsmssql/getBackup.d.ts +89 -0
  135. package/rdsmssql/getBackup.js +28 -0
  136. package/rdsmssql/getBackup.js.map +1 -0
  137. package/rdsmssql/getBackups.d.ts +22 -0
  138. package/rdsmssql/getBackups.js +24 -0
  139. package/rdsmssql/getBackups.js.map +1 -0
  140. package/rdsmssql/index.d.ts +9 -0
  141. package/rdsmssql/index.js +12 -1
  142. package/rdsmssql/index.js.map +1 -1
  143. package/rdsmysql/endpointPublicAddress.d.ts +182 -0
  144. package/rdsmysql/endpointPublicAddress.js +104 -0
  145. package/rdsmysql/endpointPublicAddress.js.map +1 -0
  146. package/rdsmysql/getEndpointPublicAddress.d.ts +39 -0
  147. package/rdsmysql/getEndpointPublicAddress.js +28 -0
  148. package/rdsmysql/getEndpointPublicAddress.js.map +1 -0
  149. package/rdsmysql/getEndpointPublicAddresses.d.ts +22 -0
  150. package/rdsmysql/getEndpointPublicAddresses.js +24 -0
  151. package/rdsmysql/getEndpointPublicAddresses.js.map +1 -0
  152. package/rdsmysql/index.d.ts +9 -0
  153. package/rdsmysql/index.js +12 -1
  154. package/rdsmysql/index.js.map +1 -1
  155. package/rdspostgresql/allowList.d.ts +24 -0
  156. package/rdspostgresql/allowList.js +4 -0
  157. package/rdspostgresql/allowList.js.map +1 -1
  158. package/rdspostgresql/getAllowList.d.ts +8 -0
  159. package/rdspostgresql/getAllowList.js.map +1 -1
  160. package/rdspostgresql/getInstanceSsl.d.ts +68 -0
  161. package/rdspostgresql/getInstanceSsl.js +28 -0
  162. package/rdspostgresql/getInstanceSsl.js.map +1 -0
  163. package/rdspostgresql/getInstanceSsls.d.ts +22 -0
  164. package/rdspostgresql/getInstanceSsls.js +24 -0
  165. package/rdspostgresql/getInstanceSsls.js.map +1 -0
  166. package/rdspostgresql/index.d.ts +9 -0
  167. package/rdspostgresql/index.js +12 -1
  168. package/rdspostgresql/index.js.map +1 -1
  169. package/rdspostgresql/instanceSsl.d.ts +134 -0
  170. package/rdspostgresql/instanceSsl.js +88 -0
  171. package/rdspostgresql/instanceSsl.js.map +1 -0
  172. package/redis/allowList.d.ts +2 -2
  173. package/redis/allowList.js +3 -0
  174. package/redis/allowList.js.map +1 -1
  175. package/storageebs/getSnapshotPolicies.d.ts +22 -0
  176. package/storageebs/getSnapshotPolicies.js +24 -0
  177. package/storageebs/getSnapshotPolicies.js.map +1 -0
  178. package/storageebs/getSnapshotPolicy.d.ts +93 -0
  179. package/storageebs/getSnapshotPolicy.js +28 -0
  180. package/storageebs/getSnapshotPolicy.js.map +1 -0
  181. package/storageebs/index.d.ts +9 -0
  182. package/storageebs/index.js +12 -1
  183. package/storageebs/index.js.map +1 -1
  184. package/storageebs/snapshotPolicy.d.ts +215 -0
  185. package/storageebs/snapshotPolicy.js +122 -0
  186. package/storageebs/snapshotPolicy.js.map +1 -0
  187. package/tos/bucketAccessMonitor.d.ts +74 -0
  188. package/tos/bucketAccessMonitor.js +72 -0
  189. package/tos/bucketAccessMonitor.js.map +1 -0
  190. package/tos/getBucketAccessMonitor.d.ts +44 -0
  191. package/tos/getBucketAccessMonitor.js +28 -0
  192. package/tos/getBucketAccessMonitor.js.map +1 -0
  193. package/tos/getBucketAccessMonitors.d.ts +22 -0
  194. package/tos/getBucketAccessMonitors.js +24 -0
  195. package/tos/getBucketAccessMonitors.js.map +1 -0
  196. package/tos/index.d.ts +9 -0
  197. package/tos/index.js +12 -1
  198. package/tos/index.js.map +1 -1
  199. package/transitrouter/directConnectGatewayAttachment.d.ts +180 -0
  200. package/transitrouter/directConnectGatewayAttachment.js +106 -0
  201. package/transitrouter/directConnectGatewayAttachment.js.map +1 -0
  202. package/transitrouter/getDirectConnectGatewayAttachment.d.ts +89 -0
  203. package/transitrouter/getDirectConnectGatewayAttachment.js +28 -0
  204. package/transitrouter/getDirectConnectGatewayAttachment.js.map +1 -0
  205. package/transitrouter/getDirectConnectGatewayAttachments.d.ts +22 -0
  206. package/transitrouter/getDirectConnectGatewayAttachments.js +24 -0
  207. package/transitrouter/getDirectConnectGatewayAttachments.js.map +1 -0
  208. package/transitrouter/getTransitRouterBandwidthPackage.d.ts +141 -0
  209. package/transitrouter/getTransitRouterBandwidthPackage.js +28 -0
  210. package/transitrouter/getTransitRouterBandwidthPackage.js.map +1 -0
  211. package/transitrouter/getTransitRouterBandwidthPackages.d.ts +22 -0
  212. package/transitrouter/getTransitRouterBandwidthPackages.js +24 -0
  213. package/transitrouter/getTransitRouterBandwidthPackages.js.map +1 -0
  214. package/transitrouter/getTransitRouterRouteTableAssociation.d.ts +48 -0
  215. package/transitrouter/getTransitRouterRouteTableAssociation.js +28 -0
  216. package/transitrouter/getTransitRouterRouteTableAssociation.js.map +1 -0
  217. package/transitrouter/getTransitRouterRouteTableAssociations.d.ts +22 -0
  218. package/transitrouter/getTransitRouterRouteTableAssociations.js +24 -0
  219. package/transitrouter/getTransitRouterRouteTableAssociations.js.map +1 -0
  220. package/transitrouter/index.d.ts +27 -0
  221. package/transitrouter/index.js +34 -1
  222. package/transitrouter/index.js.map +1 -1
  223. package/transitrouter/transitRouterBandwidthPackage.d.ts +320 -0
  224. package/transitrouter/transitRouterBandwidthPackage.js +138 -0
  225. package/transitrouter/transitRouterBandwidthPackage.js.map +1 -0
  226. package/transitrouter/transitRouterRouteTableAssociation.d.ts +89 -0
  227. package/transitrouter/transitRouterRouteTableAssociation.js +80 -0
  228. package/transitrouter/transitRouterRouteTableAssociation.js.map +1 -0
  229. package/types/input.d.ts +310 -0
  230. package/types/output.d.ts +641 -0
  231. package/vepfs/fileset.d.ts +202 -0
  232. package/vepfs/fileset.js +106 -0
  233. package/vepfs/fileset.js.map +1 -0
  234. package/vepfs/getFileset.d.ts +41 -0
  235. package/vepfs/getFileset.js +28 -0
  236. package/vepfs/getFileset.js.map +1 -0
  237. package/vepfs/getFilesets.d.ts +22 -0
  238. package/vepfs/getFilesets.js +24 -0
  239. package/vepfs/getFilesets.js.map +1 -0
  240. package/vepfs/index.d.ts +9 -0
  241. package/vepfs/index.js +12 -1
  242. package/vepfs/index.js.map +1 -1
  243. package/vmp/getRuleFile.d.ts +37 -0
  244. package/vmp/getRuleFile.js +28 -0
  245. package/vmp/getRuleFile.js.map +1 -0
  246. package/vmp/getRuleFiles.d.ts +22 -0
  247. package/vmp/getRuleFiles.js +24 -0
  248. package/vmp/getRuleFiles.js.map +1 -0
  249. package/vmp/index.d.ts +9 -0
  250. package/vmp/index.js +12 -1
  251. package/vmp/index.js.map +1 -1
  252. package/vmp/ruleFile.d.ts +172 -0
  253. package/vmp/ruleFile.js +104 -0
  254. package/vmp/ruleFile.js.map +1 -0
@@ -0,0 +1,155 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * SASL user details
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
10
+ *
11
+ * const kafkaUserDemo = new volcenginecc.kafka.User("KafkaUserDemo", {
12
+ * instanceId: "kafka-cnngavomxxxxxx",
13
+ * userName: "user1123",
14
+ * userPassword: "********",
15
+ * allAuthority: true,
16
+ * description: "vip",
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * ```sh
23
+ * $ pulumi import volcenginecc:kafka/user:User example "instance_id|user_name"
24
+ * ```
25
+ */
26
+ export declare class User extends pulumi.CustomResource {
27
+ /**
28
+ * Get an existing User resource's state with the given name, ID, and optional extra
29
+ * properties used to qualify the lookup.
30
+ *
31
+ * @param name The _unique_ name of the resulting resource.
32
+ * @param id The _unique_ provider ID of the resource to lookup.
33
+ * @param state Any extra arguments used during the lookup.
34
+ * @param opts Optional settings to control the behavior of the CustomResource.
35
+ */
36
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UserState, opts?: pulumi.CustomResourceOptions): User;
37
+ /**
38
+ * Returns true if the given object is an instance of User. This is designed to work even
39
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
+ */
41
+ static isInstance(obj: any): obj is User;
42
+ /**
43
+ * Whether the user has default read and write permissions for all Topics - true: This user has read and write permissions
44
+ * for all Topics - false: This user does not have read and write permissions for all Topics
45
+ */
46
+ readonly allAuthority: pulumi.Output<boolean>;
47
+ /**
48
+ * SASL user creation time
49
+ */
50
+ readonly createTime: pulumi.Output<string>;
51
+ /**
52
+ * SASL user description
53
+ */
54
+ readonly description: pulumi.Output<string>;
55
+ /**
56
+ * Instance ID to which the user belongs
57
+ */
58
+ readonly instanceId: pulumi.Output<string>;
59
+ /**
60
+ * SASL user type (password type). Supported types: - Scram: SASL user of SCRAM type - Plain: SASL user of PLAIN type
61
+ * **Note:** If you create a PLAIN type user, it takes effect after a 1-minute delay. Please wait after creation.
62
+ */
63
+ readonly passwordType: pulumi.Output<string>;
64
+ /**
65
+ * SASL username. Must meet the following requirements: - Consists of letters, numbers, hyphens (-), or underscores (_) -
66
+ * Length: 3–64 characters - Username cannot be set to admin or monitor, and must be unique within the instance
67
+ */
68
+ readonly userName: pulumi.Output<string>;
69
+ /**
70
+ * SASL user password. Must meet the following requirements: - Length: 8–32 characters - Must include at least three of
71
+ * the following: uppercase letters, lowercase letters, numbers, special characters - Supported special characters:
72
+ * `!@#$%^&*()_+-=`
73
+ */
74
+ readonly userPassword: pulumi.Output<string>;
75
+ /**
76
+ * Create a User resource with the given unique name, arguments, and options.
77
+ *
78
+ * @param name The _unique_ name of the resource.
79
+ * @param args The arguments to use to populate this resource's properties.
80
+ * @param opts A bag of options that control this resource's behavior.
81
+ */
82
+ constructor(name: string, args: UserArgs, opts?: pulumi.CustomResourceOptions);
83
+ }
84
+ /**
85
+ * Input properties used for looking up and filtering User resources.
86
+ */
87
+ export interface UserState {
88
+ /**
89
+ * Whether the user has default read and write permissions for all Topics - true: This user has read and write permissions
90
+ * for all Topics - false: This user does not have read and write permissions for all Topics
91
+ */
92
+ allAuthority?: pulumi.Input<boolean>;
93
+ /**
94
+ * SASL user creation time
95
+ */
96
+ createTime?: pulumi.Input<string>;
97
+ /**
98
+ * SASL user description
99
+ */
100
+ description?: pulumi.Input<string>;
101
+ /**
102
+ * Instance ID to which the user belongs
103
+ */
104
+ instanceId?: pulumi.Input<string>;
105
+ /**
106
+ * SASL user type (password type). Supported types: - Scram: SASL user of SCRAM type - Plain: SASL user of PLAIN type
107
+ * **Note:** If you create a PLAIN type user, it takes effect after a 1-minute delay. Please wait after creation.
108
+ */
109
+ passwordType?: pulumi.Input<string>;
110
+ /**
111
+ * SASL username. Must meet the following requirements: - Consists of letters, numbers, hyphens (-), or underscores (_) -
112
+ * Length: 3–64 characters - Username cannot be set to admin or monitor, and must be unique within the instance
113
+ */
114
+ userName?: pulumi.Input<string>;
115
+ /**
116
+ * SASL user password. Must meet the following requirements: - Length: 8–32 characters - Must include at least three of
117
+ * the following: uppercase letters, lowercase letters, numbers, special characters - Supported special characters:
118
+ * `!@#$%^&*()_+-=`
119
+ */
120
+ userPassword?: pulumi.Input<string>;
121
+ }
122
+ /**
123
+ * The set of arguments for constructing a User resource.
124
+ */
125
+ export interface UserArgs {
126
+ /**
127
+ * Whether the user has default read and write permissions for all Topics - true: This user has read and write permissions
128
+ * for all Topics - false: This user does not have read and write permissions for all Topics
129
+ */
130
+ allAuthority: pulumi.Input<boolean>;
131
+ /**
132
+ * SASL user description
133
+ */
134
+ description?: pulumi.Input<string>;
135
+ /**
136
+ * Instance ID to which the user belongs
137
+ */
138
+ instanceId: pulumi.Input<string>;
139
+ /**
140
+ * SASL user type (password type). Supported types: - Scram: SASL user of SCRAM type - Plain: SASL user of PLAIN type
141
+ * **Note:** If you create a PLAIN type user, it takes effect after a 1-minute delay. Please wait after creation.
142
+ */
143
+ passwordType?: pulumi.Input<string>;
144
+ /**
145
+ * SASL username. Must meet the following requirements: - Consists of letters, numbers, hyphens (-), or underscores (_) -
146
+ * Length: 3–64 characters - Username cannot be set to admin or monitor, and must be unique within the instance
147
+ */
148
+ userName: pulumi.Input<string>;
149
+ /**
150
+ * SASL user password. Must meet the following requirements: - Length: 8–32 characters - Must include at least three of
151
+ * the following: uppercase letters, lowercase letters, numbers, special characters - Supported special characters:
152
+ * `!@#$%^&*()_+-=`
153
+ */
154
+ userPassword: pulumi.Input<string>;
155
+ }
package/kafka/user.js ADDED
@@ -0,0 +1,97 @@
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.User = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * SASL user details
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
16
+ *
17
+ * const kafkaUserDemo = new volcenginecc.kafka.User("KafkaUserDemo", {
18
+ * instanceId: "kafka-cnngavomxxxxxx",
19
+ * userName: "user1123",
20
+ * userPassword: "********",
21
+ * allAuthority: true,
22
+ * description: "vip",
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * ```sh
29
+ * $ pulumi import volcenginecc:kafka/user:User example "instance_id|user_name"
30
+ * ```
31
+ */
32
+ class User extends pulumi.CustomResource {
33
+ /**
34
+ * Get an existing User resource's state with the given name, ID, and optional extra
35
+ * properties used to qualify the lookup.
36
+ *
37
+ * @param name The _unique_ name of the resulting resource.
38
+ * @param id The _unique_ provider ID of the resource to lookup.
39
+ * @param state Any extra arguments used during the lookup.
40
+ * @param opts Optional settings to control the behavior of the CustomResource.
41
+ */
42
+ static get(name, id, state, opts) {
43
+ return new User(name, state, Object.assign(Object.assign({}, opts), { id: id }));
44
+ }
45
+ /**
46
+ * Returns true if the given object is an instance of User. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj) {
50
+ if (obj === undefined || obj === null) {
51
+ return false;
52
+ }
53
+ return obj['__pulumiType'] === User.__pulumiType;
54
+ }
55
+ constructor(name, argsOrState, opts) {
56
+ let resourceInputs = {};
57
+ opts = opts || {};
58
+ if (opts.id) {
59
+ const state = argsOrState;
60
+ resourceInputs["allAuthority"] = state ? state.allAuthority : undefined;
61
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
62
+ resourceInputs["description"] = state ? state.description : undefined;
63
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
64
+ resourceInputs["passwordType"] = state ? state.passwordType : undefined;
65
+ resourceInputs["userName"] = state ? state.userName : undefined;
66
+ resourceInputs["userPassword"] = state ? state.userPassword : undefined;
67
+ }
68
+ else {
69
+ const args = argsOrState;
70
+ if ((!args || args.allAuthority === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'allAuthority'");
72
+ }
73
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
74
+ throw new Error("Missing required property 'instanceId'");
75
+ }
76
+ if ((!args || args.userName === undefined) && !opts.urn) {
77
+ throw new Error("Missing required property 'userName'");
78
+ }
79
+ if ((!args || args.userPassword === undefined) && !opts.urn) {
80
+ throw new Error("Missing required property 'userPassword'");
81
+ }
82
+ resourceInputs["allAuthority"] = args ? args.allAuthority : undefined;
83
+ resourceInputs["description"] = args ? args.description : undefined;
84
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
85
+ resourceInputs["passwordType"] = args ? args.passwordType : undefined;
86
+ resourceInputs["userName"] = args ? args.userName : undefined;
87
+ resourceInputs["userPassword"] = args ? args.userPassword : undefined;
88
+ resourceInputs["createTime"] = undefined /*out*/;
89
+ }
90
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
91
+ super(User.__pulumiType, name, resourceInputs, opts);
92
+ }
93
+ }
94
+ exports.User = User;
95
+ /** @internal */
96
+ User.__pulumiType = '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C,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA1GL,oBA2GC;AA7FG,gBAAgB;AACO,iBAAY,GAAG,8BAA8B,CAAC"}
@@ -0,0 +1,146 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * MongoDB instance database account.
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import volcenginecc:mongodb/account:Account example "instance_id|account_name"
11
+ * ```
12
+ */
13
+ export declare class Account extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing Account 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?: AccountState, opts?: pulumi.CustomResourceOptions): Account;
24
+ /**
25
+ * Returns true if the given object is an instance of Account. 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 Account;
29
+ /**
30
+ * Account remarks.
31
+ */
32
+ readonly accountDesc: pulumi.Output<string>;
33
+ /**
34
+ * Account name.
35
+ */
36
+ readonly accountName: pulumi.Output<string>;
37
+ /**
38
+ * Account password.
39
+ */
40
+ readonly accountPassword: pulumi.Output<string>;
41
+ readonly accountPrivileges: pulumi.Output<outputs.mongodb.AccountAccountPrivilege[]>;
42
+ /**
43
+ * Account type. Value options: Super: Super administrator account, that is, root account; UserAdmin: High-privilege account, that is, an account with any permissions on the admin database; Normal: Regular account, that is, an account with no permissions on the admin database.
44
+ */
45
+ readonly accountType: pulumi.Output<string>;
46
+ /**
47
+ * Database associated with the account.
48
+ */
49
+ readonly authDb: pulumi.Output<string>;
50
+ /**
51
+ * Account creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
52
+ */
53
+ readonly createTime: pulumi.Output<string>;
54
+ /**
55
+ * Instance ID.
56
+ */
57
+ readonly instanceId: pulumi.Output<string>;
58
+ /**
59
+ * Last update time of the account. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
60
+ */
61
+ readonly modifyTime: pulumi.Output<string>;
62
+ /**
63
+ * Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
64
+ */
65
+ readonly resetDbAccount: pulumi.Output<boolean>;
66
+ /**
67
+ * Create a Account resource with the given unique name, arguments, and options.
68
+ *
69
+ * @param name The _unique_ name of the resource.
70
+ * @param args The arguments to use to populate this resource's properties.
71
+ * @param opts A bag of options that control this resource's behavior.
72
+ */
73
+ constructor(name: string, args: AccountArgs, opts?: pulumi.CustomResourceOptions);
74
+ }
75
+ /**
76
+ * Input properties used for looking up and filtering Account resources.
77
+ */
78
+ export interface AccountState {
79
+ /**
80
+ * Account remarks.
81
+ */
82
+ accountDesc?: pulumi.Input<string>;
83
+ /**
84
+ * Account name.
85
+ */
86
+ accountName?: pulumi.Input<string>;
87
+ /**
88
+ * Account password.
89
+ */
90
+ accountPassword?: pulumi.Input<string>;
91
+ accountPrivileges?: pulumi.Input<pulumi.Input<inputs.mongodb.AccountAccountPrivilege>[]>;
92
+ /**
93
+ * Account type. Value options: Super: Super administrator account, that is, root account; UserAdmin: High-privilege account, that is, an account with any permissions on the admin database; Normal: Regular account, that is, an account with no permissions on the admin database.
94
+ */
95
+ accountType?: pulumi.Input<string>;
96
+ /**
97
+ * Database associated with the account.
98
+ */
99
+ authDb?: pulumi.Input<string>;
100
+ /**
101
+ * Account creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
102
+ */
103
+ createTime?: pulumi.Input<string>;
104
+ /**
105
+ * Instance ID.
106
+ */
107
+ instanceId?: pulumi.Input<string>;
108
+ /**
109
+ * Last update time of the account. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
110
+ */
111
+ modifyTime?: pulumi.Input<string>;
112
+ /**
113
+ * Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
114
+ */
115
+ resetDbAccount?: pulumi.Input<boolean>;
116
+ }
117
+ /**
118
+ * The set of arguments for constructing a Account resource.
119
+ */
120
+ export interface AccountArgs {
121
+ /**
122
+ * Account remarks.
123
+ */
124
+ accountDesc?: pulumi.Input<string>;
125
+ /**
126
+ * Account name.
127
+ */
128
+ accountName: pulumi.Input<string>;
129
+ /**
130
+ * Account password.
131
+ */
132
+ accountPassword?: pulumi.Input<string>;
133
+ accountPrivileges?: pulumi.Input<pulumi.Input<inputs.mongodb.AccountAccountPrivilege>[]>;
134
+ /**
135
+ * Database associated with the account.
136
+ */
137
+ authDb?: pulumi.Input<string>;
138
+ /**
139
+ * Instance ID.
140
+ */
141
+ instanceId: pulumi.Input<string>;
142
+ /**
143
+ * Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
144
+ */
145
+ resetDbAccount?: pulumi.Input<boolean>;
146
+ }
@@ -0,0 +1,82 @@
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.Account = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * MongoDB instance database account.
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import volcenginecc:mongodb/account:Account example "instance_id|account_name"
15
+ * ```
16
+ */
17
+ class Account extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing Account resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name, id, state, opts) {
28
+ return new Account(name, state, Object.assign(Object.assign({}, opts), { id: id }));
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of Account. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj) {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === Account.__pulumiType;
39
+ }
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["accountDesc"] = state ? state.accountDesc : undefined;
46
+ resourceInputs["accountName"] = state ? state.accountName : undefined;
47
+ resourceInputs["accountPassword"] = state ? state.accountPassword : undefined;
48
+ resourceInputs["accountPrivileges"] = state ? state.accountPrivileges : undefined;
49
+ resourceInputs["accountType"] = state ? state.accountType : undefined;
50
+ resourceInputs["authDb"] = state ? state.authDb : undefined;
51
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
52
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
53
+ resourceInputs["modifyTime"] = state ? state.modifyTime : undefined;
54
+ resourceInputs["resetDbAccount"] = state ? state.resetDbAccount : undefined;
55
+ }
56
+ else {
57
+ const args = argsOrState;
58
+ if ((!args || args.accountName === undefined) && !opts.urn) {
59
+ throw new Error("Missing required property 'accountName'");
60
+ }
61
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
62
+ throw new Error("Missing required property 'instanceId'");
63
+ }
64
+ resourceInputs["accountDesc"] = args ? args.accountDesc : undefined;
65
+ resourceInputs["accountName"] = args ? args.accountName : undefined;
66
+ resourceInputs["accountPassword"] = args ? args.accountPassword : undefined;
67
+ resourceInputs["accountPrivileges"] = args ? args.accountPrivileges : undefined;
68
+ resourceInputs["authDb"] = args ? args.authDb : undefined;
69
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
70
+ resourceInputs["resetDbAccount"] = args ? args.resetDbAccount : undefined;
71
+ resourceInputs["accountType"] = undefined /*out*/;
72
+ resourceInputs["createTime"] = undefined /*out*/;
73
+ resourceInputs["modifyTime"] = undefined /*out*/;
74
+ }
75
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
76
+ super(Account.__pulumiType, name, resourceInputs, opts);
77
+ }
78
+ }
79
+ exports.Account = Account;
80
+ /** @internal */
81
+ Account.__pulumiType = 'volcenginecc:mongodb/account:Account';
82
+ //# sourceMappingURL=account.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.js","sourceRoot":"","sources":["../../mongodb/account.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;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,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAgDD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,mBA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AC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA9GL,0BA+GC;AAjGG,gBAAgB;AACO,oBAAY,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,175 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * List of connection address information
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
12
+ *
13
+ * const mongoDBEndpointDemo = new volcenginecc.mongodb.Endpoint("MongoDBEndpointDemo", {
14
+ * eipIds: [
15
+ * "eip-****",
16
+ * "eip-****",
17
+ * ],
18
+ * instanceId: "mongo-replica-****",
19
+ * networkType: "Public",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * ```sh
26
+ * $ pulumi import volcenginecc:mongodb/endpoint:Endpoint example "instance_id|endpoint_id"
27
+ * ```
28
+ */
29
+ export declare class Endpoint extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing Endpoint resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EndpointState, opts?: pulumi.CustomResourceOptions): Endpoint;
40
+ /**
41
+ * Returns true if the given object is an instance of Endpoint. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is Endpoint;
45
+ readonly dbAddresses: pulumi.Output<outputs.mongodb.EndpointDbAddress[]>;
46
+ /**
47
+ * List of EIP IDs to bind when applying for a public address
48
+ */
49
+ readonly eipIds: pulumi.Output<string[]>;
50
+ /**
51
+ * Connection address ID
52
+ */
53
+ readonly endpointId: pulumi.Output<string>;
54
+ /**
55
+ * String information of the connection address.
56
+ */
57
+ readonly endpointStr: pulumi.Output<string>;
58
+ /**
59
+ * Node type corresponding to the connection address. Possible values: - Replica set instances only support the
60
+ * `ReplicaSet` (replica set) connection address type - Sharded cluster instances support three connection address types:
61
+ * `Mongos` (Mongos node), `ConfigServer` (ConfigServer node), and `Shard` (Shard node)
62
+ */
63
+ readonly endpointType: pulumi.Output<string>;
64
+ /**
65
+ * Instance ID
66
+ */
67
+ readonly instanceId: pulumi.Output<string>;
68
+ /**
69
+ * ID of the Mongos node that requires a public connection address
70
+ */
71
+ readonly mongosNodeIds: pulumi.Output<string[]>;
72
+ /**
73
+ * Network type of the connection address. Possible values: - `Private`: Private connection address - `Public`: Public
74
+ * connection address
75
+ */
76
+ readonly networkType: pulumi.Output<string>;
77
+ /**
78
+ * ID of the component associated with the current connection address **Note:** This parameter is returned only when
79
+ * `EndpointType` is set to `Mongos`, `ConfigServer`, or `Shard`.
80
+ */
81
+ readonly objectId: pulumi.Output<string>;
82
+ /**
83
+ * Subnet ID of the current instance
84
+ */
85
+ readonly subnetId: pulumi.Output<string>;
86
+ /**
87
+ * VPC ID of the current instance
88
+ */
89
+ readonly vpcId: pulumi.Output<string>;
90
+ /**
91
+ * Create a Endpoint resource with the given unique name, arguments, and options.
92
+ *
93
+ * @param name The _unique_ name of the resource.
94
+ * @param args The arguments to use to populate this resource's properties.
95
+ * @param opts A bag of options that control this resource's behavior.
96
+ */
97
+ constructor(name: string, args: EndpointArgs, opts?: pulumi.CustomResourceOptions);
98
+ }
99
+ /**
100
+ * Input properties used for looking up and filtering Endpoint resources.
101
+ */
102
+ export interface EndpointState {
103
+ dbAddresses?: pulumi.Input<pulumi.Input<inputs.mongodb.EndpointDbAddress>[]>;
104
+ /**
105
+ * List of EIP IDs to bind when applying for a public address
106
+ */
107
+ eipIds?: pulumi.Input<pulumi.Input<string>[]>;
108
+ /**
109
+ * Connection address ID
110
+ */
111
+ endpointId?: pulumi.Input<string>;
112
+ /**
113
+ * String information of the connection address.
114
+ */
115
+ endpointStr?: pulumi.Input<string>;
116
+ /**
117
+ * Node type corresponding to the connection address. Possible values: - Replica set instances only support the
118
+ * `ReplicaSet` (replica set) connection address type - Sharded cluster instances support three connection address types:
119
+ * `Mongos` (Mongos node), `ConfigServer` (ConfigServer node), and `Shard` (Shard node)
120
+ */
121
+ endpointType?: pulumi.Input<string>;
122
+ /**
123
+ * Instance ID
124
+ */
125
+ instanceId?: pulumi.Input<string>;
126
+ /**
127
+ * ID of the Mongos node that requires a public connection address
128
+ */
129
+ mongosNodeIds?: pulumi.Input<pulumi.Input<string>[]>;
130
+ /**
131
+ * Network type of the connection address. Possible values: - `Private`: Private connection address - `Public`: Public
132
+ * connection address
133
+ */
134
+ networkType?: pulumi.Input<string>;
135
+ /**
136
+ * ID of the component associated with the current connection address **Note:** This parameter is returned only when
137
+ * `EndpointType` is set to `Mongos`, `ConfigServer`, or `Shard`.
138
+ */
139
+ objectId?: pulumi.Input<string>;
140
+ /**
141
+ * Subnet ID of the current instance
142
+ */
143
+ subnetId?: pulumi.Input<string>;
144
+ /**
145
+ * VPC ID of the current instance
146
+ */
147
+ vpcId?: pulumi.Input<string>;
148
+ }
149
+ /**
150
+ * The set of arguments for constructing a Endpoint resource.
151
+ */
152
+ export interface EndpointArgs {
153
+ /**
154
+ * List of EIP IDs to bind when applying for a public address
155
+ */
156
+ eipIds?: pulumi.Input<pulumi.Input<string>[]>;
157
+ /**
158
+ * Instance ID
159
+ */
160
+ instanceId: pulumi.Input<string>;
161
+ /**
162
+ * ID of the Mongos node that requires a public connection address
163
+ */
164
+ mongosNodeIds?: pulumi.Input<pulumi.Input<string>[]>;
165
+ /**
166
+ * Network type of the connection address. Possible values: - `Private`: Private connection address - `Public`: Public
167
+ * connection address
168
+ */
169
+ networkType?: pulumi.Input<string>;
170
+ /**
171
+ * ID of the component associated with the current connection address **Note:** This parameter is returned only when
172
+ * `EndpointType` is set to `Mongos`, `ConfigServer`, or `Shard`.
173
+ */
174
+ objectId?: pulumi.Input<string>;
175
+ }