@alicloud/polardb20170801 5.5.3 → 5.6.0

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.
package/src/client.ts CHANGED
@@ -401,8 +401,9 @@ export class DescribeAccountsResponseBodyAccounts extends $dara.Model {
401
401
  * @remarks
402
402
  * The type of the account. Valid values:
403
403
  *
404
- * * **Normal**: a standard account
405
- * * **Super**: a privileged account
404
+ * * **Normal**: standard account.
405
+ * * **Super**: privileged account.
406
+ * * **ReadOnly**: global read-only account.
406
407
  *
407
408
  * @example
408
409
  * Normal
@@ -1955,6 +1956,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $dara.Model {
1955
1956
  * Primary
1956
1957
  */
1957
1958
  subCluster?: string;
1959
+ subGroupDescription?: string;
1958
1960
  /**
1959
1961
  * @remarks
1960
1962
  * Availability zone ID.
@@ -1989,6 +1991,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $dara.Model {
1989
1991
  serverWeight: 'ServerWeight',
1990
1992
  serverlessType: 'ServerlessType',
1991
1993
  subCluster: 'SubCluster',
1994
+ subGroupDescription: 'SubGroupDescription',
1992
1995
  zoneId: 'ZoneId',
1993
1996
  };
1994
1997
  }
@@ -2019,6 +2022,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $dara.Model {
2019
2022
  serverWeight: 'string',
2020
2023
  serverlessType: 'string',
2021
2024
  subCluster: 'string',
2025
+ subGroupDescription: 'string',
2022
2026
  zoneId: 'string',
2023
2027
  };
2024
2028
  }
@@ -6280,6 +6284,166 @@ export class DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGr
6280
6284
  }
6281
6285
  }
6282
6286
 
6287
+ export class DescribeHistoryTasksResponseBodyItems extends $dara.Model {
6288
+ /**
6289
+ * @example
6290
+ * {}
6291
+ */
6292
+ actionInfo?: string;
6293
+ /**
6294
+ * @example
6295
+ * User
6296
+ */
6297
+ callerSource?: string;
6298
+ /**
6299
+ * @example
6300
+ * 1816563541899***
6301
+ */
6302
+ callerUid?: string;
6303
+ /**
6304
+ * @example
6305
+ * finish_task
6306
+ */
6307
+ currentStepName?: string;
6308
+ /**
6309
+ * @example
6310
+ * polardb_mysql
6311
+ */
6312
+ dbType?: string;
6313
+ /**
6314
+ * @example
6315
+ * 2025-03-03T07:30:57Z
6316
+ */
6317
+ endTime?: string;
6318
+ /**
6319
+ * @example
6320
+ * pc-2zed3m89cw***
6321
+ */
6322
+ instanceId?: string;
6323
+ /**
6324
+ * @example
6325
+ * pc-2zed3m89cw***
6326
+ */
6327
+ instanceName?: string;
6328
+ /**
6329
+ * @example
6330
+ * Instance
6331
+ */
6332
+ instanceType?: string;
6333
+ /**
6334
+ * @example
6335
+ * polardb
6336
+ */
6337
+ product?: string;
6338
+ /**
6339
+ * @example
6340
+ * 100.0
6341
+ */
6342
+ progress?: number;
6343
+ /**
6344
+ * @example
6345
+ * ""
6346
+ */
6347
+ reasonCode?: string;
6348
+ /**
6349
+ * @example
6350
+ * cn-beijing
6351
+ */
6352
+ regionId?: string;
6353
+ /**
6354
+ * @example
6355
+ * 0
6356
+ */
6357
+ remainTime?: number;
6358
+ /**
6359
+ * @example
6360
+ * 2025-03-03T07:25:16Z
6361
+ */
6362
+ startTime?: string;
6363
+ /**
6364
+ * @example
6365
+ * Succeed
6366
+ */
6367
+ status?: string;
6368
+ /**
6369
+ * @example
6370
+ * {\\"steps\\":[{\\"step_name\\":\\"init_task\\"},{\\"step_name\\":\\"exec_task\\"},{\\"step_name\\":\\"finish_task\\"}]}
6371
+ */
6372
+ taskDetail?: string;
6373
+ /**
6374
+ * @example
6375
+ * t-0mqt8qhnw04ipz0***
6376
+ */
6377
+ taskId?: string;
6378
+ /**
6379
+ * @example
6380
+ * ChangeVariable
6381
+ */
6382
+ taskType?: string;
6383
+ /**
6384
+ * @example
6385
+ * 1816563541899***
6386
+ */
6387
+ uid?: string;
6388
+ static names(): { [key: string]: string } {
6389
+ return {
6390
+ actionInfo: 'ActionInfo',
6391
+ callerSource: 'CallerSource',
6392
+ callerUid: 'CallerUid',
6393
+ currentStepName: 'CurrentStepName',
6394
+ dbType: 'DbType',
6395
+ endTime: 'EndTime',
6396
+ instanceId: 'InstanceId',
6397
+ instanceName: 'InstanceName',
6398
+ instanceType: 'InstanceType',
6399
+ product: 'Product',
6400
+ progress: 'Progress',
6401
+ reasonCode: 'ReasonCode',
6402
+ regionId: 'RegionId',
6403
+ remainTime: 'RemainTime',
6404
+ startTime: 'StartTime',
6405
+ status: 'Status',
6406
+ taskDetail: 'TaskDetail',
6407
+ taskId: 'TaskId',
6408
+ taskType: 'TaskType',
6409
+ uid: 'Uid',
6410
+ };
6411
+ }
6412
+
6413
+ static types(): { [key: string]: any } {
6414
+ return {
6415
+ actionInfo: 'string',
6416
+ callerSource: 'string',
6417
+ callerUid: 'string',
6418
+ currentStepName: 'string',
6419
+ dbType: 'string',
6420
+ endTime: 'string',
6421
+ instanceId: 'string',
6422
+ instanceName: 'string',
6423
+ instanceType: 'string',
6424
+ product: 'string',
6425
+ progress: 'number',
6426
+ reasonCode: 'string',
6427
+ regionId: 'string',
6428
+ remainTime: 'number',
6429
+ startTime: 'string',
6430
+ status: 'string',
6431
+ taskDetail: 'string',
6432
+ taskId: 'string',
6433
+ taskType: 'string',
6434
+ uid: 'string',
6435
+ };
6436
+ }
6437
+
6438
+ validate() {
6439
+ super.validate();
6440
+ }
6441
+
6442
+ constructor(map?: { [key: string]: any }) {
6443
+ super(map);
6444
+ }
6445
+ }
6446
+
6283
6447
  export class DescribeLicenseOrdersResponseBodyItems extends $dara.Model {
6284
6448
  /**
6285
6449
  * @remarks
@@ -11351,8 +11515,8 @@ export class CreateDBClusterEndpointRequest extends $dara.Model {
11351
11515
  * @remarks
11352
11516
  * Specifies whether to enable automatic association of newly added nodes with the cluster endpoint. Valid values:
11353
11517
  *
11354
- * * **Enable**: enables automatic association of newly added nodes with the cluster endpoint.
11355
- * * **Disable** (default): disables automatic association of newly added nodes with the cluster endpoint.
11518
+ * * **Enable**
11519
+ * * **Disable** (default)
11356
11520
  *
11357
11521
  * @example
11358
11522
  * Disable
@@ -11487,11 +11651,6 @@ export class CreateDBClusterEndpointRequest extends $dara.Model {
11487
11651
  * * **ON**
11488
11652
  * * **OFF**
11489
11653
  *
11490
- * Enumerated values:
11491
- *
11492
- * * on
11493
- * * off
11494
- *
11495
11654
  * @example
11496
11655
  * on
11497
11656
  */
@@ -14878,6 +15037,15 @@ export class DeleteMaskingRulesRequest extends $dara.Model {
14878
15037
  * pc-*****************
14879
15038
  */
14880
15039
  DBClusterId?: string;
15040
+ /**
15041
+ * @remarks
15042
+ * Deletes data masking or encryption rules. Valid values:
15043
+ *
15044
+ * v1: deletes data masking rules. v2: deletes data encryption rules.
15045
+ *
15046
+ * @example
15047
+ * v1
15048
+ */
14881
15049
  interfaceVersion?: string;
14882
15050
  /**
14883
15051
  * @remarks
@@ -20903,7 +21071,7 @@ export class DescribeDBClustersRequest extends $dara.Model {
20903
21071
  ownerId?: number;
20904
21072
  /**
20905
21073
  * @remarks
20906
- * The page number. The value must be an integer that is greater than 0. Default value: **1**.
21074
+ * The page number. The value must be a positive integer that does not exceed the maximum value of the INTEGER data type. Default value: **1**.
20907
21075
  *
20908
21076
  * @example
20909
21077
  * 10
@@ -23639,6 +23807,224 @@ export class DescribeGlobalSecurityIPGroupRelationResponse extends $dara.Model {
23639
23807
  }
23640
23808
  }
23641
23809
 
23810
+ export class DescribeHistoryTasksRequest extends $dara.Model {
23811
+ /**
23812
+ * @example
23813
+ * 0
23814
+ */
23815
+ fromExecTime?: number;
23816
+ /**
23817
+ * @remarks
23818
+ * This parameter is required.
23819
+ *
23820
+ * @example
23821
+ * 2025-01-02T11:31:03Z
23822
+ */
23823
+ fromStartTime?: string;
23824
+ /**
23825
+ * @example
23826
+ * pc-2zed3m89cw***
23827
+ */
23828
+ instanceId?: string;
23829
+ /**
23830
+ * @example
23831
+ * Instance
23832
+ */
23833
+ instanceType?: string;
23834
+ ownerId?: number;
23835
+ /**
23836
+ * @example
23837
+ * 1
23838
+ */
23839
+ pageNumber?: number;
23840
+ /**
23841
+ * @example
23842
+ * 10
23843
+ */
23844
+ pageSize?: number;
23845
+ /**
23846
+ * @example
23847
+ * cn-beijing
23848
+ */
23849
+ regionId?: string;
23850
+ /**
23851
+ * @example
23852
+ * rg-************
23853
+ */
23854
+ resourceGroupId?: string;
23855
+ resourceOwnerAccount?: number;
23856
+ resourceOwnerId?: number;
23857
+ securityToken?: string;
23858
+ /**
23859
+ * @example
23860
+ * Running
23861
+ */
23862
+ status?: string;
23863
+ /**
23864
+ * @example
23865
+ * t-0mqi38ho0cgjv***
23866
+ */
23867
+ taskId?: string;
23868
+ /**
23869
+ * @example
23870
+ * ChangeVariable
23871
+ */
23872
+ taskType?: string;
23873
+ /**
23874
+ * @example
23875
+ * 0
23876
+ */
23877
+ toExecTime?: number;
23878
+ /**
23879
+ * @remarks
23880
+ * This parameter is required.
23881
+ *
23882
+ * @example
23883
+ * 2025-01-03T11:31:03Z
23884
+ */
23885
+ toStartTime?: string;
23886
+ static names(): { [key: string]: string } {
23887
+ return {
23888
+ fromExecTime: 'FromExecTime',
23889
+ fromStartTime: 'FromStartTime',
23890
+ instanceId: 'InstanceId',
23891
+ instanceType: 'InstanceType',
23892
+ ownerId: 'OwnerId',
23893
+ pageNumber: 'PageNumber',
23894
+ pageSize: 'PageSize',
23895
+ regionId: 'RegionId',
23896
+ resourceGroupId: 'ResourceGroupId',
23897
+ resourceOwnerAccount: 'ResourceOwnerAccount',
23898
+ resourceOwnerId: 'ResourceOwnerId',
23899
+ securityToken: 'SecurityToken',
23900
+ status: 'Status',
23901
+ taskId: 'TaskId',
23902
+ taskType: 'TaskType',
23903
+ toExecTime: 'ToExecTime',
23904
+ toStartTime: 'ToStartTime',
23905
+ };
23906
+ }
23907
+
23908
+ static types(): { [key: string]: any } {
23909
+ return {
23910
+ fromExecTime: 'number',
23911
+ fromStartTime: 'string',
23912
+ instanceId: 'string',
23913
+ instanceType: 'string',
23914
+ ownerId: 'number',
23915
+ pageNumber: 'number',
23916
+ pageSize: 'number',
23917
+ regionId: 'string',
23918
+ resourceGroupId: 'string',
23919
+ resourceOwnerAccount: 'number',
23920
+ resourceOwnerId: 'number',
23921
+ securityToken: 'string',
23922
+ status: 'string',
23923
+ taskId: 'string',
23924
+ taskType: 'string',
23925
+ toExecTime: 'number',
23926
+ toStartTime: 'string',
23927
+ };
23928
+ }
23929
+
23930
+ validate() {
23931
+ super.validate();
23932
+ }
23933
+
23934
+ constructor(map?: { [key: string]: any }) {
23935
+ super(map);
23936
+ }
23937
+ }
23938
+
23939
+ export class DescribeHistoryTasksResponseBody extends $dara.Model {
23940
+ items?: DescribeHistoryTasksResponseBodyItems[];
23941
+ /**
23942
+ * @example
23943
+ * 1
23944
+ */
23945
+ pageNumber?: number;
23946
+ /**
23947
+ * @example
23948
+ * 10
23949
+ */
23950
+ pageSize?: number;
23951
+ /**
23952
+ * @example
23953
+ * F90D7C14-2D1C-5B88-9CD1-23AB2CF89***
23954
+ */
23955
+ requestId?: string;
23956
+ /**
23957
+ * @example
23958
+ * 2
23959
+ */
23960
+ totalCount?: string;
23961
+ static names(): { [key: string]: string } {
23962
+ return {
23963
+ items: 'Items',
23964
+ pageNumber: 'PageNumber',
23965
+ pageSize: 'PageSize',
23966
+ requestId: 'RequestId',
23967
+ totalCount: 'TotalCount',
23968
+ };
23969
+ }
23970
+
23971
+ static types(): { [key: string]: any } {
23972
+ return {
23973
+ items: { 'type': 'array', 'itemType': DescribeHistoryTasksResponseBodyItems },
23974
+ pageNumber: 'number',
23975
+ pageSize: 'number',
23976
+ requestId: 'string',
23977
+ totalCount: 'string',
23978
+ };
23979
+ }
23980
+
23981
+ validate() {
23982
+ if(Array.isArray(this.items)) {
23983
+ $dara.Model.validateArray(this.items);
23984
+ }
23985
+ super.validate();
23986
+ }
23987
+
23988
+ constructor(map?: { [key: string]: any }) {
23989
+ super(map);
23990
+ }
23991
+ }
23992
+
23993
+ export class DescribeHistoryTasksResponse extends $dara.Model {
23994
+ headers?: { [key: string]: string };
23995
+ statusCode?: number;
23996
+ body?: DescribeHistoryTasksResponseBody;
23997
+ static names(): { [key: string]: string } {
23998
+ return {
23999
+ headers: 'headers',
24000
+ statusCode: 'statusCode',
24001
+ body: 'body',
24002
+ };
24003
+ }
24004
+
24005
+ static types(): { [key: string]: any } {
24006
+ return {
24007
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
24008
+ statusCode: 'number',
24009
+ body: DescribeHistoryTasksResponseBody,
24010
+ };
24011
+ }
24012
+
24013
+ validate() {
24014
+ if(this.headers) {
24015
+ $dara.Model.validateMap(this.headers);
24016
+ }
24017
+ if(this.body && typeof (this.body as any).validate === 'function') {
24018
+ (this.body as any).validate();
24019
+ }
24020
+ super.validate();
24021
+ }
24022
+
24023
+ constructor(map?: { [key: string]: any }) {
24024
+ super(map);
24025
+ }
24026
+ }
24027
+
23642
24028
  export class DescribeLicenseOrderDetailsRequest extends $dara.Model {
23643
24029
  /**
23644
24030
  * @remarks
@@ -29546,7 +29932,11 @@ export class ModifyDBClusterRequest extends $dara.Model {
29546
29932
  * @remarks
29547
29933
  * The fault injection method. Valid values:
29548
29934
  *
29549
- * * CrashSQLInjection: `Crash SQL`-based fault injection.
29935
+ * * 0: `Crash SQL`-based fault injection.
29936
+ *
29937
+ * Valid values:
29938
+ *
29939
+ * * CrashSQLInjection: CrashSQLInjection.
29550
29940
  *
29551
29941
  * @example
29552
29942
  * 0
@@ -30159,21 +30549,42 @@ export class ModifyDBClusterAndNodesParametersResponse extends $dara.Model {
30159
30549
 
30160
30550
  export class ModifyDBClusterArchRequest extends $dara.Model {
30161
30551
  /**
30552
+ * @remarks
30553
+ * The ID of the cluster.
30554
+ *
30162
30555
  * @example
30163
30556
  * pc-****************
30164
30557
  */
30165
30558
  DBClusterId?: string;
30166
30559
  /**
30560
+ * @remarks
30561
+ * Specifies whether to enable the hot standby storage cluster feature. Valid values:
30562
+ *
30563
+ * * **on**: enables hot standby storage cluster.
30564
+ * * **equal**: Enable a peer-to-peer cluster.
30565
+ *
30167
30566
  * @example
30168
30567
  * on
30169
30568
  */
30170
30569
  hotStandbyCluster?: string;
30171
30570
  /**
30571
+ * @remarks
30572
+ * The region ID.
30573
+ *
30574
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query information about regions.
30575
+ *
30172
30576
  * @example
30173
30577
  * cn-beijing
30174
30578
  */
30175
30579
  regionId?: string;
30176
30580
  /**
30581
+ * @remarks
30582
+ * The zone of the hot standby storage cluster. Valid values:
30583
+ *
30584
+ * * **auto** (default): The zone is automatically selected.
30585
+ *
30586
+ * > You can use the default value when HotStandbyCluster is set to on. If HotStandbyCluster is set to equal, specify the zone of the hot standby storage cluster. You can call the [DescribeZones](https://help.aliyun.com/document_detail/98041.html) operation to query information about zones.
30587
+ *
30177
30588
  * @example
30178
30589
  * cn-beijing-i
30179
30590
  */
@@ -30207,16 +30618,25 @@ export class ModifyDBClusterArchRequest extends $dara.Model {
30207
30618
 
30208
30619
  export class ModifyDBClusterArchResponseBody extends $dara.Model {
30209
30620
  /**
30621
+ * @remarks
30622
+ * The cluster ID.
30623
+ *
30210
30624
  * @example
30211
30625
  * pc-**************
30212
30626
  */
30213
30627
  DBClusterId?: string;
30214
30628
  /**
30629
+ * @remarks
30630
+ * The order ID.
30631
+ *
30215
30632
  * @example
30216
30633
  * 2148126708*****
30217
30634
  */
30218
30635
  orderId?: string;
30219
30636
  /**
30637
+ * @remarks
30638
+ * The request ID.
30639
+ *
30220
30640
  * @example
30221
30641
  * 6A2EE5B4-CC9F-46E1-A747-E43BC9******
30222
30642
  */
@@ -34790,19 +35210,22 @@ export class ModifyMaskingRulesRequest extends $dara.Model {
34790
35210
  interfaceVersion?: string;
34791
35211
  /**
34792
35212
  * @remarks
34793
- * The parameter that is used to specify the masking rule that you want to modify and the value in the JSON format. All parameter values are of the string type. Example: `{"auto": {"databases": ["db1"], "tables": ["tb1"], "columns": ["c1,c2"] }, "description": "This rule will be applied to the columns c1 and c2 in table t1", "enabled": true, "applies_to": ["user"]}`. Parameters in the function:
35213
+ * The parameter that is used to specify the masking rule that you want to modify and the value in the JSON format. All parameter values are of the string type. Example: `{"auto": {"databases": ["db1"], "tables": ["tb1"], "columns": ["c1,c2"] }, "description": "This rule will be applied to the columns c1 and c2 in table t1", "enabled": true, "applies_to": ["user"]}`. Where,
34794
35214
  *
34795
35215
  * * `"auto"`: specifies that the dynamic masking algorithm is supported. This parameter is required.
34796
35216
  * * `"databases"`: Optional. The names of databases to which the masking rule is applied. Separate the names with commas (,). If you leave this parameter empty, the masking rule applies to all databases in the cluster.
34797
35217
  * * `"tables"`: Optional. The names of tables to which the masking rule is applied. Separate the names with commas (,). If you leave this parameter empty, the rule applies to all tables in the cluster.
34798
35218
  * * `"columns"`: Required. The names of fields to which the masking rule is applied. Separate the names with commas (,).
34799
- * * `"description"`: Optional. The description of the masking rule. The description can be up to 64 characters in length.
34800
- * * `"enabled"`: Required. Specifies whether to enable the masking rule. Valid values: **true** and **false**.
35219
+ * * `"description"`: Optional. The description of the masking rule. The description is up to 64 characters in length.
35220
+ * * `"enabled"`: Required. Specifies whether to enable the masking rule. Valid values: **true** (enable) and **false** (disable).
34801
35221
  * * `"applies_to"`: The names of database accounts to which the masking rule is applied. Separate the names with commas (,).
34802
35222
  * * `"exempted"`: The names of database accounts to which the masking rule is not applied. Separate the names with commas (,).
34803
35223
  *
34804
- * >- If you specify `RuleName`, `RuleConfig` parameter is required.
34805
- * >- You need to select either `"applies_to"` or `"exempted"`.
35224
+ * >
35225
+ *
35226
+ * * If you specify `RuleName`, `RuleConfig` parameter is required.
35227
+ *
35228
+ * * You need to select either `"applies_to"` or `"exempted"`.
34806
35229
  *
34807
35230
  * @example
34808
35231
  * {"auto": {"databases": ["db1"], "tables": ["tb1"], "columns": ["c1,c2"] }, "description": "This rule will be applied to the columns c1 and c2 in table t1", "enabled": true, "applies_to": ["user"]}
@@ -34812,8 +35235,11 @@ export class ModifyMaskingRulesRequest extends $dara.Model {
34812
35235
  * @remarks
34813
35236
  * The name of the data masking rule. You can specify only one rule name at a time.
34814
35237
  *
34815
- * >- You can call the [DescribeMaskingRules](https://help.aliyun.com/document_detail/212573.html) operation to query the details of all masking rules for a specified cluster, such as the names of the masking rules.
34816
- * >- If the rule name does not exist in the cluster, the system automatically creates a masking rule based on the name and the value of `RuleConfig`.
35238
+ * >
35239
+ *
35240
+ * * You can call the [DescribeMaskingRules](https://help.aliyun.com/document_detail/212573.html) operation to query the details of all masking rules for a specified cluster, such as the names of the masking rules.
35241
+ *
35242
+ * * If the rule name does not exist in the cluster, the system automatically creates a masking rule based on the name and the value of `RuleConfig`.
34817
35243
  *
34818
35244
  * @example
34819
35245
  * testrule
@@ -43566,6 +43992,117 @@ export default class Client extends OpenApi {
43566
43992
  return await this.describeGlobalSecurityIPGroupRelationWithOptions(request, runtime);
43567
43993
  }
43568
43994
 
43995
+ /**
43996
+ * 任务中心任务列表
43997
+ *
43998
+ * @param request - DescribeHistoryTasksRequest
43999
+ * @param runtime - runtime options for this request RuntimeOptions
44000
+ * @returns DescribeHistoryTasksResponse
44001
+ */
44002
+ async describeHistoryTasksWithOptions(request: DescribeHistoryTasksRequest, runtime: $dara.RuntimeOptions): Promise<DescribeHistoryTasksResponse> {
44003
+ request.validate();
44004
+ let query = { };
44005
+ if (!$dara.isNull(request.fromExecTime)) {
44006
+ query["FromExecTime"] = request.fromExecTime;
44007
+ }
44008
+
44009
+ if (!$dara.isNull(request.fromStartTime)) {
44010
+ query["FromStartTime"] = request.fromStartTime;
44011
+ }
44012
+
44013
+ if (!$dara.isNull(request.instanceId)) {
44014
+ query["InstanceId"] = request.instanceId;
44015
+ }
44016
+
44017
+ if (!$dara.isNull(request.instanceType)) {
44018
+ query["InstanceType"] = request.instanceType;
44019
+ }
44020
+
44021
+ if (!$dara.isNull(request.ownerId)) {
44022
+ query["OwnerId"] = request.ownerId;
44023
+ }
44024
+
44025
+ if (!$dara.isNull(request.pageNumber)) {
44026
+ query["PageNumber"] = request.pageNumber;
44027
+ }
44028
+
44029
+ if (!$dara.isNull(request.pageSize)) {
44030
+ query["PageSize"] = request.pageSize;
44031
+ }
44032
+
44033
+ if (!$dara.isNull(request.regionId)) {
44034
+ query["RegionId"] = request.regionId;
44035
+ }
44036
+
44037
+ if (!$dara.isNull(request.resourceGroupId)) {
44038
+ query["ResourceGroupId"] = request.resourceGroupId;
44039
+ }
44040
+
44041
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
44042
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
44043
+ }
44044
+
44045
+ if (!$dara.isNull(request.resourceOwnerId)) {
44046
+ query["ResourceOwnerId"] = request.resourceOwnerId;
44047
+ }
44048
+
44049
+ if (!$dara.isNull(request.securityToken)) {
44050
+ query["SecurityToken"] = request.securityToken;
44051
+ }
44052
+
44053
+ if (!$dara.isNull(request.status)) {
44054
+ query["Status"] = request.status;
44055
+ }
44056
+
44057
+ if (!$dara.isNull(request.taskId)) {
44058
+ query["TaskId"] = request.taskId;
44059
+ }
44060
+
44061
+ if (!$dara.isNull(request.taskType)) {
44062
+ query["TaskType"] = request.taskType;
44063
+ }
44064
+
44065
+ if (!$dara.isNull(request.toExecTime)) {
44066
+ query["ToExecTime"] = request.toExecTime;
44067
+ }
44068
+
44069
+ if (!$dara.isNull(request.toStartTime)) {
44070
+ query["ToStartTime"] = request.toStartTime;
44071
+ }
44072
+
44073
+ let req = new $OpenApiUtil.OpenApiRequest({
44074
+ query: OpenApiUtil.query(query),
44075
+ });
44076
+ let params = new $OpenApiUtil.Params({
44077
+ action: "DescribeHistoryTasks",
44078
+ version: "2017-08-01",
44079
+ protocol: "HTTPS",
44080
+ pathname: "/",
44081
+ method: "POST",
44082
+ authType: "AK",
44083
+ style: "RPC",
44084
+ reqBodyType: "formData",
44085
+ bodyType: "json",
44086
+ });
44087
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44088
+ return $dara.cast<DescribeHistoryTasksResponse>(await this.callApi(params, req, runtime), new DescribeHistoryTasksResponse({}));
44089
+ } else {
44090
+ return $dara.cast<DescribeHistoryTasksResponse>(await this.execute(params, req, runtime), new DescribeHistoryTasksResponse({}));
44091
+ }
44092
+
44093
+ }
44094
+
44095
+ /**
44096
+ * 任务中心任务列表
44097
+ *
44098
+ * @param request - DescribeHistoryTasksRequest
44099
+ * @returns DescribeHistoryTasksResponse
44100
+ */
44101
+ async describeHistoryTasks(request: DescribeHistoryTasksRequest): Promise<DescribeHistoryTasksResponse> {
44102
+ let runtime = new $dara.RuntimeOptions({ });
44103
+ return await this.describeHistoryTasksWithOptions(request, runtime);
44104
+ }
44105
+
43569
44106
  /**
43570
44107
  * Queries the information of a license order.
43571
44108
  *
@@ -46323,7 +46860,7 @@ export default class Client extends OpenApi {
46323
46860
  }
46324
46861
 
46325
46862
  /**
46326
- * 变更standby模式
46863
+ * Changes the high availability mode of the cluster.
46327
46864
  *
46328
46865
  * @param request - ModifyDBClusterArchRequest
46329
46866
  * @param runtime - runtime options for this request RuntimeOptions
@@ -46371,7 +46908,7 @@ export default class Client extends OpenApi {
46371
46908
  }
46372
46909
 
46373
46910
  /**
46374
- * 变更standby模式
46911
+ * Changes the high availability mode of the cluster.
46375
46912
  *
46376
46913
  * @param request - ModifyDBClusterArchRequest
46377
46914
  * @returns ModifyDBClusterArchResponse