@alicloud/dds20151201 5.0.3 → 5.0.5
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 +333 -328
- package/dist/client.js +43 -10
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +375 -328
package/dist/client.js
CHANGED
|
@@ -1519,6 +1519,7 @@ class DescribeAuditRecordsRequest extends $tea.Model {
|
|
|
1519
1519
|
database: 'Database',
|
|
1520
1520
|
endTime: 'EndTime',
|
|
1521
1521
|
form: 'Form',
|
|
1522
|
+
logicalOperator: 'LogicalOperator',
|
|
1522
1523
|
nodeId: 'NodeId',
|
|
1523
1524
|
orderType: 'OrderType',
|
|
1524
1525
|
ownerAccount: 'OwnerAccount',
|
|
@@ -1538,6 +1539,7 @@ class DescribeAuditRecordsRequest extends $tea.Model {
|
|
|
1538
1539
|
database: 'string',
|
|
1539
1540
|
endTime: 'string',
|
|
1540
1541
|
form: 'string',
|
|
1542
|
+
logicalOperator: 'string',
|
|
1541
1543
|
nodeId: 'string',
|
|
1542
1544
|
orderType: 'string',
|
|
1543
1545
|
ownerAccount: 'string',
|
|
@@ -2900,11 +2902,13 @@ class DescribeErrorLogRecordsRequest extends $tea.Model {
|
|
|
2900
2902
|
DBInstanceId: 'DBInstanceId',
|
|
2901
2903
|
DBName: 'DBName',
|
|
2902
2904
|
endTime: 'EndTime',
|
|
2905
|
+
logicalOperator: 'LogicalOperator',
|
|
2903
2906
|
nodeId: 'NodeId',
|
|
2904
2907
|
ownerAccount: 'OwnerAccount',
|
|
2905
2908
|
ownerId: 'OwnerId',
|
|
2906
2909
|
pageNumber: 'PageNumber',
|
|
2907
2910
|
pageSize: 'PageSize',
|
|
2911
|
+
queryKeywords: 'QueryKeywords',
|
|
2908
2912
|
resourceGroupId: 'ResourceGroupId',
|
|
2909
2913
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2910
2914
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -2917,11 +2921,13 @@ class DescribeErrorLogRecordsRequest extends $tea.Model {
|
|
|
2917
2921
|
DBInstanceId: 'string',
|
|
2918
2922
|
DBName: 'string',
|
|
2919
2923
|
endTime: 'string',
|
|
2924
|
+
logicalOperator: 'string',
|
|
2920
2925
|
nodeId: 'string',
|
|
2921
2926
|
ownerAccount: 'string',
|
|
2922
2927
|
ownerId: 'number',
|
|
2923
2928
|
pageNumber: 'number',
|
|
2924
2929
|
pageSize: 'number',
|
|
2930
|
+
queryKeywords: 'string',
|
|
2925
2931
|
resourceGroupId: 'string',
|
|
2926
2932
|
resourceOwnerAccount: 'string',
|
|
2927
2933
|
resourceOwnerId: 'number',
|
|
@@ -4120,12 +4126,14 @@ class DescribeRunningLogRecordsRequest extends $tea.Model {
|
|
|
4120
4126
|
DBInstanceId: 'DBInstanceId',
|
|
4121
4127
|
DBName: 'DBName',
|
|
4122
4128
|
endTime: 'EndTime',
|
|
4129
|
+
logicalOperator: 'LogicalOperator',
|
|
4123
4130
|
nodeId: 'NodeId',
|
|
4124
4131
|
orderType: 'OrderType',
|
|
4125
4132
|
ownerAccount: 'OwnerAccount',
|
|
4126
4133
|
ownerId: 'OwnerId',
|
|
4127
4134
|
pageNumber: 'PageNumber',
|
|
4128
4135
|
pageSize: 'PageSize',
|
|
4136
|
+
queryKeywords: 'QueryKeywords',
|
|
4129
4137
|
resourceGroupId: 'ResourceGroupId',
|
|
4130
4138
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4131
4139
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -4139,12 +4147,14 @@ class DescribeRunningLogRecordsRequest extends $tea.Model {
|
|
|
4139
4147
|
DBInstanceId: 'string',
|
|
4140
4148
|
DBName: 'string',
|
|
4141
4149
|
endTime: 'string',
|
|
4150
|
+
logicalOperator: 'string',
|
|
4142
4151
|
nodeId: 'string',
|
|
4143
4152
|
orderType: 'string',
|
|
4144
4153
|
ownerAccount: 'string',
|
|
4145
4154
|
ownerId: 'number',
|
|
4146
4155
|
pageNumber: 'number',
|
|
4147
4156
|
pageSize: 'number',
|
|
4157
|
+
queryKeywords: 'string',
|
|
4148
4158
|
resourceGroupId: 'string',
|
|
4149
4159
|
resourceOwnerAccount: 'string',
|
|
4150
4160
|
resourceOwnerId: 'number',
|
|
@@ -4404,12 +4414,14 @@ class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
4404
4414
|
DBInstanceId: 'DBInstanceId',
|
|
4405
4415
|
DBName: 'DBName',
|
|
4406
4416
|
endTime: 'EndTime',
|
|
4417
|
+
logicalOperator: 'LogicalOperator',
|
|
4407
4418
|
nodeId: 'NodeId',
|
|
4408
4419
|
orderType: 'OrderType',
|
|
4409
4420
|
ownerAccount: 'OwnerAccount',
|
|
4410
4421
|
ownerId: 'OwnerId',
|
|
4411
4422
|
pageNumber: 'PageNumber',
|
|
4412
4423
|
pageSize: 'PageSize',
|
|
4424
|
+
queryKeywords: 'QueryKeywords',
|
|
4413
4425
|
resourceGroupId: 'ResourceGroupId',
|
|
4414
4426
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4415
4427
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -4421,12 +4433,14 @@ class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
4421
4433
|
DBInstanceId: 'string',
|
|
4422
4434
|
DBName: 'string',
|
|
4423
4435
|
endTime: 'string',
|
|
4436
|
+
logicalOperator: 'string',
|
|
4424
4437
|
nodeId: 'string',
|
|
4425
4438
|
orderType: 'string',
|
|
4426
4439
|
ownerAccount: 'string',
|
|
4427
4440
|
ownerId: 'number',
|
|
4428
4441
|
pageNumber: 'number',
|
|
4429
4442
|
pageSize: 'number',
|
|
4443
|
+
queryKeywords: 'string',
|
|
4430
4444
|
resourceGroupId: 'string',
|
|
4431
4445
|
resourceOwnerAccount: 'string',
|
|
4432
4446
|
resourceOwnerId: 'number',
|
|
@@ -11906,6 +11920,9 @@ class Client extends openapi_client_1.default {
|
|
|
11906
11920
|
if (!tea_util_1.default.isUnset(request.form)) {
|
|
11907
11921
|
query["Form"] = request.form;
|
|
11908
11922
|
}
|
|
11923
|
+
if (!tea_util_1.default.isUnset(request.logicalOperator)) {
|
|
11924
|
+
query["LogicalOperator"] = request.logicalOperator;
|
|
11925
|
+
}
|
|
11909
11926
|
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
11910
11927
|
query["NodeId"] = request.nodeId;
|
|
11911
11928
|
}
|
|
@@ -13040,6 +13057,9 @@ class Client extends openapi_client_1.default {
|
|
|
13040
13057
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
13041
13058
|
query["EndTime"] = request.endTime;
|
|
13042
13059
|
}
|
|
13060
|
+
if (!tea_util_1.default.isUnset(request.logicalOperator)) {
|
|
13061
|
+
query["LogicalOperator"] = request.logicalOperator;
|
|
13062
|
+
}
|
|
13043
13063
|
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
13044
13064
|
query["NodeId"] = request.nodeId;
|
|
13045
13065
|
}
|
|
@@ -13055,6 +13075,9 @@ class Client extends openapi_client_1.default {
|
|
|
13055
13075
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
13056
13076
|
query["PageSize"] = request.pageSize;
|
|
13057
13077
|
}
|
|
13078
|
+
if (!tea_util_1.default.isUnset(request.queryKeywords)) {
|
|
13079
|
+
query["QueryKeywords"] = request.queryKeywords;
|
|
13080
|
+
}
|
|
13058
13081
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
13059
13082
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
13060
13083
|
}
|
|
@@ -13911,6 +13934,9 @@ class Client extends openapi_client_1.default {
|
|
|
13911
13934
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
13912
13935
|
query["EndTime"] = request.endTime;
|
|
13913
13936
|
}
|
|
13937
|
+
if (!tea_util_1.default.isUnset(request.logicalOperator)) {
|
|
13938
|
+
query["LogicalOperator"] = request.logicalOperator;
|
|
13939
|
+
}
|
|
13914
13940
|
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
13915
13941
|
query["NodeId"] = request.nodeId;
|
|
13916
13942
|
}
|
|
@@ -13929,6 +13955,9 @@ class Client extends openapi_client_1.default {
|
|
|
13929
13955
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
13930
13956
|
query["PageSize"] = request.pageSize;
|
|
13931
13957
|
}
|
|
13958
|
+
if (!tea_util_1.default.isUnset(request.queryKeywords)) {
|
|
13959
|
+
query["QueryKeywords"] = request.queryKeywords;
|
|
13960
|
+
}
|
|
13932
13961
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
13933
13962
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
13934
13963
|
}
|
|
@@ -14127,6 +14156,9 @@ class Client extends openapi_client_1.default {
|
|
|
14127
14156
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
14128
14157
|
query["EndTime"] = request.endTime;
|
|
14129
14158
|
}
|
|
14159
|
+
if (!tea_util_1.default.isUnset(request.logicalOperator)) {
|
|
14160
|
+
query["LogicalOperator"] = request.logicalOperator;
|
|
14161
|
+
}
|
|
14130
14162
|
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
14131
14163
|
query["NodeId"] = request.nodeId;
|
|
14132
14164
|
}
|
|
@@ -14145,6 +14177,9 @@ class Client extends openapi_client_1.default {
|
|
|
14145
14177
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
14146
14178
|
query["PageSize"] = request.pageSize;
|
|
14147
14179
|
}
|
|
14180
|
+
if (!tea_util_1.default.isUnset(request.queryKeywords)) {
|
|
14181
|
+
query["QueryKeywords"] = request.queryKeywords;
|
|
14182
|
+
}
|
|
14148
14183
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
14149
14184
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
14150
14185
|
}
|
|
@@ -14980,10 +15015,10 @@ class Client extends openapi_client_1.default {
|
|
|
14980
15015
|
return await this.modifyDBInstanceMaintainTimeWithOptions(request, runtime);
|
|
14981
15016
|
}
|
|
14982
15017
|
/**
|
|
14983
|
-
* > This operation is applicable only to the ApsaraDB for MongoDB console of the previous version due to the change in the
|
|
15018
|
+
* > This operation is applicable only to the ApsaraDB for MongoDB console of the previous version due to the change in the feature of adjusting collection intervals of monitoring data.
|
|
14984
15019
|
* Before you call this operation, make sure that the following requirements are met:
|
|
14985
|
-
* *
|
|
14986
|
-
* *
|
|
15020
|
+
* * A replica set or sharded cluster instance is used.
|
|
15021
|
+
* * MongoDB 3.4 (the latest minor version) or MongoDB 4.0 is selected.
|
|
14987
15022
|
*
|
|
14988
15023
|
* @param request ModifyDBInstanceMonitorRequest
|
|
14989
15024
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15027,10 +15062,10 @@ class Client extends openapi_client_1.default {
|
|
|
15027
15062
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBInstanceMonitorResponse({}));
|
|
15028
15063
|
}
|
|
15029
15064
|
/**
|
|
15030
|
-
* > This operation is applicable only to the ApsaraDB for MongoDB console of the previous version due to the change in the
|
|
15065
|
+
* > This operation is applicable only to the ApsaraDB for MongoDB console of the previous version due to the change in the feature of adjusting collection intervals of monitoring data.
|
|
15031
15066
|
* Before you call this operation, make sure that the following requirements are met:
|
|
15032
|
-
* *
|
|
15033
|
-
* *
|
|
15067
|
+
* * A replica set or sharded cluster instance is used.
|
|
15068
|
+
* * MongoDB 3.4 (the latest minor version) or MongoDB 4.0 is selected.
|
|
15034
15069
|
*
|
|
15035
15070
|
* @param request ModifyDBInstanceMonitorRequest
|
|
15036
15071
|
* @return ModifyDBInstanceMonitorResponse
|
|
@@ -15176,7 +15211,7 @@ class Client extends openapi_client_1.default {
|
|
|
15176
15211
|
* Before you call this operation, make sure that the following requirements are met:
|
|
15177
15212
|
* * The instance is in the running state.
|
|
15178
15213
|
* * The instance is a replica set instance.
|
|
15179
|
-
* * The engine version of the instance is
|
|
15214
|
+
* * The engine version of the instance is 3.4 or 4.0.
|
|
15180
15215
|
* > When you enable or disable SSL encryption or update the SSL certificate, the instance restarts. We recommend that you call this operation during off-peak hours.
|
|
15181
15216
|
*
|
|
15182
15217
|
* @param request ModifyDBInstanceSSLRequest
|
|
@@ -15225,7 +15260,7 @@ class Client extends openapi_client_1.default {
|
|
|
15225
15260
|
* Before you call this operation, make sure that the following requirements are met:
|
|
15226
15261
|
* * The instance is in the running state.
|
|
15227
15262
|
* * The instance is a replica set instance.
|
|
15228
|
-
* * The engine version of the instance is
|
|
15263
|
+
* * The engine version of the instance is 3.4 or 4.0.
|
|
15229
15264
|
* > When you enable or disable SSL encryption or update the SSL certificate, the instance restarts. We recommend that you call this operation during off-peak hours.
|
|
15230
15265
|
*
|
|
15231
15266
|
* @param request ModifyDBInstanceSSLRequest
|
|
@@ -15824,7 +15859,6 @@ class Client extends openapi_client_1.default {
|
|
|
15824
15859
|
return await this.modifyNodeSpecBatchWithOptions(request, runtime);
|
|
15825
15860
|
}
|
|
15826
15861
|
/**
|
|
15827
|
-
* ### Precautions
|
|
15828
15862
|
* * The instance must be in the Running state when you call this operation.
|
|
15829
15863
|
* * If you call this operation to modify specific instance parameters and the modification for part of the parameters can take effect only after an instance restart, the instance is automatically restarted after this operation is called. You can call the [DescribeParameterTemplates](~~67618~~) operation to query the parameters that take effect only after the instance is restarted.
|
|
15830
15864
|
*
|
|
@@ -15879,7 +15913,6 @@ class Client extends openapi_client_1.default {
|
|
|
15879
15913
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyParametersResponse({}));
|
|
15880
15914
|
}
|
|
15881
15915
|
/**
|
|
15882
|
-
* ### Precautions
|
|
15883
15916
|
* * The instance must be in the Running state when you call this operation.
|
|
15884
15917
|
* * If you call this operation to modify specific instance parameters and the modification for part of the parameters can take effect only after an instance restart, the instance is automatically restarted after this operation is called. You can call the [DescribeParameterTemplates](~~67618~~) operation to query the parameters that take effect only after the instance is restarted.
|
|
15885
15918
|
*
|