@alicloud/dds20151201 5.0.2 → 5.0.4
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 +16 -10
- package/dist/client.js +48 -10
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +64 -10
package/dist/client.d.ts
CHANGED
|
@@ -1034,6 +1034,7 @@ export declare class DescribeAuditRecordsRequest extends $tea.Model {
|
|
|
1034
1034
|
database?: string;
|
|
1035
1035
|
endTime?: string;
|
|
1036
1036
|
form?: string;
|
|
1037
|
+
logicalOperator?: string;
|
|
1037
1038
|
nodeId?: string;
|
|
1038
1039
|
orderType?: string;
|
|
1039
1040
|
ownerAccount?: string;
|
|
@@ -1976,11 +1977,13 @@ export declare class DescribeErrorLogRecordsRequest extends $tea.Model {
|
|
|
1976
1977
|
DBInstanceId?: string;
|
|
1977
1978
|
DBName?: string;
|
|
1978
1979
|
endTime?: string;
|
|
1980
|
+
logicalOperator?: string;
|
|
1979
1981
|
nodeId?: string;
|
|
1980
1982
|
ownerAccount?: string;
|
|
1981
1983
|
ownerId?: number;
|
|
1982
1984
|
pageNumber?: number;
|
|
1983
1985
|
pageSize?: number;
|
|
1986
|
+
queryKeywords?: string;
|
|
1984
1987
|
resourceGroupId?: string;
|
|
1985
1988
|
resourceOwnerAccount?: string;
|
|
1986
1989
|
resourceOwnerId?: number;
|
|
@@ -2483,6 +2486,7 @@ export declare class DescribeParameterTemplatesRequest extends $tea.Model {
|
|
|
2483
2486
|
regionId?: string;
|
|
2484
2487
|
resourceOwnerAccount?: string;
|
|
2485
2488
|
resourceOwnerId?: number;
|
|
2489
|
+
role?: string;
|
|
2486
2490
|
static names(): {
|
|
2487
2491
|
[key: string]: string;
|
|
2488
2492
|
};
|
|
@@ -2823,12 +2827,14 @@ export declare class DescribeRunningLogRecordsRequest extends $tea.Model {
|
|
|
2823
2827
|
DBInstanceId?: string;
|
|
2824
2828
|
DBName?: string;
|
|
2825
2829
|
endTime?: string;
|
|
2830
|
+
logicalOperator?: string;
|
|
2826
2831
|
nodeId?: string;
|
|
2827
2832
|
orderType?: string;
|
|
2828
2833
|
ownerAccount?: string;
|
|
2829
2834
|
ownerId?: number;
|
|
2830
2835
|
pageNumber?: number;
|
|
2831
2836
|
pageSize?: number;
|
|
2837
|
+
queryKeywords?: string;
|
|
2832
2838
|
resourceGroupId?: string;
|
|
2833
2839
|
resourceOwnerAccount?: string;
|
|
2834
2840
|
resourceOwnerId?: number;
|
|
@@ -3021,12 +3027,14 @@ export declare class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
3021
3027
|
DBInstanceId?: string;
|
|
3022
3028
|
DBName?: string;
|
|
3023
3029
|
endTime?: string;
|
|
3030
|
+
logicalOperator?: string;
|
|
3024
3031
|
nodeId?: string;
|
|
3025
3032
|
orderType?: string;
|
|
3026
3033
|
ownerAccount?: string;
|
|
3027
3034
|
ownerId?: number;
|
|
3028
3035
|
pageNumber?: number;
|
|
3029
3036
|
pageSize?: number;
|
|
3037
|
+
queryKeywords?: string;
|
|
3030
3038
|
resourceGroupId?: string;
|
|
3031
3039
|
resourceOwnerAccount?: string;
|
|
3032
3040
|
resourceOwnerId?: number;
|
|
@@ -8067,10 +8075,10 @@ export default class Client extends OpenApi {
|
|
|
8067
8075
|
modifyDBInstanceMaintainTimeWithOptions(request: ModifyDBInstanceMaintainTimeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBInstanceMaintainTimeResponse>;
|
|
8068
8076
|
modifyDBInstanceMaintainTime(request: ModifyDBInstanceMaintainTimeRequest): Promise<ModifyDBInstanceMaintainTimeResponse>;
|
|
8069
8077
|
/**
|
|
8070
|
-
* > This operation is applicable only to the ApsaraDB for MongoDB console of the previous version due to the change in the
|
|
8078
|
+
* > 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.
|
|
8071
8079
|
* Before you call this operation, make sure that the following requirements are met:
|
|
8072
|
-
* *
|
|
8073
|
-
* *
|
|
8080
|
+
* * A replica set or sharded cluster instance is used.
|
|
8081
|
+
* * MongoDB 3.4 (the latest minor version) or MongoDB 4.0 is selected.
|
|
8074
8082
|
*
|
|
8075
8083
|
* @param request ModifyDBInstanceMonitorRequest
|
|
8076
8084
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8078,10 +8086,10 @@ export default class Client extends OpenApi {
|
|
|
8078
8086
|
*/
|
|
8079
8087
|
modifyDBInstanceMonitorWithOptions(request: ModifyDBInstanceMonitorRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBInstanceMonitorResponse>;
|
|
8080
8088
|
/**
|
|
8081
|
-
* > This operation is applicable only to the ApsaraDB for MongoDB console of the previous version due to the change in the
|
|
8089
|
+
* > 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.
|
|
8082
8090
|
* Before you call this operation, make sure that the following requirements are met:
|
|
8083
|
-
* *
|
|
8084
|
-
* *
|
|
8091
|
+
* * A replica set or sharded cluster instance is used.
|
|
8092
|
+
* * MongoDB 3.4 (the latest minor version) or MongoDB 4.0 is selected.
|
|
8085
8093
|
*
|
|
8086
8094
|
* @param request ModifyDBInstanceMonitorRequest
|
|
8087
8095
|
* @return ModifyDBInstanceMonitorResponse
|
|
@@ -8128,7 +8136,7 @@ export default class Client extends OpenApi {
|
|
|
8128
8136
|
* Before you call this operation, make sure that the following requirements are met:
|
|
8129
8137
|
* * The instance is in the running state.
|
|
8130
8138
|
* * The instance is a replica set instance.
|
|
8131
|
-
* * The engine version of the instance is
|
|
8139
|
+
* * The engine version of the instance is 3.4 or 4.0.
|
|
8132
8140
|
* > 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.
|
|
8133
8141
|
*
|
|
8134
8142
|
* @param request ModifyDBInstanceSSLRequest
|
|
@@ -8141,7 +8149,7 @@ export default class Client extends OpenApi {
|
|
|
8141
8149
|
* Before you call this operation, make sure that the following requirements are met:
|
|
8142
8150
|
* * The instance is in the running state.
|
|
8143
8151
|
* * The instance is a replica set instance.
|
|
8144
|
-
* * The engine version of the instance is
|
|
8152
|
+
* * The engine version of the instance is 3.4 or 4.0.
|
|
8145
8153
|
* > 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.
|
|
8146
8154
|
*
|
|
8147
8155
|
* @param request ModifyDBInstanceSSLRequest
|
|
@@ -8275,7 +8283,6 @@ export default class Client extends OpenApi {
|
|
|
8275
8283
|
*/
|
|
8276
8284
|
modifyNodeSpecBatch(request: ModifyNodeSpecBatchRequest): Promise<ModifyNodeSpecBatchResponse>;
|
|
8277
8285
|
/**
|
|
8278
|
-
* ### Precautions
|
|
8279
8286
|
* * The instance must be in the Running state when you call this operation.
|
|
8280
8287
|
* * 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.
|
|
8281
8288
|
*
|
|
@@ -8285,7 +8292,6 @@ export default class Client extends OpenApi {
|
|
|
8285
8292
|
*/
|
|
8286
8293
|
modifyParametersWithOptions(request: ModifyParametersRequest, runtime: $Util.RuntimeOptions): Promise<ModifyParametersResponse>;
|
|
8287
8294
|
/**
|
|
8288
|
-
* ### Precautions
|
|
8289
8295
|
* * The instance must be in the Running state when you call this operation.
|
|
8290
8296
|
* * 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.
|
|
8291
8297
|
*
|
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',
|
|
@@ -3630,6 +3636,7 @@ class DescribeParameterTemplatesRequest extends $tea.Model {
|
|
|
3630
3636
|
regionId: 'RegionId',
|
|
3631
3637
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3632
3638
|
resourceOwnerId: 'ResourceOwnerId',
|
|
3639
|
+
role: 'Role',
|
|
3633
3640
|
};
|
|
3634
3641
|
}
|
|
3635
3642
|
static types() {
|
|
@@ -3641,6 +3648,7 @@ class DescribeParameterTemplatesRequest extends $tea.Model {
|
|
|
3641
3648
|
regionId: 'string',
|
|
3642
3649
|
resourceOwnerAccount: 'string',
|
|
3643
3650
|
resourceOwnerId: 'number',
|
|
3651
|
+
role: 'string',
|
|
3644
3652
|
};
|
|
3645
3653
|
}
|
|
3646
3654
|
}
|
|
@@ -4118,12 +4126,14 @@ class DescribeRunningLogRecordsRequest extends $tea.Model {
|
|
|
4118
4126
|
DBInstanceId: 'DBInstanceId',
|
|
4119
4127
|
DBName: 'DBName',
|
|
4120
4128
|
endTime: 'EndTime',
|
|
4129
|
+
logicalOperator: 'LogicalOperator',
|
|
4121
4130
|
nodeId: 'NodeId',
|
|
4122
4131
|
orderType: 'OrderType',
|
|
4123
4132
|
ownerAccount: 'OwnerAccount',
|
|
4124
4133
|
ownerId: 'OwnerId',
|
|
4125
4134
|
pageNumber: 'PageNumber',
|
|
4126
4135
|
pageSize: 'PageSize',
|
|
4136
|
+
queryKeywords: 'QueryKeywords',
|
|
4127
4137
|
resourceGroupId: 'ResourceGroupId',
|
|
4128
4138
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4129
4139
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -4137,12 +4147,14 @@ class DescribeRunningLogRecordsRequest extends $tea.Model {
|
|
|
4137
4147
|
DBInstanceId: 'string',
|
|
4138
4148
|
DBName: 'string',
|
|
4139
4149
|
endTime: 'string',
|
|
4150
|
+
logicalOperator: 'string',
|
|
4140
4151
|
nodeId: 'string',
|
|
4141
4152
|
orderType: 'string',
|
|
4142
4153
|
ownerAccount: 'string',
|
|
4143
4154
|
ownerId: 'number',
|
|
4144
4155
|
pageNumber: 'number',
|
|
4145
4156
|
pageSize: 'number',
|
|
4157
|
+
queryKeywords: 'string',
|
|
4146
4158
|
resourceGroupId: 'string',
|
|
4147
4159
|
resourceOwnerAccount: 'string',
|
|
4148
4160
|
resourceOwnerId: 'number',
|
|
@@ -4402,12 +4414,14 @@ class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
4402
4414
|
DBInstanceId: 'DBInstanceId',
|
|
4403
4415
|
DBName: 'DBName',
|
|
4404
4416
|
endTime: 'EndTime',
|
|
4417
|
+
logicalOperator: 'LogicalOperator',
|
|
4405
4418
|
nodeId: 'NodeId',
|
|
4406
4419
|
orderType: 'OrderType',
|
|
4407
4420
|
ownerAccount: 'OwnerAccount',
|
|
4408
4421
|
ownerId: 'OwnerId',
|
|
4409
4422
|
pageNumber: 'PageNumber',
|
|
4410
4423
|
pageSize: 'PageSize',
|
|
4424
|
+
queryKeywords: 'QueryKeywords',
|
|
4411
4425
|
resourceGroupId: 'ResourceGroupId',
|
|
4412
4426
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4413
4427
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -4419,12 +4433,14 @@ class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
4419
4433
|
DBInstanceId: 'string',
|
|
4420
4434
|
DBName: 'string',
|
|
4421
4435
|
endTime: 'string',
|
|
4436
|
+
logicalOperator: 'string',
|
|
4422
4437
|
nodeId: 'string',
|
|
4423
4438
|
orderType: 'string',
|
|
4424
4439
|
ownerAccount: 'string',
|
|
4425
4440
|
ownerId: 'number',
|
|
4426
4441
|
pageNumber: 'number',
|
|
4427
4442
|
pageSize: 'number',
|
|
4443
|
+
queryKeywords: 'string',
|
|
4428
4444
|
resourceGroupId: 'string',
|
|
4429
4445
|
resourceOwnerAccount: 'string',
|
|
4430
4446
|
resourceOwnerId: 'number',
|
|
@@ -11904,6 +11920,9 @@ class Client extends openapi_client_1.default {
|
|
|
11904
11920
|
if (!tea_util_1.default.isUnset(request.form)) {
|
|
11905
11921
|
query["Form"] = request.form;
|
|
11906
11922
|
}
|
|
11923
|
+
if (!tea_util_1.default.isUnset(request.logicalOperator)) {
|
|
11924
|
+
query["LogicalOperator"] = request.logicalOperator;
|
|
11925
|
+
}
|
|
11907
11926
|
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
11908
11927
|
query["NodeId"] = request.nodeId;
|
|
11909
11928
|
}
|
|
@@ -13038,6 +13057,9 @@ class Client extends openapi_client_1.default {
|
|
|
13038
13057
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
13039
13058
|
query["EndTime"] = request.endTime;
|
|
13040
13059
|
}
|
|
13060
|
+
if (!tea_util_1.default.isUnset(request.logicalOperator)) {
|
|
13061
|
+
query["LogicalOperator"] = request.logicalOperator;
|
|
13062
|
+
}
|
|
13041
13063
|
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
13042
13064
|
query["NodeId"] = request.nodeId;
|
|
13043
13065
|
}
|
|
@@ -13053,6 +13075,9 @@ class Client extends openapi_client_1.default {
|
|
|
13053
13075
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
13054
13076
|
query["PageSize"] = request.pageSize;
|
|
13055
13077
|
}
|
|
13078
|
+
if (!tea_util_1.default.isUnset(request.queryKeywords)) {
|
|
13079
|
+
query["QueryKeywords"] = request.queryKeywords;
|
|
13080
|
+
}
|
|
13056
13081
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
13057
13082
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
13058
13083
|
}
|
|
@@ -13542,6 +13567,9 @@ class Client extends openapi_client_1.default {
|
|
|
13542
13567
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
13543
13568
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
13544
13569
|
}
|
|
13570
|
+
if (!tea_util_1.default.isUnset(request.role)) {
|
|
13571
|
+
query["Role"] = request.role;
|
|
13572
|
+
}
|
|
13545
13573
|
let req = new $OpenApi.OpenApiRequest({
|
|
13546
13574
|
query: openapi_util_1.default.query(query),
|
|
13547
13575
|
});
|
|
@@ -13906,6 +13934,9 @@ class Client extends openapi_client_1.default {
|
|
|
13906
13934
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
13907
13935
|
query["EndTime"] = request.endTime;
|
|
13908
13936
|
}
|
|
13937
|
+
if (!tea_util_1.default.isUnset(request.logicalOperator)) {
|
|
13938
|
+
query["LogicalOperator"] = request.logicalOperator;
|
|
13939
|
+
}
|
|
13909
13940
|
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
13910
13941
|
query["NodeId"] = request.nodeId;
|
|
13911
13942
|
}
|
|
@@ -13924,6 +13955,9 @@ class Client extends openapi_client_1.default {
|
|
|
13924
13955
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
13925
13956
|
query["PageSize"] = request.pageSize;
|
|
13926
13957
|
}
|
|
13958
|
+
if (!tea_util_1.default.isUnset(request.queryKeywords)) {
|
|
13959
|
+
query["QueryKeywords"] = request.queryKeywords;
|
|
13960
|
+
}
|
|
13927
13961
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
13928
13962
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
13929
13963
|
}
|
|
@@ -14122,6 +14156,9 @@ class Client extends openapi_client_1.default {
|
|
|
14122
14156
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
14123
14157
|
query["EndTime"] = request.endTime;
|
|
14124
14158
|
}
|
|
14159
|
+
if (!tea_util_1.default.isUnset(request.logicalOperator)) {
|
|
14160
|
+
query["LogicalOperator"] = request.logicalOperator;
|
|
14161
|
+
}
|
|
14125
14162
|
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
14126
14163
|
query["NodeId"] = request.nodeId;
|
|
14127
14164
|
}
|
|
@@ -14140,6 +14177,9 @@ class Client extends openapi_client_1.default {
|
|
|
14140
14177
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
14141
14178
|
query["PageSize"] = request.pageSize;
|
|
14142
14179
|
}
|
|
14180
|
+
if (!tea_util_1.default.isUnset(request.queryKeywords)) {
|
|
14181
|
+
query["QueryKeywords"] = request.queryKeywords;
|
|
14182
|
+
}
|
|
14143
14183
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
14144
14184
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
14145
14185
|
}
|
|
@@ -14975,10 +15015,10 @@ class Client extends openapi_client_1.default {
|
|
|
14975
15015
|
return await this.modifyDBInstanceMaintainTimeWithOptions(request, runtime);
|
|
14976
15016
|
}
|
|
14977
15017
|
/**
|
|
14978
|
-
* > 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.
|
|
14979
15019
|
* Before you call this operation, make sure that the following requirements are met:
|
|
14980
|
-
* *
|
|
14981
|
-
* *
|
|
15020
|
+
* * A replica set or sharded cluster instance is used.
|
|
15021
|
+
* * MongoDB 3.4 (the latest minor version) or MongoDB 4.0 is selected.
|
|
14982
15022
|
*
|
|
14983
15023
|
* @param request ModifyDBInstanceMonitorRequest
|
|
14984
15024
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15022,10 +15062,10 @@ class Client extends openapi_client_1.default {
|
|
|
15022
15062
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBInstanceMonitorResponse({}));
|
|
15023
15063
|
}
|
|
15024
15064
|
/**
|
|
15025
|
-
* > 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.
|
|
15026
15066
|
* Before you call this operation, make sure that the following requirements are met:
|
|
15027
|
-
* *
|
|
15028
|
-
* *
|
|
15067
|
+
* * A replica set or sharded cluster instance is used.
|
|
15068
|
+
* * MongoDB 3.4 (the latest minor version) or MongoDB 4.0 is selected.
|
|
15029
15069
|
*
|
|
15030
15070
|
* @param request ModifyDBInstanceMonitorRequest
|
|
15031
15071
|
* @return ModifyDBInstanceMonitorResponse
|
|
@@ -15171,7 +15211,7 @@ class Client extends openapi_client_1.default {
|
|
|
15171
15211
|
* Before you call this operation, make sure that the following requirements are met:
|
|
15172
15212
|
* * The instance is in the running state.
|
|
15173
15213
|
* * The instance is a replica set instance.
|
|
15174
|
-
* * The engine version of the instance is
|
|
15214
|
+
* * The engine version of the instance is 3.4 or 4.0.
|
|
15175
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.
|
|
15176
15216
|
*
|
|
15177
15217
|
* @param request ModifyDBInstanceSSLRequest
|
|
@@ -15220,7 +15260,7 @@ class Client extends openapi_client_1.default {
|
|
|
15220
15260
|
* Before you call this operation, make sure that the following requirements are met:
|
|
15221
15261
|
* * The instance is in the running state.
|
|
15222
15262
|
* * The instance is a replica set instance.
|
|
15223
|
-
* * The engine version of the instance is
|
|
15263
|
+
* * The engine version of the instance is 3.4 or 4.0.
|
|
15224
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.
|
|
15225
15265
|
*
|
|
15226
15266
|
* @param request ModifyDBInstanceSSLRequest
|
|
@@ -15819,7 +15859,6 @@ class Client extends openapi_client_1.default {
|
|
|
15819
15859
|
return await this.modifyNodeSpecBatchWithOptions(request, runtime);
|
|
15820
15860
|
}
|
|
15821
15861
|
/**
|
|
15822
|
-
* ### Precautions
|
|
15823
15862
|
* * The instance must be in the Running state when you call this operation.
|
|
15824
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.
|
|
15825
15864
|
*
|
|
@@ -15874,7 +15913,6 @@ class Client extends openapi_client_1.default {
|
|
|
15874
15913
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyParametersResponse({}));
|
|
15875
15914
|
}
|
|
15876
15915
|
/**
|
|
15877
|
-
* ### Precautions
|
|
15878
15916
|
* * The instance must be in the Running state when you call this operation.
|
|
15879
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.
|
|
15880
15918
|
*
|