@alicloud/dds20151201 8.2.1 → 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 (133) hide show
  1. package/dist/client.d.ts +107 -0
  2. package/dist/client.js +611 -12
  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/CreateNodeRoleTagRequest.d.ts +30 -0
  14. package/dist/models/CreateNodeRoleTagRequest.js +68 -0
  15. package/dist/models/CreateNodeRoleTagRequest.js.map +1 -0
  16. package/dist/models/CreateNodeRoleTagResponse.d.ts +19 -0
  17. package/dist/models/CreateNodeRoleTagResponse.js +69 -0
  18. package/dist/models/CreateNodeRoleTagResponse.js.map +1 -0
  19. package/dist/models/CreateNodeRoleTagResponseBody.d.ts +18 -0
  20. package/dist/models/CreateNodeRoleTagResponseBody.js +58 -0
  21. package/dist/models/CreateNodeRoleTagResponseBody.js.map +1 -0
  22. package/dist/models/DeleteBackupRequest.d.ts +33 -0
  23. package/dist/models/DeleteBackupRequest.js +68 -0
  24. package/dist/models/DeleteBackupRequest.js.map +1 -0
  25. package/dist/models/DeleteBackupResponse.d.ts +19 -0
  26. package/dist/models/DeleteBackupResponse.js +69 -0
  27. package/dist/models/DeleteBackupResponse.js.map +1 -0
  28. package/dist/models/DeleteBackupResponseBody.d.ts +18 -0
  29. package/dist/models/DeleteBackupResponseBody.js +58 -0
  30. package/dist/models/DeleteBackupResponseBody.js.map +1 -0
  31. package/dist/models/DescribeDbinstancePerformanceRequest.d.ts +1 -0
  32. package/dist/models/DescribeDbinstancePerformanceRequest.js +2 -0
  33. package/dist/models/DescribeDbinstancePerformanceRequest.js.map +1 -1
  34. package/dist/models/DescribeDbinstanceSslresponseBody.d.ts +1 -0
  35. package/dist/models/DescribeDbinstanceSslresponseBody.js +2 -0
  36. package/dist/models/DescribeDbinstanceSslresponseBody.js.map +1 -1
  37. package/dist/models/DescribeRdsVpcsRequest.d.ts +27 -0
  38. package/dist/models/DescribeRdsVpcsRequest.js +68 -0
  39. package/dist/models/DescribeRdsVpcsRequest.js.map +1 -0
  40. package/dist/models/DescribeRdsVpcsResponse.d.ts +19 -0
  41. package/dist/models/DescribeRdsVpcsResponse.js +69 -0
  42. package/dist/models/DescribeRdsVpcsResponse.js.map +1 -0
  43. package/dist/models/DescribeRdsVpcsResponseBody.d.ts +153 -0
  44. package/dist/models/DescribeRdsVpcsResponseBody.js +160 -0
  45. package/dist/models/DescribeRdsVpcsResponseBody.js.map +1 -0
  46. package/dist/models/DescribeRdsVswitchsRequest.d.ts +32 -0
  47. package/dist/models/DescribeRdsVswitchsRequest.js +70 -0
  48. package/dist/models/DescribeRdsVswitchsRequest.js.map +1 -0
  49. package/dist/models/DescribeRdsVswitchsResponse.d.ts +19 -0
  50. package/dist/models/DescribeRdsVswitchsResponse.js +69 -0
  51. package/dist/models/DescribeRdsVswitchsResponse.js.map +1 -0
  52. package/dist/models/DescribeRdsVswitchsResponseBody.d.ts +102 -0
  53. package/dist/models/DescribeRdsVswitchsResponseBody.js +124 -0
  54. package/dist/models/DescribeRdsVswitchsResponseBody.js.map +1 -0
  55. package/dist/models/DescribeRoleTagStatusRequest.d.ts +25 -0
  56. package/dist/models/DescribeRoleTagStatusRequest.js +66 -0
  57. package/dist/models/DescribeRoleTagStatusRequest.js.map +1 -0
  58. package/dist/models/DescribeRoleTagStatusResponse.d.ts +19 -0
  59. package/dist/models/DescribeRoleTagStatusResponse.js +69 -0
  60. package/dist/models/DescribeRoleTagStatusResponse.js.map +1 -0
  61. package/dist/models/DescribeRoleTagStatusResponseBody.d.ts +33 -0
  62. package/dist/models/DescribeRoleTagStatusResponseBody.js +65 -0
  63. package/dist/models/DescribeRoleTagStatusResponseBody.js.map +1 -0
  64. package/dist/models/DescribeShardingNetworkAddressRequest.d.ts +1 -0
  65. package/dist/models/DescribeShardingNetworkAddressRequest.js +2 -0
  66. package/dist/models/DescribeShardingNetworkAddressRequest.js.map +1 -1
  67. package/dist/models/DescribeVpcsForMongoDbrequest.d.ts +42 -0
  68. package/dist/models/DescribeVpcsForMongoDbrequest.js +74 -0
  69. package/dist/models/DescribeVpcsForMongoDbrequest.js.map +1 -0
  70. package/dist/models/DescribeVpcsForMongoDbresponse.d.ts +19 -0
  71. package/dist/models/DescribeVpcsForMongoDbresponse.js +69 -0
  72. package/dist/models/DescribeVpcsForMongoDbresponse.js.map +1 -0
  73. package/dist/models/DescribeVpcsForMongoDbresponseBody.d.ts +147 -0
  74. package/dist/models/DescribeVpcsForMongoDbresponseBody.js +144 -0
  75. package/dist/models/DescribeVpcsForMongoDbresponseBody.js.map +1 -0
  76. package/dist/models/ModifyActiveOperationMaintenanceConfigRequest.d.ts +42 -0
  77. package/dist/models/ModifyActiveOperationMaintenanceConfigRequest.js +74 -0
  78. package/dist/models/ModifyActiveOperationMaintenanceConfigRequest.js.map +1 -0
  79. package/dist/models/ModifyActiveOperationMaintenanceConfigResponse.d.ts +19 -0
  80. package/dist/models/ModifyActiveOperationMaintenanceConfigResponse.js +69 -0
  81. package/dist/models/ModifyActiveOperationMaintenanceConfigResponse.js.map +1 -0
  82. package/dist/models/ModifyActiveOperationMaintenanceConfigResponseBody.d.ts +18 -0
  83. package/dist/models/ModifyActiveOperationMaintenanceConfigResponseBody.js +58 -0
  84. package/dist/models/ModifyActiveOperationMaintenanceConfigResponseBody.js.map +1 -0
  85. package/dist/models/ModifyBackupExpireTimeRequest.d.ts +38 -0
  86. package/dist/models/ModifyBackupExpireTimeRequest.js +70 -0
  87. package/dist/models/ModifyBackupExpireTimeRequest.js.map +1 -0
  88. package/dist/models/ModifyBackupExpireTimeResponse.d.ts +19 -0
  89. package/dist/models/ModifyBackupExpireTimeResponse.js +69 -0
  90. package/dist/models/ModifyBackupExpireTimeResponse.js.map +1 -0
  91. package/dist/models/ModifyBackupExpireTimeResponseBody.d.ts +28 -0
  92. package/dist/models/ModifyBackupExpireTimeResponseBody.js +62 -0
  93. package/dist/models/ModifyBackupExpireTimeResponseBody.js.map +1 -0
  94. package/dist/models/ModifyDbinstanceSslrequest.d.ts +1 -0
  95. package/dist/models/ModifyDbinstanceSslrequest.js +2 -0
  96. package/dist/models/ModifyDbinstanceSslrequest.js.map +1 -1
  97. package/dist/models/model.d.ts +34 -0
  98. package/dist/models/model.js +78 -9
  99. package/dist/models/model.js.map +1 -1
  100. package/package.json +1 -1
  101. package/src/client.ts +735 -17
  102. package/src/models/CancelActiveOperationTasksRequest.ts +53 -0
  103. package/src/models/CancelActiveOperationTasksResponse.ts +40 -0
  104. package/src/models/CancelActiveOperationTasksResponseBody.ts +38 -0
  105. package/src/models/CreateNodeRoleTagRequest.ts +53 -0
  106. package/src/models/CreateNodeRoleTagResponse.ts +40 -0
  107. package/src/models/CreateNodeRoleTagResponseBody.ts +31 -0
  108. package/src/models/DeleteBackupRequest.ts +56 -0
  109. package/src/models/DeleteBackupResponse.ts +40 -0
  110. package/src/models/DeleteBackupResponseBody.ts +31 -0
  111. package/src/models/DescribeDbinstancePerformanceRequest.ts +3 -0
  112. package/src/models/DescribeDbinstanceSslresponseBody.ts +3 -0
  113. package/src/models/DescribeRdsVpcsRequest.ts +50 -0
  114. package/src/models/DescribeRdsVpcsResponse.ts +40 -0
  115. package/src/models/DescribeRdsVpcsResponseBody.ts +241 -0
  116. package/src/models/DescribeRdsVswitchsRequest.ts +57 -0
  117. package/src/models/DescribeRdsVswitchsResponse.ts +40 -0
  118. package/src/models/DescribeRdsVswitchsResponseBody.ts +163 -0
  119. package/src/models/DescribeRoleTagStatusRequest.ts +46 -0
  120. package/src/models/DescribeRoleTagStatusResponse.ts +40 -0
  121. package/src/models/DescribeRoleTagStatusResponseBody.ts +51 -0
  122. package/src/models/DescribeShardingNetworkAddressRequest.ts +3 -0
  123. package/src/models/DescribeVpcsForMongoDbrequest.ts +71 -0
  124. package/src/models/DescribeVpcsForMongoDbresponse.ts +40 -0
  125. package/src/models/DescribeVpcsForMongoDbresponseBody.ts +228 -0
  126. package/src/models/ModifyActiveOperationMaintenanceConfigRequest.ts +71 -0
  127. package/src/models/ModifyActiveOperationMaintenanceConfigResponse.ts +40 -0
  128. package/src/models/ModifyActiveOperationMaintenanceConfigResponseBody.ts +31 -0
  129. package/src/models/ModifyBackupExpireTimeRequest.ts +63 -0
  130. package/src/models/ModifyBackupExpireTimeResponse.ts +40 -0
  131. package/src/models/ModifyBackupExpireTimeResponseBody.ts +45 -0
  132. package/src/models/ModifyDbinstanceSslrequest.ts +3 -0
  133. package/src/models/model.ts +34 -0
@@ -0,0 +1,241 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeRdsVpcsResponseBodyVpcsVpcVSwitchs extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 10.**.**.0/24
9
+ */
10
+ cidrBlock?: string;
11
+ /**
12
+ * @example
13
+ * null
14
+ */
15
+ gmtCreate?: string;
16
+ /**
17
+ * @example
18
+ * null
19
+ */
20
+ gmtModified?: string;
21
+ /**
22
+ * @example
23
+ * true
24
+ */
25
+ isDefault?: boolean;
26
+ /**
27
+ * @example
28
+ * cn-hangzhou-i
29
+ */
30
+ izNo?: string;
31
+ /**
32
+ * @example
33
+ * Available
34
+ */
35
+ status?: string;
36
+ /**
37
+ * @remarks
38
+ * VSwitch ID。
39
+ *
40
+ * @example
41
+ * vsw-bp*******************
42
+ */
43
+ vSwitchId?: string;
44
+ /**
45
+ * @example
46
+ * vsw-name
47
+ */
48
+ vSwitchName?: string;
49
+ static names(): { [key: string]: string } {
50
+ return {
51
+ cidrBlock: 'CidrBlock',
52
+ gmtCreate: 'GmtCreate',
53
+ gmtModified: 'GmtModified',
54
+ isDefault: 'IsDefault',
55
+ izNo: 'IzNo',
56
+ status: 'Status',
57
+ vSwitchId: 'VSwitchId',
58
+ vSwitchName: 'VSwitchName',
59
+ };
60
+ }
61
+
62
+ static types(): { [key: string]: any } {
63
+ return {
64
+ cidrBlock: 'string',
65
+ gmtCreate: 'string',
66
+ gmtModified: 'string',
67
+ isDefault: 'boolean',
68
+ izNo: 'string',
69
+ status: 'string',
70
+ vSwitchId: 'string',
71
+ vSwitchName: 'string',
72
+ };
73
+ }
74
+
75
+ validate() {
76
+ super.validate();
77
+ }
78
+
79
+ constructor(map?: { [key: string]: any }) {
80
+ super(map);
81
+ }
82
+ }
83
+
84
+ export class DescribeRdsVpcsResponseBodyVpcsVpc extends $dara.Model {
85
+ /**
86
+ * @example
87
+ * null
88
+ */
89
+ aliUid?: string;
90
+ /**
91
+ * @example
92
+ * null
93
+ */
94
+ bid?: string;
95
+ /**
96
+ * @example
97
+ * 10.**.**.0/8
98
+ */
99
+ cidrBlock?: string;
100
+ /**
101
+ * @example
102
+ * null
103
+ */
104
+ gmtCreate?: string;
105
+ /**
106
+ * @example
107
+ * null
108
+ */
109
+ gmtModified?: string;
110
+ /**
111
+ * @example
112
+ * true
113
+ */
114
+ isDefault?: boolean;
115
+ /**
116
+ * @example
117
+ * cn-hangzhou
118
+ */
119
+ regionNo?: string;
120
+ /**
121
+ * @example
122
+ * Available
123
+ */
124
+ status?: string;
125
+ vSwitchs?: DescribeRdsVpcsResponseBodyVpcsVpcVSwitchs[];
126
+ /**
127
+ * @remarks
128
+ * VPC ID。
129
+ *
130
+ * @example
131
+ * vpc-bp*******************
132
+ */
133
+ vpcId?: string;
134
+ /**
135
+ * @example
136
+ * vpc-name
137
+ */
138
+ vpcName?: string;
139
+ static names(): { [key: string]: string } {
140
+ return {
141
+ aliUid: 'AliUid',
142
+ bid: 'Bid',
143
+ cidrBlock: 'CidrBlock',
144
+ gmtCreate: 'GmtCreate',
145
+ gmtModified: 'GmtModified',
146
+ isDefault: 'IsDefault',
147
+ regionNo: 'RegionNo',
148
+ status: 'Status',
149
+ vSwitchs: 'VSwitchs',
150
+ vpcId: 'VpcId',
151
+ vpcName: 'VpcName',
152
+ };
153
+ }
154
+
155
+ static types(): { [key: string]: any } {
156
+ return {
157
+ aliUid: 'string',
158
+ bid: 'string',
159
+ cidrBlock: 'string',
160
+ gmtCreate: 'string',
161
+ gmtModified: 'string',
162
+ isDefault: 'boolean',
163
+ regionNo: 'string',
164
+ status: 'string',
165
+ vSwitchs: { 'type': 'array', 'itemType': DescribeRdsVpcsResponseBodyVpcsVpcVSwitchs },
166
+ vpcId: 'string',
167
+ vpcName: 'string',
168
+ };
169
+ }
170
+
171
+ validate() {
172
+ if(Array.isArray(this.vSwitchs)) {
173
+ $dara.Model.validateArray(this.vSwitchs);
174
+ }
175
+ super.validate();
176
+ }
177
+
178
+ constructor(map?: { [key: string]: any }) {
179
+ super(map);
180
+ }
181
+ }
182
+
183
+ export class DescribeRdsVpcsResponseBodyVpcs extends $dara.Model {
184
+ vpc?: DescribeRdsVpcsResponseBodyVpcsVpc[];
185
+ static names(): { [key: string]: string } {
186
+ return {
187
+ vpc: 'Vpc',
188
+ };
189
+ }
190
+
191
+ static types(): { [key: string]: any } {
192
+ return {
193
+ vpc: { 'type': 'array', 'itemType': DescribeRdsVpcsResponseBodyVpcsVpc },
194
+ };
195
+ }
196
+
197
+ validate() {
198
+ if(Array.isArray(this.vpc)) {
199
+ $dara.Model.validateArray(this.vpc);
200
+ }
201
+ super.validate();
202
+ }
203
+
204
+ constructor(map?: { [key: string]: any }) {
205
+ super(map);
206
+ }
207
+ }
208
+
209
+ export class DescribeRdsVpcsResponseBody extends $dara.Model {
210
+ /**
211
+ * @example
212
+ * 53924AF0-1628-5AA2-9C95-D4**********
213
+ */
214
+ requestId?: string;
215
+ vpcs?: DescribeRdsVpcsResponseBodyVpcs;
216
+ static names(): { [key: string]: string } {
217
+ return {
218
+ requestId: 'RequestId',
219
+ vpcs: 'Vpcs',
220
+ };
221
+ }
222
+
223
+ static types(): { [key: string]: any } {
224
+ return {
225
+ requestId: 'string',
226
+ vpcs: DescribeRdsVpcsResponseBodyVpcs,
227
+ };
228
+ }
229
+
230
+ validate() {
231
+ if(this.vpcs && typeof (this.vpcs as any).validate === 'function') {
232
+ (this.vpcs as any).validate();
233
+ }
234
+ super.validate();
235
+ }
236
+
237
+ constructor(map?: { [key: string]: any }) {
238
+ super(map);
239
+ }
240
+ }
241
+
@@ -0,0 +1,57 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeRdsVSwitchsRequest extends $dara.Model {
6
+ ownerAccount?: string;
7
+ ownerId?: number;
8
+ /**
9
+ * @example
10
+ * rg-acfm4ojaksxxxxx
11
+ */
12
+ resourceGroupId?: string;
13
+ resourceOwnerAccount?: string;
14
+ resourceOwnerId?: number;
15
+ /**
16
+ * @example
17
+ * vpc-bp*******************
18
+ */
19
+ vpcId?: string;
20
+ /**
21
+ * @example
22
+ * cn-hangzhou-j
23
+ */
24
+ zoneId?: string;
25
+ static names(): { [key: string]: string } {
26
+ return {
27
+ ownerAccount: 'OwnerAccount',
28
+ ownerId: 'OwnerId',
29
+ resourceGroupId: 'ResourceGroupId',
30
+ resourceOwnerAccount: 'ResourceOwnerAccount',
31
+ resourceOwnerId: 'ResourceOwnerId',
32
+ vpcId: 'VpcId',
33
+ zoneId: 'ZoneId',
34
+ };
35
+ }
36
+
37
+ static types(): { [key: string]: any } {
38
+ return {
39
+ ownerAccount: 'string',
40
+ ownerId: 'number',
41
+ resourceGroupId: 'string',
42
+ resourceOwnerAccount: 'string',
43
+ resourceOwnerId: 'number',
44
+ vpcId: 'string',
45
+ zoneId: 'string',
46
+ };
47
+ }
48
+
49
+ validate() {
50
+ super.validate();
51
+ }
52
+
53
+ constructor(map?: { [key: string]: any }) {
54
+ super(map);
55
+ }
56
+ }
57
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeRdsVSwitchsResponseBody } from "./DescribeRdsVswitchsResponseBody";
4
+
5
+
6
+ export class DescribeRdsVSwitchsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeRdsVSwitchsResponseBody;
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: DescribeRdsVSwitchsResponseBody,
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,163 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeRdsVSwitchsResponseBodyVSwitchesVSwitch extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * null
9
+ */
10
+ aliUid?: string;
11
+ /**
12
+ * @example
13
+ * null
14
+ */
15
+ bid?: string;
16
+ /**
17
+ * @example
18
+ * 192.**.**.0/24
19
+ */
20
+ cidrBlock?: string;
21
+ /**
22
+ * @example
23
+ * null
24
+ */
25
+ gmtCreate?: string;
26
+ /**
27
+ * @example
28
+ * null
29
+ */
30
+ gmtModified?: string;
31
+ /**
32
+ * @example
33
+ * true
34
+ */
35
+ isDefault?: boolean;
36
+ /**
37
+ * @example
38
+ * cn-hangzhou-h
39
+ */
40
+ izNo?: string;
41
+ /**
42
+ * @example
43
+ * null
44
+ */
45
+ regionNo?: string;
46
+ /**
47
+ * @example
48
+ * Available
49
+ */
50
+ status?: string;
51
+ /**
52
+ * @remarks
53
+ * VSwitch ID。
54
+ *
55
+ * @example
56
+ * vsw-bp*******************
57
+ */
58
+ vSwitchId?: string;
59
+ /**
60
+ * @example
61
+ * vsw-name
62
+ */
63
+ vSwitchName?: string;
64
+ static names(): { [key: string]: string } {
65
+ return {
66
+ aliUid: 'AliUid',
67
+ bid: 'Bid',
68
+ cidrBlock: 'CidrBlock',
69
+ gmtCreate: 'GmtCreate',
70
+ gmtModified: 'GmtModified',
71
+ isDefault: 'IsDefault',
72
+ izNo: 'IzNo',
73
+ regionNo: 'RegionNo',
74
+ status: 'Status',
75
+ vSwitchId: 'VSwitchId',
76
+ vSwitchName: 'VSwitchName',
77
+ };
78
+ }
79
+
80
+ static types(): { [key: string]: any } {
81
+ return {
82
+ aliUid: 'string',
83
+ bid: 'string',
84
+ cidrBlock: 'string',
85
+ gmtCreate: 'string',
86
+ gmtModified: 'string',
87
+ isDefault: 'boolean',
88
+ izNo: 'string',
89
+ regionNo: 'string',
90
+ status: 'string',
91
+ vSwitchId: 'string',
92
+ vSwitchName: 'string',
93
+ };
94
+ }
95
+
96
+ validate() {
97
+ super.validate();
98
+ }
99
+
100
+ constructor(map?: { [key: string]: any }) {
101
+ super(map);
102
+ }
103
+ }
104
+
105
+ export class DescribeRdsVSwitchsResponseBodyVSwitches extends $dara.Model {
106
+ vSwitch?: DescribeRdsVSwitchsResponseBodyVSwitchesVSwitch[];
107
+ static names(): { [key: string]: string } {
108
+ return {
109
+ vSwitch: 'VSwitch',
110
+ };
111
+ }
112
+
113
+ static types(): { [key: string]: any } {
114
+ return {
115
+ vSwitch: { 'type': 'array', 'itemType': DescribeRdsVSwitchsResponseBodyVSwitchesVSwitch },
116
+ };
117
+ }
118
+
119
+ validate() {
120
+ if(Array.isArray(this.vSwitch)) {
121
+ $dara.Model.validateArray(this.vSwitch);
122
+ }
123
+ super.validate();
124
+ }
125
+
126
+ constructor(map?: { [key: string]: any }) {
127
+ super(map);
128
+ }
129
+ }
130
+
131
+ export class DescribeRdsVSwitchsResponseBody extends $dara.Model {
132
+ /**
133
+ * @example
134
+ * 60EEBD77-227C-5B39-86EA-D89163C5****
135
+ */
136
+ requestId?: string;
137
+ vSwitches?: DescribeRdsVSwitchsResponseBodyVSwitches;
138
+ static names(): { [key: string]: string } {
139
+ return {
140
+ requestId: 'RequestId',
141
+ vSwitches: 'VSwitches',
142
+ };
143
+ }
144
+
145
+ static types(): { [key: string]: any } {
146
+ return {
147
+ requestId: 'string',
148
+ vSwitches: DescribeRdsVSwitchsResponseBodyVSwitches,
149
+ };
150
+ }
151
+
152
+ validate() {
153
+ if(this.vSwitches && typeof (this.vSwitches as any).validate === 'function') {
154
+ (this.vSwitches as any).validate();
155
+ }
156
+ super.validate();
157
+ }
158
+
159
+ constructor(map?: { [key: string]: any }) {
160
+ super(map);
161
+ }
162
+ }
163
+
@@ -0,0 +1,46 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeRoleTagStatusRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * dds-wz9760547de1****
12
+ */
13
+ DBInstanceId?: string;
14
+ ownerAccount?: string;
15
+ ownerId?: number;
16
+ resourceOwnerAccount?: string;
17
+ resourceOwnerId?: number;
18
+ static names(): { [key: string]: string } {
19
+ return {
20
+ DBInstanceId: 'DBInstanceId',
21
+ ownerAccount: 'OwnerAccount',
22
+ ownerId: 'OwnerId',
23
+ resourceOwnerAccount: 'ResourceOwnerAccount',
24
+ resourceOwnerId: 'ResourceOwnerId',
25
+ };
26
+ }
27
+
28
+ static types(): { [key: string]: any } {
29
+ return {
30
+ DBInstanceId: 'string',
31
+ ownerAccount: 'string',
32
+ ownerId: 'number',
33
+ resourceOwnerAccount: 'string',
34
+ resourceOwnerId: 'number',
35
+ };
36
+ }
37
+
38
+ validate() {
39
+ super.validate();
40
+ }
41
+
42
+ constructor(map?: { [key: string]: any }) {
43
+ super(map);
44
+ }
45
+ }
46
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeRoleTagStatusResponseBody } from "./DescribeRoleTagStatusResponseBody";
4
+
5
+
6
+ export class DescribeRoleTagStatusResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeRoleTagStatusResponseBody;
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: DescribeRoleTagStatusResponseBody,
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,51 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeRoleTagStatusResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 69D55DEC-B219-569F-A686-AC2F67A1****
9
+ */
10
+ requestId?: string;
11
+ /**
12
+ * @example
13
+ * false
14
+ */
15
+ roleTagStatus?: string;
16
+ /**
17
+ * @example
18
+ * {
19
+ * "d-2ze204b4db58****": "false",
20
+ * "d-2zeb9716646e***": "false"
21
+ * }
22
+ */
23
+ shardRoleTagStatus?: { [key: string]: any };
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ requestId: 'RequestId',
27
+ roleTagStatus: 'RoleTagStatus',
28
+ shardRoleTagStatus: 'ShardRoleTagStatus',
29
+ };
30
+ }
31
+
32
+ static types(): { [key: string]: any } {
33
+ return {
34
+ requestId: 'string',
35
+ roleTagStatus: 'string',
36
+ shardRoleTagStatus: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ if(this.shardRoleTagStatus) {
42
+ $dara.Model.validateMap(this.shardRoleTagStatus);
43
+ }
44
+ super.validate();
45
+ }
46
+
47
+ constructor(map?: { [key: string]: any }) {
48
+ super(map);
49
+ }
50
+ }
51
+
@@ -13,6 +13,7 @@ export class DescribeShardingNetworkAddressRequest extends $dara.Model {
13
13
  * dds-bpxxxxxxxx
14
14
  */
15
15
  DBInstanceId?: string;
16
+ networkType?: string;
16
17
  /**
17
18
  * @remarks
18
19
  * The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
@@ -30,6 +31,7 @@ export class DescribeShardingNetworkAddressRequest extends $dara.Model {
30
31
  static names(): { [key: string]: string } {
31
32
  return {
32
33
  DBInstanceId: 'DBInstanceId',
34
+ networkType: 'NetworkType',
33
35
  nodeId: 'NodeId',
34
36
  ownerAccount: 'OwnerAccount',
35
37
  ownerId: 'OwnerId',
@@ -41,6 +43,7 @@ export class DescribeShardingNetworkAddressRequest extends $dara.Model {
41
43
  static types(): { [key: string]: any } {
42
44
  return {
43
45
  DBInstanceId: 'string',
46
+ networkType: 'string',
44
47
  nodeId: 'string',
45
48
  ownerAccount: 'string',
46
49
  ownerId: 'number',