tencentcloud-sdk-nodejs-cynosdb 4.0.653 → 4.0.655

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.
@@ -338,6 +338,10 @@ export interface DescribeAccountsRequest {
338
338
  * 偏移量
339
339
  */
340
340
  Offset?: number;
341
+ /**
342
+ * 模糊匹配关键字(同时匹配AccountName和AccountHost,返回并集结果,支持正则)
343
+ */
344
+ AccountRegular?: string;
341
345
  }
342
346
  /**
343
347
  * ModifyMaintainPeriodConfig请求参数结构体
@@ -766,39 +770,54 @@ export interface ClusterInstanceDetail {
766
770
  /**
767
771
  * 实例ID
768
772
  */
769
- InstanceId: string;
773
+ InstanceId?: string;
770
774
  /**
771
775
  * 实例名称
772
776
  */
773
- InstanceName: string;
777
+ InstanceName?: string;
774
778
  /**
775
779
  * 引擎类型
776
780
  */
777
- InstanceType: string;
781
+ InstanceType?: string;
778
782
  /**
779
783
  * 实例状态
780
784
  */
781
- InstanceStatus: string;
785
+ InstanceStatus?: string;
782
786
  /**
783
787
  * 实例状态描述
784
788
  */
785
- InstanceStatusDesc: string;
789
+ InstanceStatusDesc?: string;
786
790
  /**
787
791
  * cpu核数
788
792
  */
789
- InstanceCpu: number;
793
+ InstanceCpu?: number;
790
794
  /**
791
795
  * 内存
792
796
  */
793
- InstanceMemory: number;
797
+ InstanceMemory?: number;
794
798
  /**
795
799
  * 硬盘
796
800
  */
797
- InstanceStorage: number;
801
+ InstanceStorage?: number;
798
802
  /**
799
803
  * 实例角色
800
804
  */
801
- InstanceRole: string;
805
+ InstanceRole?: string;
806
+ /**
807
+ * 执行开始时间(距离0点的秒数)
808
+ 注意:此字段可能返回 null,表示取不到有效值。
809
+ */
810
+ MaintainStartTime?: number;
811
+ /**
812
+ * 持续的时间(单位:秒)
813
+ 注意:此字段可能返回 null,表示取不到有效值。
814
+ */
815
+ MaintainDuration?: number;
816
+ /**
817
+ * 可以执行的时间,枚举值:["Mon","Tue","Wed","Thu","Fri", "Sat", "Sun"]
818
+ 注意:此字段可能返回 null,表示取不到有效值。
819
+ */
820
+ MaintainWeekDays?: Array<string>;
802
821
  }
803
822
  /**
804
823
  * AddClusterSlaveZone返回参数结构体
@@ -1286,17 +1305,77 @@ export interface DescribeFlowResponse {
1286
1305
  RequestId?: string;
1287
1306
  }
1288
1307
  /**
1289
- * SetRenewFlag返回参数结构体
1308
+ * 实例参数详细描述
1290
1309
  */
1291
- export interface SetRenewFlagResponse {
1310
+ export interface ParamDetail {
1292
1311
  /**
1293
- * 操作成功实例数
1312
+ * 参数名称
1294
1313
  */
1295
- Count: number;
1314
+ ParamName: string;
1296
1315
  /**
1297
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1316
+ * 参数类型:integer,enum,float,string,func
1298
1317
  */
1299
- RequestId?: string;
1318
+ ParamType: string;
1319
+ /**
1320
+ * true-支持"func",false-不支持公式
1321
+ */
1322
+ SupportFunc: boolean;
1323
+ /**
1324
+ * 默认值
1325
+ */
1326
+ Default: string;
1327
+ /**
1328
+ * 参数描述
1329
+ */
1330
+ Description: string;
1331
+ /**
1332
+ * 参数当前值
1333
+ */
1334
+ CurrentValue: string;
1335
+ /**
1336
+ * 修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。
1337
+ */
1338
+ NeedReboot: number;
1339
+ /**
1340
+ * 参数容许的最大值
1341
+ */
1342
+ Max: string;
1343
+ /**
1344
+ * 参数容许的最小值
1345
+ */
1346
+ Min: string;
1347
+ /**
1348
+ * 参数的可选枚举值。如果为非枚举值,则为空
1349
+ 注意:此字段可能返回 null,表示取不到有效值。
1350
+ */
1351
+ EnumValue: Array<string>;
1352
+ /**
1353
+ * 1:全局参数,0:非全局参数
1354
+ */
1355
+ IsGlobal: number;
1356
+ /**
1357
+ * 匹配类型,multiVal
1358
+ */
1359
+ MatchType: string;
1360
+ /**
1361
+ * 匹配目标值,当multiVal时,各个key用,分割
1362
+ */
1363
+ MatchValue: string;
1364
+ /**
1365
+ * true-为公式,false-非公式
1366
+ 注意:此字段可能返回 null,表示取不到有效值。
1367
+ */
1368
+ IsFunc: boolean;
1369
+ /**
1370
+ * 参数设置为公式时,Func返回设置的公式内容
1371
+ 注意:此字段可能返回 null,表示取不到有效值。
1372
+ */
1373
+ Func: string;
1374
+ /**
1375
+ * 参数是否可修改
1376
+ 注意:此字段可能返回 null,表示取不到有效值。
1377
+ */
1378
+ ModifiableInfo: ModifiableInfo;
1300
1379
  }
1301
1380
  /**
1302
1381
  * DescribeResourcePackageSaleSpec请求参数结构体
@@ -2381,13 +2460,13 @@ export interface IsolateInstanceRequest {
2381
2460
  DbType?: string;
2382
2461
  }
2383
2462
  /**
2384
- * SwitchClusterVpc返回参数结构体
2463
+ * SetRenewFlag返回参数结构体
2385
2464
  */
2386
- export interface SwitchClusterVpcResponse {
2465
+ export interface SetRenewFlagResponse {
2387
2466
  /**
2388
- * 异步任务id。
2467
+ * 操作成功实例数
2389
2468
  */
2390
- FlowId: number;
2469
+ Count: number;
2391
2470
  /**
2392
2471
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2393
2472
  */
@@ -2402,6 +2481,19 @@ export interface DescribeClusterDetailRequest {
2402
2481
  */
2403
2482
  ClusterId: string;
2404
2483
  }
2484
+ /**
2485
+ * SwitchClusterVpc返回参数结构体
2486
+ */
2487
+ export interface SwitchClusterVpcResponse {
2488
+ /**
2489
+ * 异步任务id。
2490
+ */
2491
+ FlowId: number;
2492
+ /**
2493
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2494
+ */
2495
+ RequestId?: string;
2496
+ }
2405
2497
  /**
2406
2498
  * SearchClusterTables请求参数结构体
2407
2499
  */
@@ -2530,77 +2622,13 @@ export interface PauseServerlessResponse {
2530
2622
  RequestId?: string;
2531
2623
  }
2532
2624
  /**
2533
- * 实例参数详细描述
2625
+ * OpenClusterReadOnlyInstanceGroupAccess返回参数结构体
2534
2626
  */
2535
- export interface ParamDetail {
2536
- /**
2537
- * 参数名称
2538
- */
2539
- ParamName: string;
2540
- /**
2541
- * 参数类型:integer,enum,float,string,func
2542
- */
2543
- ParamType: string;
2544
- /**
2545
- * true-支持"func",false-不支持公式
2546
- */
2547
- SupportFunc: boolean;
2548
- /**
2549
- * 默认值
2550
- */
2551
- Default: string;
2552
- /**
2553
- * 参数描述
2554
- */
2555
- Description: string;
2556
- /**
2557
- * 参数当前值
2558
- */
2559
- CurrentValue: string;
2560
- /**
2561
- * 修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。
2562
- */
2563
- NeedReboot: number;
2627
+ export interface OpenClusterReadOnlyInstanceGroupAccessResponse {
2564
2628
  /**
2565
- * 参数容许的最大值
2566
- */
2567
- Max: string;
2568
- /**
2569
- * 参数容许的最小值
2570
- */
2571
- Min: string;
2572
- /**
2573
- * 参数的可选枚举值。如果为非枚举值,则为空
2574
- 注意:此字段可能返回 null,表示取不到有效值。
2575
- */
2576
- EnumValue: Array<string>;
2577
- /**
2578
- * 1:全局参数,0:非全局参数
2579
- */
2580
- IsGlobal: number;
2581
- /**
2582
- * 匹配类型,multiVal
2583
- */
2584
- MatchType: string;
2585
- /**
2586
- * 匹配目标值,当multiVal时,各个key用,分割
2587
- */
2588
- MatchValue: string;
2589
- /**
2590
- * true-为公式,false-非公式
2591
- 注意:此字段可能返回 null,表示取不到有效值。
2592
- */
2593
- IsFunc: boolean;
2594
- /**
2595
- * 参数设置为公式时,Func返回设置的公式内容
2596
- 注意:此字段可能返回 null,表示取不到有效值。
2597
- */
2598
- Func: string;
2599
- /**
2600
- * 参数是否可修改
2601
- 注意:此字段可能返回 null,表示取不到有效值。
2629
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2602
2630
  */
2603
- ModifiableInfo: ModifiableInfo;
2631
+ RequestId?: string;
2604
2632
  }
2605
2633
  /**
2606
2634
  * DescribeAuditRuleWithInstanceIds返回参数结构体
@@ -3655,10 +3683,12 @@ export interface CreateClustersRequest {
3655
3683
  export interface RollbackTableInfo {
3656
3684
  /**
3657
3685
  * 旧表名称
3686
+ 注意:此字段可能返回 null,表示取不到有效值。
3658
3687
  */
3659
3688
  OldTable: string;
3660
3689
  /**
3661
3690
  * 新表名称
3691
+ 注意:此字段可能返回 null,表示取不到有效值。
3662
3692
  */
3663
3693
  NewTable: string;
3664
3694
  }
@@ -5821,6 +5851,10 @@ export interface CreateParamTemplateRequest {
5821
5851
  */
5822
5852
  ParamList?: Array<ParamItem>;
5823
5853
  }
5854
+ /**
5855
+ * OpenClusterReadOnlyInstanceGroupAccess请求参数结构体
5856
+ */
5857
+ export declare type OpenClusterReadOnlyInstanceGroupAccessRequest = null;
5824
5858
  /**
5825
5859
  * DescribeAuditRuleTemplates请求参数结构体
5826
5860
  */
@@ -7319,11 +7353,11 @@ export interface DescribeAccountsResponse {
7319
7353
  * 数据库账号列表
7320
7354
  注意:此字段可能返回 null,表示取不到有效值。
7321
7355
  */
7322
- AccountSet: Array<Account>;
7356
+ AccountSet?: Array<Account>;
7323
7357
  /**
7324
7358
  * 账号总数量
7325
7359
  */
7326
- TotalCount: number;
7360
+ TotalCount?: number;
7327
7361
  /**
7328
7362
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7329
7363
  */
@@ -7715,7 +7749,7 @@ export interface DescribeClusterDetailResponse {
7715
7749
  /**
7716
7750
  * 集群详细信息
7717
7751
  */
7718
- Detail: CynosdbClusterDetail;
7752
+ Detail?: CynosdbClusterDetail;
7719
7753
  /**
7720
7754
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7721
7755
  */