tencentcloud-sdk-nodejs 4.0.909 → 4.0.911

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.
Files changed (29) hide show
  1. package/CHANGELOG.md +81 -0
  2. package/SERVICE_CHANGELOG.md +78 -177
  3. package/package.json +1 -1
  4. package/products.md +10 -10
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cfs/v20190719/cfs_models.ts +11 -1
  7. package/src/services/dsgc/v20190723/dsgc_models.ts +11 -11
  8. package/src/services/ess/v20201111/ess_client.ts +13 -4
  9. package/src/services/monitor/v20180724/monitor_models.ts +9 -8
  10. package/src/services/sqlserver/v20180328/sqlserver_client.ts +14 -2
  11. package/src/services/sqlserver/v20180328/sqlserver_models.ts +38 -18
  12. package/src/services/trtc/v20190722/trtc_models.ts +5 -3
  13. package/src/services/vpc/v20170312/vpc_client.ts +5 -2
  14. package/src/services/vpc/v20170312/vpc_models.ts +46 -0
  15. package/tencentcloud/common/sdk_version.d.ts +1 -1
  16. package/tencentcloud/common/sdk_version.js +1 -1
  17. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +11 -1
  18. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +11 -11
  19. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +13 -4
  20. package/tencentcloud/services/ess/v20201111/ess_client.js +13 -4
  21. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +9 -8
  22. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +5 -1
  23. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +6 -0
  24. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +35 -17
  25. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +5 -3
  26. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -0
  27. package/tencentcloud/services/vpc/v20170312/vpc_client.js +2 -0
  28. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +45 -0
  29. package/test/sqlserver.v20180328.test.js +10 -0
@@ -1601,19 +1601,6 @@ export interface QueryMigrationCheckProcessRequest {
1601
1601
  */
1602
1602
  MigrateId: number;
1603
1603
  }
1604
- /**
1605
- * ModifyDBRemark请求参数结构体
1606
- */
1607
- export interface ModifyDBRemarkRequest {
1608
- /**
1609
- * 实例ID,形如mssql-rljoi3bf
1610
- */
1611
- InstanceId: string;
1612
- /**
1613
- * 数据库名称及备注数组,每个元素包含数据库名和对应的备注
1614
- */
1615
- DBRemarks: Array<DBRemark>;
1616
- }
1617
1604
  /**
1618
1605
  * RestartDBInstance返回参数结构体
1619
1606
  */
@@ -2117,6 +2104,15 @@ export interface DeleteIncrementalMigrationRequest {
2117
2104
  */
2118
2105
  IncrementalMigrationId: string;
2119
2106
  }
2107
+ /**
2108
+ * CutXEvents返回参数结构体
2109
+ */
2110
+ export interface CutXEventsResponse {
2111
+ /**
2112
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2113
+ */
2114
+ RequestId?: string;
2115
+ }
2120
2116
  /**
2121
2117
  * DescribeBackups请求参数结构体
2122
2118
  */
@@ -2846,13 +2842,17 @@ export interface TerminateDBInstanceResponse {
2846
2842
  RequestId?: string;
2847
2843
  }
2848
2844
  /**
2849
- * DescribeMigrationDetail请求参数结构体
2845
+ * ModifyDBRemark请求参数结构体
2850
2846
  */
2851
- export interface DescribeMigrationDetailRequest {
2847
+ export interface ModifyDBRemarkRequest {
2852
2848
  /**
2853
- * 迁移任务ID
2849
+ * 实例ID,形如mssql-rljoi3bf
2854
2850
  */
2855
- MigrateId: number;
2851
+ InstanceId: string;
2852
+ /**
2853
+ * 数据库名称及备注数组,每个元素包含数据库名和对应的备注
2854
+ */
2855
+ DBRemarks: Array<DBRemark>;
2856
2856
  }
2857
2857
  /**
2858
2858
  * DescribeAccountPrivilegeByDB返回参数结构体
@@ -5025,6 +5025,15 @@ export interface DescribeFlowStatusResponse {
5025
5025
  */
5026
5026
  RequestId?: string;
5027
5027
  }
5028
+ /**
5029
+ * CutXEvents请求参数结构体
5030
+ */
5031
+ export interface CutXEventsRequest {
5032
+ /**
5033
+ * 实例ID
5034
+ */
5035
+ InstanceId: string;
5036
+ }
5028
5037
  /**
5029
5038
  * SwitchCloudInstanceHA返回参数结构体
5030
5039
  */
@@ -5722,6 +5731,15 @@ export interface RenewPostpaidDBInstanceRequest {
5722
5731
  */
5723
5732
  InstanceId: string;
5724
5733
  }
5734
+ /**
5735
+ * DescribeMigrationDetail请求参数结构体
5736
+ */
5737
+ export interface DescribeMigrationDetailRequest {
5738
+ /**
5739
+ * 迁移任务ID
5740
+ */
5741
+ MigrateId: number;
5742
+ }
5725
5743
  /**
5726
5744
  * DescribeReadOnlyGroupDetails请求参数结构体
5727
5745
  */
@@ -2405,6 +2405,8 @@ export interface CreateCloudRecordingRequest {
2405
2405
  SdkAppId: number;
2406
2406
  /**
2407
2407
  * TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),录制的TRTC房间所对应的RoomId。
2408
+ 注:房间号类型默认为整型,若房间号类型为字符串,请通过RoomIdType指定。
2409
+
2408
2410
  */
2409
2411
  RoomId: string;
2410
2412
  /**
@@ -2629,13 +2631,13 @@ export interface StartAIConversationRequest {
2629
2631
  STTConfig?: STTConfig;
2630
2632
  /**
2631
2633
  * LLM配置。需符合openai规范,为JSON字符串,示例如下:
2632
- <pre> { <br> &emsp; "LLMType": “大模型类型", // String 必填,目前固定为"openai" <br> &emsp; "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的OpenAI API密钥", // String 必填,相当于环境变量中的OPENAI_API_KEY<br> &emsp; "APIBaseUrl": "https://api.openai.com", // String 必填,OpenAI API的基础URL<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
2634
+ <pre> { <br> &emsp; "LLMType": “大模型类型", // String 必填,如:"openai" <br> &emsp; "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br> &emsp; "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
2633
2635
 
2634
2636
  */
2635
2637
  LLMConfig?: string;
2636
2638
  /**
2637
- * TTS配置。目前支持腾讯云TTS, 为JSON字符串,示例如下:
2638
- <pre>{ <br> &emsp; "AppId": "您的应用ID", // String 必填<br> &emsp; "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br> &emsp; "SercetId": "您的密钥ID", // String 必填<br> &emsp; "SercetKey": "您的密钥Key", // String 必填<br> &emsp; "VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href="https://cloud.tencent.com/document/product/1073/34112">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823">语音合成音色列表</a>。<br> &emsp; "Speed": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">语速转换</a><br> &emsp; "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br> &emsp; "PrimaryLanguage": "zh-CN" // String 非必填,主要语言<br> &emsp;}</pre>
2639
+ * TTS配置,为JSON字符串,腾讯云TTS示例如下:
2640
+ <pre>{ <br> &emsp; "AppId": 您的应用ID, // Integer 必填<br> &emsp; "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br> &emsp; "SecretId": "您的密钥ID", // String 必填<br> &emsp; "SecretKey": "您的密钥Key", // String 必填<br> &emsp; "VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href="https://cloud.tencent.com/document/product/1073/34112">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823">语音合成音色列表</a>。<br> &emsp; "Speed": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">语速转换</a><br> &emsp; "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br> &emsp; "PrimaryLanguage": "zh-CN" // String 非必填,主要语言<br> &emsp;}</pre>
2639
2641
  */
2640
2642
  TTSConfig?: string;
2641
2643
  }
@@ -989,6 +989,8 @@ LimitTypes取值范围:
989
989
  EnableSnapshotPolicies(req: EnableSnapshotPoliciesRequest, cb?: (error: string, rep: EnableSnapshotPoliciesResponse) => void): Promise<EnableSnapshotPoliciesResponse>;
990
990
  /**
991
991
  * 本接口(DeleteVpnConnection)用于删除VPN通道。
992
+ >?本接口为异步接口
993
+ >
992
994
  */
993
995
  DeleteVpnConnection(req: DeleteVpnConnectionRequest, cb?: (error: string, rep: DeleteVpnConnectionResponse) => void): Promise<DeleteVpnConnectionResponse>;
994
996
  /**
@@ -1397,6 +1397,8 @@ LimitTypes取值范围:
1397
1397
  }
1398
1398
  /**
1399
1399
  * 本接口(DeleteVpnConnection)用于删除VPN通道。
1400
+ >?本接口为异步接口
1401
+ >
1400
1402
  */
1401
1403
  async DeleteVpnConnection(req, cb) {
1402
1404
  return this.request("DeleteVpnConnection", req, cb);
@@ -9345,6 +9345,26 @@ export interface AllocateAddressesRequest {
9345
9345
  */
9346
9346
  ClientToken?: string;
9347
9347
  }
9348
+ /**
9349
+ * 私网NAT网关跨域信息
9350
+ */
9351
+ export interface PrivateNatCrossDomainInfo {
9352
+ /**
9353
+ * 跨域私网NAT关联的云联网ID
9354
+ 注意:此字段可能返回 null,表示取不到有效值。
9355
+ */
9356
+ CcnId?: string;
9357
+ /**
9358
+ * 跨域私网NAT本端Vpc
9359
+ 注意:此字段可能返回 null,表示取不到有效值。
9360
+ */
9361
+ LocalVpcId?: string;
9362
+ /**
9363
+ * 跨域私网NAT对端Vpc
9364
+ 注意:此字段可能返回 null,表示取不到有效值。
9365
+ */
9366
+ PeerVpcId?: string;
9367
+ }
9348
9368
  /**
9349
9369
  * DescribeDhcpIps返回参数结构体
9350
9370
  */
@@ -10258,6 +10278,31 @@ export interface PrivateNatGateway {
10258
10278
  注意:此字段可能返回 null,表示取不到有效值。
10259
10279
  */
10260
10280
  TagSet?: Array<Tag>;
10281
+ /**
10282
+ * 专线网关唯一`ID`
10283
+ 注意:此字段可能返回 null,表示取不到有效值。
10284
+ */
10285
+ DirectConnectGatewayIds?: Array<string>;
10286
+ /**
10287
+ * 私网网关类型
10288
+ 注意:此字段可能返回 null,表示取不到有效值。
10289
+ */
10290
+ NatType?: string;
10291
+ /**
10292
+ * 私网NAT跨域信息
10293
+ 注意:此字段可能返回 null,表示取不到有效值。
10294
+ */
10295
+ CrossDomainInfo?: PrivateNatCrossDomainInfo;
10296
+ /**
10297
+ * 是否VPC型私网网关
10298
+ 注意:此字段可能返回 null,表示取不到有效值。
10299
+ */
10300
+ VpcType?: boolean;
10301
+ /**
10302
+ * 跨域私网NAT关联的云联网ID
10303
+ 注意:此字段可能返回 null,表示取不到有效值。
10304
+ */
10305
+ CcnId?: string;
10261
10306
  }
10262
10307
  /**
10263
10308
  * DescribeVpnGatewayRoutes返回参数结构体
@@ -268,6 +268,16 @@ it("sqlserver.v20180328.DescribeDatabases", async function () {
268
268
  }
269
269
  })
270
270
 
271
+ it("sqlserver.v20180328.CutXEvents", async function () {
272
+ try {
273
+ const data = await client.CutXEvents({})
274
+ expect(data).to.be.ok
275
+ } catch(error) {
276
+ expect(error.requestId).to.be.ok
277
+ expect(error.code).to.be.ok
278
+ }
279
+ })
280
+
271
281
  it("sqlserver.v20180328.DescribeReadOnlyGroupList", async function () {
272
282
  try {
273
283
  const data = await client.DescribeReadOnlyGroupList({})