@volcengine/pulumi-volcenginecc 0.0.1 → 0.0.3
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/alb/acl.d.ts +149 -0
- package/alb/acl.js +96 -0
- package/alb/acl.js.map +1 -0
- package/alb/getAcl.d.ts +81 -0
- package/alb/getAcl.js +28 -0
- package/alb/getAcl.js.map +1 -0
- package/alb/getAcls.d.ts +22 -0
- package/alb/getAcls.js +24 -0
- package/alb/getAcls.js.map +1 -0
- package/alb/getListener.d.ts +157 -0
- package/alb/getListener.js +28 -0
- package/alb/getListener.js.map +1 -0
- package/alb/getListeners.d.ts +22 -0
- package/alb/getListeners.js +24 -0
- package/alb/getListeners.js.map +1 -0
- package/alb/getLoadBalancer.d.ts +153 -0
- package/alb/getLoadBalancer.js +28 -0
- package/alb/getLoadBalancer.js.map +1 -0
- package/alb/getLoadBalancers.d.ts +22 -0
- package/alb/getLoadBalancers.js +24 -0
- package/alb/getLoadBalancers.js.map +1 -0
- package/alb/getServerGroup.d.ts +109 -0
- package/alb/getServerGroup.js +28 -0
- package/alb/getServerGroup.js.map +1 -0
- package/alb/getServerGroups.d.ts +22 -0
- package/alb/getServerGroups.js +24 -0
- package/alb/getServerGroups.js.map +1 -0
- package/alb/index.d.ts +36 -0
- package/alb/index.js +45 -1
- package/alb/index.js.map +1 -1
- package/alb/listener.d.ts +360 -0
- package/alb/listener.js +128 -0
- package/alb/listener.js.map +1 -0
- package/alb/loadBalancer.d.ts +341 -0
- package/alb/loadBalancer.js +120 -0
- package/alb/loadBalancer.js.map +1 -0
- package/alb/serverGroup.d.ts +219 -0
- package/alb/serverGroup.js +95 -0
- package/alb/serverGroup.js.map +1 -0
- package/apig/getUpstreamSource.d.ts +81 -0
- package/apig/getUpstreamSource.js +28 -0
- package/apig/getUpstreamSource.js.map +1 -0
- package/apig/getUpstreamSources.d.ts +22 -0
- package/apig/getUpstreamSources.js +24 -0
- package/apig/getUpstreamSources.js.map +1 -0
- package/apig/index.d.ts +9 -0
- package/apig/index.js +28 -0
- package/apig/index.js.map +1 -0
- package/apig/upstreamSource.d.ts +159 -0
- package/apig/upstreamSource.js +87 -0
- package/apig/upstreamSource.js.map +1 -0
- package/autoscaling/getScalingConfiguration.d.ts +140 -0
- package/autoscaling/getScalingConfiguration.js +28 -0
- package/autoscaling/getScalingConfiguration.js.map +1 -0
- package/autoscaling/getScalingConfigurations.d.ts +22 -0
- package/autoscaling/getScalingConfigurations.js +24 -0
- package/autoscaling/getScalingConfigurations.js.map +1 -0
- package/autoscaling/index.d.ts +9 -0
- package/autoscaling/index.js +28 -0
- package/autoscaling/index.js.map +1 -0
- package/autoscaling/scalingConfiguration.d.ts +318 -0
- package/autoscaling/scalingConfiguration.js +108 -0
- package/autoscaling/scalingConfiguration.js.map +1 -0
- package/clb/acl.d.ts +166 -0
- package/clb/acl.js +107 -0
- package/clb/acl.js.map +1 -0
- package/clb/certificate.d.ts +187 -0
- package/clb/certificate.js +109 -0
- package/clb/certificate.js.map +1 -0
- package/clb/getAcl.d.ts +85 -0
- package/clb/getAcl.js +28 -0
- package/clb/getAcl.js.map +1 -0
- package/clb/getAcls.d.ts +22 -0
- package/clb/getAcls.js +24 -0
- package/clb/getAcls.js.map +1 -0
- package/clb/getCertificate.d.ts +89 -0
- package/clb/getCertificate.js +28 -0
- package/clb/getCertificate.js.map +1 -0
- package/clb/getCertificates.d.ts +22 -0
- package/clb/getCertificates.js +24 -0
- package/clb/getCertificates.js.map +1 -0
- package/clb/getListener.d.ts +213 -0
- package/clb/getListener.js +28 -0
- package/clb/getListener.js.map +1 -0
- package/clb/getListeners.d.ts +22 -0
- package/clb/getListeners.js +24 -0
- package/clb/getListeners.js.map +1 -0
- package/clb/getRule.d.ts +73 -0
- package/clb/getRule.js +28 -0
- package/clb/getRule.js.map +1 -0
- package/clb/getRules.d.ts +22 -0
- package/clb/getRules.js +24 -0
- package/clb/getRules.js.map +1 -0
- package/clb/index.d.ts +36 -0
- package/clb/index.js +45 -1
- package/clb/index.js.map +1 -1
- package/clb/listener.d.ts +546 -0
- package/clb/listener.js +156 -0
- package/clb/listener.js.map +1 -0
- package/clb/rule.d.ts +162 -0
- package/clb/rule.js +97 -0
- package/clb/rule.js.map +1 -0
- package/cr/getNameSpace.d.ts +52 -0
- package/cr/getNameSpace.js +28 -0
- package/cr/getNameSpace.js.map +1 -0
- package/cr/getNameSpaces.d.ts +22 -0
- package/cr/getNameSpaces.js +24 -0
- package/cr/getNameSpaces.js.map +1 -0
- package/cr/getRegistries.d.ts +22 -0
- package/cr/getRegistries.js +24 -0
- package/cr/getRegistries.js.map +1 -0
- package/cr/getRegistry.d.ts +81 -0
- package/cr/getRegistry.js +28 -0
- package/cr/getRegistry.js.map +1 -0
- package/cr/index.d.ts +18 -0
- package/cr/index.js +23 -1
- package/cr/index.js.map +1 -1
- package/cr/nameSpace.d.ts +102 -0
- package/cr/nameSpace.js +83 -0
- package/cr/nameSpace.js.map +1 -0
- package/cr/registry.d.ts +142 -0
- package/cr/registry.js +81 -0
- package/cr/registry.js.map +1 -0
- package/directconnect/directConnectGateway.d.ts +173 -0
- package/directconnect/directConnectGateway.js +86 -0
- package/directconnect/directConnectGateway.js.map +1 -0
- package/directconnect/getDirectConnectGateway.d.ts +97 -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/ecs/getInstance.d.ts +66 -0
- package/ecs/getInstance.js +28 -0
- package/ecs/getInstance.js.map +1 -0
- package/ecs/getInstances.d.ts +22 -0
- package/ecs/getInstances.js +24 -0
- package/ecs/getInstances.js.map +1 -0
- package/ecs/index.d.ts +9 -0
- package/ecs/index.js +12 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +582 -0
- package/ecs/instance.js +150 -0
- package/ecs/instance.js.map +1 -0
- package/index.d.ts +9 -1
- package/index.js +17 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/rdsmysql/database.d.ts +100 -0
- package/rdsmysql/database.js +74 -0
- package/rdsmysql/database.js.map +1 -0
- package/rdsmysql/getDatabase.d.ts +58 -0
- package/rdsmysql/getDatabase.js +28 -0
- package/rdsmysql/getDatabase.js.map +1 -0
- package/rdsmysql/getDatabases.d.ts +22 -0
- package/rdsmysql/getDatabases.js +24 -0
- package/rdsmysql/getDatabases.js.map +1 -0
- package/rdsmysql/index.d.ts +9 -0
- package/rdsmysql/index.js +28 -0
- package/rdsmysql/index.js.map +1 -0
- package/redis/getInstance.d.ts +205 -0
- package/redis/getInstance.js +28 -0
- package/redis/getInstance.js.map +1 -0
- package/redis/getInstances.d.ts +22 -0
- package/redis/getInstances.js +24 -0
- package/redis/getInstances.js.map +1 -0
- package/redis/index.d.ts +9 -0
- package/redis/index.js +28 -0
- package/redis/index.js.map +1 -0
- package/redis/instance.d.ts +485 -0
- package/redis/instance.js +200 -0
- package/redis/instance.js.map +1 -0
- package/storageebs/getVolume.d.ts +4 -0
- package/storageebs/getVolume.js.map +1 -1
- package/storageebs/volume.d.ts +3 -0
- package/storageebs/volume.js +2 -0
- package/storageebs/volume.js.map +1 -1
- package/tls/getTopic.d.ts +113 -0
- package/tls/getTopic.js +28 -0
- package/tls/getTopic.js.map +1 -0
- package/tls/getTopics.d.ts +22 -0
- package/tls/getTopics.js +24 -0
- package/tls/getTopics.js.map +1 -0
- package/tls/index.d.ts +9 -0
- package/tls/index.js +28 -0
- package/tls/index.js.map +1 -0
- package/tls/topic.d.ts +252 -0
- package/tls/topic.js +101 -0
- package/tls/topic.js.map +1 -0
- package/transitrouter/getTransitRouterRouteEntries.d.ts +22 -0
- package/transitrouter/getTransitRouterRouteEntries.js +24 -0
- package/transitrouter/getTransitRouterRouteEntries.js.map +1 -0
- package/transitrouter/getTransitRouterRouteEntry.d.ts +84 -0
- package/transitrouter/getTransitRouterRouteEntry.js +28 -0
- package/transitrouter/getTransitRouterRouteEntry.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTable.d.ts +81 -0
- package/transitrouter/getTransitRouterRouteTable.js +28 -0
- package/transitrouter/getTransitRouterRouteTable.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTables.d.ts +22 -0
- package/transitrouter/getTransitRouterRouteTables.js +24 -0
- package/transitrouter/getTransitRouterRouteTables.js.map +1 -0
- package/transitrouter/index.d.ts +18 -0
- package/transitrouter/index.js +23 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/transitRouterRouteEntry.d.ts +186 -0
- package/transitrouter/transitRouterRouteEntry.js +106 -0
- package/transitrouter/transitRouterRouteEntry.js.map +1 -0
- package/transitrouter/transitRouterRouteTable.d.ts +142 -0
- package/transitrouter/transitRouterRouteTable.js +81 -0
- package/transitrouter/transitRouterRouteTable.js.map +1 -0
- package/types/input.d.ts +1273 -44
- package/types/output.d.ts +3250 -646
- package/vke/addon.d.ts +143 -0
- package/vke/addon.js +74 -0
- package/vke/addon.js.map +1 -0
- package/vke/getAddon.d.ts +73 -0
- package/vke/getAddon.js +28 -0
- package/vke/getAddon.js.map +1 -0
- package/vke/getAddons.d.ts +22 -0
- package/vke/getAddons.js +24 -0
- package/vke/getAddons.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.js +28 -0
- package/vke/index.js.map +1 -0
- package/vpc/getNetworkAcl.d.ts +93 -0
- package/vpc/getNetworkAcl.js +28 -0
- package/vpc/getNetworkAcl.js.map +1 -0
- package/vpc/getNetworkAcls.d.ts +22 -0
- package/vpc/getNetworkAcls.js +24 -0
- package/vpc/getNetworkAcls.js.map +1 -0
- package/vpc/getPrefixList.d.ts +93 -0
- package/vpc/getPrefixList.js +28 -0
- package/vpc/getPrefixList.js.map +1 -0
- package/vpc/getPrefixLists.d.ts +22 -0
- package/vpc/getPrefixLists.js +24 -0
- package/vpc/getPrefixLists.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/networkAcl.d.ts +143 -0
- package/vpc/networkAcl.js +87 -0
- package/vpc/networkAcl.js.map +1 -0
- package/vpc/prefixList.d.ts +180 -0
- package/vpc/prefixList.js +110 -0
- package/vpc/prefixList.js.map +1 -0
- package/waf/getDomain.d.ts +344 -0
- package/waf/getDomain.js +28 -0
- package/waf/getDomain.js.map +1 -0
- package/waf/getDomains.d.ts +22 -0
- package/waf/getDomains.js +24 -0
- package/waf/getDomains.js.map +1 -0
- package/waf/index.d.ts +6 -0
- package/waf/index.js +13 -0
- package/waf/index.js.map +1 -0
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 服务器组是后端服务器的逻辑集合。ALB 实例按照您配置的转发规则确定客户端请求将被转发到的服务器组。然后,ALB 实例根据您配置的负载均衡策略,将请求分发给服务器组内的后端服务器。后端服务器接收并处理请求。
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:alb/serverGroup:ServerGroup example "server_group_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class ServerGroup extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing ServerGroup 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?: ServerGroupState, opts?: pulumi.CustomResourceOptions): ServerGroup;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of ServerGroup. 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 ServerGroup;
|
|
29
|
+
/**
|
|
30
|
+
* 后端服务器组的创建时间。
|
|
31
|
+
*/
|
|
32
|
+
readonly createTime: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* 后端服务器组的描述。
|
|
35
|
+
*/
|
|
36
|
+
readonly description: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* 服务器组健康检查配置信息。
|
|
39
|
+
*/
|
|
40
|
+
readonly healthCheck: pulumi.Output<outputs.alb.ServerGroupHealthCheck>;
|
|
41
|
+
/**
|
|
42
|
+
* 服务器组的IP地址类型。目前只支持 IPv4
|
|
43
|
+
*/
|
|
44
|
+
readonly ipAddressType: pulumi.Output<string>;
|
|
45
|
+
readonly listeners: pulumi.Output<outputs.alb.ServerGroupListener[]>;
|
|
46
|
+
/**
|
|
47
|
+
* 后端服务器组所属项目名称。
|
|
48
|
+
*/
|
|
49
|
+
readonly projectName: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* 后端协议:HTTP,HTTPS。
|
|
52
|
+
*/
|
|
53
|
+
readonly protocol: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* 调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
|
|
56
|
+
*/
|
|
57
|
+
readonly scheduler: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* 服务器组内后端服务器的个数。
|
|
60
|
+
*/
|
|
61
|
+
readonly serverCount: pulumi.Output<number>;
|
|
62
|
+
/**
|
|
63
|
+
* 后端服务器组的ID。
|
|
64
|
+
*/
|
|
65
|
+
readonly serverGroupId: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* 后端服务器组的名称。
|
|
68
|
+
*/
|
|
69
|
+
readonly serverGroupName: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* 后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
|
|
72
|
+
*/
|
|
73
|
+
readonly serverGroupType: pulumi.Output<string>;
|
|
74
|
+
readonly servers: pulumi.Output<outputs.alb.ServerGroupServer[]>;
|
|
75
|
+
/**
|
|
76
|
+
* 服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
|
|
77
|
+
*/
|
|
78
|
+
readonly status: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* 会话保持功能的参数信息。
|
|
81
|
+
*/
|
|
82
|
+
readonly stickySessionConfig: pulumi.Output<outputs.alb.ServerGroupStickySessionConfig>;
|
|
83
|
+
readonly tags: pulumi.Output<outputs.alb.ServerGroupTag[]>;
|
|
84
|
+
/**
|
|
85
|
+
* 后端服务器组的最近操作时间。
|
|
86
|
+
*/
|
|
87
|
+
readonly updateTime: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* 后端服务器组所属 Vpc 的 ID。
|
|
90
|
+
*/
|
|
91
|
+
readonly vpcId: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Create a ServerGroup resource with the given unique name, arguments, and options.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resource.
|
|
96
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
97
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
98
|
+
*/
|
|
99
|
+
constructor(name: string, args: ServerGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Input properties used for looking up and filtering ServerGroup resources.
|
|
103
|
+
*/
|
|
104
|
+
export interface ServerGroupState {
|
|
105
|
+
/**
|
|
106
|
+
* 后端服务器组的创建时间。
|
|
107
|
+
*/
|
|
108
|
+
createTime?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* 后端服务器组的描述。
|
|
111
|
+
*/
|
|
112
|
+
description?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* 服务器组健康检查配置信息。
|
|
115
|
+
*/
|
|
116
|
+
healthCheck?: pulumi.Input<inputs.alb.ServerGroupHealthCheck>;
|
|
117
|
+
/**
|
|
118
|
+
* 服务器组的IP地址类型。目前只支持 IPv4
|
|
119
|
+
*/
|
|
120
|
+
ipAddressType?: pulumi.Input<string>;
|
|
121
|
+
listeners?: pulumi.Input<pulumi.Input<inputs.alb.ServerGroupListener>[]>;
|
|
122
|
+
/**
|
|
123
|
+
* 后端服务器组所属项目名称。
|
|
124
|
+
*/
|
|
125
|
+
projectName?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* 后端协议:HTTP,HTTPS。
|
|
128
|
+
*/
|
|
129
|
+
protocol?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* 调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
|
|
132
|
+
*/
|
|
133
|
+
scheduler?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* 服务器组内后端服务器的个数。
|
|
136
|
+
*/
|
|
137
|
+
serverCount?: pulumi.Input<number>;
|
|
138
|
+
/**
|
|
139
|
+
* 后端服务器组的ID。
|
|
140
|
+
*/
|
|
141
|
+
serverGroupId?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* 后端服务器组的名称。
|
|
144
|
+
*/
|
|
145
|
+
serverGroupName?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* 后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
|
|
148
|
+
*/
|
|
149
|
+
serverGroupType?: pulumi.Input<string>;
|
|
150
|
+
servers?: pulumi.Input<pulumi.Input<inputs.alb.ServerGroupServer>[]>;
|
|
151
|
+
/**
|
|
152
|
+
* 服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
|
|
153
|
+
*/
|
|
154
|
+
status?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* 会话保持功能的参数信息。
|
|
157
|
+
*/
|
|
158
|
+
stickySessionConfig?: pulumi.Input<inputs.alb.ServerGroupStickySessionConfig>;
|
|
159
|
+
tags?: pulumi.Input<pulumi.Input<inputs.alb.ServerGroupTag>[]>;
|
|
160
|
+
/**
|
|
161
|
+
* 后端服务器组的最近操作时间。
|
|
162
|
+
*/
|
|
163
|
+
updateTime?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* 后端服务器组所属 Vpc 的 ID。
|
|
166
|
+
*/
|
|
167
|
+
vpcId?: pulumi.Input<string>;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* The set of arguments for constructing a ServerGroup resource.
|
|
171
|
+
*/
|
|
172
|
+
export interface ServerGroupArgs {
|
|
173
|
+
/**
|
|
174
|
+
* 后端服务器组的描述。
|
|
175
|
+
*/
|
|
176
|
+
description?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* 服务器组健康检查配置信息。
|
|
179
|
+
*/
|
|
180
|
+
healthCheck?: pulumi.Input<inputs.alb.ServerGroupHealthCheck>;
|
|
181
|
+
/**
|
|
182
|
+
* 服务器组的IP地址类型。目前只支持 IPv4
|
|
183
|
+
*/
|
|
184
|
+
ipAddressType?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* 后端服务器组所属项目名称。
|
|
187
|
+
*/
|
|
188
|
+
projectName?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* 后端协议:HTTP,HTTPS。
|
|
191
|
+
*/
|
|
192
|
+
protocol?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* 调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
|
|
195
|
+
*/
|
|
196
|
+
scheduler?: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* 后端服务器组的名称。
|
|
199
|
+
*/
|
|
200
|
+
serverGroupName?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* 后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
|
|
203
|
+
*/
|
|
204
|
+
serverGroupType?: pulumi.Input<string>;
|
|
205
|
+
servers?: pulumi.Input<pulumi.Input<inputs.alb.ServerGroupServer>[]>;
|
|
206
|
+
/**
|
|
207
|
+
* 服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
|
|
208
|
+
*/
|
|
209
|
+
status?: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* 会话保持功能的参数信息。
|
|
212
|
+
*/
|
|
213
|
+
stickySessionConfig?: pulumi.Input<inputs.alb.ServerGroupStickySessionConfig>;
|
|
214
|
+
tags?: pulumi.Input<pulumi.Input<inputs.alb.ServerGroupTag>[]>;
|
|
215
|
+
/**
|
|
216
|
+
* 后端服务器组所属 Vpc 的 ID。
|
|
217
|
+
*/
|
|
218
|
+
vpcId: pulumi.Input<string>;
|
|
219
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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.ServerGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 服务器组是后端服务器的逻辑集合。ALB 实例按照您配置的转发规则确定客户端请求将被转发到的服务器组。然后,ALB 实例根据您配置的负载均衡策略,将请求分发给服务器组内的后端服务器。后端服务器接收并处理请求。
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:alb/serverGroup:ServerGroup example "server_group_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class ServerGroup extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing ServerGroup 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 ServerGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of ServerGroup. 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'] === ServerGroup.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
46
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
47
|
+
resourceInputs["healthCheck"] = state ? state.healthCheck : undefined;
|
|
48
|
+
resourceInputs["ipAddressType"] = state ? state.ipAddressType : undefined;
|
|
49
|
+
resourceInputs["listeners"] = state ? state.listeners : undefined;
|
|
50
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
51
|
+
resourceInputs["protocol"] = state ? state.protocol : undefined;
|
|
52
|
+
resourceInputs["scheduler"] = state ? state.scheduler : undefined;
|
|
53
|
+
resourceInputs["serverCount"] = state ? state.serverCount : undefined;
|
|
54
|
+
resourceInputs["serverGroupId"] = state ? state.serverGroupId : undefined;
|
|
55
|
+
resourceInputs["serverGroupName"] = state ? state.serverGroupName : undefined;
|
|
56
|
+
resourceInputs["serverGroupType"] = state ? state.serverGroupType : undefined;
|
|
57
|
+
resourceInputs["servers"] = state ? state.servers : undefined;
|
|
58
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
59
|
+
resourceInputs["stickySessionConfig"] = state ? state.stickySessionConfig : undefined;
|
|
60
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
61
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
62
|
+
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const args = argsOrState;
|
|
66
|
+
if ((!args || args.vpcId === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'vpcId'");
|
|
68
|
+
}
|
|
69
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
70
|
+
resourceInputs["healthCheck"] = args ? args.healthCheck : undefined;
|
|
71
|
+
resourceInputs["ipAddressType"] = args ? args.ipAddressType : undefined;
|
|
72
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
73
|
+
resourceInputs["protocol"] = args ? args.protocol : undefined;
|
|
74
|
+
resourceInputs["scheduler"] = args ? args.scheduler : undefined;
|
|
75
|
+
resourceInputs["serverGroupName"] = args ? args.serverGroupName : undefined;
|
|
76
|
+
resourceInputs["serverGroupType"] = args ? args.serverGroupType : undefined;
|
|
77
|
+
resourceInputs["servers"] = args ? args.servers : undefined;
|
|
78
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
79
|
+
resourceInputs["stickySessionConfig"] = args ? args.stickySessionConfig : undefined;
|
|
80
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
81
|
+
resourceInputs["vpcId"] = args ? args.vpcId : undefined;
|
|
82
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["listeners"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["serverCount"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["serverGroupId"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
super(ServerGroup.__pulumiType, name, resourceInputs, opts);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.ServerGroup = ServerGroup;
|
|
93
|
+
/** @internal */
|
|
94
|
+
ServerGroup.__pulumiType = 'volcenginecc:alb/serverGroup:ServerGroup';
|
|
95
|
+
//# sourceMappingURL=serverGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverGroup.js","sourceRoot":"","sources":["../../alb/serverGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GA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,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,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,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AArJL,kCAsJC;AAxIG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::APIG::UpstreamSource
|
|
5
|
+
*/
|
|
6
|
+
export declare function getUpstreamSource(args: GetUpstreamSourceArgs, opts?: pulumi.InvokeOptions): Promise<GetUpstreamSourceResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getUpstreamSource.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetUpstreamSourceArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getUpstreamSource.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetUpstreamSourceResult {
|
|
20
|
+
/**
|
|
21
|
+
* 备注,长度限制为0~253个字符。
|
|
22
|
+
*/
|
|
23
|
+
readonly comments: string;
|
|
24
|
+
/**
|
|
25
|
+
* 创建时间。
|
|
26
|
+
*/
|
|
27
|
+
readonly createdTime: string;
|
|
28
|
+
/**
|
|
29
|
+
* 网关实例ID。
|
|
30
|
+
*/
|
|
31
|
+
readonly gatewayId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Uniquely identifies the resource.
|
|
34
|
+
*/
|
|
35
|
+
readonly id: string;
|
|
36
|
+
/**
|
|
37
|
+
* 路由同步。开启后,API网关会自动监听Ingress资源的变化,并将Ingress资源转义为服务,域名,Upstream等资源合并至当前网关。由Ingress转义的资源不支持在控制台操作。仅支持容器集群来源类型。
|
|
38
|
+
*/
|
|
39
|
+
readonly ingressSettings: outputs.apig.GetUpstreamSourceIngressSettings;
|
|
40
|
+
/**
|
|
41
|
+
* Upstream来源配置。
|
|
42
|
+
*/
|
|
43
|
+
readonly sourceSpec: outputs.apig.GetUpstreamSourceSourceSpec;
|
|
44
|
+
/**
|
|
45
|
+
* Upstream来源类型,取值:K8S:容器集群。Nacos:注册中心。
|
|
46
|
+
*/
|
|
47
|
+
readonly sourceType: string;
|
|
48
|
+
/**
|
|
49
|
+
* 导入状态,取值:Syncing:导入中。SyncedSucceed:导入成功。SyncedFailed:导入失败。
|
|
50
|
+
*/
|
|
51
|
+
readonly status: string;
|
|
52
|
+
/**
|
|
53
|
+
* 导入状态信息,取值:ConnectionFailed:Nacos集群无法连接。AuthenticationFailed:认证失败。PermissionFailed:Nacos集群无法连接。
|
|
54
|
+
*/
|
|
55
|
+
readonly statusMessage: string;
|
|
56
|
+
/**
|
|
57
|
+
* 更新时间。
|
|
58
|
+
*/
|
|
59
|
+
readonly updatedTime: string;
|
|
60
|
+
/**
|
|
61
|
+
* Upstream来源ID。
|
|
62
|
+
*/
|
|
63
|
+
readonly upstreamSourceId: string;
|
|
64
|
+
/**
|
|
65
|
+
* 指定命名空间。
|
|
66
|
+
*/
|
|
67
|
+
readonly watchNamespaces: string[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Data Source schema for Volcengine::APIG::UpstreamSource
|
|
71
|
+
*/
|
|
72
|
+
export declare function getUpstreamSourceOutput(args: GetUpstreamSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUpstreamSourceResult>;
|
|
73
|
+
/**
|
|
74
|
+
* A collection of arguments for invoking getUpstreamSource.
|
|
75
|
+
*/
|
|
76
|
+
export interface GetUpstreamSourceOutputArgs {
|
|
77
|
+
/**
|
|
78
|
+
* Uniquely identifies the resource.
|
|
79
|
+
*/
|
|
80
|
+
id: pulumi.Input<string>;
|
|
81
|
+
}
|
|
@@ -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.getUpstreamSourceOutput = exports.getUpstreamSource = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::APIG::UpstreamSource
|
|
10
|
+
*/
|
|
11
|
+
function getUpstreamSource(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:apig/getUpstreamSource:getUpstreamSource", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getUpstreamSource = getUpstreamSource;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::APIG::UpstreamSource
|
|
20
|
+
*/
|
|
21
|
+
function getUpstreamSourceOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:apig/getUpstreamSource:getUpstreamSource", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getUpstreamSourceOutput = getUpstreamSourceOutput;
|
|
28
|
+
//# sourceMappingURL=getUpstreamSource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUpstreamSource.js","sourceRoot":"","sources":["../../apig/getUpstreamSource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE;QAClF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC;AAiED;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uDAAuD,EAAE;QACxF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0DAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::APIG::UpstreamSource
|
|
4
|
+
*/
|
|
5
|
+
export declare function getUpstreamSources(opts?: pulumi.InvokeOptions): Promise<GetUpstreamSourcesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getUpstreamSources.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetUpstreamSourcesResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::APIG::UpstreamSource
|
|
21
|
+
*/
|
|
22
|
+
export declare function getUpstreamSourcesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUpstreamSourcesResult>;
|
|
@@ -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.getUpstreamSourcesOutput = exports.getUpstreamSources = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::APIG::UpstreamSource
|
|
10
|
+
*/
|
|
11
|
+
function getUpstreamSources(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:apig/getUpstreamSources:getUpstreamSources", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getUpstreamSources = getUpstreamSources;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::APIG::UpstreamSource
|
|
18
|
+
*/
|
|
19
|
+
function getUpstreamSourcesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:apig/getUpstreamSources:getUpstreamSources", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getUpstreamSourcesOutput = getUpstreamSourcesOutput;
|
|
24
|
+
//# sourceMappingURL=getUpstreamSources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUpstreamSources.js","sourceRoot":"","sources":["../../apig/getUpstreamSources.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA2B;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE,EACvF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC;AAeD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAiC;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yDAAyD,EAAE,EAC7F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4DAIC"}
|
package/apig/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { GetUpstreamSourceArgs, GetUpstreamSourceResult, GetUpstreamSourceOutputArgs } from "./getUpstreamSource";
|
|
2
|
+
export declare const getUpstreamSource: typeof import("./getUpstreamSource").getUpstreamSource;
|
|
3
|
+
export declare const getUpstreamSourceOutput: typeof import("./getUpstreamSource").getUpstreamSourceOutput;
|
|
4
|
+
export { GetUpstreamSourcesResult } from "./getUpstreamSources";
|
|
5
|
+
export declare const getUpstreamSources: typeof import("./getUpstreamSources").getUpstreamSources;
|
|
6
|
+
export declare const getUpstreamSourcesOutput: typeof import("./getUpstreamSources").getUpstreamSourcesOutput;
|
|
7
|
+
export { UpstreamSourceArgs, UpstreamSourceState } from "./upstreamSource";
|
|
8
|
+
export type UpstreamSource = import("./upstreamSource").UpstreamSource;
|
|
9
|
+
export declare const UpstreamSource: typeof import("./upstreamSource").UpstreamSource;
|
package/apig/index.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.UpstreamSource = exports.getUpstreamSourcesOutput = exports.getUpstreamSources = exports.getUpstreamSourceOutput = exports.getUpstreamSource = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getUpstreamSource = null;
|
|
9
|
+
exports.getUpstreamSourceOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getUpstreamSource", "getUpstreamSourceOutput"], () => require("./getUpstreamSource"));
|
|
11
|
+
exports.getUpstreamSources = null;
|
|
12
|
+
exports.getUpstreamSourcesOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["getUpstreamSources", "getUpstreamSourcesOutput"], () => require("./getUpstreamSources"));
|
|
14
|
+
exports.UpstreamSource = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["UpstreamSource"], () => require("./upstreamSource"));
|
|
16
|
+
const _module = {
|
|
17
|
+
version: utilities.getVersion(),
|
|
18
|
+
construct: (name, type, urn) => {
|
|
19
|
+
switch (type) {
|
|
20
|
+
case "volcenginecc:apig/upstreamSource:UpstreamSource":
|
|
21
|
+
return new exports.UpstreamSource(name, undefined, { urn });
|
|
22
|
+
default:
|
|
23
|
+
throw new Error(`unknown resource type ${type}`);
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "apig/upstreamSource", _module);
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../apig/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACxF,QAAA,uBAAuB,GAAiE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,EAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAGtG,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AAC3F,QAAA,wBAAwB,GAAmE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,EAAC,0BAA0B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAIzG,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAGnF,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,iDAAiD;gBAClD,O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