@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.
Files changed (126) hide show
  1. package/dist/client.d.ts +55 -24
  2. package/dist/client.js +135 -26
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeAccountsResponseBody.d.ts +0 -48
  5. package/dist/models/DescribeAccountsResponseBody.js.map +1 -1
  6. package/dist/models/DescribeAuditRecordsResponseBody.d.ts +0 -67
  7. package/dist/models/DescribeAuditRecordsResponseBody.js.map +1 -1
  8. package/dist/models/DescribeAvailableEngineVersionResponseBody.d.ts +0 -6
  9. package/dist/models/DescribeAvailableEngineVersionResponseBody.js.map +1 -1
  10. package/dist/models/DescribeAvailableResourceResponseBody.d.ts +0 -115
  11. package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
  12. package/dist/models/DescribeBackupDbsResponseBody.d.ts +0 -11
  13. package/dist/models/DescribeBackupDbsResponseBody.js.map +1 -1
  14. package/dist/models/DescribeBackupsResponseBody.d.ts +0 -134
  15. package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
  16. package/dist/models/DescribeBinlogFilesRequest.d.ts +69 -0
  17. package/dist/models/DescribeBinlogFilesRequest.js +86 -0
  18. package/dist/models/DescribeBinlogFilesRequest.js.map +1 -0
  19. package/dist/models/DescribeBinlogFilesResponse.d.ts +19 -0
  20. package/dist/models/DescribeBinlogFilesResponse.js +69 -0
  21. package/dist/models/DescribeBinlogFilesResponse.js.map +1 -0
  22. package/dist/models/DescribeBinlogFilesResponseBody.d.ts +72 -0
  23. package/dist/models/DescribeBinlogFilesResponseBody.js +134 -0
  24. package/dist/models/DescribeBinlogFilesResponseBody.js.map +1 -0
  25. package/dist/models/DescribeDbinstanceAttributeResponseBody.d.ts +1 -843
  26. package/dist/models/DescribeDbinstanceAttributeResponseBody.js +2 -0
  27. package/dist/models/DescribeDbinstanceAttributeResponseBody.js.map +1 -1
  28. package/dist/models/DescribeDbinstancePerformanceResponseBody.d.ts +0 -45
  29. package/dist/models/DescribeDbinstancePerformanceResponseBody.js.map +1 -1
  30. package/dist/models/DescribeDbinstancesResponseBody.d.ts +0 -369
  31. package/dist/models/DescribeDbinstancesResponseBody.js.map +1 -1
  32. package/dist/models/DescribeErrorLogRecordsResponseBody.d.ts +0 -49
  33. package/dist/models/DescribeErrorLogRecordsResponseBody.js.map +1 -1
  34. package/dist/models/DescribeInstanceAutoRenewalAttributeResponseBody.d.ts +0 -48
  35. package/dist/models/DescribeInstanceAutoRenewalAttributeResponseBody.js.map +1 -1
  36. package/dist/models/DescribeKernelReleaseNotesResponseBody.d.ts +0 -18
  37. package/dist/models/DescribeKernelReleaseNotesResponseBody.js.map +1 -1
  38. package/dist/models/DescribeMongoDblogConfigResponseBody.d.ts +2 -0
  39. package/dist/models/DescribeMongoDblogConfigResponseBody.js +4 -0
  40. package/dist/models/DescribeMongoDblogConfigResponseBody.js.map +1 -1
  41. package/dist/models/DescribeParameterModificationHistoryResponseBody.d.ts +0 -32
  42. package/dist/models/DescribeParameterModificationHistoryResponseBody.js.map +1 -1
  43. package/dist/models/DescribeParameterTemplatesResponseBody.d.ts +0 -52
  44. package/dist/models/DescribeParameterTemplatesResponseBody.js.map +1 -1
  45. package/dist/models/DescribeParametersResponseBody.d.ts +0 -115
  46. package/dist/models/DescribeParametersResponseBody.js.map +1 -1
  47. package/dist/models/DescribePriceResponseBody.d.ts +4 -686
  48. package/dist/models/DescribePriceResponseBody.js +7 -0
  49. package/dist/models/DescribePriceResponseBody.js.map +1 -1
  50. package/dist/models/DescribeRegionsResponseBody.d.ts +0 -67
  51. package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
  52. package/dist/models/DescribeRenewalPriceResponseBody.d.ts +4 -97
  53. package/dist/models/DescribeRenewalPriceResponseBody.js +7 -0
  54. package/dist/models/DescribeRenewalPriceResponseBody.js.map +1 -1
  55. package/dist/models/DescribeReplicaSetRoleResponseBody.d.ts +1 -60
  56. package/dist/models/DescribeReplicaSetRoleResponseBody.js +2 -0
  57. package/dist/models/DescribeReplicaSetRoleResponseBody.js.map +1 -1
  58. package/dist/models/DescribeRestoreDbinstanceListResponseBody.d.ts +0 -107
  59. package/dist/models/DescribeRestoreDbinstanceListResponseBody.js.map +1 -1
  60. package/dist/models/DescribeRoleZoneInfoResponseBody.d.ts +0 -50
  61. package/dist/models/DescribeRoleZoneInfoResponseBody.js.map +1 -1
  62. package/dist/models/DescribeRunningLogRecordsResponseBody.d.ts +0 -32
  63. package/dist/models/DescribeRunningLogRecordsResponseBody.js.map +1 -1
  64. package/dist/models/DescribeSecurityGroupConfigurationResponseBody.d.ts +0 -28
  65. package/dist/models/DescribeSecurityGroupConfigurationResponseBody.js.map +1 -1
  66. package/dist/models/DescribeSecurityIpsResponseBody.d.ts +0 -25
  67. package/dist/models/DescribeSecurityIpsResponseBody.js.map +1 -1
  68. package/dist/models/DescribeShardingNetworkAddressResponseBody.d.ts +1 -167
  69. package/dist/models/DescribeShardingNetworkAddressResponseBody.js +2 -0
  70. package/dist/models/DescribeShardingNetworkAddressResponseBody.js.map +1 -1
  71. package/dist/models/DescribeSlowLogRecordsResponseBody.d.ts +0 -74
  72. package/dist/models/DescribeSlowLogRecordsResponseBody.js.map +1 -1
  73. package/dist/models/DescribeUserEncryptionKeyListResponseBody.d.ts +0 -4
  74. package/dist/models/DescribeUserEncryptionKeyListResponseBody.js.map +1 -1
  75. package/dist/models/ListTagResourcesResponseBody.d.ts +0 -32
  76. package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
  77. package/dist/models/ModifyAuditPolicyRequest.d.ts +1 -0
  78. package/dist/models/ModifyAuditPolicyRequest.js +2 -0
  79. package/dist/models/ModifyAuditPolicyRequest.js.map +1 -1
  80. package/dist/models/ModifyDbinstanceConnectionStringRequest.d.ts +7 -4
  81. package/dist/models/ModifyDbinstanceConnectionStringRequest.js +6 -0
  82. package/dist/models/ModifyDbinstanceConnectionStringRequest.js.map +1 -1
  83. package/dist/models/ModifyDbinstanceConnectionStringResponseBody.d.ts +1 -0
  84. package/dist/models/ModifyDbinstanceConnectionStringResponseBody.js +2 -0
  85. package/dist/models/ModifyDbinstanceConnectionStringResponseBody.js.map +1 -1
  86. package/dist/models/model.d.ts +5 -0
  87. package/dist/models/model.js +22 -12
  88. package/dist/models/model.js.map +1 -1
  89. package/package.json +1 -1
  90. package/src/client.ts +156 -26
  91. package/src/models/DescribeAccountsResponseBody.ts +0 -48
  92. package/src/models/DescribeAuditRecordsResponseBody.ts +0 -67
  93. package/src/models/DescribeAvailableEngineVersionResponseBody.ts +0 -6
  94. package/src/models/DescribeAvailableResourceResponseBody.ts +0 -115
  95. package/src/models/DescribeBackupDbsResponseBody.ts +0 -11
  96. package/src/models/DescribeBackupsResponseBody.ts +0 -134
  97. package/src/models/DescribeBinlogFilesRequest.ts +110 -0
  98. package/src/models/DescribeBinlogFilesResponse.ts +40 -0
  99. package/src/models/DescribeBinlogFilesResponseBody.ts +143 -0
  100. package/src/models/DescribeDbinstanceAttributeResponseBody.ts +3 -843
  101. package/src/models/DescribeDbinstancePerformanceResponseBody.ts +0 -45
  102. package/src/models/DescribeDbinstancesResponseBody.ts +0 -369
  103. package/src/models/DescribeErrorLogRecordsResponseBody.ts +0 -49
  104. package/src/models/DescribeInstanceAutoRenewalAttributeResponseBody.ts +0 -48
  105. package/src/models/DescribeKernelReleaseNotesResponseBody.ts +0 -18
  106. package/src/models/DescribeMongoDblogConfigResponseBody.ts +6 -0
  107. package/src/models/DescribeParameterModificationHistoryResponseBody.ts +0 -32
  108. package/src/models/DescribeParameterTemplatesResponseBody.ts +0 -52
  109. package/src/models/DescribeParametersResponseBody.ts +0 -115
  110. package/src/models/DescribePriceResponseBody.ts +9 -686
  111. package/src/models/DescribeRegionsResponseBody.ts +0 -67
  112. package/src/models/DescribeRenewalPriceResponseBody.ts +9 -97
  113. package/src/models/DescribeReplicaSetRoleResponseBody.ts +3 -60
  114. package/src/models/DescribeRestoreDbinstanceListResponseBody.ts +0 -107
  115. package/src/models/DescribeRoleZoneInfoResponseBody.ts +0 -50
  116. package/src/models/DescribeRunningLogRecordsResponseBody.ts +0 -32
  117. package/src/models/DescribeSecurityGroupConfigurationResponseBody.ts +0 -28
  118. package/src/models/DescribeSecurityIpsResponseBody.ts +0 -25
  119. package/src/models/DescribeShardingNetworkAddressResponseBody.ts +3 -167
  120. package/src/models/DescribeSlowLogRecordsResponseBody.ts +0 -74
  121. package/src/models/DescribeUserEncryptionKeyListResponseBody.ts +0 -4
  122. package/src/models/ListTagResourcesResponseBody.ts +0 -32
  123. package/src/models/ModifyAuditPolicyRequest.ts +3 -0
  124. package/src/models/ModifyDbinstanceConnectionStringRequest.ts +13 -4
  125. package/src/models/ModifyDbinstanceConnectionStringResponseBody.ts +3 -0
  126. package/src/models/model.ts +5 -0
@@ -3,77 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeAuditRecordsResponseBodyItemsSQLRecord extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The account of the database.
9
- *
10
- * @example
11
- * test
12
- */
13
6
  accountName?: string;
14
- /**
15
- * @remarks
16
- * The name of the database.
17
- *
18
- * @example
19
- * test123
20
- */
21
7
  DBName?: string;
22
- /**
23
- * @remarks
24
- * The time when the statement was executed. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
25
- *
26
- * @example
27
- * 2019-03-11T03:30:27Z
28
- */
29
8
  executeTime?: string;
30
- /**
31
- * @remarks
32
- * The IP addresses of the client.
33
- *
34
- * @example
35
- * 11.xxx.xxx.xxx
36
- */
37
9
  hostAddress?: string;
38
- /**
39
- * @remarks
40
- * The number of SQL audit log entries that are returned.
41
- *
42
- * @example
43
- * 2
44
- */
45
10
  returnRowCounts?: number;
46
- /**
47
- * @remarks
48
- * The statement that was executed.
49
- *
50
- * @example
51
- * { \\"atype\\" : \\"createCollection\\", \\"param\\" : { \\"ns\\" : \\"123.test1\\" }, \\"result\\": \\"OK\\" }
52
- */
53
11
  syntax?: string;
54
- /**
55
- * @remarks
56
- * The name of the collection.
57
- *
58
- * @example
59
- * C1
60
- */
61
12
  tableName?: string;
62
- /**
63
- * @remarks
64
- * The ID of the thread.
65
- *
66
- * @example
67
- * 140682188297984
68
- */
69
13
  threadID?: string;
70
- /**
71
- * @remarks
72
- * The duration of the statement execution. Unit: microseconds.
73
- *
74
- * @example
75
- * 700
76
- */
77
14
  totalExecutionTimes?: number;
78
15
  static names(): { [key: string]: string } {
79
16
  return {
@@ -139,10 +76,6 @@ export class DescribeAuditRecordsResponseBodyItems extends $dara.Model {
139
76
  }
140
77
 
141
78
  export class DescribeAuditRecordsResponseBody extends $dara.Model {
142
- /**
143
- * @remarks
144
- * An array that consists of the information of audit log entries.
145
- */
146
79
  items?: DescribeAuditRecordsResponseBodyItems;
147
80
  /**
148
81
  * @remarks
@@ -29,12 +29,6 @@ export class DescribeAvailableEngineVersionResponseBodyEngineVersions extends $d
29
29
  }
30
30
 
31
31
  export class DescribeAvailableEngineVersionResponseBody extends $dara.Model {
32
- /**
33
- * @remarks
34
- * The list of one or more engine versions to which an ApsaraDB for MongoDB instance can be upgraded.
35
- *
36
- * > An empty string is returned if the latest version is being used.
37
- */
38
32
  engineVersions?: DescribeAvailableEngineVersionResponseBodyEngineVersions;
39
33
  /**
40
34
  * @remarks
@@ -3,29 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResourceDBInstanceStorageRange extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The maximum storage capacity. Unit: GB.
9
- *
10
- * @example
11
- * 16000
12
- */
13
6
  max?: number;
14
- /**
15
- * @remarks
16
- * The minimum storage capacity. Unit: GB.
17
- *
18
- * @example
19
- * 20
20
- */
21
7
  min?: number;
22
- /**
23
- * @remarks
24
- * The step size for adjusting the storage capacity. Unit: GB.
25
- *
26
- * @example
27
- * 10
28
- */
29
8
  step?: number;
30
9
  static names(): { [key: string]: string } {
31
10
  return {
@@ -53,26 +32,8 @@ export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTyp
53
32
  }
54
33
 
55
34
  export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource extends $dara.Model {
56
- /**
57
- * @remarks
58
- * The storage capacity range of the instance.
59
- */
60
35
  DBInstanceStorageRange?: DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResourceDBInstanceStorageRange;
61
- /**
62
- * @remarks
63
- * The instance family.
64
- *
65
- * @example
66
- * mdb.shard.2x.xlarge.d
67
- */
68
36
  instanceClass?: string;
69
- /**
70
- * @remarks
71
- * The type of the instance.
72
- *
73
- * @example
74
- * 4 cores, 8 GB (Dedicated) (Current instance type: mdb.shard.2x.xlarge.d (4 cores, 8 GB (Dedicated cloud-disk), maximum connections: 3000, maximum IOPS: min{1800 + 50 × Storage capacity, 21000}))
75
- */
76
37
  instanceClassRemark?: string;
77
38
  static names(): { [key: string]: string } {
78
39
  return {
@@ -129,26 +90,8 @@ export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTyp
129
90
  }
130
91
 
131
92
  export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType extends $dara.Model {
132
- /**
133
- * @remarks
134
- * The details of the available resources.
135
- */
136
93
  availableResources?: DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResources;
137
- /**
138
- * @remarks
139
- * The network type of the instance.
140
- *
141
- * @example
142
- * VPC
143
- */
144
94
  networkTypes?: string;
145
- /**
146
- * @remarks
147
- * The number of nodes in the instance.
148
- *
149
- * @example
150
- * 3
151
- */
152
95
  nodeType?: string;
153
96
  static names(): { [key: string]: string } {
154
97
  return {
@@ -205,18 +148,7 @@ export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTyp
205
148
  }
206
149
 
207
150
  export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine extends $dara.Model {
208
- /**
209
- * @remarks
210
- * The storage engine of the instance.
211
- *
212
- * @example
213
- * WiredTiger
214
- */
215
151
  engine?: string;
216
- /**
217
- * @remarks
218
- * The supported instance types.
219
- */
220
152
  supportedNodeTypes?: DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes;
221
153
  static names(): { [key: string]: string } {
222
154
  return {
@@ -271,18 +203,7 @@ export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTyp
271
203
  }
272
204
 
273
205
  export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion extends $dara.Model {
274
- /**
275
- * @remarks
276
- * The supported storage engines.
277
- */
278
206
  supportedEngines?: DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines;
279
- /**
280
- * @remarks
281
- * The database engine version of the instance.
282
- *
283
- * @example
284
- * 4.0
285
- */
286
207
  version?: string;
287
208
  static names(): { [key: string]: string } {
288
209
  return {
@@ -337,26 +258,8 @@ export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTyp
337
258
  }
338
259
 
339
260
  export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone extends $dara.Model {
340
- /**
341
- * @remarks
342
- * The ID of the region.
343
- *
344
- * @example
345
- * cn-hangzhou
346
- */
347
261
  regionId?: string;
348
- /**
349
- * @remarks
350
- * The supported storage engine versions.
351
- */
352
262
  supportedEngineVersions?: DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions;
353
- /**
354
- * @remarks
355
- * The ID of the zone.
356
- *
357
- * @example
358
- * cn-hangzhou-h
359
- */
360
263
  zoneId?: string;
361
264
  static names(): { [key: string]: string } {
362
265
  return {
@@ -413,21 +316,7 @@ export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTyp
413
316
  }
414
317
 
415
318
  export class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType extends $dara.Model {
416
- /**
417
- * @remarks
418
- * The available zones.
419
- */
420
319
  availableZones?: DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones;
421
- /**
422
- * @remarks
423
- * The architecture of the instance. Valid values:
424
- *
425
- * * **normal**: replica set instance
426
- * * **sharding**: sharded cluster instance
427
- *
428
- * @example
429
- * sharding
430
- */
431
320
  dbType?: string;
432
321
  static names(): { [key: string]: string } {
433
322
  return {
@@ -490,10 +379,6 @@ export class DescribeAvailableResourceResponseBody extends $dara.Model {
490
379
  * 344EE51D-8850-4935-B68B-58A8F4DCE3BD
491
380
  */
492
381
  requestId?: string;
493
- /**
494
- * @remarks
495
- * The supported database types.
496
- */
497
382
  supportedDBTypes?: DescribeAvailableResourceResponseBodySupportedDBTypes;
498
383
  static names(): { [key: string]: string } {
499
384
  return {
@@ -3,13 +3,6 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeBackupDBsResponseBodyDatabasesDatabase extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The name of the database.
9
- *
10
- * @example
11
- * mongodbtest
12
- */
13
6
  DBName?: string;
14
7
  static names(): { [key: string]: string } {
15
8
  return {
@@ -59,10 +52,6 @@ export class DescribeBackupDBsResponseBodyDatabases extends $dara.Model {
59
52
  }
60
53
 
61
54
  export class DescribeBackupDBsResponseBody extends $dara.Model {
62
- /**
63
- * @remarks
64
- * The details of the databases.
65
- */
66
55
  databases?: DescribeBackupDBsResponseBodyDatabases;
67
56
  /**
68
57
  * @remarks
@@ -3,152 +3,22 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeBackupsResponseBodyBackupsBackup extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The name of the database that has been backed up.
9
- *
10
- * @example
11
- * database
12
- */
13
6
  backupDBNames?: string;
14
- /**
15
- * @remarks
16
- * The URL that is used to download the backup set over the Internet. If the backup set cannot be downloaded, an empty string is returned.
17
- */
18
7
  backupDownloadURL?: string;
19
- /**
20
- * @remarks
21
- * The end time of the backup. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
22
- *
23
- * @example
24
- * 2022-01-14T03:57:34Z
25
- */
26
8
  backupEndTime?: string;
27
9
  backupExpireTime?: string;
28
- /**
29
- * @remarks
30
- * The ID of the backup set.
31
- *
32
- * @example
33
- * 32102****
34
- */
35
10
  backupId?: string;
36
- /**
37
- * @remarks
38
- * The internal download URL of the backup set.
39
- *
40
- * > You can use the URL to download the specified backup set on an Elastic Compute Service (ECS) instance that is in the same virtual private cloud (VPC) as the ApsaraDB for MongoDB instance.
41
- */
42
11
  backupIntranetDownloadURL?: string;
43
- /**
44
- * @remarks
45
- * The ID of the backup task.
46
- *
47
- * @example
48
- * 1123xxxx
49
- */
50
12
  backupJobId?: string;
51
- /**
52
- * @remarks
53
- * The method that is used to generate the backup set. Valid values:
54
- *
55
- * * **Snapshot**
56
- * * **Physical**
57
- * * **Logical**
58
- *
59
- * @example
60
- * Physical
61
- */
62
13
  backupMethod?: string;
63
- /**
64
- * @remarks
65
- * The backup mode of the backup set. Valid values:
66
- *
67
- * * **Automated**
68
- * * **Manual**
69
- *
70
- * @example
71
- * Automated
72
- */
73
14
  backupMode?: string;
74
- /**
75
- * @remarks
76
- * The name of the backup set. The parameter is invalid.
77
- *
78
- * @example
79
- * 12345678.tar.gz
80
- */
81
15
  backupName?: string;
82
- /**
83
- * @remarks
84
- * The backup granularity. The parameter is invalid.
85
- *
86
- * @example
87
- * DBInstance
88
- */
89
16
  backupScale?: string;
90
- /**
91
- * @remarks
92
- * The size of the backup set. Unit: bytes.
93
- *
94
- * @example
95
- * 6168576
96
- */
97
17
  backupSize?: number;
98
- /**
99
- * @remarks
100
- * The start time of the backup. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
101
- *
102
- * @example
103
- * 2022-01-14T03:56:17Z
104
- */
105
18
  backupStartTime?: string;
106
- /**
107
- * @remarks
108
- * The status of the backup task. Valid values:
109
- *
110
- * * **Success**: The backup task is successful.
111
- * * **Failed**: The backup task failed.
112
- *
113
- * @example
114
- * Success
115
- */
116
19
  backupStatus?: string;
117
- /**
118
- * @remarks
119
- * The backup type. Valid values:
120
- *
121
- * * **FullBackup**
122
- * * **IncrementalBackup**
123
- *
124
- * @example
125
- * FullBackup
126
- */
127
20
  backupType?: string;
128
- /**
129
- * @remarks
130
- * Version of the backuped instance.
131
- *
132
- * * **6.0**
133
- * * **5.0**
134
- * * **4.4**
135
- * * **4.2**
136
- * * **4.0**
137
- * * **3.4**
138
- *
139
- * @example
140
- * 4.2
141
- */
142
21
  engineVersion?: string;
143
- /**
144
- * @remarks
145
- * Availability of the backup set.
146
- * - 0: unavailable
147
- * - 1: available
148
- *
149
- * @example
150
- * 1
151
- */
152
22
  isAvail?: boolean;
153
23
  static names(): { [key: string]: string } {
154
24
  return {
@@ -230,10 +100,6 @@ export class DescribeBackupsResponseBodyBackups extends $dara.Model {
230
100
  }
231
101
 
232
102
  export class DescribeBackupsResponseBody extends $dara.Model {
233
- /**
234
- * @remarks
235
- * The details of the backup set.
236
- */
237
103
  backups?: DescribeBackupsResponseBodyBackups;
238
104
  /**
239
105
  * @remarks
@@ -0,0 +1,110 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeBinlogFilesRequest extends $dara.Model {
6
+ binlogId?: string;
7
+ /**
8
+ * @remarks
9
+ * This parameter is required.
10
+ *
11
+ * @example
12
+ * dds-wz9ca592fc637a54
13
+ */
14
+ DBInstanceId?: string;
15
+ destRegion?: string;
16
+ /**
17
+ * @remarks
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * 2023-04-17T05:50:28.914Z
22
+ */
23
+ endTime?: string;
24
+ /**
25
+ * @example
26
+ * d-uf696817a1b5d9f4
27
+ */
28
+ nodeId?: string;
29
+ ownerAccount?: string;
30
+ ownerId?: number;
31
+ /**
32
+ * @example
33
+ * 1
34
+ */
35
+ pageNumber?: number;
36
+ /**
37
+ * @example
38
+ * 10
39
+ */
40
+ pageSize?: number;
41
+ /**
42
+ * @example
43
+ * cn-zhangjiakou
44
+ */
45
+ regionId?: string;
46
+ /**
47
+ * @example
48
+ * rg-xxxx
49
+ */
50
+ resourceGroupId?: string;
51
+ resourceOwnerAccount?: string;
52
+ resourceOwnerId?: number;
53
+ srcRegion?: string;
54
+ /**
55
+ * @remarks
56
+ * This parameter is required.
57
+ *
58
+ * @example
59
+ * 2021-03-23T06:24:21.425Z
60
+ */
61
+ startTime?: string;
62
+ static names(): { [key: string]: string } {
63
+ return {
64
+ binlogId: 'BinlogId',
65
+ DBInstanceId: 'DBInstanceId',
66
+ destRegion: 'DestRegion',
67
+ endTime: 'EndTime',
68
+ nodeId: 'NodeId',
69
+ ownerAccount: 'OwnerAccount',
70
+ ownerId: 'OwnerId',
71
+ pageNumber: 'PageNumber',
72
+ pageSize: 'PageSize',
73
+ regionId: 'RegionId',
74
+ resourceGroupId: 'ResourceGroupId',
75
+ resourceOwnerAccount: 'ResourceOwnerAccount',
76
+ resourceOwnerId: 'ResourceOwnerId',
77
+ srcRegion: 'SrcRegion',
78
+ startTime: 'StartTime',
79
+ };
80
+ }
81
+
82
+ static types(): { [key: string]: any } {
83
+ return {
84
+ binlogId: 'string',
85
+ DBInstanceId: 'string',
86
+ destRegion: 'string',
87
+ endTime: 'string',
88
+ nodeId: 'string',
89
+ ownerAccount: 'string',
90
+ ownerId: 'number',
91
+ pageNumber: 'number',
92
+ pageSize: 'number',
93
+ regionId: 'string',
94
+ resourceGroupId: 'string',
95
+ resourceOwnerAccount: 'string',
96
+ resourceOwnerId: 'number',
97
+ srcRegion: 'string',
98
+ startTime: 'string',
99
+ };
100
+ }
101
+
102
+ validate() {
103
+ super.validate();
104
+ }
105
+
106
+ constructor(map?: { [key: string]: any }) {
107
+ super(map);
108
+ }
109
+ }
110
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeBinlogFilesResponseBody } from "./DescribeBinlogFilesResponseBody";
4
+
5
+
6
+ export class DescribeBinlogFilesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeBinlogFilesResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DescribeBinlogFilesResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+