@alicloud/adb20211201 4.4.0 → 4.5.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 (109) 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/DescribeDbresourceGroupResponseBody.d.ts +122 -0
  35. package/dist/models/DescribeDbresourceGroupResponseBody.js +81 -1
  36. package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
  37. package/dist/models/ListApsWebhookRequest.d.ts +34 -0
  38. package/dist/models/ListApsWebhookRequest.js +62 -0
  39. package/dist/models/ListApsWebhookRequest.js.map +1 -0
  40. package/dist/models/ListApsWebhookResponse.d.ts +19 -0
  41. package/dist/models/ListApsWebhookResponse.js +69 -0
  42. package/dist/models/ListApsWebhookResponse.js.map +1 -0
  43. package/dist/models/ListApsWebhookResponseBody.d.ts +76 -0
  44. package/dist/models/ListApsWebhookResponseBody.js +98 -0
  45. package/dist/models/ListApsWebhookResponseBody.js.map +1 -0
  46. package/dist/models/ModifyDbresourceGroupRequest.d.ts +74 -0
  47. package/dist/models/ModifyDbresourceGroupRequest.js +81 -1
  48. package/dist/models/ModifyDbresourceGroupRequest.js.map +1 -1
  49. package/dist/models/ModifyMaterializedViewRecommendRequest.d.ts +66 -0
  50. package/dist/models/ModifyMaterializedViewRecommendRequest.js +86 -0
  51. package/dist/models/ModifyMaterializedViewRecommendRequest.js.map +1 -0
  52. package/dist/models/ModifyMaterializedViewRecommendResponse.d.ts +19 -0
  53. package/dist/models/ModifyMaterializedViewRecommendResponse.js +69 -0
  54. package/dist/models/ModifyMaterializedViewRecommendResponse.js.map +1 -0
  55. package/dist/models/ModifyMaterializedViewRecommendResponseBody.d.ts +21 -0
  56. package/dist/models/ModifyMaterializedViewRecommendResponseBody.js +58 -0
  57. package/dist/models/ModifyMaterializedViewRecommendResponseBody.js.map +1 -0
  58. package/dist/models/ModifyMaterializedViewRequest.d.ts +71 -0
  59. package/dist/models/ModifyMaterializedViewRequest.js +82 -0
  60. package/dist/models/ModifyMaterializedViewRequest.js.map +1 -0
  61. package/dist/models/ModifyMaterializedViewResponse.d.ts +19 -0
  62. package/dist/models/ModifyMaterializedViewResponse.js +69 -0
  63. package/dist/models/ModifyMaterializedViewResponse.js.map +1 -0
  64. package/dist/models/ModifyMaterializedViewResponseBody.d.ts +21 -0
  65. package/dist/models/ModifyMaterializedViewResponseBody.js +58 -0
  66. package/dist/models/ModifyMaterializedViewResponseBody.js.map +1 -0
  67. package/dist/models/UpdateApsWebhookRequest.d.ts +72 -0
  68. package/dist/models/UpdateApsWebhookRequest.js +92 -0
  69. package/dist/models/UpdateApsWebhookRequest.js.map +1 -0
  70. package/dist/models/UpdateApsWebhookResponse.d.ts +19 -0
  71. package/dist/models/UpdateApsWebhookResponse.js +69 -0
  72. package/dist/models/UpdateApsWebhookResponse.js.map +1 -0
  73. package/dist/models/UpdateApsWebhookResponseBody.d.ts +44 -0
  74. package/dist/models/UpdateApsWebhookResponseBody.js +70 -0
  75. package/dist/models/UpdateApsWebhookResponseBody.js.map +1 -0
  76. package/dist/models/UpdateApsWebhookShrinkRequest.d.ts +30 -0
  77. package/dist/models/UpdateApsWebhookShrinkRequest.js +62 -0
  78. package/dist/models/UpdateApsWebhookShrinkRequest.js.map +1 -0
  79. package/dist/models/model.d.ts +32 -0
  80. package/dist/models/model.js +96 -31
  81. package/dist/models/model.js.map +1 -1
  82. package/package.json +1 -1
  83. package/src/client.ts +502 -0
  84. package/src/models/CreateApsWebhookRequest.ts +114 -0
  85. package/src/models/CreateApsWebhookResponse.ts +40 -0
  86. package/src/models/CreateApsWebhookResponseBody.ts +66 -0
  87. package/src/models/CreateApsWebhookShrinkRequest.ts +57 -0
  88. package/src/models/CreateMaterializedViewRecommendRequest.ts +113 -0
  89. package/src/models/CreateMaterializedViewRecommendResponse.ts +40 -0
  90. package/src/models/CreateMaterializedViewRecommendResponseBody.ts +34 -0
  91. package/src/models/DeleteApsWebhookRequest.ts +54 -0
  92. package/src/models/DeleteApsWebhookResponse.ts +40 -0
  93. package/src/models/DeleteApsWebhookResponseBody.ts +69 -0
  94. package/src/models/DescribeDbresourceGroupResponseBody.ts +175 -0
  95. package/src/models/ListApsWebhookRequest.ts +51 -0
  96. package/src/models/ListApsWebhookResponse.ts +40 -0
  97. package/src/models/ListApsWebhookResponseBody.ts +120 -0
  98. package/src/models/ModifyDbresourceGroupRequest.ts +127 -0
  99. package/src/models/ModifyMaterializedViewRecommendRequest.ts +107 -0
  100. package/src/models/ModifyMaterializedViewRecommendResponse.ts +40 -0
  101. package/src/models/ModifyMaterializedViewRecommendResponseBody.ts +34 -0
  102. package/src/models/ModifyMaterializedViewRequest.ts +108 -0
  103. package/src/models/ModifyMaterializedViewResponse.ts +40 -0
  104. package/src/models/ModifyMaterializedViewResponseBody.ts +34 -0
  105. package/src/models/UpdateApsWebhookRequest.ts +110 -0
  106. package/src/models/UpdateApsWebhookResponse.ts +40 -0
  107. package/src/models/UpdateApsWebhookResponseBody.ts +69 -0
  108. package/src/models/UpdateApsWebhookShrinkRequest.ts +47 -0
  109. package/src/models/model.ts +32 -0
@@ -0,0 +1,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateApsWebhookResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 200
9
+ */
10
+ code?: string;
11
+ /**
12
+ * @example
13
+ * []
14
+ */
15
+ data?: string;
16
+ /**
17
+ * @example
18
+ * 200
19
+ */
20
+ httpStatusCode?: number;
21
+ /**
22
+ * @example
23
+ * OK
24
+ */
25
+ message?: string;
26
+ /**
27
+ * @example
28
+ * 1234567890abcdef
29
+ */
30
+ requestId?: string;
31
+ /**
32
+ * @example
33
+ * true
34
+ */
35
+ success?: boolean;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ code: 'Code',
39
+ data: 'Data',
40
+ httpStatusCode: 'HttpStatusCode',
41
+ message: 'Message',
42
+ requestId: 'RequestId',
43
+ success: 'Success',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ code: 'string',
50
+ data: 'string',
51
+ httpStatusCode: 'number',
52
+ message: 'string',
53
+ requestId: 'string',
54
+ success: 'boolean',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -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 CreateApsWebhookShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * amv-bp11q28kvl688****
12
+ */
13
+ DBClusterId?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * ResultExport
20
+ */
21
+ jobType?: string;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * cn-hangzhou
28
+ */
29
+ regionId?: string;
30
+ webhookShrink?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ DBClusterId: 'DBClusterId',
34
+ jobType: 'JobType',
35
+ regionId: 'RegionId',
36
+ webhookShrink: 'Webhook',
37
+ };
38
+ }
39
+
40
+ static types(): { [key: string]: any } {
41
+ return {
42
+ DBClusterId: 'string',
43
+ jobType: 'string',
44
+ regionId: 'string',
45
+ webhookShrink: '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,113 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateMaterializedViewRecommendRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * amv-8vbwm***
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
+ * @remarks
42
+ * This parameter is required.
43
+ *
44
+ * @example
45
+ * weekly
46
+ */
47
+ schedulingPolicy?: string;
48
+ slowQueryThreshold?: number;
49
+ /**
50
+ * @remarks
51
+ * This parameter is required.
52
+ *
53
+ * @example
54
+ * 10:00:00
55
+ */
56
+ specifiedTime?: string;
57
+ /**
58
+ * @remarks
59
+ * This parameter is required.
60
+ *
61
+ * @example
62
+ * task_n1
63
+ */
64
+ taskName?: string;
65
+ static names(): { [key: string]: string } {
66
+ return {
67
+ DBClusterId: 'DBClusterId',
68
+ description: 'Description',
69
+ minRewriteQueryCount: 'MinRewriteQueryCount',
70
+ minRewriteQueryPattern: 'MinRewriteQueryPattern',
71
+ ownerAccount: 'OwnerAccount',
72
+ ownerId: 'OwnerId',
73
+ regionId: 'RegionId',
74
+ resourceOwnerAccount: 'ResourceOwnerAccount',
75
+ resourceOwnerId: 'ResourceOwnerId',
76
+ scanQueriesRange: 'ScanQueriesRange',
77
+ schedulingDay: 'SchedulingDay',
78
+ schedulingPolicy: 'SchedulingPolicy',
79
+ slowQueryThreshold: 'SlowQueryThreshold',
80
+ specifiedTime: 'SpecifiedTime',
81
+ taskName: 'TaskName',
82
+ };
83
+ }
84
+
85
+ static types(): { [key: string]: any } {
86
+ return {
87
+ DBClusterId: 'string',
88
+ description: 'string',
89
+ minRewriteQueryCount: 'number',
90
+ minRewriteQueryPattern: 'number',
91
+ ownerAccount: 'string',
92
+ ownerId: 'number',
93
+ regionId: 'string',
94
+ resourceOwnerAccount: 'string',
95
+ resourceOwnerId: 'number',
96
+ scanQueriesRange: 'number',
97
+ schedulingDay: 'string',
98
+ schedulingPolicy: 'string',
99
+ slowQueryThreshold: 'number',
100
+ specifiedTime: 'string',
101
+ taskName: 'string',
102
+ };
103
+ }
104
+
105
+ validate() {
106
+ super.validate();
107
+ }
108
+
109
+ constructor(map?: { [key: string]: any }) {
110
+ super(map);
111
+ }
112
+ }
113
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateMaterializedViewRecommendResponseBody } from "./CreateMaterializedViewRecommendResponseBody";
4
+
5
+
6
+ export class CreateMaterializedViewRecommendResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateMaterializedViewRecommendResponseBody;
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: CreateMaterializedViewRecommendResponseBody,
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,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateMaterializedViewRecommendResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,54 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteApsWebhookRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * amv-uf63i4ij56b***
12
+ */
13
+ DBClusterId?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * cn-hangzhou
20
+ */
21
+ regionId?: string;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * ***1*595*
28
+ */
29
+ webhookId?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ DBClusterId: 'DBClusterId',
33
+ regionId: 'RegionId',
34
+ webhookId: 'WebhookId',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ DBClusterId: 'string',
41
+ regionId: 'string',
42
+ webhookId: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteApsWebhookResponseBody } from "./DeleteApsWebhookResponseBody";
4
+
5
+
6
+ export class DeleteApsWebhookResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteApsWebhookResponseBody;
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: DeleteApsWebhookResponseBody,
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,69 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteApsWebhookResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 200
9
+ */
10
+ code?: string;
11
+ /**
12
+ * @example
13
+ * amv-uf63i4ij56b***
14
+ */
15
+ DBClusterId?: string;
16
+ /**
17
+ * @example
18
+ * []
19
+ */
20
+ data?: string;
21
+ /**
22
+ * @example
23
+ * 200
24
+ */
25
+ httpStatusCode?: number;
26
+ message?: string;
27
+ /**
28
+ * @example
29
+ * exampleRequestId
30
+ */
31
+ requestId?: string;
32
+ /**
33
+ * @example
34
+ * true
35
+ */
36
+ success?: boolean;
37
+ static names(): { [key: string]: string } {
38
+ return {
39
+ code: 'Code',
40
+ DBClusterId: 'DBClusterId',
41
+ data: 'Data',
42
+ httpStatusCode: 'HttpStatusCode',
43
+ message: 'Message',
44
+ requestId: 'RequestId',
45
+ success: 'Success',
46
+ };
47
+ }
48
+
49
+ static types(): { [key: string]: any } {
50
+ return {
51
+ code: 'string',
52
+ DBClusterId: 'string',
53
+ data: 'string',
54
+ httpStatusCode: 'number',
55
+ message: 'string',
56
+ requestId: 'string',
57
+ success: 'boolean',
58
+ };
59
+ }
60
+
61
+ validate() {
62
+ super.validate();
63
+ }
64
+
65
+ constructor(map?: { [key: string]: any }) {
66
+ super(map);
67
+ }
68
+ }
69
+
@@ -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
  }