tencentcloud-sdk-nodejs-clb 4.1.316 → 4.1.318

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-clb",
3
- "version": "4.1.316",
3
+ "version": "4.1.318",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -570,23 +570,23 @@ export interface DescribeListenersResponse {
570
570
  */
571
571
  export interface AutoRewriteRequest {
572
572
  /**
573
- * 负载均衡实例ID。
573
+ * <p>负载均衡实例ID。</p>
574
574
  */
575
575
  LoadBalancerId: string;
576
576
  /**
577
- * HTTPS:443监听器的ID。
577
+ * <p>HTTPS:443监听器的ID。</p>
578
578
  */
579
579
  ListenerId: string;
580
580
  /**
581
- * HTTPS:443监听器下需要重定向的域名,若不填,则对HTTPS:443监听器下的所有域名都设置重定向。
581
+ * <p>HTTPS:443监听器下需要重定向的域名,若不填,则对HTTPS:443监听器下的所有域名都设置重定向。</p>
582
582
  */
583
583
  Domains?: Array<string>;
584
584
  /**
585
- * 重定向状态码,可取值301,302,307。
585
+ * <p>重定向状态码,可取值301,302,307。</p><p>默认值:302</p>
586
586
  */
587
587
  RewriteCodes?: Array<number | bigint>;
588
588
  /**
589
- * 重定向是否携带匹配的URL。
589
+ * <p>重定向是否携带匹配的URL。</p>
590
590
  */
591
591
  TakeUrls?: Array<boolean>;
592
592
  }
@@ -713,9 +713,13 @@ export interface DescribeModelAssociationsRequest {
713
713
  */
714
714
  Offset?: number;
715
715
  /**
716
- * <p>模型输出模态</p>
716
+ * <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
717
717
  */
718
718
  Capability?: string;
719
+ /**
720
+ * <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>rerank: 重排序</li><li>video: 视频</li></ul>
721
+ */
722
+ Capabilities?: Array<string>;
719
723
  }
720
724
  /**
721
725
  * 规格可用性
@@ -1416,6 +1420,26 @@ export interface GuardrailConfig {
1416
1420
  */
1417
1421
  InputCheckDepth?: number;
1418
1422
  }
1423
+ /**
1424
+ * Rerank调度配置。
1425
+ */
1426
+ export interface RerankConfig {
1427
+ /**
1428
+ * <p>L2路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
1429
+ 注意:此字段可能返回 null,表示取不到有效值。
1430
+ */
1431
+ RoutingStrategy?: string;
1432
+ /**
1433
+ * <p>L2路由算法参数</p>
1434
+ 注意:此字段可能返回 null,表示取不到有效值。
1435
+ */
1436
+ RoutingStrategyArgs?: RoutingStrategyArgs;
1437
+ /**
1438
+ * <p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
1439
+ 注意:此字段可能返回 null,表示取不到有效值。
1440
+ */
1441
+ NumRetries?: number;
1442
+ }
1419
1443
  /**
1420
1444
  * 独占集群信息
1421
1445
  */
@@ -1463,13 +1487,25 @@ export interface ModifyModelRouterAttributesRequest {
1463
1487
  */
1464
1488
  Bandwidth?: number;
1465
1489
  /**
1466
- * <p>模型输出模态</p>
1490
+ * <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
1467
1491
  */
1468
1492
  Capability?: string;
1469
1493
  /**
1470
- * <p>embedding 模态配置</p>
1494
+ * <p>Embedding 调度配置</p><p>传入该参数时,必须传Capability为embedding</p>
1471
1495
  */
1472
1496
  EmbeddingConfig?: EmbeddingConfig;
1497
+ /**
1498
+ * <p>Video 调度配置</p>
1499
+ */
1500
+ VideoConfig?: VideoConfig;
1501
+ /**
1502
+ * <p>Rerank 调度配置</p><p>传入该参数时,必须传Capability为rerank</p>
1503
+ */
1504
+ RerankConfig?: RerankConfig;
1505
+ /**
1506
+ * <p>Decisions 调度配置</p>
1507
+ */
1508
+ DecisionsConfig?: DecisionsConfig;
1473
1509
  }
1474
1510
  /**
1475
1511
  * 模型路由日志
@@ -1885,9 +1921,27 @@ export interface ModelRouterDetail {
1885
1921
  */
1886
1922
  BillingConfig?: ModelRouterBillingConfigOutput;
1887
1923
  /**
1888
- * <p>Embedding配置</p>
1924
+ * <p>Embedding调度配置</p>
1925
+ 注意:此字段可能返回 null,表示取不到有效值。
1889
1926
  */
1890
1927
  EmbeddingConfig?: EmbeddingConfig;
1928
+ /**
1929
+ * <p>CMR关联的负载均衡实例id</p>
1930
+ */
1931
+ LoadBalancerId?: string;
1932
+ /**
1933
+ * <p>视频模型设置</p>
1934
+ */
1935
+ VideoConfig?: VideoConfig;
1936
+ /**
1937
+ * <p>Rerank调度配置</p>
1938
+ 注意:此字段可能返回 null,表示取不到有效值。
1939
+ */
1940
+ RerankConfig?: RerankConfig;
1941
+ /**
1942
+ * <p>决策模型设置</p>
1943
+ */
1944
+ DecisionsConfig?: DecisionsConfig;
1891
1945
  }
1892
1946
  /**
1893
1947
  * DescribeLoadBalancerListByCertId请求参数结构体
@@ -3337,6 +3391,26 @@ export interface DeleteIntentRouterRequest {
3337
3391
  */
3338
3392
  IntentRouterId: string;
3339
3393
  }
3394
+ /**
3395
+ * DecisionsConfig配置。
3396
+ */
3397
+ export interface DecisionsConfig {
3398
+ /**
3399
+ * <p>模型内路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
3400
+ 注意:此字段可能返回 null,表示取不到有效值。
3401
+ */
3402
+ RoutingStrategy?: string;
3403
+ /**
3404
+ * <p>路由参数</p>
3405
+ 注意:此字段可能返回 null,表示取不到有效值。
3406
+ */
3407
+ RoutingStrategyArgs?: RoutingStrategyArgs;
3408
+ /**
3409
+ * <p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
3410
+ 注意:此字段可能返回 null,表示取不到有效值。
3411
+ */
3412
+ NumRetries?: number;
3413
+ }
3340
3414
  /**
3341
3415
  * DescribeBlockIPList请求参数结构体
3342
3416
  */
@@ -3434,6 +3508,7 @@ export interface ServiceProviderHealthCheckConfigItemOutput {
3434
3508
  HealthCheckUnhealthyThreshold?: number;
3435
3509
  /**
3436
3510
  * <p>健康检查使用的最大Token数量。部分模型如gpt系列可能仅支持大于等于16。</p><p>默认值:1</p>
3511
+ 注意:此字段可能返回 null,表示取不到有效值。
3437
3512
  */
3438
3513
  HealthCheckMaxTokens?: number;
3439
3514
  /**
@@ -3441,6 +3516,14 @@ export interface ServiceProviderHealthCheckConfigItemOutput {
3441
3516
  注意:此字段可能返回 null,表示取不到有效值。
3442
3517
  */
3443
3518
  HealthCheckProtocol?: string;
3519
+ /**
3520
+ * <p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
3521
+ */
3522
+ HealthCheckPath?: string;
3523
+ /**
3524
+ * <p>健康检查方式。</p>
3525
+ */
3526
+ HealthCheckMethod?: string;
3444
3527
  }
3445
3528
  /**
3446
3529
  * DescribeModelAliases请求参数结构体
@@ -3601,7 +3684,7 @@ export interface TestServiceProviderConnectionRequest {
3601
3684
  */
3602
3685
  CMRPrivateNetworkTunnelId?: string;
3603
3686
  /**
3604
- * <p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li></ul>
3687
+ * <p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li><li>rerank: 重排序能力</li><li>video: 生视频能力</li></ul>
3605
3688
  */
3606
3689
  Capability?: string;
3607
3690
  /**
@@ -4178,7 +4261,7 @@ export interface ModifyTargetGroupInstancesPortRequest {
4178
4261
  */
4179
4262
  export interface EmbeddingConfig {
4180
4263
  /**
4181
- * <p>模型内路由策略</p>
4264
+ * <p>模型内路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
4182
4265
  注意:此字段可能返回 null,表示取不到有效值。
4183
4266
  */
4184
4267
  RoutingStrategy?: string;
@@ -4188,7 +4271,7 @@ export interface EmbeddingConfig {
4188
4271
  */
4189
4272
  RoutingStrategyArgs?: RoutingStrategyArgs;
4190
4273
  /**
4191
- * <p>同一模型请求重试次数</p>
4274
+ * <p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
4192
4275
  注意:此字段可能返回 null,表示取不到有效值。
4193
4276
  */
4194
4277
  NumRetries?: number;
@@ -4396,7 +4479,7 @@ export interface CreateModelRequest {
4396
4479
  */
4397
4480
  HealthCheckConfigs?: Array<ServiceProviderHealthCheckConfigItemInput>;
4398
4481
  /**
4399
- * <p>模型输出模态</p>
4482
+ * <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
4400
4483
  */
4401
4484
  Capability?: string;
4402
4485
  /**
@@ -5809,6 +5892,26 @@ export interface DescribeCustomizedConfigListRequest {
5809
5892
  */
5810
5893
  Filters?: Array<Filter>;
5811
5894
  }
5895
+ /**
5896
+ * video配置。
5897
+ */
5898
+ export interface VideoConfig {
5899
+ /**
5900
+ * <p>模型内路由策略</p>
5901
+ 注意:此字段可能返回 null,表示取不到有效值。
5902
+ */
5903
+ RoutingStrategy?: string;
5904
+ /**
5905
+ * <p>路由参数</p>
5906
+ 注意:此字段可能返回 null,表示取不到有效值。
5907
+ */
5908
+ RoutingStrategyArgs?: RoutingStrategyArgs;
5909
+ /**
5910
+ * <p>同一模型请求重试次数</p>
5911
+ 注意:此字段可能返回 null,表示取不到有效值。
5912
+ */
5913
+ NumRetries?: number;
5914
+ }
5812
5915
  /**
5813
5916
  * DescribeTaskStatus返回参数结构体
5814
5917
  */
@@ -9370,7 +9473,7 @@ export interface ModelKeyInfoItem {
9370
9473
  */
9371
9474
  HealthCheckConfigs?: Array<ServiceProviderHealthCheckConfigItemOutput>;
9372
9475
  /**
9373
- * <p>模型输出模态</p>
9476
+ * <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
9374
9477
  注意:此字段可能返回 null,表示取不到有效值。
9375
9478
  */
9376
9479
  Capability?: string;
@@ -10289,7 +10392,7 @@ export interface ModelAssociation {
10289
10392
  */
10290
10393
  Type?: string;
10291
10394
  /**
10292
- * <p>输出模态</p>
10395
+ * <p>输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
10293
10396
  */
10294
10397
  Capability?: string;
10295
10398
  }
@@ -10372,6 +10475,14 @@ export interface ServiceProviderHealthCheckConfigItemInput {
10372
10475
  * <p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/v1/messages协议</li></ul>
10373
10476
  */
10374
10477
  HealthCheckProtocol?: string;
10478
+ /**
10479
+ * <p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
10480
+ */
10481
+ HealthCheckPath?: string;
10482
+ /**
10483
+ * <p>健康检查方式。</p><p>枚举值:</p><ul><li>Service: 探测服务可用性</li><li>Model: 探测模型可用性</li></ul>
10484
+ */
10485
+ HealthCheckMethod?: string;
10375
10486
  }
10376
10487
  /**
10377
10488
  * SnatIp的信息结构
@@ -10544,9 +10655,21 @@ export interface CreateModelRouterRequest {
10544
10655
  */
10545
10656
  Bandwidth?: number;
10546
10657
  /**
10547
- * <p>Embedding 配置</p>
10658
+ * <p>Embedding 调度配置</p>
10548
10659
  */
10549
10660
  EmbeddingConfig?: EmbeddingConfig;
10661
+ /**
10662
+ * <p>Video 配置</p>
10663
+ */
10664
+ VideoConfig?: VideoConfig;
10665
+ /**
10666
+ * <p>Rerank 调度配置</p>
10667
+ */
10668
+ RerankConfig?: RerankConfig;
10669
+ /**
10670
+ * <p>Decisions 调度配置</p>
10671
+ */
10672
+ DecisionsConfig?: DecisionsConfig;
10550
10673
  }
10551
10674
  /**
10552
10675
  * 峰谷计费配置