tencentcloud-sdk-nodejs-cynosdb 4.0.538 → 4.0.540

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.
@@ -358,10 +358,10 @@ class Client extends TencentCloudCommon.AbstractClient {
358
358
  return this.request("DescribeResourcesByDealName", req, cb);
359
359
  }
360
360
  /**
361
- * 批量授权账号权限
361
+ * 此接口(ExportInstanceSlowQueries)用于导出实例慢日志。
362
362
  */
363
- async GrantAccountPrivileges(req, cb) {
364
- return this.request("GrantAccountPrivileges", req, cb);
363
+ async ExportInstanceSlowQueries(req, cb) {
364
+ return this.request("ExportInstanceSlowQueries", req, cb);
365
365
  }
366
366
  /**
367
367
  * 暂停serverless集群
@@ -424,10 +424,10 @@ class Client extends TencentCloudCommon.AbstractClient {
424
424
  return this.request("DescribeAuditLogFiles", req, cb);
425
425
  }
426
426
  /**
427
- * 此接口(ExportInstanceSlowQueries)用于导出实例慢日志。
427
+ * 本接口(DescribeZones)用于查询可售卖地域可用区信息。
428
428
  */
429
- async ExportInstanceSlowQueries(req, cb) {
430
- return this.request("ExportInstanceSlowQueries", req, cb);
429
+ async DescribeZones(req, cb) {
430
+ return this.request("DescribeZones", req, cb);
431
431
  }
432
432
  /**
433
433
  * SetRenewFlag设置实例的自动续费功能
@@ -447,6 +447,12 @@ class Client extends TencentCloudCommon.AbstractClient {
447
447
  async ModifyAuditRuleTemplates(req, cb) {
448
448
  return this.request("ModifyAuditRuleTemplates", req, cb);
449
449
  }
450
+ /**
451
+ * 批量授权账号权限
452
+ */
453
+ async GrantAccountPrivileges(req, cb) {
454
+ return this.request("GrantAccountPrivileges", req, cb);
455
+ }
450
456
  /**
451
457
  * 本接口(SearchClusterTables)搜索集群数据表列表
452
458
  */
@@ -468,6 +468,19 @@ export interface DescribeInstancesResponse {
468
468
  */
469
469
  RequestId?: string;
470
470
  }
471
+ /**
472
+ * DescribeZones请求参数结构体
473
+ */
474
+ export interface DescribeZonesRequest {
475
+ /**
476
+ * 是否包含虚拟区
477
+ */
478
+ IncludeVirtualZones?: boolean;
479
+ /**
480
+ * 是否展示地域下所有可用区,并显示用户每个可用区权限
481
+ */
482
+ ShowPermission?: boolean;
483
+ }
471
484
  /**
472
485
  * 集群实例信息
473
486
  */
@@ -2620,6 +2633,43 @@ export interface OpenAuditServiceRequest {
2620
2633
  */
2621
2634
  RuleTemplateIds?: Array<string>;
2622
2635
  }
2636
+ /**
2637
+ * 安全组规则
2638
+ */
2639
+ export interface PolicyRule {
2640
+ /**
2641
+ * 策略,ACCEPT或者DROP
2642
+ */
2643
+ Action: string;
2644
+ /**
2645
+ * 来源Ip或Ip段,例如192.168.0.0/16
2646
+ */
2647
+ CidrIp: string;
2648
+ /**
2649
+ * 端口
2650
+ */
2651
+ PortRange: string;
2652
+ /**
2653
+ * 网络协议,支持udp、tcp等
2654
+ */
2655
+ IpProtocol: string;
2656
+ /**
2657
+ * 协议端口ID或者协议端口组ID。
2658
+ */
2659
+ ServiceModule: string;
2660
+ /**
2661
+ * IP地址ID或者ID地址组ID。
2662
+ */
2663
+ AddressModule: string;
2664
+ /**
2665
+ * id
2666
+ */
2667
+ Id: string;
2668
+ /**
2669
+ * 描述
2670
+ */
2671
+ Desc: string;
2672
+ }
2623
2673
  /**
2624
2674
  * 网络信息
2625
2675
  */
@@ -3293,6 +3343,19 @@ export interface CreateAuditRuleTemplateResponse {
3293
3343
  */
3294
3344
  RequestId?: string;
3295
3345
  }
3346
+ /**
3347
+ * DescribeZones返回参数结构体
3348
+ */
3349
+ export interface DescribeZonesResponse {
3350
+ /**
3351
+ * 地域信息
3352
+ */
3353
+ RegionSet?: Array<SaleRegion>;
3354
+ /**
3355
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3356
+ */
3357
+ RequestId?: string;
3358
+ }
3296
3359
  /**
3297
3360
  * IsolateCluster返回参数结构体
3298
3361
  */
@@ -3313,18 +3376,46 @@ export interface IsolateClusterResponse {
3313
3376
  RequestId?: string;
3314
3377
  }
3315
3378
  /**
3316
- * SearchClusterDatabases返回参数结构体
3379
+ * 售卖可用区信息
3317
3380
  */
3318
- export interface SearchClusterDatabasesResponse {
3381
+ export interface SaleZone {
3319
3382
  /**
3320
- * 数据库列表
3383
+ * 可用区英文名
3384
+ */
3385
+ Zone: string;
3386
+ /**
3387
+ * 可用区数字ID
3388
+ */
3389
+ ZoneId: number;
3390
+ /**
3391
+ * 可用区中文名
3392
+ */
3393
+ ZoneZh: string;
3394
+ /**
3395
+ * 是否支持serverless集群<br>
3396
+ 0:不支持<br>
3397
+ 1:支持
3398
+ */
3399
+ IsSupportServerless: number;
3400
+ /**
3401
+ * 是否支持普通集群<br>
3402
+ 0:不支持<br>
3403
+ 1:支持
3404
+ */
3405
+ IsSupportNormal: number;
3406
+ /**
3407
+ * 物理区
3408
+ */
3409
+ PhysicalZone: string;
3410
+ /**
3411
+ * 用户是否有可用区权限
3321
3412
  注意:此字段可能返回 null,表示取不到有效值。
3322
3413
  */
3323
- Databases: Array<string>;
3414
+ HasPermission?: boolean;
3324
3415
  /**
3325
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3416
+ * 是否为全链路RDMA可用区
3326
3417
  */
3327
- RequestId?: string;
3418
+ IsWholeRdmaZone?: string;
3328
3419
  }
3329
3420
  /**
3330
3421
  * 任务信息
@@ -3635,41 +3726,17 @@ export interface SearchClusterTablesResponse {
3635
3726
  RequestId?: string;
3636
3727
  }
3637
3728
  /**
3638
- * 安全组规则
3729
+ * 系统支持的模块
3639
3730
  */
3640
- export interface PolicyRule {
3641
- /**
3642
- * 策略,ACCEPT或者DROP
3643
- */
3644
- Action: string;
3645
- /**
3646
- * 来源Ip或Ip段,例如192.168.0.0/16
3647
- */
3648
- CidrIp: string;
3649
- /**
3650
- * 端口
3651
- */
3652
- PortRange: string;
3731
+ export interface Module {
3653
3732
  /**
3654
- * 网络协议,支持udp、tcp等
3733
+ * 是否支持,可选值:yes,no
3655
3734
  */
3656
- IpProtocol: string;
3657
- /**
3658
- * 协议端口ID或者协议端口组ID。
3659
- */
3660
- ServiceModule: string;
3661
- /**
3662
- * IP地址ID或者ID地址组ID。
3663
- */
3664
- AddressModule: string;
3665
- /**
3666
- * id
3667
- */
3668
- Id: string;
3735
+ IsDisable: string;
3669
3736
  /**
3670
- * 描述
3737
+ * 模块名
3671
3738
  */
3672
- Desc: string;
3739
+ ModuleName: string;
3673
3740
  }
3674
3741
  /**
3675
3742
  * DescribeMaintainPeriod返回参数结构体
@@ -3734,6 +3801,35 @@ export interface DescribeBackupListResponse {
3734
3801
  */
3735
3802
  RequestId?: string;
3736
3803
  }
3804
+ /**
3805
+ * 售卖地域信息
3806
+ */
3807
+ export interface SaleRegion {
3808
+ /**
3809
+ * 地域英文名
3810
+ */
3811
+ Region: string;
3812
+ /**
3813
+ * 地域数字ID
3814
+ */
3815
+ RegionId: number;
3816
+ /**
3817
+ * 地域中文名
3818
+ */
3819
+ RegionZh: string;
3820
+ /**
3821
+ * 可售卖可用区列表
3822
+ */
3823
+ ZoneSet: Array<SaleZone>;
3824
+ /**
3825
+ * 引擎类型
3826
+ */
3827
+ DbType: string;
3828
+ /**
3829
+ * 地域模块支持情况
3830
+ */
3831
+ Modules: Array<Module>;
3832
+ }
3737
3833
  /**
3738
3834
  * RollBackCluster返回参数结构体
3739
3835
  */
@@ -4473,6 +4569,20 @@ export interface ResetAccountPasswordRequest {
4473
4569
  */
4474
4570
  Host?: string;
4475
4571
  }
4572
+ /**
4573
+ * SearchClusterDatabases返回参数结构体
4574
+ */
4575
+ export interface SearchClusterDatabasesResponse {
4576
+ /**
4577
+ * 数据库列表
4578
+ 注意:此字段可能返回 null,表示取不到有效值。
4579
+ */
4580
+ Databases: Array<string>;
4581
+ /**
4582
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4583
+ */
4584
+ RequestId?: string;
4585
+ }
4476
4586
  /**
4477
4587
  * DescribeInstanceDetail请求参数结构体
4478
4588
  */