@alicloud/gpdb20160503 1.0.18 → 1.0.21
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 +148 -0
- package/dist/client.js +310 -0
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +398 -0
package/dist/client.d.ts
CHANGED
|
@@ -192,6 +192,7 @@ export declare class CreateDBInstanceRequest extends $tea.Model {
|
|
|
192
192
|
DBInstanceMode?: string;
|
|
193
193
|
engine?: string;
|
|
194
194
|
engineVersion?: string;
|
|
195
|
+
idleTime?: number;
|
|
195
196
|
instanceNetworkType?: string;
|
|
196
197
|
instanceSpec?: string;
|
|
197
198
|
masterNodeNum?: string;
|
|
@@ -204,6 +205,8 @@ export declare class CreateDBInstanceRequest extends $tea.Model {
|
|
|
204
205
|
securityIPList?: string;
|
|
205
206
|
segNodeNum?: string;
|
|
206
207
|
segStorageType?: string;
|
|
208
|
+
serverlessMode?: string;
|
|
209
|
+
serverlessResource?: number;
|
|
207
210
|
storageSize?: number;
|
|
208
211
|
storageType?: string;
|
|
209
212
|
tag?: CreateDBInstanceRequestTag[];
|
|
@@ -2934,6 +2937,102 @@ export declare class DescribeUserEncryptionKeyListResponse extends $tea.Model {
|
|
|
2934
2937
|
[key: string]: any;
|
|
2935
2938
|
});
|
|
2936
2939
|
}
|
|
2940
|
+
export declare class DescribeWaitingSQLInfoRequest extends $tea.Model {
|
|
2941
|
+
DBInstanceId?: string;
|
|
2942
|
+
database?: string;
|
|
2943
|
+
PID?: string;
|
|
2944
|
+
static names(): {
|
|
2945
|
+
[key: string]: string;
|
|
2946
|
+
};
|
|
2947
|
+
static types(): {
|
|
2948
|
+
[key: string]: any;
|
|
2949
|
+
};
|
|
2950
|
+
constructor(map?: {
|
|
2951
|
+
[key: string]: any;
|
|
2952
|
+
});
|
|
2953
|
+
}
|
|
2954
|
+
export declare class DescribeWaitingSQLInfoResponseBody extends $tea.Model {
|
|
2955
|
+
database?: string;
|
|
2956
|
+
items?: DescribeWaitingSQLInfoResponseBodyItems[];
|
|
2957
|
+
requestId?: string;
|
|
2958
|
+
static names(): {
|
|
2959
|
+
[key: string]: string;
|
|
2960
|
+
};
|
|
2961
|
+
static types(): {
|
|
2962
|
+
[key: string]: any;
|
|
2963
|
+
};
|
|
2964
|
+
constructor(map?: {
|
|
2965
|
+
[key: string]: any;
|
|
2966
|
+
});
|
|
2967
|
+
}
|
|
2968
|
+
export declare class DescribeWaitingSQLInfoResponse extends $tea.Model {
|
|
2969
|
+
headers: {
|
|
2970
|
+
[key: string]: string;
|
|
2971
|
+
};
|
|
2972
|
+
statusCode: number;
|
|
2973
|
+
body: DescribeWaitingSQLInfoResponseBody;
|
|
2974
|
+
static names(): {
|
|
2975
|
+
[key: string]: string;
|
|
2976
|
+
};
|
|
2977
|
+
static types(): {
|
|
2978
|
+
[key: string]: any;
|
|
2979
|
+
};
|
|
2980
|
+
constructor(map?: {
|
|
2981
|
+
[key: string]: any;
|
|
2982
|
+
});
|
|
2983
|
+
}
|
|
2984
|
+
export declare class DescribeWaitingSQLRecordsRequest extends $tea.Model {
|
|
2985
|
+
DBInstanceId?: string;
|
|
2986
|
+
database?: string;
|
|
2987
|
+
endTime?: string;
|
|
2988
|
+
keyword?: string;
|
|
2989
|
+
order?: string;
|
|
2990
|
+
pageNumber?: number;
|
|
2991
|
+
pageSize?: number;
|
|
2992
|
+
queryCondition?: string;
|
|
2993
|
+
startTime?: string;
|
|
2994
|
+
user?: string;
|
|
2995
|
+
static names(): {
|
|
2996
|
+
[key: string]: string;
|
|
2997
|
+
};
|
|
2998
|
+
static types(): {
|
|
2999
|
+
[key: string]: any;
|
|
3000
|
+
};
|
|
3001
|
+
constructor(map?: {
|
|
3002
|
+
[key: string]: any;
|
|
3003
|
+
});
|
|
3004
|
+
}
|
|
3005
|
+
export declare class DescribeWaitingSQLRecordsResponseBody extends $tea.Model {
|
|
3006
|
+
items?: DescribeWaitingSQLRecordsResponseBodyItems[];
|
|
3007
|
+
pageNumber?: number;
|
|
3008
|
+
requestId?: string;
|
|
3009
|
+
totalCount?: number;
|
|
3010
|
+
static names(): {
|
|
3011
|
+
[key: string]: string;
|
|
3012
|
+
};
|
|
3013
|
+
static types(): {
|
|
3014
|
+
[key: string]: any;
|
|
3015
|
+
};
|
|
3016
|
+
constructor(map?: {
|
|
3017
|
+
[key: string]: any;
|
|
3018
|
+
});
|
|
3019
|
+
}
|
|
3020
|
+
export declare class DescribeWaitingSQLRecordsResponse extends $tea.Model {
|
|
3021
|
+
headers: {
|
|
3022
|
+
[key: string]: string;
|
|
3023
|
+
};
|
|
3024
|
+
statusCode: number;
|
|
3025
|
+
body: DescribeWaitingSQLRecordsResponseBody;
|
|
3026
|
+
static names(): {
|
|
3027
|
+
[key: string]: string;
|
|
3028
|
+
};
|
|
3029
|
+
static types(): {
|
|
3030
|
+
[key: string]: any;
|
|
3031
|
+
};
|
|
3032
|
+
constructor(map?: {
|
|
3033
|
+
[key: string]: any;
|
|
3034
|
+
});
|
|
3035
|
+
}
|
|
2937
3036
|
export declare class DownloadDiagnosisRecordsRequest extends $tea.Model {
|
|
2938
3037
|
DBInstanceId?: string;
|
|
2939
3038
|
database?: string;
|
|
@@ -4324,6 +4423,7 @@ export declare class DescribeAvailableResourcesResponseBodyResourcesSupportedEng
|
|
|
4324
4423
|
});
|
|
4325
4424
|
}
|
|
4326
4425
|
export declare class DescribeAvailableResourcesResponseBodyResourcesSupportedEnginesSupportedInstanceClasses extends $tea.Model {
|
|
4426
|
+
category?: string;
|
|
4327
4427
|
description?: string;
|
|
4328
4428
|
displayClass?: string;
|
|
4329
4429
|
instanceClass?: string;
|
|
@@ -4471,6 +4571,7 @@ export declare class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttri
|
|
|
4471
4571
|
engineVersion?: string;
|
|
4472
4572
|
expireTime?: string;
|
|
4473
4573
|
hostType?: string;
|
|
4574
|
+
idleTime?: number;
|
|
4474
4575
|
instanceNetworkType?: string;
|
|
4475
4576
|
lockMode?: string;
|
|
4476
4577
|
lockReason?: string;
|
|
@@ -4491,6 +4592,8 @@ export declare class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttri
|
|
|
4491
4592
|
securityIPList?: string;
|
|
4492
4593
|
segNodeNum?: number;
|
|
4493
4594
|
segmentCounts?: number;
|
|
4595
|
+
serverlessMode?: string;
|
|
4596
|
+
serverlessResource?: number;
|
|
4494
4597
|
startTime?: string;
|
|
4495
4598
|
storagePerNode?: number;
|
|
4496
4599
|
storageSize?: number;
|
|
@@ -4916,6 +5019,7 @@ export declare class DescribeDBInstancesResponseBodyItemsDBInstance extends $tea
|
|
|
4916
5019
|
regionId?: string;
|
|
4917
5020
|
resourceGroupId?: string;
|
|
4918
5021
|
segNodeNum?: string;
|
|
5022
|
+
serverlessMode?: string;
|
|
4919
5023
|
storageSize?: string;
|
|
4920
5024
|
storageType?: string;
|
|
4921
5025
|
tags?: DescribeDBInstancesResponseBodyItemsDBInstanceTags;
|
|
@@ -5769,6 +5873,46 @@ export declare class DescribeUserEncryptionKeyListResponseBodyKmsKeys extends $t
|
|
|
5769
5873
|
[key: string]: any;
|
|
5770
5874
|
});
|
|
5771
5875
|
}
|
|
5876
|
+
export declare class DescribeWaitingSQLInfoResponseBodyItems extends $tea.Model {
|
|
5877
|
+
application?: string;
|
|
5878
|
+
blockedByApplication?: string;
|
|
5879
|
+
blockedByPID?: string;
|
|
5880
|
+
blockedBySQLStmt?: string;
|
|
5881
|
+
blockedByUser?: string;
|
|
5882
|
+
grantLocks?: string;
|
|
5883
|
+
notGrantLocks?: string;
|
|
5884
|
+
PID?: string;
|
|
5885
|
+
SQLStmt?: string;
|
|
5886
|
+
user?: string;
|
|
5887
|
+
static names(): {
|
|
5888
|
+
[key: string]: string;
|
|
5889
|
+
};
|
|
5890
|
+
static types(): {
|
|
5891
|
+
[key: string]: any;
|
|
5892
|
+
};
|
|
5893
|
+
constructor(map?: {
|
|
5894
|
+
[key: string]: any;
|
|
5895
|
+
});
|
|
5896
|
+
}
|
|
5897
|
+
export declare class DescribeWaitingSQLRecordsResponseBodyItems extends $tea.Model {
|
|
5898
|
+
database?: string;
|
|
5899
|
+
PID?: string;
|
|
5900
|
+
SQLStmt?: string;
|
|
5901
|
+
sessionID?: string;
|
|
5902
|
+
startTime?: number;
|
|
5903
|
+
status?: string;
|
|
5904
|
+
user?: string;
|
|
5905
|
+
waitingTime?: number;
|
|
5906
|
+
static names(): {
|
|
5907
|
+
[key: string]: string;
|
|
5908
|
+
};
|
|
5909
|
+
static types(): {
|
|
5910
|
+
[key: string]: any;
|
|
5911
|
+
};
|
|
5912
|
+
constructor(map?: {
|
|
5913
|
+
[key: string]: any;
|
|
5914
|
+
});
|
|
5915
|
+
}
|
|
5772
5916
|
export declare class ListTagResourcesRequestTag extends $tea.Model {
|
|
5773
5917
|
key?: string;
|
|
5774
5918
|
value?: string;
|
|
@@ -5949,6 +6093,10 @@ export default class Client extends OpenApi {
|
|
|
5949
6093
|
describeTags(request: DescribeTagsRequest): Promise<DescribeTagsResponse>;
|
|
5950
6094
|
describeUserEncryptionKeyListWithOptions(request: DescribeUserEncryptionKeyListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserEncryptionKeyListResponse>;
|
|
5951
6095
|
describeUserEncryptionKeyList(request: DescribeUserEncryptionKeyListRequest): Promise<DescribeUserEncryptionKeyListResponse>;
|
|
6096
|
+
describeWaitingSQLInfoWithOptions(request: DescribeWaitingSQLInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWaitingSQLInfoResponse>;
|
|
6097
|
+
describeWaitingSQLInfo(request: DescribeWaitingSQLInfoRequest): Promise<DescribeWaitingSQLInfoResponse>;
|
|
6098
|
+
describeWaitingSQLRecordsWithOptions(request: DescribeWaitingSQLRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWaitingSQLRecordsResponse>;
|
|
6099
|
+
describeWaitingSQLRecords(request: DescribeWaitingSQLRecordsRequest): Promise<DescribeWaitingSQLRecordsResponse>;
|
|
5952
6100
|
downloadDiagnosisRecordsWithOptions(request: DownloadDiagnosisRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DownloadDiagnosisRecordsResponse>;
|
|
5953
6101
|
downloadDiagnosisRecords(request: DownloadDiagnosisRecordsRequest): Promise<DownloadDiagnosisRecordsResponse>;
|
|
5954
6102
|
listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
|
package/dist/client.js
CHANGED
|
@@ -278,6 +278,7 @@ class CreateDBInstanceRequest extends $tea.Model {
|
|
|
278
278
|
DBInstanceMode: 'DBInstanceMode',
|
|
279
279
|
engine: 'Engine',
|
|
280
280
|
engineVersion: 'EngineVersion',
|
|
281
|
+
idleTime: 'IdleTime',
|
|
281
282
|
instanceNetworkType: 'InstanceNetworkType',
|
|
282
283
|
instanceSpec: 'InstanceSpec',
|
|
283
284
|
masterNodeNum: 'MasterNodeNum',
|
|
@@ -290,6 +291,8 @@ class CreateDBInstanceRequest extends $tea.Model {
|
|
|
290
291
|
securityIPList: 'SecurityIPList',
|
|
291
292
|
segNodeNum: 'SegNodeNum',
|
|
292
293
|
segStorageType: 'SegStorageType',
|
|
294
|
+
serverlessMode: 'ServerlessMode',
|
|
295
|
+
serverlessResource: 'ServerlessResource',
|
|
293
296
|
storageSize: 'StorageSize',
|
|
294
297
|
storageType: 'StorageType',
|
|
295
298
|
tag: 'Tag',
|
|
@@ -310,6 +313,7 @@ class CreateDBInstanceRequest extends $tea.Model {
|
|
|
310
313
|
DBInstanceMode: 'string',
|
|
311
314
|
engine: 'string',
|
|
312
315
|
engineVersion: 'string',
|
|
316
|
+
idleTime: 'number',
|
|
313
317
|
instanceNetworkType: 'string',
|
|
314
318
|
instanceSpec: 'string',
|
|
315
319
|
masterNodeNum: 'string',
|
|
@@ -322,6 +326,8 @@ class CreateDBInstanceRequest extends $tea.Model {
|
|
|
322
326
|
securityIPList: 'string',
|
|
323
327
|
segNodeNum: 'string',
|
|
324
328
|
segStorageType: 'string',
|
|
329
|
+
serverlessMode: 'string',
|
|
330
|
+
serverlessResource: 'number',
|
|
325
331
|
storageSize: 'number',
|
|
326
332
|
storageType: 'string',
|
|
327
333
|
tag: { 'type': 'array', 'itemType': CreateDBInstanceRequestTag },
|
|
@@ -4163,6 +4169,142 @@ class DescribeUserEncryptionKeyListResponse extends $tea.Model {
|
|
|
4163
4169
|
}
|
|
4164
4170
|
}
|
|
4165
4171
|
exports.DescribeUserEncryptionKeyListResponse = DescribeUserEncryptionKeyListResponse;
|
|
4172
|
+
class DescribeWaitingSQLInfoRequest extends $tea.Model {
|
|
4173
|
+
constructor(map) {
|
|
4174
|
+
super(map);
|
|
4175
|
+
}
|
|
4176
|
+
static names() {
|
|
4177
|
+
return {
|
|
4178
|
+
DBInstanceId: 'DBInstanceId',
|
|
4179
|
+
database: 'Database',
|
|
4180
|
+
PID: 'PID',
|
|
4181
|
+
};
|
|
4182
|
+
}
|
|
4183
|
+
static types() {
|
|
4184
|
+
return {
|
|
4185
|
+
DBInstanceId: 'string',
|
|
4186
|
+
database: 'string',
|
|
4187
|
+
PID: 'string',
|
|
4188
|
+
};
|
|
4189
|
+
}
|
|
4190
|
+
}
|
|
4191
|
+
exports.DescribeWaitingSQLInfoRequest = DescribeWaitingSQLInfoRequest;
|
|
4192
|
+
class DescribeWaitingSQLInfoResponseBody extends $tea.Model {
|
|
4193
|
+
constructor(map) {
|
|
4194
|
+
super(map);
|
|
4195
|
+
}
|
|
4196
|
+
static names() {
|
|
4197
|
+
return {
|
|
4198
|
+
database: 'Database',
|
|
4199
|
+
items: 'Items',
|
|
4200
|
+
requestId: 'RequestId',
|
|
4201
|
+
};
|
|
4202
|
+
}
|
|
4203
|
+
static types() {
|
|
4204
|
+
return {
|
|
4205
|
+
database: 'string',
|
|
4206
|
+
items: { 'type': 'array', 'itemType': DescribeWaitingSQLInfoResponseBodyItems },
|
|
4207
|
+
requestId: 'string',
|
|
4208
|
+
};
|
|
4209
|
+
}
|
|
4210
|
+
}
|
|
4211
|
+
exports.DescribeWaitingSQLInfoResponseBody = DescribeWaitingSQLInfoResponseBody;
|
|
4212
|
+
class DescribeWaitingSQLInfoResponse extends $tea.Model {
|
|
4213
|
+
constructor(map) {
|
|
4214
|
+
super(map);
|
|
4215
|
+
}
|
|
4216
|
+
static names() {
|
|
4217
|
+
return {
|
|
4218
|
+
headers: 'headers',
|
|
4219
|
+
statusCode: 'statusCode',
|
|
4220
|
+
body: 'body',
|
|
4221
|
+
};
|
|
4222
|
+
}
|
|
4223
|
+
static types() {
|
|
4224
|
+
return {
|
|
4225
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4226
|
+
statusCode: 'number',
|
|
4227
|
+
body: DescribeWaitingSQLInfoResponseBody,
|
|
4228
|
+
};
|
|
4229
|
+
}
|
|
4230
|
+
}
|
|
4231
|
+
exports.DescribeWaitingSQLInfoResponse = DescribeWaitingSQLInfoResponse;
|
|
4232
|
+
class DescribeWaitingSQLRecordsRequest extends $tea.Model {
|
|
4233
|
+
constructor(map) {
|
|
4234
|
+
super(map);
|
|
4235
|
+
}
|
|
4236
|
+
static names() {
|
|
4237
|
+
return {
|
|
4238
|
+
DBInstanceId: 'DBInstanceId',
|
|
4239
|
+
database: 'Database',
|
|
4240
|
+
endTime: 'EndTime',
|
|
4241
|
+
keyword: 'Keyword',
|
|
4242
|
+
order: 'Order',
|
|
4243
|
+
pageNumber: 'PageNumber',
|
|
4244
|
+
pageSize: 'PageSize',
|
|
4245
|
+
queryCondition: 'QueryCondition',
|
|
4246
|
+
startTime: 'StartTime',
|
|
4247
|
+
user: 'User',
|
|
4248
|
+
};
|
|
4249
|
+
}
|
|
4250
|
+
static types() {
|
|
4251
|
+
return {
|
|
4252
|
+
DBInstanceId: 'string',
|
|
4253
|
+
database: 'string',
|
|
4254
|
+
endTime: 'string',
|
|
4255
|
+
keyword: 'string',
|
|
4256
|
+
order: 'string',
|
|
4257
|
+
pageNumber: 'number',
|
|
4258
|
+
pageSize: 'number',
|
|
4259
|
+
queryCondition: 'string',
|
|
4260
|
+
startTime: 'string',
|
|
4261
|
+
user: 'string',
|
|
4262
|
+
};
|
|
4263
|
+
}
|
|
4264
|
+
}
|
|
4265
|
+
exports.DescribeWaitingSQLRecordsRequest = DescribeWaitingSQLRecordsRequest;
|
|
4266
|
+
class DescribeWaitingSQLRecordsResponseBody extends $tea.Model {
|
|
4267
|
+
constructor(map) {
|
|
4268
|
+
super(map);
|
|
4269
|
+
}
|
|
4270
|
+
static names() {
|
|
4271
|
+
return {
|
|
4272
|
+
items: 'Items',
|
|
4273
|
+
pageNumber: 'PageNumber',
|
|
4274
|
+
requestId: 'RequestId',
|
|
4275
|
+
totalCount: 'TotalCount',
|
|
4276
|
+
};
|
|
4277
|
+
}
|
|
4278
|
+
static types() {
|
|
4279
|
+
return {
|
|
4280
|
+
items: { 'type': 'array', 'itemType': DescribeWaitingSQLRecordsResponseBodyItems },
|
|
4281
|
+
pageNumber: 'number',
|
|
4282
|
+
requestId: 'string',
|
|
4283
|
+
totalCount: 'number',
|
|
4284
|
+
};
|
|
4285
|
+
}
|
|
4286
|
+
}
|
|
4287
|
+
exports.DescribeWaitingSQLRecordsResponseBody = DescribeWaitingSQLRecordsResponseBody;
|
|
4288
|
+
class DescribeWaitingSQLRecordsResponse extends $tea.Model {
|
|
4289
|
+
constructor(map) {
|
|
4290
|
+
super(map);
|
|
4291
|
+
}
|
|
4292
|
+
static names() {
|
|
4293
|
+
return {
|
|
4294
|
+
headers: 'headers',
|
|
4295
|
+
statusCode: 'statusCode',
|
|
4296
|
+
body: 'body',
|
|
4297
|
+
};
|
|
4298
|
+
}
|
|
4299
|
+
static types() {
|
|
4300
|
+
return {
|
|
4301
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4302
|
+
statusCode: 'number',
|
|
4303
|
+
body: DescribeWaitingSQLRecordsResponseBody,
|
|
4304
|
+
};
|
|
4305
|
+
}
|
|
4306
|
+
}
|
|
4307
|
+
exports.DescribeWaitingSQLRecordsResponse = DescribeWaitingSQLRecordsResponse;
|
|
4166
4308
|
class DownloadDiagnosisRecordsRequest extends $tea.Model {
|
|
4167
4309
|
constructor(map) {
|
|
4168
4310
|
super(map);
|
|
@@ -6079,6 +6221,7 @@ class DescribeAvailableResourcesResponseBodyResourcesSupportedEnginesSupportedIn
|
|
|
6079
6221
|
}
|
|
6080
6222
|
static names() {
|
|
6081
6223
|
return {
|
|
6224
|
+
category: 'Category',
|
|
6082
6225
|
description: 'Description',
|
|
6083
6226
|
displayClass: 'DisplayClass',
|
|
6084
6227
|
instanceClass: 'InstanceClass',
|
|
@@ -6089,6 +6232,7 @@ class DescribeAvailableResourcesResponseBodyResourcesSupportedEnginesSupportedIn
|
|
|
6089
6232
|
}
|
|
6090
6233
|
static types() {
|
|
6091
6234
|
return {
|
|
6235
|
+
category: 'string',
|
|
6092
6236
|
description: 'string',
|
|
6093
6237
|
displayClass: 'string',
|
|
6094
6238
|
instanceClass: 'string',
|
|
@@ -6275,6 +6419,7 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute extends $t
|
|
|
6275
6419
|
engineVersion: 'EngineVersion',
|
|
6276
6420
|
expireTime: 'ExpireTime',
|
|
6277
6421
|
hostType: 'HostType',
|
|
6422
|
+
idleTime: 'IdleTime',
|
|
6278
6423
|
instanceNetworkType: 'InstanceNetworkType',
|
|
6279
6424
|
lockMode: 'LockMode',
|
|
6280
6425
|
lockReason: 'LockReason',
|
|
@@ -6295,6 +6440,8 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute extends $t
|
|
|
6295
6440
|
securityIPList: 'SecurityIPList',
|
|
6296
6441
|
segNodeNum: 'SegNodeNum',
|
|
6297
6442
|
segmentCounts: 'SegmentCounts',
|
|
6443
|
+
serverlessMode: 'ServerlessMode',
|
|
6444
|
+
serverlessResource: 'ServerlessResource',
|
|
6298
6445
|
startTime: 'StartTime',
|
|
6299
6446
|
storagePerNode: 'StoragePerNode',
|
|
6300
6447
|
storageSize: 'StorageSize',
|
|
@@ -6335,6 +6482,7 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute extends $t
|
|
|
6335
6482
|
engineVersion: 'string',
|
|
6336
6483
|
expireTime: 'string',
|
|
6337
6484
|
hostType: 'string',
|
|
6485
|
+
idleTime: 'number',
|
|
6338
6486
|
instanceNetworkType: 'string',
|
|
6339
6487
|
lockMode: 'string',
|
|
6340
6488
|
lockReason: 'string',
|
|
@@ -6355,6 +6503,8 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute extends $t
|
|
|
6355
6503
|
securityIPList: 'string',
|
|
6356
6504
|
segNodeNum: 'number',
|
|
6357
6505
|
segmentCounts: 'number',
|
|
6506
|
+
serverlessMode: 'string',
|
|
6507
|
+
serverlessResource: 'number',
|
|
6358
6508
|
startTime: 'string',
|
|
6359
6509
|
storagePerNode: 'number',
|
|
6360
6510
|
storageSize: 'number',
|
|
@@ -6975,6 +7125,7 @@ class DescribeDBInstancesResponseBodyItemsDBInstance extends $tea.Model {
|
|
|
6975
7125
|
regionId: 'RegionId',
|
|
6976
7126
|
resourceGroupId: 'ResourceGroupId',
|
|
6977
7127
|
segNodeNum: 'SegNodeNum',
|
|
7128
|
+
serverlessMode: 'ServerlessMode',
|
|
6978
7129
|
storageSize: 'StorageSize',
|
|
6979
7130
|
storageType: 'StorageType',
|
|
6980
7131
|
tags: 'Tags',
|
|
@@ -7005,6 +7156,7 @@ class DescribeDBInstancesResponseBodyItemsDBInstance extends $tea.Model {
|
|
|
7005
7156
|
regionId: 'string',
|
|
7006
7157
|
resourceGroupId: 'string',
|
|
7007
7158
|
segNodeNum: 'string',
|
|
7159
|
+
serverlessMode: 'string',
|
|
7008
7160
|
storageSize: 'string',
|
|
7009
7161
|
storageType: 'string',
|
|
7010
7162
|
tags: DescribeDBInstancesResponseBodyItemsDBInstanceTags,
|
|
@@ -8257,6 +8409,70 @@ class DescribeUserEncryptionKeyListResponseBodyKmsKeys extends $tea.Model {
|
|
|
8257
8409
|
}
|
|
8258
8410
|
}
|
|
8259
8411
|
exports.DescribeUserEncryptionKeyListResponseBodyKmsKeys = DescribeUserEncryptionKeyListResponseBodyKmsKeys;
|
|
8412
|
+
class DescribeWaitingSQLInfoResponseBodyItems extends $tea.Model {
|
|
8413
|
+
constructor(map) {
|
|
8414
|
+
super(map);
|
|
8415
|
+
}
|
|
8416
|
+
static names() {
|
|
8417
|
+
return {
|
|
8418
|
+
application: 'Application',
|
|
8419
|
+
blockedByApplication: 'BlockedByApplication',
|
|
8420
|
+
blockedByPID: 'BlockedByPID',
|
|
8421
|
+
blockedBySQLStmt: 'BlockedBySQLStmt',
|
|
8422
|
+
blockedByUser: 'BlockedByUser',
|
|
8423
|
+
grantLocks: 'GrantLocks',
|
|
8424
|
+
notGrantLocks: 'NotGrantLocks',
|
|
8425
|
+
PID: 'PID',
|
|
8426
|
+
SQLStmt: 'SQLStmt',
|
|
8427
|
+
user: 'User',
|
|
8428
|
+
};
|
|
8429
|
+
}
|
|
8430
|
+
static types() {
|
|
8431
|
+
return {
|
|
8432
|
+
application: 'string',
|
|
8433
|
+
blockedByApplication: 'string',
|
|
8434
|
+
blockedByPID: 'string',
|
|
8435
|
+
blockedBySQLStmt: 'string',
|
|
8436
|
+
blockedByUser: 'string',
|
|
8437
|
+
grantLocks: 'string',
|
|
8438
|
+
notGrantLocks: 'string',
|
|
8439
|
+
PID: 'string',
|
|
8440
|
+
SQLStmt: 'string',
|
|
8441
|
+
user: 'string',
|
|
8442
|
+
};
|
|
8443
|
+
}
|
|
8444
|
+
}
|
|
8445
|
+
exports.DescribeWaitingSQLInfoResponseBodyItems = DescribeWaitingSQLInfoResponseBodyItems;
|
|
8446
|
+
class DescribeWaitingSQLRecordsResponseBodyItems extends $tea.Model {
|
|
8447
|
+
constructor(map) {
|
|
8448
|
+
super(map);
|
|
8449
|
+
}
|
|
8450
|
+
static names() {
|
|
8451
|
+
return {
|
|
8452
|
+
database: 'Database',
|
|
8453
|
+
PID: 'PID',
|
|
8454
|
+
SQLStmt: 'SQLStmt',
|
|
8455
|
+
sessionID: 'SessionID',
|
|
8456
|
+
startTime: 'StartTime',
|
|
8457
|
+
status: 'Status',
|
|
8458
|
+
user: 'User',
|
|
8459
|
+
waitingTime: 'WaitingTime',
|
|
8460
|
+
};
|
|
8461
|
+
}
|
|
8462
|
+
static types() {
|
|
8463
|
+
return {
|
|
8464
|
+
database: 'string',
|
|
8465
|
+
PID: 'string',
|
|
8466
|
+
SQLStmt: 'string',
|
|
8467
|
+
sessionID: 'string',
|
|
8468
|
+
startTime: 'number',
|
|
8469
|
+
status: 'string',
|
|
8470
|
+
user: 'string',
|
|
8471
|
+
waitingTime: 'number',
|
|
8472
|
+
};
|
|
8473
|
+
}
|
|
8474
|
+
}
|
|
8475
|
+
exports.DescribeWaitingSQLRecordsResponseBodyItems = DescribeWaitingSQLRecordsResponseBodyItems;
|
|
8260
8476
|
class ListTagResourcesRequestTag extends $tea.Model {
|
|
8261
8477
|
constructor(map) {
|
|
8262
8478
|
super(map);
|
|
@@ -8538,6 +8754,9 @@ class Client extends openapi_client_1.default {
|
|
|
8538
8754
|
if (!tea_util_1.default.isUnset(request.engineVersion)) {
|
|
8539
8755
|
query["EngineVersion"] = request.engineVersion;
|
|
8540
8756
|
}
|
|
8757
|
+
if (!tea_util_1.default.isUnset(request.idleTime)) {
|
|
8758
|
+
query["IdleTime"] = request.idleTime;
|
|
8759
|
+
}
|
|
8541
8760
|
if (!tea_util_1.default.isUnset(request.instanceNetworkType)) {
|
|
8542
8761
|
query["InstanceNetworkType"] = request.instanceNetworkType;
|
|
8543
8762
|
}
|
|
@@ -8574,6 +8793,12 @@ class Client extends openapi_client_1.default {
|
|
|
8574
8793
|
if (!tea_util_1.default.isUnset(request.segStorageType)) {
|
|
8575
8794
|
query["SegStorageType"] = request.segStorageType;
|
|
8576
8795
|
}
|
|
8796
|
+
if (!tea_util_1.default.isUnset(request.serverlessMode)) {
|
|
8797
|
+
query["ServerlessMode"] = request.serverlessMode;
|
|
8798
|
+
}
|
|
8799
|
+
if (!tea_util_1.default.isUnset(request.serverlessResource)) {
|
|
8800
|
+
query["ServerlessResource"] = request.serverlessResource;
|
|
8801
|
+
}
|
|
8577
8802
|
if (!tea_util_1.default.isUnset(request.storageSize)) {
|
|
8578
8803
|
query["StorageSize"] = request.storageSize;
|
|
8579
8804
|
}
|
|
@@ -10841,6 +11066,91 @@ class Client extends openapi_client_1.default {
|
|
|
10841
11066
|
let runtime = new $Util.RuntimeOptions({});
|
|
10842
11067
|
return await this.describeUserEncryptionKeyListWithOptions(request, runtime);
|
|
10843
11068
|
}
|
|
11069
|
+
async describeWaitingSQLInfoWithOptions(request, runtime) {
|
|
11070
|
+
tea_util_1.default.validateModel(request);
|
|
11071
|
+
let query = {};
|
|
11072
|
+
if (!tea_util_1.default.isUnset(request.DBInstanceId)) {
|
|
11073
|
+
query["DBInstanceId"] = request.DBInstanceId;
|
|
11074
|
+
}
|
|
11075
|
+
if (!tea_util_1.default.isUnset(request.database)) {
|
|
11076
|
+
query["Database"] = request.database;
|
|
11077
|
+
}
|
|
11078
|
+
if (!tea_util_1.default.isUnset(request.PID)) {
|
|
11079
|
+
query["PID"] = request.PID;
|
|
11080
|
+
}
|
|
11081
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11082
|
+
query: openapi_util_1.default.query(query),
|
|
11083
|
+
});
|
|
11084
|
+
let params = new $OpenApi.Params({
|
|
11085
|
+
action: "DescribeWaitingSQLInfo",
|
|
11086
|
+
version: "2016-05-03",
|
|
11087
|
+
protocol: "HTTPS",
|
|
11088
|
+
pathname: "/",
|
|
11089
|
+
method: "POST",
|
|
11090
|
+
authType: "AK",
|
|
11091
|
+
style: "RPC",
|
|
11092
|
+
reqBodyType: "formData",
|
|
11093
|
+
bodyType: "json",
|
|
11094
|
+
});
|
|
11095
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeWaitingSQLInfoResponse({}));
|
|
11096
|
+
}
|
|
11097
|
+
async describeWaitingSQLInfo(request) {
|
|
11098
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
11099
|
+
return await this.describeWaitingSQLInfoWithOptions(request, runtime);
|
|
11100
|
+
}
|
|
11101
|
+
async describeWaitingSQLRecordsWithOptions(request, runtime) {
|
|
11102
|
+
tea_util_1.default.validateModel(request);
|
|
11103
|
+
let query = {};
|
|
11104
|
+
if (!tea_util_1.default.isUnset(request.DBInstanceId)) {
|
|
11105
|
+
query["DBInstanceId"] = request.DBInstanceId;
|
|
11106
|
+
}
|
|
11107
|
+
if (!tea_util_1.default.isUnset(request.database)) {
|
|
11108
|
+
query["Database"] = request.database;
|
|
11109
|
+
}
|
|
11110
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
11111
|
+
query["EndTime"] = request.endTime;
|
|
11112
|
+
}
|
|
11113
|
+
if (!tea_util_1.default.isUnset(request.keyword)) {
|
|
11114
|
+
query["Keyword"] = request.keyword;
|
|
11115
|
+
}
|
|
11116
|
+
if (!tea_util_1.default.isUnset(request.order)) {
|
|
11117
|
+
query["Order"] = request.order;
|
|
11118
|
+
}
|
|
11119
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
11120
|
+
query["PageNumber"] = request.pageNumber;
|
|
11121
|
+
}
|
|
11122
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
11123
|
+
query["PageSize"] = request.pageSize;
|
|
11124
|
+
}
|
|
11125
|
+
if (!tea_util_1.default.isUnset(request.queryCondition)) {
|
|
11126
|
+
query["QueryCondition"] = request.queryCondition;
|
|
11127
|
+
}
|
|
11128
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
11129
|
+
query["StartTime"] = request.startTime;
|
|
11130
|
+
}
|
|
11131
|
+
if (!tea_util_1.default.isUnset(request.user)) {
|
|
11132
|
+
query["User"] = request.user;
|
|
11133
|
+
}
|
|
11134
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11135
|
+
query: openapi_util_1.default.query(query),
|
|
11136
|
+
});
|
|
11137
|
+
let params = new $OpenApi.Params({
|
|
11138
|
+
action: "DescribeWaitingSQLRecords",
|
|
11139
|
+
version: "2016-05-03",
|
|
11140
|
+
protocol: "HTTPS",
|
|
11141
|
+
pathname: "/",
|
|
11142
|
+
method: "POST",
|
|
11143
|
+
authType: "AK",
|
|
11144
|
+
style: "RPC",
|
|
11145
|
+
reqBodyType: "formData",
|
|
11146
|
+
bodyType: "json",
|
|
11147
|
+
});
|
|
11148
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeWaitingSQLRecordsResponse({}));
|
|
11149
|
+
}
|
|
11150
|
+
async describeWaitingSQLRecords(request) {
|
|
11151
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
11152
|
+
return await this.describeWaitingSQLRecordsWithOptions(request, runtime);
|
|
11153
|
+
}
|
|
10844
11154
|
async downloadDiagnosisRecordsWithOptions(request, runtime) {
|
|
10845
11155
|
tea_util_1.default.validateModel(request);
|
|
10846
11156
|
let query = {};
|