@byteplus/pulumi-bytepluscc 0.0.22 → 0.0.23

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 (86) 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/index.d.ts +9 -0
  11. package/cen/index.js +12 -1
  12. package/cen/index.js.map +1 -1
  13. package/clb/clb.d.ts +8 -0
  14. package/clb/clb.js +2 -0
  15. package/clb/clb.js.map +1 -1
  16. package/clb/getClb.d.ts +4 -0
  17. package/clb/getClb.js.map +1 -1
  18. package/iam/accesskey.d.ts +2 -2
  19. package/iam/accesskey.js +2 -2
  20. package/iam/accesskey.js.map +1 -1
  21. package/iam/getAccesskey.d.ts +2 -2
  22. package/iam/getAccesskey.js +2 -2
  23. package/iam/getAccesskeys.d.ts +2 -2
  24. package/iam/getAccesskeys.js +2 -2
  25. package/mongodb/getInstance.d.ts +1 -1
  26. package/mongodb/instance.d.ts +3 -3
  27. package/package.json +1 -1
  28. package/privatelink/getVpcEndpoint.d.ts +137 -0
  29. package/privatelink/getVpcEndpoint.js +28 -0
  30. package/privatelink/getVpcEndpoint.js.map +1 -0
  31. package/privatelink/getVpcEndpoints.d.ts +22 -0
  32. package/privatelink/getVpcEndpoints.js +24 -0
  33. package/privatelink/getVpcEndpoints.js.map +1 -0
  34. package/privatelink/index.d.ts +9 -0
  35. package/privatelink/index.js +12 -1
  36. package/privatelink/index.js.map +1 -1
  37. package/privatelink/vpcEndpoint.d.ts +277 -0
  38. package/privatelink/vpcEndpoint.js +106 -0
  39. package/privatelink/vpcEndpoint.js.map +1 -0
  40. package/rdspostgresql/getInstance.d.ts +153 -0
  41. package/rdspostgresql/getInstance.js +28 -0
  42. package/rdspostgresql/getInstance.js.map +1 -0
  43. package/rdspostgresql/getInstances.d.ts +22 -0
  44. package/rdspostgresql/getInstances.js +24 -0
  45. package/rdspostgresql/getInstances.js.map +1 -0
  46. package/rdspostgresql/index.d.ts +9 -0
  47. package/rdspostgresql/index.js +12 -1
  48. package/rdspostgresql/index.js.map +1 -1
  49. package/rdspostgresql/instance.d.ts +303 -0
  50. package/rdspostgresql/instance.js +132 -0
  51. package/rdspostgresql/instance.js.map +1 -0
  52. package/tls/consumerGroup.d.ts +128 -0
  53. package/tls/consumerGroup.js +98 -0
  54. package/tls/consumerGroup.js.map +1 -0
  55. package/tls/getConsumerGroup.d.ts +60 -0
  56. package/tls/getConsumerGroup.js +28 -0
  57. package/tls/getConsumerGroup.js.map +1 -0
  58. package/tls/getConsumerGroups.d.ts +22 -0
  59. package/tls/getConsumerGroups.js +24 -0
  60. package/tls/getConsumerGroups.js.map +1 -0
  61. package/tls/getImportTask.d.ts +89 -0
  62. package/tls/getImportTask.js +28 -0
  63. package/tls/getImportTask.js.map +1 -0
  64. package/tls/getImportTasks.d.ts +22 -0
  65. package/tls/getImportTasks.js +24 -0
  66. package/tls/getImportTasks.js.map +1 -0
  67. package/tls/importTask.d.ts +183 -0
  68. package/tls/importTask.js +97 -0
  69. package/tls/importTask.js.map +1 -0
  70. package/tls/index.d.ts +18 -0
  71. package/tls/index.js +23 -1
  72. package/tls/index.js.map +1 -1
  73. package/types/input.d.ts +707 -0
  74. package/types/output.d.ts +1532 -234
  75. package/vedbm/endpoint.d.ts +247 -0
  76. package/vedbm/endpoint.js +93 -0
  77. package/vedbm/endpoint.js.map +1 -0
  78. package/vedbm/getEndpoint.d.ts +105 -0
  79. package/vedbm/getEndpoint.js +28 -0
  80. package/vedbm/getEndpoint.js.map +1 -0
  81. package/vedbm/getEndpoints.d.ts +22 -0
  82. package/vedbm/getEndpoints.js +24 -0
  83. package/vedbm/getEndpoints.js.map +1 -0
  84. package/vedbm/index.d.ts +9 -0
  85. package/vedbm/index.js +12 -1
  86. package/vedbm/index.js.map +1 -1
@@ -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 bytepluscc from "@byteplus/pulumi-bytepluscc";
10
+ *
11
+ * const tLSConsumerGroupDemo = new bytepluscc.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 bytepluscc: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
+ }
@@ -0,0 +1,98 @@
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.ConsumerGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * 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.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
16
+ *
17
+ * const tLSConsumerGroupDemo = new bytepluscc.tls.ConsumerGroup("TLSConsumerGroupDemo", {
18
+ * projectId: "c6fef4c1-041f-43*****",
19
+ * topicIdLists: ["bead2d9c*****"],
20
+ * consumerGroupName: "test-gruopname",
21
+ * heartbeatTtl: 10,
22
+ * orderedConsume: true,
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * ```sh
29
+ * $ pulumi import bytepluscc:tls/consumerGroup:ConsumerGroup example "project_id|consumer_group_name"
30
+ * ```
31
+ */
32
+ class ConsumerGroup extends pulumi.CustomResource {
33
+ /**
34
+ * Get an existing ConsumerGroup 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 ConsumerGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
44
+ }
45
+ /**
46
+ * Returns true if the given object is an instance of ConsumerGroup. 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'] === ConsumerGroup.__pulumiType;
54
+ }
55
+ constructor(name, argsOrState, opts) {
56
+ let resourceInputs = {};
57
+ opts = opts || {};
58
+ if (opts.id) {
59
+ const state = argsOrState;
60
+ resourceInputs["consumerGroupName"] = state ? state.consumerGroupName : undefined;
61
+ resourceInputs["heartbeatTtl"] = state ? state.heartbeatTtl : undefined;
62
+ resourceInputs["orderedConsume"] = state ? state.orderedConsume : undefined;
63
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
64
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
65
+ resourceInputs["topicIdLists"] = state ? state.topicIdLists : undefined;
66
+ }
67
+ else {
68
+ const args = argsOrState;
69
+ if ((!args || args.consumerGroupName === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'consumerGroupName'");
71
+ }
72
+ if ((!args || args.heartbeatTtl === undefined) && !opts.urn) {
73
+ throw new Error("Missing required property 'heartbeatTtl'");
74
+ }
75
+ if ((!args || args.orderedConsume === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'orderedConsume'");
77
+ }
78
+ if ((!args || args.projectId === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'projectId'");
80
+ }
81
+ if ((!args || args.topicIdLists === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'topicIdLists'");
83
+ }
84
+ resourceInputs["consumerGroupName"] = args ? args.consumerGroupName : undefined;
85
+ resourceInputs["heartbeatTtl"] = args ? args.heartbeatTtl : undefined;
86
+ resourceInputs["orderedConsume"] = args ? args.orderedConsume : undefined;
87
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
88
+ resourceInputs["topicIdLists"] = args ? args.topicIdLists : undefined;
89
+ resourceInputs["projectName"] = undefined /*out*/;
90
+ }
91
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
92
+ super(ConsumerGroup.__pulumiType, name, resourceInputs, opts);
93
+ }
94
+ }
95
+ exports.ConsumerGroup = ConsumerGroup;
96
+ /** @internal */
97
+ ConsumerGroup.__pulumiType = 'bytepluscc:tls/consumerGroup:ConsumerGroup';
98
+ //# sourceMappingURL=consumerGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consumerGroup.js","sourceRoot":"","sources":["../../tls/consumerGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAu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,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,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,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAlGL,sCAmGC;AArFG,gBAAgB;AACO,0BAAY,GAAG,4CAA4C,CAAC"}
@@ -0,0 +1,60 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data Source schema for Byteplus::TLS::ConsumerGroup
4
+ */
5
+ export declare function getConsumerGroup(args: GetConsumerGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetConsumerGroupResult>;
6
+ /**
7
+ * A collection of arguments for invoking getConsumerGroup.
8
+ */
9
+ export interface GetConsumerGroupArgs {
10
+ /**
11
+ * Uniquely identifies the resource.
12
+ */
13
+ id: string;
14
+ }
15
+ /**
16
+ * A collection of values returned by getConsumerGroup.
17
+ */
18
+ export interface GetConsumerGroupResult {
19
+ /**
20
+ * Consumer group name.
21
+ */
22
+ readonly consumerGroupName: string;
23
+ /**
24
+ * Heartbeat timeout in seconds. Value range: 1~300.
25
+ */
26
+ readonly heartbeatTtl: number;
27
+ /**
28
+ * Uniquely identifies the resource.
29
+ */
30
+ readonly id: string;
31
+ /**
32
+ * 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.
33
+ */
34
+ readonly orderedConsume: boolean;
35
+ /**
36
+ * ID of the log project to which the consumer group belongs.
37
+ */
38
+ readonly projectId: string;
39
+ /**
40
+ * Name of the log project to which the consumer group belongs.
41
+ */
42
+ readonly projectName: string;
43
+ /**
44
+ * List of log topic IDs to be consumed by the consumer group.
45
+ */
46
+ readonly topicIdLists: string[];
47
+ }
48
+ /**
49
+ * Data Source schema for Byteplus::TLS::ConsumerGroup
50
+ */
51
+ export declare function getConsumerGroupOutput(args: GetConsumerGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConsumerGroupResult>;
52
+ /**
53
+ * A collection of arguments for invoking getConsumerGroup.
54
+ */
55
+ export interface GetConsumerGroupOutputArgs {
56
+ /**
57
+ * Uniquely identifies the resource.
58
+ */
59
+ id: pulumi.Input<string>;
60
+ }
@@ -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.getConsumerGroupOutput = exports.getConsumerGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::TLS::ConsumerGroup
10
+ */
11
+ function getConsumerGroup(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:tls/getConsumerGroup:getConsumerGroup", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getConsumerGroup = getConsumerGroup;
18
+ /**
19
+ * Data Source schema for Byteplus::TLS::ConsumerGroup
20
+ */
21
+ function getConsumerGroupOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:tls/getConsumerGroup:getConsumerGroup", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getConsumerGroupOutput = getConsumerGroupOutput;
28
+ //# sourceMappingURL=getConsumerGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConsumerGroup.js","sourceRoot":"","sources":["../../tls/getConsumerGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC;AA6CD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wDAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::TLS::ConsumerGroup
4
+ */
5
+ export declare function getConsumerGroups(opts?: pulumi.InvokeOptions): Promise<GetConsumerGroupsResult>;
6
+ /**
7
+ * A collection of values returned by getConsumerGroups.
8
+ */
9
+ export interface GetConsumerGroupsResult {
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 Byteplus::TLS::ConsumerGroup
21
+ */
22
+ export declare function getConsumerGroupsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConsumerGroupsResult>;
@@ -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.getConsumerGroupsOutput = exports.getConsumerGroups = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::TLS::ConsumerGroup
10
+ */
11
+ function getConsumerGroups(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:tls/getConsumerGroups:getConsumerGroups", {}, opts);
14
+ }
15
+ exports.getConsumerGroups = getConsumerGroups;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::TLS::ConsumerGroup
18
+ */
19
+ function getConsumerGroupsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:tls/getConsumerGroups:getConsumerGroups", {}, opts);
22
+ }
23
+ exports.getConsumerGroupsOutput = getConsumerGroupsOutput;
24
+ //# sourceMappingURL=getConsumerGroups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConsumerGroups.js","sourceRoot":"","sources":["../../tls/getConsumerGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B;IACzD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC;AAeD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC;IACrE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE,EACxF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0DAIC"}
@@ -0,0 +1,89 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::TLS::ImportTask
5
+ */
6
+ export declare function getImportTask(args: GetImportTaskArgs, opts?: pulumi.InvokeOptions): Promise<GetImportTaskResult>;
7
+ /**
8
+ * A collection of arguments for invoking getImportTask.
9
+ */
10
+ export interface GetImportTaskArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getImportTask.
18
+ */
19
+ export interface GetImportTaskResult {
20
+ /**
21
+ * Creation time.
22
+ */
23
+ readonly createTime: string;
24
+ /**
25
+ * Task description.
26
+ */
27
+ readonly description: string;
28
+ /**
29
+ * Uniquely identifies the resource.
30
+ */
31
+ readonly id: string;
32
+ /**
33
+ * Import data source information
34
+ */
35
+ readonly importSourceInfo: outputs.tls.GetImportTaskImportSourceInfo;
36
+ /**
37
+ * Log project ID for storing data.
38
+ */
39
+ readonly projectId: string;
40
+ /**
41
+ * Log project name.
42
+ */
43
+ readonly projectName: string;
44
+ /**
45
+ * Data source type. Options: tos, kafka.
46
+ */
47
+ readonly sourceType: string;
48
+ /**
49
+ * Status of the data import task. 0: Importing. 1: Import completed. 2: Import error. 3: Stopping. 4: Stopped. 5: Restarting
50
+ */
51
+ readonly status: number;
52
+ /**
53
+ * Output information for the data import task.
54
+ */
55
+ readonly targetInfo: outputs.tls.GetImportTaskTargetInfo;
56
+ /**
57
+ * Import task ID.
58
+ */
59
+ readonly taskId: string;
60
+ /**
61
+ * Import task name
62
+ */
63
+ readonly taskName: string;
64
+ /**
65
+ * Progress of the data import task.
66
+ */
67
+ readonly taskStatistics: outputs.tls.GetImportTaskTaskStatistics;
68
+ /**
69
+ * Log topic ID used to store data
70
+ */
71
+ readonly topicId: string;
72
+ /**
73
+ * Log topic name.
74
+ */
75
+ readonly topicName: string;
76
+ }
77
+ /**
78
+ * Data Source schema for Byteplus::TLS::ImportTask
79
+ */
80
+ export declare function getImportTaskOutput(args: GetImportTaskOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImportTaskResult>;
81
+ /**
82
+ * A collection of arguments for invoking getImportTask.
83
+ */
84
+ export interface GetImportTaskOutputArgs {
85
+ /**
86
+ * Uniquely identifies the resource.
87
+ */
88
+ id: pulumi.Input<string>;
89
+ }
@@ -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.getImportTaskOutput = exports.getImportTask = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::TLS::ImportTask
10
+ */
11
+ function getImportTask(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:tls/getImportTask:getImportTask", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getImportTask = getImportTask;
18
+ /**
19
+ * Data Source schema for Byteplus::TLS::ImportTask
20
+ */
21
+ function getImportTaskOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:tls/getImportTask:getImportTask", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getImportTaskOutput = getImportTaskOutput;
28
+ //# sourceMappingURL=getImportTask.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getImportTask.js","sourceRoot":"","sources":["../../tls/getImportTask.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAyED;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::TLS::ImportTask
4
+ */
5
+ export declare function getImportTasks(opts?: pulumi.InvokeOptions): Promise<GetImportTasksResult>;
6
+ /**
7
+ * A collection of values returned by getImportTasks.
8
+ */
9
+ export interface GetImportTasksResult {
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 Byteplus::TLS::ImportTask
21
+ */
22
+ export declare function getImportTasksOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImportTasksResult>;
@@ -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.getImportTasksOutput = exports.getImportTasks = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::TLS::ImportTask
10
+ */
11
+ function getImportTasks(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:tls/getImportTasks:getImportTasks", {}, opts);
14
+ }
15
+ exports.getImportTasks = getImportTasks;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::TLS::ImportTask
18
+ */
19
+ function getImportTasksOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:tls/getImportTasks:getImportTasks", {}, opts);
22
+ }
23
+ exports.getImportTasksOutput = getImportTasksOutput;
24
+ //# sourceMappingURL=getImportTasks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getImportTasks.js","sourceRoot":"","sources":["../../tls/getImportTasks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC;AAeD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAAiC;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC"}