@byteplus/pulumi-bytepluscc 0.0.7 → 0.0.8
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.
- package/bmq/getGroup.d.ts +77 -0
- package/bmq/getGroup.js +28 -0
- package/bmq/getGroup.js.map +1 -0
- package/bmq/getGroups.d.ts +22 -0
- package/bmq/getGroups.js +24 -0
- package/bmq/getGroups.js.map +1 -0
- package/bmq/group.d.ts +137 -0
- package/bmq/group.js +76 -0
- package/bmq/group.js.map +1 -0
- package/bmq/index.d.ts +9 -0
- package/bmq/index.js +12 -1
- package/bmq/index.js.map +1 -1
- package/clb/getNlbListener.d.ts +109 -0
- package/clb/getNlbListener.js +28 -0
- package/clb/getNlbListener.js.map +1 -0
- package/clb/getNlbListeners.d.ts +22 -0
- package/clb/getNlbListeners.js +24 -0
- package/clb/getNlbListeners.js.map +1 -0
- package/clb/getNlbServerGroup.d.ts +145 -0
- package/clb/getNlbServerGroup.js +28 -0
- package/clb/getNlbServerGroup.js.map +1 -0
- package/clb/getNlbServerGroups.d.ts +22 -0
- package/clb/getNlbServerGroups.js +24 -0
- package/clb/getNlbServerGroups.js.map +1 -0
- package/clb/getServerGroup.d.ts +85 -0
- package/clb/getServerGroup.js +28 -0
- package/clb/getServerGroup.js.map +1 -0
- package/clb/getServerGroups.d.ts +22 -0
- package/clb/getServerGroups.js +24 -0
- package/clb/getServerGroups.js.map +1 -0
- package/clb/index.d.ts +27 -0
- package/clb/index.js +34 -1
- package/clb/index.js.map +1 -1
- package/clb/nlbListener.d.ts +251 -0
- package/clb/nlbListener.js +126 -0
- package/clb/nlbListener.js.map +1 -0
- package/clb/nlbServerGroup.d.ts +325 -0
- package/clb/nlbServerGroup.js +116 -0
- package/clb/nlbServerGroup.js.map +1 -0
- package/clb/serverGroup.d.ts +151 -0
- package/clb/serverGroup.js +83 -0
- package/clb/serverGroup.js.map +1 -0
- package/cloudmonitor/getRule.d.ts +169 -0
- package/cloudmonitor/getRule.js +28 -0
- package/cloudmonitor/getRule.js.map +1 -0
- package/cloudmonitor/getRules.d.ts +22 -0
- package/cloudmonitor/getRules.js +24 -0
- package/cloudmonitor/getRules.js.map +1 -0
- package/cloudmonitor/index.d.ts +9 -0
- package/cloudmonitor/index.js +28 -0
- package/cloudmonitor/index.js.map +1 -0
- package/cloudmonitor/rule.d.ts +387 -0
- package/cloudmonitor/rule.js +152 -0
- package/cloudmonitor/rule.js.map +1 -0
- package/directconnect/directConnectGateway.d.ts +202 -0
- package/directconnect/directConnectGateway.js +106 -0
- package/directconnect/directConnectGateway.js.map +1 -0
- package/directconnect/getDirectConnectGateway.d.ts +101 -0
- package/directconnect/getDirectConnectGateway.js +28 -0
- package/directconnect/getDirectConnectGateway.js.map +1 -0
- package/directconnect/getDirectConnectGateways.d.ts +22 -0
- package/directconnect/getDirectConnectGateways.js +24 -0
- package/directconnect/getDirectConnectGateways.js.map +1 -0
- package/directconnect/index.d.ts +9 -0
- package/directconnect/index.js +28 -0
- package/directconnect/index.js.map +1 -0
- package/filenas/getInstance.d.ts +109 -0
- package/filenas/getInstance.js +28 -0
- package/filenas/getInstance.js.map +1 -0
- package/filenas/getInstances.d.ts +22 -0
- package/filenas/getInstances.js +24 -0
- package/filenas/getInstances.js.map +1 -0
- package/filenas/index.d.ts +9 -0
- package/filenas/index.js +28 -0
- package/filenas/index.js.map +1 -0
- package/filenas/instance.d.ts +248 -0
- package/filenas/instance.js +125 -0
- package/filenas/instance.js.map +1 -0
- package/{firewallcenter → fwcenter}/dnsControlPolicy.d.ts +6 -6
- package/{firewallcenter → fwcenter}/dnsControlPolicy.js +2 -2
- package/fwcenter/dnsControlPolicy.js.map +1 -0
- package/{firewallcenter → fwcenter}/getDnsControlPolicies.d.ts +2 -2
- package/{firewallcenter → fwcenter}/getDnsControlPolicies.js +4 -4
- package/fwcenter/getDnsControlPolicies.js.map +1 -0
- package/{firewallcenter → fwcenter}/getDnsControlPolicy.d.ts +4 -4
- package/{firewallcenter → fwcenter}/getDnsControlPolicy.js +4 -4
- package/fwcenter/getDnsControlPolicy.js.map +1 -0
- package/{firewallcenter → fwcenter}/index.js +2 -2
- package/fwcenter/index.js.map +1 -0
- package/index.d.ts +5 -2
- package/index.js +9 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/types/input.d.ts +607 -1
- package/types/output.d.ts +1272 -14
- package/vpc/eip.d.ts +382 -0
- package/vpc/eip.js +125 -0
- package/vpc/eip.js.map +1 -0
- package/vpc/getEip.d.ts +169 -0
- package/vpc/getEip.js +28 -0
- package/vpc/getEip.js.map +1 -0
- package/vpc/getEips.d.ts +22 -0
- package/vpc/getEips.js +24 -0
- package/vpc/getEips.js.map +1 -0
- package/vpc/getRouteTable.d.ts +105 -0
- package/vpc/getRouteTable.js +28 -0
- package/vpc/getRouteTable.js.map +1 -0
- package/vpc/getRouteTables.d.ts +22 -0
- package/vpc/getRouteTables.js +24 -0
- package/vpc/getRouteTables.js.map +1 -0
- package/vpc/index.d.ts +18 -0
- package/vpc/index.js +23 -1
- package/vpc/index.js.map +1 -1
- package/vpc/routeTable.d.ts +199 -0
- package/vpc/routeTable.js +93 -0
- package/vpc/routeTable.js.map +1 -0
- package/firewallcenter/dnsControlPolicy.js.map +0 -1
- package/firewallcenter/getDnsControlPolicies.js.map +0 -1
- package/firewallcenter/getDnsControlPolicy.js.map +0 -1
- package/firewallcenter/index.js.map +0 -1
- /package/{firewallcenter → fwcenter}/index.d.ts +0 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::BMQ::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
|
+
* Consumer Group 创建时间。
|
|
22
|
+
*/
|
|
23
|
+
readonly createdTime: string;
|
|
24
|
+
/**
|
|
25
|
+
* Consumer Group 描述。
|
|
26
|
+
*/
|
|
27
|
+
readonly description: string;
|
|
28
|
+
/**
|
|
29
|
+
* Consumer Group 的 ID。
|
|
30
|
+
*/
|
|
31
|
+
readonly groupId: string;
|
|
32
|
+
/**
|
|
33
|
+
* 自定义设置Consumer Group 的名称,约束限制如下:只能由小写英文字符、数字、下划线和中划线(-)组成。长度为 3~64 字符。
|
|
34
|
+
*/
|
|
35
|
+
readonly groupName: string;
|
|
36
|
+
/**
|
|
37
|
+
* Uniquely identifies the resource.
|
|
38
|
+
*/
|
|
39
|
+
readonly id: string;
|
|
40
|
+
/**
|
|
41
|
+
* 所属 BMQ 实例 ID。
|
|
42
|
+
*/
|
|
43
|
+
readonly instanceId: string;
|
|
44
|
+
/**
|
|
45
|
+
* Consumer Group 所属用户的 ID。
|
|
46
|
+
*/
|
|
47
|
+
readonly ownerId: string;
|
|
48
|
+
/**
|
|
49
|
+
* Consumer Group 所属用户的名称。
|
|
50
|
+
*/
|
|
51
|
+
readonly ownerName: string;
|
|
52
|
+
/**
|
|
53
|
+
* 重置消费位点信息。
|
|
54
|
+
*/
|
|
55
|
+
readonly resetInfo: outputs.bmq.GetGroupResetInfo;
|
|
56
|
+
/**
|
|
57
|
+
* Consumer Group 的状态。
|
|
58
|
+
*/
|
|
59
|
+
readonly status: string;
|
|
60
|
+
/**
|
|
61
|
+
* Topic 列表。
|
|
62
|
+
*/
|
|
63
|
+
readonly topicInfos: outputs.bmq.GetGroupTopicInfo[];
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Data Source schema for Byteplus::BMQ::Group
|
|
67
|
+
*/
|
|
68
|
+
export declare function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupResult>;
|
|
69
|
+
/**
|
|
70
|
+
* A collection of arguments for invoking getGroup.
|
|
71
|
+
*/
|
|
72
|
+
export interface GetGroupOutputArgs {
|
|
73
|
+
/**
|
|
74
|
+
* Uniquely identifies the resource.
|
|
75
|
+
*/
|
|
76
|
+
id: pulumi.Input<string>;
|
|
77
|
+
}
|
package/bmq/getGroup.js
ADDED
|
@@ -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 Byteplus::BMQ::Group
|
|
10
|
+
*/
|
|
11
|
+
function getGroup(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:bmq/getGroup:getGroup", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getGroup = getGroup;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Byteplus::BMQ::Group
|
|
20
|
+
*/
|
|
21
|
+
function getGroupOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("bytepluscc:bmq/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":["../../bmq/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,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AA6DD;;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,kCAAkC,EAAE;QACnE,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 Byteplus::BMQ::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 Byteplus::BMQ::Group
|
|
21
|
+
*/
|
|
22
|
+
export declare function getGroupsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupsResult>;
|
package/bmq/getGroups.js
ADDED
|
@@ -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 Byteplus::BMQ::Group
|
|
10
|
+
*/
|
|
11
|
+
function getGroups(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:bmq/getGroups:getGroups", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getGroups = getGroups;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Byteplus::BMQ::Group
|
|
18
|
+
*/
|
|
19
|
+
function getGroupsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("bytepluscc:bmq/getGroups:getGroups", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getGroupsOutput = getGroupsOutput;
|
|
24
|
+
//# sourceMappingURL=getGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroups.js","sourceRoot":"","sources":["../../bmq/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,oCAAoC,EAAE,EAClE,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,oCAAoC,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC"}
|
package/bmq/group.d.ts
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 一组具有相同 Group ID 的消费端。当一个 Topic 被同一个 Group 的多个 Consumer 消费时,每一条消息都只会被投递到一个 Consumer,实现消费的负载均衡。通过 Group,您可以确保一个 Topic 的消息被并行消费。
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import bytepluscc:bmq/group:Group example "group_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class Group extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Group 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?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Group. 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 Group;
|
|
29
|
+
/**
|
|
30
|
+
* Consumer Group 创建时间。
|
|
31
|
+
*/
|
|
32
|
+
readonly createdTime: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Consumer Group 描述。
|
|
35
|
+
*/
|
|
36
|
+
readonly description: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Consumer Group 的 ID。
|
|
39
|
+
*/
|
|
40
|
+
readonly groupId: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* 自定义设置Consumer Group 的名称,约束限制如下:只能由小写英文字符、数字、下划线和中划线(-)组成。长度为 3~64 字符。
|
|
43
|
+
*/
|
|
44
|
+
readonly groupName: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* 所属 BMQ 实例 ID。
|
|
47
|
+
*/
|
|
48
|
+
readonly instanceId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Consumer Group 所属用户的 ID。
|
|
51
|
+
*/
|
|
52
|
+
readonly ownerId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Consumer Group 所属用户的名称。
|
|
55
|
+
*/
|
|
56
|
+
readonly ownerName: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* 重置消费位点信息。
|
|
59
|
+
*/
|
|
60
|
+
readonly resetInfo: pulumi.Output<outputs.bmq.GroupResetInfo>;
|
|
61
|
+
/**
|
|
62
|
+
* Consumer Group 的状态。
|
|
63
|
+
*/
|
|
64
|
+
readonly status: pulumi.Output<string>;
|
|
65
|
+
readonly topicInfos: pulumi.Output<outputs.bmq.GroupTopicInfo[]>;
|
|
66
|
+
/**
|
|
67
|
+
* Create a Group 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?: GroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Input properties used for looking up and filtering Group resources.
|
|
77
|
+
*/
|
|
78
|
+
export interface GroupState {
|
|
79
|
+
/**
|
|
80
|
+
* Consumer Group 创建时间。
|
|
81
|
+
*/
|
|
82
|
+
createdTime?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Consumer Group 描述。
|
|
85
|
+
*/
|
|
86
|
+
description?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Consumer Group 的 ID。
|
|
89
|
+
*/
|
|
90
|
+
groupId?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* 自定义设置Consumer Group 的名称,约束限制如下:只能由小写英文字符、数字、下划线和中划线(-)组成。长度为 3~64 字符。
|
|
93
|
+
*/
|
|
94
|
+
groupName?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* 所属 BMQ 实例 ID。
|
|
97
|
+
*/
|
|
98
|
+
instanceId?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Consumer Group 所属用户的 ID。
|
|
101
|
+
*/
|
|
102
|
+
ownerId?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Consumer Group 所属用户的名称。
|
|
105
|
+
*/
|
|
106
|
+
ownerName?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* 重置消费位点信息。
|
|
109
|
+
*/
|
|
110
|
+
resetInfo?: pulumi.Input<inputs.bmq.GroupResetInfo>;
|
|
111
|
+
/**
|
|
112
|
+
* Consumer Group 的状态。
|
|
113
|
+
*/
|
|
114
|
+
status?: pulumi.Input<string>;
|
|
115
|
+
topicInfos?: pulumi.Input<pulumi.Input<inputs.bmq.GroupTopicInfo>[]>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The set of arguments for constructing a Group resource.
|
|
119
|
+
*/
|
|
120
|
+
export interface GroupArgs {
|
|
121
|
+
/**
|
|
122
|
+
* Consumer Group 描述。
|
|
123
|
+
*/
|
|
124
|
+
description?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* 自定义设置Consumer Group 的名称,约束限制如下:只能由小写英文字符、数字、下划线和中划线(-)组成。长度为 3~64 字符。
|
|
127
|
+
*/
|
|
128
|
+
groupName?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* 所属 BMQ 实例 ID。
|
|
131
|
+
*/
|
|
132
|
+
instanceId?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* 重置消费位点信息。
|
|
135
|
+
*/
|
|
136
|
+
resetInfo?: pulumi.Input<inputs.bmq.GroupResetInfo>;
|
|
137
|
+
}
|
package/bmq/group.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
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 ID 的消费端。当一个 Topic 被同一个 Group 的多个 Consumer 消费时,每一条消息都只会被投递到一个 Consumer,实现消费的负载均衡。通过 Group,您可以确保一个 Topic 的消息被并行消费。
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import bytepluscc:bmq/group:Group example "group_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Group extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Group 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 Group(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Group. 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'] === Group.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["createdTime"] = state ? state.createdTime : undefined;
|
|
46
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
47
|
+
resourceInputs["groupId"] = state ? state.groupId : undefined;
|
|
48
|
+
resourceInputs["groupName"] = state ? state.groupName : undefined;
|
|
49
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
50
|
+
resourceInputs["ownerId"] = state ? state.ownerId : undefined;
|
|
51
|
+
resourceInputs["ownerName"] = state ? state.ownerName : undefined;
|
|
52
|
+
resourceInputs["resetInfo"] = state ? state.resetInfo : undefined;
|
|
53
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
54
|
+
resourceInputs["topicInfos"] = state ? state.topicInfos : undefined;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
const args = argsOrState;
|
|
58
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
59
|
+
resourceInputs["groupName"] = args ? args.groupName : undefined;
|
|
60
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
61
|
+
resourceInputs["resetInfo"] = args ? args.resetInfo : undefined;
|
|
62
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["groupId"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["ownerId"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["ownerName"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["topicInfos"] = undefined /*out*/;
|
|
68
|
+
}
|
|
69
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
+
super(Group.__pulumiType, name, resourceInputs, opts);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.Group = Group;
|
|
74
|
+
/** @internal */
|
|
75
|
+
Group.__pulumiType = 'bytepluscc:bmq/group:Group';
|
|
76
|
+
//# sourceMappingURL=group.js.map
|
package/bmq/group.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.js","sourceRoot":"","sources":["../../bmq/group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAA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AC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAxGL,sBAyGC;AA3FG,gBAAgB;AACO,kBAAY,GAAG,4BAA4B,CAAC"}
|
package/bmq/index.d.ts
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
|
+
export { GetGroupArgs, GetGroupResult, GetGroupOutputArgs } from "./getGroup";
|
|
2
|
+
export declare const getGroup: typeof import("./getGroup").getGroup;
|
|
3
|
+
export declare const getGroupOutput: typeof import("./getGroup").getGroupOutput;
|
|
4
|
+
export { GetGroupsResult } from "./getGroups";
|
|
5
|
+
export declare const getGroups: typeof import("./getGroups").getGroups;
|
|
6
|
+
export declare const getGroupsOutput: typeof import("./getGroups").getGroupsOutput;
|
|
1
7
|
export { GetInstanceArgs, GetInstanceResult, GetInstanceOutputArgs } from "./getInstance";
|
|
2
8
|
export declare const getInstance: typeof import("./getInstance").getInstance;
|
|
3
9
|
export declare const getInstanceOutput: typeof import("./getInstance").getInstanceOutput;
|
|
4
10
|
export { GetInstancesResult } from "./getInstances";
|
|
5
11
|
export declare const getInstances: typeof import("./getInstances").getInstances;
|
|
6
12
|
export declare const getInstancesOutput: typeof import("./getInstances").getInstancesOutput;
|
|
13
|
+
export { GroupArgs, GroupState } from "./group";
|
|
14
|
+
export type Group = import("./group").Group;
|
|
15
|
+
export declare const Group: typeof import("./group").Group;
|
|
7
16
|
export { InstanceArgs, InstanceState } from "./instance";
|
|
8
17
|
export type Instance = import("./instance").Instance;
|
|
9
18
|
export declare const Instance: typeof import("./instance").Instance;
|
package/bmq/index.js
CHANGED
|
@@ -2,21 +2,31 @@
|
|
|
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.Instance = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = void 0;
|
|
5
|
+
exports.Instance = exports.Group = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getGroupsOutput = exports.getGroups = exports.getGroupOutput = exports.getGroup = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.getGroup = null;
|
|
9
|
+
exports.getGroupOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getGroup", "getGroupOutput"], () => require("./getGroup"));
|
|
11
|
+
exports.getGroups = null;
|
|
12
|
+
exports.getGroupsOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["getGroups", "getGroupsOutput"], () => require("./getGroups"));
|
|
8
14
|
exports.getInstance = null;
|
|
9
15
|
exports.getInstanceOutput = null;
|
|
10
16
|
utilities.lazyLoad(exports, ["getInstance", "getInstanceOutput"], () => require("./getInstance"));
|
|
11
17
|
exports.getInstances = null;
|
|
12
18
|
exports.getInstancesOutput = null;
|
|
13
19
|
utilities.lazyLoad(exports, ["getInstances", "getInstancesOutput"], () => require("./getInstances"));
|
|
20
|
+
exports.Group = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["Group"], () => require("./group"));
|
|
14
22
|
exports.Instance = null;
|
|
15
23
|
utilities.lazyLoad(exports, ["Instance"], () => require("./instance"));
|
|
16
24
|
const _module = {
|
|
17
25
|
version: utilities.getVersion(),
|
|
18
26
|
construct: (name, type, urn) => {
|
|
19
27
|
switch (type) {
|
|
28
|
+
case "bytepluscc:bmq/group:Group":
|
|
29
|
+
return new exports.Group(name, undefined, { urn });
|
|
20
30
|
case "bytepluscc:bmq/instance:Instance":
|
|
21
31
|
return new exports.Instance(name, undefined, { urn });
|
|
22
32
|
default:
|
|
@@ -24,5 +34,6 @@ const _module = {
|
|
|
24
34
|
}
|
|
25
35
|
},
|
|
26
36
|
};
|
|
37
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "bmq/group", _module);
|
|
27
38
|
pulumi.runtime.registerResourceModule("bytepluscc", "bmq/instance", _module);
|
|
28
39
|
//# sourceMappingURL=index.js.map
|
package/bmq/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../bmq/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,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;AAIvF,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,kCAAkC;gBACnC,OAAO,IAAI,gB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AAC,CAAC;AAIvF,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,4BAA4B;gBAC7B,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,kCAAkC;gBACnC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::CLB::NLBListener
|
|
5
|
+
*/
|
|
6
|
+
export declare function getNlbListener(args: GetNlbListenerArgs, opts?: pulumi.InvokeOptions): Promise<GetNlbListenerResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getNlbListener.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetNlbListenerArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getNlbListener.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetNlbListenerResult {
|
|
20
|
+
/**
|
|
21
|
+
* TLS监听器服务器证书的ID,仅支持传入证书中心 SSL 证书。。
|
|
22
|
+
*/
|
|
23
|
+
readonly certificateId: string;
|
|
24
|
+
/**
|
|
25
|
+
* 监听器的连接超时时间(秒)。
|
|
26
|
+
*/
|
|
27
|
+
readonly connectionTimeout: number;
|
|
28
|
+
/**
|
|
29
|
+
* 监听器的创建时间。
|
|
30
|
+
*/
|
|
31
|
+
readonly createdTime: string;
|
|
32
|
+
/**
|
|
33
|
+
* 监听器描述信息。
|
|
34
|
+
*/
|
|
35
|
+
readonly description: string;
|
|
36
|
+
/**
|
|
37
|
+
* 是否启用监听器。true:开启;false:关闭。
|
|
38
|
+
*/
|
|
39
|
+
readonly enabled: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* 全端口监听的结束端口,仅当Port为0时有效。
|
|
42
|
+
*/
|
|
43
|
+
readonly endPort: number;
|
|
44
|
+
/**
|
|
45
|
+
* 后端实例健康检查响应信息。
|
|
46
|
+
*/
|
|
47
|
+
readonly healths: outputs.clb.GetNlbListenerHealth[];
|
|
48
|
+
/**
|
|
49
|
+
* Uniquely identifies the resource.
|
|
50
|
+
*/
|
|
51
|
+
readonly id: string;
|
|
52
|
+
/**
|
|
53
|
+
* 监听器唯一标识。
|
|
54
|
+
*/
|
|
55
|
+
readonly listenerId: string;
|
|
56
|
+
/**
|
|
57
|
+
* 监听器名称。
|
|
58
|
+
*/
|
|
59
|
+
readonly listenerName: string;
|
|
60
|
+
/**
|
|
61
|
+
* 负载均衡实例ID。
|
|
62
|
+
*/
|
|
63
|
+
readonly loadBalancerId: string;
|
|
64
|
+
/**
|
|
65
|
+
* 监听器接收请求的端口,0表示启用全端口监听。
|
|
66
|
+
*/
|
|
67
|
+
readonly port: number;
|
|
68
|
+
/**
|
|
69
|
+
* 监听协议类型。TCP,UDP,TLS
|
|
70
|
+
*/
|
|
71
|
+
readonly protocol: string;
|
|
72
|
+
/**
|
|
73
|
+
* TLS 安全策略ID,支持系统安全策略和自定义安全策略。系统安全策略取值:.tls*cipher*policy*1*0.tls*cipher*policy*1*1.tls*cipher*policy*1*2.tls*cipher*policy*1*2*strict.tls*cipher*policy*1*2*strict*with*1_3.自定义安全策略:输入自定义安全策略 ID。当Protocol为TLS 时,该参数为必填。。
|
|
74
|
+
*/
|
|
75
|
+
readonly securityPolicyId: string;
|
|
76
|
+
/**
|
|
77
|
+
* 监听器关联的服务器组ID。
|
|
78
|
+
*/
|
|
79
|
+
readonly serverGroupId: string;
|
|
80
|
+
/**
|
|
81
|
+
* 全端口监听的起始端口,仅当Port为0时有效。
|
|
82
|
+
*/
|
|
83
|
+
readonly startPort: number;
|
|
84
|
+
/**
|
|
85
|
+
* 监听器的状态。
|
|
86
|
+
*/
|
|
87
|
+
readonly status: string;
|
|
88
|
+
/**
|
|
89
|
+
* 资源标签。
|
|
90
|
+
*/
|
|
91
|
+
readonly tags: outputs.clb.GetNlbListenerTag[];
|
|
92
|
+
/**
|
|
93
|
+
* 监听器最近操作时间。
|
|
94
|
+
*/
|
|
95
|
+
readonly updatedTime: string;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Data Source schema for Byteplus::CLB::NLBListener
|
|
99
|
+
*/
|
|
100
|
+
export declare function getNlbListenerOutput(args: GetNlbListenerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNlbListenerResult>;
|
|
101
|
+
/**
|
|
102
|
+
* A collection of arguments for invoking getNlbListener.
|
|
103
|
+
*/
|
|
104
|
+
export interface GetNlbListenerOutputArgs {
|
|
105
|
+
/**
|
|
106
|
+
* Uniquely identifies the resource.
|
|
107
|
+
*/
|
|
108
|
+
id: pulumi.Input<string>;
|
|
109
|
+
}
|
|
@@ -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.getNlbListenerOutput = exports.getNlbListener = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Byteplus::CLB::NLBListener
|
|
10
|
+
*/
|
|
11
|
+
function getNlbListener(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:clb/getNlbListener:getNlbListener", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getNlbListener = getNlbListener;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Byteplus::CLB::NLBListener
|
|
20
|
+
*/
|
|
21
|
+
function getNlbListenerOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("bytepluscc:clb/getNlbListener:getNlbListener", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getNlbListenerOutput = getNlbListenerOutput;
|
|
28
|
+
//# sourceMappingURL=getNlbListener.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNlbListener.js","sourceRoot":"","sources":["../../clb/getNlbListener.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AA6FD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,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;QAC/E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::CLB::NLBListener
|
|
4
|
+
*/
|
|
5
|
+
export declare function getNlbListeners(opts?: pulumi.InvokeOptions): Promise<GetNlbListenersResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getNlbListeners.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetNlbListenersResult {
|
|
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::CLB::NLBListener
|
|
21
|
+
*/
|
|
22
|
+
export declare function getNlbListenersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNlbListenersResult>;
|
|
@@ -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.getNlbListenersOutput = exports.getNlbListeners = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Byteplus::CLB::NLBListener
|
|
10
|
+
*/
|
|
11
|
+
function getNlbListeners(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:clb/getNlbListeners:getNlbListeners", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getNlbListeners = getNlbListeners;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Byteplus::CLB::NLBListener
|
|
18
|
+
*/
|
|
19
|
+
function getNlbListenersOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("bytepluscc:clb/getNlbListeners:getNlbListeners", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getNlbListenersOutput = getNlbListenersOutput;
|
|
24
|
+
//# sourceMappingURL=getNlbListeners.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNlbListeners.js","sourceRoot":"","sources":["../../clb/getNlbListeners.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA2B;IACvD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC;AAeD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAAiC;IACnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE,EACpF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sDAIC"}
|