@alicloud/adb20211201 1.1.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +421 -0
- package/dist/client.js +812 -22
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +950 -3
package/dist/client.js
CHANGED
|
@@ -19,6 +19,28 @@ const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $Ope
|
|
|
19
19
|
const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
|
|
20
20
|
const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
|
|
21
21
|
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
|
22
|
+
class Adb4MysqlSparkDiagnosisInfo extends $tea.Model {
|
|
23
|
+
constructor(map) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
static names() {
|
|
27
|
+
return {
|
|
28
|
+
diagnosisCode: 'DiagnosisCode',
|
|
29
|
+
diagnosisCodeLabel: 'DiagnosisCodeLabel',
|
|
30
|
+
diagnosisMsg: 'DiagnosisMsg',
|
|
31
|
+
diagnosisType: 'DiagnosisType',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
static types() {
|
|
35
|
+
return {
|
|
36
|
+
diagnosisCode: 'string',
|
|
37
|
+
diagnosisCodeLabel: 'string',
|
|
38
|
+
diagnosisMsg: 'string',
|
|
39
|
+
diagnosisType: 'string',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.Adb4MysqlSparkDiagnosisInfo = Adb4MysqlSparkDiagnosisInfo;
|
|
22
44
|
class ColDetailModel extends $tea.Model {
|
|
23
45
|
constructor(map) {
|
|
24
46
|
super(map);
|
|
@@ -725,6 +747,58 @@ class AllocateClusterPublicConnectionResponse extends $tea.Model {
|
|
|
725
747
|
}
|
|
726
748
|
}
|
|
727
749
|
exports.AllocateClusterPublicConnectionResponse = AllocateClusterPublicConnectionResponse;
|
|
750
|
+
class AttachUserENIRequest extends $tea.Model {
|
|
751
|
+
constructor(map) {
|
|
752
|
+
super(map);
|
|
753
|
+
}
|
|
754
|
+
static names() {
|
|
755
|
+
return {
|
|
756
|
+
DBClusterId: 'DBClusterId',
|
|
757
|
+
};
|
|
758
|
+
}
|
|
759
|
+
static types() {
|
|
760
|
+
return {
|
|
761
|
+
DBClusterId: 'string',
|
|
762
|
+
};
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
exports.AttachUserENIRequest = AttachUserENIRequest;
|
|
766
|
+
class AttachUserENIResponseBody extends $tea.Model {
|
|
767
|
+
constructor(map) {
|
|
768
|
+
super(map);
|
|
769
|
+
}
|
|
770
|
+
static names() {
|
|
771
|
+
return {
|
|
772
|
+
requestId: 'RequestId',
|
|
773
|
+
};
|
|
774
|
+
}
|
|
775
|
+
static types() {
|
|
776
|
+
return {
|
|
777
|
+
requestId: 'string',
|
|
778
|
+
};
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
exports.AttachUserENIResponseBody = AttachUserENIResponseBody;
|
|
782
|
+
class AttachUserENIResponse extends $tea.Model {
|
|
783
|
+
constructor(map) {
|
|
784
|
+
super(map);
|
|
785
|
+
}
|
|
786
|
+
static names() {
|
|
787
|
+
return {
|
|
788
|
+
headers: 'headers',
|
|
789
|
+
statusCode: 'statusCode',
|
|
790
|
+
body: 'body',
|
|
791
|
+
};
|
|
792
|
+
}
|
|
793
|
+
static types() {
|
|
794
|
+
return {
|
|
795
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
796
|
+
statusCode: 'number',
|
|
797
|
+
body: AttachUserENIResponseBody,
|
|
798
|
+
};
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
exports.AttachUserENIResponse = AttachUserENIResponse;
|
|
728
802
|
class BindAccountRequest extends $tea.Model {
|
|
729
803
|
constructor(map) {
|
|
730
804
|
super(map);
|
|
@@ -781,6 +855,62 @@ class BindAccountResponse extends $tea.Model {
|
|
|
781
855
|
}
|
|
782
856
|
}
|
|
783
857
|
exports.BindAccountResponse = BindAccountResponse;
|
|
858
|
+
class BindDBResourceGroupWithUserRequest extends $tea.Model {
|
|
859
|
+
constructor(map) {
|
|
860
|
+
super(map);
|
|
861
|
+
}
|
|
862
|
+
static names() {
|
|
863
|
+
return {
|
|
864
|
+
DBClusterId: 'DBClusterId',
|
|
865
|
+
groupName: 'GroupName',
|
|
866
|
+
groupUser: 'GroupUser',
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
static types() {
|
|
870
|
+
return {
|
|
871
|
+
DBClusterId: 'string',
|
|
872
|
+
groupName: 'string',
|
|
873
|
+
groupUser: 'string',
|
|
874
|
+
};
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
exports.BindDBResourceGroupWithUserRequest = BindDBResourceGroupWithUserRequest;
|
|
878
|
+
class BindDBResourceGroupWithUserResponseBody extends $tea.Model {
|
|
879
|
+
constructor(map) {
|
|
880
|
+
super(map);
|
|
881
|
+
}
|
|
882
|
+
static names() {
|
|
883
|
+
return {
|
|
884
|
+
requestId: 'RequestId',
|
|
885
|
+
};
|
|
886
|
+
}
|
|
887
|
+
static types() {
|
|
888
|
+
return {
|
|
889
|
+
requestId: 'string',
|
|
890
|
+
};
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
exports.BindDBResourceGroupWithUserResponseBody = BindDBResourceGroupWithUserResponseBody;
|
|
894
|
+
class BindDBResourceGroupWithUserResponse extends $tea.Model {
|
|
895
|
+
constructor(map) {
|
|
896
|
+
super(map);
|
|
897
|
+
}
|
|
898
|
+
static names() {
|
|
899
|
+
return {
|
|
900
|
+
headers: 'headers',
|
|
901
|
+
statusCode: 'statusCode',
|
|
902
|
+
body: 'body',
|
|
903
|
+
};
|
|
904
|
+
}
|
|
905
|
+
static types() {
|
|
906
|
+
return {
|
|
907
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
908
|
+
statusCode: 'number',
|
|
909
|
+
body: BindDBResourceGroupWithUserResponseBody,
|
|
910
|
+
};
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
exports.BindDBResourceGroupWithUserResponse = BindDBResourceGroupWithUserResponse;
|
|
784
914
|
class CheckBindRamUserRequest extends $tea.Model {
|
|
785
915
|
constructor(map) {
|
|
786
916
|
super(map);
|
|
@@ -837,6 +967,60 @@ class CheckBindRamUserResponse extends $tea.Model {
|
|
|
837
967
|
}
|
|
838
968
|
}
|
|
839
969
|
exports.CheckBindRamUserResponse = CheckBindRamUserResponse;
|
|
970
|
+
class CheckSampleDataSetRequest extends $tea.Model {
|
|
971
|
+
constructor(map) {
|
|
972
|
+
super(map);
|
|
973
|
+
}
|
|
974
|
+
static names() {
|
|
975
|
+
return {
|
|
976
|
+
DBClusterId: 'DBClusterId',
|
|
977
|
+
};
|
|
978
|
+
}
|
|
979
|
+
static types() {
|
|
980
|
+
return {
|
|
981
|
+
DBClusterId: 'string',
|
|
982
|
+
};
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
exports.CheckSampleDataSetRequest = CheckSampleDataSetRequest;
|
|
986
|
+
class CheckSampleDataSetResponseBody extends $tea.Model {
|
|
987
|
+
constructor(map) {
|
|
988
|
+
super(map);
|
|
989
|
+
}
|
|
990
|
+
static names() {
|
|
991
|
+
return {
|
|
992
|
+
requestId: 'RequestId',
|
|
993
|
+
status: 'Status',
|
|
994
|
+
};
|
|
995
|
+
}
|
|
996
|
+
static types() {
|
|
997
|
+
return {
|
|
998
|
+
requestId: 'string',
|
|
999
|
+
status: 'string',
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
exports.CheckSampleDataSetResponseBody = CheckSampleDataSetResponseBody;
|
|
1004
|
+
class CheckSampleDataSetResponse extends $tea.Model {
|
|
1005
|
+
constructor(map) {
|
|
1006
|
+
super(map);
|
|
1007
|
+
}
|
|
1008
|
+
static names() {
|
|
1009
|
+
return {
|
|
1010
|
+
headers: 'headers',
|
|
1011
|
+
statusCode: 'statusCode',
|
|
1012
|
+
body: 'body',
|
|
1013
|
+
};
|
|
1014
|
+
}
|
|
1015
|
+
static types() {
|
|
1016
|
+
return {
|
|
1017
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1018
|
+
statusCode: 'number',
|
|
1019
|
+
body: CheckSampleDataSetResponseBody,
|
|
1020
|
+
};
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
exports.CheckSampleDataSetResponse = CheckSampleDataSetResponse;
|
|
840
1024
|
class CreateAccountRequest extends $tea.Model {
|
|
841
1025
|
constructor(map) {
|
|
842
1026
|
super(map);
|
|
@@ -2771,6 +2955,60 @@ class DescribeDBClusterPerformanceResponse extends $tea.Model {
|
|
|
2771
2955
|
}
|
|
2772
2956
|
}
|
|
2773
2957
|
exports.DescribeDBClusterPerformanceResponse = DescribeDBClusterPerformanceResponse;
|
|
2958
|
+
class DescribeDBClusterStatusRequest extends $tea.Model {
|
|
2959
|
+
constructor(map) {
|
|
2960
|
+
super(map);
|
|
2961
|
+
}
|
|
2962
|
+
static names() {
|
|
2963
|
+
return {
|
|
2964
|
+
regionId: 'RegionId',
|
|
2965
|
+
};
|
|
2966
|
+
}
|
|
2967
|
+
static types() {
|
|
2968
|
+
return {
|
|
2969
|
+
regionId: 'string',
|
|
2970
|
+
};
|
|
2971
|
+
}
|
|
2972
|
+
}
|
|
2973
|
+
exports.DescribeDBClusterStatusRequest = DescribeDBClusterStatusRequest;
|
|
2974
|
+
class DescribeDBClusterStatusResponseBody extends $tea.Model {
|
|
2975
|
+
constructor(map) {
|
|
2976
|
+
super(map);
|
|
2977
|
+
}
|
|
2978
|
+
static names() {
|
|
2979
|
+
return {
|
|
2980
|
+
requestId: 'RequestId',
|
|
2981
|
+
status: 'Status',
|
|
2982
|
+
};
|
|
2983
|
+
}
|
|
2984
|
+
static types() {
|
|
2985
|
+
return {
|
|
2986
|
+
requestId: 'string',
|
|
2987
|
+
status: { 'type': 'array', 'itemType': 'string' },
|
|
2988
|
+
};
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2991
|
+
exports.DescribeDBClusterStatusResponseBody = DescribeDBClusterStatusResponseBody;
|
|
2992
|
+
class DescribeDBClusterStatusResponse extends $tea.Model {
|
|
2993
|
+
constructor(map) {
|
|
2994
|
+
super(map);
|
|
2995
|
+
}
|
|
2996
|
+
static names() {
|
|
2997
|
+
return {
|
|
2998
|
+
headers: 'headers',
|
|
2999
|
+
statusCode: 'statusCode',
|
|
3000
|
+
body: 'body',
|
|
3001
|
+
};
|
|
3002
|
+
}
|
|
3003
|
+
static types() {
|
|
3004
|
+
return {
|
|
3005
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3006
|
+
statusCode: 'number',
|
|
3007
|
+
body: DescribeDBClusterStatusResponseBody,
|
|
3008
|
+
};
|
|
3009
|
+
}
|
|
3010
|
+
}
|
|
3011
|
+
exports.DescribeDBClusterStatusResponse = DescribeDBClusterStatusResponse;
|
|
2774
3012
|
class DescribeDBClustersRequest extends $tea.Model {
|
|
2775
3013
|
constructor(map) {
|
|
2776
3014
|
super(map);
|
|
@@ -4167,6 +4405,118 @@ class DescribeTablesResponse extends $tea.Model {
|
|
|
4167
4405
|
}
|
|
4168
4406
|
}
|
|
4169
4407
|
exports.DescribeTablesResponse = DescribeTablesResponse;
|
|
4408
|
+
class DescribeUserQuotaRequest extends $tea.Model {
|
|
4409
|
+
constructor(map) {
|
|
4410
|
+
super(map);
|
|
4411
|
+
}
|
|
4412
|
+
static names() {
|
|
4413
|
+
return {
|
|
4414
|
+
DBClusterId: 'DBClusterId',
|
|
4415
|
+
};
|
|
4416
|
+
}
|
|
4417
|
+
static types() {
|
|
4418
|
+
return {
|
|
4419
|
+
DBClusterId: 'string',
|
|
4420
|
+
};
|
|
4421
|
+
}
|
|
4422
|
+
}
|
|
4423
|
+
exports.DescribeUserQuotaRequest = DescribeUserQuotaRequest;
|
|
4424
|
+
class DescribeUserQuotaResponseBody extends $tea.Model {
|
|
4425
|
+
constructor(map) {
|
|
4426
|
+
super(map);
|
|
4427
|
+
}
|
|
4428
|
+
static names() {
|
|
4429
|
+
return {
|
|
4430
|
+
elasticACU: 'ElasticACU',
|
|
4431
|
+
requestId: 'RequestId',
|
|
4432
|
+
reserverdCompteACU: 'ReserverdCompteACU',
|
|
4433
|
+
reserverdStorageACU: 'ReserverdStorageACU',
|
|
4434
|
+
resourceGroupCount: 'ResourceGroupCount',
|
|
4435
|
+
};
|
|
4436
|
+
}
|
|
4437
|
+
static types() {
|
|
4438
|
+
return {
|
|
4439
|
+
elasticACU: 'string',
|
|
4440
|
+
requestId: 'string',
|
|
4441
|
+
reserverdCompteACU: 'string',
|
|
4442
|
+
reserverdStorageACU: 'string',
|
|
4443
|
+
resourceGroupCount: 'string',
|
|
4444
|
+
};
|
|
4445
|
+
}
|
|
4446
|
+
}
|
|
4447
|
+
exports.DescribeUserQuotaResponseBody = DescribeUserQuotaResponseBody;
|
|
4448
|
+
class DescribeUserQuotaResponse extends $tea.Model {
|
|
4449
|
+
constructor(map) {
|
|
4450
|
+
super(map);
|
|
4451
|
+
}
|
|
4452
|
+
static names() {
|
|
4453
|
+
return {
|
|
4454
|
+
headers: 'headers',
|
|
4455
|
+
statusCode: 'statusCode',
|
|
4456
|
+
body: 'body',
|
|
4457
|
+
};
|
|
4458
|
+
}
|
|
4459
|
+
static types() {
|
|
4460
|
+
return {
|
|
4461
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4462
|
+
statusCode: 'number',
|
|
4463
|
+
body: DescribeUserQuotaResponseBody,
|
|
4464
|
+
};
|
|
4465
|
+
}
|
|
4466
|
+
}
|
|
4467
|
+
exports.DescribeUserQuotaResponse = DescribeUserQuotaResponse;
|
|
4468
|
+
class DetachUserENIRequest extends $tea.Model {
|
|
4469
|
+
constructor(map) {
|
|
4470
|
+
super(map);
|
|
4471
|
+
}
|
|
4472
|
+
static names() {
|
|
4473
|
+
return {
|
|
4474
|
+
DBClusterId: 'DBClusterId',
|
|
4475
|
+
};
|
|
4476
|
+
}
|
|
4477
|
+
static types() {
|
|
4478
|
+
return {
|
|
4479
|
+
DBClusterId: 'string',
|
|
4480
|
+
};
|
|
4481
|
+
}
|
|
4482
|
+
}
|
|
4483
|
+
exports.DetachUserENIRequest = DetachUserENIRequest;
|
|
4484
|
+
class DetachUserENIResponseBody extends $tea.Model {
|
|
4485
|
+
constructor(map) {
|
|
4486
|
+
super(map);
|
|
4487
|
+
}
|
|
4488
|
+
static names() {
|
|
4489
|
+
return {
|
|
4490
|
+
requestId: 'RequestId',
|
|
4491
|
+
};
|
|
4492
|
+
}
|
|
4493
|
+
static types() {
|
|
4494
|
+
return {
|
|
4495
|
+
requestId: 'string',
|
|
4496
|
+
};
|
|
4497
|
+
}
|
|
4498
|
+
}
|
|
4499
|
+
exports.DetachUserENIResponseBody = DetachUserENIResponseBody;
|
|
4500
|
+
class DetachUserENIResponse extends $tea.Model {
|
|
4501
|
+
constructor(map) {
|
|
4502
|
+
super(map);
|
|
4503
|
+
}
|
|
4504
|
+
static names() {
|
|
4505
|
+
return {
|
|
4506
|
+
headers: 'headers',
|
|
4507
|
+
statusCode: 'statusCode',
|
|
4508
|
+
body: 'body',
|
|
4509
|
+
};
|
|
4510
|
+
}
|
|
4511
|
+
static types() {
|
|
4512
|
+
return {
|
|
4513
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4514
|
+
statusCode: 'number',
|
|
4515
|
+
body: DetachUserENIResponseBody,
|
|
4516
|
+
};
|
|
4517
|
+
}
|
|
4518
|
+
}
|
|
4519
|
+
exports.DetachUserENIResponse = DetachUserENIResponse;
|
|
4170
4520
|
class DisableElasticPlanRequest extends $tea.Model {
|
|
4171
4521
|
constructor(map) {
|
|
4172
4522
|
super(map);
|
|
@@ -4357,6 +4707,62 @@ class EnableElasticPlanResponse extends $tea.Model {
|
|
|
4357
4707
|
}
|
|
4358
4708
|
}
|
|
4359
4709
|
exports.EnableElasticPlanResponse = EnableElasticPlanResponse;
|
|
4710
|
+
class ExistRunningSQLEngineRequest extends $tea.Model {
|
|
4711
|
+
constructor(map) {
|
|
4712
|
+
super(map);
|
|
4713
|
+
}
|
|
4714
|
+
static names() {
|
|
4715
|
+
return {
|
|
4716
|
+
DBClusterId: 'DBClusterId',
|
|
4717
|
+
resourceGroupName: 'ResourceGroupName',
|
|
4718
|
+
};
|
|
4719
|
+
}
|
|
4720
|
+
static types() {
|
|
4721
|
+
return {
|
|
4722
|
+
DBClusterId: 'string',
|
|
4723
|
+
resourceGroupName: 'string',
|
|
4724
|
+
};
|
|
4725
|
+
}
|
|
4726
|
+
}
|
|
4727
|
+
exports.ExistRunningSQLEngineRequest = ExistRunningSQLEngineRequest;
|
|
4728
|
+
class ExistRunningSQLEngineResponseBody extends $tea.Model {
|
|
4729
|
+
constructor(map) {
|
|
4730
|
+
super(map);
|
|
4731
|
+
}
|
|
4732
|
+
static names() {
|
|
4733
|
+
return {
|
|
4734
|
+
data: 'Data',
|
|
4735
|
+
requestId: 'RequestId',
|
|
4736
|
+
};
|
|
4737
|
+
}
|
|
4738
|
+
static types() {
|
|
4739
|
+
return {
|
|
4740
|
+
data: 'boolean',
|
|
4741
|
+
requestId: 'string',
|
|
4742
|
+
};
|
|
4743
|
+
}
|
|
4744
|
+
}
|
|
4745
|
+
exports.ExistRunningSQLEngineResponseBody = ExistRunningSQLEngineResponseBody;
|
|
4746
|
+
class ExistRunningSQLEngineResponse extends $tea.Model {
|
|
4747
|
+
constructor(map) {
|
|
4748
|
+
super(map);
|
|
4749
|
+
}
|
|
4750
|
+
static names() {
|
|
4751
|
+
return {
|
|
4752
|
+
headers: 'headers',
|
|
4753
|
+
statusCode: 'statusCode',
|
|
4754
|
+
body: 'body',
|
|
4755
|
+
};
|
|
4756
|
+
}
|
|
4757
|
+
static types() {
|
|
4758
|
+
return {
|
|
4759
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4760
|
+
statusCode: 'number',
|
|
4761
|
+
body: ExistRunningSQLEngineResponseBody,
|
|
4762
|
+
};
|
|
4763
|
+
}
|
|
4764
|
+
}
|
|
4765
|
+
exports.ExistRunningSQLEngineResponse = ExistRunningSQLEngineResponse;
|
|
4360
4766
|
class GetDatabaseObjectsRequest extends $tea.Model {
|
|
4361
4767
|
constructor(map) {
|
|
4362
4768
|
super(map);
|
|
@@ -6681,6 +7087,64 @@ class ReleaseClusterPublicConnectionResponse extends $tea.Model {
|
|
|
6681
7087
|
}
|
|
6682
7088
|
}
|
|
6683
7089
|
exports.ReleaseClusterPublicConnectionResponse = ReleaseClusterPublicConnectionResponse;
|
|
7090
|
+
class RenameSparkTemplateFileRequest extends $tea.Model {
|
|
7091
|
+
constructor(map) {
|
|
7092
|
+
super(map);
|
|
7093
|
+
}
|
|
7094
|
+
static names() {
|
|
7095
|
+
return {
|
|
7096
|
+
DBClusterId: 'DBClusterId',
|
|
7097
|
+
id: 'Id',
|
|
7098
|
+
name: 'Name',
|
|
7099
|
+
};
|
|
7100
|
+
}
|
|
7101
|
+
static types() {
|
|
7102
|
+
return {
|
|
7103
|
+
DBClusterId: 'string',
|
|
7104
|
+
id: 'number',
|
|
7105
|
+
name: 'string',
|
|
7106
|
+
};
|
|
7107
|
+
}
|
|
7108
|
+
}
|
|
7109
|
+
exports.RenameSparkTemplateFileRequest = RenameSparkTemplateFileRequest;
|
|
7110
|
+
class RenameSparkTemplateFileResponseBody extends $tea.Model {
|
|
7111
|
+
constructor(map) {
|
|
7112
|
+
super(map);
|
|
7113
|
+
}
|
|
7114
|
+
static names() {
|
|
7115
|
+
return {
|
|
7116
|
+
data: 'Data',
|
|
7117
|
+
requestId: 'RequestId',
|
|
7118
|
+
};
|
|
7119
|
+
}
|
|
7120
|
+
static types() {
|
|
7121
|
+
return {
|
|
7122
|
+
data: RenameSparkTemplateFileResponseBodyData,
|
|
7123
|
+
requestId: 'string',
|
|
7124
|
+
};
|
|
7125
|
+
}
|
|
7126
|
+
}
|
|
7127
|
+
exports.RenameSparkTemplateFileResponseBody = RenameSparkTemplateFileResponseBody;
|
|
7128
|
+
class RenameSparkTemplateFileResponse extends $tea.Model {
|
|
7129
|
+
constructor(map) {
|
|
7130
|
+
super(map);
|
|
7131
|
+
}
|
|
7132
|
+
static names() {
|
|
7133
|
+
return {
|
|
7134
|
+
headers: 'headers',
|
|
7135
|
+
statusCode: 'statusCode',
|
|
7136
|
+
body: 'body',
|
|
7137
|
+
};
|
|
7138
|
+
}
|
|
7139
|
+
static types() {
|
|
7140
|
+
return {
|
|
7141
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7142
|
+
statusCode: 'number',
|
|
7143
|
+
body: RenameSparkTemplateFileResponseBody,
|
|
7144
|
+
};
|
|
7145
|
+
}
|
|
7146
|
+
}
|
|
7147
|
+
exports.RenameSparkTemplateFileResponse = RenameSparkTemplateFileResponse;
|
|
6684
7148
|
class ResetAccountPasswordRequest extends $tea.Model {
|
|
6685
7149
|
constructor(map) {
|
|
6686
7150
|
super(map);
|
|
@@ -6926,46 +7390,100 @@ class SubmitSparkAppResponse extends $tea.Model {
|
|
|
6926
7390
|
return {
|
|
6927
7391
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6928
7392
|
statusCode: 'number',
|
|
6929
|
-
body: SubmitSparkAppResponseBody,
|
|
7393
|
+
body: SubmitSparkAppResponseBody,
|
|
7394
|
+
};
|
|
7395
|
+
}
|
|
7396
|
+
}
|
|
7397
|
+
exports.SubmitSparkAppResponse = SubmitSparkAppResponse;
|
|
7398
|
+
class SubmitSparkLogAnalyzeTaskRequest extends $tea.Model {
|
|
7399
|
+
constructor(map) {
|
|
7400
|
+
super(map);
|
|
7401
|
+
}
|
|
7402
|
+
static names() {
|
|
7403
|
+
return {
|
|
7404
|
+
appId: 'AppId',
|
|
7405
|
+
};
|
|
7406
|
+
}
|
|
7407
|
+
static types() {
|
|
7408
|
+
return {
|
|
7409
|
+
appId: 'string',
|
|
7410
|
+
};
|
|
7411
|
+
}
|
|
7412
|
+
}
|
|
7413
|
+
exports.SubmitSparkLogAnalyzeTaskRequest = SubmitSparkLogAnalyzeTaskRequest;
|
|
7414
|
+
class SubmitSparkLogAnalyzeTaskResponseBody extends $tea.Model {
|
|
7415
|
+
constructor(map) {
|
|
7416
|
+
super(map);
|
|
7417
|
+
}
|
|
7418
|
+
static names() {
|
|
7419
|
+
return {
|
|
7420
|
+
data: 'Data',
|
|
7421
|
+
requestId: 'RequestId',
|
|
7422
|
+
};
|
|
7423
|
+
}
|
|
7424
|
+
static types() {
|
|
7425
|
+
return {
|
|
7426
|
+
data: SparkAnalyzeLogTask,
|
|
7427
|
+
requestId: 'string',
|
|
7428
|
+
};
|
|
7429
|
+
}
|
|
7430
|
+
}
|
|
7431
|
+
exports.SubmitSparkLogAnalyzeTaskResponseBody = SubmitSparkLogAnalyzeTaskResponseBody;
|
|
7432
|
+
class SubmitSparkLogAnalyzeTaskResponse extends $tea.Model {
|
|
7433
|
+
constructor(map) {
|
|
7434
|
+
super(map);
|
|
7435
|
+
}
|
|
7436
|
+
static names() {
|
|
7437
|
+
return {
|
|
7438
|
+
headers: 'headers',
|
|
7439
|
+
statusCode: 'statusCode',
|
|
7440
|
+
body: 'body',
|
|
7441
|
+
};
|
|
7442
|
+
}
|
|
7443
|
+
static types() {
|
|
7444
|
+
return {
|
|
7445
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7446
|
+
statusCode: 'number',
|
|
7447
|
+
body: SubmitSparkLogAnalyzeTaskResponseBody,
|
|
6930
7448
|
};
|
|
6931
7449
|
}
|
|
6932
7450
|
}
|
|
6933
|
-
exports.
|
|
6934
|
-
class
|
|
7451
|
+
exports.SubmitSparkLogAnalyzeTaskResponse = SubmitSparkLogAnalyzeTaskResponse;
|
|
7452
|
+
class UnbindAccountRequest extends $tea.Model {
|
|
6935
7453
|
constructor(map) {
|
|
6936
7454
|
super(map);
|
|
6937
7455
|
}
|
|
6938
7456
|
static names() {
|
|
6939
7457
|
return {
|
|
6940
|
-
|
|
7458
|
+
accountName: 'AccountName',
|
|
7459
|
+
DBClusterId: 'DBClusterId',
|
|
6941
7460
|
};
|
|
6942
7461
|
}
|
|
6943
7462
|
static types() {
|
|
6944
7463
|
return {
|
|
6945
|
-
|
|
7464
|
+
accountName: 'string',
|
|
7465
|
+
DBClusterId: 'string',
|
|
6946
7466
|
};
|
|
6947
7467
|
}
|
|
6948
7468
|
}
|
|
6949
|
-
exports.
|
|
6950
|
-
class
|
|
7469
|
+
exports.UnbindAccountRequest = UnbindAccountRequest;
|
|
7470
|
+
class UnbindAccountResponseBody extends $tea.Model {
|
|
6951
7471
|
constructor(map) {
|
|
6952
7472
|
super(map);
|
|
6953
7473
|
}
|
|
6954
7474
|
static names() {
|
|
6955
7475
|
return {
|
|
6956
|
-
data: 'Data',
|
|
6957
7476
|
requestId: 'RequestId',
|
|
6958
7477
|
};
|
|
6959
7478
|
}
|
|
6960
7479
|
static types() {
|
|
6961
7480
|
return {
|
|
6962
|
-
data: SparkAnalyzeLogTask,
|
|
6963
7481
|
requestId: 'string',
|
|
6964
7482
|
};
|
|
6965
7483
|
}
|
|
6966
7484
|
}
|
|
6967
|
-
exports.
|
|
6968
|
-
class
|
|
7485
|
+
exports.UnbindAccountResponseBody = UnbindAccountResponseBody;
|
|
7486
|
+
class UnbindAccountResponse extends $tea.Model {
|
|
6969
7487
|
constructor(map) {
|
|
6970
7488
|
super(map);
|
|
6971
7489
|
}
|
|
@@ -6980,30 +7498,32 @@ class SubmitSparkLogAnalyzeTaskResponse extends $tea.Model {
|
|
|
6980
7498
|
return {
|
|
6981
7499
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6982
7500
|
statusCode: 'number',
|
|
6983
|
-
body:
|
|
7501
|
+
body: UnbindAccountResponseBody,
|
|
6984
7502
|
};
|
|
6985
7503
|
}
|
|
6986
7504
|
}
|
|
6987
|
-
exports.
|
|
6988
|
-
class
|
|
7505
|
+
exports.UnbindAccountResponse = UnbindAccountResponse;
|
|
7506
|
+
class UnbindDBResourceGroupWithUserRequest extends $tea.Model {
|
|
6989
7507
|
constructor(map) {
|
|
6990
7508
|
super(map);
|
|
6991
7509
|
}
|
|
6992
7510
|
static names() {
|
|
6993
7511
|
return {
|
|
6994
|
-
accountName: 'AccountName',
|
|
6995
7512
|
DBClusterId: 'DBClusterId',
|
|
7513
|
+
groupName: 'GroupName',
|
|
7514
|
+
groupUser: 'GroupUser',
|
|
6996
7515
|
};
|
|
6997
7516
|
}
|
|
6998
7517
|
static types() {
|
|
6999
7518
|
return {
|
|
7000
|
-
accountName: 'string',
|
|
7001
7519
|
DBClusterId: 'string',
|
|
7520
|
+
groupName: 'string',
|
|
7521
|
+
groupUser: 'string',
|
|
7002
7522
|
};
|
|
7003
7523
|
}
|
|
7004
7524
|
}
|
|
7005
|
-
exports.
|
|
7006
|
-
class
|
|
7525
|
+
exports.UnbindDBResourceGroupWithUserRequest = UnbindDBResourceGroupWithUserRequest;
|
|
7526
|
+
class UnbindDBResourceGroupWithUserResponseBody extends $tea.Model {
|
|
7007
7527
|
constructor(map) {
|
|
7008
7528
|
super(map);
|
|
7009
7529
|
}
|
|
@@ -7018,8 +7538,8 @@ class UnbindAccountResponseBody extends $tea.Model {
|
|
|
7018
7538
|
};
|
|
7019
7539
|
}
|
|
7020
7540
|
}
|
|
7021
|
-
exports.
|
|
7022
|
-
class
|
|
7541
|
+
exports.UnbindDBResourceGroupWithUserResponseBody = UnbindDBResourceGroupWithUserResponseBody;
|
|
7542
|
+
class UnbindDBResourceGroupWithUserResponse extends $tea.Model {
|
|
7023
7543
|
constructor(map) {
|
|
7024
7544
|
super(map);
|
|
7025
7545
|
}
|
|
@@ -7034,11 +7554,11 @@ class UnbindAccountResponse extends $tea.Model {
|
|
|
7034
7554
|
return {
|
|
7035
7555
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7036
7556
|
statusCode: 'number',
|
|
7037
|
-
body:
|
|
7557
|
+
body: UnbindDBResourceGroupWithUserResponseBody,
|
|
7038
7558
|
};
|
|
7039
7559
|
}
|
|
7040
7560
|
}
|
|
7041
|
-
exports.
|
|
7561
|
+
exports.UnbindDBResourceGroupWithUserResponse = UnbindDBResourceGroupWithUserResponse;
|
|
7042
7562
|
class UpdateSparkTemplateFileRequest extends $tea.Model {
|
|
7043
7563
|
constructor(map) {
|
|
7044
7564
|
super(map);
|
|
@@ -8749,6 +9269,7 @@ class GetSparkAppAttemptLogResponseBodyData extends $tea.Model {
|
|
|
8749
9269
|
}
|
|
8750
9270
|
static names() {
|
|
8751
9271
|
return {
|
|
9272
|
+
appId: 'AppId',
|
|
8752
9273
|
DBClusterId: 'DBClusterId',
|
|
8753
9274
|
logContent: 'LogContent',
|
|
8754
9275
|
message: 'Message',
|
|
@@ -8756,6 +9277,7 @@ class GetSparkAppAttemptLogResponseBodyData extends $tea.Model {
|
|
|
8756
9277
|
}
|
|
8757
9278
|
static types() {
|
|
8758
9279
|
return {
|
|
9280
|
+
appId: 'string',
|
|
8759
9281
|
DBClusterId: 'string',
|
|
8760
9282
|
logContent: 'string',
|
|
8761
9283
|
message: 'string',
|
|
@@ -9187,6 +9709,22 @@ class PreloadSparkAppMetricsResponseBodyData extends $tea.Model {
|
|
|
9187
9709
|
}
|
|
9188
9710
|
}
|
|
9189
9711
|
exports.PreloadSparkAppMetricsResponseBodyData = PreloadSparkAppMetricsResponseBodyData;
|
|
9712
|
+
class RenameSparkTemplateFileResponseBodyData extends $tea.Model {
|
|
9713
|
+
constructor(map) {
|
|
9714
|
+
super(map);
|
|
9715
|
+
}
|
|
9716
|
+
static names() {
|
|
9717
|
+
return {
|
|
9718
|
+
succeeded: 'Succeeded',
|
|
9719
|
+
};
|
|
9720
|
+
}
|
|
9721
|
+
static types() {
|
|
9722
|
+
return {
|
|
9723
|
+
succeeded: 'boolean',
|
|
9724
|
+
};
|
|
9725
|
+
}
|
|
9726
|
+
}
|
|
9727
|
+
exports.RenameSparkTemplateFileResponseBodyData = RenameSparkTemplateFileResponseBodyData;
|
|
9190
9728
|
class SetSparkAppLogRootPathResponseBodyData extends $tea.Model {
|
|
9191
9729
|
constructor(map) {
|
|
9192
9730
|
super(map);
|
|
@@ -9360,6 +9898,32 @@ class Client extends openapi_client_1.default {
|
|
|
9360
9898
|
let runtime = new $Util.RuntimeOptions({});
|
|
9361
9899
|
return await this.allocateClusterPublicConnectionWithOptions(request, runtime);
|
|
9362
9900
|
}
|
|
9901
|
+
async attachUserENIWithOptions(request, runtime) {
|
|
9902
|
+
tea_util_1.default.validateModel(request);
|
|
9903
|
+
let query = {};
|
|
9904
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
9905
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
9906
|
+
}
|
|
9907
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9908
|
+
query: openapi_util_1.default.query(query),
|
|
9909
|
+
});
|
|
9910
|
+
let params = new $OpenApi.Params({
|
|
9911
|
+
action: "AttachUserENI",
|
|
9912
|
+
version: "2021-12-01",
|
|
9913
|
+
protocol: "HTTPS",
|
|
9914
|
+
pathname: "/",
|
|
9915
|
+
method: "POST",
|
|
9916
|
+
authType: "AK",
|
|
9917
|
+
style: "RPC",
|
|
9918
|
+
reqBodyType: "formData",
|
|
9919
|
+
bodyType: "json",
|
|
9920
|
+
});
|
|
9921
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachUserENIResponse({}));
|
|
9922
|
+
}
|
|
9923
|
+
async attachUserENI(request) {
|
|
9924
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9925
|
+
return await this.attachUserENIWithOptions(request, runtime);
|
|
9926
|
+
}
|
|
9363
9927
|
async bindAccountWithOptions(request, runtime) {
|
|
9364
9928
|
tea_util_1.default.validateModel(request);
|
|
9365
9929
|
let query = {};
|
|
@@ -9392,6 +9956,38 @@ class Client extends openapi_client_1.default {
|
|
|
9392
9956
|
let runtime = new $Util.RuntimeOptions({});
|
|
9393
9957
|
return await this.bindAccountWithOptions(request, runtime);
|
|
9394
9958
|
}
|
|
9959
|
+
async bindDBResourceGroupWithUserWithOptions(request, runtime) {
|
|
9960
|
+
tea_util_1.default.validateModel(request);
|
|
9961
|
+
let query = {};
|
|
9962
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
9963
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
9964
|
+
}
|
|
9965
|
+
if (!tea_util_1.default.isUnset(request.groupName)) {
|
|
9966
|
+
query["GroupName"] = request.groupName;
|
|
9967
|
+
}
|
|
9968
|
+
if (!tea_util_1.default.isUnset(request.groupUser)) {
|
|
9969
|
+
query["GroupUser"] = request.groupUser;
|
|
9970
|
+
}
|
|
9971
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9972
|
+
query: openapi_util_1.default.query(query),
|
|
9973
|
+
});
|
|
9974
|
+
let params = new $OpenApi.Params({
|
|
9975
|
+
action: "BindDBResourceGroupWithUser",
|
|
9976
|
+
version: "2021-12-01",
|
|
9977
|
+
protocol: "HTTPS",
|
|
9978
|
+
pathname: "/",
|
|
9979
|
+
method: "POST",
|
|
9980
|
+
authType: "AK",
|
|
9981
|
+
style: "RPC",
|
|
9982
|
+
reqBodyType: "formData",
|
|
9983
|
+
bodyType: "json",
|
|
9984
|
+
});
|
|
9985
|
+
return $tea.cast(await this.callApi(params, req, runtime), new BindDBResourceGroupWithUserResponse({}));
|
|
9986
|
+
}
|
|
9987
|
+
async bindDBResourceGroupWithUser(request) {
|
|
9988
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9989
|
+
return await this.bindDBResourceGroupWithUserWithOptions(request, runtime);
|
|
9990
|
+
}
|
|
9395
9991
|
async checkBindRamUserWithOptions(request, runtime) {
|
|
9396
9992
|
tea_util_1.default.validateModel(request);
|
|
9397
9993
|
let query = {};
|
|
@@ -9421,6 +10017,32 @@ class Client extends openapi_client_1.default {
|
|
|
9421
10017
|
let runtime = new $Util.RuntimeOptions({});
|
|
9422
10018
|
return await this.checkBindRamUserWithOptions(request, runtime);
|
|
9423
10019
|
}
|
|
10020
|
+
async checkSampleDataSetWithOptions(request, runtime) {
|
|
10021
|
+
tea_util_1.default.validateModel(request);
|
|
10022
|
+
let query = {};
|
|
10023
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
10024
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
10025
|
+
}
|
|
10026
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10027
|
+
query: openapi_util_1.default.query(query),
|
|
10028
|
+
});
|
|
10029
|
+
let params = new $OpenApi.Params({
|
|
10030
|
+
action: "CheckSampleDataSet",
|
|
10031
|
+
version: "2021-12-01",
|
|
10032
|
+
protocol: "HTTPS",
|
|
10033
|
+
pathname: "/",
|
|
10034
|
+
method: "POST",
|
|
10035
|
+
authType: "AK",
|
|
10036
|
+
style: "RPC",
|
|
10037
|
+
reqBodyType: "formData",
|
|
10038
|
+
bodyType: "json",
|
|
10039
|
+
});
|
|
10040
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CheckSampleDataSetResponse({}));
|
|
10041
|
+
}
|
|
10042
|
+
async checkSampleDataSet(request) {
|
|
10043
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10044
|
+
return await this.checkSampleDataSetWithOptions(request, runtime);
|
|
10045
|
+
}
|
|
9424
10046
|
async createAccountWithOptions(request, runtime) {
|
|
9425
10047
|
tea_util_1.default.validateModel(request);
|
|
9426
10048
|
let query = {};
|
|
@@ -10573,6 +11195,32 @@ class Client extends openapi_client_1.default {
|
|
|
10573
11195
|
let runtime = new $Util.RuntimeOptions({});
|
|
10574
11196
|
return await this.describeDBClusterPerformanceWithOptions(request, runtime);
|
|
10575
11197
|
}
|
|
11198
|
+
async describeDBClusterStatusWithOptions(request, runtime) {
|
|
11199
|
+
tea_util_1.default.validateModel(request);
|
|
11200
|
+
let query = {};
|
|
11201
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
11202
|
+
query["RegionId"] = request.regionId;
|
|
11203
|
+
}
|
|
11204
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11205
|
+
query: openapi_util_1.default.query(query),
|
|
11206
|
+
});
|
|
11207
|
+
let params = new $OpenApi.Params({
|
|
11208
|
+
action: "DescribeDBClusterStatus",
|
|
11209
|
+
version: "2021-12-01",
|
|
11210
|
+
protocol: "HTTPS",
|
|
11211
|
+
pathname: "/",
|
|
11212
|
+
method: "POST",
|
|
11213
|
+
authType: "AK",
|
|
11214
|
+
style: "RPC",
|
|
11215
|
+
reqBodyType: "formData",
|
|
11216
|
+
bodyType: "json",
|
|
11217
|
+
});
|
|
11218
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterStatusResponse({}));
|
|
11219
|
+
}
|
|
11220
|
+
async describeDBClusterStatus(request) {
|
|
11221
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
11222
|
+
return await this.describeDBClusterStatusWithOptions(request, runtime);
|
|
11223
|
+
}
|
|
10576
11224
|
async describeDBClustersWithOptions(request, runtime) {
|
|
10577
11225
|
tea_util_1.default.validateModel(request);
|
|
10578
11226
|
let query = {};
|
|
@@ -11377,6 +12025,55 @@ class Client extends openapi_client_1.default {
|
|
|
11377
12025
|
let runtime = new $Util.RuntimeOptions({});
|
|
11378
12026
|
return await this.describeTablesWithOptions(request, runtime);
|
|
11379
12027
|
}
|
|
12028
|
+
async describeUserQuotaWithOptions(request, runtime) {
|
|
12029
|
+
tea_util_1.default.validateModel(request);
|
|
12030
|
+
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
12031
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12032
|
+
query: openapi_util_1.default.query(query),
|
|
12033
|
+
});
|
|
12034
|
+
let params = new $OpenApi.Params({
|
|
12035
|
+
action: "DescribeUserQuota",
|
|
12036
|
+
version: "2021-12-01",
|
|
12037
|
+
protocol: "HTTPS",
|
|
12038
|
+
pathname: "/",
|
|
12039
|
+
method: "GET",
|
|
12040
|
+
authType: "AK",
|
|
12041
|
+
style: "RPC",
|
|
12042
|
+
reqBodyType: "formData",
|
|
12043
|
+
bodyType: "json",
|
|
12044
|
+
});
|
|
12045
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
12046
|
+
}
|
|
12047
|
+
async describeUserQuota(request) {
|
|
12048
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12049
|
+
return await this.describeUserQuotaWithOptions(request, runtime);
|
|
12050
|
+
}
|
|
12051
|
+
async detachUserENIWithOptions(request, runtime) {
|
|
12052
|
+
tea_util_1.default.validateModel(request);
|
|
12053
|
+
let query = {};
|
|
12054
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
12055
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
12056
|
+
}
|
|
12057
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12058
|
+
query: openapi_util_1.default.query(query),
|
|
12059
|
+
});
|
|
12060
|
+
let params = new $OpenApi.Params({
|
|
12061
|
+
action: "DetachUserENI",
|
|
12062
|
+
version: "2021-12-01",
|
|
12063
|
+
protocol: "HTTPS",
|
|
12064
|
+
pathname: "/",
|
|
12065
|
+
method: "POST",
|
|
12066
|
+
authType: "AK",
|
|
12067
|
+
style: "RPC",
|
|
12068
|
+
reqBodyType: "formData",
|
|
12069
|
+
bodyType: "json",
|
|
12070
|
+
});
|
|
12071
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachUserENIResponse({}));
|
|
12072
|
+
}
|
|
12073
|
+
async detachUserENI(request) {
|
|
12074
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12075
|
+
return await this.detachUserENIWithOptions(request, runtime);
|
|
12076
|
+
}
|
|
11380
12077
|
async disableElasticPlanWithOptions(request, runtime) {
|
|
11381
12078
|
tea_util_1.default.validateModel(request);
|
|
11382
12079
|
let query = {};
|
|
@@ -11503,6 +12200,35 @@ class Client extends openapi_client_1.default {
|
|
|
11503
12200
|
let runtime = new $Util.RuntimeOptions({});
|
|
11504
12201
|
return await this.enableElasticPlanWithOptions(request, runtime);
|
|
11505
12202
|
}
|
|
12203
|
+
async existRunningSQLEngineWithOptions(request, runtime) {
|
|
12204
|
+
tea_util_1.default.validateModel(request);
|
|
12205
|
+
let body = {};
|
|
12206
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
12207
|
+
body["DBClusterId"] = request.DBClusterId;
|
|
12208
|
+
}
|
|
12209
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupName)) {
|
|
12210
|
+
body["ResourceGroupName"] = request.resourceGroupName;
|
|
12211
|
+
}
|
|
12212
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12213
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
12214
|
+
});
|
|
12215
|
+
let params = new $OpenApi.Params({
|
|
12216
|
+
action: "ExistRunningSQLEngine",
|
|
12217
|
+
version: "2021-12-01",
|
|
12218
|
+
protocol: "HTTPS",
|
|
12219
|
+
pathname: "/",
|
|
12220
|
+
method: "POST",
|
|
12221
|
+
authType: "AK",
|
|
12222
|
+
style: "RPC",
|
|
12223
|
+
reqBodyType: "formData",
|
|
12224
|
+
bodyType: "json",
|
|
12225
|
+
});
|
|
12226
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ExistRunningSQLEngineResponse({}));
|
|
12227
|
+
}
|
|
12228
|
+
async existRunningSQLEngine(request) {
|
|
12229
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12230
|
+
return await this.existRunningSQLEngineWithOptions(request, runtime);
|
|
12231
|
+
}
|
|
11506
12232
|
async getDatabaseObjectsWithOptions(request, runtime) {
|
|
11507
12233
|
tea_util_1.default.validateModel(request);
|
|
11508
12234
|
let query = {};
|
|
@@ -12810,6 +13536,38 @@ class Client extends openapi_client_1.default {
|
|
|
12810
13536
|
let runtime = new $Util.RuntimeOptions({});
|
|
12811
13537
|
return await this.releaseClusterPublicConnectionWithOptions(request, runtime);
|
|
12812
13538
|
}
|
|
13539
|
+
async renameSparkTemplateFileWithOptions(request, runtime) {
|
|
13540
|
+
tea_util_1.default.validateModel(request);
|
|
13541
|
+
let query = {};
|
|
13542
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
13543
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
13544
|
+
}
|
|
13545
|
+
if (!tea_util_1.default.isUnset(request.id)) {
|
|
13546
|
+
query["Id"] = request.id;
|
|
13547
|
+
}
|
|
13548
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
13549
|
+
query["Name"] = request.name;
|
|
13550
|
+
}
|
|
13551
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13552
|
+
query: openapi_util_1.default.query(query),
|
|
13553
|
+
});
|
|
13554
|
+
let params = new $OpenApi.Params({
|
|
13555
|
+
action: "RenameSparkTemplateFile",
|
|
13556
|
+
version: "2021-12-01",
|
|
13557
|
+
protocol: "HTTPS",
|
|
13558
|
+
pathname: "/",
|
|
13559
|
+
method: "POST",
|
|
13560
|
+
authType: "AK",
|
|
13561
|
+
style: "RPC",
|
|
13562
|
+
reqBodyType: "formData",
|
|
13563
|
+
bodyType: "json",
|
|
13564
|
+
});
|
|
13565
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RenameSparkTemplateFileResponse({}));
|
|
13566
|
+
}
|
|
13567
|
+
async renameSparkTemplateFile(request) {
|
|
13568
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
13569
|
+
return await this.renameSparkTemplateFileWithOptions(request, runtime);
|
|
13570
|
+
}
|
|
12813
13571
|
async resetAccountPasswordWithOptions(request, runtime) {
|
|
12814
13572
|
tea_util_1.default.validateModel(request);
|
|
12815
13573
|
let query = {};
|
|
@@ -13023,6 +13781,38 @@ class Client extends openapi_client_1.default {
|
|
|
13023
13781
|
let runtime = new $Util.RuntimeOptions({});
|
|
13024
13782
|
return await this.unbindAccountWithOptions(request, runtime);
|
|
13025
13783
|
}
|
|
13784
|
+
async unbindDBResourceGroupWithUserWithOptions(request, runtime) {
|
|
13785
|
+
tea_util_1.default.validateModel(request);
|
|
13786
|
+
let query = {};
|
|
13787
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
13788
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
13789
|
+
}
|
|
13790
|
+
if (!tea_util_1.default.isUnset(request.groupName)) {
|
|
13791
|
+
query["GroupName"] = request.groupName;
|
|
13792
|
+
}
|
|
13793
|
+
if (!tea_util_1.default.isUnset(request.groupUser)) {
|
|
13794
|
+
query["GroupUser"] = request.groupUser;
|
|
13795
|
+
}
|
|
13796
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13797
|
+
query: openapi_util_1.default.query(query),
|
|
13798
|
+
});
|
|
13799
|
+
let params = new $OpenApi.Params({
|
|
13800
|
+
action: "UnbindDBResourceGroupWithUser",
|
|
13801
|
+
version: "2021-12-01",
|
|
13802
|
+
protocol: "HTTPS",
|
|
13803
|
+
pathname: "/",
|
|
13804
|
+
method: "POST",
|
|
13805
|
+
authType: "AK",
|
|
13806
|
+
style: "RPC",
|
|
13807
|
+
reqBodyType: "formData",
|
|
13808
|
+
bodyType: "json",
|
|
13809
|
+
});
|
|
13810
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UnbindDBResourceGroupWithUserResponse({}));
|
|
13811
|
+
}
|
|
13812
|
+
async unbindDBResourceGroupWithUser(request) {
|
|
13813
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
13814
|
+
return await this.unbindDBResourceGroupWithUserWithOptions(request, runtime);
|
|
13815
|
+
}
|
|
13026
13816
|
async updateSparkTemplateFileWithOptions(request, runtime) {
|
|
13027
13817
|
tea_util_1.default.validateModel(request);
|
|
13028
13818
|
let body = {};
|