@alicloud/adb20211201 2.0.6 → 2.0.8
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 +200 -10
- package/dist/client.js +181 -774
- package/dist/client.js.map +1 -1
- package/package.json +1 -2
- package/src/client.ts +366 -782
package/dist/client.js
CHANGED
|
@@ -41,7 +41,6 @@ exports.UpdateSparkTemplateFileResponseBodyData = exports.SubmitSparkAppResponse
|
|
|
41
41
|
/**
|
|
42
42
|
*/
|
|
43
43
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
44
|
-
const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
|
|
45
44
|
const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
|
|
46
45
|
const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
|
|
47
46
|
const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
|
|
@@ -1337,6 +1336,7 @@ exports.CreateDBClusterResponse = CreateDBClusterResponse;
|
|
|
1337
1336
|
class CreateDBResourceGroupRequest extends $tea.Model {
|
|
1338
1337
|
static names() {
|
|
1339
1338
|
return {
|
|
1339
|
+
autoStopInterval: 'AutoStopInterval',
|
|
1340
1340
|
clusterMode: 'ClusterMode',
|
|
1341
1341
|
clusterSizeResource: 'ClusterSizeResource',
|
|
1342
1342
|
DBClusterId: 'DBClusterId',
|
|
@@ -1359,6 +1359,7 @@ class CreateDBResourceGroupRequest extends $tea.Model {
|
|
|
1359
1359
|
}
|
|
1360
1360
|
static types() {
|
|
1361
1361
|
return {
|
|
1362
|
+
autoStopInterval: 'string',
|
|
1362
1363
|
clusterMode: 'string',
|
|
1363
1364
|
clusterSizeResource: 'string',
|
|
1364
1365
|
DBClusterId: 'string',
|
|
@@ -1387,6 +1388,7 @@ exports.CreateDBResourceGroupRequest = CreateDBResourceGroupRequest;
|
|
|
1387
1388
|
class CreateDBResourceGroupShrinkRequest extends $tea.Model {
|
|
1388
1389
|
static names() {
|
|
1389
1390
|
return {
|
|
1391
|
+
autoStopInterval: 'AutoStopInterval',
|
|
1390
1392
|
clusterMode: 'ClusterMode',
|
|
1391
1393
|
clusterSizeResource: 'ClusterSizeResource',
|
|
1392
1394
|
DBClusterId: 'DBClusterId',
|
|
@@ -1409,6 +1411,7 @@ class CreateDBResourceGroupShrinkRequest extends $tea.Model {
|
|
|
1409
1411
|
}
|
|
1410
1412
|
static types() {
|
|
1411
1413
|
return {
|
|
1414
|
+
autoStopInterval: 'string',
|
|
1412
1415
|
clusterMode: 'string',
|
|
1413
1416
|
clusterSizeResource: 'string',
|
|
1414
1417
|
DBClusterId: 'string',
|
|
@@ -3125,19 +3128,23 @@ exports.DescribeBackupsRequest = DescribeBackupsRequest;
|
|
|
3125
3128
|
class DescribeBackupsResponseBody extends $tea.Model {
|
|
3126
3129
|
static names() {
|
|
3127
3130
|
return {
|
|
3131
|
+
freeBackupSize: 'FreeBackupSize',
|
|
3128
3132
|
items: 'Items',
|
|
3129
3133
|
pageNumber: 'PageNumber',
|
|
3130
3134
|
pageSize: 'PageSize',
|
|
3131
3135
|
requestId: 'RequestId',
|
|
3136
|
+
totalBackupSize: 'TotalBackupSize',
|
|
3132
3137
|
totalCount: 'TotalCount',
|
|
3133
3138
|
};
|
|
3134
3139
|
}
|
|
3135
3140
|
static types() {
|
|
3136
3141
|
return {
|
|
3142
|
+
freeBackupSize: 'number',
|
|
3137
3143
|
items: DescribeBackupsResponseBodyItems,
|
|
3138
3144
|
pageNumber: 'string',
|
|
3139
3145
|
pageSize: 'string',
|
|
3140
3146
|
requestId: 'string',
|
|
3147
|
+
totalBackupSize: 'number',
|
|
3141
3148
|
totalCount: 'string',
|
|
3142
3149
|
};
|
|
3143
3150
|
}
|
|
@@ -8201,6 +8208,7 @@ exports.ModifyDBClusterMaintainTimeResponse = ModifyDBClusterMaintainTimeRespons
|
|
|
8201
8208
|
class ModifyDBResourceGroupRequest extends $tea.Model {
|
|
8202
8209
|
static names() {
|
|
8203
8210
|
return {
|
|
8211
|
+
autoStopInterval: 'AutoStopInterval',
|
|
8204
8212
|
clusterMode: 'ClusterMode',
|
|
8205
8213
|
clusterSizeResource: 'ClusterSizeResource',
|
|
8206
8214
|
DBClusterId: 'DBClusterId',
|
|
@@ -8217,11 +8225,13 @@ class ModifyDBResourceGroupRequest extends $tea.Model {
|
|
|
8217
8225
|
regionId: 'RegionId',
|
|
8218
8226
|
rules: 'Rules',
|
|
8219
8227
|
specName: 'SpecName',
|
|
8228
|
+
status: 'Status',
|
|
8220
8229
|
targetResourceGroupName: 'TargetResourceGroupName',
|
|
8221
8230
|
};
|
|
8222
8231
|
}
|
|
8223
8232
|
static types() {
|
|
8224
8233
|
return {
|
|
8234
|
+
autoStopInterval: 'string',
|
|
8225
8235
|
clusterMode: 'string',
|
|
8226
8236
|
clusterSizeResource: 'string',
|
|
8227
8237
|
DBClusterId: 'string',
|
|
@@ -8238,6 +8248,7 @@ class ModifyDBResourceGroupRequest extends $tea.Model {
|
|
|
8238
8248
|
regionId: 'string',
|
|
8239
8249
|
rules: { 'type': 'array', 'itemType': ModifyDBResourceGroupRequestRules },
|
|
8240
8250
|
specName: 'string',
|
|
8251
|
+
status: 'string',
|
|
8241
8252
|
targetResourceGroupName: 'string',
|
|
8242
8253
|
};
|
|
8243
8254
|
}
|
|
@@ -8249,6 +8260,7 @@ exports.ModifyDBResourceGroupRequest = ModifyDBResourceGroupRequest;
|
|
|
8249
8260
|
class ModifyDBResourceGroupShrinkRequest extends $tea.Model {
|
|
8250
8261
|
static names() {
|
|
8251
8262
|
return {
|
|
8263
|
+
autoStopInterval: 'AutoStopInterval',
|
|
8252
8264
|
clusterMode: 'ClusterMode',
|
|
8253
8265
|
clusterSizeResource: 'ClusterSizeResource',
|
|
8254
8266
|
DBClusterId: 'DBClusterId',
|
|
@@ -8265,11 +8277,13 @@ class ModifyDBResourceGroupShrinkRequest extends $tea.Model {
|
|
|
8265
8277
|
regionId: 'RegionId',
|
|
8266
8278
|
rulesShrink: 'Rules',
|
|
8267
8279
|
specName: 'SpecName',
|
|
8280
|
+
status: 'Status',
|
|
8268
8281
|
targetResourceGroupName: 'TargetResourceGroupName',
|
|
8269
8282
|
};
|
|
8270
8283
|
}
|
|
8271
8284
|
static types() {
|
|
8272
8285
|
return {
|
|
8286
|
+
autoStopInterval: 'string',
|
|
8273
8287
|
clusterMode: 'string',
|
|
8274
8288
|
clusterSizeResource: 'string',
|
|
8275
8289
|
DBClusterId: 'string',
|
|
@@ -8286,6 +8300,7 @@ class ModifyDBResourceGroupShrinkRequest extends $tea.Model {
|
|
|
8286
8300
|
regionId: 'string',
|
|
8287
8301
|
rulesShrink: 'string',
|
|
8288
8302
|
specName: 'string',
|
|
8303
|
+
status: 'string',
|
|
8289
8304
|
targetResourceGroupName: 'string',
|
|
8290
8305
|
};
|
|
8291
8306
|
}
|
|
@@ -9786,6 +9801,7 @@ class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
|
|
|
9786
9801
|
static names() {
|
|
9787
9802
|
return {
|
|
9788
9803
|
backupEndTime: 'BackupEndTime',
|
|
9804
|
+
backupExpiredTime: 'BackupExpiredTime',
|
|
9789
9805
|
backupId: 'BackupId',
|
|
9790
9806
|
backupMethod: 'BackupMethod',
|
|
9791
9807
|
backupSize: 'BackupSize',
|
|
@@ -9797,6 +9813,7 @@ class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
|
|
|
9797
9813
|
static types() {
|
|
9798
9814
|
return {
|
|
9799
9815
|
backupEndTime: 'string',
|
|
9816
|
+
backupExpiredTime: 'string',
|
|
9800
9817
|
backupId: 'string',
|
|
9801
9818
|
backupMethod: 'string',
|
|
9802
9819
|
backupSize: 'number',
|
|
@@ -10731,6 +10748,7 @@ exports.DescribeDBResourceGroupResponseBodyGroupsInfoRules = DescribeDBResourceG
|
|
|
10731
10748
|
class DescribeDBResourceGroupResponseBodyGroupsInfo extends $tea.Model {
|
|
10732
10749
|
static names() {
|
|
10733
10750
|
return {
|
|
10751
|
+
autoStopInterval: 'AutoStopInterval',
|
|
10734
10752
|
clusterMode: 'ClusterMode',
|
|
10735
10753
|
clusterSizeResource: 'ClusterSizeResource',
|
|
10736
10754
|
createTime: 'CreateTime',
|
|
@@ -10758,6 +10776,7 @@ class DescribeDBResourceGroupResponseBodyGroupsInfo extends $tea.Model {
|
|
|
10758
10776
|
}
|
|
10759
10777
|
static types() {
|
|
10760
10778
|
return {
|
|
10779
|
+
autoStopInterval: 'string',
|
|
10761
10780
|
clusterMode: 'string',
|
|
10762
10781
|
clusterSizeResource: 'string',
|
|
10763
10782
|
createTime: 'string',
|
|
@@ -11219,12 +11238,18 @@ exports.DescribePatternPerformanceResponseBodyPerformances = DescribePatternPerf
|
|
|
11219
11238
|
class DescribePerformanceViewAttributeResponseBodyViewDetailCategoriesKeys extends $tea.Model {
|
|
11220
11239
|
static names() {
|
|
11221
11240
|
return {
|
|
11241
|
+
enableAutoMc: 'EnableAutoMc',
|
|
11242
|
+
engine: 'Engine',
|
|
11243
|
+
groupType: 'GroupType',
|
|
11222
11244
|
keyName: 'KeyName',
|
|
11223
11245
|
selected: 'Selected',
|
|
11224
11246
|
};
|
|
11225
11247
|
}
|
|
11226
11248
|
static types() {
|
|
11227
11249
|
return {
|
|
11250
|
+
enableAutoMc: 'boolean',
|
|
11251
|
+
engine: { 'type': 'array', 'itemType': 'string' },
|
|
11252
|
+
groupType: { 'type': 'array', 'itemType': 'string' },
|
|
11228
11253
|
keyName: 'string',
|
|
11229
11254
|
selected: 'boolean',
|
|
11230
11255
|
};
|
|
@@ -12271,9 +12296,6 @@ exports.UpdateSparkTemplateFileResponseBodyData = UpdateSparkTemplateFileRespons
|
|
|
12271
12296
|
class Client extends openapi_client_1.default {
|
|
12272
12297
|
constructor(config) {
|
|
12273
12298
|
super(config);
|
|
12274
|
-
this._productId = "adb";
|
|
12275
|
-
let gatewayClient = new gateway_pop_1.default();
|
|
12276
|
-
this._spi = gatewayClient;
|
|
12277
12299
|
this._endpointRule = "regional";
|
|
12278
12300
|
this._endpointMap = {
|
|
12279
12301
|
'cn-qingdao': "adb.aliyuncs.com",
|
|
@@ -12369,12 +12391,7 @@ class Client extends openapi_client_1.default {
|
|
|
12369
12391
|
reqBodyType: "formData",
|
|
12370
12392
|
bodyType: "json",
|
|
12371
12393
|
});
|
|
12372
|
-
|
|
12373
|
-
return $tea.cast(await this.callApi(params, req, runtime), new AllocateClusterPublicConnectionResponse({}));
|
|
12374
|
-
}
|
|
12375
|
-
else {
|
|
12376
|
-
return $tea.cast(await this.execute(params, req, runtime), new AllocateClusterPublicConnectionResponse({}));
|
|
12377
|
-
}
|
|
12394
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AllocateClusterPublicConnectionResponse({}));
|
|
12378
12395
|
}
|
|
12379
12396
|
/**
|
|
12380
12397
|
* Applies for a public endpoint for an AnalyticDB for MySQL cluster.
|
|
@@ -12419,12 +12436,7 @@ class Client extends openapi_client_1.default {
|
|
|
12419
12436
|
reqBodyType: "formData",
|
|
12420
12437
|
bodyType: "json",
|
|
12421
12438
|
});
|
|
12422
|
-
|
|
12423
|
-
return $tea.cast(await this.callApi(params, req, runtime), new AttachUserENIResponse({}));
|
|
12424
|
-
}
|
|
12425
|
-
else {
|
|
12426
|
-
return $tea.cast(await this.execute(params, req, runtime), new AttachUserENIResponse({}));
|
|
12427
|
-
}
|
|
12439
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachUserENIResponse({}));
|
|
12428
12440
|
}
|
|
12429
12441
|
/**
|
|
12430
12442
|
* Attaches an elastic network interface (ENI) to an AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
@@ -12475,12 +12487,7 @@ class Client extends openapi_client_1.default {
|
|
|
12475
12487
|
reqBodyType: "formData",
|
|
12476
12488
|
bodyType: "json",
|
|
12477
12489
|
});
|
|
12478
|
-
|
|
12479
|
-
return $tea.cast(await this.callApi(params, req, runtime), new BindAccountResponse({}));
|
|
12480
|
-
}
|
|
12481
|
-
else {
|
|
12482
|
-
return $tea.cast(await this.execute(params, req, runtime), new BindAccountResponse({}));
|
|
12483
|
-
}
|
|
12490
|
+
return $tea.cast(await this.callApi(params, req, runtime), new BindAccountResponse({}));
|
|
12484
12491
|
}
|
|
12485
12492
|
/**
|
|
12486
12493
|
* Associates a standard account of an AnalyticDB for MySQL cluster with a Resource Access Management (RAM) user.
|
|
@@ -12531,12 +12538,7 @@ class Client extends openapi_client_1.default {
|
|
|
12531
12538
|
reqBodyType: "formData",
|
|
12532
12539
|
bodyType: "json",
|
|
12533
12540
|
});
|
|
12534
|
-
|
|
12535
|
-
return $tea.cast(await this.callApi(params, req, runtime), new BindDBResourceGroupWithUserResponse({}));
|
|
12536
|
-
}
|
|
12537
|
-
else {
|
|
12538
|
-
return $tea.cast(await this.execute(params, req, runtime), new BindDBResourceGroupWithUserResponse({}));
|
|
12539
|
-
}
|
|
12541
|
+
return $tea.cast(await this.callApi(params, req, runtime), new BindDBResourceGroupWithUserResponse({}));
|
|
12540
12542
|
}
|
|
12541
12543
|
/**
|
|
12542
12544
|
* Associates a resource group with a database account.
|
|
@@ -12584,12 +12586,7 @@ class Client extends openapi_client_1.default {
|
|
|
12584
12586
|
reqBodyType: "formData",
|
|
12585
12587
|
bodyType: "json",
|
|
12586
12588
|
});
|
|
12587
|
-
|
|
12588
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CheckBindRamUserResponse({}));
|
|
12589
|
-
}
|
|
12590
|
-
else {
|
|
12591
|
-
return $tea.cast(await this.execute(params, req, runtime), new CheckBindRamUserResponse({}));
|
|
12592
|
-
}
|
|
12589
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CheckBindRamUserResponse({}));
|
|
12593
12590
|
}
|
|
12594
12591
|
/**
|
|
12595
12592
|
* Queries whether a database account of an AnalyticDB for MySQL cluster is associated with a Resource Access Management (RAM) user.
|
|
@@ -12632,12 +12629,7 @@ class Client extends openapi_client_1.default {
|
|
|
12632
12629
|
reqBodyType: "formData",
|
|
12633
12630
|
bodyType: "json",
|
|
12634
12631
|
});
|
|
12635
|
-
|
|
12636
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CheckSampleDataSetResponse({}));
|
|
12637
|
-
}
|
|
12638
|
-
else {
|
|
12639
|
-
return $tea.cast(await this.execute(params, req, runtime), new CheckSampleDataSetResponse({}));
|
|
12640
|
-
}
|
|
12632
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CheckSampleDataSetResponse({}));
|
|
12641
12633
|
}
|
|
12642
12634
|
/**
|
|
12643
12635
|
* @remarks
|
|
@@ -12695,12 +12687,7 @@ class Client extends openapi_client_1.default {
|
|
|
12695
12687
|
reqBodyType: "formData",
|
|
12696
12688
|
bodyType: "json",
|
|
12697
12689
|
});
|
|
12698
|
-
|
|
12699
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateAccountResponse({}));
|
|
12700
|
-
}
|
|
12701
|
-
else {
|
|
12702
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateAccountResponse({}));
|
|
12703
|
-
}
|
|
12690
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateAccountResponse({}));
|
|
12704
12691
|
}
|
|
12705
12692
|
/**
|
|
12706
12693
|
* Creates a database account for an AnalyticDB for MySQL cluster.
|
|
@@ -12817,12 +12804,7 @@ class Client extends openapi_client_1.default {
|
|
|
12817
12804
|
reqBodyType: "formData",
|
|
12818
12805
|
bodyType: "json",
|
|
12819
12806
|
});
|
|
12820
|
-
|
|
12821
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBClusterResponse({}));
|
|
12822
|
-
}
|
|
12823
|
-
else {
|
|
12824
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateDBClusterResponse({}));
|
|
12825
|
-
}
|
|
12807
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBClusterResponse({}));
|
|
12826
12808
|
}
|
|
12827
12809
|
/**
|
|
12828
12810
|
* Creates an AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
@@ -12858,6 +12840,9 @@ class Client extends openapi_client_1.default {
|
|
|
12858
12840
|
request.rulesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
12859
12841
|
}
|
|
12860
12842
|
let query = {};
|
|
12843
|
+
if (!tea_util_1.default.isUnset(request.autoStopInterval)) {
|
|
12844
|
+
query["AutoStopInterval"] = request.autoStopInterval;
|
|
12845
|
+
}
|
|
12861
12846
|
if (!tea_util_1.default.isUnset(request.clusterMode)) {
|
|
12862
12847
|
query["ClusterMode"] = request.clusterMode;
|
|
12863
12848
|
}
|
|
@@ -12926,12 +12911,7 @@ class Client extends openapi_client_1.default {
|
|
|
12926
12911
|
reqBodyType: "formData",
|
|
12927
12912
|
bodyType: "json",
|
|
12928
12913
|
});
|
|
12929
|
-
|
|
12930
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBResourceGroupResponse({}));
|
|
12931
|
-
}
|
|
12932
|
-
else {
|
|
12933
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateDBResourceGroupResponse({}));
|
|
12934
|
-
}
|
|
12914
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBResourceGroupResponse({}));
|
|
12935
12915
|
}
|
|
12936
12916
|
/**
|
|
12937
12917
|
* Creates a resource group for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -13003,12 +12983,7 @@ class Client extends openapi_client_1.default {
|
|
|
13003
12983
|
reqBodyType: "formData",
|
|
13004
12984
|
bodyType: "json",
|
|
13005
12985
|
});
|
|
13006
|
-
|
|
13007
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateElasticPlanResponse({}));
|
|
13008
|
-
}
|
|
13009
|
-
else {
|
|
13010
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateElasticPlanResponse({}));
|
|
13011
|
-
}
|
|
12986
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateElasticPlanResponse({}));
|
|
13012
12987
|
}
|
|
13013
12988
|
/**
|
|
13014
12989
|
* Creates a scaling plan for an AnalyticDB for MySQL cluster.
|
|
@@ -13058,12 +13033,7 @@ class Client extends openapi_client_1.default {
|
|
|
13058
13033
|
reqBodyType: "formData",
|
|
13059
13034
|
bodyType: "json",
|
|
13060
13035
|
});
|
|
13061
|
-
|
|
13062
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateOssSubDirectoryResponse({}));
|
|
13063
|
-
}
|
|
13064
|
-
else {
|
|
13065
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateOssSubDirectoryResponse({}));
|
|
13066
|
-
}
|
|
13036
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateOssSubDirectoryResponse({}));
|
|
13067
13037
|
}
|
|
13068
13038
|
/**
|
|
13069
13039
|
* Creates an Object Storage Service (OSS) subdirectory.
|
|
@@ -13081,6 +13051,8 @@ class Client extends openapi_client_1.default {
|
|
|
13081
13051
|
return await this.createOssSubDirectoryWithOptions(request, runtime);
|
|
13082
13052
|
}
|
|
13083
13053
|
/**
|
|
13054
|
+
* Creates a custom monitoring view.
|
|
13055
|
+
*
|
|
13084
13056
|
* @param tmpReq - CreatePerformanceViewRequest
|
|
13085
13057
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
13086
13058
|
* @returns CreatePerformanceViewResponse
|
|
@@ -13137,14 +13109,11 @@ class Client extends openapi_client_1.default {
|
|
|
13137
13109
|
reqBodyType: "formData",
|
|
13138
13110
|
bodyType: "json",
|
|
13139
13111
|
});
|
|
13140
|
-
|
|
13141
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreatePerformanceViewResponse({}));
|
|
13142
|
-
}
|
|
13143
|
-
else {
|
|
13144
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreatePerformanceViewResponse({}));
|
|
13145
|
-
}
|
|
13112
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreatePerformanceViewResponse({}));
|
|
13146
13113
|
}
|
|
13147
13114
|
/**
|
|
13115
|
+
* Creates a custom monitoring view.
|
|
13116
|
+
*
|
|
13148
13117
|
* @param request - CreatePerformanceViewRequest
|
|
13149
13118
|
* @returns CreatePerformanceViewResponse
|
|
13150
13119
|
*/
|
|
@@ -13196,12 +13165,7 @@ class Client extends openapi_client_1.default {
|
|
|
13196
13165
|
reqBodyType: "formData",
|
|
13197
13166
|
bodyType: "json",
|
|
13198
13167
|
});
|
|
13199
|
-
|
|
13200
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateSparkTemplateResponse({}));
|
|
13201
|
-
}
|
|
13202
|
-
else {
|
|
13203
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateSparkTemplateResponse({}));
|
|
13204
|
-
}
|
|
13168
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateSparkTemplateResponse({}));
|
|
13205
13169
|
}
|
|
13206
13170
|
/**
|
|
13207
13171
|
* Creates a Spark application template.
|
|
@@ -13254,12 +13218,7 @@ class Client extends openapi_client_1.default {
|
|
|
13254
13218
|
reqBodyType: "formData",
|
|
13255
13219
|
bodyType: "json",
|
|
13256
13220
|
});
|
|
13257
|
-
|
|
13258
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
|
|
13259
|
-
}
|
|
13260
|
-
else {
|
|
13261
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteAccountResponse({}));
|
|
13262
|
-
}
|
|
13221
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
|
|
13263
13222
|
}
|
|
13264
13223
|
/**
|
|
13265
13224
|
* Deletes a database account from an AnalyticDB for MySQL cluster.
|
|
@@ -13306,12 +13265,7 @@ class Client extends openapi_client_1.default {
|
|
|
13306
13265
|
reqBodyType: "formData",
|
|
13307
13266
|
bodyType: "json",
|
|
13308
13267
|
});
|
|
13309
|
-
|
|
13310
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBClusterResponse({}));
|
|
13311
|
-
}
|
|
13312
|
-
else {
|
|
13313
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteDBClusterResponse({}));
|
|
13314
|
-
}
|
|
13268
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBClusterResponse({}));
|
|
13315
13269
|
}
|
|
13316
13270
|
/**
|
|
13317
13271
|
* Deletes an AnalyticDB for MySQL cluster.
|
|
@@ -13361,12 +13315,7 @@ class Client extends openapi_client_1.default {
|
|
|
13361
13315
|
reqBodyType: "formData",
|
|
13362
13316
|
bodyType: "json",
|
|
13363
13317
|
});
|
|
13364
|
-
|
|
13365
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBResourceGroupResponse({}));
|
|
13366
|
-
}
|
|
13367
|
-
else {
|
|
13368
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteDBResourceGroupResponse({}));
|
|
13369
|
-
}
|
|
13318
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBResourceGroupResponse({}));
|
|
13370
13319
|
}
|
|
13371
13320
|
/**
|
|
13372
13321
|
* Deletes a resource group from an AnalyticDB for MySQL cluster.
|
|
@@ -13414,12 +13363,7 @@ class Client extends openapi_client_1.default {
|
|
|
13414
13363
|
reqBodyType: "formData",
|
|
13415
13364
|
bodyType: "json",
|
|
13416
13365
|
});
|
|
13417
|
-
|
|
13418
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteElasticPlanResponse({}));
|
|
13419
|
-
}
|
|
13420
|
-
else {
|
|
13421
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteElasticPlanResponse({}));
|
|
13422
|
-
}
|
|
13366
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteElasticPlanResponse({}));
|
|
13423
13367
|
}
|
|
13424
13368
|
/**
|
|
13425
13369
|
* Deletes a scaling plan from an AnalyticDB for MySQL cluster.
|
|
@@ -13435,6 +13379,8 @@ class Client extends openapi_client_1.default {
|
|
|
13435
13379
|
return await this.deleteElasticPlanWithOptions(request, runtime);
|
|
13436
13380
|
}
|
|
13437
13381
|
/**
|
|
13382
|
+
* Deletes a monitoring view.
|
|
13383
|
+
*
|
|
13438
13384
|
* @param request - DeletePerformanceViewRequest
|
|
13439
13385
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
13440
13386
|
* @returns DeletePerformanceViewResponse
|
|
@@ -13477,14 +13423,11 @@ class Client extends openapi_client_1.default {
|
|
|
13477
13423
|
reqBodyType: "formData",
|
|
13478
13424
|
bodyType: "json",
|
|
13479
13425
|
});
|
|
13480
|
-
|
|
13481
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeletePerformanceViewResponse({}));
|
|
13482
|
-
}
|
|
13483
|
-
else {
|
|
13484
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeletePerformanceViewResponse({}));
|
|
13485
|
-
}
|
|
13426
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeletePerformanceViewResponse({}));
|
|
13486
13427
|
}
|
|
13487
13428
|
/**
|
|
13429
|
+
* Deletes a monitoring view.
|
|
13430
|
+
*
|
|
13488
13431
|
* @param request - DeletePerformanceViewRequest
|
|
13489
13432
|
* @returns DeletePerformanceViewResponse
|
|
13490
13433
|
*/
|
|
@@ -13532,12 +13475,7 @@ class Client extends openapi_client_1.default {
|
|
|
13532
13475
|
reqBodyType: "formData",
|
|
13533
13476
|
bodyType: "json",
|
|
13534
13477
|
});
|
|
13535
|
-
|
|
13536
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteProcessInstanceResponse({}));
|
|
13537
|
-
}
|
|
13538
|
-
else {
|
|
13539
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteProcessInstanceResponse({}));
|
|
13540
|
-
}
|
|
13478
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteProcessInstanceResponse({}));
|
|
13541
13479
|
}
|
|
13542
13480
|
/**
|
|
13543
13481
|
* Deletes a worflow instance from an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -13588,12 +13526,7 @@ class Client extends openapi_client_1.default {
|
|
|
13588
13526
|
reqBodyType: "formData",
|
|
13589
13527
|
bodyType: "json",
|
|
13590
13528
|
});
|
|
13591
|
-
|
|
13592
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSparkTemplateResponse({}));
|
|
13593
|
-
}
|
|
13594
|
-
else {
|
|
13595
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteSparkTemplateResponse({}));
|
|
13596
|
-
}
|
|
13529
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSparkTemplateResponse({}));
|
|
13597
13530
|
}
|
|
13598
13531
|
/**
|
|
13599
13532
|
* Deletes Spark template files.
|
|
@@ -13645,12 +13578,7 @@ class Client extends openapi_client_1.default {
|
|
|
13645
13578
|
reqBodyType: "formData",
|
|
13646
13579
|
bodyType: "json",
|
|
13647
13580
|
});
|
|
13648
|
-
|
|
13649
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSparkTemplateFileResponse({}));
|
|
13650
|
-
}
|
|
13651
|
-
else {
|
|
13652
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteSparkTemplateFileResponse({}));
|
|
13653
|
-
}
|
|
13581
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSparkTemplateFileResponse({}));
|
|
13654
13582
|
}
|
|
13655
13583
|
/**
|
|
13656
13584
|
* Deletes Spark template files.
|
|
@@ -13706,12 +13634,7 @@ class Client extends openapi_client_1.default {
|
|
|
13706
13634
|
reqBodyType: "formData",
|
|
13707
13635
|
bodyType: "json",
|
|
13708
13636
|
});
|
|
13709
|
-
|
|
13710
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountAllPrivilegesResponse({}));
|
|
13711
|
-
}
|
|
13712
|
-
else {
|
|
13713
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeAccountAllPrivilegesResponse({}));
|
|
13714
|
-
}
|
|
13637
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountAllPrivilegesResponse({}));
|
|
13715
13638
|
}
|
|
13716
13639
|
/**
|
|
13717
13640
|
* Queries the permissions of a database account on all permission levels.
|
|
@@ -13780,12 +13703,7 @@ class Client extends openapi_client_1.default {
|
|
|
13780
13703
|
reqBodyType: "formData",
|
|
13781
13704
|
bodyType: "json",
|
|
13782
13705
|
});
|
|
13783
|
-
|
|
13784
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountPrivilegeObjectsResponse({}));
|
|
13785
|
-
}
|
|
13786
|
-
else {
|
|
13787
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeAccountPrivilegeObjectsResponse({}));
|
|
13788
|
-
}
|
|
13706
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountPrivilegeObjectsResponse({}));
|
|
13789
13707
|
}
|
|
13790
13708
|
/**
|
|
13791
13709
|
* Queries the databases, tables, and columns on which a database account has permissions.
|
|
@@ -13851,12 +13769,7 @@ class Client extends openapi_client_1.default {
|
|
|
13851
13769
|
reqBodyType: "formData",
|
|
13852
13770
|
bodyType: "json",
|
|
13853
13771
|
});
|
|
13854
|
-
|
|
13855
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountPrivilegesResponse({}));
|
|
13856
|
-
}
|
|
13857
|
-
else {
|
|
13858
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeAccountPrivilegesResponse({}));
|
|
13859
|
-
}
|
|
13772
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountPrivilegesResponse({}));
|
|
13860
13773
|
}
|
|
13861
13774
|
/**
|
|
13862
13775
|
* 获取某一ADB账户的权限
|
|
@@ -13907,12 +13820,7 @@ class Client extends openapi_client_1.default {
|
|
|
13907
13820
|
reqBodyType: "formData",
|
|
13908
13821
|
bodyType: "json",
|
|
13909
13822
|
});
|
|
13910
|
-
|
|
13911
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountsResponse({}));
|
|
13912
|
-
}
|
|
13913
|
-
else {
|
|
13914
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeAccountsResponse({}));
|
|
13915
|
-
}
|
|
13823
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountsResponse({}));
|
|
13916
13824
|
}
|
|
13917
13825
|
/**
|
|
13918
13826
|
* Queries the database accounts of an AnalyticDB for MySQL cluster.
|
|
@@ -13967,12 +13875,7 @@ class Client extends openapi_client_1.default {
|
|
|
13967
13875
|
reqBodyType: "formData",
|
|
13968
13876
|
bodyType: "json",
|
|
13969
13877
|
});
|
|
13970
|
-
|
|
13971
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAdbMySqlColumnsResponse({}));
|
|
13972
|
-
}
|
|
13973
|
-
else {
|
|
13974
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeAdbMySqlColumnsResponse({}));
|
|
13975
|
-
}
|
|
13878
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAdbMySqlColumnsResponse({}));
|
|
13976
13879
|
}
|
|
13977
13880
|
/**
|
|
13978
13881
|
* Queries the information about table columns for an AnalyticDB for MySQL cluster.
|
|
@@ -14022,12 +13925,7 @@ class Client extends openapi_client_1.default {
|
|
|
14022
13925
|
reqBodyType: "formData",
|
|
14023
13926
|
bodyType: "json",
|
|
14024
13927
|
});
|
|
14025
|
-
|
|
14026
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAdbMySqlSchemasResponse({}));
|
|
14027
|
-
}
|
|
14028
|
-
else {
|
|
14029
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeAdbMySqlSchemasResponse({}));
|
|
14030
|
-
}
|
|
13928
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAdbMySqlSchemasResponse({}));
|
|
14031
13929
|
}
|
|
14032
13930
|
/**
|
|
14033
13931
|
* Queries a list of databases for an AnalyticDB for MySQL cluster.
|
|
@@ -14080,12 +13978,7 @@ class Client extends openapi_client_1.default {
|
|
|
14080
13978
|
reqBodyType: "formData",
|
|
14081
13979
|
bodyType: "json",
|
|
14082
13980
|
});
|
|
14083
|
-
|
|
14084
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAdbMySqlTablesResponse({}));
|
|
14085
|
-
}
|
|
14086
|
-
else {
|
|
14087
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeAdbMySqlTablesResponse({}));
|
|
14088
|
-
}
|
|
13981
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAdbMySqlTablesResponse({}));
|
|
14089
13982
|
}
|
|
14090
13983
|
/**
|
|
14091
13984
|
* Queries a list of tables for an AnalyticDB for MySQL cluster.
|
|
@@ -14141,12 +14034,7 @@ class Client extends openapi_client_1.default {
|
|
|
14141
14034
|
reqBodyType: "formData",
|
|
14142
14035
|
bodyType: "json",
|
|
14143
14036
|
});
|
|
14144
|
-
|
|
14145
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAllDataSourceResponse({}));
|
|
14146
|
-
}
|
|
14147
|
-
else {
|
|
14148
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeAllDataSourceResponse({}));
|
|
14149
|
-
}
|
|
14037
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAllDataSourceResponse({}));
|
|
14150
14038
|
}
|
|
14151
14039
|
/**
|
|
14152
14040
|
* Queries a list of databases, tables, and columns in an AnalyticDB for MySQL cluster.
|
|
@@ -14233,12 +14121,7 @@ class Client extends openapi_client_1.default {
|
|
|
14233
14121
|
reqBodyType: "formData",
|
|
14234
14122
|
bodyType: "json",
|
|
14235
14123
|
});
|
|
14236
|
-
|
|
14237
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApsActionLogsResponse({}));
|
|
14238
|
-
}
|
|
14239
|
-
else {
|
|
14240
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeApsActionLogsResponse({}));
|
|
14241
|
-
}
|
|
14124
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApsActionLogsResponse({}));
|
|
14242
14125
|
}
|
|
14243
14126
|
/**
|
|
14244
14127
|
* Queries the logs of a real-time data ingestion job for an AnalyticDB for MySQL cluster.
|
|
@@ -14292,12 +14175,7 @@ class Client extends openapi_client_1.default {
|
|
|
14292
14175
|
reqBodyType: "formData",
|
|
14293
14176
|
bodyType: "json",
|
|
14294
14177
|
});
|
|
14295
|
-
|
|
14296
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApsResourceGroupsResponse({}));
|
|
14297
|
-
}
|
|
14298
|
-
else {
|
|
14299
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeApsResourceGroupsResponse({}));
|
|
14300
|
-
}
|
|
14178
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApsResourceGroupsResponse({}));
|
|
14301
14179
|
}
|
|
14302
14180
|
/**
|
|
14303
14181
|
* Queries the information about resource groups of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -14398,12 +14276,7 @@ class Client extends openapi_client_1.default {
|
|
|
14398
14276
|
reqBodyType: "formData",
|
|
14399
14277
|
bodyType: "json",
|
|
14400
14278
|
});
|
|
14401
|
-
|
|
14402
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAuditLogRecordsResponse({}));
|
|
14403
|
-
}
|
|
14404
|
-
else {
|
|
14405
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeAuditLogRecordsResponse({}));
|
|
14406
|
-
}
|
|
14279
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAuditLogRecordsResponse({}));
|
|
14407
14280
|
}
|
|
14408
14281
|
/**
|
|
14409
14282
|
* Queries the SQL audit logs of an AnalyticDB for MySQL cluster.
|
|
@@ -14459,12 +14332,7 @@ class Client extends openapi_client_1.default {
|
|
|
14459
14332
|
reqBodyType: "formData",
|
|
14460
14333
|
bodyType: "json",
|
|
14461
14334
|
});
|
|
14462
|
-
|
|
14463
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupPolicyResponse({}));
|
|
14464
|
-
}
|
|
14465
|
-
else {
|
|
14466
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeBackupPolicyResponse({}));
|
|
14467
|
-
}
|
|
14335
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupPolicyResponse({}));
|
|
14468
14336
|
}
|
|
14469
14337
|
/**
|
|
14470
14338
|
* @remarks
|
|
@@ -14532,12 +14400,7 @@ class Client extends openapi_client_1.default {
|
|
|
14532
14400
|
reqBodyType: "formData",
|
|
14533
14401
|
bodyType: "json",
|
|
14534
14402
|
});
|
|
14535
|
-
|
|
14536
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupsResponse({}));
|
|
14537
|
-
}
|
|
14538
|
-
else {
|
|
14539
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeBackupsResponse({}));
|
|
14540
|
-
}
|
|
14403
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupsResponse({}));
|
|
14541
14404
|
}
|
|
14542
14405
|
/**
|
|
14543
14406
|
* @remarks
|
|
@@ -14586,12 +14449,7 @@ class Client extends openapi_client_1.default {
|
|
|
14586
14449
|
reqBodyType: "formData",
|
|
14587
14450
|
bodyType: "json",
|
|
14588
14451
|
});
|
|
14589
|
-
|
|
14590
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAccessWhiteListResponse({}));
|
|
14591
|
-
}
|
|
14592
|
-
else {
|
|
14593
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeClusterAccessWhiteListResponse({}));
|
|
14594
|
-
}
|
|
14452
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAccessWhiteListResponse({}));
|
|
14595
14453
|
}
|
|
14596
14454
|
/**
|
|
14597
14455
|
* Queries the IP address whitelists of an AnalyticDB for MySQL cluster.
|
|
@@ -14639,12 +14497,7 @@ class Client extends openapi_client_1.default {
|
|
|
14639
14497
|
reqBodyType: "formData",
|
|
14640
14498
|
bodyType: "json",
|
|
14641
14499
|
});
|
|
14642
|
-
|
|
14643
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNetInfoResponse({}));
|
|
14644
|
-
}
|
|
14645
|
-
else {
|
|
14646
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeClusterNetInfoResponse({}));
|
|
14647
|
-
}
|
|
14500
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNetInfoResponse({}));
|
|
14648
14501
|
}
|
|
14649
14502
|
/**
|
|
14650
14503
|
* Queries the network information about an AnalyticDB for MySQL cluster.
|
|
@@ -14689,12 +14542,7 @@ class Client extends openapi_client_1.default {
|
|
|
14689
14542
|
reqBodyType: "formData",
|
|
14690
14543
|
bodyType: "json",
|
|
14691
14544
|
});
|
|
14692
|
-
|
|
14693
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourceDetailResponse({}));
|
|
14694
|
-
}
|
|
14695
|
-
else {
|
|
14696
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeClusterResourceDetailResponse({}));
|
|
14697
|
-
}
|
|
14545
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourceDetailResponse({}));
|
|
14698
14546
|
}
|
|
14699
14547
|
/**
|
|
14700
14548
|
* Queries the information about resource usage of an AnalyticDB for MySQL cluster.
|
|
@@ -14733,12 +14581,7 @@ class Client extends openapi_client_1.default {
|
|
|
14733
14581
|
reqBodyType: "formData",
|
|
14734
14582
|
bodyType: "json",
|
|
14735
14583
|
});
|
|
14736
|
-
|
|
14737
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourceUsageResponse({}));
|
|
14738
|
-
}
|
|
14739
|
-
else {
|
|
14740
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeClusterResourceUsageResponse({}));
|
|
14741
|
-
}
|
|
14584
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourceUsageResponse({}));
|
|
14742
14585
|
}
|
|
14743
14586
|
/**
|
|
14744
14587
|
* 获取实例资源统计
|
|
@@ -14790,12 +14633,7 @@ class Client extends openapi_client_1.default {
|
|
|
14790
14633
|
reqBodyType: "formData",
|
|
14791
14634
|
bodyType: "json",
|
|
14792
14635
|
});
|
|
14793
|
-
|
|
14794
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeColumnsResponse({}));
|
|
14795
|
-
}
|
|
14796
|
-
else {
|
|
14797
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeColumnsResponse({}));
|
|
14798
|
-
}
|
|
14636
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeColumnsResponse({}));
|
|
14799
14637
|
}
|
|
14800
14638
|
/**
|
|
14801
14639
|
* Queries a list of columns in a table.
|
|
@@ -14850,12 +14688,7 @@ class Client extends openapi_client_1.default {
|
|
|
14850
14688
|
reqBodyType: "formData",
|
|
14851
14689
|
bodyType: "json",
|
|
14852
14690
|
});
|
|
14853
|
-
|
|
14854
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeComputeResourceUsageResponse({}));
|
|
14855
|
-
}
|
|
14856
|
-
else {
|
|
14857
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeComputeResourceUsageResponse({}));
|
|
14858
|
-
}
|
|
14691
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeComputeResourceUsageResponse({}));
|
|
14859
14692
|
}
|
|
14860
14693
|
/**
|
|
14861
14694
|
* 获取实例计算资源使用统计
|
|
@@ -14900,12 +14733,7 @@ class Client extends openapi_client_1.default {
|
|
|
14900
14733
|
reqBodyType: "formData",
|
|
14901
14734
|
bodyType: "json",
|
|
14902
14735
|
});
|
|
14903
|
-
|
|
14904
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
|
|
14905
|
-
}
|
|
14906
|
-
else {
|
|
14907
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
|
|
14908
|
-
}
|
|
14736
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
|
|
14909
14737
|
}
|
|
14910
14738
|
/**
|
|
14911
14739
|
* Queries the information about an AnalyticDB for MySQL cluster.
|
|
@@ -14953,12 +14781,7 @@ class Client extends openapi_client_1.default {
|
|
|
14953
14781
|
reqBodyType: "formData",
|
|
14954
14782
|
bodyType: "json",
|
|
14955
14783
|
});
|
|
14956
|
-
|
|
14957
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterHealthStatusResponse({}));
|
|
14958
|
-
}
|
|
14959
|
-
else {
|
|
14960
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeDBClusterHealthStatusResponse({}));
|
|
14961
|
-
}
|
|
14784
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterHealthStatusResponse({}));
|
|
14962
14785
|
}
|
|
14963
14786
|
/**
|
|
14964
14787
|
* Queries the health status of an AnalyticDB for MySQL cluster.
|
|
@@ -15018,12 +14841,7 @@ class Client extends openapi_client_1.default {
|
|
|
15018
14841
|
reqBodyType: "formData",
|
|
15019
14842
|
bodyType: "json",
|
|
15020
14843
|
});
|
|
15021
|
-
|
|
15022
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
|
|
15023
|
-
}
|
|
15024
|
-
else {
|
|
15025
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
|
|
15026
|
-
}
|
|
14844
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
|
|
15027
14845
|
}
|
|
15028
14846
|
/**
|
|
15029
14847
|
* Queries the performance data of an AnalyticDB for MySQL cluster.
|
|
@@ -15083,12 +14901,7 @@ class Client extends openapi_client_1.default {
|
|
|
15083
14901
|
reqBodyType: "formData",
|
|
15084
14902
|
bodyType: "json",
|
|
15085
14903
|
});
|
|
15086
|
-
|
|
15087
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterSpaceSummaryResponse({}));
|
|
15088
|
-
}
|
|
15089
|
-
else {
|
|
15090
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeDBClusterSpaceSummaryResponse({}));
|
|
15091
|
-
}
|
|
14904
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterSpaceSummaryResponse({}));
|
|
15092
14905
|
}
|
|
15093
14906
|
/**
|
|
15094
14907
|
* Queries the storage overview information of an AnalyticDB for MySQL cluster, such as the total data size, hot data size, cold data size, and data growth.
|
|
@@ -15133,12 +14946,7 @@ class Client extends openapi_client_1.default {
|
|
|
15133
14946
|
reqBodyType: "formData",
|
|
15134
14947
|
bodyType: "json",
|
|
15135
14948
|
});
|
|
15136
|
-
|
|
15137
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterStatusResponse({}));
|
|
15138
|
-
}
|
|
15139
|
-
else {
|
|
15140
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeDBClusterStatusResponse({}));
|
|
15141
|
-
}
|
|
14949
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterStatusResponse({}));
|
|
15142
14950
|
}
|
|
15143
14951
|
/**
|
|
15144
14952
|
* Queries the status of AnalyticDB for MySQL Data Lakehouse Edition clusters within a region.
|
|
@@ -15210,12 +15018,7 @@ class Client extends openapi_client_1.default {
|
|
|
15210
15018
|
reqBodyType: "formData",
|
|
15211
15019
|
bodyType: "json",
|
|
15212
15020
|
});
|
|
15213
|
-
|
|
15214
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClustersResponse({}));
|
|
15215
|
-
}
|
|
15216
|
-
else {
|
|
15217
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeDBClustersResponse({}));
|
|
15218
|
-
}
|
|
15021
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClustersResponse({}));
|
|
15219
15022
|
}
|
|
15220
15023
|
/**
|
|
15221
15024
|
* Queries the information about AnalyticDB for MySQL Data Lakehouse Edition clusters within a region.
|
|
@@ -15272,12 +15075,7 @@ class Client extends openapi_client_1.default {
|
|
|
15272
15075
|
reqBodyType: "formData",
|
|
15273
15076
|
bodyType: "json",
|
|
15274
15077
|
});
|
|
15275
|
-
|
|
15276
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBResourceGroupResponse({}));
|
|
15277
|
-
}
|
|
15278
|
-
else {
|
|
15279
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeDBResourceGroupResponse({}));
|
|
15280
|
-
}
|
|
15078
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBResourceGroupResponse({}));
|
|
15281
15079
|
}
|
|
15282
15080
|
/**
|
|
15283
15081
|
* Queries the information about resource groups of an AnalyticDB for MySQL cluster.
|
|
@@ -15337,12 +15135,7 @@ class Client extends openapi_client_1.default {
|
|
|
15337
15135
|
reqBodyType: "formData",
|
|
15338
15136
|
bodyType: "json",
|
|
15339
15137
|
});
|
|
15340
|
-
|
|
15341
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosisDimensionsResponse({}));
|
|
15342
|
-
}
|
|
15343
|
-
else {
|
|
15344
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeDiagnosisDimensionsResponse({}));
|
|
15345
|
-
}
|
|
15138
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosisDimensionsResponse({}));
|
|
15346
15139
|
}
|
|
15347
15140
|
/**
|
|
15348
15141
|
* Queries the deduplicated statistics of resource groups, databases, usernames, and source IP addresses about SQL statements that meet a query condition for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -15441,12 +15234,7 @@ class Client extends openapi_client_1.default {
|
|
|
15441
15234
|
reqBodyType: "formData",
|
|
15442
15235
|
bodyType: "json",
|
|
15443
15236
|
});
|
|
15444
|
-
|
|
15445
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosisRecordsResponse({}));
|
|
15446
|
-
}
|
|
15447
|
-
else {
|
|
15448
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeDiagnosisRecordsResponse({}));
|
|
15449
|
-
}
|
|
15237
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosisRecordsResponse({}));
|
|
15450
15238
|
}
|
|
15451
15239
|
/**
|
|
15452
15240
|
* Queries the diagnostic information about SQL statements that meet a query condition for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -15488,12 +15276,7 @@ class Client extends openapi_client_1.default {
|
|
|
15488
15276
|
reqBodyType: "formData",
|
|
15489
15277
|
bodyType: "json",
|
|
15490
15278
|
});
|
|
15491
|
-
|
|
15492
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosisSQLInfoResponse({}));
|
|
15493
|
-
}
|
|
15494
|
-
else {
|
|
15495
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeDiagnosisSQLInfoResponse({}));
|
|
15496
|
-
}
|
|
15279
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosisSQLInfoResponse({}));
|
|
15497
15280
|
}
|
|
15498
15281
|
/**
|
|
15499
15282
|
* Queries the execution information about an SQL statement, including the execution plan, execution information, resource usage, and self-diagnostics results.
|
|
@@ -15544,12 +15327,7 @@ class Client extends openapi_client_1.default {
|
|
|
15544
15327
|
reqBodyType: "formData",
|
|
15545
15328
|
bodyType: "json",
|
|
15546
15329
|
});
|
|
15547
|
-
|
|
15548
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDownloadRecordsResponse({}));
|
|
15549
|
-
}
|
|
15550
|
-
else {
|
|
15551
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeDownloadRecordsResponse({}));
|
|
15552
|
-
}
|
|
15330
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDownloadRecordsResponse({}));
|
|
15553
15331
|
}
|
|
15554
15332
|
/**
|
|
15555
15333
|
* Queries the last five SQL query download tasks of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -15597,12 +15375,7 @@ class Client extends openapi_client_1.default {
|
|
|
15597
15375
|
reqBodyType: "formData",
|
|
15598
15376
|
bodyType: "json",
|
|
15599
15377
|
});
|
|
15600
|
-
|
|
15601
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlanAttributeResponse({}));
|
|
15602
|
-
}
|
|
15603
|
-
else {
|
|
15604
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeElasticPlanAttributeResponse({}));
|
|
15605
|
-
}
|
|
15378
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlanAttributeResponse({}));
|
|
15606
15379
|
}
|
|
15607
15380
|
/**
|
|
15608
15381
|
* Queries the information about a scaling plan for an AnalyticDB for MySQL cluster.
|
|
@@ -15665,12 +15438,7 @@ class Client extends openapi_client_1.default {
|
|
|
15665
15438
|
reqBodyType: "formData",
|
|
15666
15439
|
bodyType: "json",
|
|
15667
15440
|
});
|
|
15668
|
-
|
|
15669
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlanJobsResponse({}));
|
|
15670
|
-
}
|
|
15671
|
-
else {
|
|
15672
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeElasticPlanJobsResponse({}));
|
|
15673
|
-
}
|
|
15441
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlanJobsResponse({}));
|
|
15674
15442
|
}
|
|
15675
15443
|
/**
|
|
15676
15444
|
* Queries a list of scaling plan jobs for an AnalyticDB for MySQL cluster.
|
|
@@ -15721,12 +15489,7 @@ class Client extends openapi_client_1.default {
|
|
|
15721
15489
|
reqBodyType: "formData",
|
|
15722
15490
|
bodyType: "json",
|
|
15723
15491
|
});
|
|
15724
|
-
|
|
15725
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlanSpecificationsResponse({}));
|
|
15726
|
-
}
|
|
15727
|
-
else {
|
|
15728
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeElasticPlanSpecificationsResponse({}));
|
|
15729
|
-
}
|
|
15492
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlanSpecificationsResponse({}));
|
|
15730
15493
|
}
|
|
15731
15494
|
/**
|
|
15732
15495
|
* Queries the resource specifications that are supported by different types of scaling plans of an AnalyticDB for MySQL cluster.
|
|
@@ -15789,12 +15552,7 @@ class Client extends openapi_client_1.default {
|
|
|
15789
15552
|
reqBodyType: "formData",
|
|
15790
15553
|
bodyType: "json",
|
|
15791
15554
|
});
|
|
15792
|
-
|
|
15793
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlansResponse({}));
|
|
15794
|
-
}
|
|
15795
|
-
else {
|
|
15796
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeElasticPlansResponse({}));
|
|
15797
|
-
}
|
|
15555
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlansResponse({}));
|
|
15798
15556
|
}
|
|
15799
15557
|
/**
|
|
15800
15558
|
* Queries scaling plans of an AnalyticDB for MySQL cluster.
|
|
@@ -15833,12 +15591,7 @@ class Client extends openapi_client_1.default {
|
|
|
15833
15591
|
reqBodyType: "formData",
|
|
15834
15592
|
bodyType: "json",
|
|
15835
15593
|
});
|
|
15836
|
-
|
|
15837
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEnabledPrivilegesResponse({}));
|
|
15838
|
-
}
|
|
15839
|
-
else {
|
|
15840
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeEnabledPrivilegesResponse({}));
|
|
15841
|
-
}
|
|
15594
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEnabledPrivilegesResponse({}));
|
|
15842
15595
|
}
|
|
15843
15596
|
/**
|
|
15844
15597
|
* Queries the permission level and permissions supported for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -15910,12 +15663,7 @@ class Client extends openapi_client_1.default {
|
|
|
15910
15663
|
reqBodyType: "formData",
|
|
15911
15664
|
bodyType: "json",
|
|
15912
15665
|
});
|
|
15913
|
-
|
|
15914
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExcessivePrimaryKeysResponse({}));
|
|
15915
|
-
}
|
|
15916
|
-
else {
|
|
15917
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeExcessivePrimaryKeysResponse({}));
|
|
15918
|
-
}
|
|
15666
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExcessivePrimaryKeysResponse({}));
|
|
15919
15667
|
}
|
|
15920
15668
|
/**
|
|
15921
15669
|
* Queries the information about tables that have excessive primary key fields in an AnalyticDB for MySQL Data Lakehouse Edition (V5.0) cluster.
|
|
@@ -15963,12 +15711,7 @@ class Client extends openapi_client_1.default {
|
|
|
15963
15711
|
reqBodyType: "formData",
|
|
15964
15712
|
bodyType: "json",
|
|
15965
15713
|
});
|
|
15966
|
-
|
|
15967
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobResourceUsageResponse({}));
|
|
15968
|
-
}
|
|
15969
|
-
else {
|
|
15970
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeJobResourceUsageResponse({}));
|
|
15971
|
-
}
|
|
15714
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobResourceUsageResponse({}));
|
|
15972
15715
|
}
|
|
15973
15716
|
/**
|
|
15974
15717
|
* 获取作业资源使用统计
|
|
@@ -16027,12 +15770,7 @@ class Client extends openapi_client_1.default {
|
|
|
16027
15770
|
reqBodyType: "formData",
|
|
16028
15771
|
bodyType: "json",
|
|
16029
15772
|
});
|
|
16030
|
-
|
|
16031
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribePatternPerformanceResponse({}));
|
|
16032
|
-
}
|
|
16033
|
-
else {
|
|
16034
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribePatternPerformanceResponse({}));
|
|
16035
|
-
}
|
|
15773
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribePatternPerformanceResponse({}));
|
|
16036
15774
|
}
|
|
16037
15775
|
/**
|
|
16038
15776
|
* Queries the information about performance metrics of an SQL pattern such as the query duration and average memory usage for an AnalyticDB for MySQL cluster within a time range.
|
|
@@ -16050,6 +15788,8 @@ class Client extends openapi_client_1.default {
|
|
|
16050
15788
|
return await this.describePatternPerformanceWithOptions(request, runtime);
|
|
16051
15789
|
}
|
|
16052
15790
|
/**
|
|
15791
|
+
* Queries the information about a monitoring view.
|
|
15792
|
+
*
|
|
16053
15793
|
* @param request - DescribePerformanceViewAttributeRequest
|
|
16054
15794
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
16055
15795
|
* @returns DescribePerformanceViewAttributeResponse
|
|
@@ -16092,14 +15832,11 @@ class Client extends openapi_client_1.default {
|
|
|
16092
15832
|
reqBodyType: "formData",
|
|
16093
15833
|
bodyType: "json",
|
|
16094
15834
|
});
|
|
16095
|
-
|
|
16096
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribePerformanceViewAttributeResponse({}));
|
|
16097
|
-
}
|
|
16098
|
-
else {
|
|
16099
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribePerformanceViewAttributeResponse({}));
|
|
16100
|
-
}
|
|
15835
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribePerformanceViewAttributeResponse({}));
|
|
16101
15836
|
}
|
|
16102
15837
|
/**
|
|
15838
|
+
* Queries the information about a monitoring view.
|
|
15839
|
+
*
|
|
16103
15840
|
* @param request - DescribePerformanceViewAttributeRequest
|
|
16104
15841
|
* @returns DescribePerformanceViewAttributeResponse
|
|
16105
15842
|
*/
|
|
@@ -16108,6 +15845,8 @@ class Client extends openapi_client_1.default {
|
|
|
16108
15845
|
return await this.describePerformanceViewAttributeWithOptions(request, runtime);
|
|
16109
15846
|
}
|
|
16110
15847
|
/**
|
|
15848
|
+
* Queries a list of monitoring views.
|
|
15849
|
+
*
|
|
16111
15850
|
* @param request - DescribePerformanceViewsRequest
|
|
16112
15851
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
16113
15852
|
* @returns DescribePerformanceViewsResponse
|
|
@@ -16147,14 +15886,11 @@ class Client extends openapi_client_1.default {
|
|
|
16147
15886
|
reqBodyType: "formData",
|
|
16148
15887
|
bodyType: "json",
|
|
16149
15888
|
});
|
|
16150
|
-
|
|
16151
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribePerformanceViewsResponse({}));
|
|
16152
|
-
}
|
|
16153
|
-
else {
|
|
16154
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribePerformanceViewsResponse({}));
|
|
16155
|
-
}
|
|
15889
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribePerformanceViewsResponse({}));
|
|
16156
15890
|
}
|
|
16157
15891
|
/**
|
|
15892
|
+
* Queries a list of monitoring views.
|
|
15893
|
+
*
|
|
16158
15894
|
* @param request - DescribePerformanceViewsRequest
|
|
16159
15895
|
* @returns DescribePerformanceViewsResponse
|
|
16160
15896
|
*/
|
|
@@ -16207,12 +15943,7 @@ class Client extends openapi_client_1.default {
|
|
|
16207
15943
|
reqBodyType: "formData",
|
|
16208
15944
|
bodyType: "json",
|
|
16209
15945
|
});
|
|
16210
|
-
|
|
16211
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
16212
|
-
}
|
|
16213
|
-
else {
|
|
16214
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
|
|
16215
|
-
}
|
|
15946
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
16216
15947
|
}
|
|
16217
15948
|
/**
|
|
16218
15949
|
* Queries a list of regions and zones in which AnalyticDB for MySQL Data Lakehouse Edition (V3.0) is available.
|
|
@@ -16283,12 +16014,7 @@ class Client extends openapi_client_1.default {
|
|
|
16283
16014
|
reqBodyType: "formData",
|
|
16284
16015
|
bodyType: "json",
|
|
16285
16016
|
});
|
|
16286
|
-
|
|
16287
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSQLPatternsResponse({}));
|
|
16288
|
-
}
|
|
16289
|
-
else {
|
|
16290
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeSQLPatternsResponse({}));
|
|
16291
|
-
}
|
|
16017
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSQLPatternsResponse({}));
|
|
16292
16018
|
}
|
|
16293
16019
|
/**
|
|
16294
16020
|
* Queries a list of SQL patterns for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster within a time range.
|
|
@@ -16339,12 +16065,7 @@ class Client extends openapi_client_1.default {
|
|
|
16339
16065
|
reqBodyType: "formData",
|
|
16340
16066
|
bodyType: "json",
|
|
16341
16067
|
});
|
|
16342
|
-
|
|
16343
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSchemasResponse({}));
|
|
16344
|
-
}
|
|
16345
|
-
else {
|
|
16346
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeSchemasResponse({}));
|
|
16347
|
-
}
|
|
16068
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSchemasResponse({}));
|
|
16348
16069
|
}
|
|
16349
16070
|
/**
|
|
16350
16071
|
* Queries a list of databases in an AnalyticDB for MySQL cluster.
|
|
@@ -16397,12 +16118,7 @@ class Client extends openapi_client_1.default {
|
|
|
16397
16118
|
reqBodyType: "formData",
|
|
16398
16119
|
bodyType: "json",
|
|
16399
16120
|
});
|
|
16400
|
-
|
|
16401
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSparkCodeLogResponse({}));
|
|
16402
|
-
}
|
|
16403
|
-
else {
|
|
16404
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeSparkCodeLogResponse({}));
|
|
16405
|
-
}
|
|
16121
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSparkCodeLogResponse({}));
|
|
16406
16122
|
}
|
|
16407
16123
|
/**
|
|
16408
16124
|
* Queries the execution logs of Spark code.
|
|
@@ -16455,12 +16171,7 @@ class Client extends openapi_client_1.default {
|
|
|
16455
16171
|
reqBodyType: "formData",
|
|
16456
16172
|
bodyType: "json",
|
|
16457
16173
|
});
|
|
16458
|
-
|
|
16459
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSparkCodeOutputResponse({}));
|
|
16460
|
-
}
|
|
16461
|
-
else {
|
|
16462
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeSparkCodeOutputResponse({}));
|
|
16463
|
-
}
|
|
16174
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSparkCodeOutputResponse({}));
|
|
16464
16175
|
}
|
|
16465
16176
|
/**
|
|
16466
16177
|
* Queries the execution result of Spark code.
|
|
@@ -16513,12 +16224,7 @@ class Client extends openapi_client_1.default {
|
|
|
16513
16224
|
reqBodyType: "formData",
|
|
16514
16225
|
bodyType: "json",
|
|
16515
16226
|
});
|
|
16516
|
-
|
|
16517
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSparkCodeWebUiResponse({}));
|
|
16518
|
-
}
|
|
16519
|
-
else {
|
|
16520
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeSparkCodeWebUiResponse({}));
|
|
16521
|
-
}
|
|
16227
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSparkCodeWebUiResponse({}));
|
|
16522
16228
|
}
|
|
16523
16229
|
/**
|
|
16524
16230
|
* Queries the URL of the web UI for a Spark application.
|
|
@@ -16585,12 +16291,7 @@ class Client extends openapi_client_1.default {
|
|
|
16585
16291
|
reqBodyType: "formData",
|
|
16586
16292
|
bodyType: "json",
|
|
16587
16293
|
});
|
|
16588
|
-
|
|
16589
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSqlPatternResponse({}));
|
|
16590
|
-
}
|
|
16591
|
-
else {
|
|
16592
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeSqlPatternResponse({}));
|
|
16593
|
-
}
|
|
16294
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSqlPatternResponse({}));
|
|
16594
16295
|
}
|
|
16595
16296
|
/**
|
|
16596
16297
|
* Queries the information about SQL patterns of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster within a time range.
|
|
@@ -16641,12 +16342,7 @@ class Client extends openapi_client_1.default {
|
|
|
16641
16342
|
reqBodyType: "formData",
|
|
16642
16343
|
bodyType: "json",
|
|
16643
16344
|
});
|
|
16644
|
-
|
|
16645
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeStorageResourceUsageResponse({}));
|
|
16646
|
-
}
|
|
16647
|
-
else {
|
|
16648
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeStorageResourceUsageResponse({}));
|
|
16649
|
-
}
|
|
16345
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeStorageResourceUsageResponse({}));
|
|
16650
16346
|
}
|
|
16651
16347
|
/**
|
|
16652
16348
|
* Queries the storage resource usage of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -16709,12 +16405,7 @@ class Client extends openapi_client_1.default {
|
|
|
16709
16405
|
reqBodyType: "formData",
|
|
16710
16406
|
bodyType: "json",
|
|
16711
16407
|
});
|
|
16712
|
-
|
|
16713
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTableAccessCountResponse({}));
|
|
16714
|
-
}
|
|
16715
|
-
else {
|
|
16716
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeTableAccessCountResponse({}));
|
|
16717
|
-
}
|
|
16408
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTableAccessCountResponse({}));
|
|
16718
16409
|
}
|
|
16719
16410
|
/**
|
|
16720
16411
|
* Queries the number of accesses to a table or all tables in an AnalyticDB for MySQL cluster on a date.
|
|
@@ -16766,12 +16457,7 @@ class Client extends openapi_client_1.default {
|
|
|
16766
16457
|
reqBodyType: "formData",
|
|
16767
16458
|
bodyType: "json",
|
|
16768
16459
|
});
|
|
16769
|
-
|
|
16770
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTablesResponse({}));
|
|
16771
|
-
}
|
|
16772
|
-
else {
|
|
16773
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeTablesResponse({}));
|
|
16774
|
-
}
|
|
16460
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTablesResponse({}));
|
|
16775
16461
|
}
|
|
16776
16462
|
/**
|
|
16777
16463
|
* Queries a list of tables in a database.
|
|
@@ -16814,12 +16500,7 @@ class Client extends openapi_client_1.default {
|
|
|
16814
16500
|
reqBodyType: "formData",
|
|
16815
16501
|
bodyType: "json",
|
|
16816
16502
|
});
|
|
16817
|
-
|
|
16818
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
16819
|
-
}
|
|
16820
|
-
else {
|
|
16821
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
16822
|
-
}
|
|
16503
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
16823
16504
|
}
|
|
16824
16505
|
/**
|
|
16825
16506
|
* 查询配额
|
|
@@ -16862,12 +16543,7 @@ class Client extends openapi_client_1.default {
|
|
|
16862
16543
|
reqBodyType: "formData",
|
|
16863
16544
|
bodyType: "json",
|
|
16864
16545
|
});
|
|
16865
|
-
|
|
16866
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DetachUserENIResponse({}));
|
|
16867
|
-
}
|
|
16868
|
-
else {
|
|
16869
|
-
return $tea.cast(await this.execute(params, req, runtime), new DetachUserENIResponse({}));
|
|
16870
|
-
}
|
|
16546
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachUserENIResponse({}));
|
|
16871
16547
|
}
|
|
16872
16548
|
/**
|
|
16873
16549
|
* @remarks
|
|
@@ -16913,12 +16589,7 @@ class Client extends openapi_client_1.default {
|
|
|
16913
16589
|
reqBodyType: "formData",
|
|
16914
16590
|
bodyType: "json",
|
|
16915
16591
|
});
|
|
16916
|
-
|
|
16917
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DisableElasticPlanResponse({}));
|
|
16918
|
-
}
|
|
16919
|
-
else {
|
|
16920
|
-
return $tea.cast(await this.execute(params, req, runtime), new DisableElasticPlanResponse({}));
|
|
16921
|
-
}
|
|
16592
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DisableElasticPlanResponse({}));
|
|
16922
16593
|
}
|
|
16923
16594
|
/**
|
|
16924
16595
|
* Disables a scaling plan for an AnalyticDB for MySQL cluster.
|
|
@@ -17005,12 +16676,7 @@ class Client extends openapi_client_1.default {
|
|
|
17005
16676
|
reqBodyType: "formData",
|
|
17006
16677
|
bodyType: "json",
|
|
17007
16678
|
});
|
|
17008
|
-
|
|
17009
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DownloadDiagnosisRecordsResponse({}));
|
|
17010
|
-
}
|
|
17011
|
-
else {
|
|
17012
|
-
return $tea.cast(await this.execute(params, req, runtime), new DownloadDiagnosisRecordsResponse({}));
|
|
17013
|
-
}
|
|
16679
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DownloadDiagnosisRecordsResponse({}));
|
|
17014
16680
|
}
|
|
17015
16681
|
/**
|
|
17016
16682
|
* Downloads the diagnostic information about SQL statements that meet a query condition for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -17058,12 +16724,7 @@ class Client extends openapi_client_1.default {
|
|
|
17058
16724
|
reqBodyType: "formData",
|
|
17059
16725
|
bodyType: "json",
|
|
17060
16726
|
});
|
|
17061
|
-
|
|
17062
|
-
return $tea.cast(await this.callApi(params, req, runtime), new EnableElasticPlanResponse({}));
|
|
17063
|
-
}
|
|
17064
|
-
else {
|
|
17065
|
-
return $tea.cast(await this.execute(params, req, runtime), new EnableElasticPlanResponse({}));
|
|
17066
|
-
}
|
|
16727
|
+
return $tea.cast(await this.callApi(params, req, runtime), new EnableElasticPlanResponse({}));
|
|
17067
16728
|
}
|
|
17068
16729
|
/**
|
|
17069
16730
|
* Enables a scaling plan for an AnalyticDB for MySQL cluster.
|
|
@@ -17113,12 +16774,7 @@ class Client extends openapi_client_1.default {
|
|
|
17113
16774
|
reqBodyType: "formData",
|
|
17114
16775
|
bodyType: "json",
|
|
17115
16776
|
});
|
|
17116
|
-
|
|
17117
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ExistRunningSQLEngineResponse({}));
|
|
17118
|
-
}
|
|
17119
|
-
else {
|
|
17120
|
-
return $tea.cast(await this.execute(params, req, runtime), new ExistRunningSQLEngineResponse({}));
|
|
17121
|
-
}
|
|
16777
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ExistRunningSQLEngineResponse({}));
|
|
17122
16778
|
}
|
|
17123
16779
|
/**
|
|
17124
16780
|
* Queries whether a running SQL engine exists.
|
|
@@ -17184,12 +16840,7 @@ class Client extends openapi_client_1.default {
|
|
|
17184
16840
|
reqBodyType: "formData",
|
|
17185
16841
|
bodyType: "json",
|
|
17186
16842
|
});
|
|
17187
|
-
|
|
17188
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetDatabaseObjectsResponse({}));
|
|
17189
|
-
}
|
|
17190
|
-
else {
|
|
17191
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetDatabaseObjectsResponse({}));
|
|
17192
|
-
}
|
|
16843
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetDatabaseObjectsResponse({}));
|
|
17193
16844
|
}
|
|
17194
16845
|
/**
|
|
17195
16846
|
* Queries the information about databases.
|
|
@@ -17248,12 +16899,7 @@ class Client extends openapi_client_1.default {
|
|
|
17248
16899
|
reqBodyType: "formData",
|
|
17249
16900
|
bodyType: "json",
|
|
17250
16901
|
});
|
|
17251
|
-
|
|
17252
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppAttemptLogResponse({}));
|
|
17253
|
-
}
|
|
17254
|
-
else {
|
|
17255
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkAppAttemptLogResponse({}));
|
|
17256
|
-
}
|
|
16902
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppAttemptLogResponse({}));
|
|
17257
16903
|
}
|
|
17258
16904
|
/**
|
|
17259
16905
|
* Queries the information about the retry log of a Spark application.
|
|
@@ -17307,12 +16953,7 @@ class Client extends openapi_client_1.default {
|
|
|
17307
16953
|
reqBodyType: "formData",
|
|
17308
16954
|
bodyType: "json",
|
|
17309
16955
|
});
|
|
17310
|
-
|
|
17311
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppInfoResponse({}));
|
|
17312
|
-
}
|
|
17313
|
-
else {
|
|
17314
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkAppInfoResponse({}));
|
|
17315
|
-
}
|
|
16956
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppInfoResponse({}));
|
|
17316
16957
|
}
|
|
17317
16958
|
/**
|
|
17318
16959
|
* Queries the information about an Spark application.
|
|
@@ -17375,12 +17016,7 @@ class Client extends openapi_client_1.default {
|
|
|
17375
17016
|
reqBodyType: "formData",
|
|
17376
17017
|
bodyType: "json",
|
|
17377
17018
|
});
|
|
17378
|
-
|
|
17379
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppLogResponse({}));
|
|
17380
|
-
}
|
|
17381
|
-
else {
|
|
17382
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkAppLogResponse({}));
|
|
17383
|
-
}
|
|
17019
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppLogResponse({}));
|
|
17384
17020
|
}
|
|
17385
17021
|
/**
|
|
17386
17022
|
* Queries the logs of a Spark application.
|
|
@@ -17434,12 +17070,7 @@ class Client extends openapi_client_1.default {
|
|
|
17434
17070
|
reqBodyType: "formData",
|
|
17435
17071
|
bodyType: "json",
|
|
17436
17072
|
});
|
|
17437
|
-
|
|
17438
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppMetricsResponse({}));
|
|
17439
|
-
}
|
|
17440
|
-
else {
|
|
17441
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkAppMetricsResponse({}));
|
|
17442
|
-
}
|
|
17073
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppMetricsResponse({}));
|
|
17443
17074
|
}
|
|
17444
17075
|
/**
|
|
17445
17076
|
* Queries the metrics of a Spark application.
|
|
@@ -17493,12 +17124,7 @@ class Client extends openapi_client_1.default {
|
|
|
17493
17124
|
reqBodyType: "formData",
|
|
17494
17125
|
bodyType: "json",
|
|
17495
17126
|
});
|
|
17496
|
-
|
|
17497
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppStateResponse({}));
|
|
17498
|
-
}
|
|
17499
|
-
else {
|
|
17500
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkAppStateResponse({}));
|
|
17501
|
-
}
|
|
17127
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppStateResponse({}));
|
|
17502
17128
|
}
|
|
17503
17129
|
/**
|
|
17504
17130
|
* Queries the status of a Spark application.
|
|
@@ -17552,12 +17178,7 @@ class Client extends openapi_client_1.default {
|
|
|
17552
17178
|
reqBodyType: "formData",
|
|
17553
17179
|
bodyType: "json",
|
|
17554
17180
|
});
|
|
17555
|
-
|
|
17556
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppWebUiAddressResponse({}));
|
|
17557
|
-
}
|
|
17558
|
-
else {
|
|
17559
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkAppWebUiAddressResponse({}));
|
|
17560
|
-
}
|
|
17181
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppWebUiAddressResponse({}));
|
|
17561
17182
|
}
|
|
17562
17183
|
/**
|
|
17563
17184
|
* Queries the URL of the web UI for a Spark application.
|
|
@@ -17606,12 +17227,7 @@ class Client extends openapi_client_1.default {
|
|
|
17606
17227
|
reqBodyType: "formData",
|
|
17607
17228
|
bodyType: "json",
|
|
17608
17229
|
});
|
|
17609
|
-
|
|
17610
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkConfigLogPathResponse({}));
|
|
17611
|
-
}
|
|
17612
|
-
else {
|
|
17613
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkConfigLogPathResponse({}));
|
|
17614
|
-
}
|
|
17230
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkConfigLogPathResponse({}));
|
|
17615
17231
|
}
|
|
17616
17232
|
/**
|
|
17617
17233
|
* Queries the Spark log configuration of an AnalyticDB for MySQL cluster, including the default Spark log path.
|
|
@@ -17660,12 +17276,7 @@ class Client extends openapi_client_1.default {
|
|
|
17660
17276
|
reqBodyType: "formData",
|
|
17661
17277
|
bodyType: "json",
|
|
17662
17278
|
});
|
|
17663
|
-
|
|
17664
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkDefinitionsResponse({}));
|
|
17665
|
-
}
|
|
17666
|
-
else {
|
|
17667
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkDefinitionsResponse({}));
|
|
17668
|
-
}
|
|
17279
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkDefinitionsResponse({}));
|
|
17669
17280
|
}
|
|
17670
17281
|
/**
|
|
17671
17282
|
* Queries the common definitions of Spark applications.
|
|
@@ -17714,12 +17325,7 @@ class Client extends openapi_client_1.default {
|
|
|
17714
17325
|
reqBodyType: "formData",
|
|
17715
17326
|
bodyType: "json",
|
|
17716
17327
|
});
|
|
17717
|
-
|
|
17718
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkLogAnalyzeTaskResponse({}));
|
|
17719
|
-
}
|
|
17720
|
-
else {
|
|
17721
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkLogAnalyzeTaskResponse({}));
|
|
17722
|
-
}
|
|
17328
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkLogAnalyzeTaskResponse({}));
|
|
17723
17329
|
}
|
|
17724
17330
|
/**
|
|
17725
17331
|
* Queries the results of a Spark log analysis task.
|
|
@@ -17771,12 +17377,7 @@ class Client extends openapi_client_1.default {
|
|
|
17771
17377
|
reqBodyType: "formData",
|
|
17772
17378
|
bodyType: "json",
|
|
17773
17379
|
});
|
|
17774
|
-
|
|
17775
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkSQLEngineStateResponse({}));
|
|
17776
|
-
}
|
|
17777
|
-
else {
|
|
17778
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkSQLEngineStateResponse({}));
|
|
17779
|
-
}
|
|
17380
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkSQLEngineStateResponse({}));
|
|
17780
17381
|
}
|
|
17781
17382
|
/**
|
|
17782
17383
|
* Queries the state information about the Spark SQL engine.
|
|
@@ -17828,12 +17429,7 @@ class Client extends openapi_client_1.default {
|
|
|
17828
17429
|
reqBodyType: "formData",
|
|
17829
17430
|
bodyType: "json",
|
|
17830
17431
|
});
|
|
17831
|
-
|
|
17832
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFileContentResponse({}));
|
|
17833
|
-
}
|
|
17834
|
-
else {
|
|
17835
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkTemplateFileContentResponse({}));
|
|
17836
|
-
}
|
|
17432
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFileContentResponse({}));
|
|
17837
17433
|
}
|
|
17838
17434
|
/**
|
|
17839
17435
|
* Queries the content of a Spark application template.
|
|
@@ -17882,12 +17478,7 @@ class Client extends openapi_client_1.default {
|
|
|
17882
17478
|
reqBodyType: "formData",
|
|
17883
17479
|
bodyType: "json",
|
|
17884
17480
|
});
|
|
17885
|
-
|
|
17886
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFolderTreeResponse({}));
|
|
17887
|
-
}
|
|
17888
|
-
else {
|
|
17889
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkTemplateFolderTreeResponse({}));
|
|
17890
|
-
}
|
|
17481
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFolderTreeResponse({}));
|
|
17891
17482
|
}
|
|
17892
17483
|
/**
|
|
17893
17484
|
* Queries the directory structure of Spark applications.
|
|
@@ -17936,12 +17527,7 @@ class Client extends openapi_client_1.default {
|
|
|
17936
17527
|
reqBodyType: "formData",
|
|
17937
17528
|
bodyType: "json",
|
|
17938
17529
|
});
|
|
17939
|
-
|
|
17940
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFullTreeResponse({}));
|
|
17941
|
-
}
|
|
17942
|
-
else {
|
|
17943
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSparkTemplateFullTreeResponse({}));
|
|
17944
|
-
}
|
|
17530
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFullTreeResponse({}));
|
|
17945
17531
|
}
|
|
17946
17532
|
/**
|
|
17947
17533
|
* Queries the directory structure of Spark applications.
|
|
@@ -17994,12 +17580,7 @@ class Client extends openapi_client_1.default {
|
|
|
17994
17580
|
reqBodyType: "formData",
|
|
17995
17581
|
bodyType: "json",
|
|
17996
17582
|
});
|
|
17997
|
-
|
|
17998
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetTableResponse({}));
|
|
17999
|
-
}
|
|
18000
|
-
else {
|
|
18001
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetTableResponse({}));
|
|
18002
|
-
}
|
|
17583
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetTableResponse({}));
|
|
18003
17584
|
}
|
|
18004
17585
|
/**
|
|
18005
17586
|
* 获取表
|
|
@@ -18060,12 +17641,7 @@ class Client extends openapi_client_1.default {
|
|
|
18060
17641
|
reqBodyType: "formData",
|
|
18061
17642
|
bodyType: "json",
|
|
18062
17643
|
});
|
|
18063
|
-
|
|
18064
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetTableColumnsResponse({}));
|
|
18065
|
-
}
|
|
18066
|
-
else {
|
|
18067
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetTableColumnsResponse({}));
|
|
18068
|
-
}
|
|
17644
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetTableColumnsResponse({}));
|
|
18069
17645
|
}
|
|
18070
17646
|
/**
|
|
18071
17647
|
* Queries the information about columns.
|
|
@@ -18121,12 +17697,7 @@ class Client extends openapi_client_1.default {
|
|
|
18121
17697
|
reqBodyType: "formData",
|
|
18122
17698
|
bodyType: "json",
|
|
18123
17699
|
});
|
|
18124
|
-
|
|
18125
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetTableDDLResponse({}));
|
|
18126
|
-
}
|
|
18127
|
-
else {
|
|
18128
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetTableDDLResponse({}));
|
|
18129
|
-
}
|
|
17700
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetTableDDLResponse({}));
|
|
18130
17701
|
}
|
|
18131
17702
|
/**
|
|
18132
17703
|
* Queries the statement that is used to create a table.
|
|
@@ -18196,12 +17767,7 @@ class Client extends openapi_client_1.default {
|
|
|
18196
17767
|
reqBodyType: "formData",
|
|
18197
17768
|
bodyType: "json",
|
|
18198
17769
|
});
|
|
18199
|
-
|
|
18200
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetTableObjectsResponse({}));
|
|
18201
|
-
}
|
|
18202
|
-
else {
|
|
18203
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetTableObjectsResponse({}));
|
|
18204
|
-
}
|
|
17770
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetTableObjectsResponse({}));
|
|
18205
17771
|
}
|
|
18206
17772
|
/**
|
|
18207
17773
|
* 获取table概要信息
|
|
@@ -18253,12 +17819,7 @@ class Client extends openapi_client_1.default {
|
|
|
18253
17819
|
reqBodyType: "formData",
|
|
18254
17820
|
bodyType: "json",
|
|
18255
17821
|
});
|
|
18256
|
-
|
|
18257
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetViewDDLResponse({}));
|
|
18258
|
-
}
|
|
18259
|
-
else {
|
|
18260
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetViewDDLResponse({}));
|
|
18261
|
-
}
|
|
17822
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetViewDDLResponse({}));
|
|
18262
17823
|
}
|
|
18263
17824
|
/**
|
|
18264
17825
|
* Queries the statement that is used to create a view.
|
|
@@ -18329,12 +17890,7 @@ class Client extends openapi_client_1.default {
|
|
|
18329
17890
|
reqBodyType: "formData",
|
|
18330
17891
|
bodyType: "json",
|
|
18331
17892
|
});
|
|
18332
|
-
|
|
18333
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetViewObjectsResponse({}));
|
|
18334
|
-
}
|
|
18335
|
-
else {
|
|
18336
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetViewObjectsResponse({}));
|
|
18337
|
-
}
|
|
17893
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetViewObjectsResponse({}));
|
|
18338
17894
|
}
|
|
18339
17895
|
/**
|
|
18340
17896
|
* Queries the information about views.
|
|
@@ -18387,12 +17943,7 @@ class Client extends openapi_client_1.default {
|
|
|
18387
17943
|
reqBodyType: "formData",
|
|
18388
17944
|
bodyType: "json",
|
|
18389
17945
|
});
|
|
18390
|
-
|
|
18391
|
-
return $tea.cast(await this.callApi(params, req, runtime), new KillSparkAppResponse({}));
|
|
18392
|
-
}
|
|
18393
|
-
else {
|
|
18394
|
-
return $tea.cast(await this.execute(params, req, runtime), new KillSparkAppResponse({}));
|
|
18395
|
-
}
|
|
17946
|
+
return $tea.cast(await this.callApi(params, req, runtime), new KillSparkAppResponse({}));
|
|
18396
17947
|
}
|
|
18397
17948
|
/**
|
|
18398
17949
|
* Terminates a Spark application.
|
|
@@ -18441,12 +17992,7 @@ class Client extends openapi_client_1.default {
|
|
|
18441
17992
|
reqBodyType: "formData",
|
|
18442
17993
|
bodyType: "json",
|
|
18443
17994
|
});
|
|
18444
|
-
|
|
18445
|
-
return $tea.cast(await this.callApi(params, req, runtime), new KillSparkLogAnalyzeTaskResponse({}));
|
|
18446
|
-
}
|
|
18447
|
-
else {
|
|
18448
|
-
return $tea.cast(await this.execute(params, req, runtime), new KillSparkLogAnalyzeTaskResponse({}));
|
|
18449
|
-
}
|
|
17995
|
+
return $tea.cast(await this.callApi(params, req, runtime), new KillSparkLogAnalyzeTaskResponse({}));
|
|
18450
17996
|
}
|
|
18451
17997
|
/**
|
|
18452
17998
|
* Terminates a Spark log analysis task and queries the information about the analysis task.
|
|
@@ -18498,12 +18044,7 @@ class Client extends openapi_client_1.default {
|
|
|
18498
18044
|
reqBodyType: "formData",
|
|
18499
18045
|
bodyType: "json",
|
|
18500
18046
|
});
|
|
18501
|
-
|
|
18502
|
-
return $tea.cast(await this.callApi(params, req, runtime), new KillSparkSQLEngineResponse({}));
|
|
18503
|
-
}
|
|
18504
|
-
else {
|
|
18505
|
-
return $tea.cast(await this.execute(params, req, runtime), new KillSparkSQLEngineResponse({}));
|
|
18506
|
-
}
|
|
18047
|
+
return $tea.cast(await this.callApi(params, req, runtime), new KillSparkSQLEngineResponse({}));
|
|
18507
18048
|
}
|
|
18508
18049
|
/**
|
|
18509
18050
|
* Shuts down a Spark SQL engine.
|
|
@@ -18561,12 +18102,7 @@ class Client extends openapi_client_1.default {
|
|
|
18561
18102
|
reqBodyType: "formData",
|
|
18562
18103
|
bodyType: "json",
|
|
18563
18104
|
});
|
|
18564
|
-
|
|
18565
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ListSparkAppAttemptsResponse({}));
|
|
18566
|
-
}
|
|
18567
|
-
else {
|
|
18568
|
-
return $tea.cast(await this.execute(params, req, runtime), new ListSparkAppAttemptsResponse({}));
|
|
18569
|
-
}
|
|
18105
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListSparkAppAttemptsResponse({}));
|
|
18570
18106
|
}
|
|
18571
18107
|
/**
|
|
18572
18108
|
* Queries the information about retry attempts of a Spark application.
|
|
@@ -18619,12 +18155,7 @@ class Client extends openapi_client_1.default {
|
|
|
18619
18155
|
reqBodyType: "formData",
|
|
18620
18156
|
bodyType: "json",
|
|
18621
18157
|
});
|
|
18622
|
-
|
|
18623
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ListSparkAppsResponse({}));
|
|
18624
|
-
}
|
|
18625
|
-
else {
|
|
18626
|
-
return $tea.cast(await this.execute(params, req, runtime), new ListSparkAppsResponse({}));
|
|
18627
|
-
}
|
|
18158
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListSparkAppsResponse({}));
|
|
18628
18159
|
}
|
|
18629
18160
|
/**
|
|
18630
18161
|
* Queries the Spark applications that run on an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -18674,12 +18205,7 @@ class Client extends openapi_client_1.default {
|
|
|
18674
18205
|
reqBodyType: "formData",
|
|
18675
18206
|
bodyType: "json",
|
|
18676
18207
|
});
|
|
18677
|
-
|
|
18678
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ListSparkLogAnalyzeTasksResponse({}));
|
|
18679
|
-
}
|
|
18680
|
-
else {
|
|
18681
|
-
return $tea.cast(await this.execute(params, req, runtime), new ListSparkLogAnalyzeTasksResponse({}));
|
|
18682
|
-
}
|
|
18208
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListSparkLogAnalyzeTasksResponse({}));
|
|
18683
18209
|
}
|
|
18684
18210
|
/**
|
|
18685
18211
|
* Queries a list of Spark log analysis tasks.
|
|
@@ -18728,12 +18254,7 @@ class Client extends openapi_client_1.default {
|
|
|
18728
18254
|
reqBodyType: "formData",
|
|
18729
18255
|
bodyType: "json",
|
|
18730
18256
|
});
|
|
18731
|
-
|
|
18732
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ListSparkTemplateFileIdsResponse({}));
|
|
18733
|
-
}
|
|
18734
|
-
else {
|
|
18735
|
-
return $tea.cast(await this.execute(params, req, runtime), new ListSparkTemplateFileIdsResponse({}));
|
|
18736
|
-
}
|
|
18257
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListSparkTemplateFileIdsResponse({}));
|
|
18737
18258
|
}
|
|
18738
18259
|
/**
|
|
18739
18260
|
* Queries all Spark template file IDs of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -18780,12 +18301,7 @@ class Client extends openapi_client_1.default {
|
|
|
18780
18301
|
reqBodyType: "formData",
|
|
18781
18302
|
bodyType: "json",
|
|
18782
18303
|
});
|
|
18783
|
-
|
|
18784
|
-
return $tea.cast(await this.callApi(params, req, runtime), new LoadSampleDataSetResponse({}));
|
|
18785
|
-
}
|
|
18786
|
-
else {
|
|
18787
|
-
return $tea.cast(await this.execute(params, req, runtime), new LoadSampleDataSetResponse({}));
|
|
18788
|
-
}
|
|
18304
|
+
return $tea.cast(await this.callApi(params, req, runtime), new LoadSampleDataSetResponse({}));
|
|
18789
18305
|
}
|
|
18790
18306
|
/**
|
|
18791
18307
|
* Loads a built-in dataset.
|
|
@@ -18839,12 +18355,7 @@ class Client extends openapi_client_1.default {
|
|
|
18839
18355
|
reqBodyType: "formData",
|
|
18840
18356
|
bodyType: "json",
|
|
18841
18357
|
});
|
|
18842
|
-
|
|
18843
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountDescriptionResponse({}));
|
|
18844
|
-
}
|
|
18845
|
-
else {
|
|
18846
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyAccountDescriptionResponse({}));
|
|
18847
|
-
}
|
|
18358
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountDescriptionResponse({}));
|
|
18848
18359
|
}
|
|
18849
18360
|
/**
|
|
18850
18361
|
* Modifies the description of a database account for an AnalyticDB for MySQL cluster.
|
|
@@ -18903,12 +18414,7 @@ class Client extends openapi_client_1.default {
|
|
|
18903
18414
|
reqBodyType: "formData",
|
|
18904
18415
|
bodyType: "json",
|
|
18905
18416
|
});
|
|
18906
|
-
|
|
18907
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountPrivilegesResponse({}));
|
|
18908
|
-
}
|
|
18909
|
-
else {
|
|
18910
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyAccountPrivilegesResponse({}));
|
|
18911
|
-
}
|
|
18417
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountPrivilegesResponse({}));
|
|
18912
18418
|
}
|
|
18913
18419
|
/**
|
|
18914
18420
|
* Modifies the permissions of a database account.
|
|
@@ -18974,12 +18480,7 @@ class Client extends openapi_client_1.default {
|
|
|
18974
18480
|
reqBodyType: "formData",
|
|
18975
18481
|
bodyType: "json",
|
|
18976
18482
|
});
|
|
18977
|
-
|
|
18978
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAuditLogConfigResponse({}));
|
|
18979
|
-
}
|
|
18980
|
-
else {
|
|
18981
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyAuditLogConfigResponse({}));
|
|
18982
|
-
}
|
|
18483
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAuditLogConfigResponse({}));
|
|
18983
18484
|
}
|
|
18984
18485
|
/**
|
|
18985
18486
|
* Modifies the SQL audit settings of an AnalyticDB for MySQL cluster.
|
|
@@ -19051,12 +18552,7 @@ class Client extends openapi_client_1.default {
|
|
|
19051
18552
|
reqBodyType: "formData",
|
|
19052
18553
|
bodyType: "json",
|
|
19053
18554
|
});
|
|
19054
|
-
|
|
19055
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
|
|
19056
|
-
}
|
|
19057
|
-
else {
|
|
19058
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyBackupPolicyResponse({}));
|
|
19059
|
-
}
|
|
18555
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
|
|
19060
18556
|
}
|
|
19061
18557
|
/**
|
|
19062
18558
|
* Modifies the backup policy of an AnalyticDB for MySQL cluster.
|
|
@@ -19113,12 +18609,7 @@ class Client extends openapi_client_1.default {
|
|
|
19113
18609
|
reqBodyType: "formData",
|
|
19114
18610
|
bodyType: "json",
|
|
19115
18611
|
});
|
|
19116
|
-
|
|
19117
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterAccessWhiteListResponse({}));
|
|
19118
|
-
}
|
|
19119
|
-
else {
|
|
19120
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyClusterAccessWhiteListResponse({}));
|
|
19121
|
-
}
|
|
18612
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterAccessWhiteListResponse({}));
|
|
19122
18613
|
}
|
|
19123
18614
|
/**
|
|
19124
18615
|
* Modifies the IP address whitelist of an AnalyticDB for MySQL cluster.
|
|
@@ -19172,12 +18663,7 @@ class Client extends openapi_client_1.default {
|
|
|
19172
18663
|
reqBodyType: "formData",
|
|
19173
18664
|
bodyType: "json",
|
|
19174
18665
|
});
|
|
19175
|
-
|
|
19176
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterConnectionStringResponse({}));
|
|
19177
|
-
}
|
|
19178
|
-
else {
|
|
19179
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyClusterConnectionStringResponse({}));
|
|
19180
|
-
}
|
|
18666
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterConnectionStringResponse({}));
|
|
19181
18667
|
}
|
|
19182
18668
|
/**
|
|
19183
18669
|
* Modifies the public endpoint of an AnalyticDB for MySQL cluster.
|
|
@@ -19202,7 +18688,7 @@ class Client extends openapi_client_1.default {
|
|
|
19202
18688
|
* * If the cluster has a built-in dataset loaded, make sure that the cluster has reserved storage resources of at least 24 AnalyticDB compute units (ACUs). Otherwise, the built-in dataset cannot be used.
|
|
19203
18689
|
* * When the scaling process is about to end, transient connections may occur. We recommend that you scale your cluster during off-peak hours or make sure that your application is configured to automatically reconnect to your cluster.
|
|
19204
18690
|
* * You can change an AnalyticDB for MySQL cluster from Data Warehouse Edition to Data Lakehouse Edition, but not the other way around. For more information, see Change a cluster from Data Warehouse Edition to Data Lakehouse Edition.
|
|
19205
|
-
* * For information about the endpoints of
|
|
18691
|
+
* * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
19206
18692
|
*
|
|
19207
18693
|
* @param request - ModifyDBClusterRequest
|
|
19208
18694
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19258,12 +18744,7 @@ class Client extends openapi_client_1.default {
|
|
|
19258
18744
|
reqBodyType: "formData",
|
|
19259
18745
|
bodyType: "json",
|
|
19260
18746
|
});
|
|
19261
|
-
|
|
19262
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
|
|
19263
|
-
}
|
|
19264
|
-
else {
|
|
19265
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyDBClusterResponse({}));
|
|
19266
|
-
}
|
|
18747
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
|
|
19267
18748
|
}
|
|
19268
18749
|
/**
|
|
19269
18750
|
* Changes the configurations of an AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
@@ -19275,7 +18756,7 @@ class Client extends openapi_client_1.default {
|
|
|
19275
18756
|
* * If the cluster has a built-in dataset loaded, make sure that the cluster has reserved storage resources of at least 24 AnalyticDB compute units (ACUs). Otherwise, the built-in dataset cannot be used.
|
|
19276
18757
|
* * When the scaling process is about to end, transient connections may occur. We recommend that you scale your cluster during off-peak hours or make sure that your application is configured to automatically reconnect to your cluster.
|
|
19277
18758
|
* * You can change an AnalyticDB for MySQL cluster from Data Warehouse Edition to Data Lakehouse Edition, but not the other way around. For more information, see Change a cluster from Data Warehouse Edition to Data Lakehouse Edition.
|
|
19278
|
-
* * For information about the endpoints of
|
|
18759
|
+
* * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
19279
18760
|
*
|
|
19280
18761
|
* @param request - ModifyDBClusterRequest
|
|
19281
18762
|
* @returns ModifyDBClusterResponse
|
|
@@ -19317,12 +18798,7 @@ class Client extends openapi_client_1.default {
|
|
|
19317
18798
|
reqBodyType: "formData",
|
|
19318
18799
|
bodyType: "json",
|
|
19319
18800
|
});
|
|
19320
|
-
|
|
19321
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
|
|
19322
|
-
}
|
|
19323
|
-
else {
|
|
19324
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
|
|
19325
|
-
}
|
|
18801
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
|
|
19326
18802
|
}
|
|
19327
18803
|
/**
|
|
19328
18804
|
* Modifies the description of an AnalyticDB for MySQL cluster to facilitate the maintenance and management of the cluster.
|
|
@@ -19370,12 +18846,7 @@ class Client extends openapi_client_1.default {
|
|
|
19370
18846
|
reqBodyType: "formData",
|
|
19371
18847
|
bodyType: "json",
|
|
19372
18848
|
});
|
|
19373
|
-
|
|
19374
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
|
|
19375
|
-
}
|
|
19376
|
-
else {
|
|
19377
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
|
|
19378
|
-
}
|
|
18849
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
|
|
19379
18850
|
}
|
|
19380
18851
|
/**
|
|
19381
18852
|
* Modifies the maintenance window of an AnalyticDB for MySQL cluster.
|
|
@@ -19411,6 +18882,9 @@ class Client extends openapi_client_1.default {
|
|
|
19411
18882
|
request.rulesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
19412
18883
|
}
|
|
19413
18884
|
let query = {};
|
|
18885
|
+
if (!tea_util_1.default.isUnset(request.autoStopInterval)) {
|
|
18886
|
+
query["AutoStopInterval"] = request.autoStopInterval;
|
|
18887
|
+
}
|
|
19414
18888
|
if (!tea_util_1.default.isUnset(request.clusterMode)) {
|
|
19415
18889
|
query["ClusterMode"] = request.clusterMode;
|
|
19416
18890
|
}
|
|
@@ -19459,6 +18933,9 @@ class Client extends openapi_client_1.default {
|
|
|
19459
18933
|
if (!tea_util_1.default.isUnset(request.specName)) {
|
|
19460
18934
|
query["SpecName"] = request.specName;
|
|
19461
18935
|
}
|
|
18936
|
+
if (!tea_util_1.default.isUnset(request.status)) {
|
|
18937
|
+
query["Status"] = request.status;
|
|
18938
|
+
}
|
|
19462
18939
|
if (!tea_util_1.default.isUnset(request.targetResourceGroupName)) {
|
|
19463
18940
|
query["TargetResourceGroupName"] = request.targetResourceGroupName;
|
|
19464
18941
|
}
|
|
@@ -19476,12 +18953,7 @@ class Client extends openapi_client_1.default {
|
|
|
19476
18953
|
reqBodyType: "formData",
|
|
19477
18954
|
bodyType: "json",
|
|
19478
18955
|
});
|
|
19479
|
-
|
|
19480
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBResourceGroupResponse({}));
|
|
19481
|
-
}
|
|
19482
|
-
else {
|
|
19483
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyDBResourceGroupResponse({}));
|
|
19484
|
-
}
|
|
18956
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBResourceGroupResponse({}));
|
|
19485
18957
|
}
|
|
19486
18958
|
/**
|
|
19487
18959
|
* Modifies the amount of reserved computing resources for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -19541,12 +19013,7 @@ class Client extends openapi_client_1.default {
|
|
|
19541
19013
|
reqBodyType: "formData",
|
|
19542
19014
|
bodyType: "json",
|
|
19543
19015
|
});
|
|
19544
|
-
|
|
19545
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyElasticPlanResponse({}));
|
|
19546
|
-
}
|
|
19547
|
-
else {
|
|
19548
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyElasticPlanResponse({}));
|
|
19549
|
-
}
|
|
19016
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyElasticPlanResponse({}));
|
|
19550
19017
|
}
|
|
19551
19018
|
/**
|
|
19552
19019
|
* Modifies a scaling plan for an AnalyticDB for MySQL cluster.
|
|
@@ -19614,12 +19081,7 @@ class Client extends openapi_client_1.default {
|
|
|
19614
19081
|
reqBodyType: "formData",
|
|
19615
19082
|
bodyType: "json",
|
|
19616
19083
|
});
|
|
19617
|
-
|
|
19618
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPerformanceViewResponse({}));
|
|
19619
|
-
}
|
|
19620
|
-
else {
|
|
19621
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyPerformanceViewResponse({}));
|
|
19622
|
-
}
|
|
19084
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPerformanceViewResponse({}));
|
|
19623
19085
|
}
|
|
19624
19086
|
/**
|
|
19625
19087
|
* Modifies the information about a custom monitoring view.
|
|
@@ -19668,12 +19130,7 @@ class Client extends openapi_client_1.default {
|
|
|
19668
19130
|
reqBodyType: "formData",
|
|
19669
19131
|
bodyType: "json",
|
|
19670
19132
|
});
|
|
19671
|
-
|
|
19672
|
-
return $tea.cast(await this.callApi(params, req, runtime), new PreloadSparkAppMetricsResponse({}));
|
|
19673
|
-
}
|
|
19674
|
-
else {
|
|
19675
|
-
return $tea.cast(await this.execute(params, req, runtime), new PreloadSparkAppMetricsResponse({}));
|
|
19676
|
-
}
|
|
19133
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PreloadSparkAppMetricsResponse({}));
|
|
19677
19134
|
}
|
|
19678
19135
|
/**
|
|
19679
19136
|
* Preloads metrics for a Spark application.
|
|
@@ -19723,12 +19180,7 @@ class Client extends openapi_client_1.default {
|
|
|
19723
19180
|
reqBodyType: "formData",
|
|
19724
19181
|
bodyType: "json",
|
|
19725
19182
|
});
|
|
19726
|
-
|
|
19727
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ReleaseClusterPublicConnectionResponse({}));
|
|
19728
|
-
}
|
|
19729
|
-
else {
|
|
19730
|
-
return $tea.cast(await this.execute(params, req, runtime), new ReleaseClusterPublicConnectionResponse({}));
|
|
19731
|
-
}
|
|
19183
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ReleaseClusterPublicConnectionResponse({}));
|
|
19732
19184
|
}
|
|
19733
19185
|
/**
|
|
19734
19186
|
* Releases the public endpoint of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
@@ -19781,12 +19233,7 @@ class Client extends openapi_client_1.default {
|
|
|
19781
19233
|
reqBodyType: "formData",
|
|
19782
19234
|
bodyType: "json",
|
|
19783
19235
|
});
|
|
19784
|
-
|
|
19785
|
-
return $tea.cast(await this.callApi(params, req, runtime), new RenameSparkTemplateFileResponse({}));
|
|
19786
|
-
}
|
|
19787
|
-
else {
|
|
19788
|
-
return $tea.cast(await this.execute(params, req, runtime), new RenameSparkTemplateFileResponse({}));
|
|
19789
|
-
}
|
|
19236
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RenameSparkTemplateFileResponse({}));
|
|
19790
19237
|
}
|
|
19791
19238
|
/**
|
|
19792
19239
|
* Renames a Spark template file.
|
|
@@ -19845,12 +19292,7 @@ class Client extends openapi_client_1.default {
|
|
|
19845
19292
|
reqBodyType: "formData",
|
|
19846
19293
|
bodyType: "json",
|
|
19847
19294
|
});
|
|
19848
|
-
|
|
19849
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ResetAccountPasswordResponse({}));
|
|
19850
|
-
}
|
|
19851
|
-
else {
|
|
19852
|
-
return $tea.cast(await this.execute(params, req, runtime), new ResetAccountPasswordResponse({}));
|
|
19853
|
-
}
|
|
19295
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ResetAccountPasswordResponse({}));
|
|
19854
19296
|
}
|
|
19855
19297
|
/**
|
|
19856
19298
|
* Resets the password of a database account for an AnalyticDB for MySQL cluster.
|
|
@@ -19903,12 +19345,7 @@ class Client extends openapi_client_1.default {
|
|
|
19903
19345
|
reqBodyType: "formData",
|
|
19904
19346
|
bodyType: "json",
|
|
19905
19347
|
});
|
|
19906
|
-
|
|
19907
|
-
return $tea.cast(await this.callApi(params, req, runtime), new SetSparkAppLogRootPathResponse({}));
|
|
19908
|
-
}
|
|
19909
|
-
else {
|
|
19910
|
-
return $tea.cast(await this.execute(params, req, runtime), new SetSparkAppLogRootPathResponse({}));
|
|
19911
|
-
}
|
|
19348
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SetSparkAppLogRootPathResponse({}));
|
|
19912
19349
|
}
|
|
19913
19350
|
/**
|
|
19914
19351
|
* Modifies the Spark log configuration.
|
|
@@ -19975,12 +19412,7 @@ class Client extends openapi_client_1.default {
|
|
|
19975
19412
|
reqBodyType: "formData",
|
|
19976
19413
|
bodyType: "json",
|
|
19977
19414
|
});
|
|
19978
|
-
|
|
19979
|
-
return $tea.cast(await this.callApi(params, req, runtime), new StartSparkSQLEngineResponse({}));
|
|
19980
|
-
}
|
|
19981
|
-
else {
|
|
19982
|
-
return $tea.cast(await this.execute(params, req, runtime), new StartSparkSQLEngineResponse({}));
|
|
19983
|
-
}
|
|
19415
|
+
return $tea.cast(await this.callApi(params, req, runtime), new StartSparkSQLEngineResponse({}));
|
|
19984
19416
|
}
|
|
19985
19417
|
/**
|
|
19986
19418
|
* Starts the Spark SQL engine.
|
|
@@ -20050,12 +19482,7 @@ class Client extends openapi_client_1.default {
|
|
|
20050
19482
|
reqBodyType: "formData",
|
|
20051
19483
|
bodyType: "json",
|
|
20052
19484
|
});
|
|
20053
|
-
|
|
20054
|
-
return $tea.cast(await this.callApi(params, req, runtime), new SubmitSparkAppResponse({}));
|
|
20055
|
-
}
|
|
20056
|
-
else {
|
|
20057
|
-
return $tea.cast(await this.execute(params, req, runtime), new SubmitSparkAppResponse({}));
|
|
20058
|
-
}
|
|
19485
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SubmitSparkAppResponse({}));
|
|
20059
19486
|
}
|
|
20060
19487
|
/**
|
|
20061
19488
|
* Submits a Spark application.
|
|
@@ -20104,12 +19531,7 @@ class Client extends openapi_client_1.default {
|
|
|
20104
19531
|
reqBodyType: "formData",
|
|
20105
19532
|
bodyType: "json",
|
|
20106
19533
|
});
|
|
20107
|
-
|
|
20108
|
-
return $tea.cast(await this.callApi(params, req, runtime), new SubmitSparkLogAnalyzeTaskResponse({}));
|
|
20109
|
-
}
|
|
20110
|
-
else {
|
|
20111
|
-
return $tea.cast(await this.execute(params, req, runtime), new SubmitSparkLogAnalyzeTaskResponse({}));
|
|
20112
|
-
}
|
|
19534
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SubmitSparkLogAnalyzeTaskResponse({}));
|
|
20113
19535
|
}
|
|
20114
19536
|
/**
|
|
20115
19537
|
* Submits a Spark log analysis task and queries the analysis results.
|
|
@@ -20159,12 +19581,7 @@ class Client extends openapi_client_1.default {
|
|
|
20159
19581
|
reqBodyType: "formData",
|
|
20160
19582
|
bodyType: "json",
|
|
20161
19583
|
});
|
|
20162
|
-
|
|
20163
|
-
return $tea.cast(await this.callApi(params, req, runtime), new UnbindAccountResponse({}));
|
|
20164
|
-
}
|
|
20165
|
-
else {
|
|
20166
|
-
return $tea.cast(await this.execute(params, req, runtime), new UnbindAccountResponse({}));
|
|
20167
|
-
}
|
|
19584
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UnbindAccountResponse({}));
|
|
20168
19585
|
}
|
|
20169
19586
|
/**
|
|
20170
19587
|
* Disassociates a standard account of an AnalyticDB for MySQL cluster from a Resource Access Management (RAM) user.
|
|
@@ -20215,12 +19632,7 @@ class Client extends openapi_client_1.default {
|
|
|
20215
19632
|
reqBodyType: "formData",
|
|
20216
19633
|
bodyType: "json",
|
|
20217
19634
|
});
|
|
20218
|
-
|
|
20219
|
-
return $tea.cast(await this.callApi(params, req, runtime), new UnbindDBResourceGroupWithUserResponse({}));
|
|
20220
|
-
}
|
|
20221
|
-
else {
|
|
20222
|
-
return $tea.cast(await this.execute(params, req, runtime), new UnbindDBResourceGroupWithUserResponse({}));
|
|
20223
|
-
}
|
|
19635
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UnbindDBResourceGroupWithUserResponse({}));
|
|
20224
19636
|
}
|
|
20225
19637
|
/**
|
|
20226
19638
|
* Disassociates resource groups from database accounts for an AnalyticDB for MySQL cluster.
|
|
@@ -20276,12 +19688,7 @@ class Client extends openapi_client_1.default {
|
|
|
20276
19688
|
reqBodyType: "formData",
|
|
20277
19689
|
bodyType: "json",
|
|
20278
19690
|
});
|
|
20279
|
-
|
|
20280
|
-
return $tea.cast(await this.callApi(params, req, runtime), new UpdateSparkTemplateFileResponse({}));
|
|
20281
|
-
}
|
|
20282
|
-
else {
|
|
20283
|
-
return $tea.cast(await this.execute(params, req, runtime), new UpdateSparkTemplateFileResponse({}));
|
|
20284
|
-
}
|
|
19691
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateSparkTemplateFileResponse({}));
|
|
20285
19692
|
}
|
|
20286
19693
|
/**
|
|
20287
19694
|
* Updates a Spark application template.
|