@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/dist/client.d.ts
CHANGED
|
@@ -7654,6 +7654,12 @@ export declare class DescribeReplicaSetRoleResponse extends $tea.Model {
|
|
|
7654
7654
|
export declare class DescribeRestoreDBInstanceListRequest extends $tea.Model {
|
|
7655
7655
|
/**
|
|
7656
7656
|
* @remarks
|
|
7657
|
+
* Find instances created after the specified time, formatted as <i>yyyy-MM-dd</i>T<i>HH:00:00</i>Z (UTC time).
|
|
7658
|
+
*
|
|
7659
|
+
* >
|
|
7660
|
+
* > - The time must be on the hour.
|
|
7661
|
+
* > - The time cannot be earlier than 7 days before the current time.
|
|
7662
|
+
*
|
|
7657
7663
|
* This parameter is required.
|
|
7658
7664
|
*
|
|
7659
7665
|
* @example
|
|
@@ -7662,6 +7668,8 @@ export declare class DescribeRestoreDBInstanceListRequest extends $tea.Model {
|
|
|
7662
7668
|
creationTimeAfter?: string;
|
|
7663
7669
|
/**
|
|
7664
7670
|
* @remarks
|
|
7671
|
+
* The instance ID.
|
|
7672
|
+
*
|
|
7665
7673
|
* This parameter is required.
|
|
7666
7674
|
*
|
|
7667
7675
|
* @example
|
|
@@ -7671,11 +7679,17 @@ export declare class DescribeRestoreDBInstanceListRequest extends $tea.Model {
|
|
|
7671
7679
|
ownerAccount?: string;
|
|
7672
7680
|
ownerId?: number;
|
|
7673
7681
|
/**
|
|
7682
|
+
* @remarks
|
|
7683
|
+
* The page number.
|
|
7684
|
+
*
|
|
7674
7685
|
* @example
|
|
7675
7686
|
* 1
|
|
7676
7687
|
*/
|
|
7677
7688
|
pageNumber?: number;
|
|
7678
7689
|
/**
|
|
7690
|
+
* @remarks
|
|
7691
|
+
* The number of entries returned per page.
|
|
7692
|
+
*
|
|
7679
7693
|
* @example
|
|
7680
7694
|
* 30
|
|
7681
7695
|
*/
|
|
@@ -7693,23 +7707,39 @@ export declare class DescribeRestoreDBInstanceListRequest extends $tea.Model {
|
|
|
7693
7707
|
});
|
|
7694
7708
|
}
|
|
7695
7709
|
export declare class DescribeRestoreDBInstanceListResponseBody extends $tea.Model {
|
|
7710
|
+
/**
|
|
7711
|
+
* @remarks
|
|
7712
|
+
* DB instances list.
|
|
7713
|
+
*/
|
|
7696
7714
|
DBInstances?: DescribeRestoreDBInstanceListResponseBodyDBInstances;
|
|
7697
7715
|
/**
|
|
7716
|
+
* @remarks
|
|
7717
|
+
* The page number.
|
|
7718
|
+
*
|
|
7698
7719
|
* @example
|
|
7699
7720
|
* 1
|
|
7700
7721
|
*/
|
|
7701
7722
|
pageNumber?: number;
|
|
7702
7723
|
/**
|
|
7724
|
+
* @remarks
|
|
7725
|
+
* The number of entries returned per page.
|
|
7726
|
+
*
|
|
7703
7727
|
* @example
|
|
7704
7728
|
* 30
|
|
7705
7729
|
*/
|
|
7706
7730
|
pageSize?: number;
|
|
7707
7731
|
/**
|
|
7732
|
+
* @remarks
|
|
7733
|
+
* The request ID.
|
|
7734
|
+
*
|
|
7708
7735
|
* @example
|
|
7709
7736
|
* 1AF0AD89-ED4F-44AD-B65F-BFC1D5Cxxxxx
|
|
7710
7737
|
*/
|
|
7711
7738
|
requestId?: string;
|
|
7712
7739
|
/**
|
|
7740
|
+
* @remarks
|
|
7741
|
+
* The number of instances in the query results.
|
|
7742
|
+
*
|
|
7713
7743
|
* @example
|
|
7714
7744
|
* 5
|
|
7715
7745
|
*/
|
|
@@ -8208,7 +8238,7 @@ export declare class DescribeShardingNetworkAddressResponseBody extends $tea.Mod
|
|
|
8208
8238
|
compatibleConnections?: DescribeShardingNetworkAddressResponseBodyCompatibleConnections;
|
|
8209
8239
|
/**
|
|
8210
8240
|
* @remarks
|
|
8211
|
-
* The endpoints of ApsaraDB for MongoDB
|
|
8241
|
+
* The endpoints of the ApsaraDB for MongoDB sharded cluster instance.
|
|
8212
8242
|
*/
|
|
8213
8243
|
networkAddresses?: DescribeShardingNetworkAddressResponseBodyNetworkAddresses;
|
|
8214
8244
|
/**
|
|
@@ -19892,57 +19922,116 @@ export declare class DescribeReplicaSetRoleResponseBodyReplicaSets extends $tea.
|
|
|
19892
19922
|
}
|
|
19893
19923
|
export declare class DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance extends $tea.Model {
|
|
19894
19924
|
/**
|
|
19925
|
+
* @remarks
|
|
19926
|
+
* The time of instance creation, formatted as <i>yyyy-MM-dd</i>T<i>HH:00:00</i>Z (UTC time).
|
|
19927
|
+
*
|
|
19895
19928
|
* @example
|
|
19896
19929
|
* 2022-01-02T07:43:59Z
|
|
19897
19930
|
*/
|
|
19898
19931
|
creationTime?: string;
|
|
19932
|
+
/**
|
|
19933
|
+
* @remarks
|
|
19934
|
+
* The description of the instance.
|
|
19935
|
+
*
|
|
19936
|
+
* @example
|
|
19937
|
+
* test-database
|
|
19938
|
+
*/
|
|
19899
19939
|
DBInstanceDescription?: string;
|
|
19900
19940
|
/**
|
|
19941
|
+
* @remarks
|
|
19942
|
+
* The instance ID.
|
|
19943
|
+
*
|
|
19901
19944
|
* @example
|
|
19902
19945
|
* dds-bp12c5b040dc****
|
|
19903
19946
|
*/
|
|
19904
19947
|
DBInstanceId?: string;
|
|
19905
19948
|
/**
|
|
19949
|
+
* @remarks
|
|
19950
|
+
* The status of the instance. For more information, see [Instance states](https://help.aliyun.com/document_detail/63870.html).
|
|
19951
|
+
*
|
|
19906
19952
|
* @example
|
|
19907
19953
|
* Running
|
|
19908
19954
|
*/
|
|
19909
19955
|
DBInstanceStatus?: string;
|
|
19910
19956
|
/**
|
|
19957
|
+
* @remarks
|
|
19958
|
+
* The architecture of the instance. Valid values:
|
|
19959
|
+
*
|
|
19960
|
+
* * **sharding**: sharded cluster instance
|
|
19961
|
+
* * **replicate**: replica set or standalone instance
|
|
19962
|
+
*
|
|
19911
19963
|
* @example
|
|
19912
19964
|
* replicate
|
|
19913
19965
|
*/
|
|
19914
19966
|
DBInstanceType?: string;
|
|
19915
19967
|
/**
|
|
19968
|
+
* @remarks
|
|
19969
|
+
* The database engine version of the instance. Valid values:
|
|
19970
|
+
*
|
|
19971
|
+
* * **7.0**
|
|
19972
|
+
* * **6.0**
|
|
19973
|
+
* * **5.0**
|
|
19974
|
+
* * **4.4**
|
|
19975
|
+
* * **4.2**
|
|
19976
|
+
* * **4.0**
|
|
19977
|
+
* * **3.4**
|
|
19978
|
+
*
|
|
19916
19979
|
* @example
|
|
19917
19980
|
* 4.2
|
|
19918
19981
|
*/
|
|
19919
19982
|
engineVersion?: string;
|
|
19920
19983
|
/**
|
|
19984
|
+
* @remarks
|
|
19985
|
+
* The secondary availability zone 2 for the instance when implementing multi-AZ deployment.
|
|
19986
|
+
*
|
|
19921
19987
|
* @example
|
|
19922
19988
|
* cn-hangzhou-h
|
|
19923
19989
|
*/
|
|
19924
19990
|
hiddenZoneId?: string;
|
|
19925
19991
|
/**
|
|
19992
|
+
* @remarks
|
|
19993
|
+
* Specifies whether the instance is deleted. Valid values:
|
|
19994
|
+
*
|
|
19995
|
+
* * **0**: not deleted
|
|
19996
|
+
* * **1**: deleted
|
|
19997
|
+
*
|
|
19926
19998
|
* @example
|
|
19927
19999
|
* 0
|
|
19928
20000
|
*/
|
|
19929
20001
|
isDeleted?: number;
|
|
19930
20002
|
/**
|
|
20003
|
+
* @remarks
|
|
20004
|
+
* The locked state of the instance, value description:
|
|
20005
|
+
* - Unlock: Normal.
|
|
20006
|
+
* - ManualLock: Manually triggered lock.
|
|
20007
|
+
* - LockByExpiration: Automatically locked due to expiration.
|
|
20008
|
+
* - LockByRestoration: Automatically locked before restoration.
|
|
20009
|
+
* - LockByDiskQuota: Automatically locked due to disk quota exceeded.
|
|
20010
|
+
*
|
|
19931
20011
|
* @example
|
|
19932
20012
|
* Unlock
|
|
19933
20013
|
*/
|
|
19934
20014
|
lockMode?: string;
|
|
19935
20015
|
/**
|
|
20016
|
+
* @remarks
|
|
20017
|
+
* The region ID of the instance.
|
|
20018
|
+
*
|
|
19936
20019
|
* @example
|
|
19937
20020
|
* cn-hangzhou
|
|
19938
20021
|
*/
|
|
19939
20022
|
regionId?: string;
|
|
19940
20023
|
/**
|
|
20024
|
+
* @remarks
|
|
20025
|
+
* The secondary availability zone 1 for the instance when implementing multi-AZ deployment.
|
|
20026
|
+
*
|
|
19941
20027
|
* @example
|
|
19942
20028
|
* cn-hangzhou-i
|
|
19943
20029
|
*/
|
|
19944
20030
|
secondaryZoneId?: string;
|
|
19945
20031
|
/**
|
|
20032
|
+
* @remarks
|
|
20033
|
+
* The zone ID of the instance.
|
|
20034
|
+
*
|
|
19946
20035
|
* @example
|
|
19947
20036
|
* cn-hangzhou-g
|
|
19948
20037
|
*/
|
|
@@ -20283,6 +20372,16 @@ export declare class DescribeShardingNetworkAddressResponseBodyCompatibleConnect
|
|
|
20283
20372
|
});
|
|
20284
20373
|
}
|
|
20285
20374
|
export declare class DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress extends $tea.Model {
|
|
20375
|
+
/**
|
|
20376
|
+
* @remarks
|
|
20377
|
+
* The public endpoint type. Valid values:
|
|
20378
|
+
*
|
|
20379
|
+
* * **SRV**
|
|
20380
|
+
* * **Normal**
|
|
20381
|
+
*
|
|
20382
|
+
* @example
|
|
20383
|
+
* SRV
|
|
20384
|
+
*/
|
|
20286
20385
|
connectionType?: string;
|
|
20287
20386
|
/**
|
|
20288
20387
|
* @remarks
|
|
@@ -20359,6 +20458,13 @@ export declare class DescribeShardingNetworkAddressResponseBodyNetworkAddressesN
|
|
|
20359
20458
|
* Primary
|
|
20360
20459
|
*/
|
|
20361
20460
|
role?: string;
|
|
20461
|
+
/**
|
|
20462
|
+
* @remarks
|
|
20463
|
+
* 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.
|
|
20464
|
+
*
|
|
20465
|
+
* @example
|
|
20466
|
+
* mongo.example.com. IN TXT "config=replicaSet=myReplicaSet"
|
|
20467
|
+
*/
|
|
20362
20468
|
txtRecord?: string;
|
|
20363
20469
|
/**
|
|
20364
20470
|
* @remarks
|
|
@@ -21856,12 +21962,16 @@ export default class Client extends OpenApi {
|
|
|
21856
21962
|
*/
|
|
21857
21963
|
describeReplicaSetRole(request: DescribeReplicaSetRoleRequest): Promise<DescribeReplicaSetRoleResponse>;
|
|
21858
21964
|
/**
|
|
21965
|
+
* Queries ApsaraDB for MongoDB instances whose backups are restored within seven days.
|
|
21966
|
+
*
|
|
21859
21967
|
* @param request - DescribeRestoreDBInstanceListRequest
|
|
21860
21968
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
21861
21969
|
* @returns DescribeRestoreDBInstanceListResponse
|
|
21862
21970
|
*/
|
|
21863
21971
|
describeRestoreDBInstanceListWithOptions(request: DescribeRestoreDBInstanceListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRestoreDBInstanceListResponse>;
|
|
21864
21972
|
/**
|
|
21973
|
+
* Queries ApsaraDB for MongoDB instances whose backups are restored within seven days.
|
|
21974
|
+
*
|
|
21865
21975
|
* @param request - DescribeRestoreDBInstanceListRequest
|
|
21866
21976
|
* @returns DescribeRestoreDBInstanceListResponse
|
|
21867
21977
|
*/
|
package/dist/client.js
CHANGED
|
@@ -15686,6 +15686,8 @@ class Client extends openapi_client_1.default {
|
|
|
15686
15686
|
return await this.describeReplicaSetRoleWithOptions(request, runtime);
|
|
15687
15687
|
}
|
|
15688
15688
|
/**
|
|
15689
|
+
* Queries ApsaraDB for MongoDB instances whose backups are restored within seven days.
|
|
15690
|
+
*
|
|
15689
15691
|
* @param request - DescribeRestoreDBInstanceListRequest
|
|
15690
15692
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
15691
15693
|
* @returns DescribeRestoreDBInstanceListResponse
|
|
@@ -15734,6 +15736,8 @@ class Client extends openapi_client_1.default {
|
|
|
15734
15736
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRestoreDBInstanceListResponse({}));
|
|
15735
15737
|
}
|
|
15736
15738
|
/**
|
|
15739
|
+
* Queries ApsaraDB for MongoDB instances whose backups are restored within seven days.
|
|
15740
|
+
*
|
|
15737
15741
|
* @param request - DescribeRestoreDBInstanceListRequest
|
|
15738
15742
|
* @returns DescribeRestoreDBInstanceListResponse
|
|
15739
15743
|
*/
|