@pulumi/alicloud 3.62.0 → 3.62.1
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/amqp/binding.d.ts +12 -13
- package/amqp/binding.js +12 -13
- package/amqp/binding.js.map +1 -1
- package/cen/trafficMarkingPolicy.d.ts +43 -23
- package/cen/trafficMarkingPolicy.js +3 -1
- package/cen/trafficMarkingPolicy.js.map +1 -1
- package/cen/transitRouterVpcAttachment.d.ts +120 -46
- package/cen/transitRouterVpcAttachment.js +10 -5
- package/cen/transitRouterVpcAttachment.js.map +1 -1
- package/cr/chartNamespace.d.ts +8 -3
- package/cr/chartNamespace.js +8 -3
- package/cr/chartNamespace.js.map +1 -1
- package/cr/endpointAclPolicy.d.ts +6 -1
- package/cr/endpointAclPolicy.js +6 -1
- package/cr/endpointAclPolicy.js.map +1 -1
- package/cr/namespace.d.ts +6 -1
- package/cr/namespace.js +6 -1
- package/cr/namespace.js.map +1 -1
- package/cs/registryEnterpriseSyncRule.d.ts +5 -5
- package/cs/registryEnterpriseSyncRule.js +5 -5
- package/ddos/bgpIp.d.ts +1 -1
- package/ens/instance.d.ts +157 -79
- package/ens/instance.js +9 -1
- package/ens/instance.js.map +1 -1
- package/expressconnect/physicalConnection.d.ts +118 -80
- package/expressconnect/physicalConnection.js +7 -1
- package/expressconnect/physicalConnection.js.map +1 -1
- package/fc/trigger.d.ts +8 -9
- package/fc/trigger.js +8 -9
- package/fc/trigger.js.map +1 -1
- package/ga/endpointGroup.d.ts +21 -6
- package/ga/endpointGroup.js +2 -0
- package/ga/endpointGroup.js.map +1 -1
- package/mongodb/instance.d.ts +24 -0
- package/mongodb/instance.js +4 -0
- package/mongodb/instance.js.map +1 -1
- package/nlb/getListeners.d.ts +36 -2
- package/nlb/getListeners.js +30 -2
- package/nlb/getListeners.js.map +1 -1
- package/nlb/getServerGroupServerAttachments.d.ts +8 -2
- package/nlb/getServerGroupServerAttachments.js +2 -2
- package/nlb/getServerGroupServerAttachments.js.map +1 -1
- package/nlb/listener.d.ts +135 -105
- package/nlb/listener.js.map +1 -1
- package/nlb/listenerAdditionalCertificateAttachment.d.ts +11 -11
- package/nlb/loadBalancer.d.ts +78 -105
- package/nlb/loadBalancer.js +1 -1
- package/nlb/loadBalancer.js.map +1 -1
- package/nlb/loadBalancerSecurityGroupAttachment.d.ts +13 -17
- package/nlb/loadBalancerSecurityGroupAttachment.js +4 -2
- package/nlb/loadBalancerSecurityGroupAttachment.js.map +1 -1
- package/nlb/loadbalancerCommonBandwidthPackageAttachment.d.ts +10 -8
- package/nlb/loadbalancerCommonBandwidthPackageAttachment.js +4 -2
- package/nlb/loadbalancerCommonBandwidthPackageAttachment.js.map +1 -1
- package/nlb/securityPolicy.d.ts +23 -11
- package/nlb/securityPolicy.js.map +1 -1
- package/nlb/serverGroup.d.ts +84 -57
- package/nlb/serverGroup.js.map +1 -1
- package/ocean/baseInstance.d.ts +181 -70
- package/ocean/baseInstance.js +8 -0
- package/ocean/baseInstance.js.map +1 -1
- package/package.json +2 -2
- package/servicemesh/extensionProvider.d.ts +1 -1
- package/servicemesh/extensionProvider.js +1 -1
- package/types/input.d.ts +134 -43
- package/types/output.d.ts +135 -44
- package/vpc/commonBandwithPackageAttachment.d.ts +1 -1
- package/vpc/commonBandwithPackageAttachment.js +1 -1
package/nlb/securityPolicy.d.ts
CHANGED
|
@@ -68,19 +68,23 @@ export declare class SecurityPolicy extends pulumi.CustomResource {
|
|
|
68
68
|
*/
|
|
69
69
|
readonly ciphers: pulumi.Output<string[]>;
|
|
70
70
|
/**
|
|
71
|
-
* The ID of the resource group.
|
|
71
|
+
* The ID of the new resource group.
|
|
72
|
+
*
|
|
73
|
+
* You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
72
74
|
*/
|
|
73
75
|
readonly resourceGroupId: pulumi.Output<string>;
|
|
74
76
|
/**
|
|
75
|
-
* The name of the security policy.
|
|
77
|
+
* The name of the security policy.
|
|
78
|
+
*
|
|
79
|
+
* The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-).
|
|
76
80
|
*/
|
|
77
81
|
readonly securityPolicyName: pulumi.Output<string>;
|
|
78
82
|
/**
|
|
79
|
-
* The status of the resource
|
|
83
|
+
* The status of the resource
|
|
80
84
|
*/
|
|
81
85
|
readonly status: pulumi.Output<string>;
|
|
82
86
|
/**
|
|
83
|
-
* The tag of the resource
|
|
87
|
+
* The tag of the resource
|
|
84
88
|
*/
|
|
85
89
|
readonly tags: pulumi.Output<{
|
|
86
90
|
[key: string]: string;
|
|
@@ -110,19 +114,23 @@ export interface SecurityPolicyState {
|
|
|
110
114
|
*/
|
|
111
115
|
ciphers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
112
116
|
/**
|
|
113
|
-
* The ID of the resource group.
|
|
117
|
+
* The ID of the new resource group.
|
|
118
|
+
*
|
|
119
|
+
* You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
114
120
|
*/
|
|
115
121
|
resourceGroupId?: pulumi.Input<string>;
|
|
116
122
|
/**
|
|
117
|
-
* The name of the security policy.
|
|
123
|
+
* The name of the security policy.
|
|
124
|
+
*
|
|
125
|
+
* The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-).
|
|
118
126
|
*/
|
|
119
127
|
securityPolicyName?: pulumi.Input<string>;
|
|
120
128
|
/**
|
|
121
|
-
* The status of the resource
|
|
129
|
+
* The status of the resource
|
|
122
130
|
*/
|
|
123
131
|
status?: pulumi.Input<string>;
|
|
124
132
|
/**
|
|
125
|
-
* The tag of the resource
|
|
133
|
+
* The tag of the resource
|
|
126
134
|
*/
|
|
127
135
|
tags?: pulumi.Input<{
|
|
128
136
|
[key: string]: pulumi.Input<string>;
|
|
@@ -144,15 +152,19 @@ export interface SecurityPolicyArgs {
|
|
|
144
152
|
*/
|
|
145
153
|
ciphers: pulumi.Input<pulumi.Input<string>[]>;
|
|
146
154
|
/**
|
|
147
|
-
* The ID of the resource group.
|
|
155
|
+
* The ID of the new resource group.
|
|
156
|
+
*
|
|
157
|
+
* You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
148
158
|
*/
|
|
149
159
|
resourceGroupId?: pulumi.Input<string>;
|
|
150
160
|
/**
|
|
151
|
-
* The name of the security policy.
|
|
161
|
+
* The name of the security policy.
|
|
162
|
+
*
|
|
163
|
+
* The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-).
|
|
152
164
|
*/
|
|
153
165
|
securityPolicyName?: pulumi.Input<string>;
|
|
154
166
|
/**
|
|
155
|
-
* The tag of the resource
|
|
167
|
+
* The tag of the resource
|
|
156
168
|
*/
|
|
157
169
|
tags?: pulumi.Input<{
|
|
158
170
|
[key: string]: pulumi.Input<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityPolicy.js","sourceRoot":"","sources":["../../nlb/securityPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC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AAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAhGL,wCAiGC;AAnFG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/nlb/serverGroup.d.ts
CHANGED
|
@@ -80,25 +80,25 @@ export declare class ServerGroup extends pulumi.CustomResource {
|
|
|
80
80
|
*/
|
|
81
81
|
static isInstance(obj: any): obj is ServerGroup;
|
|
82
82
|
/**
|
|
83
|
-
* The protocol version. Valid values:
|
|
83
|
+
* The protocol version. Valid values:
|
|
84
84
|
*/
|
|
85
85
|
readonly addressIpVersion: pulumi.Output<string>;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Specifies whether to enable all-port forwarding. Valid values:
|
|
88
88
|
*/
|
|
89
89
|
readonly anyPortEnabled: pulumi.Output<boolean>;
|
|
90
90
|
/**
|
|
91
|
-
* . Field 'connection_drain' has been deprecated from provider version 1.
|
|
91
|
+
* . Field 'connection_drain' has been deprecated from provider version 1.231.0. New field 'connection_drain_enabled' instead.
|
|
92
92
|
*
|
|
93
93
|
* @deprecated Field 'connection_drain' has been deprecated since provider version 1.214.0. New field 'connection_drain_enabled' instead.
|
|
94
94
|
*/
|
|
95
95
|
readonly connectionDrain: pulumi.Output<boolean>;
|
|
96
96
|
/**
|
|
97
|
-
* Specifies whether to enable connection draining.
|
|
97
|
+
* Specifies whether to enable connection draining. Valid values:
|
|
98
98
|
*/
|
|
99
99
|
readonly connectionDrainEnabled: pulumi.Output<boolean>;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* The timeout period of connection draining. Unit: seconds. Valid values: `10` to `900`.
|
|
102
102
|
*/
|
|
103
103
|
readonly connectionDrainTimeout: pulumi.Output<number>;
|
|
104
104
|
/**
|
|
@@ -106,34 +106,40 @@ export declare class ServerGroup extends pulumi.CustomResource {
|
|
|
106
106
|
*/
|
|
107
107
|
readonly healthCheck: pulumi.Output<outputs.nlb.ServerGroupHealthCheck>;
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* Specifies whether to enable client IP preservation. Valid values:
|
|
110
110
|
*/
|
|
111
111
|
readonly preserveClientIpEnabled: pulumi.Output<boolean>;
|
|
112
112
|
/**
|
|
113
|
-
* The backend
|
|
113
|
+
* The protocol used to forward requests to the backend servers. Valid values:
|
|
114
|
+
* - `TCP` (default)
|
|
115
|
+
* - `UDP`
|
|
116
|
+
* - `TCPSSL`
|
|
114
117
|
*/
|
|
115
118
|
readonly protocol: pulumi.Output<string>;
|
|
116
119
|
/**
|
|
117
|
-
* The ID of the resource group
|
|
120
|
+
* The ID of the new resource group.
|
|
121
|
+
*
|
|
122
|
+
* You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
118
123
|
*/
|
|
119
124
|
readonly resourceGroupId: pulumi.Output<string>;
|
|
120
125
|
/**
|
|
121
|
-
* The
|
|
122
|
-
* -
|
|
123
|
-
* -
|
|
124
|
-
* -
|
|
125
|
-
* -
|
|
126
|
-
* - `Qch`: QUIC ID hashing is used. Requests that contain the same QUIC ID are forwarded to the same backend server.
|
|
126
|
+
* The scheduling algorithm. Valid values:
|
|
127
|
+
* - **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
128
|
+
* - **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
129
|
+
* - **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
130
|
+
* - **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
127
131
|
*/
|
|
128
132
|
readonly scheduler: pulumi.Output<string>;
|
|
129
133
|
/**
|
|
130
|
-
* The name of the server group.
|
|
134
|
+
* The new name of the server group.
|
|
135
|
+
*
|
|
136
|
+
* The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
|
|
131
137
|
*/
|
|
132
138
|
readonly serverGroupName: pulumi.Output<string>;
|
|
133
139
|
/**
|
|
134
|
-
* The type of
|
|
135
|
-
* - `Instance
|
|
136
|
-
* - `Ip`: allows you to
|
|
140
|
+
* The type of server group. Valid values:
|
|
141
|
+
* - `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
142
|
+
* - `Ip`: allows you to add servers by specifying IP addresses.
|
|
137
143
|
*/
|
|
138
144
|
readonly serverGroupType: pulumi.Output<string>;
|
|
139
145
|
/**
|
|
@@ -147,7 +153,10 @@ export declare class ServerGroup extends pulumi.CustomResource {
|
|
|
147
153
|
[key: string]: string;
|
|
148
154
|
} | undefined>;
|
|
149
155
|
/**
|
|
150
|
-
* The ID of the VPC to which the server group belongs.
|
|
156
|
+
* The ID of the virtual private cloud (VPC) to which the server group belongs.
|
|
157
|
+
*
|
|
158
|
+
* > **NOTE:** If `ServerGroupType` is set to `Instance`, only servers in the specified VPC can be added to the server group.
|
|
159
|
+
*
|
|
151
160
|
*
|
|
152
161
|
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
153
162
|
*/
|
|
@@ -166,25 +175,25 @@ export declare class ServerGroup extends pulumi.CustomResource {
|
|
|
166
175
|
*/
|
|
167
176
|
export interface ServerGroupState {
|
|
168
177
|
/**
|
|
169
|
-
* The protocol version. Valid values:
|
|
178
|
+
* The protocol version. Valid values:
|
|
170
179
|
*/
|
|
171
180
|
addressIpVersion?: pulumi.Input<string>;
|
|
172
181
|
/**
|
|
173
|
-
*
|
|
182
|
+
* Specifies whether to enable all-port forwarding. Valid values:
|
|
174
183
|
*/
|
|
175
184
|
anyPortEnabled?: pulumi.Input<boolean>;
|
|
176
185
|
/**
|
|
177
|
-
* . Field 'connection_drain' has been deprecated from provider version 1.
|
|
186
|
+
* . Field 'connection_drain' has been deprecated from provider version 1.231.0. New field 'connection_drain_enabled' instead.
|
|
178
187
|
*
|
|
179
188
|
* @deprecated Field 'connection_drain' has been deprecated since provider version 1.214.0. New field 'connection_drain_enabled' instead.
|
|
180
189
|
*/
|
|
181
190
|
connectionDrain?: pulumi.Input<boolean>;
|
|
182
191
|
/**
|
|
183
|
-
* Specifies whether to enable connection draining.
|
|
192
|
+
* Specifies whether to enable connection draining. Valid values:
|
|
184
193
|
*/
|
|
185
194
|
connectionDrainEnabled?: pulumi.Input<boolean>;
|
|
186
195
|
/**
|
|
187
|
-
*
|
|
196
|
+
* The timeout period of connection draining. Unit: seconds. Valid values: `10` to `900`.
|
|
188
197
|
*/
|
|
189
198
|
connectionDrainTimeout?: pulumi.Input<number>;
|
|
190
199
|
/**
|
|
@@ -192,34 +201,40 @@ export interface ServerGroupState {
|
|
|
192
201
|
*/
|
|
193
202
|
healthCheck?: pulumi.Input<inputs.nlb.ServerGroupHealthCheck>;
|
|
194
203
|
/**
|
|
195
|
-
*
|
|
204
|
+
* Specifies whether to enable client IP preservation. Valid values:
|
|
196
205
|
*/
|
|
197
206
|
preserveClientIpEnabled?: pulumi.Input<boolean>;
|
|
198
207
|
/**
|
|
199
|
-
* The backend
|
|
208
|
+
* The protocol used to forward requests to the backend servers. Valid values:
|
|
209
|
+
* - `TCP` (default)
|
|
210
|
+
* - `UDP`
|
|
211
|
+
* - `TCPSSL`
|
|
200
212
|
*/
|
|
201
213
|
protocol?: pulumi.Input<string>;
|
|
202
214
|
/**
|
|
203
|
-
* The ID of the resource group
|
|
215
|
+
* The ID of the new resource group.
|
|
216
|
+
*
|
|
217
|
+
* You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
204
218
|
*/
|
|
205
219
|
resourceGroupId?: pulumi.Input<string>;
|
|
206
220
|
/**
|
|
207
|
-
* The
|
|
208
|
-
* -
|
|
209
|
-
* -
|
|
210
|
-
* -
|
|
211
|
-
* -
|
|
212
|
-
* - `Qch`: QUIC ID hashing is used. Requests that contain the same QUIC ID are forwarded to the same backend server.
|
|
221
|
+
* The scheduling algorithm. Valid values:
|
|
222
|
+
* - **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
223
|
+
* - **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
224
|
+
* - **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
225
|
+
* - **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
213
226
|
*/
|
|
214
227
|
scheduler?: pulumi.Input<string>;
|
|
215
228
|
/**
|
|
216
|
-
* The name of the server group.
|
|
229
|
+
* The new name of the server group.
|
|
230
|
+
*
|
|
231
|
+
* The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
|
|
217
232
|
*/
|
|
218
233
|
serverGroupName?: pulumi.Input<string>;
|
|
219
234
|
/**
|
|
220
|
-
* The type of
|
|
221
|
-
* - `Instance
|
|
222
|
-
* - `Ip`: allows you to
|
|
235
|
+
* The type of server group. Valid values:
|
|
236
|
+
* - `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
237
|
+
* - `Ip`: allows you to add servers by specifying IP addresses.
|
|
223
238
|
*/
|
|
224
239
|
serverGroupType?: pulumi.Input<string>;
|
|
225
240
|
/**
|
|
@@ -233,7 +248,10 @@ export interface ServerGroupState {
|
|
|
233
248
|
[key: string]: pulumi.Input<string>;
|
|
234
249
|
}>;
|
|
235
250
|
/**
|
|
236
|
-
* The ID of the VPC to which the server group belongs.
|
|
251
|
+
* The ID of the virtual private cloud (VPC) to which the server group belongs.
|
|
252
|
+
*
|
|
253
|
+
* > **NOTE:** If `ServerGroupType` is set to `Instance`, only servers in the specified VPC can be added to the server group.
|
|
254
|
+
*
|
|
237
255
|
*
|
|
238
256
|
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
239
257
|
*/
|
|
@@ -244,25 +262,25 @@ export interface ServerGroupState {
|
|
|
244
262
|
*/
|
|
245
263
|
export interface ServerGroupArgs {
|
|
246
264
|
/**
|
|
247
|
-
* The protocol version. Valid values:
|
|
265
|
+
* The protocol version. Valid values:
|
|
248
266
|
*/
|
|
249
267
|
addressIpVersion?: pulumi.Input<string>;
|
|
250
268
|
/**
|
|
251
|
-
*
|
|
269
|
+
* Specifies whether to enable all-port forwarding. Valid values:
|
|
252
270
|
*/
|
|
253
271
|
anyPortEnabled?: pulumi.Input<boolean>;
|
|
254
272
|
/**
|
|
255
|
-
* . Field 'connection_drain' has been deprecated from provider version 1.
|
|
273
|
+
* . Field 'connection_drain' has been deprecated from provider version 1.231.0. New field 'connection_drain_enabled' instead.
|
|
256
274
|
*
|
|
257
275
|
* @deprecated Field 'connection_drain' has been deprecated since provider version 1.214.0. New field 'connection_drain_enabled' instead.
|
|
258
276
|
*/
|
|
259
277
|
connectionDrain?: pulumi.Input<boolean>;
|
|
260
278
|
/**
|
|
261
|
-
* Specifies whether to enable connection draining.
|
|
279
|
+
* Specifies whether to enable connection draining. Valid values:
|
|
262
280
|
*/
|
|
263
281
|
connectionDrainEnabled?: pulumi.Input<boolean>;
|
|
264
282
|
/**
|
|
265
|
-
*
|
|
283
|
+
* The timeout period of connection draining. Unit: seconds. Valid values: `10` to `900`.
|
|
266
284
|
*/
|
|
267
285
|
connectionDrainTimeout?: pulumi.Input<number>;
|
|
268
286
|
/**
|
|
@@ -270,34 +288,40 @@ export interface ServerGroupArgs {
|
|
|
270
288
|
*/
|
|
271
289
|
healthCheck?: pulumi.Input<inputs.nlb.ServerGroupHealthCheck>;
|
|
272
290
|
/**
|
|
273
|
-
*
|
|
291
|
+
* Specifies whether to enable client IP preservation. Valid values:
|
|
274
292
|
*/
|
|
275
293
|
preserveClientIpEnabled?: pulumi.Input<boolean>;
|
|
276
294
|
/**
|
|
277
|
-
* The backend
|
|
295
|
+
* The protocol used to forward requests to the backend servers. Valid values:
|
|
296
|
+
* - `TCP` (default)
|
|
297
|
+
* - `UDP`
|
|
298
|
+
* - `TCPSSL`
|
|
278
299
|
*/
|
|
279
300
|
protocol?: pulumi.Input<string>;
|
|
280
301
|
/**
|
|
281
|
-
* The ID of the resource group
|
|
302
|
+
* The ID of the new resource group.
|
|
303
|
+
*
|
|
304
|
+
* You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
282
305
|
*/
|
|
283
306
|
resourceGroupId?: pulumi.Input<string>;
|
|
284
307
|
/**
|
|
285
|
-
* The
|
|
286
|
-
* -
|
|
287
|
-
* -
|
|
288
|
-
* -
|
|
289
|
-
* -
|
|
290
|
-
* - `Qch`: QUIC ID hashing is used. Requests that contain the same QUIC ID are forwarded to the same backend server.
|
|
308
|
+
* The scheduling algorithm. Valid values:
|
|
309
|
+
* - **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
310
|
+
* - **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
311
|
+
* - **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
312
|
+
* - **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
291
313
|
*/
|
|
292
314
|
scheduler?: pulumi.Input<string>;
|
|
293
315
|
/**
|
|
294
|
-
* The name of the server group.
|
|
316
|
+
* The new name of the server group.
|
|
317
|
+
*
|
|
318
|
+
* The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
|
|
295
319
|
*/
|
|
296
320
|
serverGroupName: pulumi.Input<string>;
|
|
297
321
|
/**
|
|
298
|
-
* The type of
|
|
299
|
-
* - `Instance
|
|
300
|
-
* - `Ip`: allows you to
|
|
322
|
+
* The type of server group. Valid values:
|
|
323
|
+
* - `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
324
|
+
* - `Ip`: allows you to add servers by specifying IP addresses.
|
|
301
325
|
*/
|
|
302
326
|
serverGroupType?: pulumi.Input<string>;
|
|
303
327
|
/**
|
|
@@ -307,7 +331,10 @@ export interface ServerGroupArgs {
|
|
|
307
331
|
[key: string]: pulumi.Input<string>;
|
|
308
332
|
}>;
|
|
309
333
|
/**
|
|
310
|
-
* The ID of the VPC to which the server group belongs.
|
|
334
|
+
* The ID of the virtual private cloud (VPC) to which the server group belongs.
|
|
335
|
+
*
|
|
336
|
+
* > **NOTE:** If `ServerGroupType` is set to `Instance`, only servers in the specified VPC can be added to the server group.
|
|
337
|
+
*
|
|
311
338
|
*
|
|
312
339
|
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
313
340
|
*/
|
package/nlb/serverGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverGroup.js","sourceRoot":"","sources":["../../nlb/serverGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;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,CAA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