@volcengine/pulumi 0.0.20 → 0.0.22
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 +126 -0
- package/alb/acl.js +89 -0
- package/alb/acl.js.map +1 -0
- package/alb/acls.d.ts +101 -0
- package/alb/acls.js +51 -0
- package/alb/acls.js.map +1 -0
- package/alb/alb.d.ts +282 -0
- package/alb/alb.js +167 -0
- package/alb/alb.js.map +1 -0
- package/alb/albs.d.ts +216 -0
- package/alb/albs.js +127 -0
- package/alb/albs.js.map +1 -0
- package/alb/caCertificates.d.ts +108 -0
- package/alb/caCertificates.js +50 -0
- package/alb/caCertificates.js.map +1 -0
- package/alb/cacertificate.d.ts +158 -0
- package/alb/cacertificate.js +96 -0
- package/alb/cacertificate.js.map +1 -0
- package/alb/certificate.d.ts +167 -0
- package/alb/certificate.js +98 -0
- package/alb/certificate.js.map +1 -0
- package/alb/certificates.d.ts +87 -0
- package/alb/certificates.js +48 -0
- package/alb/certificates.js.map +1 -0
- package/alb/customizedCfg.d.ts +108 -0
- package/alb/customizedCfg.js +85 -0
- package/alb/customizedCfg.js.map +1 -0
- package/alb/customizedCfgs.d.ts +116 -0
- package/alb/customizedCfgs.js +47 -0
- package/alb/customizedCfgs.js.map +1 -0
- package/alb/healthCheckTemplate.d.ts +212 -0
- package/alb/healthCheckTemplate.js +106 -0
- package/alb/healthCheckTemplate.js.map +1 -0
- package/alb/healthCheckTemplates.d.ts +96 -0
- package/alb/healthCheckTemplates.js +49 -0
- package/alb/healthCheckTemplates.js.map +1 -0
- package/alb/index.d.ts +69 -0
- package/alb/index.js +108 -0
- package/alb/index.js.map +1 -0
- package/alb/listener.d.ts +268 -0
- package/alb/listener.js +135 -0
- package/alb/listener.js.map +1 -0
- package/alb/listenerDomainExtension.d.ts +119 -0
- package/alb/listenerDomainExtension.js +103 -0
- package/alb/listenerDomainExtension.js.map +1 -0
- package/alb/listenerDomainExtensions.d.ts +78 -0
- package/alb/listenerDomainExtensions.js +46 -0
- package/alb/listenerDomainExtensions.js.map +1 -0
- package/alb/listeners.d.ts +100 -0
- package/alb/listeners.js +31 -0
- package/alb/listeners.js.map +1 -0
- package/alb/rule.d.ts +228 -0
- package/alb/rule.js +115 -0
- package/alb/rule.js.map +1 -0
- package/alb/rules.d.ts +75 -0
- package/alb/rules.js +46 -0
- package/alb/rules.js.map +1 -0
- package/alb/serverGroup.d.ts +215 -0
- package/alb/serverGroup.js +117 -0
- package/alb/serverGroup.js.map +1 -0
- package/alb/serverGroupServer.d.ts +155 -0
- package/alb/serverGroupServer.js +105 -0
- package/alb/serverGroupServer.js.map +1 -0
- package/alb/serverGroupServers.d.ts +75 -0
- package/alb/serverGroupServers.js +46 -0
- package/alb/serverGroupServers.js.map +1 -0
- package/alb/serverGroups.d.ts +171 -0
- package/alb/serverGroups.js +105 -0
- package/alb/serverGroups.js.map +1 -0
- package/alb/zones.d.ts +62 -0
- package/alb/zones.js +42 -0
- package/alb/zones.js.map +1 -0
- package/autoscaling/scalingConfiguration.d.ts +18 -0
- package/autoscaling/scalingConfiguration.js +2 -0
- package/autoscaling/scalingConfiguration.js.map +1 -1
- package/autoscaling/scalingGroup.d.ts +61 -3
- package/autoscaling/scalingGroup.js +11 -1
- package/autoscaling/scalingGroup.js.map +1 -1
- package/autoscaling/scalingGroups.d.ts +12 -0
- package/autoscaling/scalingGroups.js +1 -0
- package/autoscaling/scalingGroups.js.map +1 -1
- package/autoscaling/scalingLifecycleHook.d.ts +31 -6
- package/autoscaling/scalingLifecycleHook.js +16 -3
- package/autoscaling/scalingLifecycleHook.js.map +1 -1
- package/bandwidth_package/attachment.d.ts +103 -0
- package/bandwidth_package/attachment.js +100 -0
- package/bandwidth_package/attachment.js.map +1 -0
- package/bandwidth_package/bandwidthPackage.d.ts +188 -0
- package/bandwidth_package/bandwidthPackage.js +100 -0
- package/bandwidth_package/bandwidthPackage.js.map +1 -0
- package/bandwidth_package/bandwidthPackages.d.ts +151 -0
- package/bandwidth_package/bandwidthPackages.js +54 -0
- package/bandwidth_package/bandwidthPackages.js.map +1 -0
- package/bandwidth_package/index.d.ts +9 -0
- package/bandwidth_package/index.js +30 -0
- package/bandwidth_package/index.js.map +1 -0
- package/clb/listener.d.ts +21 -12
- package/clb/listener.js +2 -0
- package/clb/listener.js.map +1 -1
- package/cr/endpoint.d.ts +1 -1
- package/cr/endpoint.js +1 -1
- package/ecs/iamRoleAttachment.d.ts +71 -0
- package/ecs/iamRoleAttachment.js +68 -0
- package/ecs/iamRoleAttachment.js.map +1 -0
- package/ecs/index.d.ts +6 -0
- package/ecs/index.js +9 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +4 -0
- package/ecs/instance.js +1 -1
- package/ecs/instance.js.map +1 -1
- package/ecs/instanceTypes.d.ts +71 -0
- package/ecs/instanceTypes.js +43 -0
- package/ecs/instanceTypes.js.map +1 -0
- package/eip/address.d.ts +12 -0
- package/eip/address.js +2 -0
- package/eip/address.js.map +1 -1
- package/eip/addresses.d.ts +2 -2
- package/iam/user.d.ts +26 -2
- package/iam/user.js +6 -0
- package/iam/user.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/mongodb/endpoint.d.ts +68 -3
- package/mongodb/endpoint.js +68 -3
- package/mongodb/endpoint.js.map +1 -1
- package/mongodb/endpoints.d.ts +116 -4
- package/mongodb/endpoints.js +116 -4
- package/mongodb/endpoints.js.map +1 -1
- package/mongodb/instance.d.ts +32 -0
- package/mongodb/instance.js +8 -0
- package/mongodb/instance.js.map +1 -1
- package/mongodb/instanceParameter.d.ts +41 -16
- package/mongodb/instanceParameter.js +35 -10
- package/mongodb/instanceParameter.js.map +1 -1
- package/mongodb/instanceParameters.d.ts +88 -8
- package/mongodb/instanceParameters.js +80 -6
- package/mongodb/instanceParameters.js.map +1 -1
- package/mongodb/mongoAllowList.d.ts +2 -14
- package/mongodb/mongoAllowList.js +2 -4
- package/mongodb/mongoAllowList.js.map +1 -1
- package/mongodb/mongoAllowListAssociate.d.ts +40 -3
- package/mongodb/mongoAllowListAssociate.js +40 -3
- package/mongodb/mongoAllowListAssociate.js.map +1 -1
- package/mongodb/mongoAllowLists.d.ts +20 -6
- package/mongodb/mongoAllowLists.js +20 -6
- package/mongodb/mongoAllowLists.js.map +1 -1
- package/mongodb/sslState.d.ts +34 -9
- package/mongodb/sslState.js +31 -6
- package/mongodb/sslState.js.map +1 -1
- package/mongodb/sslStates.d.ts +68 -4
- package/mongodb/sslStates.js +68 -4
- package/mongodb/sslStates.js.map +1 -1
- package/nas/permissionGroup.d.ts +1 -1
- package/nas/permissionGroup.js +1 -1
- package/package.json +2 -2
- package/tls/alarmNotifyGroup.d.ts +6 -0
- package/tls/alarmNotifyGroup.js.map +1 -1
- package/tls/topic.d.ts +9 -3
- package/tls/topic.js.map +1 -1
- package/types/input.d.ts +328 -10
- package/types/output.d.ts +1692 -43
- package/vke/nodePool.d.ts +11 -3
- package/vke/nodePool.js +5 -3
- package/vke/nodePool.js.map +1 -1
package/alb/rule.d.ts
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource to manage alb rule
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const foo = new volcengine.alb.Rule("foo", {
|
|
13
|
+
* description: "test",
|
|
14
|
+
* domain: "www.test.com",
|
|
15
|
+
* listenerId: "lsn-1iidd19u4oni874adhezjkyj3",
|
|
16
|
+
* redirectConfig: {
|
|
17
|
+
* redirectDomain: "www.testtest.com",
|
|
18
|
+
* redirectHttpCode: "302",
|
|
19
|
+
* redirectPort: "555",
|
|
20
|
+
* redirectUri: "/testtest",
|
|
21
|
+
* },
|
|
22
|
+
* rewriteConfig: {
|
|
23
|
+
* rewritePath: "/test",
|
|
24
|
+
* },
|
|
25
|
+
* rewriteEnabled: "off",
|
|
26
|
+
* ruleAction: "Redirect",
|
|
27
|
+
* serverGroupId: "rsp-1g72w74y4umf42zbhq4k4hnln",
|
|
28
|
+
* trafficLimitEnabled: "off",
|
|
29
|
+
* trafficLimitQps: 100,
|
|
30
|
+
* url: "/test",
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* AlbRule can be imported using the listener id and rule id, e.g.
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import volcengine:alb/rule:Rule default lsn-273yv0mhs5xj47fap8sehiiso:rule-****
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare class Rule extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing Rule resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuleState, opts?: pulumi.CustomResourceOptions): Rule;
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of Rule. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj: any): obj is Rule;
|
|
58
|
+
/**
|
|
59
|
+
* The description of the Rule.
|
|
60
|
+
*/
|
|
61
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* The domain of Rule.
|
|
64
|
+
*/
|
|
65
|
+
readonly domain: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The ID of listener.
|
|
68
|
+
*/
|
|
69
|
+
readonly listenerId: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The redirect related configuration.
|
|
72
|
+
*/
|
|
73
|
+
readonly redirectConfig: pulumi.Output<outputs.alb.RuleRedirectConfig | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The list of rewrite configurations.
|
|
76
|
+
*/
|
|
77
|
+
readonly rewriteConfig: pulumi.Output<outputs.alb.RuleRewriteConfig | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Rewrite configuration switch for forwarding rules, only allows configuration and takes effect when RuleAction is empty (i.e., forwarding to server group). Only available for whitelist users, please submit an application to experience. Supported values are as follows:
|
|
80
|
+
* on: enable.
|
|
81
|
+
* off: disable.
|
|
82
|
+
*/
|
|
83
|
+
readonly rewriteEnabled: pulumi.Output<string | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* The forwarding rule action, if this parameter is empty(`""`), forward to server group, if value is `Redirect`, will redirect.
|
|
86
|
+
*/
|
|
87
|
+
readonly ruleAction: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The ID of rule.
|
|
90
|
+
*/
|
|
91
|
+
readonly ruleId: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Server group ID, this parameter is required if `ruleAction` is empty.
|
|
94
|
+
*/
|
|
95
|
+
readonly serverGroupId: pulumi.Output<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Forwarding rule QPS rate limiting switch:
|
|
98
|
+
* on: enable.
|
|
99
|
+
* off: disable (default).
|
|
100
|
+
*/
|
|
101
|
+
readonly trafficLimitEnabled: pulumi.Output<string | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* When Rules.N.TrafficLimitEnabled is turned on, this field is required. Requests per second. Valid values are between 100 and 100000.
|
|
104
|
+
*/
|
|
105
|
+
readonly trafficLimitQps: pulumi.Output<number | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* The Url of Rule.
|
|
108
|
+
*/
|
|
109
|
+
readonly url: pulumi.Output<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Create a Rule resource with the given unique name, arguments, and options.
|
|
112
|
+
*
|
|
113
|
+
* @param name The _unique_ name of the resource.
|
|
114
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
115
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
116
|
+
*/
|
|
117
|
+
constructor(name: string, args: RuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Input properties used for looking up and filtering Rule resources.
|
|
121
|
+
*/
|
|
122
|
+
export interface RuleState {
|
|
123
|
+
/**
|
|
124
|
+
* The description of the Rule.
|
|
125
|
+
*/
|
|
126
|
+
description?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The domain of Rule.
|
|
129
|
+
*/
|
|
130
|
+
domain?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The ID of listener.
|
|
133
|
+
*/
|
|
134
|
+
listenerId?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The redirect related configuration.
|
|
137
|
+
*/
|
|
138
|
+
redirectConfig?: pulumi.Input<inputs.alb.RuleRedirectConfig>;
|
|
139
|
+
/**
|
|
140
|
+
* The list of rewrite configurations.
|
|
141
|
+
*/
|
|
142
|
+
rewriteConfig?: pulumi.Input<inputs.alb.RuleRewriteConfig>;
|
|
143
|
+
/**
|
|
144
|
+
* Rewrite configuration switch for forwarding rules, only allows configuration and takes effect when RuleAction is empty (i.e., forwarding to server group). Only available for whitelist users, please submit an application to experience. Supported values are as follows:
|
|
145
|
+
* on: enable.
|
|
146
|
+
* off: disable.
|
|
147
|
+
*/
|
|
148
|
+
rewriteEnabled?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* The forwarding rule action, if this parameter is empty(`""`), forward to server group, if value is `Redirect`, will redirect.
|
|
151
|
+
*/
|
|
152
|
+
ruleAction?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The ID of rule.
|
|
155
|
+
*/
|
|
156
|
+
ruleId?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Server group ID, this parameter is required if `ruleAction` is empty.
|
|
159
|
+
*/
|
|
160
|
+
serverGroupId?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* Forwarding rule QPS rate limiting switch:
|
|
163
|
+
* on: enable.
|
|
164
|
+
* off: disable (default).
|
|
165
|
+
*/
|
|
166
|
+
trafficLimitEnabled?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* When Rules.N.TrafficLimitEnabled is turned on, this field is required. Requests per second. Valid values are between 100 and 100000.
|
|
169
|
+
*/
|
|
170
|
+
trafficLimitQps?: pulumi.Input<number>;
|
|
171
|
+
/**
|
|
172
|
+
* The Url of Rule.
|
|
173
|
+
*/
|
|
174
|
+
url?: pulumi.Input<string>;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* The set of arguments for constructing a Rule resource.
|
|
178
|
+
*/
|
|
179
|
+
export interface RuleArgs {
|
|
180
|
+
/**
|
|
181
|
+
* The description of the Rule.
|
|
182
|
+
*/
|
|
183
|
+
description?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* The domain of Rule.
|
|
186
|
+
*/
|
|
187
|
+
domain?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* The ID of listener.
|
|
190
|
+
*/
|
|
191
|
+
listenerId: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* The redirect related configuration.
|
|
194
|
+
*/
|
|
195
|
+
redirectConfig?: pulumi.Input<inputs.alb.RuleRedirectConfig>;
|
|
196
|
+
/**
|
|
197
|
+
* The list of rewrite configurations.
|
|
198
|
+
*/
|
|
199
|
+
rewriteConfig?: pulumi.Input<inputs.alb.RuleRewriteConfig>;
|
|
200
|
+
/**
|
|
201
|
+
* Rewrite configuration switch for forwarding rules, only allows configuration and takes effect when RuleAction is empty (i.e., forwarding to server group). Only available for whitelist users, please submit an application to experience. Supported values are as follows:
|
|
202
|
+
* on: enable.
|
|
203
|
+
* off: disable.
|
|
204
|
+
*/
|
|
205
|
+
rewriteEnabled?: pulumi.Input<string>;
|
|
206
|
+
/**
|
|
207
|
+
* The forwarding rule action, if this parameter is empty(`""`), forward to server group, if value is `Redirect`, will redirect.
|
|
208
|
+
*/
|
|
209
|
+
ruleAction: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* Server group ID, this parameter is required if `ruleAction` is empty.
|
|
212
|
+
*/
|
|
213
|
+
serverGroupId?: pulumi.Input<string>;
|
|
214
|
+
/**
|
|
215
|
+
* Forwarding rule QPS rate limiting switch:
|
|
216
|
+
* on: enable.
|
|
217
|
+
* off: disable (default).
|
|
218
|
+
*/
|
|
219
|
+
trafficLimitEnabled?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* When Rules.N.TrafficLimitEnabled is turned on, this field is required. Requests per second. Valid values are between 100 and 100000.
|
|
222
|
+
*/
|
|
223
|
+
trafficLimitQps?: pulumi.Input<number>;
|
|
224
|
+
/**
|
|
225
|
+
* The Url of Rule.
|
|
226
|
+
*/
|
|
227
|
+
url?: pulumi.Input<string>;
|
|
228
|
+
}
|
package/alb/rule.js
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
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.Rule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage alb rule
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.alb.Rule("foo", {
|
|
17
|
+
* description: "test",
|
|
18
|
+
* domain: "www.test.com",
|
|
19
|
+
* listenerId: "lsn-1iidd19u4oni874adhezjkyj3",
|
|
20
|
+
* redirectConfig: {
|
|
21
|
+
* redirectDomain: "www.testtest.com",
|
|
22
|
+
* redirectHttpCode: "302",
|
|
23
|
+
* redirectPort: "555",
|
|
24
|
+
* redirectUri: "/testtest",
|
|
25
|
+
* },
|
|
26
|
+
* rewriteConfig: {
|
|
27
|
+
* rewritePath: "/test",
|
|
28
|
+
* },
|
|
29
|
+
* rewriteEnabled: "off",
|
|
30
|
+
* ruleAction: "Redirect",
|
|
31
|
+
* serverGroupId: "rsp-1g72w74y4umf42zbhq4k4hnln",
|
|
32
|
+
* trafficLimitEnabled: "off",
|
|
33
|
+
* trafficLimitQps: 100,
|
|
34
|
+
* url: "/test",
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ## Import
|
|
39
|
+
*
|
|
40
|
+
* AlbRule can be imported using the listener id and rule id, e.g.
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import volcengine:alb/rule:Rule default lsn-273yv0mhs5xj47fap8sehiiso:rule-****
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
class Rule extends pulumi.CustomResource {
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing Rule resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param state Any extra arguments used during the lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name, id, state, opts) {
|
|
57
|
+
return new Rule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Returns true if the given object is an instance of Rule. This is designed to work even
|
|
61
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
62
|
+
*/
|
|
63
|
+
static isInstance(obj) {
|
|
64
|
+
if (obj === undefined || obj === null) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
return obj['__pulumiType'] === Rule.__pulumiType;
|
|
68
|
+
}
|
|
69
|
+
constructor(name, argsOrState, opts) {
|
|
70
|
+
let resourceInputs = {};
|
|
71
|
+
opts = opts || {};
|
|
72
|
+
if (opts.id) {
|
|
73
|
+
const state = argsOrState;
|
|
74
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
75
|
+
resourceInputs["domain"] = state ? state.domain : undefined;
|
|
76
|
+
resourceInputs["listenerId"] = state ? state.listenerId : undefined;
|
|
77
|
+
resourceInputs["redirectConfig"] = state ? state.redirectConfig : undefined;
|
|
78
|
+
resourceInputs["rewriteConfig"] = state ? state.rewriteConfig : undefined;
|
|
79
|
+
resourceInputs["rewriteEnabled"] = state ? state.rewriteEnabled : undefined;
|
|
80
|
+
resourceInputs["ruleAction"] = state ? state.ruleAction : undefined;
|
|
81
|
+
resourceInputs["ruleId"] = state ? state.ruleId : undefined;
|
|
82
|
+
resourceInputs["serverGroupId"] = state ? state.serverGroupId : undefined;
|
|
83
|
+
resourceInputs["trafficLimitEnabled"] = state ? state.trafficLimitEnabled : undefined;
|
|
84
|
+
resourceInputs["trafficLimitQps"] = state ? state.trafficLimitQps : undefined;
|
|
85
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
const args = argsOrState;
|
|
89
|
+
if ((!args || args.listenerId === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'listenerId'");
|
|
91
|
+
}
|
|
92
|
+
if ((!args || args.ruleAction === undefined) && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'ruleAction'");
|
|
94
|
+
}
|
|
95
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
96
|
+
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
97
|
+
resourceInputs["listenerId"] = args ? args.listenerId : undefined;
|
|
98
|
+
resourceInputs["redirectConfig"] = args ? args.redirectConfig : undefined;
|
|
99
|
+
resourceInputs["rewriteConfig"] = args ? args.rewriteConfig : undefined;
|
|
100
|
+
resourceInputs["rewriteEnabled"] = args ? args.rewriteEnabled : undefined;
|
|
101
|
+
resourceInputs["ruleAction"] = args ? args.ruleAction : undefined;
|
|
102
|
+
resourceInputs["serverGroupId"] = args ? args.serverGroupId : undefined;
|
|
103
|
+
resourceInputs["trafficLimitEnabled"] = args ? args.trafficLimitEnabled : undefined;
|
|
104
|
+
resourceInputs["trafficLimitQps"] = args ? args.trafficLimitQps : undefined;
|
|
105
|
+
resourceInputs["url"] = args ? args.url : undefined;
|
|
106
|
+
resourceInputs["ruleId"] = undefined /*out*/;
|
|
107
|
+
}
|
|
108
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
109
|
+
super(Rule.__pulumiType, name, resourceInputs, opts);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.Rule = Rule;
|
|
113
|
+
/** @internal */
|
|
114
|
+
Rule.__pulumiType = 'volcengine:alb/rule:Rule';
|
|
115
|
+
//# sourceMappingURL=rule.js.map
|
package/alb/rule.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule.js","sourceRoot":"","sources":["../../alb/rule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAjIL,oBAkIC;AApHG,gBAAgB;AACO,iBAAY,GAAG,0BAA0B,CAAC"}
|
package/alb/rules.d.ts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of alb rules
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const foo = volcengine.alb.Rules({
|
|
12
|
+
* listenerId: "lsn-1iidd19u4oni874adhezjkyj3",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function rules(args: RulesArgs, opts?: pulumi.InvokeOptions): Promise<RulesResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking Rules.
|
|
19
|
+
*/
|
|
20
|
+
export interface RulesArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The Id of listener.
|
|
23
|
+
*/
|
|
24
|
+
listenerId: string;
|
|
25
|
+
/**
|
|
26
|
+
* File name where to save data source results.
|
|
27
|
+
*/
|
|
28
|
+
outputFile?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by Rules.
|
|
32
|
+
*/
|
|
33
|
+
export interface RulesResult {
|
|
34
|
+
/**
|
|
35
|
+
* The provider-assigned unique ID for this managed resource.
|
|
36
|
+
*/
|
|
37
|
+
readonly id: string;
|
|
38
|
+
readonly listenerId: string;
|
|
39
|
+
readonly outputFile?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The collection of Rule query.
|
|
42
|
+
*/
|
|
43
|
+
readonly rules: outputs.alb.RulesRule[];
|
|
44
|
+
/**
|
|
45
|
+
* The total count of Rule query.
|
|
46
|
+
*/
|
|
47
|
+
readonly totalCount: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Use this data source to query detailed information of alb rules
|
|
51
|
+
* ## Example Usage
|
|
52
|
+
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
56
|
+
*
|
|
57
|
+
* const foo = volcengine.alb.Rules({
|
|
58
|
+
* listenerId: "lsn-1iidd19u4oni874adhezjkyj3",
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
export declare function rulesOutput(args: RulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RulesResult>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of arguments for invoking Rules.
|
|
65
|
+
*/
|
|
66
|
+
export interface RulesOutputArgs {
|
|
67
|
+
/**
|
|
68
|
+
* The Id of listener.
|
|
69
|
+
*/
|
|
70
|
+
listenerId: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* File name where to save data source results.
|
|
73
|
+
*/
|
|
74
|
+
outputFile?: pulumi.Input<string>;
|
|
75
|
+
}
|
package/alb/rules.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
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.rulesOutput = exports.rules = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of alb rules
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const foo = volcengine.alb.Rules({
|
|
17
|
+
* listenerId: "lsn-1iidd19u4oni874adhezjkyj3",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function rules(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("volcengine:alb/rules:Rules", {
|
|
24
|
+
"listenerId": args.listenerId,
|
|
25
|
+
"outputFile": args.outputFile,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.rules = rules;
|
|
29
|
+
/**
|
|
30
|
+
* Use this data source to query detailed information of alb rules
|
|
31
|
+
* ## Example Usage
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
36
|
+
*
|
|
37
|
+
* const foo = volcengine.alb.Rules({
|
|
38
|
+
* listenerId: "lsn-1iidd19u4oni874adhezjkyj3",
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
function rulesOutput(args, opts) {
|
|
43
|
+
return pulumi.output(args).apply((a) => rules(a, opts));
|
|
44
|
+
}
|
|
45
|
+
exports.rulesOutput = rulesOutput;
|
|
46
|
+
//# sourceMappingURL=rules.js.map
|
package/alb/rules.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../alb/rules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,KAAK,CAAC,IAAe,EAAE,IAA2B;IAE9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sBAOC;AAmCD;;;;;;;;;;;;GAYG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,kCAEC"}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource to manage alb server group
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
13
|
+
* vpcName: "acc-test-vpc",
|
|
14
|
+
* cidrBlock: "172.16.0.0/16",
|
|
15
|
+
* });
|
|
16
|
+
* const fooServerGroup = new volcengine.alb.ServerGroup("fooServerGroup", {
|
|
17
|
+
* vpcId: fooVpc.id,
|
|
18
|
+
* serverGroupName: "acc-test-server-group",
|
|
19
|
+
* description: "acc-test",
|
|
20
|
+
* serverGroupType: "instance",
|
|
21
|
+
* scheduler: "wlc",
|
|
22
|
+
* projectName: "default",
|
|
23
|
+
* healthCheck: {
|
|
24
|
+
* enabled: "on",
|
|
25
|
+
* interval: 3,
|
|
26
|
+
* timeout: 3,
|
|
27
|
+
* method: "GET",
|
|
28
|
+
* },
|
|
29
|
+
* stickySessionConfig: {
|
|
30
|
+
* stickySessionEnabled: "on",
|
|
31
|
+
* stickySessionType: "insert",
|
|
32
|
+
* cookieTimeout: 1100,
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* AlbServerGroup can be imported using the id, e.g.
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import volcengine:alb/serverGroup:ServerGroup default resource_id
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare class ServerGroup extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing ServerGroup resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServerGroupState, opts?: pulumi.CustomResourceOptions): ServerGroup;
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of ServerGroup. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj: any): obj is ServerGroup;
|
|
61
|
+
/**
|
|
62
|
+
* The create time of the Alb server group.
|
|
63
|
+
*/
|
|
64
|
+
readonly createTime: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The description of the Alb server group.
|
|
67
|
+
*/
|
|
68
|
+
readonly description: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The health check config of the Alb server group. The enable status of health check function defaults to `on`.
|
|
71
|
+
*/
|
|
72
|
+
readonly healthCheck: pulumi.Output<outputs.alb.ServerGroupHealthCheck>;
|
|
73
|
+
/**
|
|
74
|
+
* The listener information of the Alb server group.
|
|
75
|
+
*/
|
|
76
|
+
readonly listeners: pulumi.Output<string[]>;
|
|
77
|
+
/**
|
|
78
|
+
* The project name of the Alb server group.
|
|
79
|
+
*/
|
|
80
|
+
readonly projectName: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The scheduling algorithm of the Alb server group. Valid values: `wrr`, `wlc`, `sh`.
|
|
83
|
+
*/
|
|
84
|
+
readonly scheduler: pulumi.Output<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* The server count of the Alb server group.
|
|
87
|
+
*/
|
|
88
|
+
readonly serverCount: pulumi.Output<number>;
|
|
89
|
+
/**
|
|
90
|
+
* The name of the Alb server group.
|
|
91
|
+
*/
|
|
92
|
+
readonly serverGroupName: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The type of the Alb server group. Valid values: `instance`, `ip`. Default is `instance`.
|
|
95
|
+
*/
|
|
96
|
+
readonly serverGroupType: pulumi.Output<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* The status of the Alb server group.
|
|
99
|
+
*/
|
|
100
|
+
readonly status: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The sticky session config of the Alb server group. The enable status of sticky session function defaults to `off`.
|
|
103
|
+
*/
|
|
104
|
+
readonly stickySessionConfig: pulumi.Output<outputs.alb.ServerGroupStickySessionConfig>;
|
|
105
|
+
/**
|
|
106
|
+
* The update time of the Alb server group.
|
|
107
|
+
*/
|
|
108
|
+
readonly updateTime: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The vpc id of the Alb server group.
|
|
111
|
+
*/
|
|
112
|
+
readonly vpcId: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Create a ServerGroup resource with the given unique name, arguments, and options.
|
|
115
|
+
*
|
|
116
|
+
* @param name The _unique_ name of the resource.
|
|
117
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
118
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
119
|
+
*/
|
|
120
|
+
constructor(name: string, args: ServerGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Input properties used for looking up and filtering ServerGroup resources.
|
|
124
|
+
*/
|
|
125
|
+
export interface ServerGroupState {
|
|
126
|
+
/**
|
|
127
|
+
* The create time of the Alb server group.
|
|
128
|
+
*/
|
|
129
|
+
createTime?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The description of the Alb server group.
|
|
132
|
+
*/
|
|
133
|
+
description?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The health check config of the Alb server group. The enable status of health check function defaults to `on`.
|
|
136
|
+
*/
|
|
137
|
+
healthCheck?: pulumi.Input<inputs.alb.ServerGroupHealthCheck>;
|
|
138
|
+
/**
|
|
139
|
+
* The listener information of the Alb server group.
|
|
140
|
+
*/
|
|
141
|
+
listeners?: pulumi.Input<pulumi.Input<string>[]>;
|
|
142
|
+
/**
|
|
143
|
+
* The project name of the Alb server group.
|
|
144
|
+
*/
|
|
145
|
+
projectName?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The scheduling algorithm of the Alb server group. Valid values: `wrr`, `wlc`, `sh`.
|
|
148
|
+
*/
|
|
149
|
+
scheduler?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* The server count of the Alb server group.
|
|
152
|
+
*/
|
|
153
|
+
serverCount?: pulumi.Input<number>;
|
|
154
|
+
/**
|
|
155
|
+
* The name of the Alb server group.
|
|
156
|
+
*/
|
|
157
|
+
serverGroupName?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* The type of the Alb server group. Valid values: `instance`, `ip`. Default is `instance`.
|
|
160
|
+
*/
|
|
161
|
+
serverGroupType?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* The status of the Alb server group.
|
|
164
|
+
*/
|
|
165
|
+
status?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* The sticky session config of the Alb server group. The enable status of sticky session function defaults to `off`.
|
|
168
|
+
*/
|
|
169
|
+
stickySessionConfig?: pulumi.Input<inputs.alb.ServerGroupStickySessionConfig>;
|
|
170
|
+
/**
|
|
171
|
+
* The update time of the Alb server group.
|
|
172
|
+
*/
|
|
173
|
+
updateTime?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The vpc id of the Alb server group.
|
|
176
|
+
*/
|
|
177
|
+
vpcId?: pulumi.Input<string>;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* The set of arguments for constructing a ServerGroup resource.
|
|
181
|
+
*/
|
|
182
|
+
export interface ServerGroupArgs {
|
|
183
|
+
/**
|
|
184
|
+
* The description of the Alb server group.
|
|
185
|
+
*/
|
|
186
|
+
description?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* The health check config of the Alb server group. The enable status of health check function defaults to `on`.
|
|
189
|
+
*/
|
|
190
|
+
healthCheck?: pulumi.Input<inputs.alb.ServerGroupHealthCheck>;
|
|
191
|
+
/**
|
|
192
|
+
* The project name of the Alb server group.
|
|
193
|
+
*/
|
|
194
|
+
projectName?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* The scheduling algorithm of the Alb server group. Valid values: `wrr`, `wlc`, `sh`.
|
|
197
|
+
*/
|
|
198
|
+
scheduler?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* The name of the Alb server group.
|
|
201
|
+
*/
|
|
202
|
+
serverGroupName?: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* The type of the Alb server group. Valid values: `instance`, `ip`. Default is `instance`.
|
|
205
|
+
*/
|
|
206
|
+
serverGroupType?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* The sticky session config of the Alb server group. The enable status of sticky session function defaults to `off`.
|
|
209
|
+
*/
|
|
210
|
+
stickySessionConfig?: pulumi.Input<inputs.alb.ServerGroupStickySessionConfig>;
|
|
211
|
+
/**
|
|
212
|
+
* The vpc id of the Alb server group.
|
|
213
|
+
*/
|
|
214
|
+
vpcId: pulumi.Input<string>;
|
|
215
|
+
}
|