@alicloud/dds20151201 8.3.0 → 8.4.0
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 +55 -24
- package/dist/client.js +135 -26
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeAccountsResponseBody.d.ts +0 -48
- package/dist/models/DescribeAccountsResponseBody.js.map +1 -1
- package/dist/models/DescribeAuditRecordsResponseBody.d.ts +0 -67
- package/dist/models/DescribeAuditRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableEngineVersionResponseBody.d.ts +0 -6
- package/dist/models/DescribeAvailableEngineVersionResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableResourceResponseBody.d.ts +0 -115
- package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupDbsResponseBody.d.ts +0 -11
- package/dist/models/DescribeBackupDbsResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupsResponseBody.d.ts +0 -134
- package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
- package/dist/models/DescribeBinlogFilesRequest.d.ts +69 -0
- package/dist/models/DescribeBinlogFilesRequest.js +86 -0
- package/dist/models/DescribeBinlogFilesRequest.js.map +1 -0
- package/dist/models/DescribeBinlogFilesResponse.d.ts +19 -0
- package/dist/models/DescribeBinlogFilesResponse.js +69 -0
- package/dist/models/DescribeBinlogFilesResponse.js.map +1 -0
- package/dist/models/DescribeBinlogFilesResponseBody.d.ts +72 -0
- package/dist/models/DescribeBinlogFilesResponseBody.js +134 -0
- package/dist/models/DescribeBinlogFilesResponseBody.js.map +1 -0
- package/dist/models/DescribeDbinstanceAttributeResponseBody.d.ts +1 -843
- package/dist/models/DescribeDbinstanceAttributeResponseBody.js +2 -0
- package/dist/models/DescribeDbinstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstancePerformanceResponseBody.d.ts +0 -45
- package/dist/models/DescribeDbinstancePerformanceResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstancesResponseBody.d.ts +0 -369
- package/dist/models/DescribeDbinstancesResponseBody.js.map +1 -1
- package/dist/models/DescribeErrorLogRecordsResponseBody.d.ts +0 -49
- package/dist/models/DescribeErrorLogRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceAutoRenewalAttributeResponseBody.d.ts +0 -48
- package/dist/models/DescribeInstanceAutoRenewalAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeKernelReleaseNotesResponseBody.d.ts +0 -18
- package/dist/models/DescribeKernelReleaseNotesResponseBody.js.map +1 -1
- package/dist/models/DescribeMongoDblogConfigResponseBody.d.ts +2 -0
- package/dist/models/DescribeMongoDblogConfigResponseBody.js +4 -0
- package/dist/models/DescribeMongoDblogConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeParameterModificationHistoryResponseBody.d.ts +0 -32
- package/dist/models/DescribeParameterModificationHistoryResponseBody.js.map +1 -1
- package/dist/models/DescribeParameterTemplatesResponseBody.d.ts +0 -52
- package/dist/models/DescribeParameterTemplatesResponseBody.js.map +1 -1
- package/dist/models/DescribeParametersResponseBody.d.ts +0 -115
- package/dist/models/DescribeParametersResponseBody.js.map +1 -1
- package/dist/models/DescribePriceResponseBody.d.ts +4 -686
- package/dist/models/DescribePriceResponseBody.js +7 -0
- package/dist/models/DescribePriceResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +0 -67
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/DescribeRenewalPriceResponseBody.d.ts +4 -97
- package/dist/models/DescribeRenewalPriceResponseBody.js +7 -0
- package/dist/models/DescribeRenewalPriceResponseBody.js.map +1 -1
- package/dist/models/DescribeReplicaSetRoleResponseBody.d.ts +1 -60
- package/dist/models/DescribeReplicaSetRoleResponseBody.js +2 -0
- package/dist/models/DescribeReplicaSetRoleResponseBody.js.map +1 -1
- package/dist/models/DescribeRestoreDbinstanceListResponseBody.d.ts +0 -107
- package/dist/models/DescribeRestoreDbinstanceListResponseBody.js.map +1 -1
- package/dist/models/DescribeRoleZoneInfoResponseBody.d.ts +0 -50
- package/dist/models/DescribeRoleZoneInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeRunningLogRecordsResponseBody.d.ts +0 -32
- package/dist/models/DescribeRunningLogRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeSecurityGroupConfigurationResponseBody.d.ts +0 -28
- package/dist/models/DescribeSecurityGroupConfigurationResponseBody.js.map +1 -1
- package/dist/models/DescribeSecurityIpsResponseBody.d.ts +0 -25
- package/dist/models/DescribeSecurityIpsResponseBody.js.map +1 -1
- package/dist/models/DescribeShardingNetworkAddressResponseBody.d.ts +1 -167
- package/dist/models/DescribeShardingNetworkAddressResponseBody.js +2 -0
- package/dist/models/DescribeShardingNetworkAddressResponseBody.js.map +1 -1
- package/dist/models/DescribeSlowLogRecordsResponseBody.d.ts +0 -74
- package/dist/models/DescribeSlowLogRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeUserEncryptionKeyListResponseBody.d.ts +0 -4
- package/dist/models/DescribeUserEncryptionKeyListResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +0 -32
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
- package/dist/models/ModifyAuditPolicyRequest.d.ts +1 -0
- package/dist/models/ModifyAuditPolicyRequest.js +2 -0
- package/dist/models/ModifyAuditPolicyRequest.js.map +1 -1
- package/dist/models/ModifyDbinstanceConnectionStringRequest.d.ts +7 -4
- package/dist/models/ModifyDbinstanceConnectionStringRequest.js +6 -0
- package/dist/models/ModifyDbinstanceConnectionStringRequest.js.map +1 -1
- package/dist/models/ModifyDbinstanceConnectionStringResponseBody.d.ts +1 -0
- package/dist/models/ModifyDbinstanceConnectionStringResponseBody.js +2 -0
- package/dist/models/ModifyDbinstanceConnectionStringResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +22 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +156 -26
- package/src/models/DescribeAccountsResponseBody.ts +0 -48
- package/src/models/DescribeAuditRecordsResponseBody.ts +0 -67
- package/src/models/DescribeAvailableEngineVersionResponseBody.ts +0 -6
- package/src/models/DescribeAvailableResourceResponseBody.ts +0 -115
- package/src/models/DescribeBackupDbsResponseBody.ts +0 -11
- package/src/models/DescribeBackupsResponseBody.ts +0 -134
- package/src/models/DescribeBinlogFilesRequest.ts +110 -0
- package/src/models/DescribeBinlogFilesResponse.ts +40 -0
- package/src/models/DescribeBinlogFilesResponseBody.ts +143 -0
- package/src/models/DescribeDbinstanceAttributeResponseBody.ts +3 -843
- package/src/models/DescribeDbinstancePerformanceResponseBody.ts +0 -45
- package/src/models/DescribeDbinstancesResponseBody.ts +0 -369
- package/src/models/DescribeErrorLogRecordsResponseBody.ts +0 -49
- package/src/models/DescribeInstanceAutoRenewalAttributeResponseBody.ts +0 -48
- package/src/models/DescribeKernelReleaseNotesResponseBody.ts +0 -18
- package/src/models/DescribeMongoDblogConfigResponseBody.ts +6 -0
- package/src/models/DescribeParameterModificationHistoryResponseBody.ts +0 -32
- package/src/models/DescribeParameterTemplatesResponseBody.ts +0 -52
- package/src/models/DescribeParametersResponseBody.ts +0 -115
- package/src/models/DescribePriceResponseBody.ts +9 -686
- package/src/models/DescribeRegionsResponseBody.ts +0 -67
- package/src/models/DescribeRenewalPriceResponseBody.ts +9 -97
- package/src/models/DescribeReplicaSetRoleResponseBody.ts +3 -60
- package/src/models/DescribeRestoreDbinstanceListResponseBody.ts +0 -107
- package/src/models/DescribeRoleZoneInfoResponseBody.ts +0 -50
- package/src/models/DescribeRunningLogRecordsResponseBody.ts +0 -32
- package/src/models/DescribeSecurityGroupConfigurationResponseBody.ts +0 -28
- package/src/models/DescribeSecurityIpsResponseBody.ts +0 -25
- package/src/models/DescribeShardingNetworkAddressResponseBody.ts +3 -167
- package/src/models/DescribeSlowLogRecordsResponseBody.ts +0 -74
- package/src/models/DescribeUserEncryptionKeyListResponseBody.ts +0 -4
- package/src/models/ListTagResourcesResponseBody.ts +0 -32
- package/src/models/ModifyAuditPolicyRequest.ts +3 -0
- package/src/models/ModifyDbinstanceConnectionStringRequest.ts +13 -4
- package/src/models/ModifyDbinstanceConnectionStringResponseBody.ts +3 -0
- package/src/models/model.ts +5 -0
|
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyPerformanceValuesPerformanceValue extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The date and time when the metric value was generated.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* 2022-06-13T10:58:00Z
|
|
12
|
-
*/
|
|
13
6
|
date?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The value of the performance metric.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* 0.23
|
|
20
|
-
*/
|
|
21
7
|
value?: string;
|
|
22
8
|
static names(): { [key: string]: string } {
|
|
23
9
|
return {
|
|
@@ -69,36 +55,9 @@ export class DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformance
|
|
|
69
55
|
}
|
|
70
56
|
|
|
71
57
|
export class DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey extends $dara.Model {
|
|
72
|
-
/**
|
|
73
|
-
* @remarks
|
|
74
|
-
* The performance metrics that are returned.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* CpuUsage
|
|
78
|
-
*/
|
|
79
58
|
key?: string;
|
|
80
|
-
/**
|
|
81
|
-
* @remarks
|
|
82
|
-
* The details of the performance metric values.
|
|
83
|
-
*/
|
|
84
59
|
performanceValues?: DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyPerformanceValues;
|
|
85
|
-
/**
|
|
86
|
-
* @remarks
|
|
87
|
-
* The unit of the performance metric.
|
|
88
|
-
*
|
|
89
|
-
* @example
|
|
90
|
-
* %
|
|
91
|
-
*/
|
|
92
60
|
unit?: string;
|
|
93
|
-
/**
|
|
94
|
-
* @remarks
|
|
95
|
-
* The format of the performance metric value. If the performance metric contains multiple fields, the fields are separated with ampersands ( &).
|
|
96
|
-
*
|
|
97
|
-
* For example, if you query disk space usage, the returned value of the **ValueFormat** parameter is **ins_size\\&data_size\\&log_size**.
|
|
98
|
-
*
|
|
99
|
-
* @example
|
|
100
|
-
* cpu_usage
|
|
101
|
-
*/
|
|
102
61
|
valueFormat?: string;
|
|
103
62
|
static names(): { [key: string]: string } {
|
|
104
63
|
return {
|
|
@@ -165,10 +124,6 @@ export class DescribeDBInstancePerformanceResponseBody extends $dara.Model {
|
|
|
165
124
|
* 2022-06-13T11:58Z
|
|
166
125
|
*/
|
|
167
126
|
endTime?: string;
|
|
168
|
-
/**
|
|
169
|
-
* @remarks
|
|
170
|
-
* The details of performance metrics.
|
|
171
|
-
*/
|
|
172
127
|
performanceKeys?: DescribeDBInstancePerformanceResponseBodyPerformanceKeys;
|
|
173
128
|
/**
|
|
174
129
|
* @remarks
|
|
@@ -3,29 +3,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosListMongosAttribute extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The instance type of the mongos node.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* dds.mongos.standard
|
|
12
|
-
*/
|
|
13
6
|
nodeClass?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The description of the mongos node.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* testmongosnode
|
|
20
|
-
*/
|
|
21
7
|
nodeDescription?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The ID of the mongos node.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* s-bp10e3b0d02f****
|
|
28
|
-
*/
|
|
29
8
|
nodeId?: string;
|
|
30
9
|
static names(): { [key: string]: string } {
|
|
31
10
|
return {
|
|
@@ -79,45 +58,10 @@ export class DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosList exte
|
|
|
79
58
|
}
|
|
80
59
|
|
|
81
60
|
export class DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardListShardAttribute extends $dara.Model {
|
|
82
|
-
/**
|
|
83
|
-
* @remarks
|
|
84
|
-
* The instance type of the shard node.
|
|
85
|
-
*
|
|
86
|
-
* @example
|
|
87
|
-
* dds.shard.mid
|
|
88
|
-
*/
|
|
89
61
|
nodeClass?: string;
|
|
90
|
-
/**
|
|
91
|
-
* @remarks
|
|
92
|
-
* The description of the shard node.
|
|
93
|
-
*
|
|
94
|
-
* @example
|
|
95
|
-
* testshardnode
|
|
96
|
-
*/
|
|
97
62
|
nodeDescription?: string;
|
|
98
|
-
/**
|
|
99
|
-
* @remarks
|
|
100
|
-
* The ID of the shard node.
|
|
101
|
-
*
|
|
102
|
-
* @example
|
|
103
|
-
* d-bp1cac6f2083****
|
|
104
|
-
*/
|
|
105
63
|
nodeId?: string;
|
|
106
|
-
/**
|
|
107
|
-
* @remarks
|
|
108
|
-
* The storage capacity of the shard node. Unit: GB.
|
|
109
|
-
*
|
|
110
|
-
* @example
|
|
111
|
-
* 10
|
|
112
|
-
*/
|
|
113
64
|
nodeStorage?: number;
|
|
114
|
-
/**
|
|
115
|
-
* @remarks
|
|
116
|
-
* The number of read-only nodes in the shard node. Valid values: **0** to **5**.
|
|
117
|
-
*
|
|
118
|
-
* @example
|
|
119
|
-
* 2
|
|
120
|
-
*/
|
|
121
65
|
readonlyReplicas?: number;
|
|
122
66
|
static names(): { [key: string]: string } {
|
|
123
67
|
return {
|
|
@@ -175,21 +119,7 @@ export class DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardList exten
|
|
|
175
119
|
}
|
|
176
120
|
|
|
177
121
|
export class DescribeDBInstancesResponseBodyDBInstancesDBInstanceTagsTag extends $dara.Model {
|
|
178
|
-
/**
|
|
179
|
-
* @remarks
|
|
180
|
-
* The tag key.
|
|
181
|
-
*
|
|
182
|
-
* @example
|
|
183
|
-
* test
|
|
184
|
-
*/
|
|
185
122
|
key?: string;
|
|
186
|
-
/**
|
|
187
|
-
* @remarks
|
|
188
|
-
* The tag value.
|
|
189
|
-
*
|
|
190
|
-
* @example
|
|
191
|
-
* api
|
|
192
|
-
*/
|
|
193
123
|
value?: string;
|
|
194
124
|
static names(): { [key: string]: string } {
|
|
195
125
|
return {
|
|
@@ -241,330 +171,35 @@ export class DescribeDBInstancesResponseBodyDBInstancesDBInstanceTags extends $d
|
|
|
241
171
|
}
|
|
242
172
|
|
|
243
173
|
export class DescribeDBInstancesResponseBodyDBInstancesDBInstance extends $dara.Model {
|
|
244
|
-
/**
|
|
245
|
-
* @remarks
|
|
246
|
-
* The backup retention policy configured for the instance. Valid values:
|
|
247
|
-
*
|
|
248
|
-
* * **0**: All backup sets of the instance are immediately deleted when the instance is released.
|
|
249
|
-
* * **1**: A backup set of the instance is automatically backed up and retained for a long period of time when the instance is released.
|
|
250
|
-
* * **2**: All backup sets of the instance are automatically backed up and retained for a long period of time when the instance is released.
|
|
251
|
-
*
|
|
252
|
-
* @example
|
|
253
|
-
* 1
|
|
254
|
-
*/
|
|
255
174
|
backupRetentionPolicy?: number;
|
|
256
|
-
/**
|
|
257
|
-
* @remarks
|
|
258
|
-
* The I/O throughput consumed by the instance.
|
|
259
|
-
*
|
|
260
|
-
* > This parameter is required only when the instance is a serverless instance.
|
|
261
|
-
*
|
|
262
|
-
* @example
|
|
263
|
-
* 100
|
|
264
|
-
*/
|
|
265
175
|
capacityUnit?: string;
|
|
266
|
-
/**
|
|
267
|
-
* @remarks
|
|
268
|
-
* The billing method of the instance. Valid values:
|
|
269
|
-
*
|
|
270
|
-
* * **PrePaid**: subscription
|
|
271
|
-
* * **PostPaid:** pay-as-you-go
|
|
272
|
-
*
|
|
273
|
-
* @example
|
|
274
|
-
* PrePaid
|
|
275
|
-
*/
|
|
276
176
|
chargeType?: string;
|
|
277
|
-
/**
|
|
278
|
-
* @remarks
|
|
279
|
-
* The time when the instance was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
|
|
280
|
-
*
|
|
281
|
-
* @example
|
|
282
|
-
* 2021-03-25T02:18:00Z
|
|
283
|
-
*/
|
|
284
177
|
creationTime?: string;
|
|
285
|
-
/**
|
|
286
|
-
* @remarks
|
|
287
|
-
* The instance type of the instance.
|
|
288
|
-
*
|
|
289
|
-
* @example
|
|
290
|
-
* dds.mongo.mid
|
|
291
|
-
*/
|
|
292
178
|
DBInstanceClass?: string;
|
|
293
|
-
/**
|
|
294
|
-
* @remarks
|
|
295
|
-
* The description of the instance.
|
|
296
|
-
*
|
|
297
|
-
* @example
|
|
298
|
-
* Test database
|
|
299
|
-
*/
|
|
300
179
|
DBInstanceDescription?: string;
|
|
301
|
-
/**
|
|
302
|
-
* @remarks
|
|
303
|
-
* The instance ID.
|
|
304
|
-
*
|
|
305
|
-
* @example
|
|
306
|
-
* dds-bp18b0934e70****
|
|
307
|
-
*/
|
|
308
180
|
DBInstanceId?: string;
|
|
309
|
-
/**
|
|
310
|
-
* @remarks
|
|
311
|
-
* The status of the instance. For more information, see [Instance states](https://help.aliyun.com/document_detail/63870.html).
|
|
312
|
-
*
|
|
313
|
-
* @example
|
|
314
|
-
* Running
|
|
315
|
-
*/
|
|
316
181
|
DBInstanceStatus?: string;
|
|
317
|
-
/**
|
|
318
|
-
* @remarks
|
|
319
|
-
* The storage capacity of the instance.
|
|
320
|
-
*
|
|
321
|
-
* @example
|
|
322
|
-
* 20
|
|
323
|
-
*/
|
|
324
182
|
DBInstanceStorage?: number;
|
|
325
|
-
/**
|
|
326
|
-
* @remarks
|
|
327
|
-
* The architecture of the instance.
|
|
328
|
-
*
|
|
329
|
-
* * **sharding**: sharded cluster instance
|
|
330
|
-
* * **replicate**: replica set or standalone instance
|
|
331
|
-
*
|
|
332
|
-
* @example
|
|
333
|
-
* sharding
|
|
334
|
-
*/
|
|
335
183
|
DBInstanceType?: string;
|
|
336
|
-
/**
|
|
337
|
-
* @remarks
|
|
338
|
-
* The time when the instance data is destroyed. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
|
|
339
|
-
*
|
|
340
|
-
* > * For a subscription instance, the computing resources of the instance are released on the 16th day after expiration, and the data of the instance is retained for seven days. The data is deleted on the 23th day after expiration and cannot be restored.
|
|
341
|
-
* > * For a pay-as-you-go instance, the computing resources of the instance are released on the 16th day after the payment becomes overdue, and the data of the instance is retained for seven days. The data is deleted on the 23th day after the payment becomes overdue and cannot be restored.
|
|
342
|
-
*
|
|
343
|
-
* @example
|
|
344
|
-
* 2021-12-10T16:00:00Z
|
|
345
|
-
*/
|
|
346
184
|
destroyTime?: string;
|
|
347
|
-
/**
|
|
348
|
-
* @remarks
|
|
349
|
-
* The engine of the instance.
|
|
350
|
-
*
|
|
351
|
-
* @example
|
|
352
|
-
* MongoDB
|
|
353
|
-
*/
|
|
354
185
|
engine?: string;
|
|
355
|
-
/**
|
|
356
|
-
* @remarks
|
|
357
|
-
* The database engine version of the instance. Valid values:
|
|
358
|
-
*
|
|
359
|
-
* * **7.0**
|
|
360
|
-
* * **6.0**
|
|
361
|
-
* * **5.0**
|
|
362
|
-
* * **4.4**
|
|
363
|
-
* * **4.2**
|
|
364
|
-
* * **4.0**
|
|
365
|
-
* * **3.4**
|
|
366
|
-
*
|
|
367
|
-
* @example
|
|
368
|
-
* 4.2
|
|
369
|
-
*/
|
|
370
186
|
engineVersion?: string;
|
|
371
|
-
/**
|
|
372
|
-
* @remarks
|
|
373
|
-
* The time when the instance expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
|
|
374
|
-
*
|
|
375
|
-
* @example
|
|
376
|
-
* 2021-11-25T16:00Z
|
|
377
|
-
*/
|
|
378
187
|
expireTime?: string;
|
|
379
|
-
/**
|
|
380
|
-
* @remarks
|
|
381
|
-
* The secondary zone 2 of the instance in the multi-zone deployment. Valid values:
|
|
382
|
-
*
|
|
383
|
-
* * **cn-hangzhou-g**: Hangzhou Zone G
|
|
384
|
-
* * **cn-hangzhou-h**: Hangzhou Zone H
|
|
385
|
-
* * **cn-hangzhou-i**: Hangzhou Zone I
|
|
386
|
-
* * **cn-hongkong-b**: Hong Kong Zone B
|
|
387
|
-
* * **cn-hongkong-c**: Hong Kong Zone C
|
|
388
|
-
* * **cn-hongkong-d**: Hong Kong Zone D
|
|
389
|
-
* * **cn-wulanchabu-a**: Ulanqab Zone A
|
|
390
|
-
* * **cn-wulanchabu-b**: Ulanqab Zone B
|
|
391
|
-
* * **cn-wulanchabu-c**: Ulanqab Zone C
|
|
392
|
-
* * **ap-southeast-1a**: Singapore Zone A
|
|
393
|
-
* * **ap-southeast-1b**: Singapore Zone B
|
|
394
|
-
* * **ap-southeast-1c**: Singapore Zone C
|
|
395
|
-
* * **ap-southeast-5a**: Jakarta Zone A
|
|
396
|
-
* * **ap-southeast-5b**: Jakarta Zone B
|
|
397
|
-
* * **ap-southeast-5c**: Jakarta Zone C
|
|
398
|
-
* * **eu-central-1a**: Frankfurt Zone A
|
|
399
|
-
* * **eu-central-1b**: Frankfurt Zone B
|
|
400
|
-
* * **eu-central-1c**: Frankfurt Zone C
|
|
401
|
-
*
|
|
402
|
-
* > * This parameter is returned only when the instance is a replica set or sharded cluster instance that runs MongoDB 4.4 or 5.0 and uses the multi-zone deployment.
|
|
403
|
-
* > * This parameter is returned only if you use the China site (aliyun.com).
|
|
404
|
-
*
|
|
405
|
-
* @example
|
|
406
|
-
* cn-hangzhou-h
|
|
407
|
-
*/
|
|
408
188
|
hiddenZoneId?: string;
|
|
409
|
-
/**
|
|
410
|
-
* @remarks
|
|
411
|
-
* The kind code of the instance. Valid values:
|
|
412
|
-
*
|
|
413
|
-
* * **0**: physical machine
|
|
414
|
-
* * **1**: Elastic Compute Service (ECS) instance
|
|
415
|
-
* * **2**: Docker cluster
|
|
416
|
-
* * **18**: Kubernetes cluster
|
|
417
|
-
*
|
|
418
|
-
* @example
|
|
419
|
-
* 1
|
|
420
|
-
*/
|
|
421
189
|
kindCode?: string;
|
|
422
|
-
/**
|
|
423
|
-
* @remarks
|
|
424
|
-
* The date when the last downgrade operation was performed.
|
|
425
|
-
*
|
|
426
|
-
* @example
|
|
427
|
-
* 2021-05-08
|
|
428
|
-
*/
|
|
429
190
|
lastDowngradeTime?: string;
|
|
430
|
-
/**
|
|
431
|
-
* @remarks
|
|
432
|
-
* The lock status of the instance. Valid values:
|
|
433
|
-
*
|
|
434
|
-
* * **Unlock**: The cluster is unlocked.
|
|
435
|
-
* * **ManualLock**: The instance is manually locked.
|
|
436
|
-
* * **LockByExpiration**: The instance is automatically locked due to instance expiration.
|
|
437
|
-
* * **LockByRestoration**: The instance is automatically locked before it is rolled back.
|
|
438
|
-
* * **LockByDiskQuota**: The instance is automatically locked after the storage space is exhausted.
|
|
439
|
-
* * **Released**: The instance is released. After an instance is released, the instance cannot be unlocked. You can only restore the backup data of the instance to a new instance. This process requires a long period of time.
|
|
440
|
-
*
|
|
441
|
-
* @example
|
|
442
|
-
* Unlock
|
|
443
|
-
*/
|
|
444
191
|
lockMode?: string;
|
|
445
|
-
/**
|
|
446
|
-
* @remarks
|
|
447
|
-
* The details of the mongos node.
|
|
448
|
-
*
|
|
449
|
-
* > This parameter is returned if the instance is a sharded cluster instance.
|
|
450
|
-
*/
|
|
451
192
|
mongosList?: DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosList;
|
|
452
|
-
/**
|
|
453
|
-
* @remarks
|
|
454
|
-
* The network type of the instance. Valid values:
|
|
455
|
-
*
|
|
456
|
-
* * **Classic**: classic network
|
|
457
|
-
* * **VPC**: VPC
|
|
458
|
-
*
|
|
459
|
-
* @example
|
|
460
|
-
* Classic
|
|
461
|
-
*/
|
|
462
193
|
networkType?: string;
|
|
463
|
-
/**
|
|
464
|
-
* @remarks
|
|
465
|
-
* The region ID of the instance.
|
|
466
|
-
*
|
|
467
|
-
* @example
|
|
468
|
-
* cn-hangzhou
|
|
469
|
-
*/
|
|
470
194
|
regionId?: string;
|
|
471
|
-
/**
|
|
472
|
-
* @remarks
|
|
473
|
-
* The time when the instance was released.
|
|
474
|
-
*
|
|
475
|
-
* @example
|
|
476
|
-
* 2024-06-17T07:01Z
|
|
477
|
-
*/
|
|
478
195
|
releaseTime?: string;
|
|
479
|
-
/**
|
|
480
|
-
* @remarks
|
|
481
|
-
* The number of nodes in the instance.
|
|
482
|
-
*
|
|
483
|
-
* > This parameter is returned if the instance is a replica set instance.
|
|
484
|
-
*
|
|
485
|
-
* @example
|
|
486
|
-
* 3
|
|
487
|
-
*/
|
|
488
196
|
replicationFactor?: string;
|
|
489
|
-
/**
|
|
490
|
-
* @remarks
|
|
491
|
-
* The ID of the resource group to which the instance belongs.
|
|
492
|
-
*
|
|
493
|
-
* @example
|
|
494
|
-
* rg-acfmyiu4ekp****
|
|
495
|
-
*/
|
|
496
197
|
resourceGroupId?: string;
|
|
497
|
-
/**
|
|
498
|
-
* @remarks
|
|
499
|
-
* The secondary zone 1 of the instance in the multi-zone deployment. Valid values:
|
|
500
|
-
*
|
|
501
|
-
* * **cn-hangzhou-g**: Hangzhou Zone G
|
|
502
|
-
* * **cn-hangzhou-h**: Hangzhou Zone H
|
|
503
|
-
* * **cn-hangzhou-i**: Hangzhou Zone I
|
|
504
|
-
* * **cn-hongkong-b**: Hong Kong Zone B
|
|
505
|
-
* * **cn-hongkong-c**: Hong Kong Zone C
|
|
506
|
-
* * **cn-hongkong-d**: Hong Kong Zone D
|
|
507
|
-
* * **cn-wulanchabu-a**: Ulanqab Zone A
|
|
508
|
-
* * **cn-wulanchabu-b**: Ulanqab Zone B
|
|
509
|
-
* * **cn-wulanchabu-c**: Ulanqab Zone C
|
|
510
|
-
* * **ap-southeast-1a**: Singapore Zone A
|
|
511
|
-
* * **ap-southeast-1b**: Singapore Zone B
|
|
512
|
-
* * **ap-southeast-1c**: Singapore Zone C
|
|
513
|
-
* * **ap-southeast-5a**: Jakarta Zone A
|
|
514
|
-
* * **ap-southeast-5b**: Jakarta Zone B
|
|
515
|
-
* * **ap-southeast-5c**: Jakarta Zone C
|
|
516
|
-
* * **eu-central-1a**: Frankfurt Zone A
|
|
517
|
-
* * **eu-central-1b**: Frankfurt Zone B
|
|
518
|
-
* * **eu-central-1c**: Frankfurt Zone C
|
|
519
|
-
*
|
|
520
|
-
* > * This parameter is returned only when the instance is a replica set or sharded cluster instance that runs MongoDB 4.4 or 5.0 and uses the multi-zone deployment.
|
|
521
|
-
* > * This parameter is returned only if you use the China site (aliyun.com).
|
|
522
|
-
*
|
|
523
|
-
* @example
|
|
524
|
-
* cn-hangzhou-i
|
|
525
|
-
*/
|
|
526
198
|
secondaryZoneId?: string;
|
|
527
|
-
/**
|
|
528
|
-
* @remarks
|
|
529
|
-
* The details of the shard node.
|
|
530
|
-
*
|
|
531
|
-
* > This parameter is returned if the instance is a sharded cluster instance.
|
|
532
|
-
*/
|
|
533
199
|
shardList?: DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardList;
|
|
534
|
-
/**
|
|
535
|
-
* @remarks
|
|
536
|
-
* The storage type of the instance. Valid values:
|
|
537
|
-
*
|
|
538
|
-
* * **cloud_essd**: Enterprise SSD (ESSD)
|
|
539
|
-
* * **local_ssd**: local SSD
|
|
540
|
-
*
|
|
541
|
-
* @example
|
|
542
|
-
* local_ssd
|
|
543
|
-
*/
|
|
544
200
|
storageType?: string;
|
|
545
|
-
/**
|
|
546
|
-
* @remarks
|
|
547
|
-
* The details of the tag.
|
|
548
|
-
*/
|
|
549
201
|
tags?: DescribeDBInstancesResponseBodyDBInstancesDBInstanceTags;
|
|
550
|
-
/**
|
|
551
|
-
* @remarks
|
|
552
|
-
* Indicates whether password-free access over virtual private cloud (VPC) is enabled. Valid values:
|
|
553
|
-
*
|
|
554
|
-
* * **Open**: Password-free access over VPC is enabled.
|
|
555
|
-
* * **Close**: Password-free access over VPC is disabled.
|
|
556
|
-
*
|
|
557
|
-
* @example
|
|
558
|
-
* Close
|
|
559
|
-
*/
|
|
560
202
|
vpcAuthMode?: string;
|
|
561
|
-
/**
|
|
562
|
-
* @remarks
|
|
563
|
-
* The zone ID of the instance.
|
|
564
|
-
*
|
|
565
|
-
* @example
|
|
566
|
-
* cn-hangzhou-g
|
|
567
|
-
*/
|
|
568
203
|
zoneId?: string;
|
|
569
204
|
static names(): { [key: string]: string } {
|
|
570
205
|
return {
|
|
@@ -681,10 +316,6 @@ export class DescribeDBInstancesResponseBodyDBInstances extends $dara.Model {
|
|
|
681
316
|
}
|
|
682
317
|
|
|
683
318
|
export class DescribeDBInstancesResponseBody extends $dara.Model {
|
|
684
|
-
/**
|
|
685
|
-
* @remarks
|
|
686
|
-
* The details of the instance.
|
|
687
|
-
*/
|
|
688
319
|
DBInstances?: DescribeDBInstancesResponseBodyDBInstances;
|
|
689
320
|
/**
|
|
690
321
|
* @remarks
|
|
@@ -3,55 +3,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeErrorLogRecordsResponseBodyItemsLogRecords extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The category of the log entry. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* * NETWORK: network connection log
|
|
11
|
-
* * ACCESS: access control log
|
|
12
|
-
* * \\-: general log
|
|
13
|
-
* * COMMAND: slow query log
|
|
14
|
-
* * SHARDING: sharded cluster log
|
|
15
|
-
* * STORAGE: storage engine log
|
|
16
|
-
* * CONNPOOL: connection pool log
|
|
17
|
-
* * ASIO: asynchronous I/O operation log
|
|
18
|
-
* * WRITE: slow update log
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* NETWORK
|
|
22
|
-
*/
|
|
23
6
|
category?: string;
|
|
24
|
-
/**
|
|
25
|
-
* @remarks
|
|
26
|
-
* The connection information of the log entry.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* conn18xxxxxx
|
|
30
|
-
*/
|
|
31
7
|
connInfo?: string;
|
|
32
|
-
/**
|
|
33
|
-
* @remarks
|
|
34
|
-
* The content of the log entry.
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* xxxxxxxx
|
|
38
|
-
*/
|
|
39
8
|
content?: string;
|
|
40
|
-
/**
|
|
41
|
-
* @remarks
|
|
42
|
-
* The time when the log entry was generated. The time is in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* 2019-02-26T12:09:34Z
|
|
46
|
-
*/
|
|
47
9
|
createTime?: string;
|
|
48
|
-
/**
|
|
49
|
-
* @remarks
|
|
50
|
-
* The ID of the log entry.
|
|
51
|
-
*
|
|
52
|
-
* @example
|
|
53
|
-
* 1111111111
|
|
54
|
-
*/
|
|
55
10
|
id?: number;
|
|
56
11
|
static names(): { [key: string]: string } {
|
|
57
12
|
return {
|
|
@@ -117,10 +72,6 @@ export class DescribeErrorLogRecordsResponseBody extends $dara.Model {
|
|
|
117
72
|
* MongoDB
|
|
118
73
|
*/
|
|
119
74
|
engine?: string;
|
|
120
|
-
/**
|
|
121
|
-
* @remarks
|
|
122
|
-
* Details about the log entries returned.
|
|
123
|
-
*/
|
|
124
75
|
items?: DescribeErrorLogRecordsResponseBodyItems;
|
|
125
76
|
/**
|
|
126
77
|
* @remarks
|
|
@@ -3,54 +3,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* Indicates whether auto-renewal is enabled for the instance. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* * **true**: Auto-renewal is enabled for the instance.
|
|
11
|
-
* * **false**: Auto-renewal is disabled for the instance.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* true
|
|
15
|
-
*/
|
|
16
6
|
autoRenew?: string;
|
|
17
|
-
/**
|
|
18
|
-
* @remarks
|
|
19
|
-
* The category of the instance. Valid values:
|
|
20
|
-
*
|
|
21
|
-
* * **replicate**: the standalone or replica set instance
|
|
22
|
-
* * **sharding**: the sharded cluster instance
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* replicate
|
|
26
|
-
*/
|
|
27
7
|
DBInstanceType?: string;
|
|
28
|
-
/**
|
|
29
|
-
* @remarks
|
|
30
|
-
* The ID of the instance.
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* dds-bp2568*****
|
|
34
|
-
*/
|
|
35
8
|
dbInstanceId?: string;
|
|
36
|
-
/**
|
|
37
|
-
* @remarks
|
|
38
|
-
* The auto-renewal period. Unit: months.
|
|
39
|
-
*
|
|
40
|
-
* > * This parameter is ruturned only when the returned value of the **AutoRenew** parameter is **true**.
|
|
41
|
-
* > * You can call the [ModifyInstanceAutoRenewalAttribute](https://help.aliyun.com/document_detail/145979.html) operation to modify the auto-renewal period.
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
* 1
|
|
45
|
-
*/
|
|
46
9
|
duration?: string;
|
|
47
|
-
/**
|
|
48
|
-
* @remarks
|
|
49
|
-
* The region ID of the instance.
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* cn-hangzhou
|
|
53
|
-
*/
|
|
54
10
|
regionId?: string;
|
|
55
11
|
static names(): { [key: string]: string } {
|
|
56
12
|
return {
|
|
@@ -108,10 +64,6 @@ export class DescribeInstanceAutoRenewalAttributeResponseBodyItems extends $dara
|
|
|
108
64
|
}
|
|
109
65
|
|
|
110
66
|
export class DescribeInstanceAutoRenewalAttributeResponseBody extends $dara.Model {
|
|
111
|
-
/**
|
|
112
|
-
* @remarks
|
|
113
|
-
* Details about returned entries.
|
|
114
|
-
*/
|
|
115
67
|
items?: DescribeInstanceAutoRenewalAttributeResponseBodyItems;
|
|
116
68
|
/**
|
|
117
69
|
* @remarks
|
|
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeKernelReleaseNotesResponseBodyReleaseNotesReleaseNote extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The version number.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* mongodb_20180619_0.4.9
|
|
12
|
-
*/
|
|
13
6
|
kernelVersion?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The release notes.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* test release note.
|
|
20
|
-
*/
|
|
21
7
|
releaseNote?: string;
|
|
22
8
|
static names(): { [key: string]: string } {
|
|
23
9
|
return {
|
|
@@ -69,10 +55,6 @@ export class DescribeKernelReleaseNotesResponseBodyReleaseNotes extends $dara.Mo
|
|
|
69
55
|
}
|
|
70
56
|
|
|
71
57
|
export class DescribeKernelReleaseNotesResponseBody extends $dara.Model {
|
|
72
|
-
/**
|
|
73
|
-
* @remarks
|
|
74
|
-
* The list of the version release notes.
|
|
75
|
-
*/
|
|
76
58
|
releaseNotes?: DescribeKernelReleaseNotesResponseBodyReleaseNotes;
|
|
77
59
|
/**
|
|
78
60
|
* @remarks
|
|
@@ -14,6 +14,7 @@ export class DescribeMongoDBLogConfigResponseBody extends $dara.Model {
|
|
|
14
14
|
* true
|
|
15
15
|
*/
|
|
16
16
|
enableAudit?: boolean;
|
|
17
|
+
hotTtlForV2Standard?: number;
|
|
17
18
|
/**
|
|
18
19
|
* @remarks
|
|
19
20
|
* Indicates whether a rule to distribute logs to Logtail is created. For more information, see [Logtail overview](https://help.aliyun.com/document_detail/28979.html). Valid values:
|
|
@@ -87,6 +88,7 @@ export class DescribeMongoDBLogConfigResponseBody extends $dara.Model {
|
|
|
87
88
|
* 1
|
|
88
89
|
*/
|
|
89
90
|
ttlForTrail?: number;
|
|
91
|
+
ttlForV2Standard?: number;
|
|
90
92
|
/**
|
|
91
93
|
* @remarks
|
|
92
94
|
* The used storage capacity for the formal edition of the audit log feature. Unit: bytes.
|
|
@@ -114,6 +116,7 @@ export class DescribeMongoDBLogConfigResponseBody extends $dara.Model {
|
|
|
114
116
|
static names(): { [key: string]: string } {
|
|
115
117
|
return {
|
|
116
118
|
enableAudit: 'EnableAudit',
|
|
119
|
+
hotTtlForV2Standard: 'HotTtlForV2Standard',
|
|
117
120
|
isEtlMetaExist: 'IsEtlMetaExist',
|
|
118
121
|
isUserProjectLogstoreExist: 'IsUserProjectLogstoreExist',
|
|
119
122
|
preserveStorageForStandard: 'PreserveStorageForStandard',
|
|
@@ -122,6 +125,7 @@ export class DescribeMongoDBLogConfigResponseBody extends $dara.Model {
|
|
|
122
125
|
serviceType: 'ServiceType',
|
|
123
126
|
ttlForStandard: 'TtlForStandard',
|
|
124
127
|
ttlForTrail: 'TtlForTrail',
|
|
128
|
+
ttlForV2Standard: 'TtlForV2Standard',
|
|
125
129
|
usedStorageForStandard: 'UsedStorageForStandard',
|
|
126
130
|
usedStorageForTrail: 'UsedStorageForTrail',
|
|
127
131
|
userProjectName: 'UserProjectName',
|
|
@@ -131,6 +135,7 @@ export class DescribeMongoDBLogConfigResponseBody extends $dara.Model {
|
|
|
131
135
|
static types(): { [key: string]: any } {
|
|
132
136
|
return {
|
|
133
137
|
enableAudit: 'boolean',
|
|
138
|
+
hotTtlForV2Standard: 'number',
|
|
134
139
|
isEtlMetaExist: 'number',
|
|
135
140
|
isUserProjectLogstoreExist: 'number',
|
|
136
141
|
preserveStorageForStandard: 'number',
|
|
@@ -139,6 +144,7 @@ export class DescribeMongoDBLogConfigResponseBody extends $dara.Model {
|
|
|
139
144
|
serviceType: 'string',
|
|
140
145
|
ttlForStandard: 'number',
|
|
141
146
|
ttlForTrail: 'number',
|
|
147
|
+
ttlForV2Standard: 'number',
|
|
142
148
|
usedStorageForStandard: 'number',
|
|
143
149
|
usedStorageForTrail: 'number',
|
|
144
150
|
userProjectName: 'string',
|