@volcengine/pulumi-volcenginecc 0.0.30 → 0.0.32

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 (260) hide show
  1. package/cen/bandwidthPackage.d.ts +320 -0
  2. package/cen/bandwidthPackage.js +134 -0
  3. package/cen/bandwidthPackage.js.map +1 -0
  4. package/cen/getBandwidthPackage.d.ts +137 -0
  5. package/cen/getBandwidthPackage.js +28 -0
  6. package/cen/getBandwidthPackage.js.map +1 -0
  7. package/cen/getBandwidthPackages.d.ts +22 -0
  8. package/cen/getBandwidthPackages.js +24 -0
  9. package/cen/getBandwidthPackages.js.map +1 -0
  10. package/cen/getInterRegionBandwidth.d.ts +72 -0
  11. package/cen/getInterRegionBandwidth.js +28 -0
  12. package/cen/getInterRegionBandwidth.js.map +1 -0
  13. package/cen/getInterRegionBandwidths.d.ts +22 -0
  14. package/cen/getInterRegionBandwidths.js +24 -0
  15. package/cen/getInterRegionBandwidths.js.map +1 -0
  16. package/cen/getRouteEntries.d.ts +22 -0
  17. package/cen/getRouteEntries.js +24 -0
  18. package/cen/getRouteEntries.js.map +1 -0
  19. package/cen/getRouteEntry.d.ts +72 -0
  20. package/cen/getRouteEntry.js +28 -0
  21. package/cen/getRouteEntry.js.map +1 -0
  22. package/cen/getServiceRouteEntries.d.ts +22 -0
  23. package/cen/getServiceRouteEntries.js +24 -0
  24. package/cen/getServiceRouteEntries.js.map +1 -0
  25. package/cen/getServiceRouteEntry.d.ts +73 -0
  26. package/cen/getServiceRouteEntry.js +28 -0
  27. package/cen/getServiceRouteEntry.js.map +1 -0
  28. package/cen/index.d.ts +36 -0
  29. package/cen/index.js +45 -1
  30. package/cen/index.js.map +1 -1
  31. package/cen/interRegionBandwidth.d.ts +152 -0
  32. package/cen/interRegionBandwidth.js +101 -0
  33. package/cen/interRegionBandwidth.js.map +1 -0
  34. package/cen/routeEntry.d.ts +152 -0
  35. package/cen/routeEntry.js +104 -0
  36. package/cen/routeEntry.js.map +1 -0
  37. package/cen/serviceRouteEntry.d.ts +138 -0
  38. package/cen/serviceRouteEntry.js +83 -0
  39. package/cen/serviceRouteEntry.js.map +1 -0
  40. package/clb/clb.d.ts +8 -0
  41. package/clb/clb.js +2 -0
  42. package/clb/clb.js.map +1 -1
  43. package/clb/getClb.d.ts +4 -0
  44. package/clb/getClb.js.map +1 -1
  45. package/clb/getListener.d.ts +4 -0
  46. package/clb/getListener.js.map +1 -1
  47. package/clb/listener.d.ts +3 -0
  48. package/clb/listener.js +2 -0
  49. package/clb/listener.js.map +1 -1
  50. package/iam/accesskey.d.ts +2 -2
  51. package/iam/accesskey.js +2 -2
  52. package/iam/accesskey.js.map +1 -1
  53. package/mongodb/getInstance.d.ts +1 -1
  54. package/mongodb/getSslState.d.ts +56 -0
  55. package/mongodb/getSslState.js +28 -0
  56. package/mongodb/getSslState.js.map +1 -0
  57. package/mongodb/getSslStates.d.ts +22 -0
  58. package/mongodb/getSslStates.js +24 -0
  59. package/mongodb/getSslStates.js.map +1 -0
  60. package/mongodb/index.d.ts +9 -0
  61. package/mongodb/index.js +12 -1
  62. package/mongodb/index.js.map +1 -1
  63. package/mongodb/instance.d.ts +3 -3
  64. package/mongodb/sslState.d.ts +105 -0
  65. package/mongodb/sslState.js +81 -0
  66. package/mongodb/sslState.js.map +1 -0
  67. package/package.json +1 -1
  68. package/privatelink/endpointService.d.ts +15 -3
  69. package/privatelink/endpointService.js +2 -0
  70. package/privatelink/endpointService.js.map +1 -1
  71. package/privatelink/getEndpointService.d.ts +5 -1
  72. package/privatelink/getEndpointService.js.map +1 -1
  73. package/privatelink/getVpcEndpoint.d.ts +137 -0
  74. package/privatelink/getVpcEndpoint.js +28 -0
  75. package/privatelink/getVpcEndpoint.js.map +1 -0
  76. package/privatelink/getVpcEndpointConnection.d.ts +89 -0
  77. package/privatelink/getVpcEndpointConnection.js +28 -0
  78. package/privatelink/getVpcEndpointConnection.js.map +1 -0
  79. package/privatelink/getVpcEndpointConnections.d.ts +22 -0
  80. package/privatelink/getVpcEndpointConnections.js +24 -0
  81. package/privatelink/getVpcEndpointConnections.js.map +1 -0
  82. package/privatelink/getVpcEndpoints.d.ts +22 -0
  83. package/privatelink/getVpcEndpoints.js +24 -0
  84. package/privatelink/getVpcEndpoints.js.map +1 -0
  85. package/privatelink/index.d.ts +18 -0
  86. package/privatelink/index.js +23 -1
  87. package/privatelink/index.js.map +1 -1
  88. package/privatelink/vpcEndpoint.d.ts +277 -0
  89. package/privatelink/vpcEndpoint.js +106 -0
  90. package/privatelink/vpcEndpoint.js.map +1 -0
  91. package/privatelink/vpcEndpointConnection.d.ts +156 -0
  92. package/privatelink/vpcEndpointConnection.js +88 -0
  93. package/privatelink/vpcEndpointConnection.js.map +1 -0
  94. package/rabbitmq/allowList.d.ts +151 -0
  95. package/rabbitmq/allowList.js +100 -0
  96. package/rabbitmq/allowList.js.map +1 -0
  97. package/rabbitmq/getAllowList.d.ts +73 -0
  98. package/rabbitmq/getAllowList.js +28 -0
  99. package/rabbitmq/getAllowList.js.map +1 -0
  100. package/rabbitmq/getAllowLists.d.ts +22 -0
  101. package/rabbitmq/getAllowLists.js +24 -0
  102. package/rabbitmq/getAllowLists.js.map +1 -0
  103. package/rabbitmq/index.d.ts +9 -0
  104. package/rabbitmq/index.js +12 -1
  105. package/rabbitmq/index.js.map +1 -1
  106. package/rdspostgresql/getInstance.d.ts +153 -0
  107. package/rdspostgresql/getInstance.js +28 -0
  108. package/rdspostgresql/getInstance.js.map +1 -0
  109. package/rdspostgresql/getInstances.d.ts +22 -0
  110. package/rdspostgresql/getInstances.js +24 -0
  111. package/rdspostgresql/getInstances.js.map +1 -0
  112. package/rdspostgresql/index.d.ts +9 -0
  113. package/rdspostgresql/index.js +12 -1
  114. package/rdspostgresql/index.js.map +1 -1
  115. package/rdspostgresql/instance.d.ts +303 -0
  116. package/rdspostgresql/instance.js +132 -0
  117. package/rdspostgresql/instance.js.map +1 -0
  118. package/redis/allowList.d.ts +148 -0
  119. package/redis/allowList.js +78 -0
  120. package/redis/allowList.js.map +1 -0
  121. package/redis/getAllowList.d.ts +81 -0
  122. package/redis/getAllowList.js +28 -0
  123. package/redis/getAllowList.js.map +1 -0
  124. package/redis/getAllowLists.d.ts +22 -0
  125. package/redis/getAllowLists.js +24 -0
  126. package/redis/getAllowLists.js.map +1 -0
  127. package/redis/index.d.ts +9 -0
  128. package/redis/index.js +12 -1
  129. package/redis/index.js.map +1 -1
  130. package/storageebs/getSnapshotGroup.d.ts +81 -0
  131. package/storageebs/getSnapshotGroup.js +28 -0
  132. package/storageebs/getSnapshotGroup.js.map +1 -0
  133. package/storageebs/getSnapshotGroups.d.ts +22 -0
  134. package/storageebs/getSnapshotGroups.js +24 -0
  135. package/storageebs/getSnapshotGroups.js.map +1 -0
  136. package/storageebs/index.d.ts +9 -0
  137. package/storageebs/index.js +12 -1
  138. package/storageebs/index.js.map +1 -1
  139. package/storageebs/snapshotGroup.d.ts +168 -0
  140. package/storageebs/snapshotGroup.js +105 -0
  141. package/storageebs/snapshotGroup.js.map +1 -0
  142. package/tls/alarmNotifyGroup.d.ts +113 -0
  143. package/tls/alarmNotifyGroup.js +75 -0
  144. package/tls/alarmNotifyGroup.js.map +1 -0
  145. package/tls/consumerGroup.d.ts +128 -0
  146. package/tls/consumerGroup.js +98 -0
  147. package/tls/consumerGroup.js.map +1 -0
  148. package/tls/getAlarmNotifyGroup.d.ts +69 -0
  149. package/tls/getAlarmNotifyGroup.js +28 -0
  150. package/tls/getAlarmNotifyGroup.js.map +1 -0
  151. package/tls/getAlarmNotifyGroups.d.ts +22 -0
  152. package/tls/getAlarmNotifyGroups.js +24 -0
  153. package/tls/getAlarmNotifyGroups.js.map +1 -0
  154. package/tls/getConsumerGroup.d.ts +60 -0
  155. package/tls/getConsumerGroup.js +28 -0
  156. package/tls/getConsumerGroup.js.map +1 -0
  157. package/tls/getConsumerGroups.d.ts +22 -0
  158. package/tls/getConsumerGroups.js +24 -0
  159. package/tls/getConsumerGroups.js.map +1 -0
  160. package/tls/getImportTask.d.ts +89 -0
  161. package/tls/getImportTask.js +28 -0
  162. package/tls/getImportTask.js.map +1 -0
  163. package/tls/getImportTasks.d.ts +22 -0
  164. package/tls/getImportTasks.js +24 -0
  165. package/tls/getImportTasks.js.map +1 -0
  166. package/tls/getRule.d.ts +109 -0
  167. package/tls/getRule.js +28 -0
  168. package/tls/getRule.js.map +1 -0
  169. package/tls/getRules.d.ts +22 -0
  170. package/tls/getRules.js +24 -0
  171. package/tls/getRules.js.map +1 -0
  172. package/tls/getShipper.d.ts +101 -0
  173. package/tls/getShipper.js +28 -0
  174. package/tls/getShipper.js.map +1 -0
  175. package/tls/getShippers.d.ts +22 -0
  176. package/tls/getShippers.js +24 -0
  177. package/tls/getShippers.js.map +1 -0
  178. package/tls/importTask.d.ts +183 -0
  179. package/tls/importTask.js +97 -0
  180. package/tls/importTask.js.map +1 -0
  181. package/tls/index.d.ts +45 -0
  182. package/tls/index.js +56 -1
  183. package/tls/index.js.map +1 -1
  184. package/tls/rule.d.ts +221 -0
  185. package/tls/rule.js +98 -0
  186. package/tls/rule.js.map +1 -0
  187. package/tls/shipper.d.ts +211 -0
  188. package/tls/shipper.js +97 -0
  189. package/tls/shipper.js.map +1 -0
  190. package/tos/bucketEncryption.d.ts +94 -0
  191. package/tos/bucketEncryption.js +78 -0
  192. package/tos/bucketEncryption.js.map +1 -0
  193. package/tos/bucketInventory.d.ts +155 -0
  194. package/tos/bucketInventory.js +95 -0
  195. package/tos/bucketInventory.js.map +1 -0
  196. package/tos/getBucketEncryption.d.ts +48 -0
  197. package/tos/getBucketEncryption.js +28 -0
  198. package/tos/getBucketEncryption.js.map +1 -0
  199. package/tos/getBucketEncryptions.d.ts +22 -0
  200. package/tos/getBucketEncryptions.js +24 -0
  201. package/tos/getBucketEncryptions.js.map +1 -0
  202. package/tos/getBucketInventories.d.ts +22 -0
  203. package/tos/getBucketInventories.js +24 -0
  204. package/tos/getBucketInventories.js.map +1 -0
  205. package/tos/getBucketInventory.d.ts +73 -0
  206. package/tos/getBucketInventory.js +28 -0
  207. package/tos/getBucketInventory.js.map +1 -0
  208. package/tos/index.d.ts +18 -0
  209. package/tos/index.js +23 -1
  210. package/tos/index.js.map +1 -1
  211. package/types/input.d.ts +1804 -186
  212. package/types/output.d.ts +3846 -591
  213. package/vedbm/endpoint.d.ts +247 -0
  214. package/vedbm/endpoint.js +93 -0
  215. package/vedbm/endpoint.js.map +1 -0
  216. package/vedbm/getEndpoint.d.ts +105 -0
  217. package/vedbm/getEndpoint.js +28 -0
  218. package/vedbm/getEndpoint.js.map +1 -0
  219. package/vedbm/getEndpoints.d.ts +22 -0
  220. package/vedbm/getEndpoints.js +24 -0
  221. package/vedbm/getEndpoints.js.map +1 -0
  222. package/vedbm/index.d.ts +9 -0
  223. package/vedbm/index.js +12 -1
  224. package/vedbm/index.js.map +1 -1
  225. package/vefaas/getRelease.d.ts +120 -0
  226. package/vefaas/getRelease.js +28 -0
  227. package/vefaas/getRelease.js.map +1 -0
  228. package/vefaas/getReleases.d.ts +22 -0
  229. package/vefaas/getReleases.js +24 -0
  230. package/vefaas/getReleases.js.map +1 -0
  231. package/vefaas/index.d.ts +9 -0
  232. package/vefaas/index.js +12 -1
  233. package/vefaas/index.js.map +1 -1
  234. package/vefaas/release.d.ts +253 -0
  235. package/vefaas/release.js +120 -0
  236. package/vefaas/release.js.map +1 -0
  237. package/vepfs/getMountService.d.ts +93 -0
  238. package/vepfs/getMountService.js +28 -0
  239. package/vepfs/getMountService.js.map +1 -0
  240. package/vepfs/getMountServices.d.ts +22 -0
  241. package/vepfs/getMountServices.js +24 -0
  242. package/vepfs/getMountServices.js.map +1 -0
  243. package/vepfs/index.d.ts +9 -0
  244. package/vepfs/index.js +12 -1
  245. package/vepfs/index.js.map +1 -1
  246. package/vepfs/mountService.d.ts +172 -0
  247. package/vepfs/mountService.js +99 -0
  248. package/vepfs/mountService.js.map +1 -0
  249. package/vke/getKubeconfig.d.ts +72 -0
  250. package/vke/getKubeconfig.js +28 -0
  251. package/vke/getKubeconfig.js.map +1 -0
  252. package/vke/getKubeconfigs.d.ts +22 -0
  253. package/vke/getKubeconfigs.js +24 -0
  254. package/vke/getKubeconfigs.js.map +1 -0
  255. package/vke/index.d.ts +9 -0
  256. package/vke/index.js +12 -1
  257. package/vke/index.js.map +1 -1
  258. package/vke/kubeconfig.d.ts +142 -0
  259. package/vke/kubeconfig.js +93 -0
  260. package/vke/kubeconfig.js.map +1 -0
@@ -0,0 +1,168 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * A snapshot consistency group is a combination of snapshots from multiple cloud disks. In scenarios where business systems span multiple cloud disks, you can use a snapshot consistency group to ensure write order consistency and crash consistency for data written to the disks
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 storageEBSSnapshotGroupDemo = new volcenginecc.storageebs.SnapshotGroup("StorageEBSSnapshotGroupDemo", {
14
+ * name: "ccapi-test",
15
+ * projectName: "default",
16
+ * description: "this-is_test",
17
+ * instanceId: "i-yekg7jsw00bw8xxxxx",
18
+ * volumeIds: [
19
+ * "vol-3x1q75ir0t4qbgxxxxx",
20
+ * "vol-3x1q75ir0t4qbgxxxxx",
21
+ * "vol-3x1q75ir0t4qbgxxxxx",
22
+ * "vol-3x1q75ir0t4qbghxxxxx",
23
+ * ],
24
+ * tags: [{
25
+ * key: "env",
26
+ * value: "test",
27
+ * }],
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * ```sh
34
+ * $ pulumi import volcenginecc:storageebs/snapshotGroup:SnapshotGroup example "snapshot_group_id"
35
+ * ```
36
+ */
37
+ export declare class SnapshotGroup extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing SnapshotGroup resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SnapshotGroupState, opts?: pulumi.CustomResourceOptions): SnapshotGroup;
48
+ /**
49
+ * Returns true if the given object is an instance of SnapshotGroup. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj: any): obj is SnapshotGroup;
53
+ /**
54
+ * Snapshot consistency group creation time
55
+ */
56
+ readonly creationTime: pulumi.Output<string>;
57
+ /**
58
+ * Snapshot consistency group description
59
+ */
60
+ readonly description: pulumi.Output<string>;
61
+ /**
62
+ * Image ID of the snapshot consistency group
63
+ */
64
+ readonly imageId: pulumi.Output<string>;
65
+ /**
66
+ * ECS instance ID of the snapshot consistency group
67
+ */
68
+ readonly instanceId: pulumi.Output<string>;
69
+ /**
70
+ * Snapshot consistency group name
71
+ */
72
+ readonly name: pulumi.Output<string>;
73
+ /**
74
+ * Project name
75
+ */
76
+ readonly projectName: pulumi.Output<string>;
77
+ /**
78
+ * Snapshot consistency group ID
79
+ */
80
+ readonly snapshotGroupId: pulumi.Output<string>;
81
+ readonly snapshots: pulumi.Output<outputs.storageebs.SnapshotGroupSnapshot[]>;
82
+ /**
83
+ * Snapshot consistency group status
84
+ */
85
+ readonly status: pulumi.Output<string>;
86
+ readonly tags: pulumi.Output<outputs.storageebs.SnapshotGroupTag[]>;
87
+ /**
88
+ * Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance
89
+ */
90
+ readonly volumeIds: pulumi.Output<string[]>;
91
+ /**
92
+ * Create a SnapshotGroup resource with the given unique name, arguments, and options.
93
+ *
94
+ * @param name The _unique_ name of the resource.
95
+ * @param args The arguments to use to populate this resource's properties.
96
+ * @param opts A bag of options that control this resource's behavior.
97
+ */
98
+ constructor(name: string, args: SnapshotGroupArgs, opts?: pulumi.CustomResourceOptions);
99
+ }
100
+ /**
101
+ * Input properties used for looking up and filtering SnapshotGroup resources.
102
+ */
103
+ export interface SnapshotGroupState {
104
+ /**
105
+ * Snapshot consistency group creation time
106
+ */
107
+ creationTime?: pulumi.Input<string>;
108
+ /**
109
+ * Snapshot consistency group description
110
+ */
111
+ description?: pulumi.Input<string>;
112
+ /**
113
+ * Image ID of the snapshot consistency group
114
+ */
115
+ imageId?: pulumi.Input<string>;
116
+ /**
117
+ * ECS instance ID of the snapshot consistency group
118
+ */
119
+ instanceId?: pulumi.Input<string>;
120
+ /**
121
+ * Snapshot consistency group name
122
+ */
123
+ name?: pulumi.Input<string>;
124
+ /**
125
+ * Project name
126
+ */
127
+ projectName?: pulumi.Input<string>;
128
+ /**
129
+ * Snapshot consistency group ID
130
+ */
131
+ snapshotGroupId?: pulumi.Input<string>;
132
+ snapshots?: pulumi.Input<pulumi.Input<inputs.storageebs.SnapshotGroupSnapshot>[]>;
133
+ /**
134
+ * Snapshot consistency group status
135
+ */
136
+ status?: pulumi.Input<string>;
137
+ tags?: pulumi.Input<pulumi.Input<inputs.storageebs.SnapshotGroupTag>[]>;
138
+ /**
139
+ * Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance
140
+ */
141
+ volumeIds?: pulumi.Input<pulumi.Input<string>[]>;
142
+ }
143
+ /**
144
+ * The set of arguments for constructing a SnapshotGroup resource.
145
+ */
146
+ export interface SnapshotGroupArgs {
147
+ /**
148
+ * Snapshot consistency group description
149
+ */
150
+ description?: pulumi.Input<string>;
151
+ /**
152
+ * ECS instance ID of the snapshot consistency group
153
+ */
154
+ instanceId?: pulumi.Input<string>;
155
+ /**
156
+ * Snapshot consistency group name
157
+ */
158
+ name?: pulumi.Input<string>;
159
+ /**
160
+ * Project name
161
+ */
162
+ projectName?: pulumi.Input<string>;
163
+ tags?: pulumi.Input<pulumi.Input<inputs.storageebs.SnapshotGroupTag>[]>;
164
+ /**
165
+ * Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance
166
+ */
167
+ volumeIds: pulumi.Input<pulumi.Input<string>[]>;
168
+ }
@@ -0,0 +1,105 @@
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.SnapshotGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * A snapshot consistency group is a combination of snapshots from multiple cloud disks. In scenarios where business systems span multiple cloud disks, you can use a snapshot consistency group to ensure write order consistency and crash consistency for data written to the disks
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 storageEBSSnapshotGroupDemo = new volcenginecc.storageebs.SnapshotGroup("StorageEBSSnapshotGroupDemo", {
18
+ * name: "ccapi-test",
19
+ * projectName: "default",
20
+ * description: "this-is_test",
21
+ * instanceId: "i-yekg7jsw00bw8xxxxx",
22
+ * volumeIds: [
23
+ * "vol-3x1q75ir0t4qbgxxxxx",
24
+ * "vol-3x1q75ir0t4qbgxxxxx",
25
+ * "vol-3x1q75ir0t4qbgxxxxx",
26
+ * "vol-3x1q75ir0t4qbghxxxxx",
27
+ * ],
28
+ * tags: [{
29
+ * key: "env",
30
+ * value: "test",
31
+ * }],
32
+ * });
33
+ * ```
34
+ *
35
+ * ## Import
36
+ *
37
+ * ```sh
38
+ * $ pulumi import volcenginecc:storageebs/snapshotGroup:SnapshotGroup example "snapshot_group_id"
39
+ * ```
40
+ */
41
+ class SnapshotGroup extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing SnapshotGroup resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static get(name, id, state, opts) {
52
+ return new SnapshotGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
53
+ }
54
+ /**
55
+ * Returns true if the given object is an instance of SnapshotGroup. This is designed to work even
56
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
57
+ */
58
+ static isInstance(obj) {
59
+ if (obj === undefined || obj === null) {
60
+ return false;
61
+ }
62
+ return obj['__pulumiType'] === SnapshotGroup.__pulumiType;
63
+ }
64
+ constructor(name, argsOrState, opts) {
65
+ let resourceInputs = {};
66
+ opts = opts || {};
67
+ if (opts.id) {
68
+ const state = argsOrState;
69
+ resourceInputs["creationTime"] = state ? state.creationTime : undefined;
70
+ resourceInputs["description"] = state ? state.description : undefined;
71
+ resourceInputs["imageId"] = state ? state.imageId : undefined;
72
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
73
+ resourceInputs["name"] = state ? state.name : undefined;
74
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
75
+ resourceInputs["snapshotGroupId"] = state ? state.snapshotGroupId : undefined;
76
+ resourceInputs["snapshots"] = state ? state.snapshots : undefined;
77
+ resourceInputs["status"] = state ? state.status : undefined;
78
+ resourceInputs["tags"] = state ? state.tags : undefined;
79
+ resourceInputs["volumeIds"] = state ? state.volumeIds : undefined;
80
+ }
81
+ else {
82
+ const args = argsOrState;
83
+ if ((!args || args.volumeIds === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'volumeIds'");
85
+ }
86
+ resourceInputs["description"] = args ? args.description : undefined;
87
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
88
+ resourceInputs["name"] = args ? args.name : undefined;
89
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
90
+ resourceInputs["tags"] = args ? args.tags : undefined;
91
+ resourceInputs["volumeIds"] = args ? args.volumeIds : undefined;
92
+ resourceInputs["creationTime"] = undefined /*out*/;
93
+ resourceInputs["imageId"] = undefined /*out*/;
94
+ resourceInputs["snapshotGroupId"] = undefined /*out*/;
95
+ resourceInputs["snapshots"] = undefined /*out*/;
96
+ resourceInputs["status"] = undefined /*out*/;
97
+ }
98
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
99
+ super(SnapshotGroup.__pulumiType, name, resourceInputs, opts);
100
+ }
101
+ }
102
+ exports.SnapshotGroup = SnapshotGroup;
103
+ /** @internal */
104
+ SnapshotGroup.__pulumiType = 'volcenginecc:storageebs/snapshotGroup:SnapshotGroup';
105
+ //# sourceMappingURL=snapshotGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"snapshotGroup.js","sourceRoot":"","sources":["../../storageebs/snapshotGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAiDD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,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C,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA9GL,sCA+GC;AAjGG,gBAAgB;AACO,0BAAY,GAAG,qDAAqD,CAAC"}
@@ -0,0 +1,113 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * The logging service notification group is a collection of alarm notification channels used to specify the action strategy after an alarm is triggered. You can add notification rules, and the logging service will intelligently assign different alarm notification channels based on these rules.
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import volcenginecc:tls/alarmNotifyGroup:AlarmNotifyGroup example "alarm_notify_group_id"
11
+ * ```
12
+ */
13
+ export declare class AlarmNotifyGroup extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing AlarmNotifyGroup 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?: AlarmNotifyGroupState, opts?: pulumi.CustomResourceOptions): AlarmNotifyGroup;
24
+ /**
25
+ * Returns true if the given object is an instance of AlarmNotifyGroup. 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 AlarmNotifyGroup;
29
+ /**
30
+ * Alarm notification group ID.
31
+ */
32
+ readonly alarmNotifyGroupId: pulumi.Output<string>;
33
+ /**
34
+ * Alarm notification group name. Refer to the resource naming rules.
35
+ */
36
+ readonly alarmNotifyGroupName: pulumi.Output<string>;
37
+ /**
38
+ * Time when the alarm notification group was created.
39
+ */
40
+ readonly createdTime: pulumi.Output<string>;
41
+ /**
42
+ * Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
43
+ */
44
+ readonly iamProjectName: pulumi.Output<string>;
45
+ readonly noticeRules: pulumi.Output<outputs.tls.AlarmNotifyGroupNoticeRule[]>;
46
+ /**
47
+ * Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
48
+ */
49
+ readonly notifyTypes: pulumi.Output<string[]>;
50
+ readonly receivers: pulumi.Output<outputs.tls.AlarmNotifyGroupReceiver[]>;
51
+ /**
52
+ * Time when the alarm notification group was modified.
53
+ */
54
+ readonly updatedTime: pulumi.Output<string>;
55
+ /**
56
+ * Create a AlarmNotifyGroup resource with the given unique name, arguments, and options.
57
+ *
58
+ * @param name The _unique_ name of the resource.
59
+ * @param args The arguments to use to populate this resource's properties.
60
+ * @param opts A bag of options that control this resource's behavior.
61
+ */
62
+ constructor(name: string, args: AlarmNotifyGroupArgs, opts?: pulumi.CustomResourceOptions);
63
+ }
64
+ /**
65
+ * Input properties used for looking up and filtering AlarmNotifyGroup resources.
66
+ */
67
+ export interface AlarmNotifyGroupState {
68
+ /**
69
+ * Alarm notification group ID.
70
+ */
71
+ alarmNotifyGroupId?: pulumi.Input<string>;
72
+ /**
73
+ * Alarm notification group name. Refer to the resource naming rules.
74
+ */
75
+ alarmNotifyGroupName?: pulumi.Input<string>;
76
+ /**
77
+ * Time when the alarm notification group was created.
78
+ */
79
+ createdTime?: pulumi.Input<string>;
80
+ /**
81
+ * Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
82
+ */
83
+ iamProjectName?: pulumi.Input<string>;
84
+ noticeRules?: pulumi.Input<pulumi.Input<inputs.tls.AlarmNotifyGroupNoticeRule>[]>;
85
+ /**
86
+ * Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
87
+ */
88
+ notifyTypes?: pulumi.Input<pulumi.Input<string>[]>;
89
+ receivers?: pulumi.Input<pulumi.Input<inputs.tls.AlarmNotifyGroupReceiver>[]>;
90
+ /**
91
+ * Time when the alarm notification group was modified.
92
+ */
93
+ updatedTime?: pulumi.Input<string>;
94
+ }
95
+ /**
96
+ * The set of arguments for constructing a AlarmNotifyGroup resource.
97
+ */
98
+ export interface AlarmNotifyGroupArgs {
99
+ /**
100
+ * Alarm notification group name. Refer to the resource naming rules.
101
+ */
102
+ alarmNotifyGroupName: pulumi.Input<string>;
103
+ /**
104
+ * Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
105
+ */
106
+ iamProjectName?: pulumi.Input<string>;
107
+ noticeRules?: pulumi.Input<pulumi.Input<inputs.tls.AlarmNotifyGroupNoticeRule>[]>;
108
+ /**
109
+ * Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
110
+ */
111
+ notifyTypes?: pulumi.Input<pulumi.Input<string>[]>;
112
+ receivers?: pulumi.Input<pulumi.Input<inputs.tls.AlarmNotifyGroupReceiver>[]>;
113
+ }
@@ -0,0 +1,75 @@
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.AlarmNotifyGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * The logging service notification group is a collection of alarm notification channels used to specify the action strategy after an alarm is triggered. You can add notification rules, and the logging service will intelligently assign different alarm notification channels based on these rules.
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import volcenginecc:tls/alarmNotifyGroup:AlarmNotifyGroup example "alarm_notify_group_id"
15
+ * ```
16
+ */
17
+ class AlarmNotifyGroup extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing AlarmNotifyGroup 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 AlarmNotifyGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of AlarmNotifyGroup. 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'] === AlarmNotifyGroup.__pulumiType;
39
+ }
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["alarmNotifyGroupId"] = state ? state.alarmNotifyGroupId : undefined;
46
+ resourceInputs["alarmNotifyGroupName"] = state ? state.alarmNotifyGroupName : undefined;
47
+ resourceInputs["createdTime"] = state ? state.createdTime : undefined;
48
+ resourceInputs["iamProjectName"] = state ? state.iamProjectName : undefined;
49
+ resourceInputs["noticeRules"] = state ? state.noticeRules : undefined;
50
+ resourceInputs["notifyTypes"] = state ? state.notifyTypes : undefined;
51
+ resourceInputs["receivers"] = state ? state.receivers : undefined;
52
+ resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
53
+ }
54
+ else {
55
+ const args = argsOrState;
56
+ if ((!args || args.alarmNotifyGroupName === undefined) && !opts.urn) {
57
+ throw new Error("Missing required property 'alarmNotifyGroupName'");
58
+ }
59
+ resourceInputs["alarmNotifyGroupName"] = args ? args.alarmNotifyGroupName : undefined;
60
+ resourceInputs["iamProjectName"] = args ? args.iamProjectName : undefined;
61
+ resourceInputs["noticeRules"] = args ? args.noticeRules : undefined;
62
+ resourceInputs["notifyTypes"] = args ? args.notifyTypes : undefined;
63
+ resourceInputs["receivers"] = args ? args.receivers : undefined;
64
+ resourceInputs["alarmNotifyGroupId"] = undefined /*out*/;
65
+ resourceInputs["createdTime"] = undefined /*out*/;
66
+ resourceInputs["updatedTime"] = undefined /*out*/;
67
+ }
68
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
69
+ super(AlarmNotifyGroup.__pulumiType, name, resourceInputs, opts);
70
+ }
71
+ }
72
+ exports.AlarmNotifyGroup = AlarmNotifyGroup;
73
+ /** @internal */
74
+ AlarmNotifyGroup.__pulumiType = 'volcenginecc:tls/alarmNotifyGroup:AlarmNotifyGroup';
75
+ //# sourceMappingURL=alarmNotifyGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alarmNotifyGroup.js","sourceRoot":"","sources":["../../tls/alarmNotifyGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAqCD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,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CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA5FL,4CA6FC;AA/EG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
@@ -0,0 +1,128 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * A virtual collection of multiple consumers. When consuming log data at the consumer group level, all consumers in the group subscribe to the same log topic and jointly consume data from that log topic. Each consumer consumes data from one or more Shards in the log topic, and there is no duplicate consumption of data among consumers.
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 tLSConsumerGroupDemo = new volcenginecc.tls.ConsumerGroup("TLSConsumerGroupDemo", {
12
+ * projectId: "c6fef4c1-041f-43*****",
13
+ * topicIdLists: ["bead2d9c*****"],
14
+ * consumerGroupName: "test-gruopname",
15
+ * heartbeatTtl: 10,
16
+ * orderedConsume: true,
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * ```sh
23
+ * $ pulumi import volcenginecc:tls/consumerGroup:ConsumerGroup example "project_id|consumer_group_name"
24
+ * ```
25
+ */
26
+ export declare class ConsumerGroup extends pulumi.CustomResource {
27
+ /**
28
+ * Get an existing ConsumerGroup 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?: ConsumerGroupState, opts?: pulumi.CustomResourceOptions): ConsumerGroup;
37
+ /**
38
+ * Returns true if the given object is an instance of ConsumerGroup. 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 ConsumerGroup;
42
+ /**
43
+ * Consumer group name.
44
+ */
45
+ readonly consumerGroupName: pulumi.Output<string>;
46
+ /**
47
+ * Heartbeat timeout in seconds. Value range: 1~300.
48
+ */
49
+ readonly heartbeatTtl: pulumi.Output<number>;
50
+ /**
51
+ * Whether to consume in order. true: Consume in order within the Shard. After a Shard splits, finish consuming data from the original Shard first, then consume data from the new Shards created by the split in parallel. After a Shard merges, finish consuming data from the original Shard first, then consume data from the new Shard created by the merge. false: Do not consume in order. All Shards are consumed simultaneously, and any new Shards created by splitting or merging are also consumed immediately.
52
+ */
53
+ readonly orderedConsume: pulumi.Output<boolean>;
54
+ /**
55
+ * ID of the log project to which the consumer group belongs.
56
+ */
57
+ readonly projectId: pulumi.Output<string>;
58
+ /**
59
+ * Name of the log project to which the consumer group belongs.
60
+ */
61
+ readonly projectName: pulumi.Output<string>;
62
+ /**
63
+ * List of log topic IDs to be consumed by the consumer group.
64
+ */
65
+ readonly topicIdLists: pulumi.Output<string[]>;
66
+ /**
67
+ * Create a ConsumerGroup 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: ConsumerGroupArgs, opts?: pulumi.CustomResourceOptions);
74
+ }
75
+ /**
76
+ * Input properties used for looking up and filtering ConsumerGroup resources.
77
+ */
78
+ export interface ConsumerGroupState {
79
+ /**
80
+ * Consumer group name.
81
+ */
82
+ consumerGroupName?: pulumi.Input<string>;
83
+ /**
84
+ * Heartbeat timeout in seconds. Value range: 1~300.
85
+ */
86
+ heartbeatTtl?: pulumi.Input<number>;
87
+ /**
88
+ * Whether to consume in order. true: Consume in order within the Shard. After a Shard splits, finish consuming data from the original Shard first, then consume data from the new Shards created by the split in parallel. After a Shard merges, finish consuming data from the original Shard first, then consume data from the new Shard created by the merge. false: Do not consume in order. All Shards are consumed simultaneously, and any new Shards created by splitting or merging are also consumed immediately.
89
+ */
90
+ orderedConsume?: pulumi.Input<boolean>;
91
+ /**
92
+ * ID of the log project to which the consumer group belongs.
93
+ */
94
+ projectId?: pulumi.Input<string>;
95
+ /**
96
+ * Name of the log project to which the consumer group belongs.
97
+ */
98
+ projectName?: pulumi.Input<string>;
99
+ /**
100
+ * List of log topic IDs to be consumed by the consumer group.
101
+ */
102
+ topicIdLists?: pulumi.Input<pulumi.Input<string>[]>;
103
+ }
104
+ /**
105
+ * The set of arguments for constructing a ConsumerGroup resource.
106
+ */
107
+ export interface ConsumerGroupArgs {
108
+ /**
109
+ * Consumer group name.
110
+ */
111
+ consumerGroupName: pulumi.Input<string>;
112
+ /**
113
+ * Heartbeat timeout in seconds. Value range: 1~300.
114
+ */
115
+ heartbeatTtl: pulumi.Input<number>;
116
+ /**
117
+ * Whether to consume in order. true: Consume in order within the Shard. After a Shard splits, finish consuming data from the original Shard first, then consume data from the new Shards created by the split in parallel. After a Shard merges, finish consuming data from the original Shard first, then consume data from the new Shard created by the merge. false: Do not consume in order. All Shards are consumed simultaneously, and any new Shards created by splitting or merging are also consumed immediately.
118
+ */
119
+ orderedConsume: pulumi.Input<boolean>;
120
+ /**
121
+ * ID of the log project to which the consumer group belongs.
122
+ */
123
+ projectId: pulumi.Input<string>;
124
+ /**
125
+ * List of log topic IDs to be consumed by the consumer group.
126
+ */
127
+ topicIdLists: pulumi.Input<pulumi.Input<string>[]>;
128
+ }