@alicloud/polardb20170801 5.5.2 → 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/dist/client.d.ts CHANGED
@@ -301,8 +301,9 @@ export declare class DescribeAccountsResponseBodyAccounts extends $dara.Model {
301
301
  * @remarks
302
302
  * The type of the account. Valid values:
303
303
  *
304
- * * **Normal**: a standard account
305
- * * **Super**: a privileged account
304
+ * * **Normal**: standard account.
305
+ * * **Super**: privileged account.
306
+ * * **ReadOnly**: global read-only account.
306
307
  *
307
308
  * @example
308
309
  * Normal
@@ -1478,6 +1479,7 @@ export declare class DescribeDBClusterAttributeResponseBodyDBNodes extends $dara
1478
1479
  * Primary
1479
1480
  */
1480
1481
  subCluster?: string;
1482
+ subGroupDescription?: string;
1481
1483
  /**
1482
1484
  * @remarks
1483
1485
  * Availability zone ID.
@@ -4636,6 +4638,118 @@ export declare class DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecu
4636
4638
  [key: string]: any;
4637
4639
  });
4638
4640
  }
4641
+ export declare class DescribeHistoryTasksResponseBodyItems extends $dara.Model {
4642
+ /**
4643
+ * @example
4644
+ * {}
4645
+ */
4646
+ actionInfo?: string;
4647
+ /**
4648
+ * @example
4649
+ * User
4650
+ */
4651
+ callerSource?: string;
4652
+ /**
4653
+ * @example
4654
+ * 1816563541899***
4655
+ */
4656
+ callerUid?: string;
4657
+ /**
4658
+ * @example
4659
+ * finish_task
4660
+ */
4661
+ currentStepName?: string;
4662
+ /**
4663
+ * @example
4664
+ * polardb_mysql
4665
+ */
4666
+ dbType?: string;
4667
+ /**
4668
+ * @example
4669
+ * 2025-03-03T07:30:57Z
4670
+ */
4671
+ endTime?: string;
4672
+ /**
4673
+ * @example
4674
+ * pc-2zed3m89cw***
4675
+ */
4676
+ instanceId?: string;
4677
+ /**
4678
+ * @example
4679
+ * pc-2zed3m89cw***
4680
+ */
4681
+ instanceName?: string;
4682
+ /**
4683
+ * @example
4684
+ * Instance
4685
+ */
4686
+ instanceType?: string;
4687
+ /**
4688
+ * @example
4689
+ * polardb
4690
+ */
4691
+ product?: string;
4692
+ /**
4693
+ * @example
4694
+ * 100.0
4695
+ */
4696
+ progress?: number;
4697
+ /**
4698
+ * @example
4699
+ * ""
4700
+ */
4701
+ reasonCode?: string;
4702
+ /**
4703
+ * @example
4704
+ * cn-beijing
4705
+ */
4706
+ regionId?: string;
4707
+ /**
4708
+ * @example
4709
+ * 0
4710
+ */
4711
+ remainTime?: number;
4712
+ /**
4713
+ * @example
4714
+ * 2025-03-03T07:25:16Z
4715
+ */
4716
+ startTime?: string;
4717
+ /**
4718
+ * @example
4719
+ * Succeed
4720
+ */
4721
+ status?: string;
4722
+ /**
4723
+ * @example
4724
+ * {\\"steps\\":[{\\"step_name\\":\\"init_task\\"},{\\"step_name\\":\\"exec_task\\"},{\\"step_name\\":\\"finish_task\\"}]}
4725
+ */
4726
+ taskDetail?: string;
4727
+ /**
4728
+ * @example
4729
+ * t-0mqt8qhnw04ipz0***
4730
+ */
4731
+ taskId?: string;
4732
+ /**
4733
+ * @example
4734
+ * ChangeVariable
4735
+ */
4736
+ taskType?: string;
4737
+ /**
4738
+ * @example
4739
+ * 1816563541899***
4740
+ */
4741
+ uid?: string;
4742
+ static names(): {
4743
+ [key: string]: string;
4744
+ };
4745
+ static types(): {
4746
+ [key: string]: any;
4747
+ };
4748
+ validate(): void;
4749
+ constructor(map?: {
4750
+ [key: string]: any;
4751
+ });
4752
+ }
4639
4753
  export declare class DescribeLicenseOrdersResponseBodyItems extends $dara.Model {
4640
4754
  /**
4641
4755
  * @remarks
@@ -8281,8 +8395,8 @@ export declare class CreateDBClusterEndpointRequest extends $dara.Model {
8281
8395
  * @remarks
8282
8396
  * Specifies whether to enable automatic association of newly added nodes with the cluster endpoint. Valid values:
8283
8397
  *
8284
- * * **Enable**: enables automatic association of newly added nodes with the cluster endpoint.
8285
- * * **Disable** (default): disables automatic association of newly added nodes with the cluster endpoint.
8398
+ * * **Enable**
8399
+ * * **Disable** (default)
8286
8400
  *
8287
8401
  * @example
8288
8402
  * Disable
@@ -8417,11 +8531,6 @@ export declare class CreateDBClusterEndpointRequest extends $dara.Model {
8417
8531
  * * **ON**
8418
8532
  * * **OFF**
8419
8533
  *
8420
- * Enumerated values:
8421
- *
8422
- * * on
8423
- * * off
8424
- *
8425
8534
  * @example
8426
8535
  * on
8427
8536
  */
@@ -10624,6 +10733,15 @@ export declare class DeleteMaskingRulesRequest extends $dara.Model {
10624
10733
  * pc-*****************
10625
10734
  */
10626
10735
  DBClusterId?: string;
10736
+ /**
10737
+ * @remarks
10738
+ * Deletes data masking or encryption rules. Valid values:
10739
+ *
10740
+ * v1: deletes data masking rules. v2: deletes data encryption rules.
10741
+ *
10742
+ * @example
10743
+ * v1
10744
+ */
10627
10745
  interfaceVersion?: string;
10628
10746
  /**
10629
10747
  * @remarks
@@ -12539,6 +12657,7 @@ export declare class DescribeDBClusterAttributeResponseBody extends $dara.Model
12539
12657
  * X86
12540
12658
  */
12541
12659
  architecture?: string;
12660
+ autoUpgradeMinorVersion?: string;
12542
12661
  /**
12543
12662
  * @remarks
12544
12663
  * Maximum number of blktags in the file system.
@@ -14781,7 +14900,7 @@ export declare class DescribeDBClustersRequest extends $dara.Model {
14781
14900
  ownerId?: number;
14782
14901
  /**
14783
14902
  * @remarks
14784
- * The page number. The value must be an integer that is greater than 0. Default value: **1**.
14903
+ * 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**.
14785
14904
  *
14786
14905
  * @example
14787
14906
  * 10
@@ -16602,6 +16721,143 @@ export declare class DescribeGlobalSecurityIPGroupRelationResponse extends $dara
16602
16721
  [key: string]: any;
16603
16722
  });
16604
16723
  }
16724
+ export declare class DescribeHistoryTasksRequest extends $dara.Model {
16725
+ /**
16726
+ * @example
16727
+ * 0
16728
+ */
16729
+ fromExecTime?: number;
16730
+ /**
16731
+ * @remarks
16732
+ * This parameter is required.
16733
+ *
16734
+ * @example
16735
+ * 2025-01-02T11:31:03Z
16736
+ */
16737
+ fromStartTime?: string;
16738
+ /**
16739
+ * @example
16740
+ * pc-2zed3m89cw***
16741
+ */
16742
+ instanceId?: string;
16743
+ /**
16744
+ * @example
16745
+ * Instance
16746
+ */
16747
+ instanceType?: string;
16748
+ ownerId?: number;
16749
+ /**
16750
+ * @example
16751
+ * 1
16752
+ */
16753
+ pageNumber?: number;
16754
+ /**
16755
+ * @example
16756
+ * 10
16757
+ */
16758
+ pageSize?: number;
16759
+ /**
16760
+ * @example
16761
+ * cn-beijing
16762
+ */
16763
+ regionId?: string;
16764
+ /**
16765
+ * @example
16766
+ * rg-************
16767
+ */
16768
+ resourceGroupId?: string;
16769
+ resourceOwnerAccount?: number;
16770
+ resourceOwnerId?: number;
16771
+ securityToken?: string;
16772
+ /**
16773
+ * @example
16774
+ * Running
16775
+ */
16776
+ status?: string;
16777
+ /**
16778
+ * @example
16779
+ * t-0mqi38ho0cgjv***
16780
+ */
16781
+ taskId?: string;
16782
+ /**
16783
+ * @example
16784
+ * ChangeVariable
16785
+ */
16786
+ taskType?: string;
16787
+ /**
16788
+ * @example
16789
+ * 0
16790
+ */
16791
+ toExecTime?: number;
16792
+ /**
16793
+ * @remarks
16794
+ * This parameter is required.
16795
+ *
16796
+ * @example
16797
+ * 2025-01-03T11:31:03Z
16798
+ */
16799
+ toStartTime?: string;
16800
+ static names(): {
16801
+ [key: string]: string;
16802
+ };
16803
+ static types(): {
16804
+ [key: string]: any;
16805
+ };
16806
+ validate(): void;
16807
+ constructor(map?: {
16808
+ [key: string]: any;
16809
+ });
16810
+ }
16811
+ export declare class DescribeHistoryTasksResponseBody extends $dara.Model {
16812
+ items?: DescribeHistoryTasksResponseBodyItems[];
16813
+ /**
16814
+ * @example
16815
+ * 1
16816
+ */
16817
+ pageNumber?: number;
16818
+ /**
16819
+ * @example
16820
+ * 10
16821
+ */
16822
+ pageSize?: number;
16823
+ /**
16824
+ * @example
16825
+ * F90D7C14-2D1C-5B88-9CD1-23AB2CF89***
16826
+ */
16827
+ requestId?: string;
16828
+ /**
16829
+ * @example
16830
+ * 2
16831
+ */
16832
+ totalCount?: string;
16833
+ static names(): {
16834
+ [key: string]: string;
16835
+ };
16836
+ static types(): {
16837
+ [key: string]: any;
16838
+ };
16839
+ validate(): void;
16840
+ constructor(map?: {
16841
+ [key: string]: any;
16842
+ });
16843
+ }
16844
+ export declare class DescribeHistoryTasksResponse extends $dara.Model {
16845
+ headers?: {
16846
+ [key: string]: string;
16847
+ };
16848
+ statusCode?: number;
16849
+ body?: DescribeHistoryTasksResponseBody;
16850
+ static names(): {
16851
+ [key: string]: string;
16852
+ };
16853
+ static types(): {
16854
+ [key: string]: any;
16855
+ };
16856
+ validate(): void;
16857
+ constructor(map?: {
16858
+ [key: string]: any;
16859
+ });
16860
+ }
16605
16861
  export declare class DescribeLicenseOrderDetailsRequest extends $dara.Model {
16606
16862
  /**
16607
16863
  * @remarks
@@ -20617,7 +20873,11 @@ export declare class ModifyDBClusterRequest extends $dara.Model {
20617
20873
  * @remarks
20618
20874
  * The fault injection method. Valid values:
20619
20875
  *
20620
- * * CrashSQLInjection: `Crash SQL`-based fault injection.
20876
+ * * 0: `Crash SQL`-based fault injection.
20877
+ *
20878
+ * Valid values:
20879
+ *
20880
+ * * CrashSQLInjection: CrashSQLInjection.
20621
20881
  *
20622
20882
  * @example
20623
20883
  * 0
@@ -21040,21 +21300,42 @@ export declare class ModifyDBClusterAndNodesParametersResponse extends $dara.Mod
21040
21300
  }
21041
21301
  export declare class ModifyDBClusterArchRequest extends $dara.Model {
21042
21302
  /**
21303
+ * @remarks
21304
+ * The ID of the cluster.
21305
+ *
21043
21306
  * @example
21044
21307
  * pc-****************
21045
21308
  */
21046
21309
  DBClusterId?: string;
21047
21310
  /**
21311
+ * @remarks
21312
+ * Specifies whether to enable the hot standby storage cluster feature. Valid values:
21313
+ *
21314
+ * * **on**: enables hot standby storage cluster.
21315
+ * * **equal**: Enable a peer-to-peer cluster.
21316
+ *
21048
21317
  * @example
21049
21318
  * on
21050
21319
  */
21051
21320
  hotStandbyCluster?: string;
21052
21321
  /**
21322
+ * @remarks
21323
+ * The region ID.
21324
+ *
21325
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query information about regions.
21326
+ *
21053
21327
  * @example
21054
21328
  * cn-beijing
21055
21329
  */
21056
21330
  regionId?: string;
21057
21331
  /**
21332
+ * @remarks
21333
+ * The zone of the hot standby storage cluster. Valid values:
21334
+ *
21335
+ * * **auto** (default): The zone is automatically selected.
21336
+ *
21337
+ * > 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.
21338
+ *
21058
21339
  * @example
21059
21340
  * cn-beijing-i
21060
21341
  */
@@ -21072,16 +21353,25 @@ export declare class ModifyDBClusterArchRequest extends $dara.Model {
21072
21353
  }
21073
21354
  export declare class ModifyDBClusterArchResponseBody extends $dara.Model {
21074
21355
  /**
21356
+ * @remarks
21357
+ * The cluster ID.
21358
+ *
21075
21359
  * @example
21076
21360
  * pc-**************
21077
21361
  */
21078
21362
  DBClusterId?: string;
21079
21363
  /**
21364
+ * @remarks
21365
+ * The order ID.
21366
+ *
21080
21367
  * @example
21081
21368
  * 2148126708*****
21082
21369
  */
21083
21370
  orderId?: string;
21084
21371
  /**
21372
+ * @remarks
21373
+ * The request ID.
21374
+ *
21085
21375
  * @example
21086
21376
  * 6A2EE5B4-CC9F-46E1-A747-E43BC9******
21087
21377
  */
@@ -24151,19 +24441,22 @@ export declare class ModifyMaskingRulesRequest extends $dara.Model {
24151
24441
  interfaceVersion?: string;
24152
24442
  /**
24153
24443
  * @remarks
24154
- * 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:
24444
+ * 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,
24155
24445
  *
24156
24446
  * * `"auto"`: specifies that the dynamic masking algorithm is supported. This parameter is required.
24157
24447
  * * `"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.
24158
24448
  * * `"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.
24159
24449
  * * `"columns"`: Required. The names of fields to which the masking rule is applied. Separate the names with commas (,).
24160
- * * `"description"`: Optional. The description of the masking rule. The description can be up to 64 characters in length.
24161
- * * `"enabled"`: Required. Specifies whether to enable the masking rule. Valid values: **true** and **false**.
24450
+ * * `"description"`: Optional. The description of the masking rule. The description is up to 64 characters in length.
24451
+ * * `"enabled"`: Required. Specifies whether to enable the masking rule. Valid values: **true** (enable) and **false** (disable).
24162
24452
  * * `"applies_to"`: The names of database accounts to which the masking rule is applied. Separate the names with commas (,).
24163
24453
  * * `"exempted"`: The names of database accounts to which the masking rule is not applied. Separate the names with commas (,).
24164
24454
  *
24165
- * >- If you specify `RuleName`, `RuleConfig` parameter is required.
24166
- * >- You need to select either `"applies_to"` or `"exempted"`.
24455
+ * >
24456
+ *
24457
+ * * If you specify `RuleName`, `RuleConfig` parameter is required.
24458
+ *
24459
+ * * You need to select either `"applies_to"` or `"exempted"`.
24167
24460
  *
24168
24461
  * @example
24169
24462
  * {"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"]}
@@ -24173,8 +24466,11 @@ export declare class ModifyMaskingRulesRequest extends $dara.Model {
24173
24466
  * @remarks
24174
24467
  * The name of the data masking rule. You can specify only one rule name at a time.
24175
24468
  *
24176
- * >- 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.
24177
- * >- 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`.
24469
+ * >
24470
+ *
24471
+ * * 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.
24472
+ *
24473
+ * * 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`.
24178
24474
  *
24179
24475
  * @example
24180
24476
  * testrule
@@ -27217,6 +27513,21 @@ export default class Client extends OpenApi {
27217
27513
  * @returns DescribeGlobalSecurityIPGroupRelationResponse
27218
27514
  */
27219
27515
  describeGlobalSecurityIPGroupRelation(request: DescribeGlobalSecurityIPGroupRelationRequest): Promise<DescribeGlobalSecurityIPGroupRelationResponse>;
27516
+ /**
27517
+ * 任务中心任务列表
27518
+ *
27519
+ * @param request - DescribeHistoryTasksRequest
27520
+ * @param runtime - runtime options for this request RuntimeOptions
27521
+ * @returns DescribeHistoryTasksResponse
27522
+ */
27523
+ describeHistoryTasksWithOptions(request: DescribeHistoryTasksRequest, runtime: $dara.RuntimeOptions): Promise<DescribeHistoryTasksResponse>;
27524
+ /**
27525
+ * 任务中心任务列表
27526
+ *
27527
+ * @param request - DescribeHistoryTasksRequest
27528
+ * @returns DescribeHistoryTasksResponse
27529
+ */
27530
+ describeHistoryTasks(request: DescribeHistoryTasksRequest): Promise<DescribeHistoryTasksResponse>;
27220
27531
  /**
27221
27532
  * Queries the information of a license order.
27222
27533
  *
@@ -27786,7 +28097,7 @@ export default class Client extends OpenApi {
27786
28097
  */
27787
28098
  modifyDBClusterAndNodesParameters(request: ModifyDBClusterAndNodesParametersRequest): Promise<ModifyDBClusterAndNodesParametersResponse>;
27788
28099
  /**
27789
- * 变更standby模式
28100
+ * Changes the high availability mode of the cluster.
27790
28101
  *
27791
28102
  * @param request - ModifyDBClusterArchRequest
27792
28103
  * @param runtime - runtime options for this request RuntimeOptions
@@ -27794,7 +28105,7 @@ export default class Client extends OpenApi {
27794
28105
  */
27795
28106
  modifyDBClusterArchWithOptions(request: ModifyDBClusterArchRequest, runtime: $dara.RuntimeOptions): Promise<ModifyDBClusterArchResponse>;
27796
28107
  /**
27797
- * 变更standby模式
28108
+ * Changes the high availability mode of the cluster.
27798
28109
  *
27799
28110
  * @param request - ModifyDBClusterArchRequest
27800
28111
  * @returns ModifyDBClusterArchResponse