@alicloud/dds20151201 7.2.0 → 8.0.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 +261 -53
- package/dist/client.js +177 -17
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +399 -62
package/dist/client.d.ts
CHANGED
|
@@ -150,10 +150,13 @@ export declare class CreateShardingDBInstanceRequestMongos extends $dara.Model {
|
|
|
150
150
|
export declare class CreateShardingDBInstanceRequestReplicaSet extends $dara.Model {
|
|
151
151
|
/**
|
|
152
152
|
* @remarks
|
|
153
|
-
* The instance type of the shard
|
|
153
|
+
* The instance type of the shard component. For more information, see [Sharded cluster instance types](https://help.aliyun.com/document_detail/311414.html).
|
|
154
154
|
*
|
|
155
|
-
* >
|
|
156
|
-
*
|
|
155
|
+
* >
|
|
156
|
+
*
|
|
157
|
+
* * **N** specifies the serial number of the shard component for which the instance type is specified. For example, **ReplicaSet.2.Class** specifies the instance type of the second shard component.
|
|
158
|
+
*
|
|
159
|
+
* * Valid values of **N**: **2** to **32**.
|
|
157
160
|
*
|
|
158
161
|
* This parameter is required.
|
|
159
162
|
*
|
|
@@ -163,11 +166,11 @@ export declare class CreateShardingDBInstanceRequestReplicaSet extends $dara.Mod
|
|
|
163
166
|
class?: string;
|
|
164
167
|
/**
|
|
165
168
|
* @remarks
|
|
166
|
-
* The number of read-only nodes in the shard
|
|
169
|
+
* The number of read-only nodes in the shard component.
|
|
167
170
|
*
|
|
168
171
|
* Valid values: **0**, **1, 2, 3, 4, and 5**. Default value: **0**.
|
|
169
172
|
*
|
|
170
|
-
* > **N** specifies the serial number of the shard
|
|
173
|
+
* > **N** specifies the serial number of the shard component for which you want to set the number of read-only nodes. **ReplicaSet.2.ReadonlyReplicas** specifies the number of read-only nodes in the second shard component.
|
|
171
174
|
*
|
|
172
175
|
* @example
|
|
173
176
|
* 0
|
|
@@ -175,10 +178,13 @@ export declare class CreateShardingDBInstanceRequestReplicaSet extends $dara.Mod
|
|
|
175
178
|
readonlyReplicas?: number;
|
|
176
179
|
/**
|
|
177
180
|
* @remarks
|
|
178
|
-
* The storage capacity of the shard
|
|
181
|
+
* The storage capacity of the shard component. Unit: GB.
|
|
182
|
+
*
|
|
183
|
+
* >
|
|
179
184
|
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
185
|
+
* * The values that can be specified for this parameter vary based on the instance types. For more information, see [Sharded cluster instance types](https://help.aliyun.com/document_detail/311414.html).
|
|
186
|
+
*
|
|
187
|
+
* * **N** specifies the serial number of the shard component for which the storage capacity is specified. For example, **ReplicaSet.2.Storage** specifies the storage capacity of the second shard component.
|
|
182
188
|
*
|
|
183
189
|
* This parameter is required.
|
|
184
190
|
*
|
|
@@ -1961,6 +1967,13 @@ export declare class DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanc
|
|
|
1961
1967
|
* s-bp1d8c262a15****.mongodb.rds.aliyuncs.com
|
|
1962
1968
|
*/
|
|
1963
1969
|
connectSting?: string;
|
|
1970
|
+
/**
|
|
1971
|
+
* @remarks
|
|
1972
|
+
* The endpoint of the mongos node.
|
|
1973
|
+
*
|
|
1974
|
+
* @example
|
|
1975
|
+
* s-bp1d8c262a15****.mongodb.rds.aliyuncs.com
|
|
1976
|
+
*/
|
|
1964
1977
|
connectString?: string;
|
|
1965
1978
|
/**
|
|
1966
1979
|
* @remarks
|
|
@@ -4305,7 +4318,7 @@ export declare class DescribeHistoryTasksResponseBodyItems extends $dara.Model {
|
|
|
4305
4318
|
* @example
|
|
4306
4319
|
* Succeed
|
|
4307
4320
|
*/
|
|
4308
|
-
status?:
|
|
4321
|
+
status?: string;
|
|
4309
4322
|
/**
|
|
4310
4323
|
* @remarks
|
|
4311
4324
|
* The details of the task. The task details vary based on the value of the taskType parameter.
|
|
@@ -5860,7 +5873,7 @@ export declare class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceMod
|
|
|
5860
5873
|
promDetailList?: DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstancePromDetailList;
|
|
5861
5874
|
/**
|
|
5862
5875
|
* @remarks
|
|
5863
|
-
* The
|
|
5876
|
+
* The discounted price.
|
|
5864
5877
|
*
|
|
5865
5878
|
* @example
|
|
5866
5879
|
* 451.00
|
|
@@ -5882,7 +5895,21 @@ export declare class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceMod
|
|
|
5882
5895
|
* 0.0
|
|
5883
5896
|
*/
|
|
5884
5897
|
totalProductFee?: number;
|
|
5898
|
+
/**
|
|
5899
|
+
* @remarks
|
|
5900
|
+
* The price type.
|
|
5901
|
+
*
|
|
5902
|
+
* @example
|
|
5903
|
+
* monthPrice
|
|
5904
|
+
*/
|
|
5885
5905
|
priceType?: string;
|
|
5906
|
+
/**
|
|
5907
|
+
* @remarks
|
|
5908
|
+
* The unit of the price.
|
|
5909
|
+
*
|
|
5910
|
+
* @example
|
|
5911
|
+
* xxxx
|
|
5912
|
+
*/
|
|
5886
5913
|
priceUnit?: string;
|
|
5887
5914
|
static names(): {
|
|
5888
5915
|
[key: string]: string;
|
|
@@ -5989,7 +6016,7 @@ export declare class DescribePriceResponseBodySubOrdersSubOrderOptionalPromotion
|
|
|
5989
6016
|
promotionOptionNo?: string;
|
|
5990
6017
|
/**
|
|
5991
6018
|
* @remarks
|
|
5992
|
-
* The IDs
|
|
6019
|
+
* The promotion IDs.
|
|
5993
6020
|
*/
|
|
5994
6021
|
promotionRuleIdList?: DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionPromotionRuleIdList;
|
|
5995
6022
|
/**
|
|
@@ -8189,6 +8216,19 @@ export declare class CreateAccountRequest extends $dara.Model {
|
|
|
8189
8216
|
* Test123456!
|
|
8190
8217
|
*/
|
|
8191
8218
|
accountPassword?: string;
|
|
8219
|
+
/**
|
|
8220
|
+
* @remarks
|
|
8221
|
+
* The type of the account that you want to create. Valid values:
|
|
8222
|
+
*
|
|
8223
|
+
* * **db** (default): shard account (available)
|
|
8224
|
+
* * **cs**: ConfigServer account
|
|
8225
|
+
* * **normal**: replica set account
|
|
8226
|
+
*
|
|
8227
|
+
* > You can set this parameter only to **db**.
|
|
8228
|
+
*
|
|
8229
|
+
* @example
|
|
8230
|
+
* db
|
|
8231
|
+
*/
|
|
8192
8232
|
characterType?: string;
|
|
8193
8233
|
/**
|
|
8194
8234
|
* @remarks
|
|
@@ -9301,9 +9341,11 @@ export declare class CreateShardingDBInstanceRequest extends $dara.Model {
|
|
|
9301
9341
|
* @remarks
|
|
9302
9342
|
* The password of the root account. The password must meet the following requirements:
|
|
9303
9343
|
*
|
|
9304
|
-
* * The password
|
|
9305
|
-
* * The special characters
|
|
9306
|
-
* * The password
|
|
9344
|
+
* * The password contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
9345
|
+
* * The following special characters are supported: ! @ # $ % ^ & \\* ( ) _ + - =.
|
|
9346
|
+
* * The password must be 8 to 32 characters in length.
|
|
9347
|
+
*
|
|
9348
|
+
* > For more information about how to resolve failed database connections due to special characters, see [What do I do if my instance is not connected due to special characters in the password in the connection string of the instance?](https://help.aliyun.com/document_detail/471568.html)
|
|
9307
9349
|
*
|
|
9308
9350
|
* @example
|
|
9309
9351
|
* 123456Aa
|
|
@@ -9339,7 +9381,7 @@ export declare class CreateShardingDBInstanceRequest extends $dara.Model {
|
|
|
9339
9381
|
* * **PostPaid** (default): pay-as-you-go
|
|
9340
9382
|
* * **PrePaid**: subscription
|
|
9341
9383
|
*
|
|
9342
|
-
* > If this parameter
|
|
9384
|
+
* > If you set this parameter to **PrePaid**, you must also configure the **Period** parameter.
|
|
9343
9385
|
*
|
|
9344
9386
|
* @example
|
|
9345
9387
|
* PrePaid
|
|
@@ -9384,7 +9426,7 @@ export declare class CreateShardingDBInstanceRequest extends $dara.Model {
|
|
|
9384
9426
|
destRegion?: string;
|
|
9385
9427
|
/**
|
|
9386
9428
|
* @remarks
|
|
9387
|
-
*
|
|
9429
|
+
* Specifies whether to enable disk encryption.
|
|
9388
9430
|
*
|
|
9389
9431
|
* @example
|
|
9390
9432
|
* true
|
|
@@ -9419,8 +9461,11 @@ export declare class CreateShardingDBInstanceRequest extends $dara.Model {
|
|
|
9419
9461
|
* * **4.2**
|
|
9420
9462
|
* * **4.0**
|
|
9421
9463
|
*
|
|
9422
|
-
* >
|
|
9423
|
-
*
|
|
9464
|
+
* >
|
|
9465
|
+
*
|
|
9466
|
+
* * For more information about the limits on database versions and storage engines, see [MongoDB versions and storage engines](https://help.aliyun.com/document_detail/61906.html).
|
|
9467
|
+
*
|
|
9468
|
+
* * If you call this operation to clone an instance, set the value of this parameter to the database engine version of the source instance.
|
|
9424
9469
|
*
|
|
9425
9470
|
* This parameter is required.
|
|
9426
9471
|
*
|
|
@@ -9476,9 +9521,9 @@ export declare class CreateShardingDBInstanceRequest extends $dara.Model {
|
|
|
9476
9521
|
mongos?: CreateShardingDBInstanceRequestMongos[];
|
|
9477
9522
|
/**
|
|
9478
9523
|
* @remarks
|
|
9479
|
-
* The network type of the instance.
|
|
9524
|
+
* The network type of the instance. Set the value to VPC.
|
|
9480
9525
|
*
|
|
9481
|
-
*
|
|
9526
|
+
* ****
|
|
9482
9527
|
*
|
|
9483
9528
|
* @example
|
|
9484
9529
|
* VPC
|
|
@@ -9529,7 +9574,7 @@ export declare class CreateShardingDBInstanceRequest extends $dara.Model {
|
|
|
9529
9574
|
regionId?: string;
|
|
9530
9575
|
/**
|
|
9531
9576
|
* @remarks
|
|
9532
|
-
* The information of the shard
|
|
9577
|
+
* The information of the shard component.
|
|
9533
9578
|
*
|
|
9534
9579
|
* This parameter is required.
|
|
9535
9580
|
*/
|
|
@@ -9556,10 +9601,11 @@ export declare class CreateShardingDBInstanceRequest extends $dara.Model {
|
|
|
9556
9601
|
restoreTime?: string;
|
|
9557
9602
|
/**
|
|
9558
9603
|
* @remarks
|
|
9559
|
-
* The
|
|
9560
|
-
*
|
|
9561
|
-
*
|
|
9562
|
-
*
|
|
9604
|
+
* The restoration type of the instance. Valid values:
|
|
9605
|
+
*
|
|
9606
|
+
* * 1: restores the instance data to the specified point in time.
|
|
9607
|
+
* * 2: restores the data of the released instance to the specified backup set.
|
|
9608
|
+
* * 3: restores the instance data to the specified cross-region backup set.
|
|
9563
9609
|
*
|
|
9564
9610
|
* @example
|
|
9565
9611
|
* 1
|
|
@@ -9635,8 +9681,11 @@ export declare class CreateShardingDBInstanceRequest extends $dara.Model {
|
|
|
9635
9681
|
* @remarks
|
|
9636
9682
|
* The storage engine of the instance. Set the value to **WiredTiger**.
|
|
9637
9683
|
*
|
|
9638
|
-
* >
|
|
9639
|
-
*
|
|
9684
|
+
* >
|
|
9685
|
+
*
|
|
9686
|
+
* * If you call this operation to clone an instance, set the value of this parameter to the storage engine of the source instance.
|
|
9687
|
+
*
|
|
9688
|
+
* * For more information about the limits on database versions and storage engines, see [MongoDB versions and storage engines](https://help.aliyun.com/document_detail/61906.html).
|
|
9640
9689
|
*
|
|
9641
9690
|
* @example
|
|
9642
9691
|
* WiredTiger
|
|
@@ -10591,7 +10640,7 @@ export declare class DescribeActiveOperationTasksRequest extends $dara.Model {
|
|
|
10591
10640
|
ownerId?: number;
|
|
10592
10641
|
/**
|
|
10593
10642
|
* @remarks
|
|
10594
|
-
* The
|
|
10643
|
+
* The number of the page to return. Specify the parameter to a positive integer that is greater than **0**. Default value: **1**.
|
|
10595
10644
|
*
|
|
10596
10645
|
* @example
|
|
10597
10646
|
* 1
|
|
@@ -10599,7 +10648,7 @@ export declare class DescribeActiveOperationTasksRequest extends $dara.Model {
|
|
|
10599
10648
|
pageNumber?: number;
|
|
10600
10649
|
/**
|
|
10601
10650
|
* @remarks
|
|
10602
|
-
* The number of entries to return on each page. Valid values: **30
|
|
10651
|
+
* The number of entries to return on each page. Valid values: **30**, **50**, and **100**. Default value: **30**.
|
|
10603
10652
|
*
|
|
10604
10653
|
* @example
|
|
10605
10654
|
* 30
|
|
@@ -10623,6 +10672,14 @@ export declare class DescribeActiveOperationTasksRequest extends $dara.Model {
|
|
|
10623
10672
|
* cn-beijing
|
|
10624
10673
|
*/
|
|
10625
10674
|
region?: string;
|
|
10675
|
+
/**
|
|
10676
|
+
* @remarks
|
|
10677
|
+
* The ID of the resource group.
|
|
10678
|
+
*
|
|
10679
|
+
* @example
|
|
10680
|
+
* rg-acfmyiu4ekp****
|
|
10681
|
+
*/
|
|
10682
|
+
resourceGroupId?: string;
|
|
10626
10683
|
resourceOwnerAccount?: string;
|
|
10627
10684
|
resourceOwnerId?: number;
|
|
10628
10685
|
/**
|
|
@@ -11100,7 +11157,7 @@ export declare class DescribeAuditRecordsResponse extends $dara.Model {
|
|
|
11100
11157
|
export declare class DescribeAvailabilityZonesRequest extends $dara.Model {
|
|
11101
11158
|
/**
|
|
11102
11159
|
* @remarks
|
|
11103
|
-
* The language of the
|
|
11160
|
+
* The language of the returned **RegionName** and **ZoneName** parameter values. Valid values:
|
|
11104
11161
|
*
|
|
11105
11162
|
* * **zh** (default): Chinese
|
|
11106
11163
|
* * **en**: English
|
|
@@ -11154,15 +11211,26 @@ export declare class DescribeAvailabilityZonesRequest extends $dara.Model {
|
|
|
11154
11211
|
excludeZoneId?: string;
|
|
11155
11212
|
/**
|
|
11156
11213
|
* @remarks
|
|
11157
|
-
* The billing method. Valid values:
|
|
11214
|
+
* The billing method of the product. Valid values:
|
|
11158
11215
|
*
|
|
11159
|
-
* * **PrePaid
|
|
11160
|
-
* * **PostPaid
|
|
11216
|
+
* * **PrePaid**: subscription
|
|
11217
|
+
* * **PostPaid:** pay-as-you-go
|
|
11161
11218
|
*
|
|
11162
11219
|
* @example
|
|
11163
11220
|
* PrePaid
|
|
11164
11221
|
*/
|
|
11165
11222
|
instanceChargeType?: string;
|
|
11223
|
+
/**
|
|
11224
|
+
* @remarks
|
|
11225
|
+
* The architecture of the instance. Valid values:
|
|
11226
|
+
*
|
|
11227
|
+
* * **sharding**: sharded cluster instance
|
|
11228
|
+
* * **replicate**: replica set or standalone instance
|
|
11229
|
+
*
|
|
11230
|
+
* @example
|
|
11231
|
+
* replicate
|
|
11232
|
+
*/
|
|
11233
|
+
instanceType?: string;
|
|
11166
11234
|
/**
|
|
11167
11235
|
* @remarks
|
|
11168
11236
|
* The edition of the instance. High-Available Edition and Preview Edition (dbfs) are supported.
|
|
@@ -11185,7 +11253,16 @@ export declare class DescribeAvailabilityZonesRequest extends $dara.Model {
|
|
|
11185
11253
|
regionId?: string;
|
|
11186
11254
|
/**
|
|
11187
11255
|
* @remarks
|
|
11188
|
-
* The number of nodes
|
|
11256
|
+
* The number of nodes in the instance.
|
|
11257
|
+
*
|
|
11258
|
+
* > This parameter is available only for replica set instances.
|
|
11259
|
+
*
|
|
11260
|
+
* Valid values:
|
|
11261
|
+
*
|
|
11262
|
+
* * 1
|
|
11263
|
+
* * 3
|
|
11264
|
+
* * 5
|
|
11265
|
+
* * 7
|
|
11189
11266
|
*
|
|
11190
11267
|
* @example
|
|
11191
11268
|
* 3
|
|
@@ -11203,10 +11280,11 @@ export declare class DescribeAvailabilityZonesRequest extends $dara.Model {
|
|
|
11203
11280
|
resourceOwnerId?: number;
|
|
11204
11281
|
/**
|
|
11205
11282
|
* @remarks
|
|
11206
|
-
* The storage type
|
|
11207
|
-
*
|
|
11208
|
-
*
|
|
11209
|
-
*
|
|
11283
|
+
* The storage type. Valid values:
|
|
11284
|
+
*
|
|
11285
|
+
* * **cloud**: displays only zones available for instances that use cloud disks.
|
|
11286
|
+
* * **local**: only displays zones available for instances that use local disks instances.
|
|
11287
|
+
* * **default** or unspecified: displays zones available for instances that use cloud disks and those that use local disks.
|
|
11210
11288
|
*
|
|
11211
11289
|
* @example
|
|
11212
11290
|
* local
|
|
@@ -11214,15 +11292,18 @@ export declare class DescribeAvailabilityZonesRequest extends $dara.Model {
|
|
|
11214
11292
|
storageSupport?: string;
|
|
11215
11293
|
/**
|
|
11216
11294
|
* @remarks
|
|
11217
|
-
* The
|
|
11295
|
+
* The disk type. Valid values:
|
|
11218
11296
|
*
|
|
11219
|
-
* * **
|
|
11297
|
+
* * **cloud_essd**: PL1 Enterprise SSD (ESSD)
|
|
11220
11298
|
* * **cloud_essd2**: PL2 ESSD
|
|
11221
11299
|
* * **cloud_essd3**: PL3 ESSD
|
|
11222
|
-
* * **
|
|
11300
|
+
* * **dhg_local_ssd**: local SSD
|
|
11223
11301
|
*
|
|
11224
|
-
* >
|
|
11225
|
-
*
|
|
11302
|
+
* >
|
|
11303
|
+
*
|
|
11304
|
+
* * Instances that run MongoDB 4.4 or later only use cloud disks to store data. If you do not specify this parameter, the value **cloud_essd1** is used by default.
|
|
11305
|
+
*
|
|
11306
|
+
* * Instances that run MongoDB 4.2 and earlier only use local disks to store data. If you do not specify this parameter, the value **local_ssd** is used by default.
|
|
11226
11307
|
*
|
|
11227
11308
|
* @example
|
|
11228
11309
|
* local_ssd
|
|
@@ -12037,7 +12118,7 @@ export declare class DescribeBackupTasksRequest extends $dara.Model {
|
|
|
12037
12118
|
* @remarks
|
|
12038
12119
|
* The ID of the backup task.
|
|
12039
12120
|
*
|
|
12040
|
-
* > If you call the [CreateBackup](https://help.aliyun.com/document_detail/
|
|
12121
|
+
* > If you call the [CreateBackup](https://help.aliyun.com/document_detail/468439.html) operation to perform a manual backup task, you can set this parameter to the returned backup ID to query the backup progress of the task.
|
|
12041
12122
|
*
|
|
12042
12123
|
* @example
|
|
12043
12124
|
* 170034
|
|
@@ -12166,7 +12247,7 @@ export declare class DescribeBackupsRequest extends $dara.Model {
|
|
|
12166
12247
|
ownerId?: number;
|
|
12167
12248
|
/**
|
|
12168
12249
|
* @remarks
|
|
12169
|
-
* The
|
|
12250
|
+
* The page number. Pages start from page 1. Default value: **1**.
|
|
12170
12251
|
*
|
|
12171
12252
|
* @example
|
|
12172
12253
|
* 1
|
|
@@ -13082,6 +13163,76 @@ export declare class DescribeDBInstanceSSLResponse extends $dara.Model {
|
|
|
13082
13163
|
[key: string]: any;
|
|
13083
13164
|
});
|
|
13084
13165
|
}
|
|
13166
|
+
export declare class DescribeDBInstanceSpecInfoRequest extends $dara.Model {
|
|
13167
|
+
/**
|
|
13168
|
+
* @remarks
|
|
13169
|
+
* This parameter is required.
|
|
13170
|
+
*
|
|
13171
|
+
* @example
|
|
13172
|
+
* mdb.shard.4x.large.d
|
|
13173
|
+
*/
|
|
13174
|
+
instanceClass?: string;
|
|
13175
|
+
ownerAccount?: string;
|
|
13176
|
+
ownerId?: number;
|
|
13177
|
+
resourceOwnerAccount?: string;
|
|
13178
|
+
resourceOwnerId?: number;
|
|
13179
|
+
securityToken?: string;
|
|
13180
|
+
static names(): {
|
|
13181
|
+
[key: string]: string;
|
|
13182
|
+
};
|
|
13183
|
+
static types(): {
|
|
13184
|
+
[key: string]: any;
|
|
13185
|
+
};
|
|
13186
|
+
validate(): void;
|
|
13187
|
+
constructor(map?: {
|
|
13188
|
+
[key: string]: any;
|
|
13189
|
+
});
|
|
13190
|
+
}
|
|
13191
|
+
export declare class DescribeDBInstanceSpecInfoResponseBody extends $dara.Model {
|
|
13192
|
+
/**
|
|
13193
|
+
* @example
|
|
13194
|
+
* 2
|
|
13195
|
+
*/
|
|
13196
|
+
CPU?: string;
|
|
13197
|
+
description?: string;
|
|
13198
|
+
/**
|
|
13199
|
+
* @example
|
|
13200
|
+
* 8
|
|
13201
|
+
*/
|
|
13202
|
+
memory?: string;
|
|
13203
|
+
/**
|
|
13204
|
+
* @example
|
|
13205
|
+
* 6B82A9EF-9961-5A31-A19F-009B709xxxxx
|
|
13206
|
+
*/
|
|
13207
|
+
requestId?: string;
|
|
13208
|
+
static names(): {
|
|
13209
|
+
[key: string]: string;
|
|
13210
|
+
};
|
|
13211
|
+
static types(): {
|
|
13212
|
+
[key: string]: any;
|
|
13213
|
+
};
|
|
13214
|
+
validate(): void;
|
|
13215
|
+
constructor(map?: {
|
|
13216
|
+
[key: string]: any;
|
|
13217
|
+
});
|
|
13218
|
+
}
|
|
13219
|
+
export declare class DescribeDBInstanceSpecInfoResponse extends $dara.Model {
|
|
13220
|
+
headers?: {
|
|
13221
|
+
[key: string]: string;
|
|
13222
|
+
};
|
|
13223
|
+
statusCode?: number;
|
|
13224
|
+
body?: DescribeDBInstanceSpecInfoResponseBody;
|
|
13225
|
+
static names(): {
|
|
13226
|
+
[key: string]: string;
|
|
13227
|
+
};
|
|
13228
|
+
static types(): {
|
|
13229
|
+
[key: string]: any;
|
|
13230
|
+
};
|
|
13231
|
+
validate(): void;
|
|
13232
|
+
constructor(map?: {
|
|
13233
|
+
[key: string]: any;
|
|
13234
|
+
});
|
|
13235
|
+
}
|
|
13085
13236
|
export declare class DescribeDBInstanceSwitchLogRequest extends $dara.Model {
|
|
13086
13237
|
/**
|
|
13087
13238
|
* @remarks
|
|
@@ -13712,6 +13863,13 @@ export declare class DescribeDBInstancesOverviewRequest extends $dara.Model {
|
|
|
13712
13863
|
resourceGroupId?: string;
|
|
13713
13864
|
resourceOwnerAccount?: string;
|
|
13714
13865
|
resourceOwnerId?: number;
|
|
13866
|
+
/**
|
|
13867
|
+
* @remarks
|
|
13868
|
+
* Specifies whether to display instance tags. Default value: False.
|
|
13869
|
+
*
|
|
13870
|
+
* @example
|
|
13871
|
+
* false
|
|
13872
|
+
*/
|
|
13715
13873
|
showTags?: boolean;
|
|
13716
13874
|
/**
|
|
13717
13875
|
* @remarks
|
|
@@ -14193,7 +14351,7 @@ export declare class DescribeHistoryTasksRequest extends $dara.Model {
|
|
|
14193
14351
|
instanceType?: string;
|
|
14194
14352
|
/**
|
|
14195
14353
|
* @remarks
|
|
14196
|
-
* The number of the page to return. The value must be a positive integer. Default value: 1
|
|
14354
|
+
* The number of the page to return. The value must be a positive integer. Default value: 1.
|
|
14197
14355
|
*
|
|
14198
14356
|
* @example
|
|
14199
14357
|
* 1
|
|
@@ -14201,7 +14359,7 @@ export declare class DescribeHistoryTasksRequest extends $dara.Model {
|
|
|
14201
14359
|
pageNumber?: number;
|
|
14202
14360
|
/**
|
|
14203
14361
|
* @remarks
|
|
14204
|
-
* The number of entries per page. Valid values: 10 to 100. Default value: 10
|
|
14362
|
+
* The number of entries per page. Valid values: 10 to 100. Default value: 10.
|
|
14205
14363
|
*
|
|
14206
14364
|
* @example
|
|
14207
14365
|
* 10
|
|
@@ -14215,6 +14373,14 @@ export declare class DescribeHistoryTasksRequest extends $dara.Model {
|
|
|
14215
14373
|
* cn-beijing
|
|
14216
14374
|
*/
|
|
14217
14375
|
regionId?: string;
|
|
14376
|
+
/**
|
|
14377
|
+
* @remarks
|
|
14378
|
+
* The ID of the resource group.
|
|
14379
|
+
*
|
|
14380
|
+
* @example
|
|
14381
|
+
* rg-aek2inrfrnw3xby
|
|
14382
|
+
*/
|
|
14383
|
+
resourceGroupId?: string;
|
|
14218
14384
|
resourceOwnerAccount?: string;
|
|
14219
14385
|
resourceOwnerId?: number;
|
|
14220
14386
|
/**
|
|
@@ -14407,6 +14573,14 @@ export declare class DescribeHistoryTasksStatRequest extends $dara.Model {
|
|
|
14407
14573
|
* cn-beijing
|
|
14408
14574
|
*/
|
|
14409
14575
|
regionId?: string;
|
|
14576
|
+
/**
|
|
14577
|
+
* @remarks
|
|
14578
|
+
* The ID of the resource group.
|
|
14579
|
+
*
|
|
14580
|
+
* @example
|
|
14581
|
+
* rg-acfmyiu4ekp****
|
|
14582
|
+
*/
|
|
14583
|
+
resourceGroupId?: string;
|
|
14410
14584
|
resourceOwnerAccount?: string;
|
|
14411
14585
|
resourceOwnerId?: number;
|
|
14412
14586
|
/**
|
|
@@ -17389,10 +17563,8 @@ export declare class MigrateToOtherZoneRequest extends $dara.Model {
|
|
|
17389
17563
|
* @remarks
|
|
17390
17564
|
* The time when the instance is migrated to the destination zone. Valid values:
|
|
17391
17565
|
*
|
|
17392
|
-
* * **Immediately
|
|
17393
|
-
* * **MaintainTime**: The instance is migrated during
|
|
17394
|
-
*
|
|
17395
|
-
* Default value: **Immediately**.
|
|
17566
|
+
* * **Immediately** (default): The instance is migrated immediately.
|
|
17567
|
+
* * **MaintainTime**: The instance is migrated during its maintenance window.
|
|
17396
17568
|
*
|
|
17397
17569
|
* @example
|
|
17398
17570
|
* Immediately
|
|
@@ -17509,6 +17681,19 @@ export declare class ModifyAccountDescriptionRequest extends $dara.Model {
|
|
|
17509
17681
|
* root
|
|
17510
17682
|
*/
|
|
17511
17683
|
accountName?: string;
|
|
17684
|
+
/**
|
|
17685
|
+
* @remarks
|
|
17686
|
+
* The type of the account whose description you can modify. Valid values:
|
|
17687
|
+
*
|
|
17688
|
+
* * **db**: shard account
|
|
17689
|
+
* * **cs**: ConfigServer account
|
|
17690
|
+
* * **normal** (default): replica set account (available)
|
|
17691
|
+
*
|
|
17692
|
+
* > You can set this parameter only to **normal**.
|
|
17693
|
+
*
|
|
17694
|
+
* @example
|
|
17695
|
+
* normal
|
|
17696
|
+
*/
|
|
17512
17697
|
characterType?: string;
|
|
17513
17698
|
/**
|
|
17514
17699
|
* @remarks
|
|
@@ -17601,6 +17786,14 @@ export declare class ModifyActiveOperationTasksRequest extends $dara.Model {
|
|
|
17601
17786
|
immediateStart?: number;
|
|
17602
17787
|
ownerAccount?: string;
|
|
17603
17788
|
ownerId?: number;
|
|
17789
|
+
/**
|
|
17790
|
+
* @remarks
|
|
17791
|
+
* The ID of the resource group.
|
|
17792
|
+
*
|
|
17793
|
+
* @example
|
|
17794
|
+
* rg-acfmyiu4ekp****
|
|
17795
|
+
*/
|
|
17796
|
+
resourceGroupId?: string;
|
|
17604
17797
|
resourceOwnerAccount?: string;
|
|
17605
17798
|
resourceOwnerId?: number;
|
|
17606
17799
|
/**
|
|
@@ -22850,6 +23043,21 @@ export default class Client extends OpenApi {
|
|
|
22850
23043
|
* @returns DescribeDBInstanceSSLResponse
|
|
22851
23044
|
*/
|
|
22852
23045
|
describeDBInstanceSSL(request: DescribeDBInstanceSSLRequest): Promise<DescribeDBInstanceSSLResponse>;
|
|
23046
|
+
/**
|
|
23047
|
+
* 查看规格信息详情
|
|
23048
|
+
*
|
|
23049
|
+
* @param request - DescribeDBInstanceSpecInfoRequest
|
|
23050
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
23051
|
+
* @returns DescribeDBInstanceSpecInfoResponse
|
|
23052
|
+
*/
|
|
23053
|
+
describeDBInstanceSpecInfoWithOptions(request: DescribeDBInstanceSpecInfoRequest, runtime: $dara.RuntimeOptions): Promise<DescribeDBInstanceSpecInfoResponse>;
|
|
23054
|
+
/**
|
|
23055
|
+
* 查看规格信息详情
|
|
23056
|
+
*
|
|
23057
|
+
* @param request - DescribeDBInstanceSpecInfoRequest
|
|
23058
|
+
* @returns DescribeDBInstanceSpecInfoResponse
|
|
23059
|
+
*/
|
|
23060
|
+
describeDBInstanceSpecInfo(request: DescribeDBInstanceSpecInfoRequest): Promise<DescribeDBInstanceSpecInfoResponse>;
|
|
22853
23061
|
/**
|
|
22854
23062
|
* Queries the primary/secondary switching logs of an ApsaraDB for MongoDB instance.
|
|
22855
23063
|
*
|
|
@@ -23176,7 +23384,7 @@ export default class Client extends OpenApi {
|
|
|
23176
23384
|
*/
|
|
23177
23385
|
describeParameters(request: DescribeParametersRequest): Promise<DescribeParametersResponse>;
|
|
23178
23386
|
/**
|
|
23179
|
-
* Queries the
|
|
23387
|
+
* Queries the pricing information of an ApsaraDB for MongoDB instance.
|
|
23180
23388
|
*
|
|
23181
23389
|
* @param request - DescribePriceRequest
|
|
23182
23390
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23184,7 +23392,7 @@ export default class Client extends OpenApi {
|
|
|
23184
23392
|
*/
|
|
23185
23393
|
describePriceWithOptions(request: DescribePriceRequest, runtime: $dara.RuntimeOptions): Promise<DescribePriceResponse>;
|
|
23186
23394
|
/**
|
|
23187
|
-
* Queries the
|
|
23395
|
+
* Queries the pricing information of an ApsaraDB for MongoDB instance.
|
|
23188
23396
|
*
|
|
23189
23397
|
* @param request - DescribePriceRequest
|
|
23190
23398
|
* @returns DescribePriceResponse
|