@alicloud/adb20211201 4.3.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.
- package/dist/client.d.ts +135 -0
- package/dist/client.js +577 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApsWebhookRequest.d.ts +76 -0
- package/dist/models/CreateApsWebhookRequest.js +92 -0
- package/dist/models/CreateApsWebhookRequest.js.map +1 -0
- package/dist/models/CreateApsWebhookResponse.d.ts +19 -0
- package/dist/models/CreateApsWebhookResponse.js +69 -0
- package/dist/models/CreateApsWebhookResponse.js.map +1 -0
- package/dist/models/CreateApsWebhookResponseBody.d.ts +43 -0
- package/dist/models/CreateApsWebhookResponseBody.js +68 -0
- package/dist/models/CreateApsWebhookResponseBody.js.map +1 -0
- package/dist/models/CreateApsWebhookShrinkRequest.d.ts +38 -0
- package/dist/models/CreateApsWebhookShrinkRequest.js +64 -0
- package/dist/models/CreateApsWebhookShrinkRequest.js.map +1 -0
- package/dist/models/CreateMaterializedViewRecommendRequest.d.ts +72 -0
- package/dist/models/CreateMaterializedViewRecommendRequest.js +86 -0
- package/dist/models/CreateMaterializedViewRecommendRequest.js.map +1 -0
- package/dist/models/CreateMaterializedViewRecommendResponse.d.ts +19 -0
- package/dist/models/CreateMaterializedViewRecommendResponse.js +69 -0
- package/dist/models/CreateMaterializedViewRecommendResponse.js.map +1 -0
- package/dist/models/CreateMaterializedViewRecommendResponseBody.d.ts +21 -0
- package/dist/models/CreateMaterializedViewRecommendResponseBody.js +58 -0
- package/dist/models/CreateMaterializedViewRecommendResponseBody.js.map +1 -0
- package/dist/models/DeleteApsWebhookRequest.d.ts +37 -0
- package/dist/models/DeleteApsWebhookRequest.js +62 -0
- package/dist/models/DeleteApsWebhookRequest.js.map +1 -0
- package/dist/models/DeleteApsWebhookResponse.d.ts +19 -0
- package/dist/models/DeleteApsWebhookResponse.js +69 -0
- package/dist/models/DeleteApsWebhookResponse.js.map +1 -0
- package/dist/models/DeleteApsWebhookResponseBody.d.ts +44 -0
- package/dist/models/DeleteApsWebhookResponseBody.js +70 -0
- package/dist/models/DeleteApsWebhookResponseBody.js.map +1 -0
- package/dist/models/DescribeDbresourceGroupResponseBody.d.ts +122 -0
- package/dist/models/DescribeDbresourceGroupResponseBody.js +81 -1
- package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
- package/dist/models/DescribeJobResourceUsageResponseBody.d.ts +1 -0
- package/dist/models/DescribeJobResourceUsageResponseBody.js +2 -0
- package/dist/models/DescribeJobResourceUsageResponseBody.js.map +1 -1
- package/dist/models/DescribeSparkAuditLogRecordsRequest.d.ts +111 -0
- package/dist/models/DescribeSparkAuditLogRecordsRequest.js +98 -0
- package/dist/models/DescribeSparkAuditLogRecordsRequest.js.map +1 -0
- package/dist/models/DescribeSparkAuditLogRecordsResponse.d.ts +19 -0
- package/dist/models/DescribeSparkAuditLogRecordsResponse.js +69 -0
- package/dist/models/DescribeSparkAuditLogRecordsResponse.js.map +1 -0
- package/dist/models/DescribeSparkAuditLogRecordsResponseBody.d.ts +142 -0
- package/dist/models/DescribeSparkAuditLogRecordsResponseBody.js +120 -0
- package/dist/models/DescribeSparkAuditLogRecordsResponseBody.js.map +1 -0
- package/dist/models/ListApsWebhookRequest.d.ts +34 -0
- package/dist/models/ListApsWebhookRequest.js +62 -0
- package/dist/models/ListApsWebhookRequest.js.map +1 -0
- package/dist/models/ListApsWebhookResponse.d.ts +19 -0
- package/dist/models/ListApsWebhookResponse.js +69 -0
- package/dist/models/ListApsWebhookResponse.js.map +1 -0
- package/dist/models/ListApsWebhookResponseBody.d.ts +76 -0
- package/dist/models/ListApsWebhookResponseBody.js +98 -0
- package/dist/models/ListApsWebhookResponseBody.js.map +1 -0
- package/dist/models/ModifyDbresourceGroupRequest.d.ts +74 -0
- package/dist/models/ModifyDbresourceGroupRequest.js +81 -1
- package/dist/models/ModifyDbresourceGroupRequest.js.map +1 -1
- package/dist/models/ModifyMaterializedViewRecommendRequest.d.ts +66 -0
- package/dist/models/ModifyMaterializedViewRecommendRequest.js +86 -0
- package/dist/models/ModifyMaterializedViewRecommendRequest.js.map +1 -0
- package/dist/models/ModifyMaterializedViewRecommendResponse.d.ts +19 -0
- package/dist/models/ModifyMaterializedViewRecommendResponse.js +69 -0
- package/dist/models/ModifyMaterializedViewRecommendResponse.js.map +1 -0
- package/dist/models/ModifyMaterializedViewRecommendResponseBody.d.ts +21 -0
- package/dist/models/ModifyMaterializedViewRecommendResponseBody.js +58 -0
- package/dist/models/ModifyMaterializedViewRecommendResponseBody.js.map +1 -0
- package/dist/models/ModifyMaterializedViewRequest.d.ts +71 -0
- package/dist/models/ModifyMaterializedViewRequest.js +82 -0
- package/dist/models/ModifyMaterializedViewRequest.js.map +1 -0
- package/dist/models/ModifyMaterializedViewResponse.d.ts +19 -0
- package/dist/models/ModifyMaterializedViewResponse.js +69 -0
- package/dist/models/ModifyMaterializedViewResponse.js.map +1 -0
- package/dist/models/ModifyMaterializedViewResponseBody.d.ts +21 -0
- package/dist/models/ModifyMaterializedViewResponseBody.js +58 -0
- package/dist/models/ModifyMaterializedViewResponseBody.js.map +1 -0
- package/dist/models/ModifySqlTemplatePositionRequest.d.ts +45 -0
- package/dist/models/ModifySqlTemplatePositionRequest.js +64 -0
- package/dist/models/ModifySqlTemplatePositionRequest.js.map +1 -0
- package/dist/models/ModifySqlTemplatePositionResponse.d.ts +19 -0
- package/dist/models/ModifySqlTemplatePositionResponse.js +69 -0
- package/dist/models/ModifySqlTemplatePositionResponse.js.map +1 -0
- package/dist/models/ModifySqlTemplatePositionResponseBody.d.ts +28 -0
- package/dist/models/ModifySqlTemplatePositionResponseBody.js +62 -0
- package/dist/models/ModifySqlTemplatePositionResponseBody.js.map +1 -0
- package/dist/models/UpdateApsWebhookRequest.d.ts +72 -0
- package/dist/models/UpdateApsWebhookRequest.js +92 -0
- package/dist/models/UpdateApsWebhookRequest.js.map +1 -0
- package/dist/models/UpdateApsWebhookResponse.d.ts +19 -0
- package/dist/models/UpdateApsWebhookResponse.js +69 -0
- package/dist/models/UpdateApsWebhookResponse.js.map +1 -0
- package/dist/models/UpdateApsWebhookResponseBody.d.ts +44 -0
- package/dist/models/UpdateApsWebhookResponseBody.js +70 -0
- package/dist/models/UpdateApsWebhookResponseBody.js.map +1 -0
- package/dist/models/UpdateApsWebhookShrinkRequest.d.ts +30 -0
- package/dist/models/UpdateApsWebhookShrinkRequest.js +62 -0
- package/dist/models/UpdateApsWebhookShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +39 -0
- package/dist/models/model.js +110 -31
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +678 -0
- package/src/models/CreateApsWebhookRequest.ts +114 -0
- package/src/models/CreateApsWebhookResponse.ts +40 -0
- package/src/models/CreateApsWebhookResponseBody.ts +66 -0
- package/src/models/CreateApsWebhookShrinkRequest.ts +57 -0
- package/src/models/CreateMaterializedViewRecommendRequest.ts +113 -0
- package/src/models/CreateMaterializedViewRecommendResponse.ts +40 -0
- package/src/models/CreateMaterializedViewRecommendResponseBody.ts +34 -0
- package/src/models/DeleteApsWebhookRequest.ts +54 -0
- package/src/models/DeleteApsWebhookResponse.ts +40 -0
- package/src/models/DeleteApsWebhookResponseBody.ts +69 -0
- package/src/models/DescribeDbresourceGroupResponseBody.ts +175 -0
- package/src/models/DescribeJobResourceUsageResponseBody.ts +3 -0
- package/src/models/DescribeSparkAuditLogRecordsRequest.ts +164 -0
- package/src/models/DescribeSparkAuditLogRecordsResponse.ts +40 -0
- package/src/models/DescribeSparkAuditLogRecordsResponseBody.ts +208 -0
- package/src/models/ListApsWebhookRequest.ts +51 -0
- package/src/models/ListApsWebhookResponse.ts +40 -0
- package/src/models/ListApsWebhookResponseBody.ts +120 -0
- package/src/models/ModifyDbresourceGroupRequest.ts +127 -0
- package/src/models/ModifyMaterializedViewRecommendRequest.ts +107 -0
- package/src/models/ModifyMaterializedViewRecommendResponse.ts +40 -0
- package/src/models/ModifyMaterializedViewRecommendResponseBody.ts +34 -0
- package/src/models/ModifyMaterializedViewRequest.ts +108 -0
- package/src/models/ModifyMaterializedViewResponse.ts +40 -0
- package/src/models/ModifyMaterializedViewResponseBody.ts +34 -0
- package/src/models/ModifySqlTemplatePositionRequest.ts +64 -0
- package/src/models/ModifySqlTemplatePositionResponse.ts +40 -0
- package/src/models/ModifySqlTemplatePositionResponseBody.ts +45 -0
- package/src/models/UpdateApsWebhookRequest.ts +110 -0
- package/src/models/UpdateApsWebhookResponse.ts +40 -0
- package/src/models/UpdateApsWebhookResponseBody.ts +69 -0
- package/src/models/UpdateApsWebhookShrinkRequest.ts +47 -0
- package/src/models/model.ts +39 -0
|
@@ -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
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyMaterializedViewRecommendResponseBody } from "./ModifyMaterializedViewRecommendResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyMaterializedViewRecommendResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyMaterializedViewRecommendResponseBody;
|
|
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: ModifyMaterializedViewRecommendResponseBody,
|
|
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 ModifyMaterializedViewRecommendResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Id of the request
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* F0983B43-B2EC-536A-8791-142B5CF1E9B6
|
|
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,108 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyMaterializedViewRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* amv-******
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* myDB
|
|
20
|
+
*/
|
|
21
|
+
dbName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* false
|
|
25
|
+
*/
|
|
26
|
+
enableDelayAlert?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* false
|
|
30
|
+
*/
|
|
31
|
+
enableFailureAlert?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* res_1
|
|
35
|
+
*/
|
|
36
|
+
groupName?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* 2
|
|
40
|
+
*/
|
|
41
|
+
latencyTolerance?: number;
|
|
42
|
+
ownerAccount?: string;
|
|
43
|
+
ownerId?: number;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* true
|
|
47
|
+
*/
|
|
48
|
+
queryWrite?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* cn-beijing
|
|
52
|
+
*/
|
|
53
|
+
regionId?: string;
|
|
54
|
+
resourceOwnerAccount?: string;
|
|
55
|
+
resourceOwnerId?: number;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* This parameter is required.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* mv_1
|
|
62
|
+
*/
|
|
63
|
+
viewName?: string;
|
|
64
|
+
static names(): { [key: string]: string } {
|
|
65
|
+
return {
|
|
66
|
+
DBClusterId: 'DBClusterId',
|
|
67
|
+
dbName: 'DbName',
|
|
68
|
+
enableDelayAlert: 'EnableDelayAlert',
|
|
69
|
+
enableFailureAlert: 'EnableFailureAlert',
|
|
70
|
+
groupName: 'GroupName',
|
|
71
|
+
latencyTolerance: 'LatencyTolerance',
|
|
72
|
+
ownerAccount: 'OwnerAccount',
|
|
73
|
+
ownerId: 'OwnerId',
|
|
74
|
+
queryWrite: 'QueryWrite',
|
|
75
|
+
regionId: 'RegionId',
|
|
76
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
77
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
78
|
+
viewName: 'ViewName',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
static types(): { [key: string]: any } {
|
|
83
|
+
return {
|
|
84
|
+
DBClusterId: 'string',
|
|
85
|
+
dbName: 'string',
|
|
86
|
+
enableDelayAlert: 'boolean',
|
|
87
|
+
enableFailureAlert: 'boolean',
|
|
88
|
+
groupName: 'string',
|
|
89
|
+
latencyTolerance: 'number',
|
|
90
|
+
ownerAccount: 'string',
|
|
91
|
+
ownerId: 'number',
|
|
92
|
+
queryWrite: 'boolean',
|
|
93
|
+
regionId: 'string',
|
|
94
|
+
resourceOwnerAccount: 'string',
|
|
95
|
+
resourceOwnerId: 'number',
|
|
96
|
+
viewName: 'string',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
validate() {
|
|
101
|
+
super.validate();
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
constructor(map?: { [key: string]: any }) {
|
|
105
|
+
super(map);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyMaterializedViewResponseBody } from "./ModifyMaterializedViewResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyMaterializedViewResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyMaterializedViewResponseBody;
|
|
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: ModifyMaterializedViewResponseBody,
|
|
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 ModifyMaterializedViewResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Id of the request
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* CF8BA882-C9D8-5BEF-AAA3-AD03875F3E18
|
|
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
|
+
|