@volcengine/pulumi-volcenginecc 0.0.42 → 0.0.44

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 (253) hide show
  1. package/cloudmonitor/eventRule.d.ts +226 -0
  2. package/cloudmonitor/eventRule.js +126 -0
  3. package/cloudmonitor/eventRule.js.map +1 -0
  4. package/cloudmonitor/getEventRule.d.ts +65 -0
  5. package/cloudmonitor/getEventRule.js +28 -0
  6. package/cloudmonitor/getEventRule.js.map +1 -0
  7. package/cloudmonitor/getEventRules.d.ts +22 -0
  8. package/cloudmonitor/getEventRules.js +24 -0
  9. package/cloudmonitor/getEventRules.js.map +1 -0
  10. package/cloudmonitor/index.d.ts +9 -0
  11. package/cloudmonitor/index.js +12 -1
  12. package/cloudmonitor/index.js.map +1 -1
  13. package/cr/getVpcEndpoint.d.ts +45 -0
  14. package/cr/getVpcEndpoint.js +28 -0
  15. package/cr/getVpcEndpoint.js.map +1 -0
  16. package/cr/getVpcEndpoints.d.ts +22 -0
  17. package/cr/getVpcEndpoints.js +24 -0
  18. package/cr/getVpcEndpoints.js.map +1 -0
  19. package/cr/index.d.ts +9 -0
  20. package/cr/index.js +12 -1
  21. package/cr/index.js.map +1 -1
  22. package/cr/vpcEndpoint.d.ts +62 -0
  23. package/cr/vpcEndpoint.js +66 -0
  24. package/cr/vpcEndpoint.js.map +1 -0
  25. package/dns/backup.d.ts +90 -0
  26. package/dns/backup.js +76 -0
  27. package/dns/backup.js.map +1 -0
  28. package/dns/backupSchedule.d.ts +89 -0
  29. package/dns/backupSchedule.js +80 -0
  30. package/dns/backupSchedule.js.map +1 -0
  31. package/dns/getBackup.d.ts +52 -0
  32. package/dns/getBackup.js +28 -0
  33. package/dns/getBackup.js.map +1 -0
  34. package/dns/getBackupSchedule.d.ts +48 -0
  35. package/dns/getBackupSchedule.js +28 -0
  36. package/dns/getBackupSchedule.js.map +1 -0
  37. package/dns/getBackupSchedules.d.ts +22 -0
  38. package/dns/getBackupSchedules.js +24 -0
  39. package/dns/getBackupSchedules.js.map +1 -0
  40. package/dns/getBackups.d.ts +22 -0
  41. package/dns/getBackups.js +24 -0
  42. package/dns/getBackups.js.map +1 -0
  43. package/dns/index.d.ts +18 -0
  44. package/dns/index.js +23 -1
  45. package/dns/index.js.map +1 -1
  46. package/gtm/getPolicies.d.ts +22 -0
  47. package/gtm/getPolicies.js +24 -0
  48. package/gtm/getPolicies.js.map +1 -0
  49. package/gtm/getPolicy.d.ts +65 -0
  50. package/gtm/getPolicy.js +28 -0
  51. package/gtm/getPolicy.js.map +1 -0
  52. package/gtm/index.d.ts +9 -0
  53. package/gtm/index.js +12 -1
  54. package/gtm/index.js.map +1 -1
  55. package/gtm/policy.d.ts +114 -0
  56. package/gtm/policy.js +76 -0
  57. package/gtm/policy.js.map +1 -0
  58. package/iam/allowedIpAddress.d.ts +107 -0
  59. package/iam/allowedIpAddress.js +95 -0
  60. package/iam/allowedIpAddress.js.map +1 -0
  61. package/iam/getAllowedIpAddress.d.ts +53 -0
  62. package/iam/getAllowedIpAddress.js +28 -0
  63. package/iam/getAllowedIpAddress.js.map +1 -0
  64. package/iam/getAllowedIpAddresses.d.ts +22 -0
  65. package/iam/getAllowedIpAddresses.js +24 -0
  66. package/iam/getAllowedIpAddresses.js.map +1 -0
  67. package/iam/index.d.ts +9 -0
  68. package/iam/index.js +12 -1
  69. package/iam/index.js.map +1 -1
  70. package/kafka/getGroup.d.ts +65 -0
  71. package/kafka/getGroup.js +28 -0
  72. package/kafka/getGroup.js.map +1 -0
  73. package/kafka/getGroups.d.ts +22 -0
  74. package/kafka/getGroups.js +24 -0
  75. package/kafka/getGroups.js.map +1 -0
  76. package/kafka/group.d.ts +127 -0
  77. package/kafka/group.js +93 -0
  78. package/kafka/group.js.map +1 -0
  79. package/kafka/index.d.ts +9 -0
  80. package/kafka/index.js +12 -1
  81. package/kafka/index.js.map +1 -1
  82. package/mongodb/endpoint.d.ts +175 -0
  83. package/mongodb/endpoint.js +97 -0
  84. package/mongodb/endpoint.js.map +1 -0
  85. package/mongodb/getEndpoint.d.ts +39 -0
  86. package/mongodb/getEndpoint.js +28 -0
  87. package/mongodb/getEndpoint.js.map +1 -0
  88. package/mongodb/getEndpoints.d.ts +22 -0
  89. package/mongodb/getEndpoints.js +24 -0
  90. package/mongodb/getEndpoints.js.map +1 -0
  91. package/mongodb/index.d.ts +9 -0
  92. package/mongodb/index.js +12 -1
  93. package/mongodb/index.js.map +1 -1
  94. package/package.json +1 -1
  95. package/privatelink/gatewayEndpoint.d.ts +182 -0
  96. package/privatelink/gatewayEndpoint.js +106 -0
  97. package/privatelink/gatewayEndpoint.js.map +1 -0
  98. package/privatelink/getGatewayEndpoint.d.ts +85 -0
  99. package/privatelink/getGatewayEndpoint.js +28 -0
  100. package/privatelink/getGatewayEndpoint.js.map +1 -0
  101. package/privatelink/getGatewayEndpoints.d.ts +22 -0
  102. package/privatelink/getGatewayEndpoints.js +24 -0
  103. package/privatelink/getGatewayEndpoints.js.map +1 -0
  104. package/privatelink/index.d.ts +9 -0
  105. package/privatelink/index.js +12 -1
  106. package/privatelink/index.js.map +1 -1
  107. package/rdsmssql/backup.d.ts +148 -0
  108. package/rdsmssql/backup.js +85 -0
  109. package/rdsmssql/backup.js.map +1 -0
  110. package/rdsmssql/getBackup.d.ts +89 -0
  111. package/rdsmssql/getBackup.js +28 -0
  112. package/rdsmssql/getBackup.js.map +1 -0
  113. package/rdsmssql/getBackups.d.ts +22 -0
  114. package/rdsmssql/getBackups.js +24 -0
  115. package/rdsmssql/getBackups.js.map +1 -0
  116. package/rdsmssql/index.d.ts +9 -0
  117. package/rdsmssql/index.js +12 -1
  118. package/rdsmssql/index.js.map +1 -1
  119. package/rdsmysql/allowList.d.ts +1 -0
  120. package/rdsmysql/allowList.js +1 -1
  121. package/rdsmysql/allowList.js.map +1 -1
  122. package/rdspostgresql/allowList.d.ts +24 -0
  123. package/rdspostgresql/allowList.js +4 -0
  124. package/rdspostgresql/allowList.js.map +1 -1
  125. package/rdspostgresql/getAllowList.d.ts +8 -0
  126. package/rdspostgresql/getAllowList.js.map +1 -1
  127. package/rdspostgresql/getInstanceSsl.d.ts +68 -0
  128. package/rdspostgresql/getInstanceSsl.js +28 -0
  129. package/rdspostgresql/getInstanceSsl.js.map +1 -0
  130. package/rdspostgresql/getInstanceSsls.d.ts +22 -0
  131. package/rdspostgresql/getInstanceSsls.js +24 -0
  132. package/rdspostgresql/getInstanceSsls.js.map +1 -0
  133. package/rdspostgresql/index.d.ts +9 -0
  134. package/rdspostgresql/index.js +12 -1
  135. package/rdspostgresql/index.js.map +1 -1
  136. package/rdspostgresql/instanceSsl.d.ts +134 -0
  137. package/rdspostgresql/instanceSsl.js +88 -0
  138. package/rdspostgresql/instanceSsl.js.map +1 -0
  139. package/redis/allowList.d.ts +2 -2
  140. package/redis/allowList.js +3 -0
  141. package/redis/allowList.js.map +1 -1
  142. package/rocketmq/accessKey.d.ts +126 -0
  143. package/rocketmq/accessKey.js +80 -0
  144. package/rocketmq/accessKey.js.map +1 -0
  145. package/rocketmq/getAccessKey.d.ts +73 -0
  146. package/rocketmq/getAccessKey.js +28 -0
  147. package/rocketmq/getAccessKey.js.map +1 -0
  148. package/rocketmq/getAccessKeys.d.ts +22 -0
  149. package/rocketmq/getAccessKeys.js +24 -0
  150. package/rocketmq/getAccessKeys.js.map +1 -0
  151. package/rocketmq/index.d.ts +9 -0
  152. package/rocketmq/index.js +12 -1
  153. package/rocketmq/index.js.map +1 -1
  154. package/storageebs/getSnapshotPolicies.d.ts +22 -0
  155. package/storageebs/getSnapshotPolicies.js +24 -0
  156. package/storageebs/getSnapshotPolicies.js.map +1 -0
  157. package/storageebs/getSnapshotPolicy.d.ts +93 -0
  158. package/storageebs/getSnapshotPolicy.js +28 -0
  159. package/storageebs/getSnapshotPolicy.js.map +1 -0
  160. package/storageebs/index.d.ts +9 -0
  161. package/storageebs/index.js +12 -1
  162. package/storageebs/index.js.map +1 -1
  163. package/storageebs/snapshotPolicy.d.ts +215 -0
  164. package/storageebs/snapshotPolicy.js +122 -0
  165. package/storageebs/snapshotPolicy.js.map +1 -0
  166. package/tls/etl.d.ts +222 -0
  167. package/tls/etl.js +113 -0
  168. package/tls/etl.js.map +1 -0
  169. package/tls/getEtl.d.ts +109 -0
  170. package/tls/getEtl.js +28 -0
  171. package/tls/getEtl.js.map +1 -0
  172. package/tls/getEtls.d.ts +22 -0
  173. package/tls/getEtls.js +24 -0
  174. package/tls/getEtls.js.map +1 -0
  175. package/tls/getHost.d.ts +52 -0
  176. package/tls/getHost.js +28 -0
  177. package/tls/getHost.js.map +1 -0
  178. package/tls/getHostGroup.d.ts +113 -0
  179. package/tls/getHostGroup.js +28 -0
  180. package/tls/getHostGroup.js.map +1 -0
  181. package/tls/getHostGroups.d.ts +22 -0
  182. package/tls/getHostGroups.js +24 -0
  183. package/tls/getHostGroups.js.map +1 -0
  184. package/tls/getHosts.d.ts +22 -0
  185. package/tls/getHosts.js +24 -0
  186. package/tls/getHosts.js.map +1 -0
  187. package/tls/host.d.ts +97 -0
  188. package/tls/host.js +82 -0
  189. package/tls/host.js.map +1 -0
  190. package/tls/hostGroup.d.ts +254 -0
  191. package/tls/hostGroup.js +121 -0
  192. package/tls/hostGroup.js.map +1 -0
  193. package/tls/index.d.ts +27 -0
  194. package/tls/index.js +35 -1
  195. package/tls/index.js.map +1 -1
  196. package/tos/bucket.d.ts +12 -0
  197. package/tos/bucket.js +2 -0
  198. package/tos/bucket.js.map +1 -1
  199. package/tos/bucketMirrorBack.d.ts +62 -0
  200. package/tos/bucketMirrorBack.js +63 -0
  201. package/tos/bucketMirrorBack.js.map +1 -0
  202. package/tos/bucketRename.d.ts +74 -0
  203. package/tos/bucketRename.js +72 -0
  204. package/tos/bucketRename.js.map +1 -0
  205. package/tos/getBucket.d.ts +4 -0
  206. package/tos/getBucket.js.map +1 -1
  207. package/tos/getBucketMirrorBack.d.ts +45 -0
  208. package/tos/getBucketMirrorBack.js +28 -0
  209. package/tos/getBucketMirrorBack.js.map +1 -0
  210. package/tos/getBucketMirrorBacks.d.ts +22 -0
  211. package/tos/getBucketMirrorBacks.js +24 -0
  212. package/tos/getBucketMirrorBacks.js.map +1 -0
  213. package/tos/getBucketRename.d.ts +44 -0
  214. package/tos/getBucketRename.js +28 -0
  215. package/tos/getBucketRename.js.map +1 -0
  216. package/tos/getBucketRenames.d.ts +22 -0
  217. package/tos/getBucketRenames.js +24 -0
  218. package/tos/getBucketRenames.js.map +1 -0
  219. package/tos/index.d.ts +18 -0
  220. package/tos/index.js +23 -1
  221. package/tos/index.js.map +1 -1
  222. package/transitrouter/directConnectGatewayAttachment.d.ts +180 -0
  223. package/transitrouter/directConnectGatewayAttachment.js +106 -0
  224. package/transitrouter/directConnectGatewayAttachment.js.map +1 -0
  225. package/transitrouter/getDirectConnectGatewayAttachment.d.ts +89 -0
  226. package/transitrouter/getDirectConnectGatewayAttachment.js +28 -0
  227. package/transitrouter/getDirectConnectGatewayAttachment.js.map +1 -0
  228. package/transitrouter/getDirectConnectGatewayAttachments.d.ts +22 -0
  229. package/transitrouter/getDirectConnectGatewayAttachments.js +24 -0
  230. package/transitrouter/getDirectConnectGatewayAttachments.js.map +1 -0
  231. package/transitrouter/getTransitRouterBandwidthPackage.d.ts +141 -0
  232. package/transitrouter/getTransitRouterBandwidthPackage.js +28 -0
  233. package/transitrouter/getTransitRouterBandwidthPackage.js.map +1 -0
  234. package/transitrouter/getTransitRouterBandwidthPackages.d.ts +22 -0
  235. package/transitrouter/getTransitRouterBandwidthPackages.js +24 -0
  236. package/transitrouter/getTransitRouterBandwidthPackages.js.map +1 -0
  237. package/transitrouter/getTransitRouterRouteTableAssociation.d.ts +48 -0
  238. package/transitrouter/getTransitRouterRouteTableAssociation.js +28 -0
  239. package/transitrouter/getTransitRouterRouteTableAssociation.js.map +1 -0
  240. package/transitrouter/getTransitRouterRouteTableAssociations.d.ts +22 -0
  241. package/transitrouter/getTransitRouterRouteTableAssociations.js +24 -0
  242. package/transitrouter/getTransitRouterRouteTableAssociations.js.map +1 -0
  243. package/transitrouter/index.d.ts +27 -0
  244. package/transitrouter/index.js +34 -1
  245. package/transitrouter/index.js.map +1 -1
  246. package/transitrouter/transitRouterBandwidthPackage.d.ts +320 -0
  247. package/transitrouter/transitRouterBandwidthPackage.js +138 -0
  248. package/transitrouter/transitRouterBandwidthPackage.js.map +1 -0
  249. package/transitrouter/transitRouterRouteTableAssociation.d.ts +89 -0
  250. package/transitrouter/transitRouterRouteTableAssociation.js +80 -0
  251. package/transitrouter/transitRouterRouteTableAssociation.js.map +1 -0
  252. package/types/input.d.ts +1050 -102
  253. package/types/output.d.ts +2599 -597
@@ -0,0 +1,65 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::Kafka::Group
5
+ */
6
+ export declare function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>;
7
+ /**
8
+ * A collection of arguments for invoking getGroup.
9
+ */
10
+ export interface GetGroupArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getGroup.
18
+ */
19
+ export interface GetGroupResult {
20
+ /**
21
+ * Algorithm for assigning partitions to consumers, specified by the consumer client. If using custom partition consumption, this field may be empty
22
+ */
23
+ readonly balanceAlgorithm: string;
24
+ /**
25
+ * Consumer group description, up to 128 characters
26
+ */
27
+ readonly description: string;
28
+ /**
29
+ * Consumer group ID to be created - Length: 3–128 characters - Can contain uppercase and lowercase letters, numbers, hyphens (-), special character (@), and underscores (_) - Must include at least one letter or number
30
+ */
31
+ readonly groupId: string;
32
+ /**
33
+ * Uniquely identifies the resource.
34
+ */
35
+ readonly id: string;
36
+ /**
37
+ * Instance ID
38
+ */
39
+ readonly instanceId: string;
40
+ /**
41
+ * Consumer group protocol type - If using the standard Kafka consumer protocol, displays as consumer - If using another protocol type, displays the corresponding protocol name, for example, connect when using Kafka-Connector - If using custom partition consumption, this field may be empty
42
+ */
43
+ readonly protocolType: string;
44
+ /**
45
+ * Consumer group status - PreparingRebalance: preparing for consumption - CompletingRebalance: assigning partitions - Stable: consuming - Empty: not consuming - Dead: expired
46
+ */
47
+ readonly state: string;
48
+ /**
49
+ * Group tags
50
+ */
51
+ readonly tags: outputs.kafka.GetGroupTag[];
52
+ }
53
+ /**
54
+ * Data Source schema for Volcengine::Kafka::Group
55
+ */
56
+ export declare function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupResult>;
57
+ /**
58
+ * A collection of arguments for invoking getGroup.
59
+ */
60
+ export interface GetGroupOutputArgs {
61
+ /**
62
+ * Uniquely identifies the resource.
63
+ */
64
+ id: pulumi.Input<string>;
65
+ }
@@ -0,0 +1,28 @@
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.getGroupOutput = exports.getGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::Kafka::Group
10
+ */
11
+ function getGroup(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:kafka/getGroup:getGroup", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getGroup = getGroup;
18
+ /**
19
+ * Data Source schema for Volcengine::Kafka::Group
20
+ */
21
+ function getGroupOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:kafka/getGroup:getGroup", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getGroupOutput = getGroupOutput;
28
+ //# sourceMappingURL=getGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../../kafka/getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AAiDD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::Kafka::Group
4
+ */
5
+ export declare function getGroups(opts?: pulumi.InvokeOptions): Promise<GetGroupsResult>;
6
+ /**
7
+ * A collection of values returned by getGroups.
8
+ */
9
+ export interface GetGroupsResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Volcengine::Kafka::Group
21
+ */
22
+ export declare function getGroupsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupsResult>;
@@ -0,0 +1,24 @@
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.getGroupsOutput = exports.getGroups = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::Kafka::Group
10
+ */
11
+ function getGroups(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:kafka/getGroups:getGroups", {}, opts);
14
+ }
15
+ exports.getGroups = getGroups;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::Kafka::Group
18
+ */
19
+ function getGroupsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:kafka/getGroups:getGroups", {}, opts);
22
+ }
23
+ exports.getGroupsOutput = getGroupsOutput;
24
+ //# sourceMappingURL=getGroups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroups.js","sourceRoot":"","sources":["../../kafka/getGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAA2B;IACjD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8BAIC;AAeD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAiC;IAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC"}
@@ -0,0 +1,127 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Group basic 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 kafkaGroupDemo = new volcenginecc.kafka.Group("KafkaGroupDemo", {
14
+ * instanceId: "instance_id_xxxxxx",
15
+ * groupId: "ccapi-test-2",
16
+ * description: "test",
17
+ * tags: [{
18
+ * key: "env",
19
+ * value: "test",
20
+ * }],
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * ```sh
27
+ * $ pulumi import volcenginecc:kafka/group:Group example "instance_id|group_id"
28
+ * ```
29
+ */
30
+ export declare class Group extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing Group resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
41
+ /**
42
+ * Returns true if the given object is an instance of Group. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is Group;
46
+ /**
47
+ * Algorithm for assigning partitions to consumers, specified by the consumer client. If using custom partition consumption, this field may be empty
48
+ */
49
+ readonly balanceAlgorithm: pulumi.Output<string>;
50
+ /**
51
+ * Consumer group description, up to 128 characters
52
+ */
53
+ readonly description: pulumi.Output<string>;
54
+ /**
55
+ * Consumer group ID to be created - Length: 3–128 characters - Can contain uppercase and lowercase letters, numbers, hyphens (-), special character (@), and underscores (_) - Must include at least one letter or number
56
+ */
57
+ readonly groupId: pulumi.Output<string>;
58
+ /**
59
+ * Instance ID
60
+ */
61
+ readonly instanceId: pulumi.Output<string>;
62
+ /**
63
+ * Consumer group protocol type - If using the standard Kafka consumer protocol, displays as consumer - If using another protocol type, displays the corresponding protocol name, for example, connect when using Kafka-Connector - If using custom partition consumption, this field may be empty
64
+ */
65
+ readonly protocolType: pulumi.Output<string>;
66
+ /**
67
+ * Consumer group status - PreparingRebalance: preparing for consumption - CompletingRebalance: assigning partitions - Stable: consuming - Empty: not consuming - Dead: expired
68
+ */
69
+ readonly state: pulumi.Output<string>;
70
+ readonly tags: pulumi.Output<outputs.kafka.GroupTag[]>;
71
+ /**
72
+ * Create a Group resource with the given unique name, arguments, and options.
73
+ *
74
+ * @param name The _unique_ name of the resource.
75
+ * @param args The arguments to use to populate this resource's properties.
76
+ * @param opts A bag of options that control this resource's behavior.
77
+ */
78
+ constructor(name: string, args: GroupArgs, opts?: pulumi.CustomResourceOptions);
79
+ }
80
+ /**
81
+ * Input properties used for looking up and filtering Group resources.
82
+ */
83
+ export interface GroupState {
84
+ /**
85
+ * Algorithm for assigning partitions to consumers, specified by the consumer client. If using custom partition consumption, this field may be empty
86
+ */
87
+ balanceAlgorithm?: pulumi.Input<string>;
88
+ /**
89
+ * Consumer group description, up to 128 characters
90
+ */
91
+ description?: pulumi.Input<string>;
92
+ /**
93
+ * Consumer group ID to be created - Length: 3–128 characters - Can contain uppercase and lowercase letters, numbers, hyphens (-), special character (@), and underscores (_) - Must include at least one letter or number
94
+ */
95
+ groupId?: pulumi.Input<string>;
96
+ /**
97
+ * Instance ID
98
+ */
99
+ instanceId?: pulumi.Input<string>;
100
+ /**
101
+ * Consumer group protocol type - If using the standard Kafka consumer protocol, displays as consumer - If using another protocol type, displays the corresponding protocol name, for example, connect when using Kafka-Connector - If using custom partition consumption, this field may be empty
102
+ */
103
+ protocolType?: pulumi.Input<string>;
104
+ /**
105
+ * Consumer group status - PreparingRebalance: preparing for consumption - CompletingRebalance: assigning partitions - Stable: consuming - Empty: not consuming - Dead: expired
106
+ */
107
+ state?: pulumi.Input<string>;
108
+ tags?: pulumi.Input<pulumi.Input<inputs.kafka.GroupTag>[]>;
109
+ }
110
+ /**
111
+ * The set of arguments for constructing a Group resource.
112
+ */
113
+ export interface GroupArgs {
114
+ /**
115
+ * Consumer group description, up to 128 characters
116
+ */
117
+ description?: pulumi.Input<string>;
118
+ /**
119
+ * Consumer group ID to be created - Length: 3–128 characters - Can contain uppercase and lowercase letters, numbers, hyphens (-), special character (@), and underscores (_) - Must include at least one letter or number
120
+ */
121
+ groupId: pulumi.Input<string>;
122
+ /**
123
+ * Instance ID
124
+ */
125
+ instanceId: pulumi.Input<string>;
126
+ tags?: pulumi.Input<pulumi.Input<inputs.kafka.GroupTag>[]>;
127
+ }
package/kafka/group.js ADDED
@@ -0,0 +1,93 @@
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.Group = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Group basic information
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 kafkaGroupDemo = new volcenginecc.kafka.Group("KafkaGroupDemo", {
18
+ * instanceId: "instance_id_xxxxxx",
19
+ * groupId: "ccapi-test-2",
20
+ * description: "test",
21
+ * tags: [{
22
+ * key: "env",
23
+ * value: "test",
24
+ * }],
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * ```sh
31
+ * $ pulumi import volcenginecc:kafka/group:Group example "instance_id|group_id"
32
+ * ```
33
+ */
34
+ class Group extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing Group resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name, id, state, opts) {
45
+ return new Group(name, state, Object.assign(Object.assign({}, opts), { id: id }));
46
+ }
47
+ /**
48
+ * Returns true if the given object is an instance of Group. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj) {
52
+ if (obj === undefined || obj === null) {
53
+ return false;
54
+ }
55
+ return obj['__pulumiType'] === Group.__pulumiType;
56
+ }
57
+ constructor(name, argsOrState, opts) {
58
+ let resourceInputs = {};
59
+ opts = opts || {};
60
+ if (opts.id) {
61
+ const state = argsOrState;
62
+ resourceInputs["balanceAlgorithm"] = state ? state.balanceAlgorithm : undefined;
63
+ resourceInputs["description"] = state ? state.description : undefined;
64
+ resourceInputs["groupId"] = state ? state.groupId : undefined;
65
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
66
+ resourceInputs["protocolType"] = state ? state.protocolType : undefined;
67
+ resourceInputs["state"] = state ? state.state : undefined;
68
+ resourceInputs["tags"] = state ? state.tags : undefined;
69
+ }
70
+ else {
71
+ const args = argsOrState;
72
+ if ((!args || args.groupId === undefined) && !opts.urn) {
73
+ throw new Error("Missing required property 'groupId'");
74
+ }
75
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'instanceId'");
77
+ }
78
+ resourceInputs["description"] = args ? args.description : undefined;
79
+ resourceInputs["groupId"] = args ? args.groupId : undefined;
80
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
81
+ resourceInputs["tags"] = args ? args.tags : undefined;
82
+ resourceInputs["balanceAlgorithm"] = undefined /*out*/;
83
+ resourceInputs["protocolType"] = undefined /*out*/;
84
+ resourceInputs["state"] = undefined /*out*/;
85
+ }
86
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
+ super(Group.__pulumiType, name, resourceInputs, opts);
88
+ }
89
+ }
90
+ exports.Group = Group;
91
+ /** @internal */
92
+ Group.__pulumiType = 'volcenginecc:kafka/group:Group';
93
+ //# sourceMappingURL=group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.js","sourceRoot":"","sources":["../../kafka/group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IAoCD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,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C,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA5FL,sBA6FC;AA/EG,gBAAgB;AACO,kBAAY,GAAG,gCAAgC,CAAC"}
package/kafka/index.d.ts CHANGED
@@ -7,6 +7,12 @@ export declare const getAllowListOutput: typeof import("./getAllowList").getAllo
7
7
  export { GetAllowListsResult } from "./getAllowLists";
8
8
  export declare const getAllowLists: typeof import("./getAllowLists").getAllowLists;
9
9
  export declare const getAllowListsOutput: typeof import("./getAllowLists").getAllowListsOutput;
10
+ export { GetGroupArgs, GetGroupResult, GetGroupOutputArgs } from "./getGroup";
11
+ export declare const getGroup: typeof import("./getGroup").getGroup;
12
+ export declare const getGroupOutput: typeof import("./getGroup").getGroupOutput;
13
+ export { GetGroupsResult } from "./getGroups";
14
+ export declare const getGroups: typeof import("./getGroups").getGroups;
15
+ export declare const getGroupsOutput: typeof import("./getGroups").getGroupsOutput;
10
16
  export { GetInstanceArgs, GetInstanceResult, GetInstanceOutputArgs } from "./getInstance";
11
17
  export declare const getInstance: typeof import("./getInstance").getInstance;
12
18
  export declare const getInstanceOutput: typeof import("./getInstance").getInstanceOutput;
@@ -25,6 +31,9 @@ export declare const getUserOutput: typeof import("./getUser").getUserOutput;
25
31
  export { GetUsersResult } from "./getUsers";
26
32
  export declare const getUsers: typeof import("./getUsers").getUsers;
27
33
  export declare const getUsersOutput: typeof import("./getUsers").getUsersOutput;
34
+ export { GroupArgs, GroupState } from "./group";
35
+ export type Group = import("./group").Group;
36
+ export declare const Group: typeof import("./group").Group;
28
37
  export { InstanceArgs, InstanceState } from "./instance";
29
38
  export type Instance = import("./instance").Instance;
30
39
  export declare const Instance: typeof import("./instance").Instance;
package/kafka/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.User = exports.Topic = exports.Instance = exports.getUsersOutput = exports.getUsers = exports.getUserOutput = exports.getUser = exports.getTopicsOutput = exports.getTopics = exports.getTopicOutput = exports.getTopic = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.AllowList = void 0;
5
+ exports.User = exports.Topic = exports.Instance = exports.Group = exports.getUsersOutput = exports.getUsers = exports.getUserOutput = exports.getUser = exports.getTopicsOutput = exports.getTopics = exports.getTopicOutput = exports.getTopic = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getGroupsOutput = exports.getGroups = exports.getGroupOutput = exports.getGroup = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.AllowList = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.AllowList = null;
@@ -13,6 +13,12 @@ utilities.lazyLoad(exports, ["getAllowList", "getAllowListOutput"], () => requir
13
13
  exports.getAllowLists = null;
14
14
  exports.getAllowListsOutput = null;
15
15
  utilities.lazyLoad(exports, ["getAllowLists", "getAllowListsOutput"], () => require("./getAllowLists"));
16
+ exports.getGroup = null;
17
+ exports.getGroupOutput = null;
18
+ utilities.lazyLoad(exports, ["getGroup", "getGroupOutput"], () => require("./getGroup"));
19
+ exports.getGroups = null;
20
+ exports.getGroupsOutput = null;
21
+ utilities.lazyLoad(exports, ["getGroups", "getGroupsOutput"], () => require("./getGroups"));
16
22
  exports.getInstance = null;
17
23
  exports.getInstanceOutput = null;
18
24
  utilities.lazyLoad(exports, ["getInstance", "getInstanceOutput"], () => require("./getInstance"));
@@ -31,6 +37,8 @@ utilities.lazyLoad(exports, ["getUser", "getUserOutput"], () => require("./getUs
31
37
  exports.getUsers = null;
32
38
  exports.getUsersOutput = null;
33
39
  utilities.lazyLoad(exports, ["getUsers", "getUsersOutput"], () => require("./getUsers"));
40
+ exports.Group = null;
41
+ utilities.lazyLoad(exports, ["Group"], () => require("./group"));
34
42
  exports.Instance = null;
35
43
  utilities.lazyLoad(exports, ["Instance"], () => require("./instance"));
36
44
  exports.Topic = null;
@@ -43,6 +51,8 @@ const _module = {
43
51
  switch (type) {
44
52
  case "volcenginecc:kafka/allowList:AllowList":
45
53
  return new exports.AllowList(name, undefined, { urn });
54
+ case "volcenginecc:kafka/group:Group":
55
+ return new exports.Group(name, undefined, { urn });
46
56
  case "volcenginecc:kafka/instance:Instance":
47
57
  return new exports.Instance(name, undefined, { urn });
48
58
  case "volcenginecc:kafka/topic:Topic":
@@ -55,6 +65,7 @@ const _module = {
55
65
  },
56
66
  };
57
67
  pulumi.runtime.registerResourceModule("volcenginecc", "kafka/allowList", _module);
68
+ pulumi.runtime.registerResourceModule("volcenginecc", "kafka/group", _module);
58
69
  pulumi.runtime.registerResourceModule("volcenginecc", "kafka/instance", _module);
59
70
  pulumi.runtime.registerResourceModule("volcenginecc", "kafka/topic", _module);
60
71
  pulumi.runtime.registerResourceModule("volcenginecc", "kafka/user", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../kafka/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG5D,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGvF,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAG1F,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAGpF,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGvF,QAAA,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,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA"}
@@ -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
+ }