@alicloud/polardbx20200202 2.2.2 → 3.0.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 +266 -7
- package/dist/client.js +254 -13
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +434 -14
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -854,6 +854,229 @@ export class DescribeBinaryLogListResponseBodyLogList extends $dara.Model {
|
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
856
|
|
|
857
|
+
export class DescribeCdcInfoResponseBodyDataInstanceTopologyListPhysicalNodes extends $dara.Model {
|
|
858
|
+
/**
|
|
859
|
+
* @example
|
|
860
|
+
* cn-hangzhou-h
|
|
861
|
+
*/
|
|
862
|
+
AZone?: string;
|
|
863
|
+
/**
|
|
864
|
+
* @example
|
|
865
|
+
* 204800
|
|
866
|
+
*/
|
|
867
|
+
disk?: number;
|
|
868
|
+
/**
|
|
869
|
+
* @example
|
|
870
|
+
* polarx.x4.large.2e.cdc
|
|
871
|
+
*/
|
|
872
|
+
nodeClass?: string;
|
|
873
|
+
/**
|
|
874
|
+
* @example
|
|
875
|
+
* ***
|
|
876
|
+
*/
|
|
877
|
+
nodeId?: string;
|
|
878
|
+
/**
|
|
879
|
+
* @example
|
|
880
|
+
* pxc-c-***
|
|
881
|
+
*/
|
|
882
|
+
nodeName?: string;
|
|
883
|
+
/**
|
|
884
|
+
* @example
|
|
885
|
+
* ACTIVATION
|
|
886
|
+
*/
|
|
887
|
+
status?: string;
|
|
888
|
+
/**
|
|
889
|
+
* @example
|
|
890
|
+
* polarx-cdc-kernel-***
|
|
891
|
+
*/
|
|
892
|
+
version?: string;
|
|
893
|
+
static names(): { [key: string]: string } {
|
|
894
|
+
return {
|
|
895
|
+
AZone: 'AZone',
|
|
896
|
+
disk: 'Disk',
|
|
897
|
+
nodeClass: 'NodeClass',
|
|
898
|
+
nodeId: 'NodeId',
|
|
899
|
+
nodeName: 'NodeName',
|
|
900
|
+
status: 'Status',
|
|
901
|
+
version: 'Version',
|
|
902
|
+
};
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
static types(): { [key: string]: any } {
|
|
906
|
+
return {
|
|
907
|
+
AZone: 'string',
|
|
908
|
+
disk: 'number',
|
|
909
|
+
nodeClass: 'string',
|
|
910
|
+
nodeId: 'string',
|
|
911
|
+
nodeName: 'string',
|
|
912
|
+
status: 'string',
|
|
913
|
+
version: 'string',
|
|
914
|
+
};
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
validate() {
|
|
918
|
+
super.validate();
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
constructor(map?: { [key: string]: any }) {
|
|
922
|
+
super(map);
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
export class DescribeCdcInfoResponseBodyDataInstanceTopologyList extends $dara.Model {
|
|
927
|
+
/**
|
|
928
|
+
* @example
|
|
929
|
+
* BINLOG_X
|
|
930
|
+
*/
|
|
931
|
+
clusterType?: string;
|
|
932
|
+
/**
|
|
933
|
+
* @example
|
|
934
|
+
* ***
|
|
935
|
+
*/
|
|
936
|
+
comment?: string;
|
|
937
|
+
/**
|
|
938
|
+
* @example
|
|
939
|
+
* test
|
|
940
|
+
*/
|
|
941
|
+
groupName?: string;
|
|
942
|
+
/**
|
|
943
|
+
* @example
|
|
944
|
+
* RECORD
|
|
945
|
+
*/
|
|
946
|
+
hashLevel?: string;
|
|
947
|
+
/**
|
|
948
|
+
* @example
|
|
949
|
+
* pxc-***
|
|
950
|
+
*/
|
|
951
|
+
instanceName?: string;
|
|
952
|
+
physicalNodes?: DescribeCdcInfoResponseBodyDataInstanceTopologyListPhysicalNodes[];
|
|
953
|
+
/**
|
|
954
|
+
* @example
|
|
955
|
+
* 2
|
|
956
|
+
*/
|
|
957
|
+
streamNum?: number;
|
|
958
|
+
static names(): { [key: string]: string } {
|
|
959
|
+
return {
|
|
960
|
+
clusterType: 'ClusterType',
|
|
961
|
+
comment: 'Comment',
|
|
962
|
+
groupName: 'GroupName',
|
|
963
|
+
hashLevel: 'HashLevel',
|
|
964
|
+
instanceName: 'InstanceName',
|
|
965
|
+
physicalNodes: 'PhysicalNodes',
|
|
966
|
+
streamNum: 'StreamNum',
|
|
967
|
+
};
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
static types(): { [key: string]: any } {
|
|
971
|
+
return {
|
|
972
|
+
clusterType: 'string',
|
|
973
|
+
comment: 'string',
|
|
974
|
+
groupName: 'string',
|
|
975
|
+
hashLevel: 'string',
|
|
976
|
+
instanceName: 'string',
|
|
977
|
+
physicalNodes: { 'type': 'array', 'itemType': DescribeCdcInfoResponseBodyDataInstanceTopologyListPhysicalNodes },
|
|
978
|
+
streamNum: 'number',
|
|
979
|
+
};
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
validate() {
|
|
983
|
+
if(Array.isArray(this.physicalNodes)) {
|
|
984
|
+
$dara.Model.validateArray(this.physicalNodes);
|
|
985
|
+
}
|
|
986
|
+
super.validate();
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
constructor(map?: { [key: string]: any }) {
|
|
990
|
+
super(map);
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
export class DescribeCdcInfoResponseBodyData extends $dara.Model {
|
|
995
|
+
/**
|
|
996
|
+
* @example
|
|
997
|
+
* 15
|
|
998
|
+
*/
|
|
999
|
+
binlogPersistTime?: number;
|
|
1000
|
+
/**
|
|
1001
|
+
* @remarks
|
|
1002
|
+
* This parameter is required.
|
|
1003
|
+
*
|
|
1004
|
+
* @example
|
|
1005
|
+
* 524288000
|
|
1006
|
+
*/
|
|
1007
|
+
binlogSize?: number;
|
|
1008
|
+
/**
|
|
1009
|
+
* @remarks
|
|
1010
|
+
* This parameter is required.
|
|
1011
|
+
*
|
|
1012
|
+
* @example
|
|
1013
|
+
* polarx-cdc-kernel-***
|
|
1014
|
+
*/
|
|
1015
|
+
cdcNewVersion?: string;
|
|
1016
|
+
/**
|
|
1017
|
+
* @example
|
|
1018
|
+
* ON
|
|
1019
|
+
*/
|
|
1020
|
+
checkSumSwitch?: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* @example
|
|
1023
|
+
* true
|
|
1024
|
+
*/
|
|
1025
|
+
enableCyclicReplication?: boolean;
|
|
1026
|
+
instanceTopologyList?: DescribeCdcInfoResponseBodyDataInstanceTopologyList[];
|
|
1027
|
+
/**
|
|
1028
|
+
* @remarks
|
|
1029
|
+
* server id
|
|
1030
|
+
*
|
|
1031
|
+
* This parameter is required.
|
|
1032
|
+
*
|
|
1033
|
+
* @example
|
|
1034
|
+
* 3014767486
|
|
1035
|
+
*/
|
|
1036
|
+
serverId?: number;
|
|
1037
|
+
/**
|
|
1038
|
+
* @example
|
|
1039
|
+
* true
|
|
1040
|
+
*/
|
|
1041
|
+
versionSupportMultiCdc?: boolean;
|
|
1042
|
+
static names(): { [key: string]: string } {
|
|
1043
|
+
return {
|
|
1044
|
+
binlogPersistTime: 'BinlogPersistTime',
|
|
1045
|
+
binlogSize: 'BinlogSize',
|
|
1046
|
+
cdcNewVersion: 'CdcNewVersion',
|
|
1047
|
+
checkSumSwitch: 'CheckSumSwitch',
|
|
1048
|
+
enableCyclicReplication: 'EnableCyclicReplication',
|
|
1049
|
+
instanceTopologyList: 'InstanceTopologyList',
|
|
1050
|
+
serverId: 'ServerId',
|
|
1051
|
+
versionSupportMultiCdc: 'VersionSupportMultiCdc',
|
|
1052
|
+
};
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
static types(): { [key: string]: any } {
|
|
1056
|
+
return {
|
|
1057
|
+
binlogPersistTime: 'number',
|
|
1058
|
+
binlogSize: 'number',
|
|
1059
|
+
cdcNewVersion: 'string',
|
|
1060
|
+
checkSumSwitch: 'string',
|
|
1061
|
+
enableCyclicReplication: 'boolean',
|
|
1062
|
+
instanceTopologyList: { 'type': 'array', 'itemType': DescribeCdcInfoResponseBodyDataInstanceTopologyList },
|
|
1063
|
+
serverId: 'number',
|
|
1064
|
+
versionSupportMultiCdc: 'boolean',
|
|
1065
|
+
};
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
validate() {
|
|
1069
|
+
if(Array.isArray(this.instanceTopologyList)) {
|
|
1070
|
+
$dara.Model.validateArray(this.instanceTopologyList);
|
|
1071
|
+
}
|
|
1072
|
+
super.validate();
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
constructor(map?: { [key: string]: any }) {
|
|
1076
|
+
super(map);
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
|
|
857
1080
|
export class DescribeCharacterSetResponseBodyData extends $dara.Model {
|
|
858
1081
|
characterSet?: string[];
|
|
859
1082
|
/**
|
|
@@ -4134,6 +4357,7 @@ export class DescribeSlowLogRecordsResponseBodyItems extends $dara.Model {
|
|
|
4134
4357
|
* select
|
|
4135
4358
|
*/
|
|
4136
4359
|
sqlType?: string;
|
|
4360
|
+
templateId?: string;
|
|
4137
4361
|
/**
|
|
4138
4362
|
* @example
|
|
4139
4363
|
* 0
|
|
@@ -4181,6 +4405,7 @@ export class DescribeSlowLogRecordsResponseBodyItems extends $dara.Model {
|
|
|
4181
4405
|
SQLHash: 'SQLHash',
|
|
4182
4406
|
SQLText: 'SQLText',
|
|
4183
4407
|
sqlType: 'SqlType',
|
|
4408
|
+
templateId: 'TemplateId',
|
|
4184
4409
|
tooLong: 'TooLong',
|
|
4185
4410
|
traceId: 'TraceId',
|
|
4186
4411
|
transactionPolicy: 'TransactionPolicy',
|
|
@@ -4211,6 +4436,7 @@ export class DescribeSlowLogRecordsResponseBodyItems extends $dara.Model {
|
|
|
4211
4436
|
SQLHash: 'string',
|
|
4212
4437
|
SQLText: 'string',
|
|
4213
4438
|
sqlType: 'string',
|
|
4439
|
+
templateId: 'string',
|
|
4214
4440
|
tooLong: 'string',
|
|
4215
4441
|
traceId: 'string',
|
|
4216
4442
|
transactionPolicy: 'string',
|
|
@@ -5915,7 +6141,7 @@ export class CreateDBInstanceRequest extends $dara.Model {
|
|
|
5915
6141
|
* true
|
|
5916
6142
|
*/
|
|
5917
6143
|
autoRenew?: boolean;
|
|
5918
|
-
CNNodeCount?:
|
|
6144
|
+
CNNodeCount?: number;
|
|
5919
6145
|
/**
|
|
5920
6146
|
* @example
|
|
5921
6147
|
* xxxxxx-xxx
|
|
@@ -5932,7 +6158,7 @@ export class CreateDBInstanceRequest extends $dara.Model {
|
|
|
5932
6158
|
* 2
|
|
5933
6159
|
*/
|
|
5934
6160
|
DBNodeCount?: number;
|
|
5935
|
-
DNNodeCount?:
|
|
6161
|
+
DNNodeCount?: number;
|
|
5936
6162
|
dnClass?: string;
|
|
5937
6163
|
dnStorageSpace?: string;
|
|
5938
6164
|
/**
|
|
@@ -6069,12 +6295,12 @@ export class CreateDBInstanceRequest extends $dara.Model {
|
|
|
6069
6295
|
static types(): { [key: string]: any } {
|
|
6070
6296
|
return {
|
|
6071
6297
|
autoRenew: 'boolean',
|
|
6072
|
-
CNNodeCount: '
|
|
6298
|
+
CNNodeCount: 'number',
|
|
6073
6299
|
clientToken: 'string',
|
|
6074
6300
|
cnClass: 'string',
|
|
6075
6301
|
DBNodeClass: 'string',
|
|
6076
6302
|
DBNodeCount: 'number',
|
|
6077
|
-
DNNodeCount: '
|
|
6303
|
+
DNNodeCount: 'number',
|
|
6078
6304
|
dnClass: 'string',
|
|
6079
6305
|
dnStorageSpace: 'string',
|
|
6080
6306
|
engineVersion: 'string',
|
|
@@ -6117,7 +6343,7 @@ export class CreateDBInstanceShrinkRequest extends $dara.Model {
|
|
|
6117
6343
|
* true
|
|
6118
6344
|
*/
|
|
6119
6345
|
autoRenew?: boolean;
|
|
6120
|
-
CNNodeCount?:
|
|
6346
|
+
CNNodeCount?: number;
|
|
6121
6347
|
/**
|
|
6122
6348
|
* @example
|
|
6123
6349
|
* xxxxxx-xxx
|
|
@@ -6134,7 +6360,7 @@ export class CreateDBInstanceShrinkRequest extends $dara.Model {
|
|
|
6134
6360
|
* 2
|
|
6135
6361
|
*/
|
|
6136
6362
|
DBNodeCount?: number;
|
|
6137
|
-
DNNodeCount?:
|
|
6363
|
+
DNNodeCount?: number;
|
|
6138
6364
|
dnClass?: string;
|
|
6139
6365
|
dnStorageSpace?: string;
|
|
6140
6366
|
/**
|
|
@@ -6271,12 +6497,12 @@ export class CreateDBInstanceShrinkRequest extends $dara.Model {
|
|
|
6271
6497
|
static types(): { [key: string]: any } {
|
|
6272
6498
|
return {
|
|
6273
6499
|
autoRenew: 'boolean',
|
|
6274
|
-
CNNodeCount: '
|
|
6500
|
+
CNNodeCount: 'number',
|
|
6275
6501
|
clientToken: 'string',
|
|
6276
6502
|
cnClass: 'string',
|
|
6277
6503
|
DBNodeClass: 'string',
|
|
6278
6504
|
DBNodeCount: 'number',
|
|
6279
|
-
DNNodeCount: '
|
|
6505
|
+
DNNodeCount: 'number',
|
|
6280
6506
|
dnClass: 'string',
|
|
6281
6507
|
dnStorageSpace: 'string',
|
|
6282
6508
|
engineVersion: 'string',
|
|
@@ -8148,6 +8374,137 @@ export class DescribeBinaryLogListResponse extends $dara.Model {
|
|
|
8148
8374
|
}
|
|
8149
8375
|
}
|
|
8150
8376
|
|
|
8377
|
+
export class DescribeCdcInfoRequest extends $dara.Model {
|
|
8378
|
+
/**
|
|
8379
|
+
* @remarks
|
|
8380
|
+
* This parameter is required.
|
|
8381
|
+
*
|
|
8382
|
+
* @example
|
|
8383
|
+
* pxc-********
|
|
8384
|
+
*/
|
|
8385
|
+
DBInstanceName?: string;
|
|
8386
|
+
/**
|
|
8387
|
+
* @remarks
|
|
8388
|
+
* This parameter is required.
|
|
8389
|
+
*
|
|
8390
|
+
* @example
|
|
8391
|
+
* cn-beijing
|
|
8392
|
+
*/
|
|
8393
|
+
regionId?: string;
|
|
8394
|
+
static names(): { [key: string]: string } {
|
|
8395
|
+
return {
|
|
8396
|
+
DBInstanceName: 'DBInstanceName',
|
|
8397
|
+
regionId: 'RegionId',
|
|
8398
|
+
};
|
|
8399
|
+
}
|
|
8400
|
+
|
|
8401
|
+
static types(): { [key: string]: any } {
|
|
8402
|
+
return {
|
|
8403
|
+
DBInstanceName: 'string',
|
|
8404
|
+
regionId: 'string',
|
|
8405
|
+
};
|
|
8406
|
+
}
|
|
8407
|
+
|
|
8408
|
+
validate() {
|
|
8409
|
+
super.validate();
|
|
8410
|
+
}
|
|
8411
|
+
|
|
8412
|
+
constructor(map?: { [key: string]: any }) {
|
|
8413
|
+
super(map);
|
|
8414
|
+
}
|
|
8415
|
+
}
|
|
8416
|
+
|
|
8417
|
+
export class DescribeCdcInfoResponseBody extends $dara.Model {
|
|
8418
|
+
data?: DescribeCdcInfoResponseBodyData;
|
|
8419
|
+
/**
|
|
8420
|
+
* @remarks
|
|
8421
|
+
* This parameter is required.
|
|
8422
|
+
*
|
|
8423
|
+
* @example
|
|
8424
|
+
* 200
|
|
8425
|
+
*/
|
|
8426
|
+
httpStatusCode?: number;
|
|
8427
|
+
/**
|
|
8428
|
+
* @remarks
|
|
8429
|
+
* Id of the request
|
|
8430
|
+
*
|
|
8431
|
+
* @example
|
|
8432
|
+
* 9B2F3840-5C98-475C-B269-2D5C3A31797C
|
|
8433
|
+
*/
|
|
8434
|
+
requestId?: string;
|
|
8435
|
+
/**
|
|
8436
|
+
* @remarks
|
|
8437
|
+
* This parameter is required.
|
|
8438
|
+
*
|
|
8439
|
+
* @example
|
|
8440
|
+
* true
|
|
8441
|
+
*/
|
|
8442
|
+
success?: boolean;
|
|
8443
|
+
static names(): { [key: string]: string } {
|
|
8444
|
+
return {
|
|
8445
|
+
data: 'Data',
|
|
8446
|
+
httpStatusCode: 'HttpStatusCode',
|
|
8447
|
+
requestId: 'RequestId',
|
|
8448
|
+
success: 'Success',
|
|
8449
|
+
};
|
|
8450
|
+
}
|
|
8451
|
+
|
|
8452
|
+
static types(): { [key: string]: any } {
|
|
8453
|
+
return {
|
|
8454
|
+
data: DescribeCdcInfoResponseBodyData,
|
|
8455
|
+
httpStatusCode: 'number',
|
|
8456
|
+
requestId: 'string',
|
|
8457
|
+
success: 'boolean',
|
|
8458
|
+
};
|
|
8459
|
+
}
|
|
8460
|
+
|
|
8461
|
+
validate() {
|
|
8462
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
8463
|
+
(this.data as any).validate();
|
|
8464
|
+
}
|
|
8465
|
+
super.validate();
|
|
8466
|
+
}
|
|
8467
|
+
|
|
8468
|
+
constructor(map?: { [key: string]: any }) {
|
|
8469
|
+
super(map);
|
|
8470
|
+
}
|
|
8471
|
+
}
|
|
8472
|
+
|
|
8473
|
+
export class DescribeCdcInfoResponse extends $dara.Model {
|
|
8474
|
+
headers?: { [key: string]: string };
|
|
8475
|
+
statusCode?: number;
|
|
8476
|
+
body?: DescribeCdcInfoResponseBody;
|
|
8477
|
+
static names(): { [key: string]: string } {
|
|
8478
|
+
return {
|
|
8479
|
+
headers: 'headers',
|
|
8480
|
+
statusCode: 'statusCode',
|
|
8481
|
+
body: 'body',
|
|
8482
|
+
};
|
|
8483
|
+
}
|
|
8484
|
+
|
|
8485
|
+
static types(): { [key: string]: any } {
|
|
8486
|
+
return {
|
|
8487
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8488
|
+
statusCode: 'number',
|
|
8489
|
+
body: DescribeCdcInfoResponseBody,
|
|
8490
|
+
};
|
|
8491
|
+
}
|
|
8492
|
+
|
|
8493
|
+
validate() {
|
|
8494
|
+
if(this.headers) {
|
|
8495
|
+
$dara.Model.validateMap(this.headers);
|
|
8496
|
+
}
|
|
8497
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
8498
|
+
(this.body as any).validate();
|
|
8499
|
+
}
|
|
8500
|
+
super.validate();
|
|
8501
|
+
}
|
|
8502
|
+
|
|
8503
|
+
constructor(map?: { [key: string]: any }) {
|
|
8504
|
+
super(map);
|
|
8505
|
+
}
|
|
8506
|
+
}
|
|
8507
|
+
|
|
8151
8508
|
export class DescribeCharacterSetRequest extends $dara.Model {
|
|
8152
8509
|
/**
|
|
8153
8510
|
* @remarks
|
|
@@ -14660,7 +15017,7 @@ export class UpdatePolarDBXInstanceNodeRequest extends $dara.Model {
|
|
|
14660
15017
|
* @example
|
|
14661
15018
|
* 2
|
|
14662
15019
|
*/
|
|
14663
|
-
CNNodeCount?:
|
|
15020
|
+
CNNodeCount?: number;
|
|
14664
15021
|
/**
|
|
14665
15022
|
* @example
|
|
14666
15023
|
* FEA5DC20-6D8A-5979-97AA-FC57546ADC20
|
|
@@ -14678,12 +15035,12 @@ export class UpdatePolarDBXInstanceNodeRequest extends $dara.Model {
|
|
|
14678
15035
|
* @example
|
|
14679
15036
|
* 2
|
|
14680
15037
|
*/
|
|
14681
|
-
DNNodeCount?:
|
|
15038
|
+
DNNodeCount?: number;
|
|
14682
15039
|
/**
|
|
14683
15040
|
* @example
|
|
14684
15041
|
* 3
|
|
14685
15042
|
*/
|
|
14686
|
-
dbInstanceNodeCount?:
|
|
15043
|
+
dbInstanceNodeCount?: number;
|
|
14687
15044
|
deleteDNIds?: string;
|
|
14688
15045
|
/**
|
|
14689
15046
|
* @remarks
|
|
@@ -14711,11 +15068,11 @@ export class UpdatePolarDBXInstanceNodeRequest extends $dara.Model {
|
|
|
14711
15068
|
static types(): { [key: string]: any } {
|
|
14712
15069
|
return {
|
|
14713
15070
|
addDNSpec: 'string',
|
|
14714
|
-
CNNodeCount: '
|
|
15071
|
+
CNNodeCount: 'number',
|
|
14715
15072
|
clientToken: 'string',
|
|
14716
15073
|
DBInstanceName: 'string',
|
|
14717
|
-
DNNodeCount: '
|
|
14718
|
-
dbInstanceNodeCount: '
|
|
15074
|
+
DNNodeCount: 'number',
|
|
15075
|
+
dbInstanceNodeCount: 'number',
|
|
14719
15076
|
deleteDNIds: 'string',
|
|
14720
15077
|
regionId: 'string',
|
|
14721
15078
|
storagePoolName: 'string',
|
|
@@ -15551,6 +15908,8 @@ export default class Client extends OpenApi {
|
|
|
15551
15908
|
}
|
|
15552
15909
|
|
|
15553
15910
|
/**
|
|
15911
|
+
* 创建实例
|
|
15912
|
+
*
|
|
15554
15913
|
* @param tmpReq - CreateDBInstanceRequest
|
|
15555
15914
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
15556
15915
|
* @returns CreateDBInstanceResponse
|
|
@@ -15699,6 +16058,8 @@ export default class Client extends OpenApi {
|
|
|
15699
16058
|
}
|
|
15700
16059
|
|
|
15701
16060
|
/**
|
|
16061
|
+
* 创建实例
|
|
16062
|
+
*
|
|
15702
16063
|
* @param request - CreateDBInstanceRequest
|
|
15703
16064
|
* @returns CreateDBInstanceResponse
|
|
15704
16065
|
*/
|
|
@@ -16394,6 +16755,57 @@ export default class Client extends OpenApi {
|
|
|
16394
16755
|
return await this.describeBinaryLogListWithOptions(request, runtime);
|
|
16395
16756
|
}
|
|
16396
16757
|
|
|
16758
|
+
/**
|
|
16759
|
+
* 查询CDC信息
|
|
16760
|
+
*
|
|
16761
|
+
* @param request - DescribeCdcInfoRequest
|
|
16762
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16763
|
+
* @returns DescribeCdcInfoResponse
|
|
16764
|
+
*/
|
|
16765
|
+
async describeCdcInfoWithOptions(request: DescribeCdcInfoRequest, runtime: $dara.RuntimeOptions): Promise<DescribeCdcInfoResponse> {
|
|
16766
|
+
request.validate();
|
|
16767
|
+
let query = { };
|
|
16768
|
+
if (!$dara.isNull(request.DBInstanceName)) {
|
|
16769
|
+
query["DBInstanceName"] = request.DBInstanceName;
|
|
16770
|
+
}
|
|
16771
|
+
|
|
16772
|
+
if (!$dara.isNull(request.regionId)) {
|
|
16773
|
+
query["RegionId"] = request.regionId;
|
|
16774
|
+
}
|
|
16775
|
+
|
|
16776
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
16777
|
+
query: OpenApiUtil.query(query),
|
|
16778
|
+
});
|
|
16779
|
+
let params = new $OpenApiUtil.Params({
|
|
16780
|
+
action: "DescribeCdcInfo",
|
|
16781
|
+
version: "2020-02-02",
|
|
16782
|
+
protocol: "HTTPS",
|
|
16783
|
+
pathname: "/",
|
|
16784
|
+
method: "POST",
|
|
16785
|
+
authType: "AK",
|
|
16786
|
+
style: "RPC",
|
|
16787
|
+
reqBodyType: "formData",
|
|
16788
|
+
bodyType: "json",
|
|
16789
|
+
});
|
|
16790
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16791
|
+
return $dara.cast<DescribeCdcInfoResponse>(await this.callApi(params, req, runtime), new DescribeCdcInfoResponse({}));
|
|
16792
|
+
} else {
|
|
16793
|
+
return $dara.cast<DescribeCdcInfoResponse>(await this.execute(params, req, runtime), new DescribeCdcInfoResponse({}));
|
|
16794
|
+
}
|
|
16795
|
+
|
|
16796
|
+
}
|
|
16797
|
+
|
|
16798
|
+
/**
|
|
16799
|
+
* 查询CDC信息
|
|
16800
|
+
*
|
|
16801
|
+
* @param request - DescribeCdcInfoRequest
|
|
16802
|
+
* @returns DescribeCdcInfoResponse
|
|
16803
|
+
*/
|
|
16804
|
+
async describeCdcInfo(request: DescribeCdcInfoRequest): Promise<DescribeCdcInfoResponse> {
|
|
16805
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
16806
|
+
return await this.describeCdcInfoWithOptions(request, runtime);
|
|
16807
|
+
}
|
|
16808
|
+
|
|
16397
16809
|
/**
|
|
16398
16810
|
* @param request - DescribeCharacterSetRequest
|
|
16399
16811
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16913,6 +17325,8 @@ export default class Client extends OpenApi {
|
|
|
16913
17325
|
}
|
|
16914
17326
|
|
|
16915
17327
|
/**
|
|
17328
|
+
* 性能监控数据接口
|
|
17329
|
+
*
|
|
16916
17330
|
* @param request - DescribeDBNodePerformanceRequest
|
|
16917
17331
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
16918
17332
|
* @returns DescribeDBNodePerformanceResponse
|
|
@@ -16975,6 +17389,8 @@ export default class Client extends OpenApi {
|
|
|
16975
17389
|
}
|
|
16976
17390
|
|
|
16977
17391
|
/**
|
|
17392
|
+
* 性能监控数据接口
|
|
17393
|
+
*
|
|
16978
17394
|
* @param request - DescribeDBNodePerformanceRequest
|
|
16979
17395
|
* @returns DescribeDBNodePerformanceResponse
|
|
16980
17396
|
*/
|
|
@@ -19300,6 +19716,8 @@ export default class Client extends OpenApi {
|
|
|
19300
19716
|
}
|
|
19301
19717
|
|
|
19302
19718
|
/**
|
|
19719
|
+
* 扩缩容实例节点数
|
|
19720
|
+
*
|
|
19303
19721
|
* @param request - UpdatePolarDBXInstanceNodeRequest
|
|
19304
19722
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
19305
19723
|
* @returns UpdatePolarDBXInstanceNodeResponse
|
|
@@ -19366,6 +19784,8 @@ export default class Client extends OpenApi {
|
|
|
19366
19784
|
}
|
|
19367
19785
|
|
|
19368
19786
|
/**
|
|
19787
|
+
* 扩缩容实例节点数
|
|
19788
|
+
*
|
|
19369
19789
|
* @param request - UpdatePolarDBXInstanceNodeRequest
|
|
19370
19790
|
* @returns UpdatePolarDBXInstanceNodeResponse
|
|
19371
19791
|
*/
|