tencentcloud-sdk-nodejs 4.0.756 → 4.0.758

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 (69) hide show
  1. package/CHANGELOG.md +235 -0
  2. package/README.md +3 -2
  3. package/SERVICE_CHANGELOG.md +234 -80
  4. package/package.json +1 -1
  5. package/products.md +18 -17
  6. package/src/common/sdk_version.ts +1 -1
  7. package/src/services/antiddos/v20200309/antiddos_client.ts +25 -12
  8. package/src/services/antiddos/v20200309/antiddos_models.ts +91 -42
  9. package/src/services/cdb/v20170320/cdb_models.ts +4 -0
  10. package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +1 -1
  11. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +2 -2
  12. package/src/services/cvm/v20170312/cvm_models.ts +12 -12
  13. package/src/services/eb/v20210416/eb_models.ts +2 -2
  14. package/src/services/ess/v20201111/ess_models.ts +9 -1
  15. package/src/services/essbasic/v20210526/essbasic_models.ts +10 -3
  16. package/src/services/hai/v20230812/hai_client.ts +31 -7
  17. package/src/services/hai/v20230812/hai_models.ts +66 -4
  18. package/src/services/index.ts +1 -0
  19. package/src/services/ioa/index.ts +5 -0
  20. package/src/services/ioa/v20220601/index.ts +6 -0
  21. package/src/services/ioa/v20220601/ioa_client.ts +49 -0
  22. package/src/services/ioa/v20220601/ioa_models.ts +213 -0
  23. package/src/services/lcic/v20220817/lcic_models.ts +8 -0
  24. package/src/services/lighthouse/v20200324/lighthouse_models.ts +35 -27
  25. package/src/services/omics/v20221128/omics_client.ts +1 -1
  26. package/src/services/omics/v20221128/omics_models.ts +22 -4
  27. package/src/services/tdmq/v20200217/tdmq_models.ts +13 -5
  28. package/src/services/teo/v20220901/teo_models.ts +30 -18
  29. package/src/services/tsf/v20180326/tsf_client.ts +1 -1
  30. package/src/services/tsf/v20180326/tsf_models.ts +5 -5
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +10 -6
  34. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +13 -7
  35. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +88 -42
  36. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
  37. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +1 -1
  38. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +1 -1
  39. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +2 -2
  40. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +12 -12
  41. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +2 -2
  42. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +9 -1
  43. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -3
  44. package/tencentcloud/services/hai/v20230812/hai_client.d.ts +11 -3
  45. package/tencentcloud/services/hai/v20230812/hai_client.js +15 -3
  46. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +62 -4
  47. package/tencentcloud/services/index.d.ts +1 -0
  48. package/tencentcloud/services/index.js +2 -0
  49. package/tencentcloud/services/ioa/index.d.ts +6 -0
  50. package/tencentcloud/services/ioa/index.js +7 -0
  51. package/tencentcloud/services/ioa/v20220601/index.d.ts +6 -0
  52. package/tencentcloud/services/ioa/v20220601/index.js +9 -0
  53. package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +14 -0
  54. package/tencentcloud/services/ioa/v20220601/ioa_client.js +37 -0
  55. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +189 -0
  56. package/tencentcloud/services/ioa/v20220601/ioa_models.js +18 -0
  57. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +8 -0
  58. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +35 -27
  59. package/tencentcloud/services/omics/v20221128/omics_client.d.ts +1 -1
  60. package/tencentcloud/services/omics/v20221128/omics_client.js +1 -1
  61. package/tencentcloud/services/omics/v20221128/omics_models.d.ts +22 -4
  62. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +13 -5
  63. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +30 -18
  64. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
  65. package/tencentcloud/services/tsf/v20180326/tsf_client.js +1 -1
  66. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +5 -5
  67. package/test/antiddos.v20200309.test.js +14 -4
  68. package/test/hai.v20230812.test.js +22 -2
  69. package/test/ioa.v20220601.test.js +31 -0
@@ -334,11 +334,11 @@ export interface InstanceDeniedActions {
334
334
  * 实例 ID。
335
335
  注意:此字段可能返回 null,表示取不到有效值。
336
336
  */
337
- InstanceId: string;
337
+ InstanceId?: string;
338
338
  /**
339
339
  * 操作限制列表。
340
340
  */
341
- DeniedActions: Array<DeniedAction>;
341
+ DeniedActions?: Array<DeniedAction>;
342
342
  }
343
343
  /**
344
344
  * InquirePriceCreateDisks请求参数结构体
@@ -1098,30 +1098,30 @@ export interface KeyPair {
1098
1098
  /**
1099
1099
  * 密钥对 ID ,是密钥对的唯一标识。
1100
1100
  */
1101
- KeyId: string;
1101
+ KeyId?: string;
1102
1102
  /**
1103
1103
  * 密钥对名称。
1104
1104
  */
1105
- KeyName: string;
1105
+ KeyName?: string;
1106
1106
  /**
1107
1107
  * 密钥对的纯文本公钥。
1108
1108
  */
1109
- PublicKey: string;
1109
+ PublicKey?: string;
1110
1110
  /**
1111
1111
  * 密钥对关联的实例 ID 列表。
1112
1112
  注意:此字段可能返回 null,表示取不到有效值。
1113
1113
  */
1114
- AssociatedInstanceIds: Array<string>;
1114
+ AssociatedInstanceIds?: Array<string>;
1115
1115
  /**
1116
1116
  * 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ
1117
1117
  注意:此字段可能返回 null,表示取不到有效值。
1118
1118
  */
1119
- CreatedTime: string;
1119
+ CreatedTime?: string;
1120
1120
  /**
1121
1121
  * 密钥对私钥。
1122
1122
  注意:此字段可能返回 null,表示取不到有效值。
1123
1123
  */
1124
- PrivateKey: string;
1124
+ PrivateKey?: string;
1125
1125
  }
1126
1126
  /**
1127
1127
  * DescribeFirewallRulesTemplate请求参数结构体
@@ -1469,11 +1469,11 @@ export interface SnapshotDeniedActions {
1469
1469
  /**
1470
1470
  * 快照 ID。
1471
1471
  */
1472
- SnapshotId: string;
1472
+ SnapshotId?: string;
1473
1473
  /**
1474
1474
  * 操作限制列表。
1475
1475
  */
1476
- DeniedActions: Array<DeniedAction>;
1476
+ DeniedActions?: Array<DeniedAction>;
1477
1477
  }
1478
1478
  /**
1479
1479
  * TerminateInstances返回参数结构体
@@ -2284,19 +2284,19 @@ export interface DiskReturnable {
2284
2284
  /**
2285
2285
  * 云硬盘ID。
2286
2286
  */
2287
- DiskId: string;
2287
+ DiskId?: string;
2288
2288
  /**
2289
2289
  * 云硬盘是否可退还。
2290
2290
  */
2291
- IsReturnable: boolean;
2291
+ IsReturnable?: boolean;
2292
2292
  /**
2293
2293
  * 云硬盘退还失败错误码。
2294
2294
  */
2295
- ReturnFailCode: number;
2295
+ ReturnFailCode?: number;
2296
2296
  /**
2297
2297
  * 云硬盘退还失败错误信息。
2298
2298
  */
2299
- ReturnFailMessage: string;
2299
+ ReturnFailMessage?: string;
2300
2300
  }
2301
2301
  /**
2302
2302
  * DescribeBlueprints返回参数结构体
@@ -2595,11 +2595,11 @@ export interface DescribeDockerActivitiesResponse {
2595
2595
  /**
2596
2596
  * 总数量。
2597
2597
  */
2598
- TotalCount: number;
2598
+ TotalCount?: number;
2599
2599
  /**
2600
2600
  * Docker活动列表。
2601
2601
  */
2602
- DockerActivitySet: Array<DockerActivity>;
2602
+ DockerActivitySet?: Array<DockerActivity>;
2603
2603
  /**
2604
2604
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2605
2605
  */
@@ -2812,15 +2812,15 @@ export interface DeniedAction {
2812
2812
  /**
2813
2813
  * 限制操作名。
2814
2814
  */
2815
- Action: string;
2815
+ Action?: string;
2816
2816
  /**
2817
2817
  * 限制操作消息码。
2818
2818
  */
2819
- Code: string;
2819
+ Code?: string;
2820
2820
  /**
2821
2821
  * 限制操作消息。
2822
2822
  */
2823
- Message: string;
2823
+ Message?: string;
2824
2824
  }
2825
2825
  /**
2826
2826
  * DescribeAllScenes返回参数结构体
@@ -3246,11 +3246,11 @@ export interface DockerActivity {
3246
3246
  /**
3247
3247
  * 活动ID。
3248
3248
  */
3249
- ActivityId: string;
3249
+ ActivityId?: string;
3250
3250
  /**
3251
3251
  * 活动名称。
3252
3252
  */
3253
- ActivityName: string;
3253
+ ActivityName?: string;
3254
3254
  /**
3255
3255
  * 活动状态。取值范围:
3256
3256
  <li>INIT:表示初始化,活动尚未执行</li>
@@ -3258,24 +3258,24 @@ export interface DockerActivity {
3258
3258
  <li>SUCCESS:表示活动执行成功</li>
3259
3259
  <li>FAILED:表示活动执行失败</li>
3260
3260
  */
3261
- ActivityState: string;
3261
+ ActivityState?: string;
3262
3262
  /**
3263
3263
  * 活动执行的命令输出,以base64编码。
3264
3264
  */
3265
- ActivityCommandOutput: string;
3265
+ ActivityCommandOutput?: string;
3266
3266
  /**
3267
3267
  * 容器ID列表。
3268
3268
  */
3269
- ContainerIds: Array<string>;
3269
+ ContainerIds?: Array<string>;
3270
3270
  /**
3271
3271
  * 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
3272
3272
  */
3273
- CreatedTime: string;
3273
+ CreatedTime?: string;
3274
3274
  /**
3275
3275
  * 结束时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
3276
3276
  注意:此字段可能返回 null,表示取不到有效值。
3277
3277
  */
3278
- EndTime: string;
3278
+ EndTime?: string;
3279
3279
  }
3280
3280
  /**
3281
3281
  * DescribeFirewallTemplateApplyRecords返回参数结构体
@@ -4090,6 +4090,14 @@ export interface ResetInstanceRequest {
4090
4090
  * 镜像 ID。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。
4091
4091
  */
4092
4092
  BlueprintId?: string;
4093
+ /**
4094
+ * 要创建的容器配置列表。
4095
+ */
4096
+ Containers?: Array<DockerContainerConfiguration>;
4097
+ /**
4098
+ * 实例登录信息配置。默认缺失情况下代表用户选择实例创建后设置登录密码或绑定密钥。
4099
+ */
4100
+ LoginConfiguration?: LoginConfiguration;
4093
4101
  }
4094
4102
  /**
4095
4103
  * DescribeDiskConfigs返回参数结构体
@@ -4863,7 +4871,7 @@ export interface InstanceChargePrepaid {
4863
4871
  */
4864
4872
  Period: number;
4865
4873
  /**
4866
- * 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费<br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费,用户需要手动续费<br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不自动续费,且不通知<br><br>默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
4874
+ * 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费,用户需要手动续费</li><br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不自动续费,且不通知</li><br><br>默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
4867
4875
  */
4868
4876
  RenewFlag?: string;
4869
4877
  }
@@ -16,7 +16,7 @@ export declare class Client extends AbstractClient {
16
16
  */
17
17
  DescribeEnvironments(req: DescribeEnvironmentsRequest, cb?: (error: string, rep: DescribeEnvironmentsResponse) => void): Promise<DescribeEnvironmentsResponse>;
18
18
  /**
19
- * 查询任务详情文件。
19
+ * 获取任务详情文件。
20
20
  */
21
21
  GetRunMetadataFile(req: GetRunMetadataFileRequest, cb?: (error: string, rep: GetRunMetadataFileResponse) => void): Promise<GetRunMetadataFileResponse>;
22
22
  /**
@@ -40,7 +40,7 @@ class Client extends abstract_client_1.AbstractClient {
40
40
  return this.request("DescribeEnvironments", req, cb);
41
41
  }
42
42
  /**
43
- * 查询任务详情文件。
43
+ * 获取任务详情文件。
44
44
  */
45
45
  async GetRunMetadataFile(req, cb) {
46
46
  return this.request("GetRunMetadataFile", req, cb);
@@ -154,6 +154,11 @@ export interface GetRunMetadataFileResponse {
154
154
  * 文件预签名链接,一分钟内有效。
155
155
  */
156
156
  CosSignedUrl?: string;
157
+ /**
158
+ * 批量文件预签名链接,一分钟内有效。
159
+ 注意:此字段可能返回 null,表示取不到有效值。
160
+ */
161
+ CosSignedUrls?: Array<string>;
157
162
  /**
158
163
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
159
164
  */
@@ -1019,6 +1024,11 @@ export interface GetRunMetadataFileRequest {
1019
1024
  * 任务Uuid。
1020
1025
  */
1021
1026
  RunUuid: string;
1027
+ /**
1028
+ * 项目ID。
1029
+ (不填使用指定地域下的默认项目)
1030
+ */
1031
+ ProjectId?: string;
1022
1032
  /**
1023
1033
  * 需要获取的文件名。
1024
1034
 
@@ -1031,12 +1041,20 @@ export interface GetRunMetadataFileRequest {
1031
1041
  - execution_trace.txt
1032
1042
  - pipeline_dag.html
1033
1043
  */
1034
- Key: string;
1044
+ Key?: string;
1035
1045
  /**
1036
- * 项目ID。
1037
- (不填使用指定地域下的默认项目)
1046
+ * 需要批量获取的文件名。
1047
+
1048
+ 默认支持以下文件:
1049
+ - nextflow.log
1050
+
1051
+ 提交时NFOption中report指定为true时,额外支持以下文件:
1052
+ - execution_report.html
1053
+ - execution_timeline.html
1054
+ - execution_trace.txt
1055
+ - pipeline_dag.html
1038
1056
  */
1039
- ProjectId?: string;
1057
+ Keys?: Array<string>;
1040
1058
  }
1041
1059
  /**
1042
1060
  * RunWorkflow返回参数结构体
@@ -6978,27 +6978,35 @@ export interface PulsarNetworkAccessPointInfo {
6978
6978
  * vpc的id,支撑网和公网接入点,该字段为空
6979
6979
  注意:此字段可能返回 null,表示取不到有效值。
6980
6980
  */
6981
- VpcId: string;
6981
+ VpcId?: string;
6982
6982
  /**
6983
6983
  * 子网id,支撑网和公网接入点,该字段为空
6984
6984
  注意:此字段可能返回 null,表示取不到有效值。
6985
6985
  */
6986
- SubnetId: string;
6986
+ SubnetId?: string;
6987
6987
  /**
6988
6988
  * 接入地址
6989
6989
  */
6990
- Endpoint: string;
6990
+ Endpoint?: string;
6991
6991
  /**
6992
6992
  * 实例id
6993
6993
  */
6994
- InstanceId: string;
6994
+ InstanceId?: string;
6995
6995
  /**
6996
6996
  * 接入点类型:
6997
6997
  0:支撑网接入点
6998
6998
  1:VPC接入点
6999
6999
  2:公网接入点
7000
7000
  */
7001
- RouteType: number;
7001
+ RouteType?: number;
7002
+ /**
7003
+ * 0:本地域访问,由于并没有配置跨地域容灾,所该类型的接入点,无法进行异地切换、异地访问切回;
7004
+ 1:本地域访问,由于配置了跨地域容灾,随时可以进行异地切换,该状态用于主集群的接入点
7005
+ 2:跨地域访问,已经完成了异地切换,该状态用于源集群的接入点,该状态下的接入点不可删除
7006
+ 3:跨地域访问,随时可以进行异地访问切回,该状态用于目标集群的接入点,该状态下的接入点不可删除
7007
+ 注意:此字段可能返回 null,表示取不到有效值。
7008
+ */
7009
+ OperationType?: number;
7002
7010
  }
7003
7011
  /**
7004
7012
  * CreateRocketMQTopic返回参数结构体
@@ -188,7 +188,7 @@ export interface DescribeTopL7CacheDataRequest {
188
188
  */
189
189
  ZoneIds?: Array<string>;
190
190
  /**
191
- * 查询前多少个数据,最大值为1000,不填默认默认为10, 表示查询前top 10的数据。
191
+ * 查询前多少个数据,最大值为1000,不填默认为10, 表示查询前top 10的数据。
192
192
  */
193
193
  Limit?: number;
194
194
  /**
@@ -1110,41 +1110,52 @@ export interface OriginInfo {
1110
1110
  /**
1111
1111
  * 源站类型,取值有:
1112
1112
  <li>IP_DOMAIN:IPV4、IPV6 或域名类型源站;</li>
1113
- <li>COSCOS 源;</li>
1113
+ <li>COS:腾讯云 COS 对象存储源站;</li>
1114
+ <li>AWS_S3:AWS S3 对象存储源站;</li>
1114
1115
  <li>ORIGIN_GROUP:源站组类型源站;</li>
1115
- <li>AWS_S3:S3兼容对象存储源站;</li>
1116
- <li>LB: 负载均衡类型源站;</li>
1117
- <li>SPACE:EdgeOne Shield Space 存储。</li>
1116
+ <li>VODEO:云点播(混合云版);</li>
1117
+ <li>SPACE:源站卸载,当前仅白名单开放;</li>
1118
+ <li>LB:负载均衡,当前仅白名单开放。</li>
1118
1119
  */
1119
1120
  OriginType: string;
1120
1121
  /**
1121
- * 源站地址,当 OriginType 参数指定为 ORIGIN_GROUP 时,该参数填写源站组 ID,其他情况下填写源站地址。
1122
+ * 源站地址,根据 OriginType 的取值分为以下情况:
1123
+ <li>当 OriginType = IP_DOMAIN 时,该参数请填写 IPv4、IPv6 地址或域名;</li>
1124
+ <li>当 OriginType = COS 时,该参数请填写 COS 桶的访问域名;</li>
1125
+ <li>当 OriginType = AWS_S3,该参数请填写 S3 桶的访问域名;</li>
1126
+ <li>当 OriginType = ORIGIN_GROUP 时,该参数请填写源站组 ID;</li>
1127
+ <li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数填写 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数请填写对应存储桶域名;</li>
1128
+ <li>当 OriginType = LB 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;</li>
1129
+ <li>当 OriginType = SPACE 时,该参数请填写源站卸载空间 ID,该功能当前仅白名单开放。</li>
1122
1130
  */
1123
1131
  Origin: string;
1124
1132
  /**
1125
- * 备用源站组 ID,该参数在 OriginType 参数指定为 ORIGIN_GROUP 时生效,为空表示不使用备用源站。
1133
+ * 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 时生效,该字段为旧版能力,调用后控制台无法进行配置修改,如需使用请提交工单咨询。
1126
1134
  */
1127
1135
  BackupOrigin?: string;
1128
1136
  /**
1129
- * 指定是否允许访问私有对象存储源站,当源站类型 OriginType=COS 或 AWS_S3 时有效,取值有:
1137
+ * 指定是否允许访问私有对象存储源站,该参数仅当源站类型 OriginType = COS 或 AWS_S3 时会生效,取值有:
1130
1138
  <li>on:使用私有鉴权;</li>
1131
- <li>off:不使用私有鉴权。</li>默认值:off。
1139
+ <li>off:不使用私有鉴权。</li>
1140
+ 不填写时,默认值为off。
1132
1141
  */
1133
1142
  PrivateAccess?: string;
1134
1143
  /**
1135
- * 私有鉴权使用参数,当源站类型 PrivateAccess=on 时有效。
1144
+ * 私有鉴权使用参数,该参数仅当源站类型 PrivateAccess = on 时会生效。
1136
1145
  */
1137
1146
  PrivateParameters?: Array<PrivateParameter>;
1138
1147
  /**
1139
- * MO 子应用 ID
1148
+ * VODEO 子应用 ID。该参数当 OriginType = VODEO 时必填。
1140
1149
  */
1141
1150
  VodeoSubAppId?: number;
1142
1151
  /**
1143
- * MO 分发范围,取值有: <li>All:全部</li> <li>Bucket:存储桶</li>
1152
+ * VODEO 分发范围,该参数当 OriginType = VODEO 时必填。取值有:
1153
+ <li>All:当前应用下所有存储桶;</li>
1154
+ <li>Bucket:指定的某一个存储桶。</li>
1144
1155
  */
1145
1156
  VodeoDistributionRange?: string;
1146
1157
  /**
1147
- * MO 存储桶 ID,分发范围(DistributionRange)为存储桶(Bucket)时必填
1158
+ * VODEO 存储桶 ID,该参数当 OriginType = VODEO 且 VodeoDistributionRange = Bucket 时必填。
1148
1159
  */
1149
1160
  VodeoBucketId?: string;
1150
1161
  }
@@ -2000,6 +2011,7 @@ export interface Zone {
2000
2011
  <li> full:NS 接入;</li>
2001
2012
  <li> partial:CNAME 接入;</li>
2002
2013
  <li> noDomainAccess:无域名接入;</li>
2014
+ <li> vodeo:开启 VODEO 后默认接入。</li>
2003
2015
  */
2004
2016
  Type?: string;
2005
2017
  /**
@@ -2966,7 +2978,7 @@ export interface DescribeTopL7AnalysisDataRequest {
2966
2978
  */
2967
2979
  ZoneIds?: Array<string>;
2968
2980
  /**
2969
- * 查询前多少个数据,最大值为1000,不填默认默认为: 10, 表示查询前top10的数据。
2981
+ * 查询前多少个数据,最大值为1000,不填默认为10, 表示查询前top10的数据。
2970
2982
  */
2971
2983
  Limit?: number;
2972
2984
  /**
@@ -6774,14 +6786,14 @@ export interface Resource {
6774
6786
  Type?: string;
6775
6787
  }
6776
6788
  /**
6777
- * 对象存储源站记录私有鉴权参数
6789
+ * 对象存储源站私有鉴权参数
6778
6790
  */
6779
6791
  export interface PrivateParameter {
6780
6792
  /**
6781
6793
  * 私有鉴权参数名称,取值有:
6782
- <li>AccessKeyId:鉴权参数Access Key ID;</li>
6783
- <li>SecretAccessKey:鉴权参数Secret Access Key;</li>
6784
- <li>SignatureVersion:鉴权版本,v2或者v4;</li>
6794
+ <li>AccessKeyId:鉴权参数 Access Key ID;</li>
6795
+ <li>SecretAccessKey:鉴权参数 Secret Access Key;</li>
6796
+ <li>SignatureVersion:鉴权版本,v2 或者 v4;</li>
6785
6797
  <li>Region:存储桶地域。</li>
6786
6798
  */
6787
6799
  Name: string;
@@ -132,7 +132,7 @@ export declare class Client extends AbstractClient {
132
132
  */
133
133
  DescribeFileConfigs(req: DescribeFileConfigsRequest, cb?: (error: string, rep: DescribeFileConfigsResponse) => void): Promise<DescribeFileConfigsResponse>;
134
134
  /**
135
- * 创建参数模板,并返回模板详细信息
135
+ * 创建参数模版,并返回模版详细信息
136
136
  */
137
137
  CreateConfigTemplateWithDetailResp(req: CreateConfigTemplateWithDetailRespRequest, cb?: (error: string, rep: CreateConfigTemplateWithDetailRespResponse) => void): Promise<CreateConfigTemplateWithDetailRespResponse>;
138
138
  /**
@@ -214,7 +214,7 @@ class Client extends abstract_client_1.AbstractClient {
214
214
  return this.request("DescribeFileConfigs", req, cb);
215
215
  }
216
216
  /**
217
- * 创建参数模板,并返回模板详细信息
217
+ * 创建参数模版,并返回模版详细信息
218
218
  */
219
219
  async CreateConfigTemplateWithDetailResp(req, cb) {
220
220
  return this.request("CreateConfigTemplateWithDetailResp", req, cb);
@@ -3604,7 +3604,7 @@ export interface DescribeSimpleApplicationsRequest {
3604
3604
  */
3605
3605
  export interface DescribeDeliveryConfigByGroupIdResponse {
3606
3606
  /**
3607
- * 投递kafak配置项
3607
+ * 投递kafka配置项
3608
3608
  */
3609
3609
  Result?: SimpleKafkaDeliveryConfig;
3610
3610
  /**
@@ -10420,11 +10420,11 @@ export interface DescribeInvocationMetricScatterPlotRequest {
10420
10420
  */
10421
10421
  Period?: number;
10422
10422
  /**
10423
- * 查询指标维度
10423
+ * 查询指标维度, 不能为空。可选 NamespaceId, GroupId, InstanceId, OperationName, ServiceName, PeerServiceName, PeerOperationName
10424
10424
  */
10425
10425
  MetricDimensions?: Array<MetricDimension>;
10426
10426
  /**
10427
- * 查询指标名
10427
+ * 查询指标名, 不能为空。仅支持 range_count_duratioin 为 key 下的 sum 方法
10428
10428
  */
10429
10429
  Metrics?: Array<Metric>;
10430
10430
  /**
@@ -12241,10 +12241,10 @@ export interface DescribeUnitApiUseDetailResponse {
12241
12241
  */
12242
12242
  export interface DescribeInvocationMetricScatterPlotResponse {
12243
12243
  /**
12244
- * 多值时间抽统计指标
12244
+ * 多值时间统计指标
12245
12245
  注意:此字段可能返回 null,表示取不到有效值。
12246
12246
  */
12247
- Result: InvocationMetricScatterPlot;
12247
+ Result?: InvocationMetricScatterPlot;
12248
12248
  /**
12249
12249
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12250
12250
  */
@@ -348,6 +348,16 @@ it("antiddos.v20200309.DescribeNewL7Rules", async function () {
348
348
  }
349
349
  })
350
350
 
351
+ it("antiddos.v20200309.DescribeIpBlockList", async function () {
352
+ try {
353
+ const data = await client.DescribeIpBlockList({})
354
+ expect(data).to.be.ok
355
+ } catch(error) {
356
+ expect(error.requestId).to.be.ok
357
+ expect(error.code).to.be.ok
358
+ }
359
+ })
360
+
351
361
  it("antiddos.v20200309.ModifyCCLevelPolicy", async function () {
352
362
  try {
353
363
  const data = await client.ModifyCCLevelPolicy({})
@@ -938,9 +948,9 @@ it("antiddos.v20200309.CreateWaterPrintKey", async function () {
938
948
  }
939
949
  })
940
950
 
941
- it("antiddos.v20200309.DeleteCCRequestLimitPolicy", async function () {
951
+ it("antiddos.v20200309.ModifyDDoSGeoIPBlockConfig", async function () {
942
952
  try {
943
- const data = await client.DeleteCCRequestLimitPolicy({})
953
+ const data = await client.ModifyDDoSGeoIPBlockConfig({})
944
954
  expect(data).to.be.ok
945
955
  } catch(error) {
946
956
  expect(error.requestId).to.be.ok
@@ -948,9 +958,9 @@ it("antiddos.v20200309.DeleteCCRequestLimitPolicy", async function () {
948
958
  }
949
959
  })
950
960
 
951
- it("antiddos.v20200309.ModifyDDoSGeoIPBlockConfig", async function () {
961
+ it("antiddos.v20200309.DeleteCCRequestLimitPolicy", async function () {
952
962
  try {
953
- const data = await client.ModifyDDoSGeoIPBlockConfig({})
963
+ const data = await client.DeleteCCRequestLimitPolicy({})
954
964
  expect(data).to.be.ok
955
965
  } catch(error) {
956
966
  expect(error.requestId).to.be.ok
@@ -68,6 +68,26 @@ it("hai.v20230812.RunInstances", async function () {
68
68
  }
69
69
  })
70
70
 
71
+ it("hai.v20230812.StartInstance", async function () {
72
+ try {
73
+ const data = await client.StartInstance({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
81
+ it("hai.v20230812.TerminateInstances", async function () {
82
+ try {
83
+ const data = await client.TerminateInstances({})
84
+ expect(data).to.be.ok
85
+ } catch(error) {
86
+ expect(error.requestId).to.be.ok
87
+ expect(error.code).to.be.ok
88
+ }
89
+ })
90
+
71
91
  it("hai.v20230812.DescribeInstanceNetworkStatus", async function () {
72
92
  try {
73
93
  const data = await client.DescribeInstanceNetworkStatus({})
@@ -98,9 +118,9 @@ it("hai.v20230812.InquirePriceRunInstances", async function () {
98
118
  }
99
119
  })
100
120
 
101
- it("hai.v20230812.TerminateInstances", async function () {
121
+ it("hai.v20230812.StopInstance", async function () {
102
122
  try {
103
- const data = await client.TerminateInstances({})
123
+ const data = await client.StopInstance({})
104
124
  expect(data).to.be.ok
105
125
  } catch(error) {
106
126
  expect(error.requestId).to.be.ok
@@ -0,0 +1,31 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.ioa.v20220601.Client({
5
+ credential: {
6
+ secretId: process.env.secretId,
7
+ secretKey: process.env.secretKey,
8
+ },
9
+ region: "ap-shanghai",
10
+ profile: {
11
+ signMethod: "TC3-HMAC-SHA256",
12
+ httpProfile: {
13
+ reqMethod: "POST",
14
+ reqTimeout: 30,
15
+ endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
+ },
17
+ },
18
+ })
19
+ describe("ioa.v20220601.test.js", function () {
20
+
21
+ it("ioa.v20220601.DescribeDevices", async function () {
22
+ try {
23
+ const data = await client.DescribeDevices({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
31
+ })