@alicloud/dds20151201 1.0.5 → 3.6.6
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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +13 -207
- package/dist/client.js +38 -430
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +55 -539
package/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
English | [简体中文](README-CN.md)
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
# Alibaba Cloud Dds SDK for NodeJS
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
If you use `npm` to manage your dependence, you can use the following command:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @alicloud/dds20151201 -S
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Issues
|
|
14
|
+
[Opening an Issue](https://github.com/aliyun/alibabacloud-typescript-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
[Usage Document](https://github.com/aliyun/alibabacloud-typescript-sdk/blob/master/docs/Usage-EN.md#quick-examples)
|
|
18
|
+
|
|
19
|
+
## References
|
|
20
|
+
* [Latest Release](https://github.com/aliyun/alibabacloud-typescript-sdk/)
|
|
21
|
+
|
|
22
|
+
## License
|
|
23
|
+
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
|
24
|
+
|
|
25
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
package/dist/client.d.ts
CHANGED
|
@@ -418,53 +418,6 @@ export declare class CreateNodeBatchResponse extends $tea.Model {
|
|
|
418
418
|
[key: string]: any;
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
|
-
export declare class CreateRecommendationTaskRequest extends $tea.Model {
|
|
422
|
-
endTime?: string;
|
|
423
|
-
instanceId?: string;
|
|
424
|
-
nodeId?: string;
|
|
425
|
-
ownerAccount?: string;
|
|
426
|
-
ownerId?: number;
|
|
427
|
-
resourceOwnerAccount?: string;
|
|
428
|
-
resourceOwnerId?: number;
|
|
429
|
-
securityToken?: string;
|
|
430
|
-
startTime?: string;
|
|
431
|
-
static names(): {
|
|
432
|
-
[key: string]: string;
|
|
433
|
-
};
|
|
434
|
-
static types(): {
|
|
435
|
-
[key: string]: any;
|
|
436
|
-
};
|
|
437
|
-
constructor(map?: {
|
|
438
|
-
[key: string]: any;
|
|
439
|
-
});
|
|
440
|
-
}
|
|
441
|
-
export declare class CreateRecommendationTaskResponseBody extends $tea.Model {
|
|
442
|
-
requestId?: string;
|
|
443
|
-
static names(): {
|
|
444
|
-
[key: string]: string;
|
|
445
|
-
};
|
|
446
|
-
static types(): {
|
|
447
|
-
[key: string]: any;
|
|
448
|
-
};
|
|
449
|
-
constructor(map?: {
|
|
450
|
-
[key: string]: any;
|
|
451
|
-
});
|
|
452
|
-
}
|
|
453
|
-
export declare class CreateRecommendationTaskResponse extends $tea.Model {
|
|
454
|
-
headers: {
|
|
455
|
-
[key: string]: string;
|
|
456
|
-
};
|
|
457
|
-
body: CreateRecommendationTaskResponseBody;
|
|
458
|
-
static names(): {
|
|
459
|
-
[key: string]: string;
|
|
460
|
-
};
|
|
461
|
-
static types(): {
|
|
462
|
-
[key: string]: any;
|
|
463
|
-
};
|
|
464
|
-
constructor(map?: {
|
|
465
|
-
[key: string]: any;
|
|
466
|
-
});
|
|
467
|
-
}
|
|
468
421
|
export declare class CreateServerlessDBInstanceRequest extends $tea.Model {
|
|
469
422
|
accountPassword?: string;
|
|
470
423
|
autoRenew?: string;
|
|
@@ -825,57 +778,6 @@ export declare class DescribeActiveOperationTaskTypeResponse extends $tea.Model
|
|
|
825
778
|
[key: string]: any;
|
|
826
779
|
});
|
|
827
780
|
}
|
|
828
|
-
export declare class DescribeAuditFilesRequest extends $tea.Model {
|
|
829
|
-
DBInstanceId?: string;
|
|
830
|
-
nodeId?: string;
|
|
831
|
-
ownerAccount?: string;
|
|
832
|
-
ownerId?: number;
|
|
833
|
-
pageNumber?: number;
|
|
834
|
-
pageSize?: number;
|
|
835
|
-
resourceOwnerAccount?: string;
|
|
836
|
-
resourceOwnerId?: number;
|
|
837
|
-
securityToken?: string;
|
|
838
|
-
static names(): {
|
|
839
|
-
[key: string]: string;
|
|
840
|
-
};
|
|
841
|
-
static types(): {
|
|
842
|
-
[key: string]: any;
|
|
843
|
-
};
|
|
844
|
-
constructor(map?: {
|
|
845
|
-
[key: string]: any;
|
|
846
|
-
});
|
|
847
|
-
}
|
|
848
|
-
export declare class DescribeAuditFilesResponseBody extends $tea.Model {
|
|
849
|
-
items?: DescribeAuditFilesResponseBodyItems;
|
|
850
|
-
pageNumber?: number;
|
|
851
|
-
pageRecordCount?: number;
|
|
852
|
-
requestId?: string;
|
|
853
|
-
totalRecordCount?: number;
|
|
854
|
-
static names(): {
|
|
855
|
-
[key: string]: string;
|
|
856
|
-
};
|
|
857
|
-
static types(): {
|
|
858
|
-
[key: string]: any;
|
|
859
|
-
};
|
|
860
|
-
constructor(map?: {
|
|
861
|
-
[key: string]: any;
|
|
862
|
-
});
|
|
863
|
-
}
|
|
864
|
-
export declare class DescribeAuditFilesResponse extends $tea.Model {
|
|
865
|
-
headers: {
|
|
866
|
-
[key: string]: string;
|
|
867
|
-
};
|
|
868
|
-
body: DescribeAuditFilesResponseBody;
|
|
869
|
-
static names(): {
|
|
870
|
-
[key: string]: string;
|
|
871
|
-
};
|
|
872
|
-
static types(): {
|
|
873
|
-
[key: string]: any;
|
|
874
|
-
};
|
|
875
|
-
constructor(map?: {
|
|
876
|
-
[key: string]: any;
|
|
877
|
-
});
|
|
878
|
-
}
|
|
879
781
|
export declare class DescribeAuditLogFilterRequest extends $tea.Model {
|
|
880
782
|
DBInstanceId?: string;
|
|
881
783
|
ownerAccount?: string;
|
|
@@ -1120,52 +1022,6 @@ export declare class DescribeAvailableResourceResponse extends $tea.Model {
|
|
|
1120
1022
|
[key: string]: any;
|
|
1121
1023
|
});
|
|
1122
1024
|
}
|
|
1123
|
-
export declare class DescribeAvailableTimeRangeRequest extends $tea.Model {
|
|
1124
|
-
instanceId?: string;
|
|
1125
|
-
nodeId?: string;
|
|
1126
|
-
ownerAccount?: string;
|
|
1127
|
-
ownerId?: number;
|
|
1128
|
-
resourceOwnerAccount?: string;
|
|
1129
|
-
resourceOwnerId?: number;
|
|
1130
|
-
securityToken?: string;
|
|
1131
|
-
static names(): {
|
|
1132
|
-
[key: string]: string;
|
|
1133
|
-
};
|
|
1134
|
-
static types(): {
|
|
1135
|
-
[key: string]: any;
|
|
1136
|
-
};
|
|
1137
|
-
constructor(map?: {
|
|
1138
|
-
[key: string]: any;
|
|
1139
|
-
});
|
|
1140
|
-
}
|
|
1141
|
-
export declare class DescribeAvailableTimeRangeResponseBody extends $tea.Model {
|
|
1142
|
-
requestId?: string;
|
|
1143
|
-
timeRange?: DescribeAvailableTimeRangeResponseBodyTimeRange;
|
|
1144
|
-
static names(): {
|
|
1145
|
-
[key: string]: string;
|
|
1146
|
-
};
|
|
1147
|
-
static types(): {
|
|
1148
|
-
[key: string]: any;
|
|
1149
|
-
};
|
|
1150
|
-
constructor(map?: {
|
|
1151
|
-
[key: string]: any;
|
|
1152
|
-
});
|
|
1153
|
-
}
|
|
1154
|
-
export declare class DescribeAvailableTimeRangeResponse extends $tea.Model {
|
|
1155
|
-
headers: {
|
|
1156
|
-
[key: string]: string;
|
|
1157
|
-
};
|
|
1158
|
-
body: DescribeAvailableTimeRangeResponseBody;
|
|
1159
|
-
static names(): {
|
|
1160
|
-
[key: string]: string;
|
|
1161
|
-
};
|
|
1162
|
-
static types(): {
|
|
1163
|
-
[key: string]: any;
|
|
1164
|
-
};
|
|
1165
|
-
constructor(map?: {
|
|
1166
|
-
[key: string]: any;
|
|
1167
|
-
});
|
|
1168
|
-
}
|
|
1169
1025
|
export declare class DescribeBackupDBsRequest extends $tea.Model {
|
|
1170
1026
|
backupId?: string;
|
|
1171
1027
|
ownerAccount?: string;
|
|
@@ -1690,6 +1546,7 @@ export declare class DescribeDBInstancesOverviewRequest extends $tea.Model {
|
|
|
1690
1546
|
networkType?: string;
|
|
1691
1547
|
ownerAccount?: string;
|
|
1692
1548
|
ownerId?: number;
|
|
1549
|
+
regionId?: string;
|
|
1693
1550
|
resourceGroupId?: string;
|
|
1694
1551
|
resourceOwnerAccount?: string;
|
|
1695
1552
|
resourceOwnerId?: number;
|
|
@@ -1966,9 +1823,17 @@ export declare class DescribeMongoDBLogConfigRequest extends $tea.Model {
|
|
|
1966
1823
|
});
|
|
1967
1824
|
}
|
|
1968
1825
|
export declare class DescribeMongoDBLogConfigResponseBody extends $tea.Model {
|
|
1826
|
+
enableAudit?: boolean;
|
|
1969
1827
|
isEtlMetaExist?: number;
|
|
1970
1828
|
isUserProjectLogstoreExist?: number;
|
|
1829
|
+
preserveStorageForStandard?: number;
|
|
1830
|
+
preserveStorageForTrail?: number;
|
|
1971
1831
|
requestId?: string;
|
|
1832
|
+
serviceType?: string;
|
|
1833
|
+
ttlForStandard?: number;
|
|
1834
|
+
ttlForTrail?: number;
|
|
1835
|
+
usedStorageForStandard?: number;
|
|
1836
|
+
usedStorageForTrail?: number;
|
|
1972
1837
|
userProjectName?: string;
|
|
1973
1838
|
static names(): {
|
|
1974
1839
|
[key: string]: string;
|
|
@@ -2202,6 +2067,7 @@ export declare class DescribePriceResponse extends $tea.Model {
|
|
|
2202
2067
|
});
|
|
2203
2068
|
}
|
|
2204
2069
|
export declare class DescribeRegionsRequest extends $tea.Model {
|
|
2070
|
+
acceptLanguage?: string;
|
|
2205
2071
|
ownerAccount?: string;
|
|
2206
2072
|
ownerId?: number;
|
|
2207
2073
|
regionId?: string;
|
|
@@ -3070,6 +2936,7 @@ export declare class ModifyAuditLogFilterResponse extends $tea.Model {
|
|
|
3070
2936
|
});
|
|
3071
2937
|
}
|
|
3072
2938
|
export declare class ModifyAuditPolicyRequest extends $tea.Model {
|
|
2939
|
+
auditLogSwitchSource?: string;
|
|
3073
2940
|
auditStatus?: string;
|
|
3074
2941
|
DBInstanceId?: string;
|
|
3075
2942
|
ownerAccount?: string;
|
|
@@ -3077,6 +2944,7 @@ export declare class ModifyAuditPolicyRequest extends $tea.Model {
|
|
|
3077
2944
|
resourceOwnerAccount?: string;
|
|
3078
2945
|
resourceOwnerId?: number;
|
|
3079
2946
|
securityToken?: string;
|
|
2947
|
+
serviceType?: string;
|
|
3080
2948
|
storagePeriod?: number;
|
|
3081
2949
|
static names(): {
|
|
3082
2950
|
[key: string]: string;
|
|
@@ -4619,35 +4487,6 @@ export declare class DescribeActiveOperationTaskTypeResponseBodyTypeList extends
|
|
|
4619
4487
|
[key: string]: any;
|
|
4620
4488
|
});
|
|
4621
4489
|
}
|
|
4622
|
-
export declare class DescribeAuditFilesResponseBodyItemsLogFile extends $tea.Model {
|
|
4623
|
-
fileID?: number;
|
|
4624
|
-
logDownloadURL?: string;
|
|
4625
|
-
logEndTime?: string;
|
|
4626
|
-
logSize?: number;
|
|
4627
|
-
logStartTime?: string;
|
|
4628
|
-
logStatus?: string;
|
|
4629
|
-
static names(): {
|
|
4630
|
-
[key: string]: string;
|
|
4631
|
-
};
|
|
4632
|
-
static types(): {
|
|
4633
|
-
[key: string]: any;
|
|
4634
|
-
};
|
|
4635
|
-
constructor(map?: {
|
|
4636
|
-
[key: string]: any;
|
|
4637
|
-
});
|
|
4638
|
-
}
|
|
4639
|
-
export declare class DescribeAuditFilesResponseBodyItems extends $tea.Model {
|
|
4640
|
-
logFile?: DescribeAuditFilesResponseBodyItemsLogFile[];
|
|
4641
|
-
static names(): {
|
|
4642
|
-
[key: string]: string;
|
|
4643
|
-
};
|
|
4644
|
-
static types(): {
|
|
4645
|
-
[key: string]: any;
|
|
4646
|
-
};
|
|
4647
|
-
constructor(map?: {
|
|
4648
|
-
[key: string]: any;
|
|
4649
|
-
});
|
|
4650
|
-
}
|
|
4651
4490
|
export declare class DescribeAuditRecordsResponseBodyItemsSQLRecord extends $tea.Model {
|
|
4652
4491
|
accountName?: string;
|
|
4653
4492
|
DBName?: string;
|
|
@@ -4844,34 +4683,6 @@ export declare class DescribeAvailableResourceResponseBodySupportedDBTypes exten
|
|
|
4844
4683
|
[key: string]: any;
|
|
4845
4684
|
});
|
|
4846
4685
|
}
|
|
4847
|
-
export declare class DescribeAvailableTimeRangeResponseBodyTimeRangeTimeRange extends $tea.Model {
|
|
4848
|
-
endTime?: string;
|
|
4849
|
-
nodeId?: string;
|
|
4850
|
-
startTime?: string;
|
|
4851
|
-
status?: string;
|
|
4852
|
-
taskId?: string;
|
|
4853
|
-
static names(): {
|
|
4854
|
-
[key: string]: string;
|
|
4855
|
-
};
|
|
4856
|
-
static types(): {
|
|
4857
|
-
[key: string]: any;
|
|
4858
|
-
};
|
|
4859
|
-
constructor(map?: {
|
|
4860
|
-
[key: string]: any;
|
|
4861
|
-
});
|
|
4862
|
-
}
|
|
4863
|
-
export declare class DescribeAvailableTimeRangeResponseBodyTimeRange extends $tea.Model {
|
|
4864
|
-
timeRange?: DescribeAvailableTimeRangeResponseBodyTimeRangeTimeRange[];
|
|
4865
|
-
static names(): {
|
|
4866
|
-
[key: string]: string;
|
|
4867
|
-
};
|
|
4868
|
-
static types(): {
|
|
4869
|
-
[key: string]: any;
|
|
4870
|
-
};
|
|
4871
|
-
constructor(map?: {
|
|
4872
|
-
[key: string]: any;
|
|
4873
|
-
});
|
|
4874
|
-
}
|
|
4875
4686
|
export declare class DescribeBackupDBsResponseBodyDatabasesDatabase extends $tea.Model {
|
|
4876
4687
|
DBName?: string;
|
|
4877
4688
|
static names(): {
|
|
@@ -5836,6 +5647,7 @@ export declare class DescribeRegionsResponseBodyRegionsDdsRegionZones extends $t
|
|
|
5836
5647
|
}
|
|
5837
5648
|
export declare class DescribeRegionsResponseBodyRegionsDdsRegion extends $tea.Model {
|
|
5838
5649
|
regionId?: string;
|
|
5650
|
+
regionName?: string;
|
|
5839
5651
|
zones?: DescribeRegionsResponseBodyRegionsDdsRegionZones;
|
|
5840
5652
|
static names(): {
|
|
5841
5653
|
[key: string]: string;
|
|
@@ -6313,8 +6125,6 @@ export default class Client extends OpenApi {
|
|
|
6313
6125
|
createNode(request: CreateNodeRequest): Promise<CreateNodeResponse>;
|
|
6314
6126
|
createNodeBatchWithOptions(request: CreateNodeBatchRequest, runtime: $Util.RuntimeOptions): Promise<CreateNodeBatchResponse>;
|
|
6315
6127
|
createNodeBatch(request: CreateNodeBatchRequest): Promise<CreateNodeBatchResponse>;
|
|
6316
|
-
createRecommendationTaskWithOptions(request: CreateRecommendationTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateRecommendationTaskResponse>;
|
|
6317
|
-
createRecommendationTask(request: CreateRecommendationTaskRequest): Promise<CreateRecommendationTaskResponse>;
|
|
6318
6128
|
createServerlessDBInstanceWithOptions(request: CreateServerlessDBInstanceRequest, runtime: $Util.RuntimeOptions): Promise<CreateServerlessDBInstanceResponse>;
|
|
6319
6129
|
createServerlessDBInstance(request: CreateServerlessDBInstanceRequest): Promise<CreateServerlessDBInstanceResponse>;
|
|
6320
6130
|
createShardingDBInstanceWithOptions(request: CreateShardingDBInstanceRequest, runtime: $Util.RuntimeOptions): Promise<CreateShardingDBInstanceResponse>;
|
|
@@ -6329,8 +6139,6 @@ export default class Client extends OpenApi {
|
|
|
6329
6139
|
describeActiveOperationTaskCount(request: DescribeActiveOperationTaskCountRequest): Promise<DescribeActiveOperationTaskCountResponse>;
|
|
6330
6140
|
describeActiveOperationTaskTypeWithOptions(request: DescribeActiveOperationTaskTypeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeActiveOperationTaskTypeResponse>;
|
|
6331
6141
|
describeActiveOperationTaskType(request: DescribeActiveOperationTaskTypeRequest): Promise<DescribeActiveOperationTaskTypeResponse>;
|
|
6332
|
-
describeAuditFilesWithOptions(request: DescribeAuditFilesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAuditFilesResponse>;
|
|
6333
|
-
describeAuditFiles(request: DescribeAuditFilesRequest): Promise<DescribeAuditFilesResponse>;
|
|
6334
6142
|
describeAuditLogFilterWithOptions(request: DescribeAuditLogFilterRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAuditLogFilterResponse>;
|
|
6335
6143
|
describeAuditLogFilter(request: DescribeAuditLogFilterRequest): Promise<DescribeAuditLogFilterResponse>;
|
|
6336
6144
|
describeAuditPolicyWithOptions(request: DescribeAuditPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAuditPolicyResponse>;
|
|
@@ -6341,8 +6149,6 @@ export default class Client extends OpenApi {
|
|
|
6341
6149
|
describeAvailableEngineVersion(request: DescribeAvailableEngineVersionRequest): Promise<DescribeAvailableEngineVersionResponse>;
|
|
6342
6150
|
describeAvailableResourceWithOptions(request: DescribeAvailableResourceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAvailableResourceResponse>;
|
|
6343
6151
|
describeAvailableResource(request: DescribeAvailableResourceRequest): Promise<DescribeAvailableResourceResponse>;
|
|
6344
|
-
describeAvailableTimeRangeWithOptions(request: DescribeAvailableTimeRangeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAvailableTimeRangeResponse>;
|
|
6345
|
-
describeAvailableTimeRange(request: DescribeAvailableTimeRangeRequest): Promise<DescribeAvailableTimeRangeResponse>;
|
|
6346
6152
|
describeBackupDBsWithOptions(request: DescribeBackupDBsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeBackupDBsResponse>;
|
|
6347
6153
|
describeBackupDBs(request: DescribeBackupDBsRequest): Promise<DescribeBackupDBsResponse>;
|
|
6348
6154
|
describeBackupPolicyWithOptions(request: DescribeBackupPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeBackupPolicyResponse>;
|