tencentcloud-sdk-nodejs-clb 4.0.255 → 4.0.260
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/CHANGELOG.md +1139 -86
- package/package.json +1 -1
- package/products.md +54 -54
- package/src/services/clb/v20180317/clb_client.ts +24 -11
- package/src/services/clb/v20180317/clb_models.ts +161 -70
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +10 -6
- package/tencentcloud/services/clb/v20180317/clb_client.js +12 -6
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +141 -64
@@ -263,19 +263,19 @@ export interface DescribeLoadBalancerOverviewResponse {
|
|
263
263
|
/**
|
264
264
|
* 负载均衡总数
|
265
265
|
*/
|
266
|
-
TotalCount
|
266
|
+
TotalCount: number;
|
267
267
|
/**
|
268
268
|
* 运行中的负载均衡数目
|
269
269
|
*/
|
270
|
-
RunningCount
|
270
|
+
RunningCount: number;
|
271
271
|
/**
|
272
272
|
* 隔离中的负载均衡数目
|
273
273
|
*/
|
274
|
-
IsolationCount
|
274
|
+
IsolationCount: number;
|
275
275
|
/**
|
276
276
|
* 即将到期的负载均衡数目
|
277
277
|
*/
|
278
|
-
WillExpireCount
|
278
|
+
WillExpireCount: number;
|
279
279
|
/**
|
280
280
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
281
281
|
*/
|
@@ -867,6 +867,45 @@ export interface CreateRuleResponse {
|
|
867
867
|
*/
|
868
868
|
RequestId?: string;
|
869
869
|
}
|
870
|
+
/**
|
871
|
+
* 跨域2.0云联网下子机和网卡信息
|
872
|
+
*/
|
873
|
+
export interface CrossTargets {
|
874
|
+
/**
|
875
|
+
* 本地私有网络ID,即负载均衡的VpcId。
|
876
|
+
*/
|
877
|
+
LocalVpcId: string;
|
878
|
+
/**
|
879
|
+
* 子机或网卡所属的私有网络ID。
|
880
|
+
*/
|
881
|
+
VpcId: string;
|
882
|
+
/**
|
883
|
+
* 子机或网卡的IP地址
|
884
|
+
*/
|
885
|
+
IP: string;
|
886
|
+
/**
|
887
|
+
* 子机或网卡所属的私有网络名称。
|
888
|
+
*/
|
889
|
+
VpcName: string;
|
890
|
+
/**
|
891
|
+
* 子机的网卡ID。
|
892
|
+
*/
|
893
|
+
EniId: string;
|
894
|
+
/**
|
895
|
+
* 子机实例ID。
|
896
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
897
|
+
*/
|
898
|
+
InstanceId: string;
|
899
|
+
/**
|
900
|
+
* 子机实例名称。
|
901
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
902
|
+
*/
|
903
|
+
InstanceName: string;
|
904
|
+
/**
|
905
|
+
* 子机或者网卡所属的地域。
|
906
|
+
*/
|
907
|
+
Region: string;
|
908
|
+
}
|
870
909
|
/**
|
871
910
|
* 一条转发规则的健康检查状态
|
872
911
|
*/
|
@@ -1139,6 +1178,23 @@ export interface AutoRewriteRequest {
|
|
1139
1178
|
*/
|
1140
1179
|
TakeUrls?: Array<boolean>;
|
1141
1180
|
}
|
1181
|
+
/**
|
1182
|
+
* DescribeCrossTargets返回参数结构体
|
1183
|
+
*/
|
1184
|
+
export interface DescribeCrossTargetsResponse {
|
1185
|
+
/**
|
1186
|
+
* 后端服务列表总数。
|
1187
|
+
*/
|
1188
|
+
TotalCount: number;
|
1189
|
+
/**
|
1190
|
+
* 后端服务列表。
|
1191
|
+
*/
|
1192
|
+
CrossTargetSet: Array<CrossTargets>;
|
1193
|
+
/**
|
1194
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1195
|
+
*/
|
1196
|
+
RequestId?: string;
|
1197
|
+
}
|
1142
1198
|
/**
|
1143
1199
|
* DescribeLoadBalancerListByCertId返回参数结构体
|
1144
1200
|
*/
|
@@ -1252,7 +1308,7 @@ export interface DescribeLBListenersRequest {
|
|
1252
1308
|
Backends: Array<LbRsItem>;
|
1253
1309
|
}
|
1254
1310
|
/**
|
1255
|
-
*
|
1311
|
+
* 性能容量型变配参数
|
1256
1312
|
*/
|
1257
1313
|
export interface SlaUpdateParam {
|
1258
1314
|
/**
|
@@ -1260,7 +1316,7 @@ export interface SlaUpdateParam {
|
|
1260
1316
|
*/
|
1261
1317
|
LoadBalancerId: string;
|
1262
1318
|
/**
|
1263
|
-
*
|
1319
|
+
* 变更为性能容量型,固定为SLA
|
1264
1320
|
*/
|
1265
1321
|
SlaType: string;
|
1266
1322
|
}
|
@@ -2076,11 +2132,11 @@ export interface DescribeClassicalLBHealthStatusRequest {
|
|
2076
2132
|
*/
|
2077
2133
|
export interface ModifyDomainRequest {
|
2078
2134
|
/**
|
2079
|
-
* 负载均衡实例 ID
|
2135
|
+
* 负载均衡实例 ID。
|
2080
2136
|
*/
|
2081
2137
|
LoadBalancerId: string;
|
2082
2138
|
/**
|
2083
|
-
* 负载均衡监听器 ID
|
2139
|
+
* 负载均衡监听器 ID。
|
2084
2140
|
*/
|
2085
2141
|
ListenerId: string;
|
2086
2142
|
/**
|
@@ -2106,50 +2162,25 @@ export interface CreateClsLogSetResponse {
|
|
2106
2162
|
RequestId?: string;
|
2107
2163
|
}
|
2108
2164
|
/**
|
2109
|
-
*
|
2165
|
+
* DescribeCrossTargets请求参数结构体
|
2110
2166
|
*/
|
2111
|
-
export interface
|
2167
|
+
export interface DescribeCrossTargetsRequest {
|
2112
2168
|
/**
|
2113
|
-
*
|
2169
|
+
* 返回后端服务列表数目,默认20,最大值100。
|
2114
2170
|
*/
|
2115
|
-
|
2116
|
-
/**
|
2117
|
-
* 后端服务的唯一 ID,如 ins-abcd1234
|
2118
|
-
*/
|
2119
|
-
InstanceId: string;
|
2120
|
-
/**
|
2121
|
-
* 后端服务的监听端口
|
2122
|
-
*/
|
2123
|
-
Port: number;
|
2171
|
+
Limit?: number;
|
2124
2172
|
/**
|
2125
|
-
*
|
2173
|
+
* 返回后端服务列表起始偏移量,默认0。
|
2126
2174
|
*/
|
2127
|
-
|
2128
|
-
/**
|
2129
|
-
* 后端服务的外网 IP
|
2130
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2131
|
-
*/
|
2132
|
-
PublicIpAddresses: Array<string>;
|
2133
|
-
/**
|
2134
|
-
* 后端服务的内网 IP
|
2135
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2136
|
-
*/
|
2137
|
-
PrivateIpAddresses: Array<string>;
|
2138
|
-
/**
|
2139
|
-
* 后端服务的实例名称
|
2140
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2141
|
-
*/
|
2142
|
-
InstanceName: string;
|
2143
|
-
/**
|
2144
|
-
* 后端服务被绑定的时间
|
2145
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2146
|
-
*/
|
2147
|
-
RegisteredTime: string;
|
2175
|
+
Offset?: number;
|
2148
2176
|
/**
|
2149
|
-
*
|
2150
|
-
|
2177
|
+
* 查询跨域2.0版本云联网后端子机和网卡服务列表条件,详细的过滤条件如下:
|
2178
|
+
<li> vpc-id - String - 是否必填:否 - (过滤条件)按照 本地私有网络ID,即负载均衡的VpcId 过滤,如:"vpc-12345678"。</li>
|
2179
|
+
<li> ip - String - 是否必填:否 - (过滤条件)按照 后端服务ip 过滤,如:"192.168.0.1"。</li>
|
2180
|
+
<li> listener-id - String - 是否必填:否 - (过滤条件)按照 监听器ID 过滤,如:"lbl-12345678"。</li>
|
2181
|
+
<li> location-id - String - 是否必填:否 - (过滤条件)按照 七层监听器规则ID 过滤,如:"loc-12345678"。</li>
|
2151
2182
|
*/
|
2152
|
-
|
2183
|
+
Filters?: Array<Filter>;
|
2153
2184
|
}
|
2154
2185
|
/**
|
2155
2186
|
* lb实例包年包月相关配置属性
|
@@ -3825,7 +3856,7 @@ export interface DescribeExclusiveClustersRequest {
|
|
3825
3856
|
*/
|
3826
3857
|
export interface ModifyLoadBalancerSlaRequest {
|
3827
3858
|
/**
|
3828
|
-
*
|
3859
|
+
* 负载均衡实例信息
|
3829
3860
|
*/
|
3830
3861
|
LoadBalancerSla: Array<SlaUpdateParam>;
|
3831
3862
|
}
|
@@ -4103,6 +4134,41 @@ export interface DescribeLBListenersResponse {
|
|
4103
4134
|
*/
|
4104
4135
|
RequestId?: string;
|
4105
4136
|
}
|
4137
|
+
/**
|
4138
|
+
* 目标组信息
|
4139
|
+
*/
|
4140
|
+
export interface TargetGroupInfo {
|
4141
|
+
/**
|
4142
|
+
* 目标组ID
|
4143
|
+
*/
|
4144
|
+
TargetGroupId: string;
|
4145
|
+
/**
|
4146
|
+
* 目标组的vpcid
|
4147
|
+
*/
|
4148
|
+
VpcId: string;
|
4149
|
+
/**
|
4150
|
+
* 目标组的名字
|
4151
|
+
*/
|
4152
|
+
TargetGroupName: string;
|
4153
|
+
/**
|
4154
|
+
* 目标组的默认端口
|
4155
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4156
|
+
*/
|
4157
|
+
Port: number;
|
4158
|
+
/**
|
4159
|
+
* 目标组的创建时间
|
4160
|
+
*/
|
4161
|
+
CreatedTime: string;
|
4162
|
+
/**
|
4163
|
+
* 目标组的修改时间
|
4164
|
+
*/
|
4165
|
+
UpdatedTime: string;
|
4166
|
+
/**
|
4167
|
+
* 关联到的规则数组
|
4168
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4169
|
+
*/
|
4170
|
+
AssociatedRule: Array<AssociationItem>;
|
4171
|
+
}
|
4106
4172
|
/**
|
4107
4173
|
* DeleteListener返回参数结构体
|
4108
4174
|
*/
|
@@ -4291,39 +4357,50 @@ export interface AssociationItem {
|
|
4291
4357
|
ListenerName: string;
|
4292
4358
|
}
|
4293
4359
|
/**
|
4294
|
-
*
|
4360
|
+
* 监听器绑定的后端服务的详细信息
|
4295
4361
|
*/
|
4296
|
-
export interface
|
4362
|
+
export interface Backend {
|
4297
4363
|
/**
|
4298
|
-
*
|
4364
|
+
* 后端服务的类型,可取:CVM、ENI
|
4299
4365
|
*/
|
4300
|
-
|
4366
|
+
Type: string;
|
4301
4367
|
/**
|
4302
|
-
*
|
4368
|
+
* 后端服务的唯一 ID,如 ins-abcd1234
|
4303
4369
|
*/
|
4304
|
-
|
4370
|
+
InstanceId: string;
|
4305
4371
|
/**
|
4306
|
-
*
|
4372
|
+
* 后端服务的监听端口
|
4307
4373
|
*/
|
4308
|
-
|
4374
|
+
Port: number;
|
4309
4375
|
/**
|
4310
|
-
|
4376
|
+
* 后端服务的转发权重,取值范围:[0, 100],默认为 10。
|
4377
|
+
*/
|
4378
|
+
Weight: number;
|
4379
|
+
/**
|
4380
|
+
* 后端服务的外网 IP
|
4311
4381
|
注意:此字段可能返回 null,表示取不到有效值。
|
4312
4382
|
*/
|
4313
|
-
|
4383
|
+
PublicIpAddresses: Array<string>;
|
4314
4384
|
/**
|
4315
|
-
|
4316
|
-
|
4317
|
-
|
4385
|
+
* 后端服务的内网 IP
|
4386
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4387
|
+
*/
|
4388
|
+
PrivateIpAddresses: Array<string>;
|
4318
4389
|
/**
|
4319
|
-
|
4320
|
-
|
4321
|
-
|
4390
|
+
* 后端服务的实例名称
|
4391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4392
|
+
*/
|
4393
|
+
InstanceName: string;
|
4322
4394
|
/**
|
4323
|
-
*
|
4395
|
+
* 后端服务被绑定的时间
|
4324
4396
|
注意:此字段可能返回 null,表示取不到有效值。
|
4325
4397
|
*/
|
4326
|
-
|
4398
|
+
RegisteredTime: string;
|
4399
|
+
/**
|
4400
|
+
* 弹性网卡唯一ID,如 eni-1234abcd
|
4401
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4402
|
+
*/
|
4403
|
+
EniId: string;
|
4327
4404
|
}
|
4328
4405
|
/**
|
4329
4406
|
* RegisterTargetGroupInstances请求参数结构体
|