@alicloud/adb20211201 4.4.0 → 4.5.1

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 (113) hide show
  1. package/dist/client.d.ts +105 -0
  2. package/dist/client.js +430 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateApsWebhookRequest.d.ts +76 -0
  5. package/dist/models/CreateApsWebhookRequest.js +92 -0
  6. package/dist/models/CreateApsWebhookRequest.js.map +1 -0
  7. package/dist/models/CreateApsWebhookResponse.d.ts +19 -0
  8. package/dist/models/CreateApsWebhookResponse.js +69 -0
  9. package/dist/models/CreateApsWebhookResponse.js.map +1 -0
  10. package/dist/models/CreateApsWebhookResponseBody.d.ts +43 -0
  11. package/dist/models/CreateApsWebhookResponseBody.js +68 -0
  12. package/dist/models/CreateApsWebhookResponseBody.js.map +1 -0
  13. package/dist/models/CreateApsWebhookShrinkRequest.d.ts +38 -0
  14. package/dist/models/CreateApsWebhookShrinkRequest.js +64 -0
  15. package/dist/models/CreateApsWebhookShrinkRequest.js.map +1 -0
  16. package/dist/models/CreateMaterializedViewRecommendRequest.d.ts +72 -0
  17. package/dist/models/CreateMaterializedViewRecommendRequest.js +86 -0
  18. package/dist/models/CreateMaterializedViewRecommendRequest.js.map +1 -0
  19. package/dist/models/CreateMaterializedViewRecommendResponse.d.ts +19 -0
  20. package/dist/models/CreateMaterializedViewRecommendResponse.js +69 -0
  21. package/dist/models/CreateMaterializedViewRecommendResponse.js.map +1 -0
  22. package/dist/models/CreateMaterializedViewRecommendResponseBody.d.ts +21 -0
  23. package/dist/models/CreateMaterializedViewRecommendResponseBody.js +58 -0
  24. package/dist/models/CreateMaterializedViewRecommendResponseBody.js.map +1 -0
  25. package/dist/models/DeleteApsWebhookRequest.d.ts +37 -0
  26. package/dist/models/DeleteApsWebhookRequest.js +62 -0
  27. package/dist/models/DeleteApsWebhookRequest.js.map +1 -0
  28. package/dist/models/DeleteApsWebhookResponse.d.ts +19 -0
  29. package/dist/models/DeleteApsWebhookResponse.js +69 -0
  30. package/dist/models/DeleteApsWebhookResponse.js.map +1 -0
  31. package/dist/models/DeleteApsWebhookResponseBody.d.ts +44 -0
  32. package/dist/models/DeleteApsWebhookResponseBody.js +70 -0
  33. package/dist/models/DeleteApsWebhookResponseBody.js.map +1 -0
  34. package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +1 -0
  35. package/dist/models/DescribeAuditLogRecordsResponseBody.js +2 -0
  36. package/dist/models/DescribeAuditLogRecordsResponseBody.js.map +1 -1
  37. package/dist/models/DescribeDbresourceGroupResponseBody.d.ts +122 -0
  38. package/dist/models/DescribeDbresourceGroupResponseBody.js +81 -1
  39. package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
  40. package/dist/models/ListApsWebhookRequest.d.ts +34 -0
  41. package/dist/models/ListApsWebhookRequest.js +62 -0
  42. package/dist/models/ListApsWebhookRequest.js.map +1 -0
  43. package/dist/models/ListApsWebhookResponse.d.ts +19 -0
  44. package/dist/models/ListApsWebhookResponse.js +69 -0
  45. package/dist/models/ListApsWebhookResponse.js.map +1 -0
  46. package/dist/models/ListApsWebhookResponseBody.d.ts +76 -0
  47. package/dist/models/ListApsWebhookResponseBody.js +98 -0
  48. package/dist/models/ListApsWebhookResponseBody.js.map +1 -0
  49. package/dist/models/ModifyDbresourceGroupRequest.d.ts +74 -0
  50. package/dist/models/ModifyDbresourceGroupRequest.js +81 -1
  51. package/dist/models/ModifyDbresourceGroupRequest.js.map +1 -1
  52. package/dist/models/ModifyMaterializedViewRecommendRequest.d.ts +66 -0
  53. package/dist/models/ModifyMaterializedViewRecommendRequest.js +86 -0
  54. package/dist/models/ModifyMaterializedViewRecommendRequest.js.map +1 -0
  55. package/dist/models/ModifyMaterializedViewRecommendResponse.d.ts +19 -0
  56. package/dist/models/ModifyMaterializedViewRecommendResponse.js +69 -0
  57. package/dist/models/ModifyMaterializedViewRecommendResponse.js.map +1 -0
  58. package/dist/models/ModifyMaterializedViewRecommendResponseBody.d.ts +21 -0
  59. package/dist/models/ModifyMaterializedViewRecommendResponseBody.js +58 -0
  60. package/dist/models/ModifyMaterializedViewRecommendResponseBody.js.map +1 -0
  61. package/dist/models/ModifyMaterializedViewRequest.d.ts +71 -0
  62. package/dist/models/ModifyMaterializedViewRequest.js +82 -0
  63. package/dist/models/ModifyMaterializedViewRequest.js.map +1 -0
  64. package/dist/models/ModifyMaterializedViewResponse.d.ts +19 -0
  65. package/dist/models/ModifyMaterializedViewResponse.js +69 -0
  66. package/dist/models/ModifyMaterializedViewResponse.js.map +1 -0
  67. package/dist/models/ModifyMaterializedViewResponseBody.d.ts +21 -0
  68. package/dist/models/ModifyMaterializedViewResponseBody.js +58 -0
  69. package/dist/models/ModifyMaterializedViewResponseBody.js.map +1 -0
  70. package/dist/models/UpdateApsWebhookRequest.d.ts +72 -0
  71. package/dist/models/UpdateApsWebhookRequest.js +92 -0
  72. package/dist/models/UpdateApsWebhookRequest.js.map +1 -0
  73. package/dist/models/UpdateApsWebhookResponse.d.ts +19 -0
  74. package/dist/models/UpdateApsWebhookResponse.js +69 -0
  75. package/dist/models/UpdateApsWebhookResponse.js.map +1 -0
  76. package/dist/models/UpdateApsWebhookResponseBody.d.ts +44 -0
  77. package/dist/models/UpdateApsWebhookResponseBody.js +70 -0
  78. package/dist/models/UpdateApsWebhookResponseBody.js.map +1 -0
  79. package/dist/models/UpdateApsWebhookShrinkRequest.d.ts +30 -0
  80. package/dist/models/UpdateApsWebhookShrinkRequest.js +62 -0
  81. package/dist/models/UpdateApsWebhookShrinkRequest.js.map +1 -0
  82. package/dist/models/model.d.ts +32 -0
  83. package/dist/models/model.js +96 -31
  84. package/dist/models/model.js.map +1 -1
  85. package/package.json +1 -1
  86. package/src/client.ts +502 -0
  87. package/src/models/CreateApsWebhookRequest.ts +114 -0
  88. package/src/models/CreateApsWebhookResponse.ts +40 -0
  89. package/src/models/CreateApsWebhookResponseBody.ts +66 -0
  90. package/src/models/CreateApsWebhookShrinkRequest.ts +57 -0
  91. package/src/models/CreateMaterializedViewRecommendRequest.ts +113 -0
  92. package/src/models/CreateMaterializedViewRecommendResponse.ts +40 -0
  93. package/src/models/CreateMaterializedViewRecommendResponseBody.ts +34 -0
  94. package/src/models/DeleteApsWebhookRequest.ts +54 -0
  95. package/src/models/DeleteApsWebhookResponse.ts +40 -0
  96. package/src/models/DeleteApsWebhookResponseBody.ts +69 -0
  97. package/src/models/DescribeAuditLogRecordsResponseBody.ts +3 -0
  98. package/src/models/DescribeDbresourceGroupResponseBody.ts +175 -0
  99. package/src/models/ListApsWebhookRequest.ts +51 -0
  100. package/src/models/ListApsWebhookResponse.ts +40 -0
  101. package/src/models/ListApsWebhookResponseBody.ts +120 -0
  102. package/src/models/ModifyDbresourceGroupRequest.ts +127 -0
  103. package/src/models/ModifyMaterializedViewRecommendRequest.ts +107 -0
  104. package/src/models/ModifyMaterializedViewRecommendResponse.ts +40 -0
  105. package/src/models/ModifyMaterializedViewRecommendResponseBody.ts +34 -0
  106. package/src/models/ModifyMaterializedViewRequest.ts +108 -0
  107. package/src/models/ModifyMaterializedViewResponse.ts +40 -0
  108. package/src/models/ModifyMaterializedViewResponseBody.ts +34 -0
  109. package/src/models/UpdateApsWebhookRequest.ts +110 -0
  110. package/src/models/UpdateApsWebhookResponse.ts +40 -0
  111. package/src/models/UpdateApsWebhookResponseBody.ts +69 -0
  112. package/src/models/UpdateApsWebhookShrinkRequest.ts +47 -0
  113. package/src/models/model.ts +32 -0
@@ -2,13 +2,160 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigAppConfigImageSelector extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * lab2.10.0-ray2.43.0
9
+ */
10
+ image?: string;
11
+ /**
12
+ * @example
13
+ * vLLM
14
+ */
15
+ inferenceEngine?: string;
16
+ /**
17
+ * @example
18
+ * Deepseek-R1
19
+ */
20
+ llmModel?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ image: 'Image',
24
+ inferenceEngine: 'InferenceEngine',
25
+ llmModel: 'LlmModel',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ image: 'string',
32
+ inferenceEngine: 'string',
33
+ llmModel: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
46
+ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigAppConfig extends $dara.Model {
47
+ /**
48
+ * @example
49
+ * app01
50
+ */
51
+ appName?: string;
52
+ /**
53
+ * @example
54
+ * IsaacLab
55
+ */
56
+ appType?: string;
57
+ /**
58
+ * **if can be null:**
59
+ * true
60
+ */
61
+ imageSelector?: DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigAppConfigImageSelector;
62
+ static names(): { [key: string]: string } {
63
+ return {
64
+ appName: 'AppName',
65
+ appType: 'AppType',
66
+ imageSelector: 'ImageSelector',
67
+ };
68
+ }
69
+
70
+ static types(): { [key: string]: any } {
71
+ return {
72
+ appName: 'string',
73
+ appType: 'string',
74
+ imageSelector: DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigAppConfigImageSelector,
75
+ };
76
+ }
77
+
78
+ validate() {
79
+ if(this.imageSelector && typeof (this.imageSelector as any).validate === 'function') {
80
+ (this.imageSelector as any).validate();
81
+ }
82
+ super.validate();
83
+ }
84
+
85
+ constructor(map?: { [key: string]: any }) {
86
+ super(map);
87
+ }
88
+ }
89
+
90
+ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigStorageMounts extends $dara.Model {
91
+ /**
92
+ * @example
93
+ * /mnt/data01
94
+ */
95
+ mountPath?: string;
96
+ /**
97
+ * @example
98
+ * 1
99
+ */
100
+ storageId?: number;
101
+ static names(): { [key: string]: string } {
102
+ return {
103
+ mountPath: 'MountPath',
104
+ storageId: 'StorageId',
105
+ };
106
+ }
107
+
108
+ static types(): { [key: string]: any } {
109
+ return {
110
+ mountPath: 'string',
111
+ storageId: 'number',
112
+ };
113
+ }
114
+
115
+ validate() {
116
+ super.validate();
117
+ }
118
+
119
+ constructor(map?: { [key: string]: any }) {
120
+ super(map);
121
+ }
122
+ }
123
+
5
124
  export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigWorkerGroups extends $dara.Model {
125
+ /**
126
+ * @example
127
+ * 1
128
+ */
6
129
  allocateUnit?: string;
130
+ /**
131
+ * @example
132
+ * g01
133
+ */
7
134
  groupName?: string;
135
+ /**
136
+ * @example
137
+ * 1
138
+ */
8
139
  maxWorkerQuantity?: number;
140
+ /**
141
+ * @example
142
+ * 1
143
+ */
9
144
  minWorkerQuantity?: number;
145
+ /**
146
+ * @example
147
+ * 100G
148
+ */
10
149
  workerDiskCapacity?: string;
150
+ /**
151
+ * @example
152
+ * large
153
+ */
11
154
  workerSpecName?: string;
155
+ /**
156
+ * @example
157
+ * CPU
158
+ */
12
159
  workerSpecType?: string;
13
160
  static names(): { [key: string]: string } {
14
161
  return {
@@ -44,6 +191,11 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigWorkerGroups
44
191
  }
45
192
 
46
193
  export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfig extends $dara.Model {
194
+ /**
195
+ * **if can be null:**
196
+ * true
197
+ */
198
+ appConfig?: DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigAppConfig;
47
199
  category?: string;
48
200
  /**
49
201
  * **if can be null:**
@@ -54,12 +206,26 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfig extends $dar
54
206
  headDiskCapacity?: string;
55
207
  headSpec?: string;
56
208
  headSpecType?: string;
209
+ /**
210
+ * @example
211
+ * http://ray-cluster-address.example.com
212
+ */
57
213
  rayClusterAddress?: string;
214
+ /**
215
+ * @example
216
+ * http://ray-dashboard-address.example.com
217
+ */
58
218
  rayDashboardAddress?: string;
219
+ /**
220
+ * @example
221
+ * http://ray-grafana-address.example.com
222
+ */
59
223
  rayGrafanaAddress?: string;
224
+ storageMounts?: DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigStorageMounts[];
60
225
  workerGroups?: DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigWorkerGroups[];
61
226
  static names(): { [key: string]: string } {
62
227
  return {
228
+ appConfig: 'AppConfig',
63
229
  category: 'Category',
64
230
  enableUserEni: 'EnableUserEni',
65
231
  headAllocateUnit: 'HeadAllocateUnit',
@@ -69,12 +235,14 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfig extends $dar
69
235
  rayClusterAddress: 'RayClusterAddress',
70
236
  rayDashboardAddress: 'RayDashboardAddress',
71
237
  rayGrafanaAddress: 'RayGrafanaAddress',
238
+ storageMounts: 'StorageMounts',
72
239
  workerGroups: 'WorkerGroups',
73
240
  };
74
241
  }
75
242
 
76
243
  static types(): { [key: string]: any } {
77
244
  return {
245
+ appConfig: DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigAppConfig,
78
246
  category: 'string',
79
247
  enableUserEni: 'boolean',
80
248
  headAllocateUnit: 'string',
@@ -84,11 +252,18 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfig extends $dar
84
252
  rayClusterAddress: 'string',
85
253
  rayDashboardAddress: 'string',
86
254
  rayGrafanaAddress: 'string',
255
+ storageMounts: { 'type': 'array', 'itemType': DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigStorageMounts },
87
256
  workerGroups: { 'type': 'array', 'itemType': DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigWorkerGroups },
88
257
  };
89
258
  }
90
259
 
91
260
  validate() {
261
+ if(this.appConfig && typeof (this.appConfig as any).validate === 'function') {
262
+ (this.appConfig as any).validate();
263
+ }
264
+ if(Array.isArray(this.storageMounts)) {
265
+ $dara.Model.validateArray(this.storageMounts);
266
+ }
92
267
  if(Array.isArray(this.workerGroups)) {
93
268
  $dara.Model.validateArray(this.workerGroups);
94
269
  }
@@ -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 ListApsWebhookRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * amv-8vbuyjhrih**
12
+ */
13
+ DBClusterId?: string;
14
+ /**
15
+ * @example
16
+ * ResultExport
17
+ */
18
+ jobType?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * cn-hangzhou
25
+ */
26
+ regionId?: string;
27
+ static names(): { [key: string]: string } {
28
+ return {
29
+ DBClusterId: 'DBClusterId',
30
+ jobType: 'JobType',
31
+ regionId: 'RegionId',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ DBClusterId: 'string',
38
+ jobType: 'string',
39
+ regionId: 'string',
40
+ };
41
+ }
42
+
43
+ validate() {
44
+ super.validate();
45
+ }
46
+
47
+ constructor(map?: { [key: string]: any }) {
48
+ super(map);
49
+ }
50
+ }
51
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListApsWebhookResponseBody } from "./ListApsWebhookResponseBody";
4
+
5
+
6
+ export class ListApsWebhookResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListApsWebhookResponseBody;
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: ListApsWebhookResponseBody,
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,120 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListApsWebhookResponseBodyWebhook extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * your_secret_key
9
+ */
10
+ key?: string;
11
+ /**
12
+ * @example
13
+ * webhook_name
14
+ */
15
+ name?: string;
16
+ /**
17
+ * @example
18
+ * https://example.com/webhook
19
+ */
20
+ url?: string;
21
+ /**
22
+ * @example
23
+ * **35***
24
+ */
25
+ webhookId?: string;
26
+ /**
27
+ * @example
28
+ * dingtalk
29
+ */
30
+ webhookType?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ key: 'Key',
34
+ name: 'Name',
35
+ url: 'Url',
36
+ webhookId: 'WebhookId',
37
+ webhookType: 'WebhookType',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ key: 'string',
44
+ name: 'string',
45
+ url: 'string',
46
+ webhookId: 'string',
47
+ webhookType: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
60
+ export class ListApsWebhookResponseBody extends $dara.Model {
61
+ /**
62
+ * @example
63
+ * 200
64
+ */
65
+ code?: string;
66
+ /**
67
+ * @example
68
+ * 200
69
+ */
70
+ httpStatusCode?: number;
71
+ /**
72
+ * @example
73
+ * OK
74
+ */
75
+ message?: string;
76
+ /**
77
+ * @example
78
+ * exampleRequestId
79
+ */
80
+ requestId?: string;
81
+ /**
82
+ * @example
83
+ * True
84
+ */
85
+ success?: boolean;
86
+ webhook?: ListApsWebhookResponseBodyWebhook[];
87
+ static names(): { [key: string]: string } {
88
+ return {
89
+ code: 'Code',
90
+ httpStatusCode: 'HttpStatusCode',
91
+ message: 'Message',
92
+ requestId: 'RequestId',
93
+ success: 'Success',
94
+ webhook: 'Webhook',
95
+ };
96
+ }
97
+
98
+ static types(): { [key: string]: any } {
99
+ return {
100
+ code: 'string',
101
+ httpStatusCode: 'number',
102
+ message: 'string',
103
+ requestId: 'string',
104
+ success: 'boolean',
105
+ webhook: { 'type': 'array', 'itemType': ListApsWebhookResponseBodyWebhook },
106
+ };
107
+ }
108
+
109
+ validate() {
110
+ if(Array.isArray(this.webhook)) {
111
+ $dara.Model.validateArray(this.webhook);
112
+ }
113
+ super.validate();
114
+ }
115
+
116
+ constructor(map?: { [key: string]: any }) {
117
+ super(map);
118
+ }
119
+ }
120
+
@@ -2,6 +2,121 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class ModifyDBResourceGroupRequestRayConfigAppConfigImageSelector extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * lab2.10.0-ray2.43.0
9
+ */
10
+ image?: string;
11
+ /**
12
+ * @example
13
+ * vLLM
14
+ */
15
+ inferenceEngine?: string;
16
+ /**
17
+ * @example
18
+ * Deepseek-R1
19
+ */
20
+ llmModel?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ image: 'Image',
24
+ inferenceEngine: 'InferenceEngine',
25
+ llmModel: 'LlmModel',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ image: 'string',
32
+ inferenceEngine: 'string',
33
+ llmModel: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
46
+ export class ModifyDBResourceGroupRequestRayConfigAppConfig extends $dara.Model {
47
+ /**
48
+ * @example
49
+ * app01
50
+ */
51
+ appName?: string;
52
+ /**
53
+ * @example
54
+ * IsaacLab
55
+ */
56
+ appType?: string;
57
+ imageSelector?: ModifyDBResourceGroupRequestRayConfigAppConfigImageSelector;
58
+ static names(): { [key: string]: string } {
59
+ return {
60
+ appName: 'AppName',
61
+ appType: 'AppType',
62
+ imageSelector: 'ImageSelector',
63
+ };
64
+ }
65
+
66
+ static types(): { [key: string]: any } {
67
+ return {
68
+ appName: 'string',
69
+ appType: 'string',
70
+ imageSelector: ModifyDBResourceGroupRequestRayConfigAppConfigImageSelector,
71
+ };
72
+ }
73
+
74
+ validate() {
75
+ if(this.imageSelector && typeof (this.imageSelector as any).validate === 'function') {
76
+ (this.imageSelector as any).validate();
77
+ }
78
+ super.validate();
79
+ }
80
+
81
+ constructor(map?: { [key: string]: any }) {
82
+ super(map);
83
+ }
84
+ }
85
+
86
+ export class ModifyDBResourceGroupRequestRayConfigStorageMounts extends $dara.Model {
87
+ /**
88
+ * @example
89
+ * /mnt/data01
90
+ */
91
+ mountPath?: string;
92
+ /**
93
+ * @example
94
+ * 1
95
+ */
96
+ storageId?: number;
97
+ static names(): { [key: string]: string } {
98
+ return {
99
+ mountPath: 'MountPath',
100
+ storageId: 'StorageId',
101
+ };
102
+ }
103
+
104
+ static types(): { [key: string]: any } {
105
+ return {
106
+ mountPath: 'string',
107
+ storageId: 'number',
108
+ };
109
+ }
110
+
111
+ validate() {
112
+ super.validate();
113
+ }
114
+
115
+ constructor(map?: { [key: string]: any }) {
116
+ super(map);
117
+ }
118
+ }
119
+
5
120
  export class ModifyDBResourceGroupRequestRayConfigWorkerGroups extends $dara.Model {
6
121
  allocateUnit?: string;
7
122
  groupName?: string;
@@ -44,38 +159,50 @@ export class ModifyDBResourceGroupRequestRayConfigWorkerGroups extends $dara.Mod
44
159
  }
45
160
 
46
161
  export class ModifyDBResourceGroupRequestRayConfig extends $dara.Model {
162
+ appConfig?: ModifyDBResourceGroupRequestRayConfigAppConfig;
47
163
  category?: string;
48
164
  enableUserEni?: boolean;
49
165
  headAllocateUnit?: string;
50
166
  headDiskCapacity?: string;
51
167
  headSpec?: string;
52
168
  headSpecType?: string;
169
+ storageMounts?: ModifyDBResourceGroupRequestRayConfigStorageMounts[];
53
170
  workerGroups?: ModifyDBResourceGroupRequestRayConfigWorkerGroups[];
54
171
  static names(): { [key: string]: string } {
55
172
  return {
173
+ appConfig: 'AppConfig',
56
174
  category: 'Category',
57
175
  enableUserEni: 'EnableUserEni',
58
176
  headAllocateUnit: 'HeadAllocateUnit',
59
177
  headDiskCapacity: 'HeadDiskCapacity',
60
178
  headSpec: 'HeadSpec',
61
179
  headSpecType: 'HeadSpecType',
180
+ storageMounts: 'StorageMounts',
62
181
  workerGroups: 'WorkerGroups',
63
182
  };
64
183
  }
65
184
 
66
185
  static types(): { [key: string]: any } {
67
186
  return {
187
+ appConfig: ModifyDBResourceGroupRequestRayConfigAppConfig,
68
188
  category: 'string',
69
189
  enableUserEni: 'boolean',
70
190
  headAllocateUnit: 'string',
71
191
  headDiskCapacity: 'string',
72
192
  headSpec: 'string',
73
193
  headSpecType: 'string',
194
+ storageMounts: { 'type': 'array', 'itemType': ModifyDBResourceGroupRequestRayConfigStorageMounts },
74
195
  workerGroups: { 'type': 'array', 'itemType': ModifyDBResourceGroupRequestRayConfigWorkerGroups },
75
196
  };
76
197
  }
77
198
 
78
199
  validate() {
200
+ if(this.appConfig && typeof (this.appConfig as any).validate === 'function') {
201
+ (this.appConfig as any).validate();
202
+ }
203
+ if(Array.isArray(this.storageMounts)) {
204
+ $dara.Model.validateArray(this.storageMounts);
205
+ }
79
206
  if(Array.isArray(this.workerGroups)) {
80
207
  $dara.Model.validateArray(this.workerGroups);
81
208
  }
@@ -0,0 +1,107 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifyMaterializedViewRecommendRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * amv-uf6o*****
12
+ */
13
+ DBClusterId?: string;
14
+ /**
15
+ * @example
16
+ * task desc
17
+ */
18
+ description?: string;
19
+ minRewriteQueryCount?: number;
20
+ minRewriteQueryPattern?: number;
21
+ ownerAccount?: string;
22
+ ownerId?: number;
23
+ /**
24
+ * @example
25
+ * cn-hangzhou
26
+ */
27
+ regionId?: string;
28
+ resourceOwnerAccount?: string;
29
+ resourceOwnerId?: number;
30
+ /**
31
+ * @example
32
+ * 3
33
+ */
34
+ scanQueriesRange?: number;
35
+ /**
36
+ * @example
37
+ * Monday;Wednesday
38
+ */
39
+ schedulingDay?: string;
40
+ /**
41
+ * @example
42
+ * weekly
43
+ */
44
+ schedulingPolicy?: string;
45
+ slowQueryThreshold?: number;
46
+ /**
47
+ * @example
48
+ * 10:00:00
49
+ */
50
+ specifiedTime?: string;
51
+ /**
52
+ * @remarks
53
+ * This parameter is required.
54
+ *
55
+ * @example
56
+ * task_n1
57
+ */
58
+ taskName?: string;
59
+ static names(): { [key: string]: string } {
60
+ return {
61
+ DBClusterId: 'DBClusterId',
62
+ description: 'Description',
63
+ minRewriteQueryCount: 'MinRewriteQueryCount',
64
+ minRewriteQueryPattern: 'MinRewriteQueryPattern',
65
+ ownerAccount: 'OwnerAccount',
66
+ ownerId: 'OwnerId',
67
+ regionId: 'RegionId',
68
+ resourceOwnerAccount: 'ResourceOwnerAccount',
69
+ resourceOwnerId: 'ResourceOwnerId',
70
+ scanQueriesRange: 'ScanQueriesRange',
71
+ schedulingDay: 'SchedulingDay',
72
+ schedulingPolicy: 'SchedulingPolicy',
73
+ slowQueryThreshold: 'SlowQueryThreshold',
74
+ specifiedTime: 'SpecifiedTime',
75
+ taskName: 'TaskName',
76
+ };
77
+ }
78
+
79
+ static types(): { [key: string]: any } {
80
+ return {
81
+ DBClusterId: 'string',
82
+ description: 'string',
83
+ minRewriteQueryCount: 'number',
84
+ minRewriteQueryPattern: 'number',
85
+ ownerAccount: 'string',
86
+ ownerId: 'number',
87
+ regionId: 'string',
88
+ resourceOwnerAccount: 'string',
89
+ resourceOwnerId: 'number',
90
+ scanQueriesRange: 'number',
91
+ schedulingDay: 'string',
92
+ schedulingPolicy: 'string',
93
+ slowQueryThreshold: 'number',
94
+ specifiedTime: 'string',
95
+ taskName: 'string',
96
+ };
97
+ }
98
+
99
+ validate() {
100
+ super.validate();
101
+ }
102
+
103
+ constructor(map?: { [key: string]: any }) {
104
+ super(map);
105
+ }
106
+ }
107
+