@alicloud/adb20211201 4.5.0 → 4.6.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 +163 -36
- package/dist/client.js +406 -36
- package/dist/client.js.map +1 -1
- package/dist/models/ConfigureResultExportRequest.d.ts +38 -0
- package/dist/models/ConfigureResultExportRequest.js.map +1 -1
- package/dist/models/ConfigureResultExportResponseBody.d.ts +57 -0
- package/dist/models/ConfigureResultExportResponseBody.js.map +1 -1
- package/dist/models/ConfigureResultExportShrinkRequest.d.ts +20 -0
- package/dist/models/ConfigureResultExportShrinkRequest.js.map +1 -1
- package/dist/models/CreateApsKafkaHudiJobRequest.d.ts +89 -0
- package/dist/models/CreateApsKafkaHudiJobRequest.js.map +1 -1
- package/dist/models/CreateApsKafkaHudiJobResponseBody.d.ts +18 -0
- package/dist/models/CreateApsKafkaHudiJobResponseBody.js.map +1 -1
- package/dist/models/CreateApsKafkaHudiJobShrinkRequest.d.ts +77 -0
- package/dist/models/CreateApsKafkaHudiJobShrinkRequest.js.map +1 -1
- package/dist/models/CreateApsWebhookRequest.d.ts +20 -0
- package/dist/models/CreateApsWebhookRequest.js.map +1 -1
- package/dist/models/CreateApsWebhookResponseBody.d.ts +18 -0
- package/dist/models/CreateApsWebhookResponseBody.js.map +1 -1
- package/dist/models/CreateApsWebhookShrinkRequest.d.ts +10 -0
- package/dist/models/CreateApsWebhookShrinkRequest.js.map +1 -1
- package/dist/models/CreateBackupRequest.d.ts +5 -0
- package/dist/models/CreateBackupRequest.js.map +1 -1
- package/dist/models/CreateDbresourceGroupRequest.d.ts +29 -0
- package/dist/models/CreateDbresourceGroupRequest.js +51 -1
- package/dist/models/CreateDbresourceGroupRequest.js.map +1 -1
- package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +1 -0
- package/dist/models/CreateDbresourceGroupShrinkRequest.js +2 -0
- package/dist/models/CreateDbresourceGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateMaterializedViewRecommendRequest.d.ts +55 -0
- package/dist/models/CreateMaterializedViewRecommendRequest.js.map +1 -1
- package/dist/models/DatabaseSummaryModel.d.ts +4 -0
- package/dist/models/DatabaseSummaryModel.js +8 -0
- package/dist/models/DatabaseSummaryModel.js.map +1 -1
- package/dist/models/DeleteApsWebhookRequest.d.ts +6 -0
- package/dist/models/DeleteApsWebhookRequest.js.map +1 -1
- package/dist/models/DeleteApsWebhookResponseBody.d.ts +22 -0
- package/dist/models/DeleteApsWebhookResponseBody.js.map +1 -1
- package/dist/models/DeleteMaterializedViewRecommendRequest.d.ts +45 -0
- package/dist/models/DeleteMaterializedViewRecommendRequest.js +70 -0
- package/dist/models/DeleteMaterializedViewRecommendRequest.js.map +1 -0
- package/dist/models/DeleteMaterializedViewRecommendResponse.d.ts +19 -0
- package/dist/models/DeleteMaterializedViewRecommendResponse.js +69 -0
- package/dist/models/DeleteMaterializedViewRecommendResponse.js.map +1 -0
- package/dist/models/DeleteMaterializedViewRecommendResponseBody.d.ts +21 -0
- package/dist/models/DeleteMaterializedViewRecommendResponseBody.js +58 -0
- package/dist/models/DeleteMaterializedViewRecommendResponseBody.js.map +1 -0
- package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +1 -0
- package/dist/models/DescribeAuditLogRecordsResponseBody.js +2 -0
- package/dist/models/DescribeAuditLogRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeDbclusterSslrequest.d.ts +9 -0
- package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
- package/dist/models/DescribeDbclusterSslresponseBody.d.ts +15 -0
- package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/DescribeDbresourceGroupResponseBody.d.ts +29 -0
- package/dist/models/DescribeDbresourceGroupResponseBody.js +51 -1
- package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
- package/dist/models/DescribeHistoryTasksRequest.d.ts +47 -0
- package/dist/models/DescribeHistoryTasksRequest.js.map +1 -1
- package/dist/models/DescribeHistoryTasksResponseBody.d.ts +139 -0
- package/dist/models/DescribeHistoryTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeHistoryTasksStatRequest.d.ts +37 -0
- package/dist/models/DescribeHistoryTasksStatRequest.js.map +1 -1
- package/dist/models/DescribeHistoryTasksStatResponseBody.d.ts +73 -0
- package/dist/models/DescribeHistoryTasksStatResponseBody.js.map +1 -1
- package/dist/models/DescribeMvRecommendSubTasksRequest.d.ts +87 -0
- package/dist/models/DescribeMvRecommendSubTasksRequest.js +74 -0
- package/dist/models/DescribeMvRecommendSubTasksRequest.js.map +1 -0
- package/dist/models/DescribeMvRecommendSubTasksResponse.d.ts +19 -0
- package/dist/models/DescribeMvRecommendSubTasksResponse.js +69 -0
- package/dist/models/DescribeMvRecommendSubTasksResponse.js.map +1 -0
- package/dist/models/DescribeMvRecommendSubTasksResponseBody.d.ts +92 -0
- package/dist/models/DescribeMvRecommendSubTasksResponseBody.js +98 -0
- package/dist/models/DescribeMvRecommendSubTasksResponseBody.js.map +1 -0
- package/dist/models/DescribeMvRecommendTasksRequest.d.ts +63 -0
- package/dist/models/DescribeMvRecommendTasksRequest.js +70 -0
- package/dist/models/DescribeMvRecommendTasksRequest.js.map +1 -0
- package/dist/models/DescribeMvRecommendTasksResponse.d.ts +19 -0
- package/dist/models/DescribeMvRecommendTasksResponse.js +69 -0
- package/dist/models/DescribeMvRecommendTasksResponse.js.map +1 -0
- package/dist/models/DescribeMvRecommendTasksResponseBody.d.ts +92 -0
- package/dist/models/DescribeMvRecommendTasksResponseBody.js +98 -0
- package/dist/models/DescribeMvRecommendTasksResponseBody.js.map +1 -0
- package/dist/models/DescribeMvrecommendResultsRequest.d.ts +84 -0
- package/dist/models/DescribeMvrecommendResultsRequest.js +76 -0
- package/dist/models/DescribeMvrecommendResultsRequest.js.map +1 -0
- package/dist/models/DescribeMvrecommendResultsResponse.d.ts +19 -0
- package/dist/models/DescribeMvrecommendResultsResponse.js +69 -0
- package/dist/models/DescribeMvrecommendResultsResponse.js.map +1 -0
- package/dist/models/DescribeMvrecommendResultsResponseBody.d.ts +92 -0
- package/dist/models/DescribeMvrecommendResultsResponseBody.js +98 -0
- package/dist/models/DescribeMvrecommendResultsResponseBody.js.map +1 -0
- package/dist/models/DescribeResultExportConfigRequest.d.ts +12 -0
- package/dist/models/DescribeResultExportConfigRequest.js.map +1 -1
- package/dist/models/DescribeResultExportConfigResponseBody.d.ts +57 -0
- package/dist/models/DescribeResultExportConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeSparkAuditLogRecordsRequest.d.ts +85 -1
- package/dist/models/DescribeSparkAuditLogRecordsRequest.js.map +1 -1
- package/dist/models/DescribeSparkAuditLogRecordsResponseBody.d.ts +77 -1
- package/dist/models/DescribeSparkAuditLogRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeViewJobsRequest.d.ts +102 -0
- package/dist/models/DescribeViewJobsRequest.js +74 -0
- package/dist/models/DescribeViewJobsRequest.js.map +1 -0
- package/dist/models/DescribeViewJobsResponse.d.ts +19 -0
- package/dist/models/DescribeViewJobsResponse.js +69 -0
- package/dist/models/DescribeViewJobsResponse.js.map +1 -0
- package/dist/models/DescribeViewJobsResponseBody.d.ts +92 -0
- package/dist/models/DescribeViewJobsResponseBody.js +98 -0
- package/dist/models/DescribeViewJobsResponseBody.js.map +1 -0
- package/dist/models/GetAdbsparkNecessaryRampermissionsRequest.d.ts +4 -0
- package/dist/models/GetAdbsparkNecessaryRampermissionsRequest.js.map +1 -1
- package/dist/models/GetAdbsparkNecessaryRampermissionsResponseBody.d.ts +50 -0
- package/dist/models/GetAdbsparkNecessaryRampermissionsResponseBody.js.map +1 -1
- package/dist/models/ListApsWebhookRequest.d.ts +8 -0
- package/dist/models/ListApsWebhookRequest.js.map +1 -1
- package/dist/models/ListApsWebhookResponseBody.d.ts +34 -0
- package/dist/models/ListApsWebhookResponseBody.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +13 -0
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/ModifyDbclusterSslresponseBody.d.ts +3 -0
- package/dist/models/ModifyDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/ModifyDbresourceGroupRequest.d.ts +29 -0
- package/dist/models/ModifyDbresourceGroupRequest.js +51 -1
- package/dist/models/ModifyDbresourceGroupRequest.js.map +1 -1
- package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +1 -0
- package/dist/models/ModifyDbresourceGroupShrinkRequest.js +2 -0
- package/dist/models/ModifyDbresourceGroupShrinkRequest.js.map +1 -1
- package/dist/models/ModifyMaterializedViewRecommendRequest.d.ts +61 -0
- package/dist/models/ModifyMaterializedViewRecommendRequest.js.map +1 -1
- package/dist/models/ModifyMaterializedViewRecommendResponseBody.d.ts +1 -1
- package/dist/models/ModifyMaterializedViewRequest.d.ts +33 -0
- package/dist/models/ModifyMaterializedViewRequest.js.map +1 -1
- package/dist/models/ModifySqlTemplatePositionRequest.d.ts +8 -0
- package/dist/models/ModifySqlTemplatePositionRequest.js.map +1 -1
- package/dist/models/ModifySqlTemplatePositionResponseBody.d.ts +15 -0
- package/dist/models/ModifySqlTemplatePositionResponseBody.js.map +1 -1
- package/dist/models/TableDetailModel.d.ts +6 -0
- package/dist/models/TableDetailModel.js +11 -0
- package/dist/models/TableDetailModel.js.map +1 -1
- package/dist/models/TableModel.d.ts +2 -0
- package/dist/models/TableModel.js +4 -0
- package/dist/models/TableModel.js.map +1 -1
- package/dist/models/TableSummaryModel.d.ts +2 -0
- package/dist/models/TableSummaryModel.js +4 -0
- package/dist/models/TableSummaryModel.js.map +1 -1
- package/dist/models/UpdateApsWebhookRequest.d.ts +21 -1
- package/dist/models/UpdateApsWebhookRequest.js.map +1 -1
- package/dist/models/UpdateApsWebhookResponseBody.d.ts +22 -0
- package/dist/models/UpdateApsWebhookResponseBody.js.map +1 -1
- package/dist/models/UpdateApsWebhookShrinkRequest.d.ts +8 -0
- package/dist/models/UpdateApsWebhookShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +93 -43
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +462 -36
- package/src/models/ConfigureResultExportRequest.ts +38 -0
- package/src/models/ConfigureResultExportResponseBody.ts +57 -0
- package/src/models/ConfigureResultExportShrinkRequest.ts +20 -0
- package/src/models/CreateApsKafkaHudiJobRequest.ts +89 -0
- package/src/models/CreateApsKafkaHudiJobResponseBody.ts +18 -0
- package/src/models/CreateApsKafkaHudiJobShrinkRequest.ts +77 -0
- package/src/models/CreateApsWebhookRequest.ts +20 -0
- package/src/models/CreateApsWebhookResponseBody.ts +18 -0
- package/src/models/CreateApsWebhookShrinkRequest.ts +10 -0
- package/src/models/CreateBackupRequest.ts +5 -0
- package/src/models/CreateDbresourceGroupRequest.ts +61 -0
- package/src/models/CreateDbresourceGroupShrinkRequest.ts +3 -0
- package/src/models/CreateMaterializedViewRecommendRequest.ts +55 -0
- package/src/models/DatabaseSummaryModel.ts +12 -0
- package/src/models/DeleteApsWebhookRequest.ts +6 -0
- package/src/models/DeleteApsWebhookResponseBody.ts +22 -0
- package/src/models/DeleteMaterializedViewRecommendRequest.ts +70 -0
- package/src/models/DeleteMaterializedViewRecommendResponse.ts +40 -0
- package/src/models/DeleteMaterializedViewRecommendResponseBody.ts +34 -0
- package/src/models/DescribeAuditLogRecordsResponseBody.ts +3 -0
- package/src/models/DescribeDbclusterSslrequest.ts +9 -0
- package/src/models/DescribeDbclusterSslresponseBody.ts +15 -0
- package/src/models/DescribeDbresourceGroupResponseBody.ts +61 -0
- package/src/models/DescribeHistoryTasksRequest.ts +47 -0
- package/src/models/DescribeHistoryTasksResponseBody.ts +139 -0
- package/src/models/DescribeHistoryTasksStatRequest.ts +37 -0
- package/src/models/DescribeHistoryTasksStatResponseBody.ts +73 -0
- package/src/models/DescribeMvRecommendSubTasksRequest.ts +116 -0
- package/src/models/DescribeMvRecommendSubTasksResponse.ts +40 -0
- package/src/models/DescribeMvRecommendSubTasksResponseBody.ts +135 -0
- package/src/models/DescribeMvRecommendTasksRequest.ts +88 -0
- package/src/models/DescribeMvRecommendTasksResponse.ts +40 -0
- package/src/models/DescribeMvRecommendTasksResponseBody.ts +135 -0
- package/src/models/DescribeMvrecommendResultsRequest.ts +115 -0
- package/src/models/DescribeMvrecommendResultsResponse.ts +40 -0
- package/src/models/DescribeMvrecommendResultsResponseBody.ts +135 -0
- package/src/models/DescribeResultExportConfigRequest.ts +12 -0
- package/src/models/DescribeResultExportConfigResponseBody.ts +57 -0
- package/src/models/DescribeSparkAuditLogRecordsRequest.ts +85 -1
- package/src/models/DescribeSparkAuditLogRecordsResponseBody.ts +77 -1
- package/src/models/DescribeViewJobsRequest.ts +131 -0
- package/src/models/DescribeViewJobsResponse.ts +40 -0
- package/src/models/DescribeViewJobsResponseBody.ts +135 -0
- package/src/models/GetAdbsparkNecessaryRampermissionsRequest.ts +4 -0
- package/src/models/GetAdbsparkNecessaryRampermissionsResponseBody.ts +50 -0
- package/src/models/ListApsWebhookRequest.ts +8 -0
- package/src/models/ListApsWebhookResponseBody.ts +34 -0
- package/src/models/ModifyDbclusterSslrequest.ts +13 -0
- package/src/models/ModifyDbclusterSslresponseBody.ts +3 -0
- package/src/models/ModifyDbresourceGroupRequest.ts +61 -0
- package/src/models/ModifyDbresourceGroupShrinkRequest.ts +3 -0
- package/src/models/ModifyMaterializedViewRecommendRequest.ts +61 -0
- package/src/models/ModifyMaterializedViewRecommendResponseBody.ts +1 -1
- package/src/models/ModifyMaterializedViewRequest.ts +33 -0
- package/src/models/ModifySqlTemplatePositionRequest.ts +8 -0
- package/src/models/ModifySqlTemplatePositionResponseBody.ts +15 -0
- package/src/models/TableDetailModel.ts +15 -0
- package/src/models/TableModel.ts +6 -0
- package/src/models/TableSummaryModel.ts +6 -0
- package/src/models/UpdateApsWebhookRequest.ts +21 -1
- package/src/models/UpdateApsWebhookResponseBody.ts +22 -0
- package/src/models/UpdateApsWebhookShrinkRequest.ts +8 -0
- package/src/models/model.ts +25 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { OpenStructRefreshJobModel } from "./OpenStructRefreshJobModel";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeViewJobsResponseBodyData extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The refresh tasks.
|
|
10
|
+
*/
|
|
11
|
+
mvRefreshJobModels?: OpenStructRefreshJobModel[];
|
|
12
|
+
/**
|
|
13
|
+
* @remarks
|
|
14
|
+
* The page number.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* 1
|
|
18
|
+
*/
|
|
19
|
+
pageNumber?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The number of entries returned on each page.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* 30
|
|
26
|
+
*/
|
|
27
|
+
pageSize?: number;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The total number of entries that are returned.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* 44
|
|
34
|
+
*/
|
|
35
|
+
totalCount?: number;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
mvRefreshJobModels: 'MvRefreshJobModels',
|
|
39
|
+
pageNumber: 'PageNumber',
|
|
40
|
+
pageSize: 'PageSize',
|
|
41
|
+
totalCount: 'TotalCount',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
static types(): { [key: string]: any } {
|
|
46
|
+
return {
|
|
47
|
+
mvRefreshJobModels: { 'type': 'array', 'itemType': OpenStructRefreshJobModel },
|
|
48
|
+
pageNumber: 'number',
|
|
49
|
+
pageSize: 'number',
|
|
50
|
+
totalCount: 'number',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
validate() {
|
|
55
|
+
if(Array.isArray(this.mvRefreshJobModels)) {
|
|
56
|
+
$dara.Model.validateArray(this.mvRefreshJobModels);
|
|
57
|
+
}
|
|
58
|
+
super.validate();
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
constructor(map?: { [key: string]: any }) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export class DescribeViewJobsResponseBody extends $dara.Model {
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The returned data.
|
|
70
|
+
*/
|
|
71
|
+
data?: DescribeViewJobsResponseBodyData;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The page number.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* 1
|
|
78
|
+
*/
|
|
79
|
+
pageNumber?: number;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The number of entries returned per page.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* 30
|
|
86
|
+
*/
|
|
87
|
+
pageSize?: number;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* Id of the request
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* 2A318054-6815-528A-AA94-8AC921******
|
|
94
|
+
*/
|
|
95
|
+
requestId?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The total number of entries that are returned.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* 44
|
|
102
|
+
*/
|
|
103
|
+
totalCount?: number;
|
|
104
|
+
static names(): { [key: string]: string } {
|
|
105
|
+
return {
|
|
106
|
+
data: 'Data',
|
|
107
|
+
pageNumber: 'PageNumber',
|
|
108
|
+
pageSize: 'PageSize',
|
|
109
|
+
requestId: 'RequestId',
|
|
110
|
+
totalCount: 'TotalCount',
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
static types(): { [key: string]: any } {
|
|
115
|
+
return {
|
|
116
|
+
data: DescribeViewJobsResponseBodyData,
|
|
117
|
+
pageNumber: 'number',
|
|
118
|
+
pageSize: 'number',
|
|
119
|
+
requestId: 'string',
|
|
120
|
+
totalCount: 'number',
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
validate() {
|
|
125
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
126
|
+
(this.data as any).validate();
|
|
127
|
+
}
|
|
128
|
+
super.validate();
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
constructor(map?: { [key: string]: any }) {
|
|
132
|
+
super(map);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
@@ -5,6 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetADBSparkNecessaryRAMPermissionsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The cluster ID.
|
|
9
|
+
*
|
|
10
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/129857.html) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
|
|
11
|
+
*
|
|
8
12
|
* This parameter is required.
|
|
9
13
|
*
|
|
10
14
|
* @example
|
|
@@ -4,31 +4,61 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetADBSparkNecessaryRAMPermissionsResponseBodyDataDeniedDetail extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the RAM action that failed the authentication.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* ListSparkApps
|
|
9
12
|
*/
|
|
10
13
|
action?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The type of the policy denial. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* * ImplicitDeny: Resource owner has not configured relevant permission policies for the current user, default denial of unauthorized operations.
|
|
19
|
+
* * ExplicitDeny: RAM policies configured by the resource owner explicitly deny the current user access to corresponding resources
|
|
20
|
+
*
|
|
12
21
|
* @example
|
|
13
22
|
* ImplicitDeny
|
|
14
23
|
*/
|
|
15
24
|
noPermissionType?: string;
|
|
16
25
|
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The type of the policy that causes the access denied error.
|
|
28
|
+
*
|
|
29
|
+
* * ControlPolicy: control policy
|
|
30
|
+
* * SessionPolicy: Temporary Token additional permission policy
|
|
31
|
+
* * AssumeRolePolicy: RAM role trust policy
|
|
32
|
+
* * AccountLevelIdentityBasedPolicy: Principal policy within account authorization scope, including custom policies and system policies
|
|
33
|
+
* * ResourceGroupLevelIdentityBasedPolicy: Principal policy within resource group authorization scope, including custom policies and system policies.
|
|
34
|
+
*
|
|
17
35
|
* @example
|
|
18
36
|
* ControlPolicy
|
|
19
37
|
*/
|
|
20
38
|
policyType?: string;
|
|
21
39
|
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The identity type of the current user. Valid values:
|
|
42
|
+
*
|
|
43
|
+
* * SubUser: a RAM user
|
|
44
|
+
* * AssumedRoleUser: a RAM role
|
|
45
|
+
*
|
|
22
46
|
* @example
|
|
23
47
|
* SubUser
|
|
24
48
|
*/
|
|
25
49
|
principalType?: string;
|
|
26
50
|
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* Authentication object information, can be the current user\\"s RAM account ID, or the role information corresponding to the current visitor.
|
|
53
|
+
*
|
|
27
54
|
* @example
|
|
28
55
|
* 223345695632****
|
|
29
56
|
*/
|
|
30
57
|
resourceAuthTargetInfo?: string;
|
|
31
58
|
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The ID of the resource owner.
|
|
61
|
+
*
|
|
32
62
|
* @example
|
|
33
63
|
* 11685695632****
|
|
34
64
|
*/
|
|
@@ -65,13 +95,26 @@ export class GetADBSparkNecessaryRAMPermissionsResponseBodyDataDeniedDetail exte
|
|
|
65
95
|
}
|
|
66
96
|
|
|
67
97
|
export class GetADBSparkNecessaryRAMPermissionsResponseBodyData extends $dara.Model {
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* When permission check fails, returns diagnostic information related to permission check failure.
|
|
101
|
+
*/
|
|
68
102
|
deniedDetail?: GetADBSparkNecessaryRAMPermissionsResponseBodyDataDeniedDetail;
|
|
69
103
|
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* Check whether the use has the basic permissions to use Analytic DB for Spark.
|
|
106
|
+
*
|
|
107
|
+
* * true: The check is passed and the basic permissions are granted.
|
|
108
|
+
* * false: The check fails and some permissions are missing.
|
|
109
|
+
*
|
|
70
110
|
* @example
|
|
71
111
|
* true
|
|
72
112
|
*/
|
|
73
113
|
passed?: boolean;
|
|
74
114
|
/**
|
|
115
|
+
* @remarks
|
|
116
|
+
* Based on diagnostic information, recommends configurations for customers to perform in the RAM system.
|
|
117
|
+
*
|
|
75
118
|
* @example
|
|
76
119
|
* Grant the system RAM policy \\"AliyunADBDeveloperAccess\\" to current RAM user can quickly solve this issue.
|
|
77
120
|
*/
|
|
@@ -105,8 +148,15 @@ export class GetADBSparkNecessaryRAMPermissionsResponseBodyData extends $dara.Mo
|
|
|
105
148
|
}
|
|
106
149
|
|
|
107
150
|
export class GetADBSparkNecessaryRAMPermissionsResponseBody extends $dara.Model {
|
|
151
|
+
/**
|
|
152
|
+
* @remarks
|
|
153
|
+
* The returned result.
|
|
154
|
+
*/
|
|
108
155
|
data?: GetADBSparkNecessaryRAMPermissionsResponseBodyData;
|
|
109
156
|
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The ID of the request.
|
|
159
|
+
*
|
|
110
160
|
* @example
|
|
111
161
|
* 642F3512-C628-5D0C-8815-F6670C****
|
|
112
162
|
*/
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListApsWebhookRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The cluster ID.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -12,12 +14,18 @@ export class ListApsWebhookRequest extends $dara.Model {
|
|
|
12
14
|
*/
|
|
13
15
|
DBClusterId?: string;
|
|
14
16
|
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* **JobType**\\
|
|
19
|
+
* Job type. SLS or OSS Export Task: ResultExport.
|
|
20
|
+
*
|
|
15
21
|
* @example
|
|
16
22
|
* ResultExport
|
|
17
23
|
*/
|
|
18
24
|
jobType?: string;
|
|
19
25
|
/**
|
|
20
26
|
* @remarks
|
|
27
|
+
* The region ID.
|
|
28
|
+
*
|
|
21
29
|
* This parameter is required.
|
|
22
30
|
*
|
|
23
31
|
* @example
|
|
@@ -4,26 +4,41 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListApsWebhookResponseBodyWebhook extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Signing key
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* your_secret_key
|
|
9
12
|
*/
|
|
10
13
|
key?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The name of the webhook.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* webhook_name
|
|
14
20
|
*/
|
|
15
21
|
name?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The request URL.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* https://example.com/webhook
|
|
19
28
|
*/
|
|
20
29
|
url?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The ID of the webhook that you want to delete.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* **35***
|
|
24
36
|
*/
|
|
25
37
|
webhookId?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* Webhook type.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* dingtalk
|
|
29
44
|
*/
|
|
@@ -59,30 +74,49 @@ export class ListApsWebhookResponseBodyWebhook extends $dara.Model {
|
|
|
59
74
|
|
|
60
75
|
export class ListApsWebhookResponseBody extends $dara.Model {
|
|
61
76
|
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* API status or POP error code.
|
|
79
|
+
*
|
|
62
80
|
* @example
|
|
63
81
|
* 200
|
|
64
82
|
*/
|
|
65
83
|
code?: string;
|
|
66
84
|
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The HTTP status code.
|
|
87
|
+
*
|
|
67
88
|
* @example
|
|
68
89
|
* 200
|
|
69
90
|
*/
|
|
70
91
|
httpStatusCode?: number;
|
|
71
92
|
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The returned message.
|
|
95
|
+
*
|
|
72
96
|
* @example
|
|
73
97
|
* OK
|
|
74
98
|
*/
|
|
75
99
|
message?: string;
|
|
76
100
|
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* The unique ID of the request.
|
|
103
|
+
*
|
|
77
104
|
* @example
|
|
78
105
|
* exampleRequestId
|
|
79
106
|
*/
|
|
80
107
|
requestId?: string;
|
|
81
108
|
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* Indicates whether the request was successful.
|
|
111
|
+
*
|
|
82
112
|
* @example
|
|
83
113
|
* True
|
|
84
114
|
*/
|
|
85
115
|
success?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The array of webhooks.
|
|
119
|
+
*/
|
|
86
120
|
webhook?: ListApsWebhookResponseBodyWebhook[];
|
|
87
121
|
static names(): { [key: string]: string } {
|
|
88
122
|
return {
|
|
@@ -4,12 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The private or public endpoint for which the server certificate needs to be created or updated.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* amv-***********.ads.aliyuncs.com
|
|
9
12
|
*/
|
|
10
13
|
connectionString?: string;
|
|
11
14
|
/**
|
|
12
15
|
* @remarks
|
|
16
|
+
* The cluster ID.
|
|
17
|
+
*
|
|
13
18
|
* This parameter is required.
|
|
14
19
|
*
|
|
15
20
|
* @example
|
|
@@ -18,6 +23,11 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
18
23
|
DBClusterId?: string;
|
|
19
24
|
/**
|
|
20
25
|
* @remarks
|
|
26
|
+
* Specifies whether to enable SSL encryption. Valid values:
|
|
27
|
+
*
|
|
28
|
+
* * **true**: enabled
|
|
29
|
+
* * **false**: disabled
|
|
30
|
+
*
|
|
21
31
|
* This parameter is required.
|
|
22
32
|
*
|
|
23
33
|
* @example
|
|
@@ -25,6 +35,9 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
25
35
|
*/
|
|
26
36
|
enableSSL?: boolean;
|
|
27
37
|
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The region ID.
|
|
40
|
+
*
|
|
28
41
|
* @example
|
|
29
42
|
* cn-hangzhou
|
|
30
43
|
*/
|
|
@@ -2,6 +2,61 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class ModifyDBResourceGroupRequestGpuElasticPlanRules extends $dara.Model {
|
|
6
|
+
endCronExpression?: string;
|
|
7
|
+
startCronExpression?: string;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
endCronExpression: 'EndCronExpression',
|
|
11
|
+
startCronExpression: 'StartCronExpression',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
endCronExpression: 'string',
|
|
18
|
+
startCronExpression: 'string',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export class ModifyDBResourceGroupRequestGpuElasticPlan extends $dara.Model {
|
|
32
|
+
enabled?: boolean;
|
|
33
|
+
rules?: ModifyDBResourceGroupRequestGpuElasticPlanRules[];
|
|
34
|
+
static names(): { [key: string]: string } {
|
|
35
|
+
return {
|
|
36
|
+
enabled: 'Enabled',
|
|
37
|
+
rules: 'Rules',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
enabled: 'boolean',
|
|
44
|
+
rules: { 'type': 'array', 'itemType': ModifyDBResourceGroupRequestGpuElasticPlanRules },
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
if(Array.isArray(this.rules)) {
|
|
50
|
+
$dara.Model.validateArray(this.rules);
|
|
51
|
+
}
|
|
52
|
+
super.validate();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
constructor(map?: { [key: string]: any }) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
5
60
|
export class ModifyDBResourceGroupRequestRayConfigAppConfigImageSelector extends $dara.Model {
|
|
6
61
|
/**
|
|
7
62
|
* @example
|
|
@@ -312,6 +367,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
312
367
|
* {\\"spark.adb.version\\":\\"3.5\\"}
|
|
313
368
|
*/
|
|
314
369
|
engineParams?: { [key: string]: any };
|
|
370
|
+
gpuElasticPlan?: ModifyDBResourceGroupRequestGpuElasticPlan;
|
|
315
371
|
/**
|
|
316
372
|
* @remarks
|
|
317
373
|
* The name of the resource group.
|
|
@@ -410,6 +466,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
410
466
|
DBClusterId: 'DBClusterId',
|
|
411
467
|
enableSpot: 'EnableSpot',
|
|
412
468
|
engineParams: 'EngineParams',
|
|
469
|
+
gpuElasticPlan: 'GpuElasticPlan',
|
|
413
470
|
groupName: 'GroupName',
|
|
414
471
|
groupType: 'GroupType',
|
|
415
472
|
maxClusterCount: 'MaxClusterCount',
|
|
@@ -435,6 +492,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
435
492
|
DBClusterId: 'string',
|
|
436
493
|
enableSpot: 'boolean',
|
|
437
494
|
engineParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
495
|
+
gpuElasticPlan: ModifyDBResourceGroupRequestGpuElasticPlan,
|
|
438
496
|
groupName: 'string',
|
|
439
497
|
groupType: 'string',
|
|
440
498
|
maxClusterCount: 'number',
|
|
@@ -456,6 +514,9 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
456
514
|
if(this.engineParams) {
|
|
457
515
|
$dara.Model.validateMap(this.engineParams);
|
|
458
516
|
}
|
|
517
|
+
if(this.gpuElasticPlan && typeof (this.gpuElasticPlan as any).validate === 'function') {
|
|
518
|
+
(this.gpuElasticPlan as any).validate();
|
|
519
|
+
}
|
|
459
520
|
if(this.rayConfig && typeof (this.rayConfig as any).validate === 'function') {
|
|
460
521
|
(this.rayConfig as any).validate();
|
|
461
522
|
}
|
|
@@ -50,6 +50,7 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
|
|
|
50
50
|
* {\\"spark.adb.version\\":\\"3.5\\"}
|
|
51
51
|
*/
|
|
52
52
|
engineParamsShrink?: string;
|
|
53
|
+
gpuElasticPlanShrink?: string;
|
|
53
54
|
/**
|
|
54
55
|
* @remarks
|
|
55
56
|
* The name of the resource group.
|
|
@@ -148,6 +149,7 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
|
|
|
148
149
|
DBClusterId: 'DBClusterId',
|
|
149
150
|
enableSpot: 'EnableSpot',
|
|
150
151
|
engineParamsShrink: 'EngineParams',
|
|
152
|
+
gpuElasticPlanShrink: 'GpuElasticPlan',
|
|
151
153
|
groupName: 'GroupName',
|
|
152
154
|
groupType: 'GroupType',
|
|
153
155
|
maxClusterCount: 'MaxClusterCount',
|
|
@@ -173,6 +175,7 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
|
|
|
173
175
|
DBClusterId: 'string',
|
|
174
176
|
enableSpot: 'boolean',
|
|
175
177
|
engineParamsShrink: 'string',
|
|
178
|
+
gpuElasticPlanShrink: 'string',
|
|
176
179
|
groupName: 'string',
|
|
177
180
|
groupType: 'string',
|
|
178
181
|
maxClusterCount: 'number',
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyMaterializedViewRecommendRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The cluster ID.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -12,15 +14,35 @@ export class ModifyMaterializedViewRecommendRequest extends $dara.Model {
|
|
|
12
14
|
*/
|
|
13
15
|
DBClusterId?: string;
|
|
14
16
|
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The description of the recommendation task.
|
|
19
|
+
*
|
|
15
20
|
* @example
|
|
16
21
|
* task desc
|
|
17
22
|
*/
|
|
18
23
|
description?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* Pattern匹配的最少慢查询个数
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* 3
|
|
30
|
+
*/
|
|
19
31
|
minRewriteQueryCount?: number;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* 最小可加速的Pattern数量
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* 5
|
|
38
|
+
*/
|
|
20
39
|
minRewriteQueryPattern?: number;
|
|
21
40
|
ownerAccount?: string;
|
|
22
41
|
ownerId?: number;
|
|
23
42
|
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The region ID.
|
|
45
|
+
*
|
|
24
46
|
* @example
|
|
25
47
|
* cn-hangzhou
|
|
26
48
|
*/
|
|
@@ -28,28 +50,67 @@ export class ModifyMaterializedViewRecommendRequest extends $dara.Model {
|
|
|
28
50
|
resourceOwnerAccount?: string;
|
|
29
51
|
resourceOwnerId?: number;
|
|
30
52
|
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The time range for scanning data. Unit: days. Default value: 3.
|
|
55
|
+
*
|
|
31
56
|
* @example
|
|
32
57
|
* 3
|
|
33
58
|
*/
|
|
34
59
|
scanQueriesRange?: number;
|
|
35
60
|
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* This parameter is valid only when SchedulingPolicy is set to weekly. Valid values:
|
|
63
|
+
*
|
|
64
|
+
* * Monday
|
|
65
|
+
* * Tuesday
|
|
66
|
+
* * Wednesday
|
|
67
|
+
* * Thursday
|
|
68
|
+
* * Friday
|
|
69
|
+
* * Saturday
|
|
70
|
+
* * Sunday
|
|
71
|
+
*
|
|
72
|
+
* Separate multiple days with commas (,).
|
|
73
|
+
*
|
|
36
74
|
* @example
|
|
37
75
|
* Monday;Wednesday
|
|
38
76
|
*/
|
|
39
77
|
schedulingDay?: string;
|
|
40
78
|
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The scheduling policy of the recommendation task. Valid values:
|
|
81
|
+
*
|
|
82
|
+
* * daily
|
|
83
|
+
* * weekly
|
|
84
|
+
*
|
|
85
|
+
* <!---->
|
|
86
|
+
*
|
|
87
|
+
* *
|
|
88
|
+
* *
|
|
89
|
+
*
|
|
41
90
|
* @example
|
|
42
91
|
* weekly
|
|
43
92
|
*/
|
|
44
93
|
schedulingPolicy?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* 慢查询阈值
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* 2
|
|
100
|
+
*/
|
|
45
101
|
slowQueryThreshold?: number;
|
|
46
102
|
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The execution time of the recommendation task. Specify the time in the HH:MM:SS format.
|
|
105
|
+
*
|
|
47
106
|
* @example
|
|
48
107
|
* 10:00:00
|
|
49
108
|
*/
|
|
50
109
|
specifiedTime?: string;
|
|
51
110
|
/**
|
|
52
111
|
* @remarks
|
|
112
|
+
* The name of the recommendation task.
|
|
113
|
+
*
|
|
53
114
|
* This parameter is required.
|
|
54
115
|
*
|
|
55
116
|
* @example
|