@alicloud/adb20211201 4.2.4 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +45 -0
- package/dist/client.js +161 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ConfigureResultExportRequest.d.ts +90 -0
- package/dist/models/ConfigureResultExportRequest.js +118 -0
- package/dist/models/ConfigureResultExportRequest.js.map +1 -0
- package/dist/models/ConfigureResultExportResponse.d.ts +19 -0
- package/dist/models/ConfigureResultExportResponse.js +69 -0
- package/dist/models/ConfigureResultExportResponse.js.map +1 -0
- package/dist/models/ConfigureResultExportResponseBody.d.ts +112 -0
- package/dist/models/ConfigureResultExportResponseBody.js +146 -0
- package/dist/models/ConfigureResultExportResponseBody.js.map +1 -0
- package/dist/models/ConfigureResultExportShrinkRequest.d.ts +36 -0
- package/dist/models/ConfigureResultExportShrinkRequest.js +66 -0
- package/dist/models/ConfigureResultExportShrinkRequest.js.map +1 -0
- package/dist/models/CreateApsKafkaHudiJobRequest.d.ts +0 -3
- package/dist/models/CreateApsKafkaHudiJobRequest.js.map +1 -1
- package/dist/models/CreateApsKafkaHudiJobShrinkRequest.d.ts +0 -3
- package/dist/models/CreateApsKafkaHudiJobShrinkRequest.js.map +1 -1
- package/dist/models/CreateBackupRequest.d.ts +30 -0
- package/dist/models/CreateBackupRequest.js +68 -0
- package/dist/models/CreateBackupRequest.js.map +1 -0
- package/dist/models/CreateBackupResponse.d.ts +19 -0
- package/dist/models/CreateBackupResponse.js +69 -0
- package/dist/models/CreateBackupResponse.js.map +1 -0
- package/dist/models/CreateBackupResponseBody.d.ts +21 -0
- package/dist/models/CreateBackupResponseBody.js +58 -0
- package/dist/models/CreateBackupResponseBody.js.map +1 -0
- package/dist/models/CreateDbclusterRequest.d.ts +1 -0
- package/dist/models/CreateDbclusterRequest.js +2 -0
- package/dist/models/CreateDbclusterRequest.js.map +1 -1
- package/dist/models/DescribeResultExportConfigRequest.d.ts +34 -0
- package/dist/models/DescribeResultExportConfigRequest.js +62 -0
- package/dist/models/DescribeResultExportConfigRequest.js.map +1 -0
- package/dist/models/DescribeResultExportConfigResponse.d.ts +19 -0
- package/dist/models/DescribeResultExportConfigResponse.js +69 -0
- package/dist/models/DescribeResultExportConfigResponse.js.map +1 -0
- package/dist/models/DescribeResultExportConfigResponseBody.d.ts +112 -0
- package/dist/models/DescribeResultExportConfigResponseBody.js +146 -0
- package/dist/models/DescribeResultExportConfigResponseBody.js.map +1 -0
- package/dist/models/OpenStructMvDetailModel.d.ts +3 -0
- package/dist/models/OpenStructMvDetailModel.js +6 -0
- package/dist/models/OpenStructMvDetailModel.js.map +1 -1
- package/dist/models/OpenStructMvRecommendSubTaskModel.d.ts +3 -0
- package/dist/models/OpenStructMvRecommendSubTaskModel.js +6 -0
- package/dist/models/OpenStructMvRecommendSubTaskModel.js.map +1 -1
- package/dist/models/OpenStructMvRecommendTaskModel.d.ts +3 -0
- package/dist/models/OpenStructMvRecommendTaskModel.js +6 -0
- package/dist/models/OpenStructMvRecommendTaskModel.js.map +1 -1
- package/dist/models/model.d.ts +18 -0
- package/dist/models/model.js +56 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +184 -0
- package/src/models/ConfigureResultExportRequest.ts +145 -0
- package/src/models/ConfigureResultExportResponse.ts +40 -0
- package/src/models/ConfigureResultExportResponseBody.ts +186 -0
- package/src/models/ConfigureResultExportShrinkRequest.ts +57 -0
- package/src/models/CreateApsKafkaHudiJobRequest.ts +0 -3
- package/src/models/CreateApsKafkaHudiJobShrinkRequest.ts +0 -3
- package/src/models/CreateBackupRequest.ts +53 -0
- package/src/models/CreateBackupResponse.ts +40 -0
- package/src/models/CreateBackupResponseBody.ts +34 -0
- package/src/models/CreateDbclusterRequest.ts +3 -0
- package/src/models/DescribeResultExportConfigRequest.ts +51 -0
- package/src/models/DescribeResultExportConfigResponse.ts +40 -0
- package/src/models/DescribeResultExportConfigResponseBody.ts +186 -0
- package/src/models/OpenStructMvDetailModel.ts +9 -0
- package/src/models/OpenStructMvRecommendSubTaskModel.ts +9 -0
- package/src/models/OpenStructMvRecommendTaskModel.ts +9 -0
- package/src/models/model.ts +18 -0
package/src/client.ts
CHANGED
|
@@ -617,6 +617,74 @@ export default class Client extends OpenApi {
|
|
|
617
617
|
return await this.checkSampleDataSetWithOptions(request, runtime);
|
|
618
618
|
}
|
|
619
619
|
|
|
620
|
+
/**
|
|
621
|
+
* 配置导出的SLS 或者OSS 信息,实例级别唯一,遵循一次配置多次使用的原则
|
|
622
|
+
*
|
|
623
|
+
* @param tmpReq - ConfigureResultExportRequest
|
|
624
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
625
|
+
* @returns ConfigureResultExportResponse
|
|
626
|
+
*/
|
|
627
|
+
async configureResultExportWithOptions(tmpReq: $_model.ConfigureResultExportRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ConfigureResultExportResponse> {
|
|
628
|
+
tmpReq.validate();
|
|
629
|
+
let request = new $_model.ConfigureResultExportShrinkRequest({ });
|
|
630
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
631
|
+
if (!$dara.isNull(tmpReq.ossInfo)) {
|
|
632
|
+
request.ossInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ossInfo, "OssInfo", "json");
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
if (!$dara.isNull(tmpReq.slsInfo)) {
|
|
636
|
+
request.slsInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.slsInfo, "SlsInfo", "json");
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
let body : {[key: string ]: any} = { };
|
|
640
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
641
|
+
body["DBClusterId"] = request.DBClusterId;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
if (!$dara.isNull(request.exportType)) {
|
|
645
|
+
body["ExportType"] = request.exportType;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
if (!$dara.isNull(request.ossInfoShrink)) {
|
|
649
|
+
body["OssInfo"] = request.ossInfoShrink;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
if (!$dara.isNull(request.regionId)) {
|
|
653
|
+
body["RegionId"] = request.regionId;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
if (!$dara.isNull(request.slsInfoShrink)) {
|
|
657
|
+
body["SlsInfo"] = request.slsInfoShrink;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
661
|
+
body: OpenApiUtil.parseToMap(body),
|
|
662
|
+
});
|
|
663
|
+
let params = new $OpenApiUtil.Params({
|
|
664
|
+
action: "ConfigureResultExport",
|
|
665
|
+
version: "2021-12-01",
|
|
666
|
+
protocol: "HTTPS",
|
|
667
|
+
pathname: "/",
|
|
668
|
+
method: "POST",
|
|
669
|
+
authType: "AK",
|
|
670
|
+
style: "RPC",
|
|
671
|
+
reqBodyType: "formData",
|
|
672
|
+
bodyType: "json",
|
|
673
|
+
});
|
|
674
|
+
return $dara.cast<$_model.ConfigureResultExportResponse>(await this.callApi(params, req, runtime), new $_model.ConfigureResultExportResponse({}));
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* 配置导出的SLS 或者OSS 信息,实例级别唯一,遵循一次配置多次使用的原则
|
|
679
|
+
*
|
|
680
|
+
* @param request - ConfigureResultExportRequest
|
|
681
|
+
* @returns ConfigureResultExportResponse
|
|
682
|
+
*/
|
|
683
|
+
async configureResultExport(request: $_model.ConfigureResultExportRequest): Promise<$_model.ConfigureResultExportResponse> {
|
|
684
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
685
|
+
return await this.configureResultExportWithOptions(request, runtime);
|
|
686
|
+
}
|
|
687
|
+
|
|
620
688
|
/**
|
|
621
689
|
* Creates an AnalyticDB Pipeline Service (APS) job.
|
|
622
690
|
*
|
|
@@ -1405,6 +1473,68 @@ export default class Client extends OpenApi {
|
|
|
1405
1473
|
return await this.createApsSlsADBJobWithOptions(request, runtime);
|
|
1406
1474
|
}
|
|
1407
1475
|
|
|
1476
|
+
/**
|
|
1477
|
+
* 手动创建备份集
|
|
1478
|
+
*
|
|
1479
|
+
* @param request - CreateBackupRequest
|
|
1480
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1481
|
+
* @returns CreateBackupResponse
|
|
1482
|
+
*/
|
|
1483
|
+
async createBackupWithOptions(request: $_model.CreateBackupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateBackupResponse> {
|
|
1484
|
+
request.validate();
|
|
1485
|
+
let query = { };
|
|
1486
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
1487
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
if (!$dara.isNull(request.ownerAccount)) {
|
|
1491
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1495
|
+
query["OwnerId"] = request.ownerId;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
if (!$dara.isNull(request.regionId)) {
|
|
1499
|
+
query["RegionId"] = request.regionId;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1503
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1507
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1511
|
+
query: OpenApiUtil.query(query),
|
|
1512
|
+
});
|
|
1513
|
+
let params = new $OpenApiUtil.Params({
|
|
1514
|
+
action: "CreateBackup",
|
|
1515
|
+
version: "2021-12-01",
|
|
1516
|
+
protocol: "HTTPS",
|
|
1517
|
+
pathname: "/",
|
|
1518
|
+
method: "POST",
|
|
1519
|
+
authType: "AK",
|
|
1520
|
+
style: "RPC",
|
|
1521
|
+
reqBodyType: "formData",
|
|
1522
|
+
bodyType: "json",
|
|
1523
|
+
});
|
|
1524
|
+
return $dara.cast<$_model.CreateBackupResponse>(await this.callApi(params, req, runtime), new $_model.CreateBackupResponse({}));
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* 手动创建备份集
|
|
1529
|
+
*
|
|
1530
|
+
* @param request - CreateBackupRequest
|
|
1531
|
+
* @returns CreateBackupResponse
|
|
1532
|
+
*/
|
|
1533
|
+
async createBackup(request: $_model.CreateBackupRequest): Promise<$_model.CreateBackupResponse> {
|
|
1534
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1535
|
+
return await this.createBackupWithOptions(request, runtime);
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1408
1538
|
/**
|
|
1409
1539
|
* Creates an AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
1410
1540
|
*
|
|
@@ -1450,6 +1580,10 @@ export default class Client extends OpenApi {
|
|
|
1450
1580
|
query["EnableDefaultResourcePool"] = request.enableDefaultResourcePool;
|
|
1451
1581
|
}
|
|
1452
1582
|
|
|
1583
|
+
if (!$dara.isNull(request.enableSSL)) {
|
|
1584
|
+
query["EnableSSL"] = request.enableSSL;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1453
1587
|
if (!$dara.isNull(request.kmsId)) {
|
|
1454
1588
|
query["KmsId"] = request.kmsId;
|
|
1455
1589
|
}
|
|
@@ -7433,6 +7567,56 @@ export default class Client extends OpenApi {
|
|
|
7433
7567
|
return await this.describeResourceGroupSpecWithOptions(request, runtime);
|
|
7434
7568
|
}
|
|
7435
7569
|
|
|
7570
|
+
/**
|
|
7571
|
+
* 获取用户配置的导出信息
|
|
7572
|
+
*
|
|
7573
|
+
* @param request - DescribeResultExportConfigRequest
|
|
7574
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7575
|
+
* @returns DescribeResultExportConfigResponse
|
|
7576
|
+
*/
|
|
7577
|
+
async describeResultExportConfigWithOptions(request: $_model.DescribeResultExportConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeResultExportConfigResponse> {
|
|
7578
|
+
request.validate();
|
|
7579
|
+
let query = { };
|
|
7580
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
7581
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
7582
|
+
}
|
|
7583
|
+
|
|
7584
|
+
if (!$dara.isNull(request.exportType)) {
|
|
7585
|
+
query["ExportType"] = request.exportType;
|
|
7586
|
+
}
|
|
7587
|
+
|
|
7588
|
+
if (!$dara.isNull(request.regionId)) {
|
|
7589
|
+
query["RegionId"] = request.regionId;
|
|
7590
|
+
}
|
|
7591
|
+
|
|
7592
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7593
|
+
query: OpenApiUtil.query(query),
|
|
7594
|
+
});
|
|
7595
|
+
let params = new $OpenApiUtil.Params({
|
|
7596
|
+
action: "DescribeResultExportConfig",
|
|
7597
|
+
version: "2021-12-01",
|
|
7598
|
+
protocol: "HTTPS",
|
|
7599
|
+
pathname: "/",
|
|
7600
|
+
method: "POST",
|
|
7601
|
+
authType: "AK",
|
|
7602
|
+
style: "RPC",
|
|
7603
|
+
reqBodyType: "formData",
|
|
7604
|
+
bodyType: "json",
|
|
7605
|
+
});
|
|
7606
|
+
return $dara.cast<$_model.DescribeResultExportConfigResponse>(await this.callApi(params, req, runtime), new $_model.DescribeResultExportConfigResponse({}));
|
|
7607
|
+
}
|
|
7608
|
+
|
|
7609
|
+
/**
|
|
7610
|
+
* 获取用户配置的导出信息
|
|
7611
|
+
*
|
|
7612
|
+
* @param request - DescribeResultExportConfigRequest
|
|
7613
|
+
* @returns DescribeResultExportConfigResponse
|
|
7614
|
+
*/
|
|
7615
|
+
async describeResultExportConfig(request: $_model.DescribeResultExportConfigRequest): Promise<$_model.DescribeResultExportConfigResponse> {
|
|
7616
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7617
|
+
return await this.describeResultExportConfigWithOptions(request, runtime);
|
|
7618
|
+
}
|
|
7619
|
+
|
|
7436
7620
|
/**
|
|
7437
7621
|
* Queries a list of SQL patterns for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster within a time range.
|
|
7438
7622
|
*
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ConfigureResultExportRequestOssInfo extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* oss://testBucketName/data_result
|
|
9
|
+
*/
|
|
10
|
+
exportBasePath?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* aps
|
|
14
|
+
*/
|
|
15
|
+
resourceGroup?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 10
|
|
19
|
+
*/
|
|
20
|
+
resultFileTtl?: number;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
exportBasePath: 'ExportBasePath',
|
|
24
|
+
resourceGroup: 'ResourceGroup',
|
|
25
|
+
resultFileTtl: 'ResultFileTtl',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
exportBasePath: 'string',
|
|
32
|
+
resourceGroup: 'string',
|
|
33
|
+
resultFileTtl: 'number',
|
|
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 ConfigureResultExportRequestSlsInfo extends $dara.Model {
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* 10
|
|
50
|
+
*/
|
|
51
|
+
logstoreTtl?: number;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* aps
|
|
55
|
+
*/
|
|
56
|
+
resourceGroup?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* test-project
|
|
60
|
+
*/
|
|
61
|
+
slsProject?: string;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
logstoreTtl: 'LogstoreTtl',
|
|
65
|
+
resourceGroup: 'ResourceGroup',
|
|
66
|
+
slsProject: 'SlsProject',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static types(): { [key: string]: any } {
|
|
71
|
+
return {
|
|
72
|
+
logstoreTtl: 'number',
|
|
73
|
+
resourceGroup: 'string',
|
|
74
|
+
slsProject: 'string',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
validate() {
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class ConfigureResultExportRequest extends $dara.Model {
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* This parameter is required.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* amv-wz9509beptiz****
|
|
94
|
+
*/
|
|
95
|
+
DBClusterId?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @example
|
|
98
|
+
* SLS
|
|
99
|
+
*/
|
|
100
|
+
exportType?: string;
|
|
101
|
+
ossInfo?: ConfigureResultExportRequestOssInfo;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* This parameter is required.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* cn-shenzhen
|
|
108
|
+
*/
|
|
109
|
+
regionId?: string;
|
|
110
|
+
slsInfo?: ConfigureResultExportRequestSlsInfo;
|
|
111
|
+
static names(): { [key: string]: string } {
|
|
112
|
+
return {
|
|
113
|
+
DBClusterId: 'DBClusterId',
|
|
114
|
+
exportType: 'ExportType',
|
|
115
|
+
ossInfo: 'OssInfo',
|
|
116
|
+
regionId: 'RegionId',
|
|
117
|
+
slsInfo: 'SlsInfo',
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
static types(): { [key: string]: any } {
|
|
122
|
+
return {
|
|
123
|
+
DBClusterId: 'string',
|
|
124
|
+
exportType: 'string',
|
|
125
|
+
ossInfo: ConfigureResultExportRequestOssInfo,
|
|
126
|
+
regionId: 'string',
|
|
127
|
+
slsInfo: ConfigureResultExportRequestSlsInfo,
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
validate() {
|
|
132
|
+
if(this.ossInfo && typeof (this.ossInfo as any).validate === 'function') {
|
|
133
|
+
(this.ossInfo as any).validate();
|
|
134
|
+
}
|
|
135
|
+
if(this.slsInfo && typeof (this.slsInfo as any).validate === 'function') {
|
|
136
|
+
(this.slsInfo as any).validate();
|
|
137
|
+
}
|
|
138
|
+
super.validate();
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
constructor(map?: { [key: string]: any }) {
|
|
142
|
+
super(map);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ConfigureResultExportResponseBody } from "./ConfigureResultExportResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ConfigureResultExportResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ConfigureResultExportResponseBody;
|
|
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: ConfigureResultExportResponseBody,
|
|
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,186 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ConfigureResultExportResponseBodyDataOssInfo extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* oss://testBucketName/data_result
|
|
9
|
+
*/
|
|
10
|
+
exportBasePath?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* aps
|
|
14
|
+
*/
|
|
15
|
+
resourceGroup?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 10
|
|
19
|
+
*/
|
|
20
|
+
resultFileTtl?: number;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
exportBasePath: 'ExportBasePath',
|
|
24
|
+
resourceGroup: 'ResourceGroup',
|
|
25
|
+
resultFileTtl: 'ResultFileTtl',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
exportBasePath: 'string',
|
|
32
|
+
resourceGroup: 'string',
|
|
33
|
+
resultFileTtl: 'number',
|
|
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 ConfigureResultExportResponseBodyDataSlsInfo extends $dara.Model {
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* 10
|
|
50
|
+
*/
|
|
51
|
+
logstoreTtl?: number;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* aps
|
|
55
|
+
*/
|
|
56
|
+
resourceGroup?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* test-project
|
|
60
|
+
*/
|
|
61
|
+
slsProject?: string;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
logstoreTtl: 'LogstoreTtl',
|
|
65
|
+
resourceGroup: 'ResourceGroup',
|
|
66
|
+
slsProject: 'SlsProject',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static types(): { [key: string]: any } {
|
|
71
|
+
return {
|
|
72
|
+
logstoreTtl: 'number',
|
|
73
|
+
resourceGroup: 'string',
|
|
74
|
+
slsProject: 'string',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
validate() {
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class ConfigureResultExportResponseBodyData extends $dara.Model {
|
|
88
|
+
/**
|
|
89
|
+
* @example
|
|
90
|
+
* SLS
|
|
91
|
+
*/
|
|
92
|
+
exportType?: string;
|
|
93
|
+
ossInfo?: ConfigureResultExportResponseBodyDataOssInfo;
|
|
94
|
+
slsInfo?: ConfigureResultExportResponseBodyDataSlsInfo;
|
|
95
|
+
static names(): { [key: string]: string } {
|
|
96
|
+
return {
|
|
97
|
+
exportType: 'ExportType',
|
|
98
|
+
ossInfo: 'OssInfo',
|
|
99
|
+
slsInfo: 'SlsInfo',
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
static types(): { [key: string]: any } {
|
|
104
|
+
return {
|
|
105
|
+
exportType: 'string',
|
|
106
|
+
ossInfo: ConfigureResultExportResponseBodyDataOssInfo,
|
|
107
|
+
slsInfo: ConfigureResultExportResponseBodyDataSlsInfo,
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
validate() {
|
|
112
|
+
if(this.ossInfo && typeof (this.ossInfo as any).validate === 'function') {
|
|
113
|
+
(this.ossInfo as any).validate();
|
|
114
|
+
}
|
|
115
|
+
if(this.slsInfo && typeof (this.slsInfo as any).validate === 'function') {
|
|
116
|
+
(this.slsInfo as any).validate();
|
|
117
|
+
}
|
|
118
|
+
super.validate();
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
constructor(map?: { [key: string]: any }) {
|
|
122
|
+
super(map);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export class ConfigureResultExportResponseBody extends $dara.Model {
|
|
127
|
+
/**
|
|
128
|
+
* @example
|
|
129
|
+
* 200
|
|
130
|
+
*/
|
|
131
|
+
code?: string;
|
|
132
|
+
data?: ConfigureResultExportResponseBodyData;
|
|
133
|
+
/**
|
|
134
|
+
* @example
|
|
135
|
+
* 200
|
|
136
|
+
*/
|
|
137
|
+
httpStatusCode?: number;
|
|
138
|
+
/**
|
|
139
|
+
* @example
|
|
140
|
+
* OK
|
|
141
|
+
*/
|
|
142
|
+
message?: string;
|
|
143
|
+
/**
|
|
144
|
+
* @example
|
|
145
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
146
|
+
*/
|
|
147
|
+
requestId?: string;
|
|
148
|
+
/**
|
|
149
|
+
* @example
|
|
150
|
+
* true
|
|
151
|
+
*/
|
|
152
|
+
success?: boolean;
|
|
153
|
+
static names(): { [key: string]: string } {
|
|
154
|
+
return {
|
|
155
|
+
code: 'Code',
|
|
156
|
+
data: 'Data',
|
|
157
|
+
httpStatusCode: 'HttpStatusCode',
|
|
158
|
+
message: 'Message',
|
|
159
|
+
requestId: 'RequestId',
|
|
160
|
+
success: 'Success',
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
static types(): { [key: string]: any } {
|
|
165
|
+
return {
|
|
166
|
+
code: 'string',
|
|
167
|
+
data: ConfigureResultExportResponseBodyData,
|
|
168
|
+
httpStatusCode: 'number',
|
|
169
|
+
message: 'string',
|
|
170
|
+
requestId: 'string',
|
|
171
|
+
success: 'boolean',
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
validate() {
|
|
176
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
177
|
+
(this.data as any).validate();
|
|
178
|
+
}
|
|
179
|
+
super.validate();
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
constructor(map?: { [key: string]: any }) {
|
|
183
|
+
super(map);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
@@ -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 ConfigureResultExportShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* amv-wz9509beptiz****
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* SLS
|
|
17
|
+
*/
|
|
18
|
+
exportType?: string;
|
|
19
|
+
ossInfoShrink?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* This parameter is required.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* cn-shenzhen
|
|
26
|
+
*/
|
|
27
|
+
regionId?: string;
|
|
28
|
+
slsInfoShrink?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
DBClusterId: 'DBClusterId',
|
|
32
|
+
exportType: 'ExportType',
|
|
33
|
+
ossInfoShrink: 'OssInfo',
|
|
34
|
+
regionId: 'RegionId',
|
|
35
|
+
slsInfoShrink: 'SlsInfo',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static types(): { [key: string]: any } {
|
|
40
|
+
return {
|
|
41
|
+
DBClusterId: 'string',
|
|
42
|
+
exportType: 'string',
|
|
43
|
+
ossInfoShrink: 'string',
|
|
44
|
+
regionId: 'string',
|
|
45
|
+
slsInfoShrink: '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,53 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateBackupRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* amv-wz9or2xawpnc****
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
ownerAccount?: string;
|
|
15
|
+
ownerId?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* cn-hangzhou
|
|
19
|
+
*/
|
|
20
|
+
regionId?: string;
|
|
21
|
+
resourceOwnerAccount?: string;
|
|
22
|
+
resourceOwnerId?: number;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
DBClusterId: 'DBClusterId',
|
|
26
|
+
ownerAccount: 'OwnerAccount',
|
|
27
|
+
ownerId: 'OwnerId',
|
|
28
|
+
regionId: 'RegionId',
|
|
29
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
30
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
static types(): { [key: string]: any } {
|
|
35
|
+
return {
|
|
36
|
+
DBClusterId: 'string',
|
|
37
|
+
ownerAccount: 'string',
|
|
38
|
+
ownerId: 'number',
|
|
39
|
+
regionId: 'string',
|
|
40
|
+
resourceOwnerAccount: 'string',
|
|
41
|
+
resourceOwnerId: 'number',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
validate() {
|
|
46
|
+
super.validate();
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
constructor(map?: { [key: string]: any }) {
|
|
50
|
+
super(map);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|