tencentcloud-sdk-nodejs 4.0.629 → 4.0.630

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 (49) hide show
  1. package/CHANGELOG.md +165 -0
  2. package/SERVICE_CHANGELOG.md +189 -147
  3. package/package.json +1 -1
  4. package/products.md +15 -15
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apm/v20210622/apm_models.ts +6 -2
  7. package/src/services/billing/v20180709/billing_models.ts +9 -10
  8. package/src/services/cdn/v20180606/cdn_client.ts +2 -2
  9. package/src/services/cdn/v20180606/cdn_models.ts +66 -66
  10. package/src/services/ckafka/v20190819/ckafka_models.ts +6 -6
  11. package/src/services/dcdb/v20180411/dcdb_models.ts +4 -0
  12. package/src/services/essbasic/v20210526/essbasic_models.ts +14 -2
  13. package/src/services/redis/v20180412/redis_client.ts +4 -4
  14. package/src/services/redis/v20180412/redis_models.ts +62 -49
  15. package/src/services/sms/v20210111/sms_client.ts +0 -1
  16. package/src/services/sms/v20210111/sms_models.ts +4 -4
  17. package/src/services/sqlserver/v20180328/sqlserver_client.ts +26 -1
  18. package/src/services/sqlserver/v20180328/sqlserver_models.ts +78 -4
  19. package/src/services/tcr/v20190924/tcr_client.ts +75 -25
  20. package/src/services/tcr/v20190924/tcr_models.ts +385 -151
  21. package/src/services/tdmq/v20200217/tdmq_models.ts +8 -0
  22. package/src/services/vpc/v20170312/vpc_client.ts +1 -1
  23. package/tencentcloud/common/sdk_version.d.ts +1 -1
  24. package/tencentcloud/common/sdk_version.js +1 -1
  25. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +6 -2
  26. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +9 -10
  27. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +2 -2
  28. package/tencentcloud/services/cdn/v20180606/cdn_client.js +2 -2
  29. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +66 -66
  30. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +6 -6
  31. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +4 -0
  32. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +14 -2
  33. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +4 -4
  34. package/tencentcloud/services/redis/v20180412/redis_client.js +4 -4
  35. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +62 -49
  36. package/tencentcloud/services/sms/v20210111/sms_client.d.ts +0 -1
  37. package/tencentcloud/services/sms/v20210111/sms_client.js +0 -1
  38. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +4 -4
  39. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +9 -1
  40. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +12 -0
  41. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +73 -4
  42. package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +21 -5
  43. package/tencentcloud/services/tcr/v20190924/tcr_client.js +30 -6
  44. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +373 -149
  45. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +8 -0
  46. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
  47. package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
  48. package/test/sqlserver.v20180328.test.js +20 -0
  49. package/test/tcr.v20190924.test.js +44 -4
@@ -2590,6 +2590,10 @@ export interface ModifyRocketMQClusterRequest {
2590
2590
  * 说明信息,不超过128个字符
2591
2591
  */
2592
2592
  Remark?: string;
2593
+ /**
2594
+ * 是否开启HTTP公网访问
2595
+ */
2596
+ PublicAccessEnabled?: boolean;
2593
2597
  }
2594
2598
  /**
2595
2599
  * vhostd信息
@@ -7199,6 +7203,10 @@ export interface ModifyRocketMQNamespaceRequest {
7199
7203
  * 说明,最大128个字符
7200
7204
  */
7201
7205
  Remark?: string;
7206
+ /**
7207
+ * 是否开启公网访问
7208
+ */
7209
+ PublicAccessEnabled?: boolean;
7202
7210
  }
7203
7211
  /**
7204
7212
  * DeleteAMQPVHost返回参数结构体
@@ -508,7 +508,7 @@ export declare class Client extends AbstractClient {
508
508
  * 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。
509
509
  * 将 EIP 绑定到主网卡的主内网IP上,绑定过程会把其上绑定的普通公网 IP 自动解绑并释放。
510
510
  * 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。
511
- * 将EIP绑定到绑定内网型CLB实例的功能处于内测阶段,如需使用,请提交内测申请。
511
+ * 将 EIP 绑定到内网型CLB实例的功能处于内测阶段,如需使用,请提交内测申请。
512
512
  * 将 EIP 绑定到NAT网关,请使用接口[AssociateNatGatewayAddress](https://cloud.tencent.com/document/product/215/36722)
513
513
  * EIP 如果欠费或被封堵,则不能被绑定。
514
514
  * 只有状态为 UNBIND 的 EIP 才能够被绑定。
@@ -744,7 +744,7 @@ class Client extends abstract_client_1.AbstractClient {
744
744
  * 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。
745
745
  * 将 EIP 绑定到主网卡的主内网IP上,绑定过程会把其上绑定的普通公网 IP 自动解绑并释放。
746
746
  * 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。
747
- * 将EIP绑定到绑定内网型CLB实例的功能处于内测阶段,如需使用,请提交内测申请。
747
+ * 将 EIP 绑定到内网型CLB实例的功能处于内测阶段,如需使用,请提交内测申请。
748
748
  * 将 EIP 绑定到NAT网关,请使用接口[AssociateNatGatewayAddress](https://cloud.tencent.com/document/product/215/36722)
749
749
  * EIP 如果欠费或被封堵,则不能被绑定。
750
750
  * 只有状态为 UNBIND 的 EIP 才能够被绑定。
@@ -748,6 +748,16 @@ it("sqlserver.v20180328.DeleteMigration", async function () {
748
748
  }
749
749
  })
750
750
 
751
+ it("sqlserver.v20180328.ModifyInstanceEncryptAttributes", async function () {
752
+ try {
753
+ const data = await client.ModifyInstanceEncryptAttributes({})
754
+ expect(data).to.be.ok
755
+ } catch(error) {
756
+ expect(error.requestId).to.be.ok
757
+ expect(error.code).to.be.ok
758
+ }
759
+ })
760
+
751
761
  it("sqlserver.v20180328.ModifyBackupName", async function () {
752
762
  try {
753
763
  const data = await client.ModifyBackupName({})
@@ -778,6 +788,16 @@ it("sqlserver.v20180328.ModifyIncrementalMigration", async function () {
778
788
  }
779
789
  })
780
790
 
791
+ it("sqlserver.v20180328.ModifyDBEncryptAttributes", async function () {
792
+ try {
793
+ const data = await client.ModifyDBEncryptAttributes({})
794
+ expect(data).to.be.ok
795
+ } catch(error) {
796
+ expect(error.requestId).to.be.ok
797
+ expect(error.code).to.be.ok
798
+ }
799
+ })
800
+
781
801
  it("sqlserver.v20180328.RemoveBackups", async function () {
782
802
  try {
783
803
  const data = await client.RemoveBackups({})
@@ -218,6 +218,16 @@ it("tcr.v20190924.DescribeReplicationInstanceCreateTasks", async function () {
218
218
  }
219
219
  })
220
220
 
221
+ it("tcr.v20190924.ModifyCustomAccount", async function () {
222
+ try {
223
+ const data = await client.ModifyCustomAccount({})
224
+ expect(data).to.be.ok
225
+ } catch(error) {
226
+ expect(error.requestId).to.be.ok
227
+ expect(error.code).to.be.ok
228
+ }
229
+ })
230
+
221
231
  it("tcr.v20190924.DeleteImageAccelerateService", async function () {
222
232
  try {
223
233
  const data = await client.DeleteImageAccelerateService({})
@@ -358,9 +368,9 @@ it("tcr.v20190924.DescribeTagRetentionExecution", async function () {
358
368
  }
359
369
  })
360
370
 
361
- it("tcr.v20190924.DeleteInstanceCustomizedDomain", async function () {
371
+ it("tcr.v20190924.DeleteRepositoryPersonal", async function () {
362
372
  try {
363
- const data = await client.DeleteInstanceCustomizedDomain({})
373
+ const data = await client.DeleteRepositoryPersonal({})
364
374
  expect(data).to.be.ok
365
375
  } catch(error) {
366
376
  expect(error.requestId).to.be.ok
@@ -488,6 +498,16 @@ it("tcr.v20190924.DescribeRegions", async function () {
488
498
  }
489
499
  })
490
500
 
501
+ it("tcr.v20190924.DeleteCustomAccount", async function () {
502
+ try {
503
+ const data = await client.DeleteCustomAccount({})
504
+ expect(data).to.be.ok
505
+ } catch(error) {
506
+ expect(error.requestId).to.be.ok
507
+ expect(error.code).to.be.ok
508
+ }
509
+ })
510
+
491
511
  it("tcr.v20190924.DescribeSecurityPolicies", async function () {
492
512
  try {
493
513
  const data = await client.DescribeSecurityPolicies({})
@@ -598,6 +618,16 @@ it("tcr.v20190924.CreateUserPersonal", async function () {
598
618
  }
599
619
  })
600
620
 
621
+ it("tcr.v20190924.DescribeCustomAccounts", async function () {
622
+ try {
623
+ const data = await client.DescribeCustomAccounts({})
624
+ expect(data).to.be.ok
625
+ } catch(error) {
626
+ expect(error.requestId).to.be.ok
627
+ expect(error.code).to.be.ok
628
+ }
629
+ })
630
+
601
631
  it("tcr.v20190924.DescribeInstanceCustomizedDomain", async function () {
602
632
  try {
603
633
  const data = await client.DescribeInstanceCustomizedDomain({})
@@ -678,6 +708,16 @@ it("tcr.v20190924.DescribeChartDownloadInfo", async function () {
678
708
  }
679
709
  })
680
710
 
711
+ it("tcr.v20190924.CreateCustomAccount", async function () {
712
+ try {
713
+ const data = await client.CreateCustomAccount({})
714
+ expect(data).to.be.ok
715
+ } catch(error) {
716
+ expect(error.requestId).to.be.ok
717
+ expect(error.code).to.be.ok
718
+ }
719
+ })
720
+
681
721
  it("tcr.v20190924.DescribeUserQuotaPersonal", async function () {
682
722
  try {
683
723
  const data = await client.DescribeUserQuotaPersonal({})
@@ -928,9 +968,9 @@ it("tcr.v20190924.DescribeInstances", async function () {
928
968
  }
929
969
  })
930
970
 
931
- it("tcr.v20190924.DeleteRepositoryPersonal", async function () {
971
+ it("tcr.v20190924.DeleteInstanceCustomizedDomain", async function () {
932
972
  try {
933
- const data = await client.DeleteRepositoryPersonal({})
973
+ const data = await client.DeleteInstanceCustomizedDomain({})
934
974
  expect(data).to.be.ok
935
975
  } catch(error) {
936
976
  expect(error.requestId).to.be.ok