tencentcloud-sdk-nodejs-clb 4.1.189 → 4.1.191
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/package.json
CHANGED
|
@@ -2097,117 +2097,117 @@ export type DescribeClsLogSetRequest = null;
|
|
|
2097
2097
|
*/
|
|
2098
2098
|
export interface Listener {
|
|
2099
2099
|
/**
|
|
2100
|
-
*
|
|
2100
|
+
* <p>负载均衡监听器 ID</p>
|
|
2101
2101
|
*/
|
|
2102
2102
|
ListenerId?: string;
|
|
2103
2103
|
/**
|
|
2104
|
-
*
|
|
2104
|
+
* <p>监听器协议,可选值:TCP、UDP、HTTP、HTTPS、TCP_SSL、QUIC</p>
|
|
2105
2105
|
*/
|
|
2106
2106
|
Protocol?: string;
|
|
2107
2107
|
/**
|
|
2108
|
-
*
|
|
2108
|
+
* <p>监听器端口,端口范围:1-65535</p>
|
|
2109
2109
|
*/
|
|
2110
2110
|
Port?: number;
|
|
2111
2111
|
/**
|
|
2112
|
-
*
|
|
2112
|
+
* <p>监听器绑定的证书信息</p>
|
|
2113
2113
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2114
2114
|
*/
|
|
2115
2115
|
Certificate?: CertificateOutput;
|
|
2116
2116
|
/**
|
|
2117
|
-
*
|
|
2117
|
+
* <p>监听器的健康检查信息</p>
|
|
2118
2118
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2119
2119
|
*/
|
|
2120
2120
|
HealthCheck?: HealthCheck;
|
|
2121
2121
|
/**
|
|
2122
|
-
*
|
|
2122
|
+
* <p>请求的调度方式。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。</p>
|
|
2123
2123
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2124
2124
|
*/
|
|
2125
2125
|
Scheduler?: string;
|
|
2126
2126
|
/**
|
|
2127
|
-
*
|
|
2127
|
+
* <p>会话保持时间,单位:秒。可选值:30~3600,默认 0,默认不开启。此参数仅适用于TCP/UDP监听器。</p><p>单位:秒</p>
|
|
2128
2128
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2129
2129
|
*/
|
|
2130
2130
|
SessionExpireTime?: number;
|
|
2131
2131
|
/**
|
|
2132
|
-
*
|
|
2132
|
+
* <p>是否开启SNI特性,1:表示开启,0:表示不开启(本参数仅对于HTTPS监听器有意义)</p>
|
|
2133
2133
|
*/
|
|
2134
2134
|
SniSwitch?: number;
|
|
2135
2135
|
/**
|
|
2136
|
-
*
|
|
2136
|
+
* <p>监听器下的全部转发规则(本参数仅对于HTTP/HTTPS监听器有意义)</p>
|
|
2137
2137
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2138
2138
|
*/
|
|
2139
2139
|
Rules?: Array<RuleOutput>;
|
|
2140
2140
|
/**
|
|
2141
|
-
*
|
|
2141
|
+
* <p>监听器的名称</p>
|
|
2142
2142
|
*/
|
|
2143
2143
|
ListenerName?: string;
|
|
2144
2144
|
/**
|
|
2145
|
-
*
|
|
2145
|
+
* <p>监听器的创建时间。</p>
|
|
2146
2146
|
*/
|
|
2147
2147
|
CreateTime?: string;
|
|
2148
2148
|
/**
|
|
2149
|
-
*
|
|
2149
|
+
* <p>端口段结束端口,端口范围:2-65535</p>
|
|
2150
2150
|
*/
|
|
2151
2151
|
EndPort?: number;
|
|
2152
2152
|
/**
|
|
2153
|
-
*
|
|
2153
|
+
* <p>后端服务器类型,可选值:NODE、POLARIS、TARGETGROUP、TARGETGROUP-V2</p>
|
|
2154
2154
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2155
2155
|
*/
|
|
2156
2156
|
TargetType?: string;
|
|
2157
2157
|
/**
|
|
2158
|
-
*
|
|
2158
|
+
* <p>绑定的目标组基本信息;当监听器绑定目标组时,会返回该字段</p>
|
|
2159
2159
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2160
2160
|
*/
|
|
2161
2161
|
TargetGroup?: BasicTargetGroupInfo;
|
|
2162
2162
|
/**
|
|
2163
|
-
*
|
|
2163
|
+
* <p>会话保持类型。NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。</p>
|
|
2164
2164
|
*/
|
|
2165
2165
|
SessionType?: string;
|
|
2166
2166
|
/**
|
|
2167
|
-
*
|
|
2167
|
+
* <p>是否开启长连接,1开启,0关闭,(本参数仅对于HTTP/HTTPS监听器有意义)</p>
|
|
2168
2168
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2169
2169
|
*/
|
|
2170
2170
|
KeepaliveEnable?: number;
|
|
2171
2171
|
/**
|
|
2172
|
-
*
|
|
2172
|
+
* <p>仅支持Nat64 CLB TCP监听器</p>
|
|
2173
2173
|
*/
|
|
2174
2174
|
Toa?: boolean;
|
|
2175
2175
|
/**
|
|
2176
|
-
*
|
|
2176
|
+
* <p>重新调度功能,解绑后端服务开关,打开此开关,当解绑后端服务时触发重新调度。仅TCP/UDP监听器支持。</p>
|
|
2177
2177
|
*/
|
|
2178
2178
|
DeregisterTargetRst?: boolean;
|
|
2179
2179
|
/**
|
|
2180
|
-
*
|
|
2180
|
+
* <p>监听器的属性</p>
|
|
2181
2181
|
*/
|
|
2182
2182
|
AttrFlags?: Array<string>;
|
|
2183
2183
|
/**
|
|
2184
|
-
*
|
|
2184
|
+
* <p>绑定的目标组列表</p>
|
|
2185
2185
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2186
2186
|
*/
|
|
2187
2187
|
TargetGroupList?: Array<BasicTargetGroupInfo>;
|
|
2188
2188
|
/**
|
|
2189
|
-
*
|
|
2189
|
+
* <p>监听器最大连接数,-1表示监听器维度不限速。</p>
|
|
2190
2190
|
*/
|
|
2191
2191
|
MaxConn?: number;
|
|
2192
2192
|
/**
|
|
2193
|
-
*
|
|
2193
|
+
* <p>监听器最大新增连接数,-1表示监听器维度不限速。</p>
|
|
2194
2194
|
*/
|
|
2195
2195
|
MaxCps?: number;
|
|
2196
2196
|
/**
|
|
2197
|
-
*
|
|
2197
|
+
* <p>空闲连接超时时间,仅支持TCP监听器。默认值:900;共享型实例和独占型实例取值范围:300~900,性能容量型实例取值范围:300~1980。</p>
|
|
2198
2198
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2199
2199
|
*/
|
|
2200
2200
|
IdleConnectTimeout?: number;
|
|
2201
2201
|
/**
|
|
2202
|
-
*
|
|
2202
|
+
* <p>重新调度触发持续时间,取值0~3600s。仅TCP/UDP监听器支持。触发重新调度后,长连接将会在设置的调度时间内断开并完成重新分配。</p><p>单位:秒</p>
|
|
2203
2203
|
*/
|
|
2204
2204
|
RescheduleInterval?: number;
|
|
2205
2205
|
/**
|
|
2206
|
-
*
|
|
2206
|
+
* <p>数据压缩模式</p>
|
|
2207
2207
|
*/
|
|
2208
2208
|
DataCompressMode?: string;
|
|
2209
2209
|
/**
|
|
2210
|
-
*
|
|
2210
|
+
* <p>重新调度启动时间,配置了重新调度启动时间后,会在启动时间到达时触发重新调度。</p>
|
|
2211
2211
|
*/
|
|
2212
2212
|
RescheduleStartTime?: number;
|
|
2213
2213
|
}
|
|
@@ -2495,7 +2495,7 @@ export interface ModifyListenerRequest {
|
|
|
2495
2495
|
*/
|
|
2496
2496
|
SnatEnable?: boolean;
|
|
2497
2497
|
/**
|
|
2498
|
-
* <p>数据压缩模式</p>
|
|
2498
|
+
* <p>数据压缩模式</p><p>枚举值:</p><ul><li>transparent: 透明模式(默认值)</li><li>compatibility: 兼容模式(开启 gzip 兼容压缩配置)</li></ul>
|
|
2499
2499
|
*/
|
|
2500
2500
|
DataCompressMode?: string;
|
|
2501
2501
|
/**
|
|
@@ -3190,75 +3190,75 @@ export interface LBChargePrepaid {
|
|
|
3190
3190
|
*/
|
|
3191
3191
|
export interface ClassicalListener {
|
|
3192
3192
|
/**
|
|
3193
|
-
*
|
|
3193
|
+
* <p>负载均衡监听器ID</p>
|
|
3194
3194
|
*/
|
|
3195
3195
|
ListenerId?: string;
|
|
3196
3196
|
/**
|
|
3197
|
-
*
|
|
3197
|
+
* <p>负载均衡监听器端口</p>
|
|
3198
3198
|
*/
|
|
3199
3199
|
ListenerPort?: number;
|
|
3200
3200
|
/**
|
|
3201
|
-
*
|
|
3201
|
+
* <p>监听器后端转发端口</p>
|
|
3202
3202
|
*/
|
|
3203
3203
|
InstancePort?: number;
|
|
3204
3204
|
/**
|
|
3205
|
-
*
|
|
3205
|
+
* <p>监听器名称</p>
|
|
3206
3206
|
*/
|
|
3207
3207
|
ListenerName?: string;
|
|
3208
3208
|
/**
|
|
3209
|
-
*
|
|
3209
|
+
* <p>监听器协议类型</p>
|
|
3210
3210
|
*/
|
|
3211
3211
|
Protocol?: string;
|
|
3212
3212
|
/**
|
|
3213
|
-
*
|
|
3213
|
+
* <p>会话保持时间</p>
|
|
3214
3214
|
*/
|
|
3215
3215
|
SessionExpire?: number;
|
|
3216
3216
|
/**
|
|
3217
|
-
*
|
|
3217
|
+
* <p>是否开启了健康检查:1(开启)、0(关闭)</p>
|
|
3218
3218
|
*/
|
|
3219
3219
|
HealthSwitch?: number;
|
|
3220
3220
|
/**
|
|
3221
|
-
*
|
|
3221
|
+
* <p>响应超时时间</p><p>单位:秒</p>
|
|
3222
3222
|
*/
|
|
3223
3223
|
TimeOut?: number;
|
|
3224
3224
|
/**
|
|
3225
|
-
*
|
|
3225
|
+
* <p>检查间隔</p><p>单位:秒</p>
|
|
3226
3226
|
*/
|
|
3227
3227
|
IntervalTime?: number;
|
|
3228
3228
|
/**
|
|
3229
|
-
*
|
|
3229
|
+
* <p>健康阈值</p>
|
|
3230
3230
|
*/
|
|
3231
3231
|
HealthNum?: number;
|
|
3232
3232
|
/**
|
|
3233
|
-
*
|
|
3233
|
+
* <p>不健康阈值</p>
|
|
3234
3234
|
*/
|
|
3235
3235
|
UnhealthNum?: number;
|
|
3236
3236
|
/**
|
|
3237
|
-
*
|
|
3237
|
+
* <p>传统型公网负载均衡 监听器的请求均衡方法。空字符串或wrr 表示按权重轮询,ip_hash 表示根据访问的源 IP 进行一致性哈希方式来分发,least_conn表示按最小连接数。</p>
|
|
3238
3238
|
*/
|
|
3239
3239
|
HttpHash?: string;
|
|
3240
3240
|
/**
|
|
3241
|
-
*
|
|
3241
|
+
* <p>传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查返回码。具体可参考创建监听器中对该字段的解释</p>
|
|
3242
3242
|
*/
|
|
3243
3243
|
HttpCode?: number;
|
|
3244
3244
|
/**
|
|
3245
|
-
*
|
|
3245
|
+
* <p>传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查路径</p>
|
|
3246
3246
|
*/
|
|
3247
3247
|
HttpCheckPath?: string;
|
|
3248
3248
|
/**
|
|
3249
|
-
*
|
|
3249
|
+
* <p>传统型公网负载均衡的 HTTPS 监听器的认证方式</p>
|
|
3250
3250
|
*/
|
|
3251
3251
|
SSLMode?: string;
|
|
3252
3252
|
/**
|
|
3253
|
-
*
|
|
3253
|
+
* <p>传统型公网负载均衡的 HTTPS 监听器的服务端证书 ID</p>
|
|
3254
3254
|
*/
|
|
3255
3255
|
CertId?: string;
|
|
3256
3256
|
/**
|
|
3257
|
-
*
|
|
3257
|
+
* <p>传统型公网负载均衡的 HTTPS 监听器的客户端证书 ID</p>
|
|
3258
3258
|
*/
|
|
3259
3259
|
CertCaId?: string;
|
|
3260
3260
|
/**
|
|
3261
|
-
*
|
|
3261
|
+
* <p>监听器的状态,0 表示创建中,1 表示运行中</p>
|
|
3262
3262
|
*/
|
|
3263
3263
|
Status?: number;
|
|
3264
3264
|
}
|