tencentcloud-sdk-nodejs-teo 4.1.285 → 4.1.290

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-teo",
3
- "version": "4.1.285",
3
+ "version": "4.1.290",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1028,6 +1028,10 @@ export interface CreateInferenceServiceRequest {
1028
1028
  * <p>推理服务的资源配置。</p>
1029
1029
  */
1030
1030
  ResourceConfig: InferenceResourceConfig;
1031
+ /**
1032
+ * <p>推理服务亲和性配置。</p>
1033
+ */
1034
+ AffinityConfig?: InferenceAffinityConfig;
1031
1035
  /**
1032
1036
  * <p>推理服务的请求路径列表。最多支持 20 个路径。</p>
1033
1037
  */
@@ -6661,6 +6665,10 @@ export interface ModifyInferenceServiceRequest {
6661
6665
  * <p>推理服务的资源配置。</p>
6662
6666
  */
6663
6667
  ResourceConfig?: InferenceResourceConfigForModify;
6668
+ /**
6669
+ * <p>推理服务亲和性配置</p>
6670
+ */
6671
+ AffinityConfig?: InferenceAffinityConfig;
6664
6672
  /**
6665
6673
  * <p>描述信息。长度限制不超过 60 个字符。</p>
6666
6674
  */
@@ -7552,21 +7560,25 @@ export interface DescribeInferenceHardwareSpecificationsResponse {
7552
7560
  */
7553
7561
  export interface InferenceServiceConfig {
7554
7562
  /**
7555
- * 模型服务需要监听的端口。
7563
+ * <p>模型服务需要监听的端口。</p>
7556
7564
  */
7557
7565
  ListenPort?: number;
7558
7566
  /**
7559
- * 推理服务的请求路径列表。
7567
+ * <p>推理服务的请求路径列表。</p>
7560
7568
  */
7561
7569
  RequestPaths?: Array<string>;
7562
7570
  /**
7563
- * 推理服务的容器配置。
7571
+ * <p>推理服务的容器配置。</p>
7564
7572
  */
7565
7573
  Containers?: Array<InferenceContainerConfig>;
7566
7574
  /**
7567
- * 推理服务的资源配置。
7575
+ * <p>推理服务的资源配置。</p>
7568
7576
  */
7569
7577
  ResourceConfig?: InferenceResourceConfig;
7578
+ /**
7579
+ * <p>推理服务亲和性配置。</p>
7580
+ */
7581
+ AffinityConfig?: InferenceAffinityConfig;
7570
7582
  }
7571
7583
  /**
7572
7584
  * TopN的Entry数据
@@ -9477,19 +9489,19 @@ export interface VerifyOwnershipRequest {
9477
9489
  */
9478
9490
  export interface InferenceContainerConfigForModify {
9479
9491
  /**
9480
- * 镜像类型。取值有:<li>TCR:腾讯云容器镜像服务的镜像。</li>
9492
+ * <p>镜像类型。取值有:<li>TCR:腾讯云容器镜像服务的镜像。</li></p>
9481
9493
  */
9482
9494
  ImageType?: string;
9483
9495
  /**
9484
- * TCR 镜像仓库信息。当 ImageType 为 TCR 时必填。
9496
+ * <p>TCR 镜像仓库信息。当 ImageType 为 TCR 时必填。</p>
9485
9497
  */
9486
9498
  TcrRepositoryConfig?: InferenceTCRRepositoryConfig;
9487
9499
  /**
9488
- * 容器启动时执行的命令,未填写时默认使用镜像的 Entrypoint/CMD。最长支持 1024 字符。
9500
+ * <p>容器启动时执行的命令,未填写时默认使用镜像的 Entrypoint/CMD。最长支持 1024 字符。</p>
9489
9501
  */
9490
9502
  StartupCommand?: string;
9491
9503
  /**
9492
- * 容器运行时的环境变量。最多支持 10 个变量。
9504
+ * <p>容器运行时的环境变量。最多支持 10 个变量。</p>
9493
9505
  */
9494
9506
  EnvironmentVariables?: Array<InferenceEnvironmentVariable>;
9495
9507
  }
@@ -10828,6 +10840,19 @@ export interface CreateRealtimeLogDeliveryTaskResponse {
10828
10840
  */
10829
10841
  RequestId?: string;
10830
10842
  }
10843
+ /**
10844
+ * 基于会话ID的亲和配置。
10845
+ */
10846
+ export interface SessionIdAffinityConfig {
10847
+ /**
10848
+ * <p>会话 ID 参数的传递位置。不填写时默认为 Header。</p><p>枚举值:</p><ul><li>Header: 在请求头中传递参数。</li></ul><p>默认值:Header。</p>
10849
+ */
10850
+ Source?: string;
10851
+ /**
10852
+ * <p>传递会话 ID 的请求头名称。当 Source 为 Header 时必填。<br>不填写时默认为 EO-Infer-Session-Id。</p><p>入参限制:长度为 1-64 个字符,仅支持字母、数字、中划线。</p><p>默认值:EO-Infer-Session-Id。</p>
10853
+ */
10854
+ HeaderName?: string;
10855
+ }
10831
10856
  /**
10832
10857
  * DescribeTopL7CacheData返回参数结构体
10833
10858
  */
@@ -15590,6 +15615,23 @@ export interface HTTP2Parameters {
15590
15615
  */
15591
15616
  Switch?: string;
15592
15617
  }
15618
+ /**
15619
+ * 推理服务的亲和配置
15620
+ */
15621
+ export interface InferenceAffinityConfig {
15622
+ /**
15623
+ * <p>推理服务亲和总开关。</p><p>枚举值:</p><ul><li>On: 开启推理服务亲和;</li><li>Off: 关闭推理服务亲和。</li></ul>
15624
+ */
15625
+ Switch: string;
15626
+ /**
15627
+ * <p>推理服务亲和方式。</p><p>枚举值:</p><ul><li>SessionId: 根据会话 ID 实现亲和。</li></ul><p>默认值:SessionId。</p>
15628
+ */
15629
+ AffinityMode?: string;
15630
+ /**
15631
+ * <p>推理服务亲和性配置。当 AffinityMode 为 SessionId 时必填。</p>
15632
+ */
15633
+ SessionIdAffinityConfig?: SessionIdAffinityConfig;
15634
+ }
15593
15635
  /**
15594
15636
  * DescribeOverviewL7Data请求参数结构体
15595
15637
  */
@@ -15918,20 +15960,20 @@ export interface DnsRecord {
15918
15960
  */
15919
15961
  export interface InferenceContainerConfig {
15920
15962
  /**
15921
- * 镜像类型。取值有:<li>TCR:腾讯云容器镜像服务的镜像。</li>
15963
+ * <p>镜像类型。取值有:<li>TCR:腾讯云容器镜像服务的镜像。</li></p>
15922
15964
  */
15923
15965
  ImageType: string;
15924
15966
  /**
15925
- * TCR 镜像仓库信息。当 ImageType 为 TCR 时必填。
15967
+ * <p>TCR 镜像仓库信息。当 ImageType 为 TCR 时必填。</p>
15926
15968
  注意:此字段可能返回 null,表示取不到有效值。
15927
15969
  */
15928
15970
  TcrRepositoryConfig?: InferenceTCRRepositoryConfig;
15929
15971
  /**
15930
- * 容器启动时执行的命令,未填写时默认使用镜像的 Entrypoint/CMD。最长支持 1024 字符。
15972
+ * <p>容器启动时执行的命令,未填写时默认使用镜像的 Entrypoint/CMD。最长支持 1024 字符。</p>
15931
15973
  */
15932
15974
  StartupCommand?: string;
15933
15975
  /**
15934
- * 容器运行时的环境变量。最多支持 10 个变量。
15976
+ * <p>容器运行时的环境变量。最多支持 10 个变量。</p>
15935
15977
  */
15936
15978
  EnvironmentVariables?: Array<InferenceEnvironmentVariable>;
15937
15979
  }