@alicloud/dds20151201 7.1.0 → 7.1.1
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 +111 -1
- package/dist/client.js +4 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +111 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -10299,6 +10299,12 @@ export class DescribeReplicaSetRoleResponse extends $tea.Model {
|
|
|
10299
10299
|
export class DescribeRestoreDBInstanceListRequest extends $tea.Model {
|
|
10300
10300
|
/**
|
|
10301
10301
|
* @remarks
|
|
10302
|
+
* Find instances created after the specified time, formatted as <i>yyyy-MM-dd</i>T<i>HH:00:00</i>Z (UTC time).
|
|
10303
|
+
*
|
|
10304
|
+
* >
|
|
10305
|
+
* > - The time must be on the hour.
|
|
10306
|
+
* > - The time cannot be earlier than 7 days before the current time.
|
|
10307
|
+
*
|
|
10302
10308
|
* This parameter is required.
|
|
10303
10309
|
*
|
|
10304
10310
|
* @example
|
|
@@ -10307,6 +10313,8 @@ export class DescribeRestoreDBInstanceListRequest extends $tea.Model {
|
|
|
10307
10313
|
creationTimeAfter?: string;
|
|
10308
10314
|
/**
|
|
10309
10315
|
* @remarks
|
|
10316
|
+
* The instance ID.
|
|
10317
|
+
*
|
|
10310
10318
|
* This parameter is required.
|
|
10311
10319
|
*
|
|
10312
10320
|
* @example
|
|
@@ -10316,11 +10324,17 @@ export class DescribeRestoreDBInstanceListRequest extends $tea.Model {
|
|
|
10316
10324
|
ownerAccount?: string;
|
|
10317
10325
|
ownerId?: number;
|
|
10318
10326
|
/**
|
|
10327
|
+
* @remarks
|
|
10328
|
+
* The page number.
|
|
10329
|
+
*
|
|
10319
10330
|
* @example
|
|
10320
10331
|
* 1
|
|
10321
10332
|
*/
|
|
10322
10333
|
pageNumber?: number;
|
|
10323
10334
|
/**
|
|
10335
|
+
* @remarks
|
|
10336
|
+
* The number of entries returned per page.
|
|
10337
|
+
*
|
|
10324
10338
|
* @example
|
|
10325
10339
|
* 30
|
|
10326
10340
|
*/
|
|
@@ -10359,23 +10373,39 @@ export class DescribeRestoreDBInstanceListRequest extends $tea.Model {
|
|
|
10359
10373
|
}
|
|
10360
10374
|
|
|
10361
10375
|
export class DescribeRestoreDBInstanceListResponseBody extends $tea.Model {
|
|
10376
|
+
/**
|
|
10377
|
+
* @remarks
|
|
10378
|
+
* DB instances list.
|
|
10379
|
+
*/
|
|
10362
10380
|
DBInstances?: DescribeRestoreDBInstanceListResponseBodyDBInstances;
|
|
10363
10381
|
/**
|
|
10382
|
+
* @remarks
|
|
10383
|
+
* The page number.
|
|
10384
|
+
*
|
|
10364
10385
|
* @example
|
|
10365
10386
|
* 1
|
|
10366
10387
|
*/
|
|
10367
10388
|
pageNumber?: number;
|
|
10368
10389
|
/**
|
|
10390
|
+
* @remarks
|
|
10391
|
+
* The number of entries returned per page.
|
|
10392
|
+
*
|
|
10369
10393
|
* @example
|
|
10370
10394
|
* 30
|
|
10371
10395
|
*/
|
|
10372
10396
|
pageSize?: number;
|
|
10373
10397
|
/**
|
|
10398
|
+
* @remarks
|
|
10399
|
+
* The request ID.
|
|
10400
|
+
*
|
|
10374
10401
|
* @example
|
|
10375
10402
|
* 1AF0AD89-ED4F-44AD-B65F-BFC1D5Cxxxxx
|
|
10376
10403
|
*/
|
|
10377
10404
|
requestId?: string;
|
|
10378
10405
|
/**
|
|
10406
|
+
* @remarks
|
|
10407
|
+
* The number of instances in the query results.
|
|
10408
|
+
*
|
|
10379
10409
|
* @example
|
|
10380
10410
|
* 5
|
|
10381
10411
|
*/
|
|
@@ -11083,7 +11113,7 @@ export class DescribeShardingNetworkAddressResponseBody extends $tea.Model {
|
|
|
11083
11113
|
compatibleConnections?: DescribeShardingNetworkAddressResponseBodyCompatibleConnections;
|
|
11084
11114
|
/**
|
|
11085
11115
|
* @remarks
|
|
11086
|
-
* The endpoints of ApsaraDB for MongoDB
|
|
11116
|
+
* The endpoints of the ApsaraDB for MongoDB sharded cluster instance.
|
|
11087
11117
|
*/
|
|
11088
11118
|
networkAddresses?: DescribeShardingNetworkAddressResponseBodyNetworkAddresses;
|
|
11089
11119
|
/**
|
|
@@ -26599,57 +26629,116 @@ export class DescribeReplicaSetRoleResponseBodyReplicaSets extends $tea.Model {
|
|
|
26599
26629
|
|
|
26600
26630
|
export class DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance extends $tea.Model {
|
|
26601
26631
|
/**
|
|
26632
|
+
* @remarks
|
|
26633
|
+
* The time of instance creation, formatted as <i>yyyy-MM-dd</i>T<i>HH:00:00</i>Z (UTC time).
|
|
26634
|
+
*
|
|
26602
26635
|
* @example
|
|
26603
26636
|
* 2022-01-02T07:43:59Z
|
|
26604
26637
|
*/
|
|
26605
26638
|
creationTime?: string;
|
|
26639
|
+
/**
|
|
26640
|
+
* @remarks
|
|
26641
|
+
* The description of the instance.
|
|
26642
|
+
*
|
|
26643
|
+
* @example
|
|
26644
|
+
* test-database
|
|
26645
|
+
*/
|
|
26606
26646
|
DBInstanceDescription?: string;
|
|
26607
26647
|
/**
|
|
26648
|
+
* @remarks
|
|
26649
|
+
* The instance ID.
|
|
26650
|
+
*
|
|
26608
26651
|
* @example
|
|
26609
26652
|
* dds-bp12c5b040dc****
|
|
26610
26653
|
*/
|
|
26611
26654
|
DBInstanceId?: string;
|
|
26612
26655
|
/**
|
|
26656
|
+
* @remarks
|
|
26657
|
+
* The status of the instance. For more information, see [Instance states](https://help.aliyun.com/document_detail/63870.html).
|
|
26658
|
+
*
|
|
26613
26659
|
* @example
|
|
26614
26660
|
* Running
|
|
26615
26661
|
*/
|
|
26616
26662
|
DBInstanceStatus?: string;
|
|
26617
26663
|
/**
|
|
26664
|
+
* @remarks
|
|
26665
|
+
* The architecture of the instance. Valid values:
|
|
26666
|
+
*
|
|
26667
|
+
* * **sharding**: sharded cluster instance
|
|
26668
|
+
* * **replicate**: replica set or standalone instance
|
|
26669
|
+
*
|
|
26618
26670
|
* @example
|
|
26619
26671
|
* replicate
|
|
26620
26672
|
*/
|
|
26621
26673
|
DBInstanceType?: string;
|
|
26622
26674
|
/**
|
|
26675
|
+
* @remarks
|
|
26676
|
+
* The database engine version of the instance. Valid values:
|
|
26677
|
+
*
|
|
26678
|
+
* * **7.0**
|
|
26679
|
+
* * **6.0**
|
|
26680
|
+
* * **5.0**
|
|
26681
|
+
* * **4.4**
|
|
26682
|
+
* * **4.2**
|
|
26683
|
+
* * **4.0**
|
|
26684
|
+
* * **3.4**
|
|
26685
|
+
*
|
|
26623
26686
|
* @example
|
|
26624
26687
|
* 4.2
|
|
26625
26688
|
*/
|
|
26626
26689
|
engineVersion?: string;
|
|
26627
26690
|
/**
|
|
26691
|
+
* @remarks
|
|
26692
|
+
* The secondary availability zone 2 for the instance when implementing multi-AZ deployment.
|
|
26693
|
+
*
|
|
26628
26694
|
* @example
|
|
26629
26695
|
* cn-hangzhou-h
|
|
26630
26696
|
*/
|
|
26631
26697
|
hiddenZoneId?: string;
|
|
26632
26698
|
/**
|
|
26699
|
+
* @remarks
|
|
26700
|
+
* Specifies whether the instance is deleted. Valid values:
|
|
26701
|
+
*
|
|
26702
|
+
* * **0**: not deleted
|
|
26703
|
+
* * **1**: deleted
|
|
26704
|
+
*
|
|
26633
26705
|
* @example
|
|
26634
26706
|
* 0
|
|
26635
26707
|
*/
|
|
26636
26708
|
isDeleted?: number;
|
|
26637
26709
|
/**
|
|
26710
|
+
* @remarks
|
|
26711
|
+
* The locked state of the instance, value description:
|
|
26712
|
+
* - Unlock: Normal.
|
|
26713
|
+
* - ManualLock: Manually triggered lock.
|
|
26714
|
+
* - LockByExpiration: Automatically locked due to expiration.
|
|
26715
|
+
* - LockByRestoration: Automatically locked before restoration.
|
|
26716
|
+
* - LockByDiskQuota: Automatically locked due to disk quota exceeded.
|
|
26717
|
+
*
|
|
26638
26718
|
* @example
|
|
26639
26719
|
* Unlock
|
|
26640
26720
|
*/
|
|
26641
26721
|
lockMode?: string;
|
|
26642
26722
|
/**
|
|
26723
|
+
* @remarks
|
|
26724
|
+
* The region ID of the instance.
|
|
26725
|
+
*
|
|
26643
26726
|
* @example
|
|
26644
26727
|
* cn-hangzhou
|
|
26645
26728
|
*/
|
|
26646
26729
|
regionId?: string;
|
|
26647
26730
|
/**
|
|
26731
|
+
* @remarks
|
|
26732
|
+
* The secondary availability zone 1 for the instance when implementing multi-AZ deployment.
|
|
26733
|
+
*
|
|
26648
26734
|
* @example
|
|
26649
26735
|
* cn-hangzhou-i
|
|
26650
26736
|
*/
|
|
26651
26737
|
secondaryZoneId?: string;
|
|
26652
26738
|
/**
|
|
26739
|
+
* @remarks
|
|
26740
|
+
* The zone ID of the instance.
|
|
26741
|
+
*
|
|
26653
26742
|
* @example
|
|
26654
26743
|
* cn-hangzhou-g
|
|
26655
26744
|
*/
|
|
@@ -27130,6 +27219,16 @@ export class DescribeShardingNetworkAddressResponseBodyCompatibleConnections ext
|
|
|
27130
27219
|
}
|
|
27131
27220
|
|
|
27132
27221
|
export class DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress extends $tea.Model {
|
|
27222
|
+
/**
|
|
27223
|
+
* @remarks
|
|
27224
|
+
* The public endpoint type. Valid values:
|
|
27225
|
+
*
|
|
27226
|
+
* * **SRV**
|
|
27227
|
+
* * **Normal**
|
|
27228
|
+
*
|
|
27229
|
+
* @example
|
|
27230
|
+
* SRV
|
|
27231
|
+
*/
|
|
27133
27232
|
connectionType?: string;
|
|
27134
27233
|
/**
|
|
27135
27234
|
* @remarks
|
|
@@ -27206,6 +27305,13 @@ export class DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAd
|
|
|
27206
27305
|
* Primary
|
|
27207
27306
|
*/
|
|
27208
27307
|
role?: string;
|
|
27308
|
+
/**
|
|
27309
|
+
* @remarks
|
|
27310
|
+
* Txt record which can be used to store MongoDB-related meta data, such as version, configuration parameters and etc. With the combination of txt record and other technology, for example SRV record, the MongoDB client can complete the complex service discovery and configuration passing.
|
|
27311
|
+
*
|
|
27312
|
+
* @example
|
|
27313
|
+
* mongo.example.com. IN TXT "config=replicaSet=myReplicaSet"
|
|
27314
|
+
*/
|
|
27209
27315
|
txtRecord?: string;
|
|
27210
27316
|
/**
|
|
27211
27317
|
* @remarks
|
|
@@ -32372,6 +32478,8 @@ export default class Client extends OpenApi {
|
|
|
32372
32478
|
}
|
|
32373
32479
|
|
|
32374
32480
|
/**
|
|
32481
|
+
* Queries ApsaraDB for MongoDB instances whose backups are restored within seven days.
|
|
32482
|
+
*
|
|
32375
32483
|
* @param request - DescribeRestoreDBInstanceListRequest
|
|
32376
32484
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
32377
32485
|
* @returns DescribeRestoreDBInstanceListResponse
|
|
@@ -32429,6 +32537,8 @@ export default class Client extends OpenApi {
|
|
|
32429
32537
|
}
|
|
32430
32538
|
|
|
32431
32539
|
/**
|
|
32540
|
+
* Queries ApsaraDB for MongoDB instances whose backups are restored within seven days.
|
|
32541
|
+
*
|
|
32432
32542
|
* @param request - DescribeRestoreDBInstanceListRequest
|
|
32433
32543
|
* @returns DescribeRestoreDBInstanceListResponse
|
|
32434
32544
|
*/
|