@volcengine/pulumi 0.0.41 → 0.0.44-alpha.1768546977
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/accessLog.d.ts +60 -0
- package/alb/accessLog.js +57 -0
- package/alb/accessLog.js.map +1 -0
- package/alb/acl.d.ts +28 -0
- package/alb/acl.js +6 -0
- package/alb/acl.js.map +1 -1
- package/alb/acls.d.ts +13 -0
- package/alb/acls.js +1 -0
- package/alb/acls.js.map +1 -1
- package/alb/alb.d.ts +147 -0
- package/alb/alb.js +47 -0
- package/alb/alb.js.map +1 -1
- package/alb/albs.d.ts +24 -0
- package/alb/albs.js +2 -0
- package/alb/albs.js.map +1 -1
- package/alb/allCertificates.d.ts +49 -0
- package/alb/allCertificates.js +29 -0
- package/alb/allCertificates.js.map +1 -0
- package/alb/cacertificate.d.ts +8 -0
- package/alb/cacertificate.js +2 -0
- package/alb/cacertificate.js.map +1 -1
- package/alb/certificate.d.ts +26 -0
- package/alb/certificate.js +8 -0
- package/alb/certificate.js.map +1 -1
- package/alb/certificates.d.ts +33 -0
- package/alb/certificates.js +10 -0
- package/alb/certificates.js.map +1 -1
- package/alb/customizedCfg.d.ts +14 -0
- package/alb/customizedCfg.js +2 -0
- package/alb/customizedCfg.js.map +1 -1
- package/alb/customizedCfgs.d.ts +13 -0
- package/alb/customizedCfgs.js +1 -0
- package/alb/customizedCfgs.js.map +1 -1
- package/alb/getAcls.d.ts +13 -0
- package/alb/getAcls.js +1 -0
- package/alb/getAcls.js.map +1 -1
- package/alb/getAlbs.d.ts +24 -0
- package/alb/getAlbs.js +2 -0
- package/alb/getAlbs.js.map +1 -1
- package/alb/getAllCertificates.d.ts +47 -0
- package/alb/getAllCertificates.js +26 -0
- package/alb/getAllCertificates.js.map +1 -0
- package/alb/getCertificates.d.ts +33 -0
- package/alb/getCertificates.js +10 -0
- package/alb/getCertificates.js.map +1 -1
- package/alb/getCustomizedCfgs.d.ts +13 -0
- package/alb/getCustomizedCfgs.js +1 -0
- package/alb/getCustomizedCfgs.js.map +1 -1
- package/alb/getHealthCheckTemplates.d.ts +33 -0
- package/alb/getHealthCheckTemplates.js +10 -0
- package/alb/getHealthCheckTemplates.js.map +1 -1
- package/alb/getListenerHealths.d.ts +37 -0
- package/alb/getListenerHealths.js +22 -0
- package/alb/getListenerHealths.js.map +1 -0
- package/alb/getListeners.d.ts +25 -0
- package/alb/getListeners.js +2 -0
- package/alb/getListeners.js.map +1 -1
- package/alb/getServerGroupServers.d.ts +20 -0
- package/alb/getServerGroupServers.js +4 -0
- package/alb/getServerGroupServers.js.map +1 -1
- package/alb/getServerGroups.d.ts +25 -0
- package/alb/getServerGroups.js +2 -0
- package/alb/getServerGroups.js.map +1 -1
- package/alb/healthCheckTemplate.d.ts +45 -3
- package/alb/healthCheckTemplate.js +10 -0
- package/alb/healthCheckTemplate.js.map +1 -1
- package/alb/healthCheckTemplates.d.ts +33 -0
- package/alb/healthCheckTemplates.js +10 -0
- package/alb/healthCheckTemplates.js.map +1 -1
- package/alb/healthLog.d.ts +72 -0
- package/alb/healthLog.js +62 -0
- package/alb/healthLog.js.map +1 -0
- package/alb/index.d.ts +24 -0
- package/alb/index.js +34 -2
- package/alb/index.js.map +1 -1
- package/alb/listener.d.ts +101 -3
- package/alb/listener.js +26 -0
- package/alb/listener.js.map +1 -1
- package/alb/listenerHealths.d.ts +39 -0
- package/alb/listenerHealths.js +25 -0
- package/alb/listenerHealths.js.map +1 -0
- package/alb/listeners.d.ts +25 -0
- package/alb/listeners.js +2 -0
- package/alb/listeners.js.map +1 -1
- package/alb/replaceCertificate.d.ts +183 -0
- package/alb/replaceCertificate.js +82 -0
- package/alb/replaceCertificate.js.map +1 -0
- package/alb/rule.d.ts +107 -0
- package/alb/rule.js +47 -0
- package/alb/rule.js.map +1 -1
- package/alb/serverGroup.d.ts +60 -0
- package/alb/serverGroup.js +20 -0
- package/alb/serverGroup.js.map +1 -1
- package/alb/serverGroupServer.d.ts +18 -6
- package/alb/serverGroupServer.js +2 -0
- package/alb/serverGroupServer.js.map +1 -1
- package/alb/serverGroupServers.d.ts +20 -0
- package/alb/serverGroupServers.js +4 -0
- package/alb/serverGroupServers.js.map +1 -1
- package/alb/serverGroups.d.ts +25 -0
- package/alb/serverGroups.js +2 -0
- package/alb/serverGroups.js.map +1 -1
- package/alb/tlsAccessLog.d.ts +72 -0
- package/alb/tlsAccessLog.js +62 -0
- package/alb/tlsAccessLog.js.map +1 -0
- package/package.json +1 -1
- package/types/input.d.ts +581 -1
- package/types/output.d.ts +1720 -168
package/alb/serverGroup.d.ts
CHANGED
|
@@ -19,18 +19,30 @@ import * as outputs from "../types/output";
|
|
|
19
19
|
* description: "acc-test",
|
|
20
20
|
* serverGroupType: "instance",
|
|
21
21
|
* scheduler: "wlc",
|
|
22
|
+
* protocol: "HTTP",
|
|
23
|
+
* ipAddressType: "IPv4",
|
|
22
24
|
* projectName: "default",
|
|
23
25
|
* healthCheck: {
|
|
24
26
|
* enabled: "on",
|
|
25
27
|
* interval: 3,
|
|
26
28
|
* timeout: 3,
|
|
27
29
|
* method: "GET",
|
|
30
|
+
* domain: "www.test.com",
|
|
31
|
+
* uri: "/health",
|
|
32
|
+
* httpCode: "http_2xx,http_3xx",
|
|
33
|
+
* protocol: "HTTP",
|
|
34
|
+
* port: 80,
|
|
35
|
+
* httpVersion: "HTTP1.1",
|
|
28
36
|
* },
|
|
29
37
|
* stickySessionConfig: {
|
|
30
38
|
* stickySessionEnabled: "on",
|
|
31
39
|
* stickySessionType: "insert",
|
|
32
40
|
* cookieTimeout: 1100,
|
|
33
41
|
* },
|
|
42
|
+
* tags: [{
|
|
43
|
+
* key: "key1",
|
|
44
|
+
* value: "value2",
|
|
45
|
+
* }],
|
|
34
46
|
* });
|
|
35
47
|
* ```
|
|
36
48
|
*
|
|
@@ -62,6 +74,10 @@ export declare class ServerGroup extends pulumi.CustomResource {
|
|
|
62
74
|
* The create time of the Alb server group.
|
|
63
75
|
*/
|
|
64
76
|
readonly createTime: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Whether to enable cross-zone load balancing for the server group. Valid values: `on`, `off`.
|
|
79
|
+
*/
|
|
80
|
+
readonly crossZoneEnabled: pulumi.Output<string>;
|
|
65
81
|
/**
|
|
66
82
|
* The description of the Alb server group.
|
|
67
83
|
*/
|
|
@@ -70,6 +86,10 @@ export declare class ServerGroup extends pulumi.CustomResource {
|
|
|
70
86
|
* The health check config of the Alb server group. The enable status of health check function defaults to `on`.
|
|
71
87
|
*/
|
|
72
88
|
readonly healthCheck: pulumi.Output<outputs.alb.ServerGroupHealthCheck>;
|
|
89
|
+
/**
|
|
90
|
+
* The ip address type of the server group.
|
|
91
|
+
*/
|
|
92
|
+
readonly ipAddressType: pulumi.Output<string>;
|
|
73
93
|
/**
|
|
74
94
|
* The listener information of the Alb server group.
|
|
75
95
|
*/
|
|
@@ -78,6 +98,10 @@ export declare class ServerGroup extends pulumi.CustomResource {
|
|
|
78
98
|
* The project name of the Alb server group.
|
|
79
99
|
*/
|
|
80
100
|
readonly projectName: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The backend protocol of the Alb server group. Valid values: `HTTP`, `HTTPS`, `gRPC`. Default is `HTTP`.
|
|
103
|
+
*/
|
|
104
|
+
readonly protocol: pulumi.Output<string | undefined>;
|
|
81
105
|
/**
|
|
82
106
|
* The scheduling algorithm of the Alb server group. Valid values: `wrr`, `wlc`, `sh`.
|
|
83
107
|
*/
|
|
@@ -102,6 +126,10 @@ export declare class ServerGroup extends pulumi.CustomResource {
|
|
|
102
126
|
* The sticky session config of the Alb server group. The enable status of sticky session function defaults to `off`.
|
|
103
127
|
*/
|
|
104
128
|
readonly stickySessionConfig: pulumi.Output<outputs.alb.ServerGroupStickySessionConfig>;
|
|
129
|
+
/**
|
|
130
|
+
* Tags.
|
|
131
|
+
*/
|
|
132
|
+
readonly tags: pulumi.Output<outputs.alb.ServerGroupTag[] | undefined>;
|
|
105
133
|
/**
|
|
106
134
|
* The update time of the Alb server group.
|
|
107
135
|
*/
|
|
@@ -127,6 +155,10 @@ export interface ServerGroupState {
|
|
|
127
155
|
* The create time of the Alb server group.
|
|
128
156
|
*/
|
|
129
157
|
createTime?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Whether to enable cross-zone load balancing for the server group. Valid values: `on`, `off`.
|
|
160
|
+
*/
|
|
161
|
+
crossZoneEnabled?: pulumi.Input<string>;
|
|
130
162
|
/**
|
|
131
163
|
* The description of the Alb server group.
|
|
132
164
|
*/
|
|
@@ -135,6 +167,10 @@ export interface ServerGroupState {
|
|
|
135
167
|
* The health check config of the Alb server group. The enable status of health check function defaults to `on`.
|
|
136
168
|
*/
|
|
137
169
|
healthCheck?: pulumi.Input<inputs.alb.ServerGroupHealthCheck>;
|
|
170
|
+
/**
|
|
171
|
+
* The ip address type of the server group.
|
|
172
|
+
*/
|
|
173
|
+
ipAddressType?: pulumi.Input<string>;
|
|
138
174
|
/**
|
|
139
175
|
* The listener information of the Alb server group.
|
|
140
176
|
*/
|
|
@@ -143,6 +179,10 @@ export interface ServerGroupState {
|
|
|
143
179
|
* The project name of the Alb server group.
|
|
144
180
|
*/
|
|
145
181
|
projectName?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* The backend protocol of the Alb server group. Valid values: `HTTP`, `HTTPS`, `gRPC`. Default is `HTTP`.
|
|
184
|
+
*/
|
|
185
|
+
protocol?: pulumi.Input<string>;
|
|
146
186
|
/**
|
|
147
187
|
* The scheduling algorithm of the Alb server group. Valid values: `wrr`, `wlc`, `sh`.
|
|
148
188
|
*/
|
|
@@ -167,6 +207,10 @@ export interface ServerGroupState {
|
|
|
167
207
|
* The sticky session config of the Alb server group. The enable status of sticky session function defaults to `off`.
|
|
168
208
|
*/
|
|
169
209
|
stickySessionConfig?: pulumi.Input<inputs.alb.ServerGroupStickySessionConfig>;
|
|
210
|
+
/**
|
|
211
|
+
* Tags.
|
|
212
|
+
*/
|
|
213
|
+
tags?: pulumi.Input<pulumi.Input<inputs.alb.ServerGroupTag>[]>;
|
|
170
214
|
/**
|
|
171
215
|
* The update time of the Alb server group.
|
|
172
216
|
*/
|
|
@@ -180,6 +224,10 @@ export interface ServerGroupState {
|
|
|
180
224
|
* The set of arguments for constructing a ServerGroup resource.
|
|
181
225
|
*/
|
|
182
226
|
export interface ServerGroupArgs {
|
|
227
|
+
/**
|
|
228
|
+
* Whether to enable cross-zone load balancing for the server group. Valid values: `on`, `off`.
|
|
229
|
+
*/
|
|
230
|
+
crossZoneEnabled?: pulumi.Input<string>;
|
|
183
231
|
/**
|
|
184
232
|
* The description of the Alb server group.
|
|
185
233
|
*/
|
|
@@ -188,10 +236,18 @@ export interface ServerGroupArgs {
|
|
|
188
236
|
* The health check config of the Alb server group. The enable status of health check function defaults to `on`.
|
|
189
237
|
*/
|
|
190
238
|
healthCheck?: pulumi.Input<inputs.alb.ServerGroupHealthCheck>;
|
|
239
|
+
/**
|
|
240
|
+
* The ip address type of the server group.
|
|
241
|
+
*/
|
|
242
|
+
ipAddressType?: pulumi.Input<string>;
|
|
191
243
|
/**
|
|
192
244
|
* The project name of the Alb server group.
|
|
193
245
|
*/
|
|
194
246
|
projectName?: pulumi.Input<string>;
|
|
247
|
+
/**
|
|
248
|
+
* The backend protocol of the Alb server group. Valid values: `HTTP`, `HTTPS`, `gRPC`. Default is `HTTP`.
|
|
249
|
+
*/
|
|
250
|
+
protocol?: pulumi.Input<string>;
|
|
195
251
|
/**
|
|
196
252
|
* The scheduling algorithm of the Alb server group. Valid values: `wrr`, `wlc`, `sh`.
|
|
197
253
|
*/
|
|
@@ -208,6 +264,10 @@ export interface ServerGroupArgs {
|
|
|
208
264
|
* The sticky session config of the Alb server group. The enable status of sticky session function defaults to `off`.
|
|
209
265
|
*/
|
|
210
266
|
stickySessionConfig?: pulumi.Input<inputs.alb.ServerGroupStickySessionConfig>;
|
|
267
|
+
/**
|
|
268
|
+
* Tags.
|
|
269
|
+
*/
|
|
270
|
+
tags?: pulumi.Input<pulumi.Input<inputs.alb.ServerGroupTag>[]>;
|
|
211
271
|
/**
|
|
212
272
|
* The vpc id of the Alb server group.
|
|
213
273
|
*/
|
package/alb/serverGroup.js
CHANGED
|
@@ -23,18 +23,30 @@ const utilities = require("../utilities");
|
|
|
23
23
|
* description: "acc-test",
|
|
24
24
|
* serverGroupType: "instance",
|
|
25
25
|
* scheduler: "wlc",
|
|
26
|
+
* protocol: "HTTP",
|
|
27
|
+
* ipAddressType: "IPv4",
|
|
26
28
|
* projectName: "default",
|
|
27
29
|
* healthCheck: {
|
|
28
30
|
* enabled: "on",
|
|
29
31
|
* interval: 3,
|
|
30
32
|
* timeout: 3,
|
|
31
33
|
* method: "GET",
|
|
34
|
+
* domain: "www.test.com",
|
|
35
|
+
* uri: "/health",
|
|
36
|
+
* httpCode: "http_2xx,http_3xx",
|
|
37
|
+
* protocol: "HTTP",
|
|
38
|
+
* port: 80,
|
|
39
|
+
* httpVersion: "HTTP1.1",
|
|
32
40
|
* },
|
|
33
41
|
* stickySessionConfig: {
|
|
34
42
|
* stickySessionEnabled: "on",
|
|
35
43
|
* stickySessionType: "insert",
|
|
36
44
|
* cookieTimeout: 1100,
|
|
37
45
|
* },
|
|
46
|
+
* tags: [{
|
|
47
|
+
* key: "key1",
|
|
48
|
+
* value: "value2",
|
|
49
|
+
* }],
|
|
38
50
|
* });
|
|
39
51
|
* ```
|
|
40
52
|
*
|
|
@@ -75,16 +87,20 @@ class ServerGroup extends pulumi.CustomResource {
|
|
|
75
87
|
if (opts.id) {
|
|
76
88
|
const state = argsOrState;
|
|
77
89
|
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
90
|
+
resourceInputs["crossZoneEnabled"] = state ? state.crossZoneEnabled : undefined;
|
|
78
91
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
79
92
|
resourceInputs["healthCheck"] = state ? state.healthCheck : undefined;
|
|
93
|
+
resourceInputs["ipAddressType"] = state ? state.ipAddressType : undefined;
|
|
80
94
|
resourceInputs["listeners"] = state ? state.listeners : undefined;
|
|
81
95
|
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
96
|
+
resourceInputs["protocol"] = state ? state.protocol : undefined;
|
|
82
97
|
resourceInputs["scheduler"] = state ? state.scheduler : undefined;
|
|
83
98
|
resourceInputs["serverCount"] = state ? state.serverCount : undefined;
|
|
84
99
|
resourceInputs["serverGroupName"] = state ? state.serverGroupName : undefined;
|
|
85
100
|
resourceInputs["serverGroupType"] = state ? state.serverGroupType : undefined;
|
|
86
101
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
87
102
|
resourceInputs["stickySessionConfig"] = state ? state.stickySessionConfig : undefined;
|
|
103
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
88
104
|
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
89
105
|
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
90
106
|
}
|
|
@@ -93,13 +109,17 @@ class ServerGroup extends pulumi.CustomResource {
|
|
|
93
109
|
if ((!args || args.vpcId === undefined) && !opts.urn) {
|
|
94
110
|
throw new Error("Missing required property 'vpcId'");
|
|
95
111
|
}
|
|
112
|
+
resourceInputs["crossZoneEnabled"] = args ? args.crossZoneEnabled : undefined;
|
|
96
113
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
97
114
|
resourceInputs["healthCheck"] = args ? args.healthCheck : undefined;
|
|
115
|
+
resourceInputs["ipAddressType"] = args ? args.ipAddressType : undefined;
|
|
98
116
|
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
117
|
+
resourceInputs["protocol"] = args ? args.protocol : undefined;
|
|
99
118
|
resourceInputs["scheduler"] = args ? args.scheduler : undefined;
|
|
100
119
|
resourceInputs["serverGroupName"] = args ? args.serverGroupName : undefined;
|
|
101
120
|
resourceInputs["serverGroupType"] = args ? args.serverGroupType : undefined;
|
|
102
121
|
resourceInputs["stickySessionConfig"] = args ? args.stickySessionConfig : undefined;
|
|
122
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
103
123
|
resourceInputs["vpcId"] = args ? args.vpcId : undefined;
|
|
104
124
|
resourceInputs["createTime"] = undefined /*out*/;
|
|
105
125
|
resourceInputs["listeners"] = undefined /*out*/;
|
package/alb/serverGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverGroup.js","sourceRoot":"","sources":["../../alb/serverGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"serverGroup.js","sourceRoot":"","sources":["../../alb/serverGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;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,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA+ED,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG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,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;;AAxJL,kCAyJC;AA3IG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -55,9 +55,13 @@ export declare class ServerGroupServer extends pulumi.CustomResource {
|
|
|
55
55
|
*/
|
|
56
56
|
readonly ip: pulumi.Output<string>;
|
|
57
57
|
/**
|
|
58
|
-
* The port receiving request.
|
|
58
|
+
* The port receiving request. Value range: 1 ~ 65535.
|
|
59
59
|
*/
|
|
60
60
|
readonly port: pulumi.Output<number>;
|
|
61
|
+
/**
|
|
62
|
+
* Whether to enable remote IP function. Optional choice contains `on`, `off`. Default value is `off`. This field is only effective when the type is `ip`.
|
|
63
|
+
*/
|
|
64
|
+
readonly remoteEnabled: pulumi.Output<string | undefined>;
|
|
61
65
|
/**
|
|
62
66
|
* The ID of the ServerGroup.
|
|
63
67
|
*/
|
|
@@ -67,7 +71,7 @@ export declare class ServerGroupServer extends pulumi.CustomResource {
|
|
|
67
71
|
*/
|
|
68
72
|
readonly serverId: pulumi.Output<string>;
|
|
69
73
|
/**
|
|
70
|
-
* The type of instance. Optional choice contains `ecs`, `eni`.
|
|
74
|
+
* The type of instance. Optional choice contains `ecs`, `eni`, `ip`.
|
|
71
75
|
*/
|
|
72
76
|
readonly type: pulumi.Output<string>;
|
|
73
77
|
/**
|
|
@@ -100,9 +104,13 @@ export interface ServerGroupServerState {
|
|
|
100
104
|
*/
|
|
101
105
|
ip?: pulumi.Input<string>;
|
|
102
106
|
/**
|
|
103
|
-
* The port receiving request.
|
|
107
|
+
* The port receiving request. Value range: 1 ~ 65535.
|
|
104
108
|
*/
|
|
105
109
|
port?: pulumi.Input<number>;
|
|
110
|
+
/**
|
|
111
|
+
* Whether to enable remote IP function. Optional choice contains `on`, `off`. Default value is `off`. This field is only effective when the type is `ip`.
|
|
112
|
+
*/
|
|
113
|
+
remoteEnabled?: pulumi.Input<string>;
|
|
106
114
|
/**
|
|
107
115
|
* The ID of the ServerGroup.
|
|
108
116
|
*/
|
|
@@ -112,7 +120,7 @@ export interface ServerGroupServerState {
|
|
|
112
120
|
*/
|
|
113
121
|
serverId?: pulumi.Input<string>;
|
|
114
122
|
/**
|
|
115
|
-
* The type of instance. Optional choice contains `ecs`, `eni`.
|
|
123
|
+
* The type of instance. Optional choice contains `ecs`, `eni`, `ip`.
|
|
116
124
|
*/
|
|
117
125
|
type?: pulumi.Input<string>;
|
|
118
126
|
/**
|
|
@@ -137,15 +145,19 @@ export interface ServerGroupServerArgs {
|
|
|
137
145
|
*/
|
|
138
146
|
ip: pulumi.Input<string>;
|
|
139
147
|
/**
|
|
140
|
-
* The port receiving request.
|
|
148
|
+
* The port receiving request. Value range: 1 ~ 65535.
|
|
141
149
|
*/
|
|
142
150
|
port: pulumi.Input<number>;
|
|
151
|
+
/**
|
|
152
|
+
* Whether to enable remote IP function. Optional choice contains `on`, `off`. Default value is `off`. This field is only effective when the type is `ip`.
|
|
153
|
+
*/
|
|
154
|
+
remoteEnabled?: pulumi.Input<string>;
|
|
143
155
|
/**
|
|
144
156
|
* The ID of the ServerGroup.
|
|
145
157
|
*/
|
|
146
158
|
serverGroupId: pulumi.Input<string>;
|
|
147
159
|
/**
|
|
148
|
-
* The type of instance. Optional choice contains `ecs`, `eni`.
|
|
160
|
+
* The type of instance. Optional choice contains `ecs`, `eni`, `ip`.
|
|
149
161
|
*/
|
|
150
162
|
type: pulumi.Input<string>;
|
|
151
163
|
/**
|
package/alb/serverGroupServer.js
CHANGED
|
@@ -64,6 +64,7 @@ class ServerGroupServer extends pulumi.CustomResource {
|
|
|
64
64
|
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
65
65
|
resourceInputs["ip"] = state ? state.ip : undefined;
|
|
66
66
|
resourceInputs["port"] = state ? state.port : undefined;
|
|
67
|
+
resourceInputs["remoteEnabled"] = state ? state.remoteEnabled : undefined;
|
|
67
68
|
resourceInputs["serverGroupId"] = state ? state.serverGroupId : undefined;
|
|
68
69
|
resourceInputs["serverId"] = state ? state.serverId : undefined;
|
|
69
70
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
@@ -90,6 +91,7 @@ class ServerGroupServer extends pulumi.CustomResource {
|
|
|
90
91
|
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
91
92
|
resourceInputs["ip"] = args ? args.ip : undefined;
|
|
92
93
|
resourceInputs["port"] = args ? args.port : undefined;
|
|
94
|
+
resourceInputs["remoteEnabled"] = args ? args.remoteEnabled : undefined;
|
|
93
95
|
resourceInputs["serverGroupId"] = args ? args.serverGroupId : undefined;
|
|
94
96
|
resourceInputs["type"] = args ? args.type : undefined;
|
|
95
97
|
resourceInputs["weight"] = args ? args.weight : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverGroupServer.js","sourceRoot":"","sources":["../../alb/serverGroupServer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG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CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AApHL,8CAqHC;AAvGG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -9,6 +9,7 @@ import * as outputs from "../types/output";
|
|
|
9
9
|
* import * as volcengine from "@pulumi/volcengine";
|
|
10
10
|
*
|
|
11
11
|
* const foo = volcengine.alb.getServerGroupServers({
|
|
12
|
+
* instanceIds: ["i-yecutyh340qc6io*****"],
|
|
12
13
|
* serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
|
|
13
14
|
* });
|
|
14
15
|
* ```
|
|
@@ -19,6 +20,14 @@ export declare function serverGroupServers(args: ServerGroupServersArgs, opts?:
|
|
|
19
20
|
* A collection of arguments for invoking ServerGroupServers.
|
|
20
21
|
*/
|
|
21
22
|
export interface ServerGroupServersArgs {
|
|
23
|
+
/**
|
|
24
|
+
* A list of instance IDs. When the backend server is ECS, the parameter value is the ID of the ECS. When the backend server is a secondary network interface card, the parameter value is the ID of the secondary network interface card.
|
|
25
|
+
*/
|
|
26
|
+
instanceIds?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* A list of private IP addresses.
|
|
29
|
+
*/
|
|
30
|
+
ips?: string[];
|
|
22
31
|
/**
|
|
23
32
|
* File name where to save data source results.
|
|
24
33
|
*/
|
|
@@ -36,6 +45,8 @@ export interface ServerGroupServersResult {
|
|
|
36
45
|
* The provider-assigned unique ID for this managed resource.
|
|
37
46
|
*/
|
|
38
47
|
readonly id: string;
|
|
48
|
+
readonly instanceIds?: string[];
|
|
49
|
+
readonly ips?: string[];
|
|
39
50
|
readonly outputFile?: string;
|
|
40
51
|
readonly serverGroupId: string;
|
|
41
52
|
/**
|
|
@@ -56,6 +67,7 @@ export interface ServerGroupServersResult {
|
|
|
56
67
|
* import * as volcengine from "@pulumi/volcengine";
|
|
57
68
|
*
|
|
58
69
|
* const foo = volcengine.alb.getServerGroupServers({
|
|
70
|
+
* instanceIds: ["i-yecutyh340qc6io*****"],
|
|
59
71
|
* serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
|
|
60
72
|
* });
|
|
61
73
|
* ```
|
|
@@ -66,6 +78,14 @@ export declare function serverGroupServersOutput(args: ServerGroupServersOutputA
|
|
|
66
78
|
* A collection of arguments for invoking ServerGroupServers.
|
|
67
79
|
*/
|
|
68
80
|
export interface ServerGroupServersOutputArgs {
|
|
81
|
+
/**
|
|
82
|
+
* A list of instance IDs. When the backend server is ECS, the parameter value is the ID of the ECS. When the backend server is a secondary network interface card, the parameter value is the ID of the secondary network interface card.
|
|
83
|
+
*/
|
|
84
|
+
instanceIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
85
|
+
/**
|
|
86
|
+
* A list of private IP addresses.
|
|
87
|
+
*/
|
|
88
|
+
ips?: pulumi.Input<pulumi.Input<string>[]>;
|
|
69
89
|
/**
|
|
70
90
|
* File name where to save data source results.
|
|
71
91
|
*/
|
|
@@ -14,6 +14,7 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* import * as volcengine from "@pulumi/volcengine";
|
|
15
15
|
*
|
|
16
16
|
* const foo = volcengine.alb.getServerGroupServers({
|
|
17
|
+
* instanceIds: ["i-yecutyh340qc6io*****"],
|
|
17
18
|
* serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
|
|
18
19
|
* });
|
|
19
20
|
* ```
|
|
@@ -23,6 +24,8 @@ function serverGroupServers(args, opts) {
|
|
|
23
24
|
pulumi.log.warn("serverGroupServers is deprecated: volcengine.alb.ServerGroupServers has been deprecated in favor of volcengine.alb.getServerGroupServers");
|
|
24
25
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
26
|
return pulumi.runtime.invoke("volcengine:alb/serverGroupServers:ServerGroupServers", {
|
|
27
|
+
"instanceIds": args.instanceIds,
|
|
28
|
+
"ips": args.ips,
|
|
26
29
|
"outputFile": args.outputFile,
|
|
27
30
|
"serverGroupId": args.serverGroupId,
|
|
28
31
|
}, opts);
|
|
@@ -37,6 +40,7 @@ exports.serverGroupServers = serverGroupServers;
|
|
|
37
40
|
* import * as volcengine from "@pulumi/volcengine";
|
|
38
41
|
*
|
|
39
42
|
* const foo = volcengine.alb.getServerGroupServers({
|
|
43
|
+
* instanceIds: ["i-yecutyh340qc6io*****"],
|
|
40
44
|
* serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
|
|
41
45
|
* });
|
|
42
46
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverGroupServers.js","sourceRoot":"","sources":["../../alb/serverGroupServers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"serverGroupServers.js","sourceRoot":"","sources":["../../alb/serverGroupServers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,yHAAyH;AACzH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,0IAA0I,CAAC,CAAA;IAE3J,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gDAUC;AA6CD;;;;;;;;;;;;;GAaG;AACH,yHAAyH;AACzH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
package/alb/serverGroups.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
2
3
|
import * as outputs from "../types/output";
|
|
3
4
|
/**
|
|
4
5
|
* Use this data source to query detailed information of alb server groups
|
|
@@ -70,6 +71,14 @@ export interface ServerGroupsArgs {
|
|
|
70
71
|
* The type of Alb server group. Valid values: `instance`, `ip`.
|
|
71
72
|
*/
|
|
72
73
|
serverGroupType?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Tags.
|
|
76
|
+
*/
|
|
77
|
+
tags?: inputs.alb.ServerGroupsTag[];
|
|
78
|
+
/**
|
|
79
|
+
* The vpc id of Alb server group.
|
|
80
|
+
*/
|
|
81
|
+
vpcId?: string;
|
|
73
82
|
}
|
|
74
83
|
/**
|
|
75
84
|
* A collection of values returned by ServerGroups.
|
|
@@ -95,10 +104,18 @@ export interface ServerGroupsResult {
|
|
|
95
104
|
* The collection of query.
|
|
96
105
|
*/
|
|
97
106
|
readonly serverGroups: outputs.alb.ServerGroupsServerGroup[];
|
|
107
|
+
/**
|
|
108
|
+
* Tags.
|
|
109
|
+
*/
|
|
110
|
+
readonly tags?: outputs.alb.ServerGroupsTag[];
|
|
98
111
|
/**
|
|
99
112
|
* The total count of query.
|
|
100
113
|
*/
|
|
101
114
|
readonly totalCount: number;
|
|
115
|
+
/**
|
|
116
|
+
* The vpc id of the Alb server group.
|
|
117
|
+
*/
|
|
118
|
+
readonly vpcId?: string;
|
|
102
119
|
}
|
|
103
120
|
/**
|
|
104
121
|
* Use this data source to query detailed information of alb server groups
|
|
@@ -170,4 +187,12 @@ export interface ServerGroupsOutputArgs {
|
|
|
170
187
|
* The type of Alb server group. Valid values: `instance`, `ip`.
|
|
171
188
|
*/
|
|
172
189
|
serverGroupType?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* Tags.
|
|
192
|
+
*/
|
|
193
|
+
tags?: pulumi.Input<pulumi.Input<inputs.alb.ServerGroupsTagArgs>[]>;
|
|
194
|
+
/**
|
|
195
|
+
* The vpc id of Alb server group.
|
|
196
|
+
*/
|
|
197
|
+
vpcId?: pulumi.Input<string>;
|
|
173
198
|
}
|
package/alb/serverGroups.js
CHANGED
|
@@ -57,6 +57,8 @@ function serverGroups(args, opts) {
|
|
|
57
57
|
"projectName": args.projectName,
|
|
58
58
|
"serverGroupNames": args.serverGroupNames,
|
|
59
59
|
"serverGroupType": args.serverGroupType,
|
|
60
|
+
"tags": args.tags,
|
|
61
|
+
"vpcId": args.vpcId,
|
|
60
62
|
}, opts);
|
|
61
63
|
}
|
|
62
64
|
exports.serverGroups = serverGroups;
|
package/alb/serverGroups.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverGroups.js","sourceRoot":"","sources":["../../alb/serverGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,6GAA6G;AAC7G,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,wHAAwH,CAAC,CAAA;IACzI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,S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,oCAeC;AA6ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,6GAA6G;AAC7G,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class TlsAccessLog extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing TlsAccessLog resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TlsAccessLogState, opts?: pulumi.CustomResourceOptions): TlsAccessLog;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of TlsAccessLog. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is TlsAccessLog;
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the LoadBalancer.
|
|
20
|
+
*/
|
|
21
|
+
readonly loadBalancerId: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The project ID of the Topic.
|
|
24
|
+
*/
|
|
25
|
+
readonly projectId: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the Topic.
|
|
28
|
+
*/
|
|
29
|
+
readonly topicId: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Create a TlsAccessLog resource with the given unique name, arguments, and options.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resource.
|
|
34
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
+
*/
|
|
37
|
+
constructor(name: string, args: TlsAccessLogArgs, opts?: pulumi.CustomResourceOptions);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Input properties used for looking up and filtering TlsAccessLog resources.
|
|
41
|
+
*/
|
|
42
|
+
export interface TlsAccessLogState {
|
|
43
|
+
/**
|
|
44
|
+
* The ID of the LoadBalancer.
|
|
45
|
+
*/
|
|
46
|
+
loadBalancerId?: pulumi.Input<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The project ID of the Topic.
|
|
49
|
+
*/
|
|
50
|
+
projectId?: pulumi.Input<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The ID of the Topic.
|
|
53
|
+
*/
|
|
54
|
+
topicId?: pulumi.Input<string>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The set of arguments for constructing a TlsAccessLog resource.
|
|
58
|
+
*/
|
|
59
|
+
export interface TlsAccessLogArgs {
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the LoadBalancer.
|
|
62
|
+
*/
|
|
63
|
+
loadBalancerId: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The project ID of the Topic.
|
|
66
|
+
*/
|
|
67
|
+
projectId: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The ID of the Topic.
|
|
70
|
+
*/
|
|
71
|
+
topicId: pulumi.Input<string>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.TlsAccessLog = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class TlsAccessLog extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing TlsAccessLog resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new TlsAccessLog(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of TlsAccessLog. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === TlsAccessLog.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["loadBalancerId"] = state ? state.loadBalancerId : undefined;
|
|
37
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
38
|
+
resourceInputs["topicId"] = state ? state.topicId : undefined;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
const args = argsOrState;
|
|
42
|
+
if ((!args || args.loadBalancerId === undefined) && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'loadBalancerId'");
|
|
44
|
+
}
|
|
45
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'projectId'");
|
|
47
|
+
}
|
|
48
|
+
if ((!args || args.topicId === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'topicId'");
|
|
50
|
+
}
|
|
51
|
+
resourceInputs["loadBalancerId"] = args ? args.loadBalancerId : undefined;
|
|
52
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
53
|
+
resourceInputs["topicId"] = args ? args.topicId : undefined;
|
|
54
|
+
}
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
|
+
super(TlsAccessLog.__pulumiType, name, resourceInputs, opts);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.TlsAccessLog = TlsAccessLog;
|
|
60
|
+
/** @internal */
|
|
61
|
+
TlsAccessLog.__pulumiType = 'volcengine:alb/tlsAccessLog:TlsAccessLog';
|
|
62
|
+
//# sourceMappingURL=tlsAccessLog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tlsAccessLog.js","sourceRoot":"","sources":["../../alb/tlsAccessLog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OA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