@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/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
@@ -14782,7 +14900,7 @@ export declare class DescribeDBClustersRequest extends $dara.Model {
14782
14900
  ownerId?: number;
14783
14901
  /**
14784
14902
  * @remarks
14785
- * 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**.
14786
14904
  *
14787
14905
  * @example
14788
14906
  * 10
@@ -16603,6 +16721,143 @@ export declare class DescribeGlobalSecurityIPGroupRelationResponse extends $dara
16603
16721
  [key: string]: any;
16604
16722
  });
16605
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
+ }
16606
16861
  export declare class DescribeLicenseOrderDetailsRequest extends $dara.Model {
16607
16862
  /**
16608
16863
  * @remarks
@@ -20618,7 +20873,11 @@ export declare class ModifyDBClusterRequest extends $dara.Model {
20618
20873
  * @remarks
20619
20874
  * The fault injection method. Valid values:
20620
20875
  *
20621
- * * CrashSQLInjection: `Crash SQL`-based fault injection.
20876
+ * * 0: `Crash SQL`-based fault injection.
20877
+ *
20878
+ * Valid values:
20879
+ *
20880
+ * * CrashSQLInjection: CrashSQLInjection.
20622
20881
  *
20623
20882
  * @example
20624
20883
  * 0
@@ -21041,21 +21300,42 @@ export declare class ModifyDBClusterAndNodesParametersResponse extends $dara.Mod
21041
21300
  }
21042
21301
  export declare class ModifyDBClusterArchRequest extends $dara.Model {
21043
21302
  /**
21303
+ * @remarks
21304
+ * The ID of the cluster.
21305
+ *
21044
21306
  * @example
21045
21307
  * pc-****************
21046
21308
  */
21047
21309
  DBClusterId?: string;
21048
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
+ *
21049
21317
  * @example
21050
21318
  * on
21051
21319
  */
21052
21320
  hotStandbyCluster?: string;
21053
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
+ *
21054
21327
  * @example
21055
21328
  * cn-beijing
21056
21329
  */
21057
21330
  regionId?: string;
21058
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
+ *
21059
21339
  * @example
21060
21340
  * cn-beijing-i
21061
21341
  */
@@ -21073,16 +21353,25 @@ export declare class ModifyDBClusterArchRequest extends $dara.Model {
21073
21353
  }
21074
21354
  export declare class ModifyDBClusterArchResponseBody extends $dara.Model {
21075
21355
  /**
21356
+ * @remarks
21357
+ * The cluster ID.
21358
+ *
21076
21359
  * @example
21077
21360
  * pc-**************
21078
21361
  */
21079
21362
  DBClusterId?: string;
21080
21363
  /**
21364
+ * @remarks
21365
+ * The order ID.
21366
+ *
21081
21367
  * @example
21082
21368
  * 2148126708*****
21083
21369
  */
21084
21370
  orderId?: string;
21085
21371
  /**
21372
+ * @remarks
21373
+ * The request ID.
21374
+ *
21086
21375
  * @example
21087
21376
  * 6A2EE5B4-CC9F-46E1-A747-E43BC9******
21088
21377
  */
@@ -24152,19 +24441,22 @@ export declare class ModifyMaskingRulesRequest extends $dara.Model {
24152
24441
  interfaceVersion?: string;
24153
24442
  /**
24154
24443
  * @remarks
24155
- * 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,
24156
24445
  *
24157
24446
  * * `"auto"`: specifies that the dynamic masking algorithm is supported. This parameter is required.
24158
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.
24159
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.
24160
24449
  * * `"columns"`: Required. The names of fields to which the masking rule is applied. Separate the names with commas (,).
24161
- * * `"description"`: Optional. The description of the masking rule. The description can be up to 64 characters in length.
24162
- * * `"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).
24163
24452
  * * `"applies_to"`: The names of database accounts to which the masking rule is applied. Separate the names with commas (,).
24164
24453
  * * `"exempted"`: The names of database accounts to which the masking rule is not applied. Separate the names with commas (,).
24165
24454
  *
24166
- * >- If you specify `RuleName`, `RuleConfig` parameter is required.
24167
- * >- 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"`.
24168
24460
  *
24169
24461
  * @example
24170
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"]}
@@ -24174,8 +24466,11 @@ export declare class ModifyMaskingRulesRequest extends $dara.Model {
24174
24466
  * @remarks
24175
24467
  * The name of the data masking rule. You can specify only one rule name at a time.
24176
24468
  *
24177
- * >- 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.
24178
- * >- 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`.
24179
24474
  *
24180
24475
  * @example
24181
24476
  * testrule
@@ -27218,6 +27513,21 @@ export default class Client extends OpenApi {
27218
27513
  * @returns DescribeGlobalSecurityIPGroupRelationResponse
27219
27514
  */
27220
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>;
27221
27531
  /**
27222
27532
  * Queries the information of a license order.
27223
27533
  *
@@ -27787,7 +28097,7 @@ export default class Client extends OpenApi {
27787
28097
  */
27788
28098
  modifyDBClusterAndNodesParameters(request: ModifyDBClusterAndNodesParametersRequest): Promise<ModifyDBClusterAndNodesParametersResponse>;
27789
28099
  /**
27790
- * 变更standby模式
28100
+ * Changes the high availability mode of the cluster.
27791
28101
  *
27792
28102
  * @param request - ModifyDBClusterArchRequest
27793
28103
  * @param runtime - runtime options for this request RuntimeOptions
@@ -27795,7 +28105,7 @@ export default class Client extends OpenApi {
27795
28105
  */
27796
28106
  modifyDBClusterArchWithOptions(request: ModifyDBClusterArchRequest, runtime: $dara.RuntimeOptions): Promise<ModifyDBClusterArchResponse>;
27797
28107
  /**
27798
- * 变更standby模式
28108
+ * Changes the high availability mode of the cluster.
27799
28109
  *
27800
28110
  * @param request - ModifyDBClusterArchRequest
27801
28111
  * @returns ModifyDBClusterArchResponse