@alicloud/dds20151201 8.2.0 → 8.3.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 (164) hide show
  1. package/dist/client.d.ts +107 -0
  2. package/dist/client.js +655 -35
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CancelActiveOperationTasksRequest.d.ts +30 -0
  5. package/dist/models/CancelActiveOperationTasksRequest.js +68 -0
  6. package/dist/models/CancelActiveOperationTasksRequest.js.map +1 -0
  7. package/dist/models/CancelActiveOperationTasksResponse.d.ts +19 -0
  8. package/dist/models/CancelActiveOperationTasksResponse.js +69 -0
  9. package/dist/models/CancelActiveOperationTasksResponse.js.map +1 -0
  10. package/dist/models/CancelActiveOperationTasksResponseBody.d.ts +23 -0
  11. package/dist/models/CancelActiveOperationTasksResponseBody.js +60 -0
  12. package/dist/models/CancelActiveOperationTasksResponseBody.js.map +1 -0
  13. package/dist/models/CreateBackupResponseBody.d.ts +5 -0
  14. package/dist/models/CreateBackupResponseBody.js +2 -0
  15. package/dist/models/CreateBackupResponseBody.js.map +1 -1
  16. package/dist/models/CreateNodeRoleTagRequest.d.ts +30 -0
  17. package/dist/models/CreateNodeRoleTagRequest.js +68 -0
  18. package/dist/models/CreateNodeRoleTagRequest.js.map +1 -0
  19. package/dist/models/CreateNodeRoleTagResponse.d.ts +19 -0
  20. package/dist/models/CreateNodeRoleTagResponse.js +69 -0
  21. package/dist/models/CreateNodeRoleTagResponse.js.map +1 -0
  22. package/dist/models/CreateNodeRoleTagResponseBody.d.ts +18 -0
  23. package/dist/models/CreateNodeRoleTagResponseBody.js +58 -0
  24. package/dist/models/CreateNodeRoleTagResponseBody.js.map +1 -0
  25. package/dist/models/DeleteBackupRequest.d.ts +33 -0
  26. package/dist/models/DeleteBackupRequest.js +68 -0
  27. package/dist/models/DeleteBackupRequest.js.map +1 -0
  28. package/dist/models/DeleteBackupResponse.d.ts +19 -0
  29. package/dist/models/DeleteBackupResponse.js +69 -0
  30. package/dist/models/DeleteBackupResponse.js.map +1 -0
  31. package/dist/models/DeleteBackupResponseBody.d.ts +18 -0
  32. package/dist/models/DeleteBackupResponseBody.js +58 -0
  33. package/dist/models/DeleteBackupResponseBody.js.map +1 -0
  34. package/dist/models/DescribeBackupsRequest.d.ts +10 -0
  35. package/dist/models/DescribeBackupsRequest.js +4 -0
  36. package/dist/models/DescribeBackupsRequest.js.map +1 -1
  37. package/dist/models/DescribeClusterBackupsRequest.d.ts +10 -0
  38. package/dist/models/DescribeClusterBackupsRequest.js +4 -0
  39. package/dist/models/DescribeClusterBackupsRequest.js.map +1 -1
  40. package/dist/models/DescribeClusterRecoverTimeRequest.d.ts +5 -0
  41. package/dist/models/DescribeClusterRecoverTimeRequest.js +2 -0
  42. package/dist/models/DescribeClusterRecoverTimeRequest.js.map +1 -1
  43. package/dist/models/DescribeDbinstanceAttributeResponseBody.d.ts +15 -0
  44. package/dist/models/DescribeDbinstanceAttributeResponseBody.js +6 -0
  45. package/dist/models/DescribeDbinstanceAttributeResponseBody.js.map +1 -1
  46. package/dist/models/DescribeDbinstancePerformanceRequest.d.ts +1 -0
  47. package/dist/models/DescribeDbinstancePerformanceRequest.js +2 -0
  48. package/dist/models/DescribeDbinstancePerformanceRequest.js.map +1 -1
  49. package/dist/models/DescribeDbinstanceSslresponseBody.d.ts +1 -0
  50. package/dist/models/DescribeDbinstanceSslresponseBody.js +2 -0
  51. package/dist/models/DescribeDbinstanceSslresponseBody.js.map +1 -1
  52. package/dist/models/DescribeInstanceRecoverTimeRequest.d.ts +5 -0
  53. package/dist/models/DescribeInstanceRecoverTimeRequest.js +2 -0
  54. package/dist/models/DescribeInstanceRecoverTimeRequest.js.map +1 -1
  55. package/dist/models/DescribeRdsVpcsRequest.d.ts +27 -0
  56. package/dist/models/DescribeRdsVpcsRequest.js +68 -0
  57. package/dist/models/DescribeRdsVpcsRequest.js.map +1 -0
  58. package/dist/models/DescribeRdsVpcsResponse.d.ts +19 -0
  59. package/dist/models/DescribeRdsVpcsResponse.js +69 -0
  60. package/dist/models/DescribeRdsVpcsResponse.js.map +1 -0
  61. package/dist/models/DescribeRdsVpcsResponseBody.d.ts +153 -0
  62. package/dist/models/DescribeRdsVpcsResponseBody.js +160 -0
  63. package/dist/models/DescribeRdsVpcsResponseBody.js.map +1 -0
  64. package/dist/models/DescribeRdsVswitchsRequest.d.ts +32 -0
  65. package/dist/models/DescribeRdsVswitchsRequest.js +70 -0
  66. package/dist/models/DescribeRdsVswitchsRequest.js.map +1 -0
  67. package/dist/models/DescribeRdsVswitchsResponse.d.ts +19 -0
  68. package/dist/models/DescribeRdsVswitchsResponse.js +69 -0
  69. package/dist/models/DescribeRdsVswitchsResponse.js.map +1 -0
  70. package/dist/models/DescribeRdsVswitchsResponseBody.d.ts +102 -0
  71. package/dist/models/DescribeRdsVswitchsResponseBody.js +124 -0
  72. package/dist/models/DescribeRdsVswitchsResponseBody.js.map +1 -0
  73. package/dist/models/DescribeRoleTagStatusRequest.d.ts +25 -0
  74. package/dist/models/DescribeRoleTagStatusRequest.js +66 -0
  75. package/dist/models/DescribeRoleTagStatusRequest.js.map +1 -0
  76. package/dist/models/DescribeRoleTagStatusResponse.d.ts +19 -0
  77. package/dist/models/DescribeRoleTagStatusResponse.js +69 -0
  78. package/dist/models/DescribeRoleTagStatusResponse.js.map +1 -0
  79. package/dist/models/DescribeRoleTagStatusResponseBody.d.ts +33 -0
  80. package/dist/models/DescribeRoleTagStatusResponseBody.js +65 -0
  81. package/dist/models/DescribeRoleTagStatusResponseBody.js.map +1 -0
  82. package/dist/models/DescribeShardingNetworkAddressRequest.d.ts +1 -0
  83. package/dist/models/DescribeShardingNetworkAddressRequest.js +2 -0
  84. package/dist/models/DescribeShardingNetworkAddressRequest.js.map +1 -1
  85. package/dist/models/DescribeVpcsForMongoDbrequest.d.ts +42 -0
  86. package/dist/models/DescribeVpcsForMongoDbrequest.js +74 -0
  87. package/dist/models/DescribeVpcsForMongoDbrequest.js.map +1 -0
  88. package/dist/models/DescribeVpcsForMongoDbresponse.d.ts +19 -0
  89. package/dist/models/DescribeVpcsForMongoDbresponse.js +69 -0
  90. package/dist/models/DescribeVpcsForMongoDbresponse.js.map +1 -0
  91. package/dist/models/DescribeVpcsForMongoDbresponseBody.d.ts +147 -0
  92. package/dist/models/DescribeVpcsForMongoDbresponseBody.js +144 -0
  93. package/dist/models/DescribeVpcsForMongoDbresponseBody.js.map +1 -0
  94. package/dist/models/ModifyActiveOperationMaintenanceConfigRequest.d.ts +42 -0
  95. package/dist/models/ModifyActiveOperationMaintenanceConfigRequest.js +74 -0
  96. package/dist/models/ModifyActiveOperationMaintenanceConfigRequest.js.map +1 -0
  97. package/dist/models/ModifyActiveOperationMaintenanceConfigResponse.d.ts +19 -0
  98. package/dist/models/ModifyActiveOperationMaintenanceConfigResponse.js +69 -0
  99. package/dist/models/ModifyActiveOperationMaintenanceConfigResponse.js.map +1 -0
  100. package/dist/models/ModifyActiveOperationMaintenanceConfigResponseBody.d.ts +18 -0
  101. package/dist/models/ModifyActiveOperationMaintenanceConfigResponseBody.js +58 -0
  102. package/dist/models/ModifyActiveOperationMaintenanceConfigResponseBody.js.map +1 -0
  103. package/dist/models/ModifyBackupExpireTimeRequest.d.ts +38 -0
  104. package/dist/models/ModifyBackupExpireTimeRequest.js +70 -0
  105. package/dist/models/ModifyBackupExpireTimeRequest.js.map +1 -0
  106. package/dist/models/ModifyBackupExpireTimeResponse.d.ts +19 -0
  107. package/dist/models/ModifyBackupExpireTimeResponse.js +69 -0
  108. package/dist/models/ModifyBackupExpireTimeResponse.js.map +1 -0
  109. package/dist/models/ModifyBackupExpireTimeResponseBody.d.ts +28 -0
  110. package/dist/models/ModifyBackupExpireTimeResponseBody.js +62 -0
  111. package/dist/models/ModifyBackupExpireTimeResponseBody.js.map +1 -0
  112. package/dist/models/ModifyDbinstanceSpecRequest.d.ts +15 -0
  113. package/dist/models/ModifyDbinstanceSpecRequest.js +6 -0
  114. package/dist/models/ModifyDbinstanceSpecRequest.js.map +1 -1
  115. package/dist/models/ModifyDbinstanceSslrequest.d.ts +1 -0
  116. package/dist/models/ModifyDbinstanceSslrequest.js +2 -0
  117. package/dist/models/ModifyDbinstanceSslrequest.js.map +1 -1
  118. package/dist/models/ReleaseNodePrivateNetworkAddressRequest.d.ts +0 -2
  119. package/dist/models/ReleaseNodePrivateNetworkAddressRequest.js.map +1 -1
  120. package/dist/models/model.d.ts +34 -0
  121. package/dist/models/model.js +78 -9
  122. package/dist/models/model.js.map +1 -1
  123. package/package.json +1 -1
  124. package/src/client.ts +757 -11
  125. package/src/models/CancelActiveOperationTasksRequest.ts +53 -0
  126. package/src/models/CancelActiveOperationTasksResponse.ts +40 -0
  127. package/src/models/CancelActiveOperationTasksResponseBody.ts +38 -0
  128. package/src/models/CreateBackupResponseBody.ts +7 -0
  129. package/src/models/CreateNodeRoleTagRequest.ts +53 -0
  130. package/src/models/CreateNodeRoleTagResponse.ts +40 -0
  131. package/src/models/CreateNodeRoleTagResponseBody.ts +31 -0
  132. package/src/models/DeleteBackupRequest.ts +56 -0
  133. package/src/models/DeleteBackupResponse.ts +40 -0
  134. package/src/models/DeleteBackupResponseBody.ts +31 -0
  135. package/src/models/DescribeBackupsRequest.ts +14 -0
  136. package/src/models/DescribeClusterBackupsRequest.ts +14 -0
  137. package/src/models/DescribeClusterRecoverTimeRequest.ts +7 -0
  138. package/src/models/DescribeDbinstanceAttributeResponseBody.ts +21 -0
  139. package/src/models/DescribeDbinstancePerformanceRequest.ts +3 -0
  140. package/src/models/DescribeDbinstanceSslresponseBody.ts +3 -0
  141. package/src/models/DescribeInstanceRecoverTimeRequest.ts +7 -0
  142. package/src/models/DescribeRdsVpcsRequest.ts +50 -0
  143. package/src/models/DescribeRdsVpcsResponse.ts +40 -0
  144. package/src/models/DescribeRdsVpcsResponseBody.ts +241 -0
  145. package/src/models/DescribeRdsVswitchsRequest.ts +57 -0
  146. package/src/models/DescribeRdsVswitchsResponse.ts +40 -0
  147. package/src/models/DescribeRdsVswitchsResponseBody.ts +163 -0
  148. package/src/models/DescribeRoleTagStatusRequest.ts +46 -0
  149. package/src/models/DescribeRoleTagStatusResponse.ts +40 -0
  150. package/src/models/DescribeRoleTagStatusResponseBody.ts +51 -0
  151. package/src/models/DescribeShardingNetworkAddressRequest.ts +3 -0
  152. package/src/models/DescribeVpcsForMongoDbrequest.ts +71 -0
  153. package/src/models/DescribeVpcsForMongoDbresponse.ts +40 -0
  154. package/src/models/DescribeVpcsForMongoDbresponseBody.ts +228 -0
  155. package/src/models/ModifyActiveOperationMaintenanceConfigRequest.ts +71 -0
  156. package/src/models/ModifyActiveOperationMaintenanceConfigResponse.ts +40 -0
  157. package/src/models/ModifyActiveOperationMaintenanceConfigResponseBody.ts +31 -0
  158. package/src/models/ModifyBackupExpireTimeRequest.ts +63 -0
  159. package/src/models/ModifyBackupExpireTimeResponse.ts +40 -0
  160. package/src/models/ModifyBackupExpireTimeResponseBody.ts +45 -0
  161. package/src/models/ModifyDbinstanceSpecRequest.ts +21 -0
  162. package/src/models/ModifyDbinstanceSslrequest.ts +3 -0
  163. package/src/models/ReleaseNodePrivateNetworkAddressRequest.ts +0 -2
  164. package/src/models/model.ts +34 -0
@@ -0,0 +1,53 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CancelActiveOperationTasksRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 1508850,1508310,1507849,1506274,1505811
12
+ */
13
+ ids?: string;
14
+ ownerAccount?: string;
15
+ ownerId?: number;
16
+ /**
17
+ * @example
18
+ * rg-xxxx
19
+ */
20
+ resourceGroupId?: string;
21
+ resourceOwnerAccount?: string;
22
+ resourceOwnerId?: number;
23
+ static names(): { [key: string]: string } {
24
+ return {
25
+ ids: 'Ids',
26
+ ownerAccount: 'OwnerAccount',
27
+ ownerId: 'OwnerId',
28
+ resourceGroupId: 'ResourceGroupId',
29
+ resourceOwnerAccount: 'ResourceOwnerAccount',
30
+ resourceOwnerId: 'ResourceOwnerId',
31
+ };
32
+ }
33
+
34
+ static types(): { [key: string]: any } {
35
+ return {
36
+ ids: 'string',
37
+ ownerAccount: 'string',
38
+ ownerId: 'number',
39
+ resourceGroupId: 'string',
40
+ resourceOwnerAccount: 'string',
41
+ resourceOwnerId: 'number',
42
+ };
43
+ }
44
+
45
+ validate() {
46
+ super.validate();
47
+ }
48
+
49
+ constructor(map?: { [key: string]: any }) {
50
+ super(map);
51
+ }
52
+ }
53
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CancelActiveOperationTasksResponseBody } from "./CancelActiveOperationTasksResponseBody";
4
+
5
+
6
+ export class CancelActiveOperationTasksResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CancelActiveOperationTasksResponseBody;
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: CancelActiveOperationTasksResponseBody,
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
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CancelActiveOperationTasksResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1508850,1508310,1507849,1506274,1505811
9
+ */
10
+ ids?: string;
11
+ /**
12
+ * @example
13
+ * 55A2504F-xxxx-xxxx-xxxx-C7C5E57350A6
14
+ */
15
+ requestId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ ids: 'Ids',
19
+ requestId: 'RequestId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ ids: 'string',
26
+ requestId: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -11,6 +11,11 @@ export class CreateBackupResponseBody extends $dara.Model {
11
11
  * 5664****
12
12
  */
13
13
  backupId?: string;
14
+ /**
15
+ * @example
16
+ * 775051
17
+ */
18
+ backupJobId?: string;
14
19
  /**
15
20
  * @remarks
16
21
  * The request ID.
@@ -22,6 +27,7 @@ export class CreateBackupResponseBody extends $dara.Model {
22
27
  static names(): { [key: string]: string } {
23
28
  return {
24
29
  backupId: 'BackupId',
30
+ backupJobId: 'BackupJobId',
25
31
  requestId: 'RequestId',
26
32
  };
27
33
  }
@@ -29,6 +35,7 @@ export class CreateBackupResponseBody extends $dara.Model {
29
35
  static types(): { [key: string]: any } {
30
36
  return {
31
37
  backupId: 'string',
38
+ backupJobId: 'string',
32
39
  requestId: 'string',
33
40
  };
34
41
  }
@@ -0,0 +1,53 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateNodeRoleTagRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * dds-2ze09d7be1fxxxxx
12
+ */
13
+ DBInstanceId?: string;
14
+ ownerAccount?: string;
15
+ ownerId?: number;
16
+ resourceOwnerAccount?: string;
17
+ resourceOwnerId?: number;
18
+ /**
19
+ * @example
20
+ * d-l5xf98b78b9fxxxx,d-l5xf98b7sf9fxxxx
21
+ */
22
+ shardList?: string;
23
+ static names(): { [key: string]: string } {
24
+ return {
25
+ DBInstanceId: 'DBInstanceId',
26
+ ownerAccount: 'OwnerAccount',
27
+ ownerId: 'OwnerId',
28
+ resourceOwnerAccount: 'ResourceOwnerAccount',
29
+ resourceOwnerId: 'ResourceOwnerId',
30
+ shardList: 'ShardList',
31
+ };
32
+ }
33
+
34
+ static types(): { [key: string]: any } {
35
+ return {
36
+ DBInstanceId: 'string',
37
+ ownerAccount: 'string',
38
+ ownerId: 'number',
39
+ resourceOwnerAccount: 'string',
40
+ resourceOwnerId: 'number',
41
+ shardList: 'string',
42
+ };
43
+ }
44
+
45
+ validate() {
46
+ super.validate();
47
+ }
48
+
49
+ constructor(map?: { [key: string]: any }) {
50
+ super(map);
51
+ }
52
+ }
53
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateNodeRoleTagResponseBody } from "./CreateNodeRoleTagResponseBody";
4
+
5
+
6
+ export class CreateNodeRoleTagResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateNodeRoleTagResponseBody;
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: CreateNodeRoleTagResponseBody,
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
+
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateNodeRoleTagResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * B0B7DE3E-xxxx-xxxx-xxxx-0B16F8834E0B
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,56 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteBackupRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 5664****
12
+ */
13
+ backupId?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * dds-bp11483712c1****
20
+ */
21
+ DBInstanceId?: string;
22
+ ownerAccount?: string;
23
+ ownerId?: number;
24
+ resourceOwnerAccount?: string;
25
+ resourceOwnerId?: number;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ backupId: 'BackupId',
29
+ DBInstanceId: 'DBInstanceId',
30
+ ownerAccount: 'OwnerAccount',
31
+ ownerId: 'OwnerId',
32
+ resourceOwnerAccount: 'ResourceOwnerAccount',
33
+ resourceOwnerId: 'ResourceOwnerId',
34
+ };
35
+ }
36
+
37
+ static types(): { [key: string]: any } {
38
+ return {
39
+ backupId: 'string',
40
+ DBInstanceId: 'string',
41
+ ownerAccount: 'string',
42
+ ownerId: 'number',
43
+ resourceOwnerAccount: 'string',
44
+ resourceOwnerId: 'number',
45
+ };
46
+ }
47
+
48
+ validate() {
49
+ super.validate();
50
+ }
51
+
52
+ constructor(map?: { [key: string]: any }) {
53
+ super(map);
54
+ }
55
+ }
56
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteBackupResponseBody } from "./DeleteBackupResponseBody";
4
+
5
+
6
+ export class DeleteBackupResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteBackupResponseBody;
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: DeleteBackupResponseBody,
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
+
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteBackupResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 7A9807F0-1301-4154-9849-6497E94A****
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -13,6 +13,11 @@ export class DescribeBackupsRequest extends $dara.Model {
13
13
  * 2072****,2072****,2072****
14
14
  */
15
15
  backupId?: string;
16
+ /**
17
+ * @example
18
+ * 775051
19
+ */
20
+ backupJobId?: string;
16
21
  /**
17
22
  * @remarks
18
23
  * The instance ID.
@@ -75,6 +80,11 @@ export class DescribeBackupsRequest extends $dara.Model {
75
80
  * 30
76
81
  */
77
82
  pageSize?: number;
83
+ /**
84
+ * @example
85
+ * rg-xxxx
86
+ */
87
+ resourceGroupId?: string;
78
88
  resourceOwnerAccount?: string;
79
89
  resourceOwnerId?: number;
80
90
  /**
@@ -99,6 +109,7 @@ export class DescribeBackupsRequest extends $dara.Model {
99
109
  static names(): { [key: string]: string } {
100
110
  return {
101
111
  backupId: 'BackupId',
112
+ backupJobId: 'BackupJobId',
102
113
  DBInstanceId: 'DBInstanceId',
103
114
  destRegion: 'DestRegion',
104
115
  endTime: 'EndTime',
@@ -107,6 +118,7 @@ export class DescribeBackupsRequest extends $dara.Model {
107
118
  ownerId: 'OwnerId',
108
119
  pageNumber: 'PageNumber',
109
120
  pageSize: 'PageSize',
121
+ resourceGroupId: 'ResourceGroupId',
110
122
  resourceOwnerAccount: 'ResourceOwnerAccount',
111
123
  resourceOwnerId: 'ResourceOwnerId',
112
124
  srcRegion: 'SrcRegion',
@@ -117,6 +129,7 @@ export class DescribeBackupsRequest extends $dara.Model {
117
129
  static types(): { [key: string]: any } {
118
130
  return {
119
131
  backupId: 'string',
132
+ backupJobId: 'string',
120
133
  DBInstanceId: 'string',
121
134
  destRegion: 'string',
122
135
  endTime: 'string',
@@ -125,6 +138,7 @@ export class DescribeBackupsRequest extends $dara.Model {
125
138
  ownerId: 'number',
126
139
  pageNumber: 'number',
127
140
  pageSize: 'number',
141
+ resourceGroupId: 'string',
128
142
  resourceOwnerAccount: 'string',
129
143
  resourceOwnerId: 'number',
130
144
  srcRegion: 'string',
@@ -11,6 +11,11 @@ export class DescribeClusterBackupsRequest extends $dara.Model {
11
11
  * 5664****
12
12
  */
13
13
  backupId?: string;
14
+ /**
15
+ * @example
16
+ * 775051
17
+ */
18
+ backupJobId?: string;
14
19
  /**
15
20
  * @remarks
16
21
  * The ID of the instance.
@@ -72,6 +77,11 @@ export class DescribeClusterBackupsRequest extends $dara.Model {
72
77
  * 30
73
78
  */
74
79
  pageSize?: number;
80
+ /**
81
+ * @example
82
+ * rg-xxxx
83
+ */
84
+ resourceGroupId?: string;
75
85
  resourceOwnerAccount?: string;
76
86
  resourceOwnerId?: number;
77
87
  /**
@@ -99,6 +109,7 @@ export class DescribeClusterBackupsRequest extends $dara.Model {
99
109
  static names(): { [key: string]: string } {
100
110
  return {
101
111
  backupId: 'BackupId',
112
+ backupJobId: 'BackupJobId',
102
113
  DBInstanceId: 'DBInstanceId',
103
114
  destRegion: 'DestRegion',
104
115
  endTime: 'EndTime',
@@ -107,6 +118,7 @@ export class DescribeClusterBackupsRequest extends $dara.Model {
107
118
  ownerId: 'OwnerId',
108
119
  pageNo: 'PageNo',
109
120
  pageSize: 'PageSize',
121
+ resourceGroupId: 'ResourceGroupId',
110
122
  resourceOwnerAccount: 'ResourceOwnerAccount',
111
123
  resourceOwnerId: 'ResourceOwnerId',
112
124
  srcRegion: 'SrcRegion',
@@ -117,6 +129,7 @@ export class DescribeClusterBackupsRequest extends $dara.Model {
117
129
  static types(): { [key: string]: any } {
118
130
  return {
119
131
  backupId: 'string',
132
+ backupJobId: 'string',
120
133
  DBInstanceId: 'string',
121
134
  destRegion: 'string',
122
135
  endTime: 'string',
@@ -125,6 +138,7 @@ export class DescribeClusterBackupsRequest extends $dara.Model {
125
138
  ownerId: 'number',
126
139
  pageNo: 'number',
127
140
  pageSize: 'number',
141
+ resourceGroupId: 'string',
128
142
  resourceOwnerAccount: 'string',
129
143
  resourceOwnerId: 'number',
130
144
  srcRegion: 'string',
@@ -16,6 +16,11 @@ export class DescribeClusterRecoverTimeRequest extends $dara.Model {
16
16
  destRegion?: string;
17
17
  ownerAccount?: string;
18
18
  ownerId?: number;
19
+ /**
20
+ * @example
21
+ * rg-xxxx
22
+ */
23
+ resourceGroupId?: string;
19
24
  resourceOwnerAccount?: string;
20
25
  resourceOwnerId?: number;
21
26
  srcRegion?: string;
@@ -25,6 +30,7 @@ export class DescribeClusterRecoverTimeRequest extends $dara.Model {
25
30
  destRegion: 'DestRegion',
26
31
  ownerAccount: 'OwnerAccount',
27
32
  ownerId: 'OwnerId',
33
+ resourceGroupId: 'ResourceGroupId',
28
34
  resourceOwnerAccount: 'ResourceOwnerAccount',
29
35
  resourceOwnerId: 'ResourceOwnerId',
30
36
  srcRegion: 'SrcRegion',
@@ -37,6 +43,7 @@ export class DescribeClusterRecoverTimeRequest extends $dara.Model {
37
43
  destRegion: 'string',
38
44
  ownerAccount: 'string',
39
45
  ownerId: 'number',
46
+ resourceGroupId: 'string',
40
47
  resourceOwnerAccount: 'string',
41
48
  resourceOwnerId: 'number',
42
49
  srcRegion: 'string',
@@ -1137,6 +1137,21 @@ export class DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance extend
1137
1137
  * rg-acfmyiu4ekp****
1138
1138
  */
1139
1139
  resourceGroupId?: string;
1140
+ /**
1141
+ * @example
1142
+ * mdb.shard.2x.xlarge.d
1143
+ */
1144
+ searchNodeClass?: string;
1145
+ /**
1146
+ * @example
1147
+ * 2
1148
+ */
1149
+ searchNodeCount?: number;
1150
+ /**
1151
+ * @example
1152
+ * 20
1153
+ */
1154
+ searchNodeStorage?: number;
1140
1155
  /**
1141
1156
  * @remarks
1142
1157
  * The ID of the secondary zone 1 of the instance. Valid values:
@@ -1312,6 +1327,9 @@ export class DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance extend
1312
1327
  replicaSets: 'ReplicaSets',
1313
1328
  replicationFactor: 'ReplicationFactor',
1314
1329
  resourceGroupId: 'ResourceGroupId',
1330
+ searchNodeClass: 'SearchNodeClass',
1331
+ searchNodeCount: 'SearchNodeCount',
1332
+ searchNodeStorage: 'SearchNodeStorage',
1315
1333
  secondaryZoneId: 'SecondaryZoneId',
1316
1334
  shardList: 'ShardList',
1317
1335
  storageEngine: 'StorageEngine',
@@ -1370,6 +1388,9 @@ export class DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance extend
1370
1388
  replicaSets: DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSets,
1371
1389
  replicationFactor: 'string',
1372
1390
  resourceGroupId: 'string',
1391
+ searchNodeClass: 'string',
1392
+ searchNodeCount: 'number',
1393
+ searchNodeStorage: 'number',
1373
1394
  secondaryZoneId: 'string',
1374
1395
  shardList: DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardList,
1375
1396
  storageEngine: 'string',
@@ -83,6 +83,7 @@ export class DescribeDBInstancePerformanceRequest extends $dara.Model {
83
83
  * 6025****
84
84
  */
85
85
  roleId?: string;
86
+ searchId?: string;
86
87
  /**
87
88
  * @remarks
88
89
  * The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
@@ -106,6 +107,7 @@ export class DescribeDBInstancePerformanceRequest extends $dara.Model {
106
107
  resourceOwnerAccount: 'ResourceOwnerAccount',
107
108
  resourceOwnerId: 'ResourceOwnerId',
108
109
  roleId: 'RoleId',
110
+ searchId: 'SearchId',
109
111
  startTime: 'StartTime',
110
112
  };
111
113
  }
@@ -123,6 +125,7 @@ export class DescribeDBInstancePerformanceRequest extends $dara.Model {
123
125
  resourceOwnerAccount: 'string',
124
126
  resourceOwnerId: 'number',
125
127
  roleId: 'string',
128
+ searchId: 'string',
126
129
  startTime: 'string',
127
130
  };
128
131
  }
@@ -11,6 +11,7 @@ export class DescribeDBInstanceSSLResponseBody extends $dara.Model {
11
11
  * dds-bpxxxxxxxx.mongodb.rds.aliyuncs.com
12
12
  */
13
13
  certCommonName?: string;
14
+ forceEncryption?: string;
14
15
  /**
15
16
  * @remarks
16
17
  * The request ID.
@@ -41,6 +42,7 @@ export class DescribeDBInstanceSSLResponseBody extends $dara.Model {
41
42
  static names(): { [key: string]: string } {
42
43
  return {
43
44
  certCommonName: 'CertCommonName',
45
+ forceEncryption: 'ForceEncryption',
44
46
  requestId: 'RequestId',
45
47
  SSLExpiredTime: 'SSLExpiredTime',
46
48
  SSLStatus: 'SSLStatus',
@@ -50,6 +52,7 @@ export class DescribeDBInstanceSSLResponseBody extends $dara.Model {
50
52
  static types(): { [key: string]: any } {
51
53
  return {
52
54
  certCommonName: 'string',
55
+ forceEncryption: 'string',
53
56
  requestId: 'string',
54
57
  SSLExpiredTime: 'string',
55
58
  SSLStatus: 'string',
@@ -16,6 +16,11 @@ export class DescribeInstanceRecoverTimeRequest extends $dara.Model {
16
16
  destRegion?: string;
17
17
  ownerAccount?: string;
18
18
  ownerId?: number;
19
+ /**
20
+ * @example
21
+ * rg-xxxx
22
+ */
23
+ resourceGroupId?: string;
19
24
  resourceOwnerAccount?: string;
20
25
  resourceOwnerId?: number;
21
26
  securityToken?: string;
@@ -26,6 +31,7 @@ export class DescribeInstanceRecoverTimeRequest extends $dara.Model {
26
31
  destRegion: 'DestRegion',
27
32
  ownerAccount: 'OwnerAccount',
28
33
  ownerId: 'OwnerId',
34
+ resourceGroupId: 'ResourceGroupId',
29
35
  resourceOwnerAccount: 'ResourceOwnerAccount',
30
36
  resourceOwnerId: 'ResourceOwnerId',
31
37
  securityToken: 'SecurityToken',
@@ -39,6 +45,7 @@ export class DescribeInstanceRecoverTimeRequest extends $dara.Model {
39
45
  destRegion: 'string',
40
46
  ownerAccount: 'string',
41
47
  ownerId: 'number',
48
+ resourceGroupId: 'string',
42
49
  resourceOwnerAccount: 'string',
43
50
  resourceOwnerId: 'number',
44
51
  securityToken: 'string',