@alicloud/polardb20170801 2.0.7 → 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 +1288 -53
- package/dist/client.js +2166 -119
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +2720 -277
package/dist/client.js
CHANGED
|
@@ -211,6 +211,136 @@ class CheckDBNameResponse extends $tea.Model {
|
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
exports.CheckDBNameResponse = CheckDBNameResponse;
|
|
214
|
+
class CheckKMSAuthorizedRequest extends $tea.Model {
|
|
215
|
+
constructor(map) {
|
|
216
|
+
super(map);
|
|
217
|
+
}
|
|
218
|
+
static names() {
|
|
219
|
+
return {
|
|
220
|
+
DBClusterId: 'DBClusterId',
|
|
221
|
+
ownerAccount: 'OwnerAccount',
|
|
222
|
+
ownerId: 'OwnerId',
|
|
223
|
+
regionId: 'RegionId',
|
|
224
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
225
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
226
|
+
TDERegion: 'TDERegion',
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
static types() {
|
|
230
|
+
return {
|
|
231
|
+
DBClusterId: 'string',
|
|
232
|
+
ownerAccount: 'string',
|
|
233
|
+
ownerId: 'number',
|
|
234
|
+
regionId: 'string',
|
|
235
|
+
resourceOwnerAccount: 'string',
|
|
236
|
+
resourceOwnerId: 'number',
|
|
237
|
+
TDERegion: 'string',
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
exports.CheckKMSAuthorizedRequest = CheckKMSAuthorizedRequest;
|
|
242
|
+
class CheckKMSAuthorizedResponseBody extends $tea.Model {
|
|
243
|
+
constructor(map) {
|
|
244
|
+
super(map);
|
|
245
|
+
}
|
|
246
|
+
static names() {
|
|
247
|
+
return {
|
|
248
|
+
authorizationState: 'AuthorizationState',
|
|
249
|
+
DBClusterId: 'DBClusterId',
|
|
250
|
+
requestId: 'RequestId',
|
|
251
|
+
roleArn: 'RoleArn',
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
static types() {
|
|
255
|
+
return {
|
|
256
|
+
authorizationState: 'number',
|
|
257
|
+
DBClusterId: 'string',
|
|
258
|
+
requestId: 'string',
|
|
259
|
+
roleArn: 'string',
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
exports.CheckKMSAuthorizedResponseBody = CheckKMSAuthorizedResponseBody;
|
|
264
|
+
class CheckKMSAuthorizedResponse extends $tea.Model {
|
|
265
|
+
constructor(map) {
|
|
266
|
+
super(map);
|
|
267
|
+
}
|
|
268
|
+
static names() {
|
|
269
|
+
return {
|
|
270
|
+
headers: 'headers',
|
|
271
|
+
statusCode: 'statusCode',
|
|
272
|
+
body: 'body',
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
static types() {
|
|
276
|
+
return {
|
|
277
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
278
|
+
statusCode: 'number',
|
|
279
|
+
body: CheckKMSAuthorizedResponseBody,
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
exports.CheckKMSAuthorizedResponse = CheckKMSAuthorizedResponse;
|
|
284
|
+
class CheckServiceLinkedRoleRequest extends $tea.Model {
|
|
285
|
+
constructor(map) {
|
|
286
|
+
super(map);
|
|
287
|
+
}
|
|
288
|
+
static names() {
|
|
289
|
+
return {
|
|
290
|
+
ownerAccount: 'OwnerAccount',
|
|
291
|
+
ownerId: 'OwnerId',
|
|
292
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
293
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
static types() {
|
|
297
|
+
return {
|
|
298
|
+
ownerAccount: 'string',
|
|
299
|
+
ownerId: 'number',
|
|
300
|
+
resourceOwnerAccount: 'string',
|
|
301
|
+
resourceOwnerId: 'number',
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
exports.CheckServiceLinkedRoleRequest = CheckServiceLinkedRoleRequest;
|
|
306
|
+
class CheckServiceLinkedRoleResponseBody extends $tea.Model {
|
|
307
|
+
constructor(map) {
|
|
308
|
+
super(map);
|
|
309
|
+
}
|
|
310
|
+
static names() {
|
|
311
|
+
return {
|
|
312
|
+
hasServiceLinkedRole: 'HasServiceLinkedRole',
|
|
313
|
+
requestId: 'RequestId',
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
static types() {
|
|
317
|
+
return {
|
|
318
|
+
hasServiceLinkedRole: 'boolean',
|
|
319
|
+
requestId: 'string',
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
exports.CheckServiceLinkedRoleResponseBody = CheckServiceLinkedRoleResponseBody;
|
|
324
|
+
class CheckServiceLinkedRoleResponse extends $tea.Model {
|
|
325
|
+
constructor(map) {
|
|
326
|
+
super(map);
|
|
327
|
+
}
|
|
328
|
+
static names() {
|
|
329
|
+
return {
|
|
330
|
+
headers: 'headers',
|
|
331
|
+
statusCode: 'statusCode',
|
|
332
|
+
body: 'body',
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
static types() {
|
|
336
|
+
return {
|
|
337
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
338
|
+
statusCode: 'number',
|
|
339
|
+
body: CheckServiceLinkedRoleResponseBody,
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
exports.CheckServiceLinkedRoleResponse = CheckServiceLinkedRoleResponse;
|
|
214
344
|
class CloseAITaskRequest extends $tea.Model {
|
|
215
345
|
constructor(map) {
|
|
216
346
|
super(map);
|
|
@@ -353,6 +483,7 @@ class CreateAccountRequest extends $tea.Model {
|
|
|
353
483
|
DBName: 'DBName',
|
|
354
484
|
ownerAccount: 'OwnerAccount',
|
|
355
485
|
ownerId: 'OwnerId',
|
|
486
|
+
privForAllDB: 'PrivForAllDB',
|
|
356
487
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
357
488
|
resourceOwnerId: 'ResourceOwnerId',
|
|
358
489
|
};
|
|
@@ -369,6 +500,7 @@ class CreateAccountRequest extends $tea.Model {
|
|
|
369
500
|
DBName: 'string',
|
|
370
501
|
ownerAccount: 'string',
|
|
371
502
|
ownerId: 'number',
|
|
503
|
+
privForAllDB: 'string',
|
|
372
504
|
resourceOwnerAccount: 'string',
|
|
373
505
|
resourceOwnerId: 'number',
|
|
374
506
|
};
|
|
@@ -482,6 +614,7 @@ class CreateDBClusterRequest extends $tea.Model {
|
|
|
482
614
|
static names() {
|
|
483
615
|
return {
|
|
484
616
|
allowShutDown: 'AllowShutDown',
|
|
617
|
+
architecture: 'Architecture',
|
|
485
618
|
autoRenew: 'AutoRenew',
|
|
486
619
|
backupRetentionPolicyOnClusterDeletion: 'BackupRetentionPolicyOnClusterDeletion',
|
|
487
620
|
clientToken: 'ClientToken',
|
|
@@ -492,16 +625,23 @@ class CreateDBClusterRequest extends $tea.Model {
|
|
|
492
625
|
DBClusterDescription: 'DBClusterDescription',
|
|
493
626
|
DBMinorVersion: 'DBMinorVersion',
|
|
494
627
|
DBNodeClass: 'DBNodeClass',
|
|
628
|
+
DBNodeNum: 'DBNodeNum',
|
|
495
629
|
DBType: 'DBType',
|
|
496
630
|
DBVersion: 'DBVersion',
|
|
497
631
|
defaultTimeZone: 'DefaultTimeZone',
|
|
498
632
|
GDNId: 'GDNId',
|
|
633
|
+
hotStandbyCluster: 'HotStandbyCluster',
|
|
634
|
+
loosePolarLogBin: 'LoosePolarLogBin',
|
|
635
|
+
looseXEngine: 'LooseXEngine',
|
|
636
|
+
looseXEngineUseMemoryPct: 'LooseXEngineUseMemoryPct',
|
|
499
637
|
lowerCaseTableNames: 'LowerCaseTableNames',
|
|
500
638
|
ownerAccount: 'OwnerAccount',
|
|
501
639
|
ownerId: 'OwnerId',
|
|
502
640
|
parameterGroupId: 'ParameterGroupId',
|
|
503
641
|
payType: 'PayType',
|
|
504
642
|
period: 'Period',
|
|
643
|
+
proxyClass: 'ProxyClass',
|
|
644
|
+
proxyType: 'ProxyType',
|
|
505
645
|
regionId: 'RegionId',
|
|
506
646
|
resourceGroupId: 'ResourceGroupId',
|
|
507
647
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -513,7 +653,13 @@ class CreateDBClusterRequest extends $tea.Model {
|
|
|
513
653
|
securityIPList: 'SecurityIPList',
|
|
514
654
|
serverlessType: 'ServerlessType',
|
|
515
655
|
sourceResourceId: 'SourceResourceId',
|
|
656
|
+
standbyAZ: 'StandbyAZ',
|
|
657
|
+
storageAutoScale: 'StorageAutoScale',
|
|
658
|
+
storagePayType: 'StoragePayType',
|
|
659
|
+
storageSpace: 'StorageSpace',
|
|
516
660
|
storageType: 'StorageType',
|
|
661
|
+
storageUpperBound: 'StorageUpperBound',
|
|
662
|
+
strictConsistency: 'StrictConsistency',
|
|
517
663
|
TDEStatus: 'TDEStatus',
|
|
518
664
|
tag: 'Tag',
|
|
519
665
|
usedTime: 'UsedTime',
|
|
@@ -525,6 +671,7 @@ class CreateDBClusterRequest extends $tea.Model {
|
|
|
525
671
|
static types() {
|
|
526
672
|
return {
|
|
527
673
|
allowShutDown: 'string',
|
|
674
|
+
architecture: 'string',
|
|
528
675
|
autoRenew: 'boolean',
|
|
529
676
|
backupRetentionPolicyOnClusterDeletion: 'string',
|
|
530
677
|
clientToken: 'string',
|
|
@@ -535,16 +682,23 @@ class CreateDBClusterRequest extends $tea.Model {
|
|
|
535
682
|
DBClusterDescription: 'string',
|
|
536
683
|
DBMinorVersion: 'string',
|
|
537
684
|
DBNodeClass: 'string',
|
|
685
|
+
DBNodeNum: 'number',
|
|
538
686
|
DBType: 'string',
|
|
539
687
|
DBVersion: 'string',
|
|
540
688
|
defaultTimeZone: 'string',
|
|
541
689
|
GDNId: 'string',
|
|
690
|
+
hotStandbyCluster: 'string',
|
|
691
|
+
loosePolarLogBin: 'string',
|
|
692
|
+
looseXEngine: 'string',
|
|
693
|
+
looseXEngineUseMemoryPct: 'string',
|
|
542
694
|
lowerCaseTableNames: 'string',
|
|
543
695
|
ownerAccount: 'string',
|
|
544
696
|
ownerId: 'number',
|
|
545
697
|
parameterGroupId: 'string',
|
|
546
698
|
payType: 'string',
|
|
547
699
|
period: 'string',
|
|
700
|
+
proxyClass: 'string',
|
|
701
|
+
proxyType: 'string',
|
|
548
702
|
regionId: 'string',
|
|
549
703
|
resourceGroupId: 'string',
|
|
550
704
|
resourceOwnerAccount: 'string',
|
|
@@ -556,7 +710,13 @@ class CreateDBClusterRequest extends $tea.Model {
|
|
|
556
710
|
securityIPList: 'string',
|
|
557
711
|
serverlessType: 'string',
|
|
558
712
|
sourceResourceId: 'string',
|
|
713
|
+
standbyAZ: 'string',
|
|
714
|
+
storageAutoScale: 'string',
|
|
715
|
+
storagePayType: 'string',
|
|
716
|
+
storageSpace: 'number',
|
|
559
717
|
storageType: 'string',
|
|
718
|
+
storageUpperBound: 'number',
|
|
719
|
+
strictConsistency: 'string',
|
|
560
720
|
TDEStatus: 'boolean',
|
|
561
721
|
tag: { 'type': 'array', 'itemType': CreateDBClusterRequestTag },
|
|
562
722
|
usedTime: 'string',
|
|
@@ -697,6 +857,9 @@ class CreateDBEndpointAddressRequest extends $tea.Model {
|
|
|
697
857
|
ownerId: 'OwnerId',
|
|
698
858
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
699
859
|
resourceOwnerId: 'ResourceOwnerId',
|
|
860
|
+
securityGroupId: 'SecurityGroupId',
|
|
861
|
+
VPCId: 'VPCId',
|
|
862
|
+
zoneInfo: 'ZoneInfo',
|
|
700
863
|
};
|
|
701
864
|
}
|
|
702
865
|
static types() {
|
|
@@ -709,6 +872,9 @@ class CreateDBEndpointAddressRequest extends $tea.Model {
|
|
|
709
872
|
ownerId: 'number',
|
|
710
873
|
resourceOwnerAccount: 'string',
|
|
711
874
|
resourceOwnerId: 'number',
|
|
875
|
+
securityGroupId: 'string',
|
|
876
|
+
VPCId: 'string',
|
|
877
|
+
zoneInfo: { 'type': 'array', 'itemType': CreateDBEndpointAddressRequestZoneInfo },
|
|
712
878
|
};
|
|
713
879
|
}
|
|
714
880
|
}
|
|
@@ -842,6 +1008,7 @@ class CreateDBNodesRequest extends $tea.Model {
|
|
|
842
1008
|
clientToken: 'ClientToken',
|
|
843
1009
|
DBClusterId: 'DBClusterId',
|
|
844
1010
|
DBNode: 'DBNode',
|
|
1011
|
+
DBNodeType: 'DBNodeType',
|
|
845
1012
|
endpointBindList: 'EndpointBindList',
|
|
846
1013
|
imciSwitch: 'ImciSwitch',
|
|
847
1014
|
ownerAccount: 'OwnerAccount',
|
|
@@ -858,6 +1025,7 @@ class CreateDBNodesRequest extends $tea.Model {
|
|
|
858
1025
|
clientToken: 'string',
|
|
859
1026
|
DBClusterId: 'string',
|
|
860
1027
|
DBNode: { 'type': 'array', 'itemType': CreateDBNodesRequestDBNode },
|
|
1028
|
+
DBNodeType: 'string',
|
|
861
1029
|
endpointBindList: 'string',
|
|
862
1030
|
imciSwitch: 'string',
|
|
863
1031
|
ownerAccount: 'string',
|
|
@@ -1199,6 +1367,64 @@ class CreateParameterGroupResponse extends $tea.Model {
|
|
|
1199
1367
|
}
|
|
1200
1368
|
}
|
|
1201
1369
|
exports.CreateParameterGroupResponse = CreateParameterGroupResponse;
|
|
1370
|
+
class CreateServiceLinkedRoleRequest extends $tea.Model {
|
|
1371
|
+
constructor(map) {
|
|
1372
|
+
super(map);
|
|
1373
|
+
}
|
|
1374
|
+
static names() {
|
|
1375
|
+
return {
|
|
1376
|
+
ownerAccount: 'OwnerAccount',
|
|
1377
|
+
ownerId: 'OwnerId',
|
|
1378
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1379
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1380
|
+
};
|
|
1381
|
+
}
|
|
1382
|
+
static types() {
|
|
1383
|
+
return {
|
|
1384
|
+
ownerAccount: 'string',
|
|
1385
|
+
ownerId: 'number',
|
|
1386
|
+
resourceOwnerAccount: 'string',
|
|
1387
|
+
resourceOwnerId: 'number',
|
|
1388
|
+
};
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
exports.CreateServiceLinkedRoleRequest = CreateServiceLinkedRoleRequest;
|
|
1392
|
+
class CreateServiceLinkedRoleResponseBody extends $tea.Model {
|
|
1393
|
+
constructor(map) {
|
|
1394
|
+
super(map);
|
|
1395
|
+
}
|
|
1396
|
+
static names() {
|
|
1397
|
+
return {
|
|
1398
|
+
requestId: 'RequestId',
|
|
1399
|
+
};
|
|
1400
|
+
}
|
|
1401
|
+
static types() {
|
|
1402
|
+
return {
|
|
1403
|
+
requestId: 'string',
|
|
1404
|
+
};
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
exports.CreateServiceLinkedRoleResponseBody = CreateServiceLinkedRoleResponseBody;
|
|
1408
|
+
class CreateServiceLinkedRoleResponse extends $tea.Model {
|
|
1409
|
+
constructor(map) {
|
|
1410
|
+
super(map);
|
|
1411
|
+
}
|
|
1412
|
+
static names() {
|
|
1413
|
+
return {
|
|
1414
|
+
headers: 'headers',
|
|
1415
|
+
statusCode: 'statusCode',
|
|
1416
|
+
body: 'body',
|
|
1417
|
+
};
|
|
1418
|
+
}
|
|
1419
|
+
static types() {
|
|
1420
|
+
return {
|
|
1421
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1422
|
+
statusCode: 'number',
|
|
1423
|
+
body: CreateServiceLinkedRoleResponseBody,
|
|
1424
|
+
};
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
exports.CreateServiceLinkedRoleResponse = CreateServiceLinkedRoleResponse;
|
|
1202
1428
|
class CreateStoragePlanRequest extends $tea.Model {
|
|
1203
1429
|
constructor(map) {
|
|
1204
1430
|
super(map);
|
|
@@ -1654,6 +1880,7 @@ class DeleteDBNodesRequest extends $tea.Model {
|
|
|
1654
1880
|
clientToken: 'ClientToken',
|
|
1655
1881
|
DBClusterId: 'DBClusterId',
|
|
1656
1882
|
DBNodeId: 'DBNodeId',
|
|
1883
|
+
DBNodeType: 'DBNodeType',
|
|
1657
1884
|
ownerAccount: 'OwnerAccount',
|
|
1658
1885
|
ownerId: 'OwnerId',
|
|
1659
1886
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -1665,6 +1892,7 @@ class DeleteDBNodesRequest extends $tea.Model {
|
|
|
1665
1892
|
clientToken: 'string',
|
|
1666
1893
|
DBClusterId: 'string',
|
|
1667
1894
|
DBNodeId: { 'type': 'array', 'itemType': 'string' },
|
|
1895
|
+
DBNodeType: 'string',
|
|
1668
1896
|
ownerAccount: 'string',
|
|
1669
1897
|
ownerId: 'number',
|
|
1670
1898
|
resourceOwnerAccount: 'string',
|
|
@@ -2634,6 +2862,7 @@ class DescribeClassListRequest extends $tea.Model {
|
|
|
2634
2862
|
static names() {
|
|
2635
2863
|
return {
|
|
2636
2864
|
commodityCode: 'CommodityCode',
|
|
2865
|
+
masterHa: 'MasterHa',
|
|
2637
2866
|
orderType: 'OrderType',
|
|
2638
2867
|
ownerAccount: 'OwnerAccount',
|
|
2639
2868
|
ownerId: 'OwnerId',
|
|
@@ -2646,6 +2875,7 @@ class DescribeClassListRequest extends $tea.Model {
|
|
|
2646
2875
|
static types() {
|
|
2647
2876
|
return {
|
|
2648
2877
|
commodityCode: 'string',
|
|
2878
|
+
masterHa: 'string',
|
|
2649
2879
|
orderType: 'string',
|
|
2650
2880
|
ownerAccount: 'string',
|
|
2651
2881
|
ownerId: 'number',
|
|
@@ -2768,6 +2998,7 @@ class DescribeDBClusterAttributeRequest extends $tea.Model {
|
|
|
2768
2998
|
static names() {
|
|
2769
2999
|
return {
|
|
2770
3000
|
DBClusterId: 'DBClusterId',
|
|
3001
|
+
describeType: 'DescribeType',
|
|
2771
3002
|
ownerAccount: 'OwnerAccount',
|
|
2772
3003
|
ownerId: 'OwnerId',
|
|
2773
3004
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -2777,6 +3008,7 @@ class DescribeDBClusterAttributeRequest extends $tea.Model {
|
|
|
2777
3008
|
static types() {
|
|
2778
3009
|
return {
|
|
2779
3010
|
DBClusterId: 'string',
|
|
3011
|
+
describeType: 'string',
|
|
2780
3012
|
ownerAccount: 'string',
|
|
2781
3013
|
ownerId: 'number',
|
|
2782
3014
|
resourceOwnerAccount: 'string',
|
|
@@ -2791,9 +3023,11 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2791
3023
|
}
|
|
2792
3024
|
static names() {
|
|
2793
3025
|
return {
|
|
3026
|
+
aiType: 'AiType',
|
|
2794
3027
|
blktagTotal: 'BlktagTotal',
|
|
2795
3028
|
blktagUsed: 'BlktagUsed',
|
|
2796
3029
|
category: 'Category',
|
|
3030
|
+
compressStorageMode: 'CompressStorageMode',
|
|
2797
3031
|
creationTime: 'CreationTime',
|
|
2798
3032
|
DBClusterDescription: 'DBClusterDescription',
|
|
2799
3033
|
DBClusterId: 'DBClusterId',
|
|
@@ -2804,10 +3038,13 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2804
3038
|
DBVersion: 'DBVersion',
|
|
2805
3039
|
DBVersionStatus: 'DBVersionStatus',
|
|
2806
3040
|
dataLevel1BackupChainSize: 'DataLevel1BackupChainSize',
|
|
3041
|
+
dataSyncMode: 'DataSyncMode',
|
|
2807
3042
|
deletionLock: 'DeletionLock',
|
|
3043
|
+
deployUnit: 'DeployUnit',
|
|
2808
3044
|
engine: 'Engine',
|
|
2809
3045
|
expireTime: 'ExpireTime',
|
|
2810
3046
|
expired: 'Expired',
|
|
3047
|
+
hasCompleteStandbyRes: 'HasCompleteStandbyRes',
|
|
2811
3048
|
inodeTotal: 'InodeTotal',
|
|
2812
3049
|
inodeUsed: 'InodeUsed',
|
|
2813
3050
|
isLatestVersion: 'IsLatestVersion',
|
|
@@ -2816,6 +3053,7 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2816
3053
|
maintainTime: 'MaintainTime',
|
|
2817
3054
|
payType: 'PayType',
|
|
2818
3055
|
proxyCpuCores: 'ProxyCpuCores',
|
|
3056
|
+
proxyServerlessType: 'ProxyServerlessType',
|
|
2819
3057
|
proxyStandardCpuCores: 'ProxyStandardCpuCores',
|
|
2820
3058
|
proxyStatus: 'ProxyStatus',
|
|
2821
3059
|
proxyType: 'ProxyType',
|
|
@@ -2824,11 +3062,13 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2824
3062
|
resourceGroupId: 'ResourceGroupId',
|
|
2825
3063
|
SQLSize: 'SQLSize',
|
|
2826
3064
|
serverlessType: 'ServerlessType',
|
|
3065
|
+
standbyHAMode: 'StandbyHAMode',
|
|
2827
3066
|
storageMax: 'StorageMax',
|
|
2828
3067
|
storagePayType: 'StoragePayType',
|
|
2829
3068
|
storageSpace: 'StorageSpace',
|
|
2830
3069
|
storageType: 'StorageType',
|
|
2831
3070
|
storageUsed: 'StorageUsed',
|
|
3071
|
+
strictConsistency: 'StrictConsistency',
|
|
2832
3072
|
subCategory: 'SubCategory',
|
|
2833
3073
|
tags: 'Tags',
|
|
2834
3074
|
VPCId: 'VPCId',
|
|
@@ -2838,9 +3078,11 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2838
3078
|
}
|
|
2839
3079
|
static types() {
|
|
2840
3080
|
return {
|
|
3081
|
+
aiType: 'string',
|
|
2841
3082
|
blktagTotal: 'number',
|
|
2842
3083
|
blktagUsed: 'number',
|
|
2843
3084
|
category: 'string',
|
|
3085
|
+
compressStorageMode: 'string',
|
|
2844
3086
|
creationTime: 'string',
|
|
2845
3087
|
DBClusterDescription: 'string',
|
|
2846
3088
|
DBClusterId: 'string',
|
|
@@ -2851,10 +3093,13 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2851
3093
|
DBVersion: 'string',
|
|
2852
3094
|
DBVersionStatus: 'string',
|
|
2853
3095
|
dataLevel1BackupChainSize: 'number',
|
|
3096
|
+
dataSyncMode: 'string',
|
|
2854
3097
|
deletionLock: 'number',
|
|
3098
|
+
deployUnit: 'string',
|
|
2855
3099
|
engine: 'string',
|
|
2856
3100
|
expireTime: 'string',
|
|
2857
3101
|
expired: 'string',
|
|
3102
|
+
hasCompleteStandbyRes: 'boolean',
|
|
2858
3103
|
inodeTotal: 'number',
|
|
2859
3104
|
inodeUsed: 'number',
|
|
2860
3105
|
isLatestVersion: 'boolean',
|
|
@@ -2863,6 +3108,7 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2863
3108
|
maintainTime: 'string',
|
|
2864
3109
|
payType: 'string',
|
|
2865
3110
|
proxyCpuCores: 'string',
|
|
3111
|
+
proxyServerlessType: 'string',
|
|
2866
3112
|
proxyStandardCpuCores: 'string',
|
|
2867
3113
|
proxyStatus: 'string',
|
|
2868
3114
|
proxyType: 'string',
|
|
@@ -2871,11 +3117,13 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2871
3117
|
resourceGroupId: 'string',
|
|
2872
3118
|
SQLSize: 'number',
|
|
2873
3119
|
serverlessType: 'string',
|
|
3120
|
+
standbyHAMode: 'string',
|
|
2874
3121
|
storageMax: 'number',
|
|
2875
3122
|
storagePayType: 'string',
|
|
2876
3123
|
storageSpace: 'number',
|
|
2877
3124
|
storageType: 'string',
|
|
2878
3125
|
storageUsed: 'number',
|
|
3126
|
+
strictConsistency: 'string',
|
|
2879
3127
|
subCategory: 'string',
|
|
2880
3128
|
tags: { 'type': 'array', 'itemType': DescribeDBClusterAttributeResponseBodyTags },
|
|
2881
3129
|
VPCId: 'string',
|
|
@@ -3039,6 +3287,80 @@ class DescribeDBClusterAvailableResourcesResponse extends $tea.Model {
|
|
|
3039
3287
|
}
|
|
3040
3288
|
}
|
|
3041
3289
|
exports.DescribeDBClusterAvailableResourcesResponse = DescribeDBClusterAvailableResourcesResponse;
|
|
3290
|
+
class DescribeDBClusterConnectivityRequest extends $tea.Model {
|
|
3291
|
+
constructor(map) {
|
|
3292
|
+
super(map);
|
|
3293
|
+
}
|
|
3294
|
+
static names() {
|
|
3295
|
+
return {
|
|
3296
|
+
DBClusterId: 'DBClusterId',
|
|
3297
|
+
ownerAccount: 'OwnerAccount',
|
|
3298
|
+
ownerId: 'OwnerId',
|
|
3299
|
+
resourceGroupId: 'ResourceGroupId',
|
|
3300
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3301
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3302
|
+
securityToken: 'SecurityToken',
|
|
3303
|
+
sourceIpAddress: 'SourceIpAddress',
|
|
3304
|
+
};
|
|
3305
|
+
}
|
|
3306
|
+
static types() {
|
|
3307
|
+
return {
|
|
3308
|
+
DBClusterId: 'string',
|
|
3309
|
+
ownerAccount: 'string',
|
|
3310
|
+
ownerId: 'number',
|
|
3311
|
+
resourceGroupId: 'string',
|
|
3312
|
+
resourceOwnerAccount: 'string',
|
|
3313
|
+
resourceOwnerId: 'number',
|
|
3314
|
+
securityToken: 'string',
|
|
3315
|
+
sourceIpAddress: 'string',
|
|
3316
|
+
};
|
|
3317
|
+
}
|
|
3318
|
+
}
|
|
3319
|
+
exports.DescribeDBClusterConnectivityRequest = DescribeDBClusterConnectivityRequest;
|
|
3320
|
+
class DescribeDBClusterConnectivityResponseBody extends $tea.Model {
|
|
3321
|
+
constructor(map) {
|
|
3322
|
+
super(map);
|
|
3323
|
+
}
|
|
3324
|
+
static names() {
|
|
3325
|
+
return {
|
|
3326
|
+
connCheckErrorCode: 'ConnCheckErrorCode',
|
|
3327
|
+
connCheckErrorMessage: 'ConnCheckErrorMessage',
|
|
3328
|
+
connCheckResult: 'ConnCheckResult',
|
|
3329
|
+
DBClusterId: 'DBClusterId',
|
|
3330
|
+
requestId: 'RequestId',
|
|
3331
|
+
};
|
|
3332
|
+
}
|
|
3333
|
+
static types() {
|
|
3334
|
+
return {
|
|
3335
|
+
connCheckErrorCode: 'string',
|
|
3336
|
+
connCheckErrorMessage: 'string',
|
|
3337
|
+
connCheckResult: 'string',
|
|
3338
|
+
DBClusterId: 'string',
|
|
3339
|
+
requestId: 'string',
|
|
3340
|
+
};
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3343
|
+
exports.DescribeDBClusterConnectivityResponseBody = DescribeDBClusterConnectivityResponseBody;
|
|
3344
|
+
class DescribeDBClusterConnectivityResponse extends $tea.Model {
|
|
3345
|
+
constructor(map) {
|
|
3346
|
+
super(map);
|
|
3347
|
+
}
|
|
3348
|
+
static names() {
|
|
3349
|
+
return {
|
|
3350
|
+
headers: 'headers',
|
|
3351
|
+
statusCode: 'statusCode',
|
|
3352
|
+
body: 'body',
|
|
3353
|
+
};
|
|
3354
|
+
}
|
|
3355
|
+
static types() {
|
|
3356
|
+
return {
|
|
3357
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3358
|
+
statusCode: 'number',
|
|
3359
|
+
body: DescribeDBClusterConnectivityResponseBody,
|
|
3360
|
+
};
|
|
3361
|
+
}
|
|
3362
|
+
}
|
|
3363
|
+
exports.DescribeDBClusterConnectivityResponse = DescribeDBClusterConnectivityResponse;
|
|
3042
3364
|
class DescribeDBClusterEndpointsRequest extends $tea.Model {
|
|
3043
3365
|
constructor(map) {
|
|
3044
3366
|
super(map);
|
|
@@ -3047,6 +3369,7 @@ class DescribeDBClusterEndpointsRequest extends $tea.Model {
|
|
|
3047
3369
|
return {
|
|
3048
3370
|
DBClusterId: 'DBClusterId',
|
|
3049
3371
|
DBEndpointId: 'DBEndpointId',
|
|
3372
|
+
describeType: 'DescribeType',
|
|
3050
3373
|
ownerAccount: 'OwnerAccount',
|
|
3051
3374
|
ownerId: 'OwnerId',
|
|
3052
3375
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -3057,6 +3380,7 @@ class DescribeDBClusterEndpointsRequest extends $tea.Model {
|
|
|
3057
3380
|
return {
|
|
3058
3381
|
DBClusterId: 'string',
|
|
3059
3382
|
DBEndpointId: 'string',
|
|
3383
|
+
describeType: 'string',
|
|
3060
3384
|
ownerAccount: 'string',
|
|
3061
3385
|
ownerId: 'number',
|
|
3062
3386
|
resourceOwnerAccount: 'string',
|
|
@@ -3258,6 +3582,7 @@ class DescribeDBClusterParametersRequest extends $tea.Model {
|
|
|
3258
3582
|
static names() {
|
|
3259
3583
|
return {
|
|
3260
3584
|
DBClusterId: 'DBClusterId',
|
|
3585
|
+
describeType: 'DescribeType',
|
|
3261
3586
|
ownerAccount: 'OwnerAccount',
|
|
3262
3587
|
ownerId: 'OwnerId',
|
|
3263
3588
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -3267,6 +3592,7 @@ class DescribeDBClusterParametersRequest extends $tea.Model {
|
|
|
3267
3592
|
static types() {
|
|
3268
3593
|
return {
|
|
3269
3594
|
DBClusterId: 'string',
|
|
3595
|
+
describeType: 'string',
|
|
3270
3596
|
ownerAccount: 'string',
|
|
3271
3597
|
ownerId: 'number',
|
|
3272
3598
|
resourceOwnerAccount: 'string',
|
|
@@ -3281,18 +3607,24 @@ class DescribeDBClusterParametersResponseBody extends $tea.Model {
|
|
|
3281
3607
|
}
|
|
3282
3608
|
static names() {
|
|
3283
3609
|
return {
|
|
3610
|
+
DBClusterId: 'DBClusterId',
|
|
3284
3611
|
DBType: 'DBType',
|
|
3285
3612
|
DBVersion: 'DBVersion',
|
|
3286
3613
|
engine: 'Engine',
|
|
3614
|
+
parameterNumbers: 'ParameterNumbers',
|
|
3615
|
+
parameters: 'Parameters',
|
|
3287
3616
|
requestId: 'RequestId',
|
|
3288
3617
|
runningParameters: 'RunningParameters',
|
|
3289
3618
|
};
|
|
3290
3619
|
}
|
|
3291
3620
|
static types() {
|
|
3292
3621
|
return {
|
|
3622
|
+
DBClusterId: 'string',
|
|
3293
3623
|
DBType: 'string',
|
|
3294
3624
|
DBVersion: 'string',
|
|
3295
3625
|
engine: 'string',
|
|
3626
|
+
parameterNumbers: 'string',
|
|
3627
|
+
parameters: DescribeDBClusterParametersResponseBodyParameters,
|
|
3296
3628
|
requestId: 'string',
|
|
3297
3629
|
runningParameters: DescribeDBClusterParametersResponseBodyRunningParameters,
|
|
3298
3630
|
};
|
|
@@ -3631,6 +3963,7 @@ class DescribeDBClusterVersionResponseBody extends $tea.Model {
|
|
|
3631
3963
|
DBLatestVersion: 'DBLatestVersion',
|
|
3632
3964
|
DBMinorVersion: 'DBMinorVersion',
|
|
3633
3965
|
DBRevisionVersion: 'DBRevisionVersion',
|
|
3966
|
+
DBRevisionVersionList: 'DBRevisionVersionList',
|
|
3634
3967
|
DBVersion: 'DBVersion',
|
|
3635
3968
|
DBVersionStatus: 'DBVersionStatus',
|
|
3636
3969
|
isLatestVersion: 'IsLatestVersion',
|
|
@@ -3647,6 +3980,7 @@ class DescribeDBClusterVersionResponseBody extends $tea.Model {
|
|
|
3647
3980
|
DBLatestVersion: 'string',
|
|
3648
3981
|
DBMinorVersion: 'string',
|
|
3649
3982
|
DBRevisionVersion: 'string',
|
|
3983
|
+
DBRevisionVersionList: { 'type': 'array', 'itemType': DescribeDBClusterVersionResponseBodyDBRevisionVersionList },
|
|
3650
3984
|
DBVersion: 'string',
|
|
3651
3985
|
DBVersionStatus: 'string',
|
|
3652
3986
|
isLatestVersion: 'string',
|
|
@@ -4397,6 +4731,7 @@ class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
4397
4731
|
return {
|
|
4398
4732
|
connections: 'Connections',
|
|
4399
4733
|
createTime: 'CreateTime',
|
|
4734
|
+
DBClusterId: 'DBClusterId',
|
|
4400
4735
|
DBClusters: 'DBClusters',
|
|
4401
4736
|
DBType: 'DBType',
|
|
4402
4737
|
DBVersion: 'DBVersion',
|
|
@@ -4404,12 +4739,14 @@ class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
4404
4739
|
GDNId: 'GDNId',
|
|
4405
4740
|
GDNStatus: 'GDNStatus',
|
|
4406
4741
|
requestId: 'RequestId',
|
|
4742
|
+
resourceGroupId: 'ResourceGroupId',
|
|
4407
4743
|
};
|
|
4408
4744
|
}
|
|
4409
4745
|
static types() {
|
|
4410
4746
|
return {
|
|
4411
4747
|
connections: { 'type': 'array', 'itemType': DescribeGlobalDatabaseNetworkResponseBodyConnections },
|
|
4412
4748
|
createTime: 'string',
|
|
4749
|
+
DBClusterId: 'string',
|
|
4413
4750
|
DBClusters: { 'type': 'array', 'itemType': DescribeGlobalDatabaseNetworkResponseBodyDBClusters },
|
|
4414
4751
|
DBType: 'string',
|
|
4415
4752
|
DBVersion: 'string',
|
|
@@ -4417,6 +4754,7 @@ class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
4417
4754
|
GDNId: 'string',
|
|
4418
4755
|
GDNStatus: 'string',
|
|
4419
4756
|
requestId: 'string',
|
|
4757
|
+
resourceGroupId: 'string',
|
|
4420
4758
|
};
|
|
4421
4759
|
}
|
|
4422
4760
|
}
|
|
@@ -4448,6 +4786,7 @@ class DescribeGlobalDatabaseNetworksRequest extends $tea.Model {
|
|
|
4448
4786
|
static names() {
|
|
4449
4787
|
return {
|
|
4450
4788
|
DBClusterId: 'DBClusterId',
|
|
4789
|
+
filterRegion: 'FilterRegion',
|
|
4451
4790
|
GDNDescription: 'GDNDescription',
|
|
4452
4791
|
GDNId: 'GDNId',
|
|
4453
4792
|
ownerAccount: 'OwnerAccount',
|
|
@@ -4463,6 +4802,7 @@ class DescribeGlobalDatabaseNetworksRequest extends $tea.Model {
|
|
|
4463
4802
|
static types() {
|
|
4464
4803
|
return {
|
|
4465
4804
|
DBClusterId: 'string',
|
|
4805
|
+
filterRegion: 'string',
|
|
4466
4806
|
GDNDescription: 'string',
|
|
4467
4807
|
GDNId: 'string',
|
|
4468
4808
|
ownerAccount: 'string',
|
|
@@ -5615,59 +5955,73 @@ class DescribeSlowLogsResponse extends $tea.Model {
|
|
|
5615
5955
|
}
|
|
5616
5956
|
}
|
|
5617
5957
|
exports.DescribeSlowLogsResponse = DescribeSlowLogsResponse;
|
|
5618
|
-
class
|
|
5958
|
+
class DescribeTasksRequest extends $tea.Model {
|
|
5619
5959
|
constructor(map) {
|
|
5620
5960
|
super(map);
|
|
5621
5961
|
}
|
|
5622
5962
|
static names() {
|
|
5623
5963
|
return {
|
|
5964
|
+
DBClusterId: 'DBClusterId',
|
|
5965
|
+
DBNodeId: 'DBNodeId',
|
|
5966
|
+
endTime: 'EndTime',
|
|
5624
5967
|
ownerAccount: 'OwnerAccount',
|
|
5625
5968
|
ownerId: 'OwnerId',
|
|
5626
5969
|
pageNumber: 'PageNumber',
|
|
5627
5970
|
pageSize: 'PageSize',
|
|
5628
|
-
resourceGroupId: 'ResourceGroupId',
|
|
5629
5971
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
5630
5972
|
resourceOwnerId: 'ResourceOwnerId',
|
|
5973
|
+
startTime: 'StartTime',
|
|
5974
|
+
status: 'Status',
|
|
5631
5975
|
};
|
|
5632
5976
|
}
|
|
5633
5977
|
static types() {
|
|
5634
5978
|
return {
|
|
5979
|
+
DBClusterId: 'string',
|
|
5980
|
+
DBNodeId: 'string',
|
|
5981
|
+
endTime: 'string',
|
|
5635
5982
|
ownerAccount: 'string',
|
|
5636
5983
|
ownerId: 'number',
|
|
5637
5984
|
pageNumber: 'number',
|
|
5638
5985
|
pageSize: 'number',
|
|
5639
|
-
resourceGroupId: 'string',
|
|
5640
5986
|
resourceOwnerAccount: 'string',
|
|
5641
5987
|
resourceOwnerId: 'number',
|
|
5988
|
+
startTime: 'string',
|
|
5989
|
+
status: 'string',
|
|
5642
5990
|
};
|
|
5643
5991
|
}
|
|
5644
5992
|
}
|
|
5645
|
-
exports.
|
|
5646
|
-
class
|
|
5993
|
+
exports.DescribeTasksRequest = DescribeTasksRequest;
|
|
5994
|
+
class DescribeTasksResponseBody extends $tea.Model {
|
|
5647
5995
|
constructor(map) {
|
|
5648
5996
|
super(map);
|
|
5649
5997
|
}
|
|
5650
5998
|
static names() {
|
|
5651
5999
|
return {
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
6000
|
+
DBClusterId: 'DBClusterId',
|
|
6001
|
+
endTime: 'EndTime',
|
|
6002
|
+
pageNumber: 'PageNumber',
|
|
6003
|
+
pageRecordCount: 'PageRecordCount',
|
|
5655
6004
|
requestId: 'RequestId',
|
|
6005
|
+
startTime: 'StartTime',
|
|
6006
|
+
tasks: 'Tasks',
|
|
5656
6007
|
totalRecordCount: 'TotalRecordCount',
|
|
5657
6008
|
};
|
|
5658
6009
|
}
|
|
5659
6010
|
static types() {
|
|
5660
6011
|
return {
|
|
5661
|
-
|
|
6012
|
+
DBClusterId: 'string',
|
|
6013
|
+
endTime: 'string',
|
|
5662
6014
|
pageNumber: 'number',
|
|
5663
|
-
|
|
6015
|
+
pageRecordCount: 'number',
|
|
5664
6016
|
requestId: 'string',
|
|
6017
|
+
startTime: 'string',
|
|
6018
|
+
tasks: DescribeTasksResponseBodyTasks,
|
|
5665
6019
|
totalRecordCount: 'number',
|
|
5666
6020
|
};
|
|
5667
6021
|
}
|
|
5668
6022
|
}
|
|
5669
|
-
exports.
|
|
5670
|
-
class
|
|
6023
|
+
exports.DescribeTasksResponseBody = DescribeTasksResponseBody;
|
|
6024
|
+
class DescribeTasksResponse extends $tea.Model {
|
|
5671
6025
|
constructor(map) {
|
|
5672
6026
|
super(map);
|
|
5673
6027
|
}
|
|
@@ -5682,78 +6036,142 @@ class DescribeStoragePlanResponse extends $tea.Model {
|
|
|
5682
6036
|
return {
|
|
5683
6037
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5684
6038
|
statusCode: 'number',
|
|
5685
|
-
body:
|
|
6039
|
+
body: DescribeTasksResponseBody,
|
|
5686
6040
|
};
|
|
5687
6041
|
}
|
|
5688
6042
|
}
|
|
5689
|
-
exports.
|
|
5690
|
-
class
|
|
6043
|
+
exports.DescribeTasksResponse = DescribeTasksResponse;
|
|
6044
|
+
class DescribeUserEncryptionKeyListRequest extends $tea.Model {
|
|
5691
6045
|
constructor(map) {
|
|
5692
6046
|
super(map);
|
|
5693
6047
|
}
|
|
5694
6048
|
static names() {
|
|
5695
6049
|
return {
|
|
5696
6050
|
DBClusterId: 'DBClusterId',
|
|
5697
|
-
|
|
5698
|
-
|
|
6051
|
+
ownerAccount: 'OwnerAccount',
|
|
6052
|
+
ownerId: 'OwnerId',
|
|
6053
|
+
regionId: 'RegionId',
|
|
6054
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
6055
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
6056
|
+
TDERegion: 'TDERegion',
|
|
6057
|
+
};
|
|
6058
|
+
}
|
|
6059
|
+
static types() {
|
|
6060
|
+
return {
|
|
6061
|
+
DBClusterId: 'string',
|
|
6062
|
+
ownerAccount: 'string',
|
|
6063
|
+
ownerId: 'number',
|
|
6064
|
+
regionId: 'string',
|
|
6065
|
+
resourceOwnerAccount: 'string',
|
|
6066
|
+
resourceOwnerId: 'number',
|
|
6067
|
+
TDERegion: 'string',
|
|
6068
|
+
};
|
|
6069
|
+
}
|
|
6070
|
+
}
|
|
6071
|
+
exports.DescribeUserEncryptionKeyListRequest = DescribeUserEncryptionKeyListRequest;
|
|
6072
|
+
class DescribeUserEncryptionKeyListResponseBody extends $tea.Model {
|
|
6073
|
+
constructor(map) {
|
|
6074
|
+
super(map);
|
|
6075
|
+
}
|
|
6076
|
+
static names() {
|
|
6077
|
+
return {
|
|
6078
|
+
DBClusterId: 'DBClusterId',
|
|
6079
|
+
keyList: 'KeyList',
|
|
6080
|
+
requestId: 'RequestId',
|
|
6081
|
+
};
|
|
6082
|
+
}
|
|
6083
|
+
static types() {
|
|
6084
|
+
return {
|
|
6085
|
+
DBClusterId: 'string',
|
|
6086
|
+
keyList: { 'type': 'array', 'itemType': 'string' },
|
|
6087
|
+
requestId: 'string',
|
|
6088
|
+
};
|
|
6089
|
+
}
|
|
6090
|
+
}
|
|
6091
|
+
exports.DescribeUserEncryptionKeyListResponseBody = DescribeUserEncryptionKeyListResponseBody;
|
|
6092
|
+
class DescribeUserEncryptionKeyListResponse extends $tea.Model {
|
|
6093
|
+
constructor(map) {
|
|
6094
|
+
super(map);
|
|
6095
|
+
}
|
|
6096
|
+
static names() {
|
|
6097
|
+
return {
|
|
6098
|
+
headers: 'headers',
|
|
6099
|
+
statusCode: 'statusCode',
|
|
6100
|
+
body: 'body',
|
|
6101
|
+
};
|
|
6102
|
+
}
|
|
6103
|
+
static types() {
|
|
6104
|
+
return {
|
|
6105
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6106
|
+
statusCode: 'number',
|
|
6107
|
+
body: DescribeUserEncryptionKeyListResponseBody,
|
|
6108
|
+
};
|
|
6109
|
+
}
|
|
6110
|
+
}
|
|
6111
|
+
exports.DescribeUserEncryptionKeyListResponse = DescribeUserEncryptionKeyListResponse;
|
|
6112
|
+
class DescribeVSwitchesRequest extends $tea.Model {
|
|
6113
|
+
constructor(map) {
|
|
6114
|
+
super(map);
|
|
6115
|
+
}
|
|
6116
|
+
static names() {
|
|
6117
|
+
return {
|
|
6118
|
+
dedicatedHostGroupId: 'DedicatedHostGroupId',
|
|
5699
6119
|
ownerAccount: 'OwnerAccount',
|
|
5700
6120
|
ownerId: 'OwnerId',
|
|
5701
6121
|
pageNumber: 'PageNumber',
|
|
5702
6122
|
pageSize: 'PageSize',
|
|
6123
|
+
regionId: 'RegionId',
|
|
6124
|
+
resourceGroupId: 'ResourceGroupId',
|
|
5703
6125
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
5704
6126
|
resourceOwnerId: 'ResourceOwnerId',
|
|
5705
|
-
|
|
5706
|
-
|
|
6127
|
+
securityToken: 'SecurityToken',
|
|
6128
|
+
vpcId: 'VpcId',
|
|
6129
|
+
zoneId: 'ZoneId',
|
|
5707
6130
|
};
|
|
5708
6131
|
}
|
|
5709
6132
|
static types() {
|
|
5710
6133
|
return {
|
|
5711
|
-
|
|
5712
|
-
DBNodeId: 'string',
|
|
5713
|
-
endTime: 'string',
|
|
6134
|
+
dedicatedHostGroupId: 'string',
|
|
5714
6135
|
ownerAccount: 'string',
|
|
5715
6136
|
ownerId: 'number',
|
|
5716
6137
|
pageNumber: 'number',
|
|
5717
6138
|
pageSize: 'number',
|
|
6139
|
+
regionId: 'string',
|
|
6140
|
+
resourceGroupId: 'string',
|
|
5718
6141
|
resourceOwnerAccount: 'string',
|
|
5719
6142
|
resourceOwnerId: 'number',
|
|
5720
|
-
|
|
5721
|
-
|
|
6143
|
+
securityToken: 'string',
|
|
6144
|
+
vpcId: 'string',
|
|
6145
|
+
zoneId: 'string',
|
|
5722
6146
|
};
|
|
5723
6147
|
}
|
|
5724
6148
|
}
|
|
5725
|
-
exports.
|
|
5726
|
-
class
|
|
6149
|
+
exports.DescribeVSwitchesRequest = DescribeVSwitchesRequest;
|
|
6150
|
+
class DescribeVSwitchesResponseBody extends $tea.Model {
|
|
5727
6151
|
constructor(map) {
|
|
5728
6152
|
super(map);
|
|
5729
6153
|
}
|
|
5730
6154
|
static names() {
|
|
5731
6155
|
return {
|
|
5732
|
-
DBClusterId: 'DBClusterId',
|
|
5733
|
-
endTime: 'EndTime',
|
|
5734
6156
|
pageNumber: 'PageNumber',
|
|
5735
|
-
|
|
6157
|
+
pageSize: 'PageSize',
|
|
5736
6158
|
requestId: 'RequestId',
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
totalRecordCount: 'TotalRecordCount',
|
|
6159
|
+
totalCount: 'TotalCount',
|
|
6160
|
+
vSwitchs: 'VSwitchs',
|
|
5740
6161
|
};
|
|
5741
6162
|
}
|
|
5742
6163
|
static types() {
|
|
5743
6164
|
return {
|
|
5744
|
-
DBClusterId: 'string',
|
|
5745
|
-
endTime: 'string',
|
|
5746
6165
|
pageNumber: 'number',
|
|
5747
|
-
|
|
6166
|
+
pageSize: 'number',
|
|
5748
6167
|
requestId: 'string',
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
totalRecordCount: 'number',
|
|
6168
|
+
totalCount: 'number',
|
|
6169
|
+
vSwitchs: { 'type': 'array', 'itemType': DescribeVSwitchesResponseBodyVSwitchs },
|
|
5752
6170
|
};
|
|
5753
6171
|
}
|
|
5754
6172
|
}
|
|
5755
|
-
exports.
|
|
5756
|
-
class
|
|
6173
|
+
exports.DescribeVSwitchesResponseBody = DescribeVSwitchesResponseBody;
|
|
6174
|
+
class DescribeVSwitchesResponse extends $tea.Model {
|
|
5757
6175
|
constructor(map) {
|
|
5758
6176
|
super(map);
|
|
5759
6177
|
}
|
|
@@ -5768,11 +6186,11 @@ class DescribeTasksResponse extends $tea.Model {
|
|
|
5768
6186
|
return {
|
|
5769
6187
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5770
6188
|
statusCode: 'number',
|
|
5771
|
-
body:
|
|
6189
|
+
body: DescribeVSwitchesResponseBody,
|
|
5772
6190
|
};
|
|
5773
6191
|
}
|
|
5774
6192
|
}
|
|
5775
|
-
exports.
|
|
6193
|
+
exports.DescribeVSwitchesResponse = DescribeVSwitchesResponse;
|
|
5776
6194
|
class EnableFirewallRulesRequest extends $tea.Model {
|
|
5777
6195
|
constructor(map) {
|
|
5778
6196
|
super(map);
|
|
@@ -6127,6 +6545,68 @@ class ListTagResourcesResponse extends $tea.Model {
|
|
|
6127
6545
|
}
|
|
6128
6546
|
}
|
|
6129
6547
|
exports.ListTagResourcesResponse = ListTagResourcesResponse;
|
|
6548
|
+
class ManuallyStartDBClusterRequest extends $tea.Model {
|
|
6549
|
+
constructor(map) {
|
|
6550
|
+
super(map);
|
|
6551
|
+
}
|
|
6552
|
+
static names() {
|
|
6553
|
+
return {
|
|
6554
|
+
DBClusterId: 'DBClusterId',
|
|
6555
|
+
ownerAccount: 'OwnerAccount',
|
|
6556
|
+
ownerId: 'OwnerId',
|
|
6557
|
+
regionId: 'RegionId',
|
|
6558
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
6559
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
6560
|
+
};
|
|
6561
|
+
}
|
|
6562
|
+
static types() {
|
|
6563
|
+
return {
|
|
6564
|
+
DBClusterId: 'string',
|
|
6565
|
+
ownerAccount: 'string',
|
|
6566
|
+
ownerId: 'number',
|
|
6567
|
+
regionId: 'string',
|
|
6568
|
+
resourceOwnerAccount: 'string',
|
|
6569
|
+
resourceOwnerId: 'number',
|
|
6570
|
+
};
|
|
6571
|
+
}
|
|
6572
|
+
}
|
|
6573
|
+
exports.ManuallyStartDBClusterRequest = ManuallyStartDBClusterRequest;
|
|
6574
|
+
class ManuallyStartDBClusterResponseBody extends $tea.Model {
|
|
6575
|
+
constructor(map) {
|
|
6576
|
+
super(map);
|
|
6577
|
+
}
|
|
6578
|
+
static names() {
|
|
6579
|
+
return {
|
|
6580
|
+
requestId: 'RequestId',
|
|
6581
|
+
};
|
|
6582
|
+
}
|
|
6583
|
+
static types() {
|
|
6584
|
+
return {
|
|
6585
|
+
requestId: 'string',
|
|
6586
|
+
};
|
|
6587
|
+
}
|
|
6588
|
+
}
|
|
6589
|
+
exports.ManuallyStartDBClusterResponseBody = ManuallyStartDBClusterResponseBody;
|
|
6590
|
+
class ManuallyStartDBClusterResponse extends $tea.Model {
|
|
6591
|
+
constructor(map) {
|
|
6592
|
+
super(map);
|
|
6593
|
+
}
|
|
6594
|
+
static names() {
|
|
6595
|
+
return {
|
|
6596
|
+
headers: 'headers',
|
|
6597
|
+
statusCode: 'statusCode',
|
|
6598
|
+
body: 'body',
|
|
6599
|
+
};
|
|
6600
|
+
}
|
|
6601
|
+
static types() {
|
|
6602
|
+
return {
|
|
6603
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6604
|
+
statusCode: 'number',
|
|
6605
|
+
body: ManuallyStartDBClusterResponseBody,
|
|
6606
|
+
};
|
|
6607
|
+
}
|
|
6608
|
+
}
|
|
6609
|
+
exports.ManuallyStartDBClusterResponse = ManuallyStartDBClusterResponse;
|
|
6130
6610
|
class ModifyAccountDescriptionRequest extends $tea.Model {
|
|
6131
6611
|
constructor(map) {
|
|
6132
6612
|
super(map);
|
|
@@ -6409,6 +6889,80 @@ class ModifyBackupPolicyResponse extends $tea.Model {
|
|
|
6409
6889
|
}
|
|
6410
6890
|
}
|
|
6411
6891
|
exports.ModifyBackupPolicyResponse = ModifyBackupPolicyResponse;
|
|
6892
|
+
class ModifyDBClusterRequest extends $tea.Model {
|
|
6893
|
+
constructor(map) {
|
|
6894
|
+
super(map);
|
|
6895
|
+
}
|
|
6896
|
+
static names() {
|
|
6897
|
+
return {
|
|
6898
|
+
DBClusterId: 'DBClusterId',
|
|
6899
|
+
dataSyncMode: 'DataSyncMode',
|
|
6900
|
+
faultSimulateMode: 'FaultSimulateMode',
|
|
6901
|
+
ownerAccount: 'OwnerAccount',
|
|
6902
|
+
ownerId: 'OwnerId',
|
|
6903
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
6904
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
6905
|
+
standbyHAMode: 'StandbyHAMode',
|
|
6906
|
+
storageAutoScale: 'StorageAutoScale',
|
|
6907
|
+
storageUpperBound: 'StorageUpperBound',
|
|
6908
|
+
};
|
|
6909
|
+
}
|
|
6910
|
+
static types() {
|
|
6911
|
+
return {
|
|
6912
|
+
DBClusterId: 'string',
|
|
6913
|
+
dataSyncMode: 'string',
|
|
6914
|
+
faultSimulateMode: 'string',
|
|
6915
|
+
ownerAccount: 'string',
|
|
6916
|
+
ownerId: 'number',
|
|
6917
|
+
resourceOwnerAccount: 'string',
|
|
6918
|
+
resourceOwnerId: 'number',
|
|
6919
|
+
standbyHAMode: 'string',
|
|
6920
|
+
storageAutoScale: 'string',
|
|
6921
|
+
storageUpperBound: 'number',
|
|
6922
|
+
};
|
|
6923
|
+
}
|
|
6924
|
+
}
|
|
6925
|
+
exports.ModifyDBClusterRequest = ModifyDBClusterRequest;
|
|
6926
|
+
class ModifyDBClusterResponseBody extends $tea.Model {
|
|
6927
|
+
constructor(map) {
|
|
6928
|
+
super(map);
|
|
6929
|
+
}
|
|
6930
|
+
static names() {
|
|
6931
|
+
return {
|
|
6932
|
+
DBClusterId: 'DBClusterId',
|
|
6933
|
+
orderId: 'OrderId',
|
|
6934
|
+
requestId: 'RequestId',
|
|
6935
|
+
};
|
|
6936
|
+
}
|
|
6937
|
+
static types() {
|
|
6938
|
+
return {
|
|
6939
|
+
DBClusterId: 'string',
|
|
6940
|
+
orderId: 'string',
|
|
6941
|
+
requestId: 'string',
|
|
6942
|
+
};
|
|
6943
|
+
}
|
|
6944
|
+
}
|
|
6945
|
+
exports.ModifyDBClusterResponseBody = ModifyDBClusterResponseBody;
|
|
6946
|
+
class ModifyDBClusterResponse extends $tea.Model {
|
|
6947
|
+
constructor(map) {
|
|
6948
|
+
super(map);
|
|
6949
|
+
}
|
|
6950
|
+
static names() {
|
|
6951
|
+
return {
|
|
6952
|
+
headers: 'headers',
|
|
6953
|
+
statusCode: 'statusCode',
|
|
6954
|
+
body: 'body',
|
|
6955
|
+
};
|
|
6956
|
+
}
|
|
6957
|
+
static types() {
|
|
6958
|
+
return {
|
|
6959
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6960
|
+
statusCode: 'number',
|
|
6961
|
+
body: ModifyDBClusterResponseBody,
|
|
6962
|
+
};
|
|
6963
|
+
}
|
|
6964
|
+
}
|
|
6965
|
+
exports.ModifyDBClusterResponse = ModifyDBClusterResponse;
|
|
6412
6966
|
class ModifyDBClusterAccessWhitelistRequest extends $tea.Model {
|
|
6413
6967
|
constructor(map) {
|
|
6414
6968
|
super(map);
|
|
@@ -7083,12 +7637,14 @@ class ModifyDBClusterPrimaryZoneRequest extends $tea.Model {
|
|
|
7083
7637
|
return {
|
|
7084
7638
|
DBClusterId: 'DBClusterId',
|
|
7085
7639
|
fromTimeService: 'FromTimeService',
|
|
7640
|
+
isSwitchOverForDisaster: 'IsSwitchOverForDisaster',
|
|
7086
7641
|
ownerAccount: 'OwnerAccount',
|
|
7087
7642
|
ownerId: 'OwnerId',
|
|
7088
7643
|
plannedEndTime: 'PlannedEndTime',
|
|
7089
7644
|
plannedStartTime: 'PlannedStartTime',
|
|
7090
7645
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
7091
7646
|
resourceOwnerId: 'ResourceOwnerId',
|
|
7647
|
+
VPCId: 'VPCId',
|
|
7092
7648
|
vSwitchId: 'VSwitchId',
|
|
7093
7649
|
zoneId: 'ZoneId',
|
|
7094
7650
|
};
|
|
@@ -7097,12 +7653,14 @@ class ModifyDBClusterPrimaryZoneRequest extends $tea.Model {
|
|
|
7097
7653
|
return {
|
|
7098
7654
|
DBClusterId: 'string',
|
|
7099
7655
|
fromTimeService: 'boolean',
|
|
7656
|
+
isSwitchOverForDisaster: 'string',
|
|
7100
7657
|
ownerAccount: 'string',
|
|
7101
7658
|
ownerId: 'number',
|
|
7102
7659
|
plannedEndTime: 'string',
|
|
7103
7660
|
plannedStartTime: 'string',
|
|
7104
7661
|
resourceOwnerAccount: 'string',
|
|
7105
7662
|
resourceOwnerId: 'number',
|
|
7663
|
+
VPCId: 'string',
|
|
7106
7664
|
vSwitchId: 'string',
|
|
7107
7665
|
zoneId: 'string',
|
|
7108
7666
|
};
|
|
@@ -7351,6 +7909,80 @@ class ModifyDBClusterServerlessConfResponse extends $tea.Model {
|
|
|
7351
7909
|
}
|
|
7352
7910
|
}
|
|
7353
7911
|
exports.ModifyDBClusterServerlessConfResponse = ModifyDBClusterServerlessConfResponse;
|
|
7912
|
+
class ModifyDBClusterStorageSpaceRequest extends $tea.Model {
|
|
7913
|
+
constructor(map) {
|
|
7914
|
+
super(map);
|
|
7915
|
+
}
|
|
7916
|
+
static names() {
|
|
7917
|
+
return {
|
|
7918
|
+
clientToken: 'ClientToken',
|
|
7919
|
+
DBClusterId: 'DBClusterId',
|
|
7920
|
+
ownerAccount: 'OwnerAccount',
|
|
7921
|
+
ownerId: 'OwnerId',
|
|
7922
|
+
plannedEndTime: 'PlannedEndTime',
|
|
7923
|
+
plannedStartTime: 'PlannedStartTime',
|
|
7924
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
7925
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
7926
|
+
storageSpace: 'StorageSpace',
|
|
7927
|
+
subCategory: 'SubCategory',
|
|
7928
|
+
};
|
|
7929
|
+
}
|
|
7930
|
+
static types() {
|
|
7931
|
+
return {
|
|
7932
|
+
clientToken: 'string',
|
|
7933
|
+
DBClusterId: 'string',
|
|
7934
|
+
ownerAccount: 'string',
|
|
7935
|
+
ownerId: 'number',
|
|
7936
|
+
plannedEndTime: 'string',
|
|
7937
|
+
plannedStartTime: 'string',
|
|
7938
|
+
resourceOwnerAccount: 'string',
|
|
7939
|
+
resourceOwnerId: 'number',
|
|
7940
|
+
storageSpace: 'number',
|
|
7941
|
+
subCategory: 'string',
|
|
7942
|
+
};
|
|
7943
|
+
}
|
|
7944
|
+
}
|
|
7945
|
+
exports.ModifyDBClusterStorageSpaceRequest = ModifyDBClusterStorageSpaceRequest;
|
|
7946
|
+
class ModifyDBClusterStorageSpaceResponseBody extends $tea.Model {
|
|
7947
|
+
constructor(map) {
|
|
7948
|
+
super(map);
|
|
7949
|
+
}
|
|
7950
|
+
static names() {
|
|
7951
|
+
return {
|
|
7952
|
+
DBClusterId: 'DBClusterId',
|
|
7953
|
+
orderId: 'OrderId',
|
|
7954
|
+
requestId: 'RequestId',
|
|
7955
|
+
};
|
|
7956
|
+
}
|
|
7957
|
+
static types() {
|
|
7958
|
+
return {
|
|
7959
|
+
DBClusterId: 'string',
|
|
7960
|
+
orderId: 'string',
|
|
7961
|
+
requestId: 'string',
|
|
7962
|
+
};
|
|
7963
|
+
}
|
|
7964
|
+
}
|
|
7965
|
+
exports.ModifyDBClusterStorageSpaceResponseBody = ModifyDBClusterStorageSpaceResponseBody;
|
|
7966
|
+
class ModifyDBClusterStorageSpaceResponse extends $tea.Model {
|
|
7967
|
+
constructor(map) {
|
|
7968
|
+
super(map);
|
|
7969
|
+
}
|
|
7970
|
+
static names() {
|
|
7971
|
+
return {
|
|
7972
|
+
headers: 'headers',
|
|
7973
|
+
statusCode: 'statusCode',
|
|
7974
|
+
body: 'body',
|
|
7975
|
+
};
|
|
7976
|
+
}
|
|
7977
|
+
static types() {
|
|
7978
|
+
return {
|
|
7979
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7980
|
+
statusCode: 'number',
|
|
7981
|
+
body: ModifyDBClusterStorageSpaceResponseBody,
|
|
7982
|
+
};
|
|
7983
|
+
}
|
|
7984
|
+
}
|
|
7985
|
+
exports.ModifyDBClusterStorageSpaceResponse = ModifyDBClusterStorageSpaceResponse;
|
|
7354
7986
|
class ModifyDBClusterTDERequest extends $tea.Model {
|
|
7355
7987
|
constructor(map) {
|
|
7356
7988
|
super(map);
|
|
@@ -7631,6 +8263,74 @@ class ModifyDBNodeClassResponse extends $tea.Model {
|
|
|
7631
8263
|
}
|
|
7632
8264
|
}
|
|
7633
8265
|
exports.ModifyDBNodeClassResponse = ModifyDBNodeClassResponse;
|
|
8266
|
+
class ModifyDBNodeHotReplicaModeRequest extends $tea.Model {
|
|
8267
|
+
constructor(map) {
|
|
8268
|
+
super(map);
|
|
8269
|
+
}
|
|
8270
|
+
static names() {
|
|
8271
|
+
return {
|
|
8272
|
+
DBClusterId: 'DBClusterId',
|
|
8273
|
+
DBNodeId: 'DBNodeId',
|
|
8274
|
+
hotReplicaMode: 'HotReplicaMode',
|
|
8275
|
+
ownerAccount: 'OwnerAccount',
|
|
8276
|
+
ownerId: 'OwnerId',
|
|
8277
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
8278
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
8279
|
+
};
|
|
8280
|
+
}
|
|
8281
|
+
static types() {
|
|
8282
|
+
return {
|
|
8283
|
+
DBClusterId: 'string',
|
|
8284
|
+
DBNodeId: 'string',
|
|
8285
|
+
hotReplicaMode: 'string',
|
|
8286
|
+
ownerAccount: 'string',
|
|
8287
|
+
ownerId: 'number',
|
|
8288
|
+
resourceOwnerAccount: 'string',
|
|
8289
|
+
resourceOwnerId: 'number',
|
|
8290
|
+
};
|
|
8291
|
+
}
|
|
8292
|
+
}
|
|
8293
|
+
exports.ModifyDBNodeHotReplicaModeRequest = ModifyDBNodeHotReplicaModeRequest;
|
|
8294
|
+
class ModifyDBNodeHotReplicaModeResponseBody extends $tea.Model {
|
|
8295
|
+
constructor(map) {
|
|
8296
|
+
super(map);
|
|
8297
|
+
}
|
|
8298
|
+
static names() {
|
|
8299
|
+
return {
|
|
8300
|
+
DBClusterId: 'DBClusterId',
|
|
8301
|
+
orderId: 'OrderId',
|
|
8302
|
+
requestId: 'RequestId',
|
|
8303
|
+
};
|
|
8304
|
+
}
|
|
8305
|
+
static types() {
|
|
8306
|
+
return {
|
|
8307
|
+
DBClusterId: 'string',
|
|
8308
|
+
orderId: 'string',
|
|
8309
|
+
requestId: 'string',
|
|
8310
|
+
};
|
|
8311
|
+
}
|
|
8312
|
+
}
|
|
8313
|
+
exports.ModifyDBNodeHotReplicaModeResponseBody = ModifyDBNodeHotReplicaModeResponseBody;
|
|
8314
|
+
class ModifyDBNodeHotReplicaModeResponse extends $tea.Model {
|
|
8315
|
+
constructor(map) {
|
|
8316
|
+
super(map);
|
|
8317
|
+
}
|
|
8318
|
+
static names() {
|
|
8319
|
+
return {
|
|
8320
|
+
headers: 'headers',
|
|
8321
|
+
statusCode: 'statusCode',
|
|
8322
|
+
body: 'body',
|
|
8323
|
+
};
|
|
8324
|
+
}
|
|
8325
|
+
static types() {
|
|
8326
|
+
return {
|
|
8327
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8328
|
+
statusCode: 'number',
|
|
8329
|
+
body: ModifyDBNodeHotReplicaModeResponseBody,
|
|
8330
|
+
};
|
|
8331
|
+
}
|
|
8332
|
+
}
|
|
8333
|
+
exports.ModifyDBNodeHotReplicaModeResponse = ModifyDBNodeHotReplicaModeResponse;
|
|
7634
8334
|
class ModifyDBNodesClassRequest extends $tea.Model {
|
|
7635
8335
|
constructor(map) {
|
|
7636
8336
|
super(map);
|
|
@@ -8266,6 +8966,8 @@ class OpenAITaskRequest extends $tea.Model {
|
|
|
8266
8966
|
static names() {
|
|
8267
8967
|
return {
|
|
8268
8968
|
DBClusterId: 'DBClusterId',
|
|
8969
|
+
describeType: 'DescribeType',
|
|
8970
|
+
nodeType: 'NodeType',
|
|
8269
8971
|
ownerAccount: 'OwnerAccount',
|
|
8270
8972
|
ownerId: 'OwnerId',
|
|
8271
8973
|
password: 'Password',
|
|
@@ -8279,6 +8981,8 @@ class OpenAITaskRequest extends $tea.Model {
|
|
|
8279
8981
|
static types() {
|
|
8280
8982
|
return {
|
|
8281
8983
|
DBClusterId: 'string',
|
|
8984
|
+
describeType: 'string',
|
|
8985
|
+
nodeType: 'string',
|
|
8282
8986
|
ownerAccount: 'string',
|
|
8283
8987
|
ownerId: 'number',
|
|
8284
8988
|
password: 'string',
|
|
@@ -8517,6 +9221,72 @@ class ResetAccountResponse extends $tea.Model {
|
|
|
8517
9221
|
}
|
|
8518
9222
|
}
|
|
8519
9223
|
exports.ResetAccountResponse = ResetAccountResponse;
|
|
9224
|
+
class ResetGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
9225
|
+
constructor(map) {
|
|
9226
|
+
super(map);
|
|
9227
|
+
}
|
|
9228
|
+
static names() {
|
|
9229
|
+
return {
|
|
9230
|
+
DBClusterId: 'DBClusterId',
|
|
9231
|
+
GDNId: 'GDNId',
|
|
9232
|
+
ownerAccount: 'OwnerAccount',
|
|
9233
|
+
ownerId: 'OwnerId',
|
|
9234
|
+
regionId: 'RegionId',
|
|
9235
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
9236
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
9237
|
+
securityToken: 'SecurityToken',
|
|
9238
|
+
};
|
|
9239
|
+
}
|
|
9240
|
+
static types() {
|
|
9241
|
+
return {
|
|
9242
|
+
DBClusterId: 'string',
|
|
9243
|
+
GDNId: 'string',
|
|
9244
|
+
ownerAccount: 'string',
|
|
9245
|
+
ownerId: 'number',
|
|
9246
|
+
regionId: 'string',
|
|
9247
|
+
resourceOwnerAccount: 'string',
|
|
9248
|
+
resourceOwnerId: 'number',
|
|
9249
|
+
securityToken: 'string',
|
|
9250
|
+
};
|
|
9251
|
+
}
|
|
9252
|
+
}
|
|
9253
|
+
exports.ResetGlobalDatabaseNetworkRequest = ResetGlobalDatabaseNetworkRequest;
|
|
9254
|
+
class ResetGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
9255
|
+
constructor(map) {
|
|
9256
|
+
super(map);
|
|
9257
|
+
}
|
|
9258
|
+
static names() {
|
|
9259
|
+
return {
|
|
9260
|
+
requestId: 'RequestId',
|
|
9261
|
+
};
|
|
9262
|
+
}
|
|
9263
|
+
static types() {
|
|
9264
|
+
return {
|
|
9265
|
+
requestId: 'string',
|
|
9266
|
+
};
|
|
9267
|
+
}
|
|
9268
|
+
}
|
|
9269
|
+
exports.ResetGlobalDatabaseNetworkResponseBody = ResetGlobalDatabaseNetworkResponseBody;
|
|
9270
|
+
class ResetGlobalDatabaseNetworkResponse extends $tea.Model {
|
|
9271
|
+
constructor(map) {
|
|
9272
|
+
super(map);
|
|
9273
|
+
}
|
|
9274
|
+
static names() {
|
|
9275
|
+
return {
|
|
9276
|
+
headers: 'headers',
|
|
9277
|
+
statusCode: 'statusCode',
|
|
9278
|
+
body: 'body',
|
|
9279
|
+
};
|
|
9280
|
+
}
|
|
9281
|
+
static types() {
|
|
9282
|
+
return {
|
|
9283
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9284
|
+
statusCode: 'number',
|
|
9285
|
+
body: ResetGlobalDatabaseNetworkResponseBody,
|
|
9286
|
+
};
|
|
9287
|
+
}
|
|
9288
|
+
}
|
|
9289
|
+
exports.ResetGlobalDatabaseNetworkResponse = ResetGlobalDatabaseNetworkResponse;
|
|
8520
9290
|
class RestartDBNodeRequest extends $tea.Model {
|
|
8521
9291
|
constructor(map) {
|
|
8522
9292
|
super(map);
|
|
@@ -9149,6 +9919,7 @@ class UpgradeDBClusterVersionRequest extends $tea.Model {
|
|
|
9149
9919
|
plannedStartTime: 'PlannedStartTime',
|
|
9150
9920
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
9151
9921
|
resourceOwnerId: 'ResourceOwnerId',
|
|
9922
|
+
targetDBRevisionVersionCode: 'TargetDBRevisionVersionCode',
|
|
9152
9923
|
upgradeLabel: 'UpgradeLabel',
|
|
9153
9924
|
upgradePolicy: 'UpgradePolicy',
|
|
9154
9925
|
upgradeType: 'UpgradeType',
|
|
@@ -9164,6 +9935,7 @@ class UpgradeDBClusterVersionRequest extends $tea.Model {
|
|
|
9164
9935
|
plannedStartTime: 'string',
|
|
9165
9936
|
resourceOwnerAccount: 'string',
|
|
9166
9937
|
resourceOwnerId: 'number',
|
|
9938
|
+
targetDBRevisionVersionCode: 'string',
|
|
9167
9939
|
upgradeLabel: 'string',
|
|
9168
9940
|
upgradePolicy: 'string',
|
|
9169
9941
|
upgradeType: 'string',
|
|
@@ -9225,6 +9997,24 @@ class CreateDBClusterRequestTag extends $tea.Model {
|
|
|
9225
9997
|
}
|
|
9226
9998
|
}
|
|
9227
9999
|
exports.CreateDBClusterRequestTag = CreateDBClusterRequestTag;
|
|
10000
|
+
class CreateDBEndpointAddressRequestZoneInfo extends $tea.Model {
|
|
10001
|
+
constructor(map) {
|
|
10002
|
+
super(map);
|
|
10003
|
+
}
|
|
10004
|
+
static names() {
|
|
10005
|
+
return {
|
|
10006
|
+
vSwitchId: 'VSwitchId',
|
|
10007
|
+
zoneId: 'ZoneId',
|
|
10008
|
+
};
|
|
10009
|
+
}
|
|
10010
|
+
static types() {
|
|
10011
|
+
return {
|
|
10012
|
+
vSwitchId: 'string',
|
|
10013
|
+
zoneId: 'string',
|
|
10014
|
+
};
|
|
10015
|
+
}
|
|
10016
|
+
}
|
|
10017
|
+
exports.CreateDBEndpointAddressRequestZoneInfo = CreateDBEndpointAddressRequestZoneInfo;
|
|
9228
10018
|
class CreateDBNodesRequestDBNode extends $tea.Model {
|
|
9229
10019
|
constructor(map) {
|
|
9230
10020
|
super(map);
|
|
@@ -9500,6 +10290,8 @@ class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
|
|
|
9500
10290
|
backupsLevel: 'BackupsLevel',
|
|
9501
10291
|
consistentTime: 'ConsistentTime',
|
|
9502
10292
|
DBClusterId: 'DBClusterId',
|
|
10293
|
+
expectExpireTime: 'ExpectExpireTime',
|
|
10294
|
+
expectExpireType: 'ExpectExpireType',
|
|
9503
10295
|
isAvail: 'IsAvail',
|
|
9504
10296
|
};
|
|
9505
10297
|
}
|
|
@@ -9516,6 +10308,8 @@ class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
|
|
|
9516
10308
|
backupsLevel: 'string',
|
|
9517
10309
|
consistentTime: 'string',
|
|
9518
10310
|
DBClusterId: 'string',
|
|
10311
|
+
expectExpireTime: 'string',
|
|
10312
|
+
expectExpireType: 'string',
|
|
9519
10313
|
isAvail: 'string',
|
|
9520
10314
|
};
|
|
9521
10315
|
}
|
|
@@ -9565,7 +10359,14 @@ class DescribeClassListResponseBodyItems extends $tea.Model {
|
|
|
9565
10359
|
cpu: 'Cpu',
|
|
9566
10360
|
maxConnections: 'MaxConnections',
|
|
9567
10361
|
maxIOPS: 'MaxIOPS',
|
|
10362
|
+
maxStorageCapacity: 'MaxStorageCapacity',
|
|
9568
10363
|
memoryClass: 'MemoryClass',
|
|
10364
|
+
pl1MaxIOPS: 'Pl1MaxIOPS',
|
|
10365
|
+
pl2MaxIOPS: 'Pl2MaxIOPS',
|
|
10366
|
+
pl3MaxIOPS: 'Pl3MaxIOPS',
|
|
10367
|
+
psl4MaxIOPS: 'Psl4MaxIOPS',
|
|
10368
|
+
psl5MaxIOPS: 'Psl5MaxIOPS',
|
|
10369
|
+
referenceExtPrice: 'ReferenceExtPrice',
|
|
9569
10370
|
referencePrice: 'ReferencePrice',
|
|
9570
10371
|
};
|
|
9571
10372
|
}
|
|
@@ -9577,7 +10378,14 @@ class DescribeClassListResponseBodyItems extends $tea.Model {
|
|
|
9577
10378
|
cpu: 'string',
|
|
9578
10379
|
maxConnections: 'string',
|
|
9579
10380
|
maxIOPS: 'string',
|
|
10381
|
+
maxStorageCapacity: 'string',
|
|
9580
10382
|
memoryClass: 'string',
|
|
10383
|
+
pl1MaxIOPS: 'string',
|
|
10384
|
+
pl2MaxIOPS: 'string',
|
|
10385
|
+
pl3MaxIOPS: 'string',
|
|
10386
|
+
psl4MaxIOPS: 'string',
|
|
10387
|
+
psl5MaxIOPS: 'string',
|
|
10388
|
+
referenceExtPrice: 'string',
|
|
9581
10389
|
referencePrice: 'string',
|
|
9582
10390
|
};
|
|
9583
10391
|
}
|
|
@@ -9673,6 +10481,7 @@ class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
9673
10481
|
maxIOPS: 'MaxIOPS',
|
|
9674
10482
|
sccMode: 'SccMode',
|
|
9675
10483
|
serverWeight: 'ServerWeight',
|
|
10484
|
+
serverlessType: 'ServerlessType',
|
|
9676
10485
|
zoneId: 'ZoneId',
|
|
9677
10486
|
};
|
|
9678
10487
|
}
|
|
@@ -9692,6 +10501,7 @@ class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
9692
10501
|
maxIOPS: 'number',
|
|
9693
10502
|
sccMode: 'string',
|
|
9694
10503
|
serverWeight: 'string',
|
|
10504
|
+
serverlessType: 'string',
|
|
9695
10505
|
zoneId: 'string',
|
|
9696
10506
|
};
|
|
9697
10507
|
}
|
|
@@ -9931,6 +10741,54 @@ class DescribeDBClusterMigrationResponseBodyRdsEndpointList extends $tea.Model {
|
|
|
9931
10741
|
}
|
|
9932
10742
|
}
|
|
9933
10743
|
exports.DescribeDBClusterMigrationResponseBodyRdsEndpointList = DescribeDBClusterMigrationResponseBodyRdsEndpointList;
|
|
10744
|
+
class DescribeDBClusterParametersResponseBodyParametersParameters extends $tea.Model {
|
|
10745
|
+
constructor(map) {
|
|
10746
|
+
super(map);
|
|
10747
|
+
}
|
|
10748
|
+
static names() {
|
|
10749
|
+
return {
|
|
10750
|
+
isEqual: 'IsEqual',
|
|
10751
|
+
distParameterDescription: 'distParameterDescription',
|
|
10752
|
+
distParameterName: 'distParameterName',
|
|
10753
|
+
distParameterOptional: 'distParameterOptional',
|
|
10754
|
+
distParameterValue: 'distParameterValue',
|
|
10755
|
+
rdsParameterDescription: 'rdsParameterDescription',
|
|
10756
|
+
rdsParameterName: 'rdsParameterName',
|
|
10757
|
+
rdsParameterOptional: 'rdsParameterOptional',
|
|
10758
|
+
rdsParameterValue: 'rdsParameterValue',
|
|
10759
|
+
};
|
|
10760
|
+
}
|
|
10761
|
+
static types() {
|
|
10762
|
+
return {
|
|
10763
|
+
isEqual: 'string',
|
|
10764
|
+
distParameterDescription: 'string',
|
|
10765
|
+
distParameterName: 'string',
|
|
10766
|
+
distParameterOptional: 'string',
|
|
10767
|
+
distParameterValue: 'string',
|
|
10768
|
+
rdsParameterDescription: 'string',
|
|
10769
|
+
rdsParameterName: 'string',
|
|
10770
|
+
rdsParameterOptional: 'string',
|
|
10771
|
+
rdsParameterValue: 'string',
|
|
10772
|
+
};
|
|
10773
|
+
}
|
|
10774
|
+
}
|
|
10775
|
+
exports.DescribeDBClusterParametersResponseBodyParametersParameters = DescribeDBClusterParametersResponseBodyParametersParameters;
|
|
10776
|
+
class DescribeDBClusterParametersResponseBodyParameters extends $tea.Model {
|
|
10777
|
+
constructor(map) {
|
|
10778
|
+
super(map);
|
|
10779
|
+
}
|
|
10780
|
+
static names() {
|
|
10781
|
+
return {
|
|
10782
|
+
parameters: 'Parameters',
|
|
10783
|
+
};
|
|
10784
|
+
}
|
|
10785
|
+
static types() {
|
|
10786
|
+
return {
|
|
10787
|
+
parameters: { 'type': 'array', 'itemType': DescribeDBClusterParametersResponseBodyParametersParameters },
|
|
10788
|
+
};
|
|
10789
|
+
}
|
|
10790
|
+
}
|
|
10791
|
+
exports.DescribeDBClusterParametersResponseBodyParameters = DescribeDBClusterParametersResponseBodyParameters;
|
|
9934
10792
|
class DescribeDBClusterParametersResponseBodyRunningParametersParameter extends $tea.Model {
|
|
9935
10793
|
constructor(map) {
|
|
9936
10794
|
super(map);
|
|
@@ -10079,6 +10937,28 @@ class DescribeDBClusterSSLResponseBodyItems extends $tea.Model {
|
|
|
10079
10937
|
}
|
|
10080
10938
|
}
|
|
10081
10939
|
exports.DescribeDBClusterSSLResponseBodyItems = DescribeDBClusterSSLResponseBodyItems;
|
|
10940
|
+
class DescribeDBClusterVersionResponseBodyDBRevisionVersionList extends $tea.Model {
|
|
10941
|
+
constructor(map) {
|
|
10942
|
+
super(map);
|
|
10943
|
+
}
|
|
10944
|
+
static names() {
|
|
10945
|
+
return {
|
|
10946
|
+
releaseNote: 'ReleaseNote',
|
|
10947
|
+
releaseType: 'ReleaseType',
|
|
10948
|
+
revisionVersionCode: 'RevisionVersionCode',
|
|
10949
|
+
revisionVersionName: 'RevisionVersionName',
|
|
10950
|
+
};
|
|
10951
|
+
}
|
|
10952
|
+
static types() {
|
|
10953
|
+
return {
|
|
10954
|
+
releaseNote: 'string',
|
|
10955
|
+
releaseType: 'string',
|
|
10956
|
+
revisionVersionCode: 'string',
|
|
10957
|
+
revisionVersionName: 'string',
|
|
10958
|
+
};
|
|
10959
|
+
}
|
|
10960
|
+
}
|
|
10961
|
+
exports.DescribeDBClusterVersionResponseBodyDBRevisionVersionList = DescribeDBClusterVersionResponseBodyDBRevisionVersionList;
|
|
10082
10962
|
class DescribeDBClustersRequestTag extends $tea.Model {
|
|
10083
10963
|
constructor(map) {
|
|
10084
10964
|
super(map);
|
|
@@ -10106,7 +10986,10 @@ class DescribeDBClustersResponseBodyItemsDBClusterDBNodesDBNode extends $tea.Mod
|
|
|
10106
10986
|
DBNodeClass: 'DBNodeClass',
|
|
10107
10987
|
DBNodeId: 'DBNodeId',
|
|
10108
10988
|
DBNodeRole: 'DBNodeRole',
|
|
10989
|
+
hotReplicaMode: 'HotReplicaMode',
|
|
10990
|
+
imciSwitch: 'ImciSwitch',
|
|
10109
10991
|
regionId: 'RegionId',
|
|
10992
|
+
serverless: 'Serverless',
|
|
10110
10993
|
zoneId: 'ZoneId',
|
|
10111
10994
|
};
|
|
10112
10995
|
}
|
|
@@ -10115,7 +10998,10 @@ class DescribeDBClustersResponseBodyItemsDBClusterDBNodesDBNode extends $tea.Mod
|
|
|
10115
10998
|
DBNodeClass: 'string',
|
|
10116
10999
|
DBNodeId: 'string',
|
|
10117
11000
|
DBNodeRole: 'string',
|
|
11001
|
+
hotReplicaMode: 'string',
|
|
11002
|
+
imciSwitch: 'string',
|
|
10118
11003
|
regionId: 'string',
|
|
11004
|
+
serverless: 'string',
|
|
10119
11005
|
zoneId: 'string',
|
|
10120
11006
|
};
|
|
10121
11007
|
}
|
|
@@ -10177,6 +11063,7 @@ class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
10177
11063
|
}
|
|
10178
11064
|
static names() {
|
|
10179
11065
|
return {
|
|
11066
|
+
aiType: 'AiType',
|
|
10180
11067
|
category: 'Category',
|
|
10181
11068
|
createTime: 'CreateTime',
|
|
10182
11069
|
DBClusterDescription: 'DBClusterDescription',
|
|
@@ -10200,13 +11087,16 @@ class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
10200
11087
|
storagePayType: 'StoragePayType',
|
|
10201
11088
|
storageSpace: 'StorageSpace',
|
|
10202
11089
|
storageUsed: 'StorageUsed',
|
|
11090
|
+
strictConsistency: 'StrictConsistency',
|
|
10203
11091
|
tags: 'Tags',
|
|
10204
11092
|
vpcId: 'VpcId',
|
|
11093
|
+
vswitchId: 'VswitchId',
|
|
10205
11094
|
zoneId: 'ZoneId',
|
|
10206
11095
|
};
|
|
10207
11096
|
}
|
|
10208
11097
|
static types() {
|
|
10209
11098
|
return {
|
|
11099
|
+
aiType: 'string',
|
|
10210
11100
|
category: 'string',
|
|
10211
11101
|
createTime: 'string',
|
|
10212
11102
|
DBClusterDescription: 'string',
|
|
@@ -10230,8 +11120,10 @@ class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
10230
11120
|
storagePayType: 'string',
|
|
10231
11121
|
storageSpace: 'number',
|
|
10232
11122
|
storageUsed: 'number',
|
|
11123
|
+
strictConsistency: 'string',
|
|
10233
11124
|
tags: DescribeDBClustersResponseBodyItemsDBClusterTags,
|
|
10234
11125
|
vpcId: 'string',
|
|
11126
|
+
vswitchId: 'string',
|
|
10235
11127
|
zoneId: 'string',
|
|
10236
11128
|
};
|
|
10237
11129
|
}
|
|
@@ -10631,6 +11523,7 @@ class DescribeDatabasesResponseBodyDatabasesDatabase extends $tea.Model {
|
|
|
10631
11523
|
DBName: 'DBName',
|
|
10632
11524
|
DBStatus: 'DBStatus',
|
|
10633
11525
|
engine: 'Engine',
|
|
11526
|
+
masterID: 'MasterID',
|
|
10634
11527
|
};
|
|
10635
11528
|
}
|
|
10636
11529
|
static types() {
|
|
@@ -10641,6 +11534,7 @@ class DescribeDatabasesResponseBodyDatabasesDatabase extends $tea.Model {
|
|
|
10641
11534
|
DBName: 'string',
|
|
10642
11535
|
DBStatus: 'string',
|
|
10643
11536
|
engine: 'string',
|
|
11537
|
+
masterID: 'string',
|
|
10644
11538
|
};
|
|
10645
11539
|
}
|
|
10646
11540
|
}
|
|
@@ -11365,50 +12259,6 @@ class DescribeSlowLogsResponseBodyItems extends $tea.Model {
|
|
|
11365
12259
|
}
|
|
11366
12260
|
}
|
|
11367
12261
|
exports.DescribeSlowLogsResponseBodyItems = DescribeSlowLogsResponseBodyItems;
|
|
11368
|
-
class DescribeStoragePlanResponseBodyItems extends $tea.Model {
|
|
11369
|
-
constructor(map) {
|
|
11370
|
-
super(map);
|
|
11371
|
-
}
|
|
11372
|
-
static names() {
|
|
11373
|
-
return {
|
|
11374
|
-
aliUid: 'AliUid',
|
|
11375
|
-
commodityCode: 'CommodityCode',
|
|
11376
|
-
endTimes: 'EndTimes',
|
|
11377
|
-
initCapaCityViewUnit: 'InitCapaCityViewUnit',
|
|
11378
|
-
initCapacityViewValue: 'InitCapacityViewValue',
|
|
11379
|
-
instanceId: 'InstanceId',
|
|
11380
|
-
periodCapaCityViewUnit: 'PeriodCapaCityViewUnit',
|
|
11381
|
-
periodCapacityViewValue: 'PeriodCapacityViewValue',
|
|
11382
|
-
periodTime: 'PeriodTime',
|
|
11383
|
-
prodCode: 'ProdCode',
|
|
11384
|
-
purchaseTimes: 'PurchaseTimes',
|
|
11385
|
-
startTimes: 'StartTimes',
|
|
11386
|
-
status: 'Status',
|
|
11387
|
-
storageType: 'StorageType',
|
|
11388
|
-
templateName: 'TemplateName',
|
|
11389
|
-
};
|
|
11390
|
-
}
|
|
11391
|
-
static types() {
|
|
11392
|
-
return {
|
|
11393
|
-
aliUid: 'string',
|
|
11394
|
-
commodityCode: 'string',
|
|
11395
|
-
endTimes: 'string',
|
|
11396
|
-
initCapaCityViewUnit: 'string',
|
|
11397
|
-
initCapacityViewValue: 'string',
|
|
11398
|
-
instanceId: 'string',
|
|
11399
|
-
periodCapaCityViewUnit: 'string',
|
|
11400
|
-
periodCapacityViewValue: 'string',
|
|
11401
|
-
periodTime: 'string',
|
|
11402
|
-
prodCode: 'string',
|
|
11403
|
-
purchaseTimes: 'string',
|
|
11404
|
-
startTimes: 'string',
|
|
11405
|
-
status: 'string',
|
|
11406
|
-
storageType: 'string',
|
|
11407
|
-
templateName: 'string',
|
|
11408
|
-
};
|
|
11409
|
-
}
|
|
11410
|
-
}
|
|
11411
|
-
exports.DescribeStoragePlanResponseBodyItems = DescribeStoragePlanResponseBodyItems;
|
|
11412
12262
|
class DescribeTasksResponseBodyTasksTask extends $tea.Model {
|
|
11413
12263
|
constructor(map) {
|
|
11414
12264
|
super(map);
|
|
@@ -11467,6 +12317,36 @@ class DescribeTasksResponseBodyTasks extends $tea.Model {
|
|
|
11467
12317
|
}
|
|
11468
12318
|
}
|
|
11469
12319
|
exports.DescribeTasksResponseBodyTasks = DescribeTasksResponseBodyTasks;
|
|
12320
|
+
class DescribeVSwitchesResponseBodyVSwitchs extends $tea.Model {
|
|
12321
|
+
constructor(map) {
|
|
12322
|
+
super(map);
|
|
12323
|
+
}
|
|
12324
|
+
static names() {
|
|
12325
|
+
return {
|
|
12326
|
+
availableIpAddressCount: 'AvailableIpAddressCount',
|
|
12327
|
+
cidrBlock: 'CidrBlock',
|
|
12328
|
+
description: 'Description',
|
|
12329
|
+
isDefault: 'IsDefault',
|
|
12330
|
+
izNo: 'IzNo',
|
|
12331
|
+
status: 'Status',
|
|
12332
|
+
vSwitchId: 'VSwitchId',
|
|
12333
|
+
vSwitchName: 'VSwitchName',
|
|
12334
|
+
};
|
|
12335
|
+
}
|
|
12336
|
+
static types() {
|
|
12337
|
+
return {
|
|
12338
|
+
availableIpAddressCount: 'number',
|
|
12339
|
+
cidrBlock: 'string',
|
|
12340
|
+
description: 'string',
|
|
12341
|
+
isDefault: 'boolean',
|
|
12342
|
+
izNo: 'string',
|
|
12343
|
+
status: 'string',
|
|
12344
|
+
vSwitchId: 'string',
|
|
12345
|
+
vSwitchName: 'string',
|
|
12346
|
+
};
|
|
12347
|
+
}
|
|
12348
|
+
}
|
|
12349
|
+
exports.DescribeVSwitchesResponseBodyVSwitchs = DescribeVSwitchesResponseBodyVSwitchs;
|
|
11470
12350
|
class ListTagResourcesRequestTag extends $tea.Model {
|
|
11471
12351
|
constructor(map) {
|
|
11472
12352
|
super(map);
|
|
@@ -11835,6 +12715,85 @@ class Client extends openapi_client_1.default {
|
|
|
11835
12715
|
let runtime = new $Util.RuntimeOptions({});
|
|
11836
12716
|
return await this.checkDBNameWithOptions(request, runtime);
|
|
11837
12717
|
}
|
|
12718
|
+
async checkKMSAuthorizedWithOptions(request, runtime) {
|
|
12719
|
+
tea_util_1.default.validateModel(request);
|
|
12720
|
+
let query = {};
|
|
12721
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
12722
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
12723
|
+
}
|
|
12724
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
12725
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
12726
|
+
}
|
|
12727
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
12728
|
+
query["OwnerId"] = request.ownerId;
|
|
12729
|
+
}
|
|
12730
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
12731
|
+
query["RegionId"] = request.regionId;
|
|
12732
|
+
}
|
|
12733
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
12734
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
12735
|
+
}
|
|
12736
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
12737
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
12738
|
+
}
|
|
12739
|
+
if (!tea_util_1.default.isUnset(request.TDERegion)) {
|
|
12740
|
+
query["TDERegion"] = request.TDERegion;
|
|
12741
|
+
}
|
|
12742
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12743
|
+
query: openapi_util_1.default.query(query),
|
|
12744
|
+
});
|
|
12745
|
+
let params = new $OpenApi.Params({
|
|
12746
|
+
action: "CheckKMSAuthorized",
|
|
12747
|
+
version: "2017-08-01",
|
|
12748
|
+
protocol: "HTTPS",
|
|
12749
|
+
pathname: "/",
|
|
12750
|
+
method: "POST",
|
|
12751
|
+
authType: "AK",
|
|
12752
|
+
style: "RPC",
|
|
12753
|
+
reqBodyType: "formData",
|
|
12754
|
+
bodyType: "json",
|
|
12755
|
+
});
|
|
12756
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CheckKMSAuthorizedResponse({}));
|
|
12757
|
+
}
|
|
12758
|
+
async checkKMSAuthorized(request) {
|
|
12759
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12760
|
+
return await this.checkKMSAuthorizedWithOptions(request, runtime);
|
|
12761
|
+
}
|
|
12762
|
+
async checkServiceLinkedRoleWithOptions(request, runtime) {
|
|
12763
|
+
tea_util_1.default.validateModel(request);
|
|
12764
|
+
let query = {};
|
|
12765
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
12766
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
12767
|
+
}
|
|
12768
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
12769
|
+
query["OwnerId"] = request.ownerId;
|
|
12770
|
+
}
|
|
12771
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
12772
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
12773
|
+
}
|
|
12774
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
12775
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
12776
|
+
}
|
|
12777
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12778
|
+
query: openapi_util_1.default.query(query),
|
|
12779
|
+
});
|
|
12780
|
+
let params = new $OpenApi.Params({
|
|
12781
|
+
action: "CheckServiceLinkedRole",
|
|
12782
|
+
version: "2017-08-01",
|
|
12783
|
+
protocol: "HTTPS",
|
|
12784
|
+
pathname: "/",
|
|
12785
|
+
method: "POST",
|
|
12786
|
+
authType: "AK",
|
|
12787
|
+
style: "RPC",
|
|
12788
|
+
reqBodyType: "formData",
|
|
12789
|
+
bodyType: "json",
|
|
12790
|
+
});
|
|
12791
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CheckServiceLinkedRoleResponse({}));
|
|
12792
|
+
}
|
|
12793
|
+
async checkServiceLinkedRole(request) {
|
|
12794
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12795
|
+
return await this.checkServiceLinkedRoleWithOptions(request, runtime);
|
|
12796
|
+
}
|
|
11838
12797
|
async closeAITaskWithOptions(request, runtime) {
|
|
11839
12798
|
tea_util_1.default.validateModel(request);
|
|
11840
12799
|
let query = {};
|
|
@@ -11876,6 +12835,15 @@ class Client extends openapi_client_1.default {
|
|
|
11876
12835
|
let runtime = new $Util.RuntimeOptions({});
|
|
11877
12836
|
return await this.closeAITaskWithOptions(request, runtime);
|
|
11878
12837
|
}
|
|
12838
|
+
/**
|
|
12839
|
+
* * You can call this operation to cancel the migration task before data migration.
|
|
12840
|
+
* * You can call this operation to perform the migration task after data migration.
|
|
12841
|
+
* > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](~~98169~~) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](~~121582~~).
|
|
12842
|
+
*
|
|
12843
|
+
* @param request CloseDBClusterMigrationRequest
|
|
12844
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12845
|
+
* @return CloseDBClusterMigrationResponse
|
|
12846
|
+
*/
|
|
11879
12847
|
async closeDBClusterMigrationWithOptions(request, runtime) {
|
|
11880
12848
|
tea_util_1.default.validateModel(request);
|
|
11881
12849
|
let query = {};
|
|
@@ -11913,6 +12881,14 @@ class Client extends openapi_client_1.default {
|
|
|
11913
12881
|
});
|
|
11914
12882
|
return $tea.cast(await this.callApi(params, req, runtime), new CloseDBClusterMigrationResponse({}));
|
|
11915
12883
|
}
|
|
12884
|
+
/**
|
|
12885
|
+
* * You can call this operation to cancel the migration task before data migration.
|
|
12886
|
+
* * You can call this operation to perform the migration task after data migration.
|
|
12887
|
+
* > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](~~98169~~) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](~~121582~~).
|
|
12888
|
+
*
|
|
12889
|
+
* @param request CloseDBClusterMigrationRequest
|
|
12890
|
+
* @return CloseDBClusterMigrationResponse
|
|
12891
|
+
*/
|
|
11916
12892
|
async closeDBClusterMigration(request) {
|
|
11917
12893
|
let runtime = new $Util.RuntimeOptions({});
|
|
11918
12894
|
return await this.closeDBClusterMigrationWithOptions(request, runtime);
|
|
@@ -11950,6 +12926,9 @@ class Client extends openapi_client_1.default {
|
|
|
11950
12926
|
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
11951
12927
|
query["OwnerId"] = request.ownerId;
|
|
11952
12928
|
}
|
|
12929
|
+
if (!tea_util_1.default.isUnset(request.privForAllDB)) {
|
|
12930
|
+
query["PrivForAllDB"] = request.privForAllDB;
|
|
12931
|
+
}
|
|
11953
12932
|
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
11954
12933
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
11955
12934
|
}
|
|
@@ -11976,6 +12955,16 @@ class Client extends openapi_client_1.default {
|
|
|
11976
12955
|
let runtime = new $Util.RuntimeOptions({});
|
|
11977
12956
|
return await this.createAccountWithOptions(request, runtime);
|
|
11978
12957
|
}
|
|
12958
|
+
/**
|
|
12959
|
+
* >
|
|
12960
|
+
* * You can manually create up to three backups for each cluster.
|
|
12961
|
+
* * The `Exceeding the daily backup times of this DB cluster` error message indicates that three manual backups already exist in your cluster. You must delete existing backups before you call this operation to manually create backups. For more information about how to delete backups, see [Delete backups](~~98101~~).
|
|
12962
|
+
* * After you call this operation, a backup task is created in the backend. The task may be time-consuming if you want to back up large amounts of data.
|
|
12963
|
+
*
|
|
12964
|
+
* @param request CreateBackupRequest
|
|
12965
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12966
|
+
* @return CreateBackupResponse
|
|
12967
|
+
*/
|
|
11979
12968
|
async createBackupWithOptions(request, runtime) {
|
|
11980
12969
|
tea_util_1.default.validateModel(request);
|
|
11981
12970
|
let query = {};
|
|
@@ -12013,6 +13002,15 @@ class Client extends openapi_client_1.default {
|
|
|
12013
13002
|
});
|
|
12014
13003
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateBackupResponse({}));
|
|
12015
13004
|
}
|
|
13005
|
+
/**
|
|
13006
|
+
* >
|
|
13007
|
+
* * You can manually create up to three backups for each cluster.
|
|
13008
|
+
* * The `Exceeding the daily backup times of this DB cluster` error message indicates that three manual backups already exist in your cluster. You must delete existing backups before you call this operation to manually create backups. For more information about how to delete backups, see [Delete backups](~~98101~~).
|
|
13009
|
+
* * After you call this operation, a backup task is created in the backend. The task may be time-consuming if you want to back up large amounts of data.
|
|
13010
|
+
*
|
|
13011
|
+
* @param request CreateBackupRequest
|
|
13012
|
+
* @return CreateBackupResponse
|
|
13013
|
+
*/
|
|
12016
13014
|
async createBackup(request) {
|
|
12017
13015
|
let runtime = new $Util.RuntimeOptions({});
|
|
12018
13016
|
return await this.createBackupWithOptions(request, runtime);
|
|
@@ -12023,6 +13021,9 @@ class Client extends openapi_client_1.default {
|
|
|
12023
13021
|
if (!tea_util_1.default.isUnset(request.allowShutDown)) {
|
|
12024
13022
|
query["AllowShutDown"] = request.allowShutDown;
|
|
12025
13023
|
}
|
|
13024
|
+
if (!tea_util_1.default.isUnset(request.architecture)) {
|
|
13025
|
+
query["Architecture"] = request.architecture;
|
|
13026
|
+
}
|
|
12026
13027
|
if (!tea_util_1.default.isUnset(request.autoRenew)) {
|
|
12027
13028
|
query["AutoRenew"] = request.autoRenew;
|
|
12028
13029
|
}
|
|
@@ -12053,6 +13054,9 @@ class Client extends openapi_client_1.default {
|
|
|
12053
13054
|
if (!tea_util_1.default.isUnset(request.DBNodeClass)) {
|
|
12054
13055
|
query["DBNodeClass"] = request.DBNodeClass;
|
|
12055
13056
|
}
|
|
13057
|
+
if (!tea_util_1.default.isUnset(request.DBNodeNum)) {
|
|
13058
|
+
query["DBNodeNum"] = request.DBNodeNum;
|
|
13059
|
+
}
|
|
12056
13060
|
if (!tea_util_1.default.isUnset(request.DBType)) {
|
|
12057
13061
|
query["DBType"] = request.DBType;
|
|
12058
13062
|
}
|
|
@@ -12065,6 +13069,18 @@ class Client extends openapi_client_1.default {
|
|
|
12065
13069
|
if (!tea_util_1.default.isUnset(request.GDNId)) {
|
|
12066
13070
|
query["GDNId"] = request.GDNId;
|
|
12067
13071
|
}
|
|
13072
|
+
if (!tea_util_1.default.isUnset(request.hotStandbyCluster)) {
|
|
13073
|
+
query["HotStandbyCluster"] = request.hotStandbyCluster;
|
|
13074
|
+
}
|
|
13075
|
+
if (!tea_util_1.default.isUnset(request.loosePolarLogBin)) {
|
|
13076
|
+
query["LoosePolarLogBin"] = request.loosePolarLogBin;
|
|
13077
|
+
}
|
|
13078
|
+
if (!tea_util_1.default.isUnset(request.looseXEngine)) {
|
|
13079
|
+
query["LooseXEngine"] = request.looseXEngine;
|
|
13080
|
+
}
|
|
13081
|
+
if (!tea_util_1.default.isUnset(request.looseXEngineUseMemoryPct)) {
|
|
13082
|
+
query["LooseXEngineUseMemoryPct"] = request.looseXEngineUseMemoryPct;
|
|
13083
|
+
}
|
|
12068
13084
|
if (!tea_util_1.default.isUnset(request.lowerCaseTableNames)) {
|
|
12069
13085
|
query["LowerCaseTableNames"] = request.lowerCaseTableNames;
|
|
12070
13086
|
}
|
|
@@ -12083,6 +13099,12 @@ class Client extends openapi_client_1.default {
|
|
|
12083
13099
|
if (!tea_util_1.default.isUnset(request.period)) {
|
|
12084
13100
|
query["Period"] = request.period;
|
|
12085
13101
|
}
|
|
13102
|
+
if (!tea_util_1.default.isUnset(request.proxyClass)) {
|
|
13103
|
+
query["ProxyClass"] = request.proxyClass;
|
|
13104
|
+
}
|
|
13105
|
+
if (!tea_util_1.default.isUnset(request.proxyType)) {
|
|
13106
|
+
query["ProxyType"] = request.proxyType;
|
|
13107
|
+
}
|
|
12086
13108
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
12087
13109
|
query["RegionId"] = request.regionId;
|
|
12088
13110
|
}
|
|
@@ -12116,9 +13138,27 @@ class Client extends openapi_client_1.default {
|
|
|
12116
13138
|
if (!tea_util_1.default.isUnset(request.sourceResourceId)) {
|
|
12117
13139
|
query["SourceResourceId"] = request.sourceResourceId;
|
|
12118
13140
|
}
|
|
13141
|
+
if (!tea_util_1.default.isUnset(request.standbyAZ)) {
|
|
13142
|
+
query["StandbyAZ"] = request.standbyAZ;
|
|
13143
|
+
}
|
|
13144
|
+
if (!tea_util_1.default.isUnset(request.storageAutoScale)) {
|
|
13145
|
+
query["StorageAutoScale"] = request.storageAutoScale;
|
|
13146
|
+
}
|
|
13147
|
+
if (!tea_util_1.default.isUnset(request.storagePayType)) {
|
|
13148
|
+
query["StoragePayType"] = request.storagePayType;
|
|
13149
|
+
}
|
|
13150
|
+
if (!tea_util_1.default.isUnset(request.storageSpace)) {
|
|
13151
|
+
query["StorageSpace"] = request.storageSpace;
|
|
13152
|
+
}
|
|
12119
13153
|
if (!tea_util_1.default.isUnset(request.storageType)) {
|
|
12120
13154
|
query["StorageType"] = request.storageType;
|
|
12121
13155
|
}
|
|
13156
|
+
if (!tea_util_1.default.isUnset(request.storageUpperBound)) {
|
|
13157
|
+
query["StorageUpperBound"] = request.storageUpperBound;
|
|
13158
|
+
}
|
|
13159
|
+
if (!tea_util_1.default.isUnset(request.strictConsistency)) {
|
|
13160
|
+
query["StrictConsistency"] = request.strictConsistency;
|
|
13161
|
+
}
|
|
12122
13162
|
if (!tea_util_1.default.isUnset(request.TDEStatus)) {
|
|
12123
13163
|
query["TDEStatus"] = request.TDEStatus;
|
|
12124
13164
|
}
|
|
@@ -12216,6 +13256,13 @@ class Client extends openapi_client_1.default {
|
|
|
12216
13256
|
let runtime = new $Util.RuntimeOptions({});
|
|
12217
13257
|
return await this.createDBClusterEndpointWithOptions(request, runtime);
|
|
12218
13258
|
}
|
|
13259
|
+
/**
|
|
13260
|
+
* > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13261
|
+
*
|
|
13262
|
+
* @param request CreateDBEndpointAddressRequest
|
|
13263
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13264
|
+
* @return CreateDBEndpointAddressResponse
|
|
13265
|
+
*/
|
|
12219
13266
|
async createDBEndpointAddressWithOptions(request, runtime) {
|
|
12220
13267
|
tea_util_1.default.validateModel(request);
|
|
12221
13268
|
let query = {};
|
|
@@ -12243,6 +13290,15 @@ class Client extends openapi_client_1.default {
|
|
|
12243
13290
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
12244
13291
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
12245
13292
|
}
|
|
13293
|
+
if (!tea_util_1.default.isUnset(request.securityGroupId)) {
|
|
13294
|
+
query["SecurityGroupId"] = request.securityGroupId;
|
|
13295
|
+
}
|
|
13296
|
+
if (!tea_util_1.default.isUnset(request.VPCId)) {
|
|
13297
|
+
query["VPCId"] = request.VPCId;
|
|
13298
|
+
}
|
|
13299
|
+
if (!tea_util_1.default.isUnset(request.zoneInfo)) {
|
|
13300
|
+
query["ZoneInfo"] = request.zoneInfo;
|
|
13301
|
+
}
|
|
12246
13302
|
let req = new $OpenApi.OpenApiRequest({
|
|
12247
13303
|
query: openapi_util_1.default.query(query),
|
|
12248
13304
|
});
|
|
@@ -12259,10 +13315,26 @@ class Client extends openapi_client_1.default {
|
|
|
12259
13315
|
});
|
|
12260
13316
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBEndpointAddressResponse({}));
|
|
12261
13317
|
}
|
|
13318
|
+
/**
|
|
13319
|
+
* > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13320
|
+
*
|
|
13321
|
+
* @param request CreateDBEndpointAddressRequest
|
|
13322
|
+
* @return CreateDBEndpointAddressResponse
|
|
13323
|
+
*/
|
|
12262
13324
|
async createDBEndpointAddress(request) {
|
|
12263
13325
|
let runtime = new $Util.RuntimeOptions({});
|
|
12264
13326
|
return await this.createDBEndpointAddressWithOptions(request, runtime);
|
|
12265
13327
|
}
|
|
13328
|
+
/**
|
|
13329
|
+
* A database link can be used to connect two PolarDB for PostgreSQL(Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL(Compatible with Oracle) cluster to a user-created PostgreSQL database that is hosted on an Elastic Compute Service (ECS) instance. You can use database links to query data across clusters.
|
|
13330
|
+
* > * You can create up to 10 database links for a cluster.
|
|
13331
|
+
* > * Each database link connects a source cluster and a destination cluster.
|
|
13332
|
+
* > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
|
|
13333
|
+
*
|
|
13334
|
+
* @param request CreateDBLinkRequest
|
|
13335
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13336
|
+
* @return CreateDBLinkResponse
|
|
13337
|
+
*/
|
|
12266
13338
|
async createDBLinkWithOptions(request, runtime) {
|
|
12267
13339
|
tea_util_1.default.validateModel(request);
|
|
12268
13340
|
let query = {};
|
|
@@ -12333,6 +13405,15 @@ class Client extends openapi_client_1.default {
|
|
|
12333
13405
|
});
|
|
12334
13406
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBLinkResponse({}));
|
|
12335
13407
|
}
|
|
13408
|
+
/**
|
|
13409
|
+
* A database link can be used to connect two PolarDB for PostgreSQL(Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL(Compatible with Oracle) cluster to a user-created PostgreSQL database that is hosted on an Elastic Compute Service (ECS) instance. You can use database links to query data across clusters.
|
|
13410
|
+
* > * You can create up to 10 database links for a cluster.
|
|
13411
|
+
* > * Each database link connects a source cluster and a destination cluster.
|
|
13412
|
+
* > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
|
|
13413
|
+
*
|
|
13414
|
+
* @param request CreateDBLinkRequest
|
|
13415
|
+
* @return CreateDBLinkResponse
|
|
13416
|
+
*/
|
|
12336
13417
|
async createDBLink(request) {
|
|
12337
13418
|
let runtime = new $Util.RuntimeOptions({});
|
|
12338
13419
|
return await this.createDBLinkWithOptions(request, runtime);
|
|
@@ -12349,6 +13430,9 @@ class Client extends openapi_client_1.default {
|
|
|
12349
13430
|
if (!tea_util_1.default.isUnset(request.DBNode)) {
|
|
12350
13431
|
query["DBNode"] = request.DBNode;
|
|
12351
13432
|
}
|
|
13433
|
+
if (!tea_util_1.default.isUnset(request.DBNodeType)) {
|
|
13434
|
+
query["DBNodeType"] = request.DBNodeType;
|
|
13435
|
+
}
|
|
12352
13436
|
if (!tea_util_1.default.isUnset(request.endpointBindList)) {
|
|
12353
13437
|
query["EndpointBindList"] = request.endpointBindList;
|
|
12354
13438
|
}
|
|
@@ -12396,6 +13480,15 @@ class Client extends openapi_client_1.default {
|
|
|
12396
13480
|
let runtime = new $Util.RuntimeOptions({});
|
|
12397
13481
|
return await this.createDBNodesWithOptions(request, runtime);
|
|
12398
13482
|
}
|
|
13483
|
+
/**
|
|
13484
|
+
* Before you call this operation, make sure that the following requirements are met:
|
|
13485
|
+
* * The cluster is in the Running state.
|
|
13486
|
+
* * The cluster is unlocked.
|
|
13487
|
+
*
|
|
13488
|
+
* @param request CreateDatabaseRequest
|
|
13489
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13490
|
+
* @return CreateDatabaseResponse
|
|
13491
|
+
*/
|
|
12399
13492
|
async createDatabaseWithOptions(request, runtime) {
|
|
12400
13493
|
tea_util_1.default.validateModel(request);
|
|
12401
13494
|
let query = {};
|
|
@@ -12451,10 +13544,25 @@ class Client extends openapi_client_1.default {
|
|
|
12451
13544
|
});
|
|
12452
13545
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDatabaseResponse({}));
|
|
12453
13546
|
}
|
|
13547
|
+
/**
|
|
13548
|
+
* Before you call this operation, make sure that the following requirements are met:
|
|
13549
|
+
* * The cluster is in the Running state.
|
|
13550
|
+
* * The cluster is unlocked.
|
|
13551
|
+
*
|
|
13552
|
+
* @param request CreateDatabaseRequest
|
|
13553
|
+
* @return CreateDatabaseResponse
|
|
13554
|
+
*/
|
|
12454
13555
|
async createDatabase(request) {
|
|
12455
13556
|
let runtime = new $Util.RuntimeOptions({});
|
|
12456
13557
|
return await this.createDatabaseWithOptions(request, runtime);
|
|
12457
13558
|
}
|
|
13559
|
+
/**
|
|
13560
|
+
* > A cluster belongs to only one GDN.
|
|
13561
|
+
*
|
|
13562
|
+
* @param request CreateGlobalDatabaseNetworkRequest
|
|
13563
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13564
|
+
* @return CreateGlobalDatabaseNetworkResponse
|
|
13565
|
+
*/
|
|
12458
13566
|
async createGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
12459
13567
|
tea_util_1.default.validateModel(request);
|
|
12460
13568
|
let query = {};
|
|
@@ -12498,6 +13606,12 @@ class Client extends openapi_client_1.default {
|
|
|
12498
13606
|
});
|
|
12499
13607
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
|
|
12500
13608
|
}
|
|
13609
|
+
/**
|
|
13610
|
+
* > A cluster belongs to only one GDN.
|
|
13611
|
+
*
|
|
13612
|
+
* @param request CreateGlobalDatabaseNetworkRequest
|
|
13613
|
+
* @return CreateGlobalDatabaseNetworkResponse
|
|
13614
|
+
*/
|
|
12501
13615
|
async createGlobalDatabaseNetwork(request) {
|
|
12502
13616
|
let runtime = new $Util.RuntimeOptions({});
|
|
12503
13617
|
return await this.createGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
@@ -12552,6 +13666,14 @@ class Client extends openapi_client_1.default {
|
|
|
12552
13666
|
let runtime = new $Util.RuntimeOptions({});
|
|
12553
13667
|
return await this.createGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
12554
13668
|
}
|
|
13669
|
+
/**
|
|
13670
|
+
* You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
|
|
13671
|
+
* > You can call this operation only on a PolarDB for MySQL cluster.
|
|
13672
|
+
*
|
|
13673
|
+
* @param request CreateParameterGroupRequest
|
|
13674
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13675
|
+
* @return CreateParameterGroupResponse
|
|
13676
|
+
*/
|
|
12555
13677
|
async createParameterGroupWithOptions(request, runtime) {
|
|
12556
13678
|
tea_util_1.default.validateModel(request);
|
|
12557
13679
|
let query = {};
|
|
@@ -12604,10 +13726,52 @@ class Client extends openapi_client_1.default {
|
|
|
12604
13726
|
});
|
|
12605
13727
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateParameterGroupResponse({}));
|
|
12606
13728
|
}
|
|
13729
|
+
/**
|
|
13730
|
+
* You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
|
|
13731
|
+
* > You can call this operation only on a PolarDB for MySQL cluster.
|
|
13732
|
+
*
|
|
13733
|
+
* @param request CreateParameterGroupRequest
|
|
13734
|
+
* @return CreateParameterGroupResponse
|
|
13735
|
+
*/
|
|
12607
13736
|
async createParameterGroup(request) {
|
|
12608
13737
|
let runtime = new $Util.RuntimeOptions({});
|
|
12609
13738
|
return await this.createParameterGroupWithOptions(request, runtime);
|
|
12610
13739
|
}
|
|
13740
|
+
async createServiceLinkedRoleWithOptions(request, runtime) {
|
|
13741
|
+
tea_util_1.default.validateModel(request);
|
|
13742
|
+
let query = {};
|
|
13743
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
13744
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
13745
|
+
}
|
|
13746
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
13747
|
+
query["OwnerId"] = request.ownerId;
|
|
13748
|
+
}
|
|
13749
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
13750
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
13751
|
+
}
|
|
13752
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
13753
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
13754
|
+
}
|
|
13755
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13756
|
+
query: openapi_util_1.default.query(query),
|
|
13757
|
+
});
|
|
13758
|
+
let params = new $OpenApi.Params({
|
|
13759
|
+
action: "CreateServiceLinkedRole",
|
|
13760
|
+
version: "2017-08-01",
|
|
13761
|
+
protocol: "HTTPS",
|
|
13762
|
+
pathname: "/",
|
|
13763
|
+
method: "POST",
|
|
13764
|
+
authType: "AK",
|
|
13765
|
+
style: "RPC",
|
|
13766
|
+
reqBodyType: "formData",
|
|
13767
|
+
bodyType: "json",
|
|
13768
|
+
});
|
|
13769
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceLinkedRoleResponse({}));
|
|
13770
|
+
}
|
|
13771
|
+
async createServiceLinkedRole(request) {
|
|
13772
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
13773
|
+
return await this.createServiceLinkedRoleWithOptions(request, runtime);
|
|
13774
|
+
}
|
|
12611
13775
|
async createStoragePlanWithOptions(request, runtime) {
|
|
12612
13776
|
tea_util_1.default.validateModel(request);
|
|
12613
13777
|
let query = {};
|
|
@@ -12658,6 +13822,13 @@ class Client extends openapi_client_1.default {
|
|
|
12658
13822
|
let runtime = new $Util.RuntimeOptions({});
|
|
12659
13823
|
return await this.createStoragePlanWithOptions(request, runtime);
|
|
12660
13824
|
}
|
|
13825
|
+
/**
|
|
13826
|
+
* > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
13827
|
+
*
|
|
13828
|
+
* @param request DeleteAccountRequest
|
|
13829
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13830
|
+
* @return DeleteAccountResponse
|
|
13831
|
+
*/
|
|
12661
13832
|
async deleteAccountWithOptions(request, runtime) {
|
|
12662
13833
|
tea_util_1.default.validateModel(request);
|
|
12663
13834
|
let query = {};
|
|
@@ -12695,10 +13866,27 @@ class Client extends openapi_client_1.default {
|
|
|
12695
13866
|
});
|
|
12696
13867
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
|
|
12697
13868
|
}
|
|
13869
|
+
/**
|
|
13870
|
+
* > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
13871
|
+
*
|
|
13872
|
+
* @param request DeleteAccountRequest
|
|
13873
|
+
* @return DeleteAccountResponse
|
|
13874
|
+
*/
|
|
12698
13875
|
async deleteAccount(request) {
|
|
12699
13876
|
let runtime = new $Util.RuntimeOptions({});
|
|
12700
13877
|
return await this.deleteAccountWithOptions(request, runtime);
|
|
12701
13878
|
}
|
|
13879
|
+
/**
|
|
13880
|
+
* Before you call this operation, make sure that the cluster meets the following requirements:
|
|
13881
|
+
* * The cluster is in the Running state.
|
|
13882
|
+
* * The backup sets are in the Success state.
|
|
13883
|
+
* > * You can call the [DescribeBackups](~~98102~~) operation to query the status of backup sets.
|
|
13884
|
+
* >* After you delete the backup set file, the storage space that is occupied by the file is released. The released storage space is smaller than the size of the file because your snapshots share some data blocks
|
|
13885
|
+
*
|
|
13886
|
+
* @param request DeleteBackupRequest
|
|
13887
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13888
|
+
* @return DeleteBackupResponse
|
|
13889
|
+
*/
|
|
12702
13890
|
async deleteBackupWithOptions(request, runtime) {
|
|
12703
13891
|
tea_util_1.default.validateModel(request);
|
|
12704
13892
|
let query = {};
|
|
@@ -12736,6 +13924,16 @@ class Client extends openapi_client_1.default {
|
|
|
12736
13924
|
});
|
|
12737
13925
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteBackupResponse({}));
|
|
12738
13926
|
}
|
|
13927
|
+
/**
|
|
13928
|
+
* Before you call this operation, make sure that the cluster meets the following requirements:
|
|
13929
|
+
* * The cluster is in the Running state.
|
|
13930
|
+
* * The backup sets are in the Success state.
|
|
13931
|
+
* > * You can call the [DescribeBackups](~~98102~~) operation to query the status of backup sets.
|
|
13932
|
+
* >* After you delete the backup set file, the storage space that is occupied by the file is released. The released storage space is smaller than the size of the file because your snapshots share some data blocks
|
|
13933
|
+
*
|
|
13934
|
+
* @param request DeleteBackupRequest
|
|
13935
|
+
* @return DeleteBackupResponse
|
|
13936
|
+
*/
|
|
12739
13937
|
async deleteBackup(request) {
|
|
12740
13938
|
let runtime = new $Util.RuntimeOptions({});
|
|
12741
13939
|
return await this.deleteBackupWithOptions(request, runtime);
|
|
@@ -12822,6 +14020,14 @@ class Client extends openapi_client_1.default {
|
|
|
12822
14020
|
let runtime = new $Util.RuntimeOptions({});
|
|
12823
14021
|
return await this.deleteDBClusterEndpointWithOptions(request, runtime);
|
|
12824
14022
|
}
|
|
14023
|
+
/**
|
|
14024
|
+
* > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
14025
|
+
* > * Classic network endpoints are supported only on the China site (aliyun.com). Therefore, you do not need to delete classic network endpoints on the International site (alibabacloud.com).
|
|
14026
|
+
*
|
|
14027
|
+
* @param request DeleteDBEndpointAddressRequest
|
|
14028
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14029
|
+
* @return DeleteDBEndpointAddressResponse
|
|
14030
|
+
*/
|
|
12825
14031
|
async deleteDBEndpointAddressWithOptions(request, runtime) {
|
|
12826
14032
|
tea_util_1.default.validateModel(request);
|
|
12827
14033
|
let query = {};
|
|
@@ -12862,6 +14068,13 @@ class Client extends openapi_client_1.default {
|
|
|
12862
14068
|
});
|
|
12863
14069
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBEndpointAddressResponse({}));
|
|
12864
14070
|
}
|
|
14071
|
+
/**
|
|
14072
|
+
* > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
14073
|
+
* > * Classic network endpoints are supported only on the China site (aliyun.com). Therefore, you do not need to delete classic network endpoints on the International site (alibabacloud.com).
|
|
14074
|
+
*
|
|
14075
|
+
* @param request DeleteDBEndpointAddressRequest
|
|
14076
|
+
* @return DeleteDBEndpointAddressResponse
|
|
14077
|
+
*/
|
|
12865
14078
|
async deleteDBEndpointAddress(request) {
|
|
12866
14079
|
let runtime = new $Util.RuntimeOptions({});
|
|
12867
14080
|
return await this.deleteDBEndpointAddressWithOptions(request, runtime);
|
|
@@ -12919,6 +14132,9 @@ class Client extends openapi_client_1.default {
|
|
|
12919
14132
|
if (!tea_util_1.default.isUnset(request.DBNodeId)) {
|
|
12920
14133
|
query["DBNodeId"] = request.DBNodeId;
|
|
12921
14134
|
}
|
|
14135
|
+
if (!tea_util_1.default.isUnset(request.DBNodeType)) {
|
|
14136
|
+
query["DBNodeType"] = request.DBNodeType;
|
|
14137
|
+
}
|
|
12922
14138
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
12923
14139
|
query["OwnerAccount"] = request.ownerAccount;
|
|
12924
14140
|
}
|
|
@@ -12951,6 +14167,14 @@ class Client extends openapi_client_1.default {
|
|
|
12951
14167
|
let runtime = new $Util.RuntimeOptions({});
|
|
12952
14168
|
return await this.deleteDBNodesWithOptions(request, runtime);
|
|
12953
14169
|
}
|
|
14170
|
+
/**
|
|
14171
|
+
* >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
|
|
14172
|
+
* >- The delete operation is performed in an asynchronous manner. A long period of time may be required to delete a large database. A success response for this operation only indicates that the request to delete the database is sent. You must query the database to check whether the database is deleted.
|
|
14173
|
+
*
|
|
14174
|
+
* @param request DeleteDatabaseRequest
|
|
14175
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14176
|
+
* @return DeleteDatabaseResponse
|
|
14177
|
+
*/
|
|
12954
14178
|
async deleteDatabaseWithOptions(request, runtime) {
|
|
12955
14179
|
tea_util_1.default.validateModel(request);
|
|
12956
14180
|
let query = {};
|
|
@@ -12988,10 +14212,24 @@ class Client extends openapi_client_1.default {
|
|
|
12988
14212
|
});
|
|
12989
14213
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDatabaseResponse({}));
|
|
12990
14214
|
}
|
|
14215
|
+
/**
|
|
14216
|
+
* >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
|
|
14217
|
+
* >- The delete operation is performed in an asynchronous manner. A long period of time may be required to delete a large database. A success response for this operation only indicates that the request to delete the database is sent. You must query the database to check whether the database is deleted.
|
|
14218
|
+
*
|
|
14219
|
+
* @param request DeleteDatabaseRequest
|
|
14220
|
+
* @return DeleteDatabaseResponse
|
|
14221
|
+
*/
|
|
12991
14222
|
async deleteDatabase(request) {
|
|
12992
14223
|
let runtime = new $Util.RuntimeOptions({});
|
|
12993
14224
|
return await this.deleteDatabaseWithOptions(request, runtime);
|
|
12994
14225
|
}
|
|
14226
|
+
/**
|
|
14227
|
+
* > You can delete a GDN only when the GDN includes only a primary cluster.
|
|
14228
|
+
*
|
|
14229
|
+
* @param request DeleteGlobalDatabaseNetworkRequest
|
|
14230
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14231
|
+
* @return DeleteGlobalDatabaseNetworkResponse
|
|
14232
|
+
*/
|
|
12995
14233
|
async deleteGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
12996
14234
|
tea_util_1.default.validateModel(request);
|
|
12997
14235
|
let query = {};
|
|
@@ -13032,6 +14270,12 @@ class Client extends openapi_client_1.default {
|
|
|
13032
14270
|
});
|
|
13033
14271
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGlobalDatabaseNetworkResponse({}));
|
|
13034
14272
|
}
|
|
14273
|
+
/**
|
|
14274
|
+
* > You can delete a GDN only when the GDN includes only a primary cluster.
|
|
14275
|
+
*
|
|
14276
|
+
* @param request DeleteGlobalDatabaseNetworkRequest
|
|
14277
|
+
* @return DeleteGlobalDatabaseNetworkResponse
|
|
14278
|
+
*/
|
|
13035
14279
|
async deleteGlobalDatabaseNetwork(request) {
|
|
13036
14280
|
let runtime = new $Util.RuntimeOptions({});
|
|
13037
14281
|
return await this.deleteGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
@@ -13115,6 +14359,14 @@ class Client extends openapi_client_1.default {
|
|
|
13115
14359
|
let runtime = new $Util.RuntimeOptions({});
|
|
13116
14360
|
return await this.deleteMaskingRulesWithOptions(request, runtime);
|
|
13117
14361
|
}
|
|
14362
|
+
/**
|
|
14363
|
+
* You can use parameter templates to manage multiple parameters at a time and quickly apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
|
|
14364
|
+
* > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
|
|
14365
|
+
*
|
|
14366
|
+
* @param request DeleteParameterGroupRequest
|
|
14367
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14368
|
+
* @return DeleteParameterGroupResponse
|
|
14369
|
+
*/
|
|
13118
14370
|
async deleteParameterGroupWithOptions(request, runtime) {
|
|
13119
14371
|
tea_util_1.default.validateModel(request);
|
|
13120
14372
|
let query = {};
|
|
@@ -13155,6 +14407,13 @@ class Client extends openapi_client_1.default {
|
|
|
13155
14407
|
});
|
|
13156
14408
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteParameterGroupResponse({}));
|
|
13157
14409
|
}
|
|
14410
|
+
/**
|
|
14411
|
+
* You can use parameter templates to manage multiple parameters at a time and quickly apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
|
|
14412
|
+
* > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
|
|
14413
|
+
*
|
|
14414
|
+
* @param request DeleteParameterGroupRequest
|
|
14415
|
+
* @return DeleteParameterGroupResponse
|
|
14416
|
+
*/
|
|
13158
14417
|
async deleteParameterGroup(request) {
|
|
13159
14418
|
let runtime = new $Util.RuntimeOptions({});
|
|
13160
14419
|
return await this.deleteParameterGroupWithOptions(request, runtime);
|
|
@@ -13523,6 +14782,9 @@ class Client extends openapi_client_1.default {
|
|
|
13523
14782
|
if (!tea_util_1.default.isUnset(request.commodityCode)) {
|
|
13524
14783
|
query["CommodityCode"] = request.commodityCode;
|
|
13525
14784
|
}
|
|
14785
|
+
if (!tea_util_1.default.isUnset(request.masterHa)) {
|
|
14786
|
+
query["MasterHa"] = request.masterHa;
|
|
14787
|
+
}
|
|
13526
14788
|
if (!tea_util_1.default.isUnset(request.orderType)) {
|
|
13527
14789
|
query["OrderType"] = request.orderType;
|
|
13528
14790
|
}
|
|
@@ -13608,6 +14870,9 @@ class Client extends openapi_client_1.default {
|
|
|
13608
14870
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
13609
14871
|
query["DBClusterId"] = request.DBClusterId;
|
|
13610
14872
|
}
|
|
14873
|
+
if (!tea_util_1.default.isUnset(request.describeType)) {
|
|
14874
|
+
query["DescribeType"] = request.describeType;
|
|
14875
|
+
}
|
|
13611
14876
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
13612
14877
|
query["OwnerAccount"] = request.ownerAccount;
|
|
13613
14878
|
}
|
|
@@ -13731,6 +14996,53 @@ class Client extends openapi_client_1.default {
|
|
|
13731
14996
|
let runtime = new $Util.RuntimeOptions({});
|
|
13732
14997
|
return await this.describeDBClusterAvailableResourcesWithOptions(request, runtime);
|
|
13733
14998
|
}
|
|
14999
|
+
async describeDBClusterConnectivityWithOptions(request, runtime) {
|
|
15000
|
+
tea_util_1.default.validateModel(request);
|
|
15001
|
+
let query = {};
|
|
15002
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
15003
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
15004
|
+
}
|
|
15005
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
15006
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
15007
|
+
}
|
|
15008
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
15009
|
+
query["OwnerId"] = request.ownerId;
|
|
15010
|
+
}
|
|
15011
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
15012
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
15013
|
+
}
|
|
15014
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
15015
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
15016
|
+
}
|
|
15017
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
15018
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
15019
|
+
}
|
|
15020
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
15021
|
+
query["SecurityToken"] = request.securityToken;
|
|
15022
|
+
}
|
|
15023
|
+
if (!tea_util_1.default.isUnset(request.sourceIpAddress)) {
|
|
15024
|
+
query["SourceIpAddress"] = request.sourceIpAddress;
|
|
15025
|
+
}
|
|
15026
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15027
|
+
query: openapi_util_1.default.query(query),
|
|
15028
|
+
});
|
|
15029
|
+
let params = new $OpenApi.Params({
|
|
15030
|
+
action: "DescribeDBClusterConnectivity",
|
|
15031
|
+
version: "2017-08-01",
|
|
15032
|
+
protocol: "HTTPS",
|
|
15033
|
+
pathname: "/",
|
|
15034
|
+
method: "POST",
|
|
15035
|
+
authType: "AK",
|
|
15036
|
+
style: "RPC",
|
|
15037
|
+
reqBodyType: "formData",
|
|
15038
|
+
bodyType: "json",
|
|
15039
|
+
});
|
|
15040
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterConnectivityResponse({}));
|
|
15041
|
+
}
|
|
15042
|
+
async describeDBClusterConnectivity(request) {
|
|
15043
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15044
|
+
return await this.describeDBClusterConnectivityWithOptions(request, runtime);
|
|
15045
|
+
}
|
|
13734
15046
|
async describeDBClusterEndpointsWithOptions(request, runtime) {
|
|
13735
15047
|
tea_util_1.default.validateModel(request);
|
|
13736
15048
|
let query = {};
|
|
@@ -13740,6 +15052,9 @@ class Client extends openapi_client_1.default {
|
|
|
13740
15052
|
if (!tea_util_1.default.isUnset(request.DBEndpointId)) {
|
|
13741
15053
|
query["DBEndpointId"] = request.DBEndpointId;
|
|
13742
15054
|
}
|
|
15055
|
+
if (!tea_util_1.default.isUnset(request.describeType)) {
|
|
15056
|
+
query["DescribeType"] = request.describeType;
|
|
15057
|
+
}
|
|
13743
15058
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
13744
15059
|
query["OwnerAccount"] = request.ownerAccount;
|
|
13745
15060
|
}
|
|
@@ -13772,6 +15087,14 @@ class Client extends openapi_client_1.default {
|
|
|
13772
15087
|
let runtime = new $Util.RuntimeOptions({});
|
|
13773
15088
|
return await this.describeDBClusterEndpointsWithOptions(request, runtime);
|
|
13774
15089
|
}
|
|
15090
|
+
/**
|
|
15091
|
+
* * You can call this operation to query the status of data migration from an ApsaraDB RDS instance to a PolarDB cluster. For more information, see [Upgrade ApsaraDB RDS for MySQL to PolarDB for MySQL with one click](~~121582~~).
|
|
15092
|
+
* * Before you call this operation, make sure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](~~98169~~) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**.
|
|
15093
|
+
*
|
|
15094
|
+
* @param request DescribeDBClusterMigrationRequest
|
|
15095
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15096
|
+
* @return DescribeDBClusterMigrationResponse
|
|
15097
|
+
*/
|
|
13775
15098
|
async describeDBClusterMigrationWithOptions(request, runtime) {
|
|
13776
15099
|
tea_util_1.default.validateModel(request);
|
|
13777
15100
|
let query = {};
|
|
@@ -13806,6 +15129,13 @@ class Client extends openapi_client_1.default {
|
|
|
13806
15129
|
});
|
|
13807
15130
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
|
|
13808
15131
|
}
|
|
15132
|
+
/**
|
|
15133
|
+
* * You can call this operation to query the status of data migration from an ApsaraDB RDS instance to a PolarDB cluster. For more information, see [Upgrade ApsaraDB RDS for MySQL to PolarDB for MySQL with one click](~~121582~~).
|
|
15134
|
+
* * Before you call this operation, make sure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](~~98169~~) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**.
|
|
15135
|
+
*
|
|
15136
|
+
* @param request DescribeDBClusterMigrationRequest
|
|
15137
|
+
* @return DescribeDBClusterMigrationResponse
|
|
15138
|
+
*/
|
|
13809
15139
|
async describeDBClusterMigration(request) {
|
|
13810
15140
|
let runtime = new $Util.RuntimeOptions({});
|
|
13811
15141
|
return await this.describeDBClusterMigrationWithOptions(request, runtime);
|
|
@@ -13854,6 +15184,9 @@ class Client extends openapi_client_1.default {
|
|
|
13854
15184
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
13855
15185
|
query["DBClusterId"] = request.DBClusterId;
|
|
13856
15186
|
}
|
|
15187
|
+
if (!tea_util_1.default.isUnset(request.describeType)) {
|
|
15188
|
+
query["DescribeType"] = request.describeType;
|
|
15189
|
+
}
|
|
13857
15190
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
13858
15191
|
query["OwnerAccount"] = request.ownerAccount;
|
|
13859
15192
|
}
|
|
@@ -13886,6 +15219,24 @@ class Client extends openapi_client_1.default {
|
|
|
13886
15219
|
let runtime = new $Util.RuntimeOptions({});
|
|
13887
15220
|
return await this.describeDBClusterParametersWithOptions(request, runtime);
|
|
13888
15221
|
}
|
|
15222
|
+
/**
|
|
15223
|
+
* * When the monitoring data is collected every 5 seconds:
|
|
15224
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
15225
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15226
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15227
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15228
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15229
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
15230
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15231
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15232
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15233
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15234
|
+
* > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](~~159557~~) operation to set the data collection interval to every 5 seconds.
|
|
15235
|
+
*
|
|
15236
|
+
* @param request DescribeDBClusterPerformanceRequest
|
|
15237
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15238
|
+
* @return DescribeDBClusterPerformanceResponse
|
|
15239
|
+
*/
|
|
13889
15240
|
async describeDBClusterPerformanceWithOptions(request, runtime) {
|
|
13890
15241
|
tea_util_1.default.validateModel(request);
|
|
13891
15242
|
let query = {};
|
|
@@ -13917,6 +15268,23 @@ class Client extends openapi_client_1.default {
|
|
|
13917
15268
|
});
|
|
13918
15269
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
|
|
13919
15270
|
}
|
|
15271
|
+
/**
|
|
15272
|
+
* * When the monitoring data is collected every 5 seconds:
|
|
15273
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
15274
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15275
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15276
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15277
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15278
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
15279
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15280
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15281
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15282
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15283
|
+
* > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](~~159557~~) operation to set the data collection interval to every 5 seconds.
|
|
15284
|
+
*
|
|
15285
|
+
* @param request DescribeDBClusterPerformanceRequest
|
|
15286
|
+
* @return DescribeDBClusterPerformanceResponse
|
|
15287
|
+
*/
|
|
13920
15288
|
async describeDBClusterPerformance(request) {
|
|
13921
15289
|
let runtime = new $Util.RuntimeOptions({});
|
|
13922
15290
|
return await this.describeDBClusterPerformanceWithOptions(request, runtime);
|
|
@@ -14035,6 +15403,13 @@ class Client extends openapi_client_1.default {
|
|
|
14035
15403
|
let runtime = new $Util.RuntimeOptions({});
|
|
14036
15404
|
return await this.describeDBClusterTDEWithOptions(request, runtime);
|
|
14037
15405
|
}
|
|
15406
|
+
/**
|
|
15407
|
+
* > For more information, see [Engine versions](~~471239~~) and [PolarDB for MySQL](~~172561~~).
|
|
15408
|
+
*
|
|
15409
|
+
* @param request DescribeDBClusterVersionRequest
|
|
15410
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15411
|
+
* @return DescribeDBClusterVersionResponse
|
|
15412
|
+
*/
|
|
14038
15413
|
async describeDBClusterVersionWithOptions(request, runtime) {
|
|
14039
15414
|
tea_util_1.default.validateModel(request);
|
|
14040
15415
|
let query = {};
|
|
@@ -14069,6 +15444,12 @@ class Client extends openapi_client_1.default {
|
|
|
14069
15444
|
});
|
|
14070
15445
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterVersionResponse({}));
|
|
14071
15446
|
}
|
|
15447
|
+
/**
|
|
15448
|
+
* > For more information, see [Engine versions](~~471239~~) and [PolarDB for MySQL](~~172561~~).
|
|
15449
|
+
*
|
|
15450
|
+
* @param request DescribeDBClusterVersionRequest
|
|
15451
|
+
* @return DescribeDBClusterVersionResponse
|
|
15452
|
+
*/
|
|
14072
15453
|
async describeDBClusterVersion(request) {
|
|
14073
15454
|
let runtime = new $Util.RuntimeOptions({});
|
|
14074
15455
|
return await this.describeDBClusterVersionWithOptions(request, runtime);
|
|
@@ -14256,6 +15637,13 @@ class Client extends openapi_client_1.default {
|
|
|
14256
15637
|
let runtime = new $Util.RuntimeOptions({});
|
|
14257
15638
|
return await this.describeDBInitializeVariableWithOptions(request, runtime);
|
|
14258
15639
|
}
|
|
15640
|
+
/**
|
|
15641
|
+
* > You can query only the database links that use a PolarDB for Oracle cluster as the source.
|
|
15642
|
+
*
|
|
15643
|
+
* @param request DescribeDBLinksRequest
|
|
15644
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15645
|
+
* @return DescribeDBLinksResponse
|
|
15646
|
+
*/
|
|
14259
15647
|
async describeDBLinksWithOptions(request, runtime) {
|
|
14260
15648
|
tea_util_1.default.validateModel(request);
|
|
14261
15649
|
let query = {};
|
|
@@ -14293,10 +15681,34 @@ class Client extends openapi_client_1.default {
|
|
|
14293
15681
|
});
|
|
14294
15682
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBLinksResponse({}));
|
|
14295
15683
|
}
|
|
15684
|
+
/**
|
|
15685
|
+
* > You can query only the database links that use a PolarDB for Oracle cluster as the source.
|
|
15686
|
+
*
|
|
15687
|
+
* @param request DescribeDBLinksRequest
|
|
15688
|
+
* @return DescribeDBLinksResponse
|
|
15689
|
+
*/
|
|
14296
15690
|
async describeDBLinks(request) {
|
|
14297
15691
|
let runtime = new $Util.RuntimeOptions({});
|
|
14298
15692
|
return await this.describeDBLinksWithOptions(request, runtime);
|
|
14299
15693
|
}
|
|
15694
|
+
/**
|
|
15695
|
+
* * When the monitoring data is collected every 5 seconds:
|
|
15696
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
15697
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15698
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15699
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15700
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15701
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
15702
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15703
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15704
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15705
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15706
|
+
* > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](~~159557~~) operation to set the data collection interval to every 5 seconds.
|
|
15707
|
+
*
|
|
15708
|
+
* @param request DescribeDBNodePerformanceRequest
|
|
15709
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15710
|
+
* @return DescribeDBNodePerformanceResponse
|
|
15711
|
+
*/
|
|
14300
15712
|
async describeDBNodePerformanceWithOptions(request, runtime) {
|
|
14301
15713
|
tea_util_1.default.validateModel(request);
|
|
14302
15714
|
let query = {};
|
|
@@ -14331,6 +15743,23 @@ class Client extends openapi_client_1.default {
|
|
|
14331
15743
|
});
|
|
14332
15744
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBNodePerformanceResponse({}));
|
|
14333
15745
|
}
|
|
15746
|
+
/**
|
|
15747
|
+
* * When the monitoring data is collected every 5 seconds:
|
|
15748
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
15749
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15750
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15751
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15752
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15753
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
15754
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15755
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15756
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15757
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15758
|
+
* > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](~~159557~~) operation to set the data collection interval to every 5 seconds.
|
|
15759
|
+
*
|
|
15760
|
+
* @param request DescribeDBNodePerformanceRequest
|
|
15761
|
+
* @return DescribeDBNodePerformanceResponse
|
|
15762
|
+
*/
|
|
14334
15763
|
async describeDBNodePerformance(request) {
|
|
14335
15764
|
let runtime = new $Util.RuntimeOptions({});
|
|
14336
15765
|
return await this.describeDBNodePerformanceWithOptions(request, runtime);
|
|
@@ -14376,6 +15805,13 @@ class Client extends openapi_client_1.default {
|
|
|
14376
15805
|
let runtime = new $Util.RuntimeOptions({});
|
|
14377
15806
|
return await this.describeDBNodesParametersWithOptions(request, runtime);
|
|
14378
15807
|
}
|
|
15808
|
+
/**
|
|
15809
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
15810
|
+
*
|
|
15811
|
+
* @param request DescribeDBProxyPerformanceRequest
|
|
15812
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15813
|
+
* @return DescribeDBProxyPerformanceResponse
|
|
15814
|
+
*/
|
|
14379
15815
|
async describeDBProxyPerformanceWithOptions(request, runtime) {
|
|
14380
15816
|
tea_util_1.default.validateModel(request);
|
|
14381
15817
|
let query = {};
|
|
@@ -14407,6 +15843,12 @@ class Client extends openapi_client_1.default {
|
|
|
14407
15843
|
});
|
|
14408
15844
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBProxyPerformanceResponse({}));
|
|
14409
15845
|
}
|
|
15846
|
+
/**
|
|
15847
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
15848
|
+
*
|
|
15849
|
+
* @param request DescribeDBProxyPerformanceRequest
|
|
15850
|
+
* @return DescribeDBProxyPerformanceResponse
|
|
15851
|
+
*/
|
|
14410
15852
|
async describeDBProxyPerformance(request) {
|
|
14411
15853
|
let runtime = new $Util.RuntimeOptions({});
|
|
14412
15854
|
return await this.describeDBProxyPerformanceWithOptions(request, runtime);
|
|
@@ -14458,6 +15900,14 @@ class Client extends openapi_client_1.default {
|
|
|
14458
15900
|
let runtime = new $Util.RuntimeOptions({});
|
|
14459
15901
|
return await this.describeDatabasesWithOptions(request, runtime);
|
|
14460
15902
|
}
|
|
15903
|
+
/**
|
|
15904
|
+
* Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
|
|
15905
|
+
* > You can call the [DescribeDBClusterAttribute](~~98181~~) operation to query the cluster status.
|
|
15906
|
+
*
|
|
15907
|
+
* @param request DescribeDetachedBackupsRequest
|
|
15908
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15909
|
+
* @return DescribeDetachedBackupsResponse
|
|
15910
|
+
*/
|
|
14461
15911
|
async describeDetachedBackupsWithOptions(request, runtime) {
|
|
14462
15912
|
tea_util_1.default.validateModel(request);
|
|
14463
15913
|
let query = {};
|
|
@@ -14516,6 +15966,13 @@ class Client extends openapi_client_1.default {
|
|
|
14516
15966
|
});
|
|
14517
15967
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDetachedBackupsResponse({}));
|
|
14518
15968
|
}
|
|
15969
|
+
/**
|
|
15970
|
+
* Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
|
|
15971
|
+
* > You can call the [DescribeDBClusterAttribute](~~98181~~) operation to query the cluster status.
|
|
15972
|
+
*
|
|
15973
|
+
* @param request DescribeDetachedBackupsRequest
|
|
15974
|
+
* @return DescribeDetachedBackupsResponse
|
|
15975
|
+
*/
|
|
14519
15976
|
async describeDetachedBackups(request) {
|
|
14520
15977
|
let runtime = new $Util.RuntimeOptions({});
|
|
14521
15978
|
return await this.describeDetachedBackupsWithOptions(request, runtime);
|
|
@@ -14570,6 +16027,9 @@ class Client extends openapi_client_1.default {
|
|
|
14570
16027
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
14571
16028
|
query["DBClusterId"] = request.DBClusterId;
|
|
14572
16029
|
}
|
|
16030
|
+
if (!tea_util_1.default.isUnset(request.filterRegion)) {
|
|
16031
|
+
query["FilterRegion"] = request.filterRegion;
|
|
16032
|
+
}
|
|
14573
16033
|
if (!tea_util_1.default.isUnset(request.GDNDescription)) {
|
|
14574
16034
|
query["GDNDescription"] = request.GDNDescription;
|
|
14575
16035
|
}
|
|
@@ -14837,6 +16297,14 @@ class Client extends openapi_client_1.default {
|
|
|
14837
16297
|
let runtime = new $Util.RuntimeOptions({});
|
|
14838
16298
|
return await this.describeMetaListWithOptions(request, runtime);
|
|
14839
16299
|
}
|
|
16300
|
+
/**
|
|
16301
|
+
* You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
|
|
16302
|
+
* > This parameter is valid only for a PolarDB for MySQL cluster.
|
|
16303
|
+
*
|
|
16304
|
+
* @param request DescribeParameterGroupRequest
|
|
16305
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16306
|
+
* @return DescribeParameterGroupResponse
|
|
16307
|
+
*/
|
|
14840
16308
|
async describeParameterGroupWithOptions(request, runtime) {
|
|
14841
16309
|
tea_util_1.default.validateModel(request);
|
|
14842
16310
|
let query = {};
|
|
@@ -14877,10 +16345,25 @@ class Client extends openapi_client_1.default {
|
|
|
14877
16345
|
});
|
|
14878
16346
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupResponse({}));
|
|
14879
16347
|
}
|
|
16348
|
+
/**
|
|
16349
|
+
* You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
|
|
16350
|
+
* > This parameter is valid only for a PolarDB for MySQL cluster.
|
|
16351
|
+
*
|
|
16352
|
+
* @param request DescribeParameterGroupRequest
|
|
16353
|
+
* @return DescribeParameterGroupResponse
|
|
16354
|
+
*/
|
|
14880
16355
|
async describeParameterGroup(request) {
|
|
14881
16356
|
let runtime = new $Util.RuntimeOptions({});
|
|
14882
16357
|
return await this.describeParameterGroupWithOptions(request, runtime);
|
|
14883
16358
|
}
|
|
16359
|
+
/**
|
|
16360
|
+
* You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
|
|
16361
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16362
|
+
*
|
|
16363
|
+
* @param request DescribeParameterGroupsRequest
|
|
16364
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16365
|
+
* @return DescribeParameterGroupsResponse
|
|
16366
|
+
*/
|
|
14884
16367
|
async describeParameterGroupsWithOptions(request, runtime) {
|
|
14885
16368
|
tea_util_1.default.validateModel(request);
|
|
14886
16369
|
let query = {};
|
|
@@ -14924,6 +16407,13 @@ class Client extends openapi_client_1.default {
|
|
|
14924
16407
|
});
|
|
14925
16408
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupsResponse({}));
|
|
14926
16409
|
}
|
|
16410
|
+
/**
|
|
16411
|
+
* You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
|
|
16412
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16413
|
+
*
|
|
16414
|
+
* @param request DescribeParameterGroupsRequest
|
|
16415
|
+
* @return DescribeParameterGroupsResponse
|
|
16416
|
+
*/
|
|
14927
16417
|
async describeParameterGroups(request) {
|
|
14928
16418
|
let runtime = new $Util.RuntimeOptions({});
|
|
14929
16419
|
return await this.describeParameterGroupsWithOptions(request, runtime);
|
|
@@ -15204,6 +16694,13 @@ class Client extends openapi_client_1.default {
|
|
|
15204
16694
|
let runtime = new $Util.RuntimeOptions({});
|
|
15205
16695
|
return await this.describeScheduleTasksWithOptions(request, runtime);
|
|
15206
16696
|
}
|
|
16697
|
+
/**
|
|
16698
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16699
|
+
*
|
|
16700
|
+
* @param request DescribeSlowLogRecordsRequest
|
|
16701
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16702
|
+
* @return DescribeSlowLogRecordsResponse
|
|
16703
|
+
*/
|
|
15207
16704
|
async describeSlowLogRecordsWithOptions(request, runtime) {
|
|
15208
16705
|
tea_util_1.default.validateModel(request);
|
|
15209
16706
|
let query = {};
|
|
@@ -15259,10 +16756,23 @@ class Client extends openapi_client_1.default {
|
|
|
15259
16756
|
});
|
|
15260
16757
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogRecordsResponse({}));
|
|
15261
16758
|
}
|
|
16759
|
+
/**
|
|
16760
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16761
|
+
*
|
|
16762
|
+
* @param request DescribeSlowLogRecordsRequest
|
|
16763
|
+
* @return DescribeSlowLogRecordsResponse
|
|
16764
|
+
*/
|
|
15262
16765
|
async describeSlowLogRecords(request) {
|
|
15263
16766
|
let runtime = new $Util.RuntimeOptions({});
|
|
15264
16767
|
return await this.describeSlowLogRecordsWithOptions(request, runtime);
|
|
15265
16768
|
}
|
|
16769
|
+
/**
|
|
16770
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16771
|
+
*
|
|
16772
|
+
* @param request DescribeSlowLogsRequest
|
|
16773
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16774
|
+
* @return DescribeSlowLogsResponse
|
|
16775
|
+
*/
|
|
15266
16776
|
async describeSlowLogsWithOptions(request, runtime) {
|
|
15267
16777
|
tea_util_1.default.validateModel(request);
|
|
15268
16778
|
let query = {};
|
|
@@ -15313,29 +16823,103 @@ class Client extends openapi_client_1.default {
|
|
|
15313
16823
|
reqBodyType: "formData",
|
|
15314
16824
|
bodyType: "json",
|
|
15315
16825
|
});
|
|
15316
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogsResponse({}));
|
|
16826
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogsResponse({}));
|
|
16827
|
+
}
|
|
16828
|
+
/**
|
|
16829
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16830
|
+
*
|
|
16831
|
+
* @param request DescribeSlowLogsRequest
|
|
16832
|
+
* @return DescribeSlowLogsResponse
|
|
16833
|
+
*/
|
|
16834
|
+
async describeSlowLogs(request) {
|
|
16835
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
16836
|
+
return await this.describeSlowLogsWithOptions(request, runtime);
|
|
16837
|
+
}
|
|
16838
|
+
/**
|
|
16839
|
+
* * You can call this operation to view the details of a task that is generated by a specific API operation or in the console. The system calls the specific API operation when you perform an operation in the console. For example, you can view the details of the task when you call the [CreateDBCluster](~~98169~~) operation or [create a cluster](~~58769~~) in the console.
|
|
16840
|
+
* * You can view the details of tasks that are generated only when you call the [CreateDBCluster](~~98169~~) operation to create a cluster and `CreationOption` is not set to `CreateGdnStandby`.
|
|
16841
|
+
*
|
|
16842
|
+
* @param request DescribeTasksRequest
|
|
16843
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16844
|
+
* @return DescribeTasksResponse
|
|
16845
|
+
*/
|
|
16846
|
+
async describeTasksWithOptions(request, runtime) {
|
|
16847
|
+
tea_util_1.default.validateModel(request);
|
|
16848
|
+
let query = {};
|
|
16849
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
16850
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
16851
|
+
}
|
|
16852
|
+
if (!tea_util_1.default.isUnset(request.DBNodeId)) {
|
|
16853
|
+
query["DBNodeId"] = request.DBNodeId;
|
|
16854
|
+
}
|
|
16855
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
16856
|
+
query["EndTime"] = request.endTime;
|
|
16857
|
+
}
|
|
16858
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
16859
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
16860
|
+
}
|
|
16861
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
16862
|
+
query["OwnerId"] = request.ownerId;
|
|
16863
|
+
}
|
|
16864
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
16865
|
+
query["PageNumber"] = request.pageNumber;
|
|
16866
|
+
}
|
|
16867
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
16868
|
+
query["PageSize"] = request.pageSize;
|
|
16869
|
+
}
|
|
16870
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
16871
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
16872
|
+
}
|
|
16873
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
16874
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
16875
|
+
}
|
|
16876
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
16877
|
+
query["StartTime"] = request.startTime;
|
|
16878
|
+
}
|
|
16879
|
+
if (!tea_util_1.default.isUnset(request.status)) {
|
|
16880
|
+
query["Status"] = request.status;
|
|
16881
|
+
}
|
|
16882
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16883
|
+
query: openapi_util_1.default.query(query),
|
|
16884
|
+
});
|
|
16885
|
+
let params = new $OpenApi.Params({
|
|
16886
|
+
action: "DescribeTasks",
|
|
16887
|
+
version: "2017-08-01",
|
|
16888
|
+
protocol: "HTTPS",
|
|
16889
|
+
pathname: "/",
|
|
16890
|
+
method: "POST",
|
|
16891
|
+
authType: "AK",
|
|
16892
|
+
style: "RPC",
|
|
16893
|
+
reqBodyType: "formData",
|
|
16894
|
+
bodyType: "json",
|
|
16895
|
+
});
|
|
16896
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
|
|
15317
16897
|
}
|
|
15318
|
-
|
|
16898
|
+
/**
|
|
16899
|
+
* * You can call this operation to view the details of a task that is generated by a specific API operation or in the console. The system calls the specific API operation when you perform an operation in the console. For example, you can view the details of the task when you call the [CreateDBCluster](~~98169~~) operation or [create a cluster](~~58769~~) in the console.
|
|
16900
|
+
* * You can view the details of tasks that are generated only when you call the [CreateDBCluster](~~98169~~) operation to create a cluster and `CreationOption` is not set to `CreateGdnStandby`.
|
|
16901
|
+
*
|
|
16902
|
+
* @param request DescribeTasksRequest
|
|
16903
|
+
* @return DescribeTasksResponse
|
|
16904
|
+
*/
|
|
16905
|
+
async describeTasks(request) {
|
|
15319
16906
|
let runtime = new $Util.RuntimeOptions({});
|
|
15320
|
-
return await this.
|
|
16907
|
+
return await this.describeTasksWithOptions(request, runtime);
|
|
15321
16908
|
}
|
|
15322
|
-
async
|
|
16909
|
+
async describeUserEncryptionKeyListWithOptions(request, runtime) {
|
|
15323
16910
|
tea_util_1.default.validateModel(request);
|
|
15324
16911
|
let query = {};
|
|
16912
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
16913
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
16914
|
+
}
|
|
15325
16915
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
15326
16916
|
query["OwnerAccount"] = request.ownerAccount;
|
|
15327
16917
|
}
|
|
15328
16918
|
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
15329
16919
|
query["OwnerId"] = request.ownerId;
|
|
15330
16920
|
}
|
|
15331
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15332
|
-
query["
|
|
15333
|
-
}
|
|
15334
|
-
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
15335
|
-
query["PageSize"] = request.pageSize;
|
|
15336
|
-
}
|
|
15337
|
-
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
15338
|
-
query["ResourceGroupId"] = request.resourceGroupId;
|
|
16921
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
16922
|
+
query["RegionId"] = request.regionId;
|
|
15339
16923
|
}
|
|
15340
16924
|
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
15341
16925
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
@@ -15343,11 +16927,14 @@ class Client extends openapi_client_1.default {
|
|
|
15343
16927
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
15344
16928
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
15345
16929
|
}
|
|
16930
|
+
if (!tea_util_1.default.isUnset(request.TDERegion)) {
|
|
16931
|
+
query["TDERegion"] = request.TDERegion;
|
|
16932
|
+
}
|
|
15346
16933
|
let req = new $OpenApi.OpenApiRequest({
|
|
15347
16934
|
query: openapi_util_1.default.query(query),
|
|
15348
16935
|
});
|
|
15349
16936
|
let params = new $OpenApi.Params({
|
|
15350
|
-
action: "
|
|
16937
|
+
action: "DescribeUserEncryptionKeyList",
|
|
15351
16938
|
version: "2017-08-01",
|
|
15352
16939
|
protocol: "HTTPS",
|
|
15353
16940
|
pathname: "/",
|
|
@@ -15357,23 +16944,17 @@ class Client extends openapi_client_1.default {
|
|
|
15357
16944
|
reqBodyType: "formData",
|
|
15358
16945
|
bodyType: "json",
|
|
15359
16946
|
});
|
|
15360
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
16947
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserEncryptionKeyListResponse({}));
|
|
15361
16948
|
}
|
|
15362
|
-
async
|
|
16949
|
+
async describeUserEncryptionKeyList(request) {
|
|
15363
16950
|
let runtime = new $Util.RuntimeOptions({});
|
|
15364
|
-
return await this.
|
|
16951
|
+
return await this.describeUserEncryptionKeyListWithOptions(request, runtime);
|
|
15365
16952
|
}
|
|
15366
|
-
async
|
|
16953
|
+
async describeVSwitchesWithOptions(request, runtime) {
|
|
15367
16954
|
tea_util_1.default.validateModel(request);
|
|
15368
16955
|
let query = {};
|
|
15369
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15370
|
-
query["
|
|
15371
|
-
}
|
|
15372
|
-
if (!tea_util_1.default.isUnset(request.DBNodeId)) {
|
|
15373
|
-
query["DBNodeId"] = request.DBNodeId;
|
|
15374
|
-
}
|
|
15375
|
-
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
15376
|
-
query["EndTime"] = request.endTime;
|
|
16956
|
+
if (!tea_util_1.default.isUnset(request.dedicatedHostGroupId)) {
|
|
16957
|
+
query["DedicatedHostGroupId"] = request.dedicatedHostGroupId;
|
|
15377
16958
|
}
|
|
15378
16959
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
15379
16960
|
query["OwnerAccount"] = request.ownerAccount;
|
|
@@ -15387,23 +16968,32 @@ class Client extends openapi_client_1.default {
|
|
|
15387
16968
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
15388
16969
|
query["PageSize"] = request.pageSize;
|
|
15389
16970
|
}
|
|
16971
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
16972
|
+
query["RegionId"] = request.regionId;
|
|
16973
|
+
}
|
|
16974
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
16975
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
16976
|
+
}
|
|
15390
16977
|
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
15391
16978
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
15392
16979
|
}
|
|
15393
16980
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
15394
16981
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
15395
16982
|
}
|
|
15396
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15397
|
-
query["
|
|
16983
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
16984
|
+
query["SecurityToken"] = request.securityToken;
|
|
15398
16985
|
}
|
|
15399
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15400
|
-
query["
|
|
16986
|
+
if (!tea_util_1.default.isUnset(request.vpcId)) {
|
|
16987
|
+
query["VpcId"] = request.vpcId;
|
|
16988
|
+
}
|
|
16989
|
+
if (!tea_util_1.default.isUnset(request.zoneId)) {
|
|
16990
|
+
query["ZoneId"] = request.zoneId;
|
|
15401
16991
|
}
|
|
15402
16992
|
let req = new $OpenApi.OpenApiRequest({
|
|
15403
16993
|
query: openapi_util_1.default.query(query),
|
|
15404
16994
|
});
|
|
15405
16995
|
let params = new $OpenApi.Params({
|
|
15406
|
-
action: "
|
|
16996
|
+
action: "DescribeVSwitches",
|
|
15407
16997
|
version: "2017-08-01",
|
|
15408
16998
|
protocol: "HTTPS",
|
|
15409
16999
|
pathname: "/",
|
|
@@ -15413,11 +17003,11 @@ class Client extends openapi_client_1.default {
|
|
|
15413
17003
|
reqBodyType: "formData",
|
|
15414
17004
|
bodyType: "json",
|
|
15415
17005
|
});
|
|
15416
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
17006
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeVSwitchesResponse({}));
|
|
15417
17007
|
}
|
|
15418
|
-
async
|
|
17008
|
+
async describeVSwitches(request) {
|
|
15419
17009
|
let runtime = new $Util.RuntimeOptions({});
|
|
15420
|
-
return await this.
|
|
17010
|
+
return await this.describeVSwitchesWithOptions(request, runtime);
|
|
15421
17011
|
}
|
|
15422
17012
|
async enableFirewallRulesWithOptions(request, runtime) {
|
|
15423
17013
|
tea_util_1.default.validateModel(request);
|
|
@@ -15572,6 +17162,17 @@ class Client extends openapi_client_1.default {
|
|
|
15572
17162
|
let runtime = new $Util.RuntimeOptions({});
|
|
15573
17163
|
return await this.failoverDBClusterWithOptions(request, runtime);
|
|
15574
17164
|
}
|
|
17165
|
+
/**
|
|
17166
|
+
* > * An account can be authorized to access one or more databases.
|
|
17167
|
+
* > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
|
|
17168
|
+
* > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
17169
|
+
* > * You can call this operation only on a PolarDB for MySQL cluster.
|
|
17170
|
+
* > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
|
|
17171
|
+
*
|
|
17172
|
+
* @param request GrantAccountPrivilegeRequest
|
|
17173
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17174
|
+
* @return GrantAccountPrivilegeResponse
|
|
17175
|
+
*/
|
|
15575
17176
|
async grantAccountPrivilegeWithOptions(request, runtime) {
|
|
15576
17177
|
tea_util_1.default.validateModel(request);
|
|
15577
17178
|
let query = {};
|
|
@@ -15615,6 +17216,16 @@ class Client extends openapi_client_1.default {
|
|
|
15615
17216
|
});
|
|
15616
17217
|
return $tea.cast(await this.callApi(params, req, runtime), new GrantAccountPrivilegeResponse({}));
|
|
15617
17218
|
}
|
|
17219
|
+
/**
|
|
17220
|
+
* > * An account can be authorized to access one or more databases.
|
|
17221
|
+
* > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
|
|
17222
|
+
* > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
17223
|
+
* > * You can call this operation only on a PolarDB for MySQL cluster.
|
|
17224
|
+
* > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
|
|
17225
|
+
*
|
|
17226
|
+
* @param request GrantAccountPrivilegeRequest
|
|
17227
|
+
* @return GrantAccountPrivilegeResponse
|
|
17228
|
+
*/
|
|
15618
17229
|
async grantAccountPrivilege(request) {
|
|
15619
17230
|
let runtime = new $Util.RuntimeOptions({});
|
|
15620
17231
|
return await this.grantAccountPrivilegeWithOptions(request, runtime);
|
|
@@ -15669,6 +17280,47 @@ class Client extends openapi_client_1.default {
|
|
|
15669
17280
|
let runtime = new $Util.RuntimeOptions({});
|
|
15670
17281
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
15671
17282
|
}
|
|
17283
|
+
async manuallyStartDBClusterWithOptions(request, runtime) {
|
|
17284
|
+
tea_util_1.default.validateModel(request);
|
|
17285
|
+
let query = {};
|
|
17286
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
17287
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
17288
|
+
}
|
|
17289
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
17290
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
17291
|
+
}
|
|
17292
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
17293
|
+
query["OwnerId"] = request.ownerId;
|
|
17294
|
+
}
|
|
17295
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
17296
|
+
query["RegionId"] = request.regionId;
|
|
17297
|
+
}
|
|
17298
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
17299
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
17300
|
+
}
|
|
17301
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
17302
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
17303
|
+
}
|
|
17304
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17305
|
+
query: openapi_util_1.default.query(query),
|
|
17306
|
+
});
|
|
17307
|
+
let params = new $OpenApi.Params({
|
|
17308
|
+
action: "ManuallyStartDBCluster",
|
|
17309
|
+
version: "2017-08-01",
|
|
17310
|
+
protocol: "HTTPS",
|
|
17311
|
+
pathname: "/",
|
|
17312
|
+
method: "POST",
|
|
17313
|
+
authType: "AK",
|
|
17314
|
+
style: "RPC",
|
|
17315
|
+
reqBodyType: "formData",
|
|
17316
|
+
bodyType: "json",
|
|
17317
|
+
});
|
|
17318
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ManuallyStartDBClusterResponse({}));
|
|
17319
|
+
}
|
|
17320
|
+
async manuallyStartDBCluster(request) {
|
|
17321
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17322
|
+
return await this.manuallyStartDBClusterWithOptions(request, runtime);
|
|
17323
|
+
}
|
|
15672
17324
|
async modifyAccountDescriptionWithOptions(request, runtime) {
|
|
15673
17325
|
tea_util_1.default.validateModel(request);
|
|
15674
17326
|
let query = {};
|
|
@@ -15810,6 +17462,13 @@ class Client extends openapi_client_1.default {
|
|
|
15810
17462
|
let runtime = new $Util.RuntimeOptions({});
|
|
15811
17463
|
return await this.modifyAutoRenewAttributeWithOptions(request, runtime);
|
|
15812
17464
|
}
|
|
17465
|
+
/**
|
|
17466
|
+
* > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](~~280422~~).
|
|
17467
|
+
*
|
|
17468
|
+
* @param request ModifyBackupPolicyRequest
|
|
17469
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17470
|
+
* @return ModifyBackupPolicyResponse
|
|
17471
|
+
*/
|
|
15813
17472
|
async modifyBackupPolicyWithOptions(request, runtime) {
|
|
15814
17473
|
tea_util_1.default.validateModel(request);
|
|
15815
17474
|
let query = {};
|
|
@@ -15880,10 +17539,69 @@ class Client extends openapi_client_1.default {
|
|
|
15880
17539
|
});
|
|
15881
17540
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
|
|
15882
17541
|
}
|
|
17542
|
+
/**
|
|
17543
|
+
* > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](~~280422~~).
|
|
17544
|
+
*
|
|
17545
|
+
* @param request ModifyBackupPolicyRequest
|
|
17546
|
+
* @return ModifyBackupPolicyResponse
|
|
17547
|
+
*/
|
|
15883
17548
|
async modifyBackupPolicy(request) {
|
|
15884
17549
|
let runtime = new $Util.RuntimeOptions({});
|
|
15885
17550
|
return await this.modifyBackupPolicyWithOptions(request, runtime);
|
|
15886
17551
|
}
|
|
17552
|
+
async modifyDBClusterWithOptions(request, runtime) {
|
|
17553
|
+
tea_util_1.default.validateModel(request);
|
|
17554
|
+
let query = {};
|
|
17555
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
17556
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
17557
|
+
}
|
|
17558
|
+
if (!tea_util_1.default.isUnset(request.dataSyncMode)) {
|
|
17559
|
+
query["DataSyncMode"] = request.dataSyncMode;
|
|
17560
|
+
}
|
|
17561
|
+
if (!tea_util_1.default.isUnset(request.faultSimulateMode)) {
|
|
17562
|
+
query["FaultSimulateMode"] = request.faultSimulateMode;
|
|
17563
|
+
}
|
|
17564
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
17565
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
17566
|
+
}
|
|
17567
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
17568
|
+
query["OwnerId"] = request.ownerId;
|
|
17569
|
+
}
|
|
17570
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
17571
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
17572
|
+
}
|
|
17573
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
17574
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
17575
|
+
}
|
|
17576
|
+
if (!tea_util_1.default.isUnset(request.standbyHAMode)) {
|
|
17577
|
+
query["StandbyHAMode"] = request.standbyHAMode;
|
|
17578
|
+
}
|
|
17579
|
+
if (!tea_util_1.default.isUnset(request.storageAutoScale)) {
|
|
17580
|
+
query["StorageAutoScale"] = request.storageAutoScale;
|
|
17581
|
+
}
|
|
17582
|
+
if (!tea_util_1.default.isUnset(request.storageUpperBound)) {
|
|
17583
|
+
query["StorageUpperBound"] = request.storageUpperBound;
|
|
17584
|
+
}
|
|
17585
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17586
|
+
query: openapi_util_1.default.query(query),
|
|
17587
|
+
});
|
|
17588
|
+
let params = new $OpenApi.Params({
|
|
17589
|
+
action: "ModifyDBCluster",
|
|
17590
|
+
version: "2017-08-01",
|
|
17591
|
+
protocol: "HTTPS",
|
|
17592
|
+
pathname: "/",
|
|
17593
|
+
method: "POST",
|
|
17594
|
+
authType: "AK",
|
|
17595
|
+
style: "RPC",
|
|
17596
|
+
reqBodyType: "formData",
|
|
17597
|
+
bodyType: "json",
|
|
17598
|
+
});
|
|
17599
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
|
|
17600
|
+
}
|
|
17601
|
+
async modifyDBCluster(request) {
|
|
17602
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17603
|
+
return await this.modifyDBClusterWithOptions(request, runtime);
|
|
17604
|
+
}
|
|
15887
17605
|
async modifyDBClusterAccessWhitelistWithOptions(request, runtime) {
|
|
15888
17606
|
tea_util_1.default.validateModel(request);
|
|
15889
17607
|
let query = {};
|
|
@@ -16175,6 +17893,13 @@ class Client extends openapi_client_1.default {
|
|
|
16175
17893
|
let runtime = new $Util.RuntimeOptions({});
|
|
16176
17894
|
return await this.modifyDBClusterEndpointWithOptions(request, runtime);
|
|
16177
17895
|
}
|
|
17896
|
+
/**
|
|
17897
|
+
* > We recommend that you set the routine maintenance window to off-peak hours. Alibaba Cloud maintains your cluster within the specified maintenance window to minimize the negative impacts on your business.
|
|
17898
|
+
*
|
|
17899
|
+
* @param request ModifyDBClusterMaintainTimeRequest
|
|
17900
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17901
|
+
* @return ModifyDBClusterMaintainTimeResponse
|
|
17902
|
+
*/
|
|
16178
17903
|
async modifyDBClusterMaintainTimeWithOptions(request, runtime) {
|
|
16179
17904
|
tea_util_1.default.validateModel(request);
|
|
16180
17905
|
let query = {};
|
|
@@ -16212,10 +17937,25 @@ class Client extends openapi_client_1.default {
|
|
|
16212
17937
|
});
|
|
16213
17938
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
|
|
16214
17939
|
}
|
|
17940
|
+
/**
|
|
17941
|
+
* > We recommend that you set the routine maintenance window to off-peak hours. Alibaba Cloud maintains your cluster within the specified maintenance window to minimize the negative impacts on your business.
|
|
17942
|
+
*
|
|
17943
|
+
* @param request ModifyDBClusterMaintainTimeRequest
|
|
17944
|
+
* @return ModifyDBClusterMaintainTimeResponse
|
|
17945
|
+
*/
|
|
16215
17946
|
async modifyDBClusterMaintainTime(request) {
|
|
16216
17947
|
let runtime = new $Util.RuntimeOptions({});
|
|
16217
17948
|
return await this.modifyDBClusterMaintainTimeWithOptions(request, runtime);
|
|
16218
17949
|
}
|
|
17950
|
+
/**
|
|
17951
|
+
* * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
17952
|
+
* * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
17953
|
+
* > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](~~98169~~) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](~~121582~~).
|
|
17954
|
+
*
|
|
17955
|
+
* @param request ModifyDBClusterMigrationRequest
|
|
17956
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17957
|
+
* @return ModifyDBClusterMigrationResponse
|
|
17958
|
+
*/
|
|
16219
17959
|
async modifyDBClusterMigrationWithOptions(request, runtime) {
|
|
16220
17960
|
tea_util_1.default.validateModel(request);
|
|
16221
17961
|
let query = {};
|
|
@@ -16265,10 +18005,35 @@ class Client extends openapi_client_1.default {
|
|
|
16265
18005
|
});
|
|
16266
18006
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMigrationResponse({}));
|
|
16267
18007
|
}
|
|
18008
|
+
/**
|
|
18009
|
+
* * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
18010
|
+
* * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
18011
|
+
* > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](~~98169~~) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](~~121582~~).
|
|
18012
|
+
*
|
|
18013
|
+
* @param request ModifyDBClusterMigrationRequest
|
|
18014
|
+
* @return ModifyDBClusterMigrationResponse
|
|
18015
|
+
*/
|
|
16268
18016
|
async modifyDBClusterMigration(request) {
|
|
16269
18017
|
let runtime = new $Util.RuntimeOptions({});
|
|
16270
18018
|
return await this.modifyDBClusterMigrationWithOptions(request, runtime);
|
|
16271
18019
|
}
|
|
18020
|
+
/**
|
|
18021
|
+
* * When the monitoring data is collected every 5 seconds:
|
|
18022
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
18023
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
18024
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
18025
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
18026
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
18027
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
18028
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
18029
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
18030
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
18031
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
18032
|
+
*
|
|
18033
|
+
* @param request ModifyDBClusterMonitorRequest
|
|
18034
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18035
|
+
* @return ModifyDBClusterMonitorResponse
|
|
18036
|
+
*/
|
|
16272
18037
|
async modifyDBClusterMonitorWithOptions(request, runtime) {
|
|
16273
18038
|
tea_util_1.default.validateModel(request);
|
|
16274
18039
|
let query = {};
|
|
@@ -16306,10 +18071,35 @@ class Client extends openapi_client_1.default {
|
|
|
16306
18071
|
});
|
|
16307
18072
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMonitorResponse({}));
|
|
16308
18073
|
}
|
|
18074
|
+
/**
|
|
18075
|
+
* * When the monitoring data is collected every 5 seconds:
|
|
18076
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
18077
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
18078
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
18079
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
18080
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
18081
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
18082
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
18083
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
18084
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
18085
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
18086
|
+
*
|
|
18087
|
+
* @param request ModifyDBClusterMonitorRequest
|
|
18088
|
+
* @return ModifyDBClusterMonitorResponse
|
|
18089
|
+
*/
|
|
16309
18090
|
async modifyDBClusterMonitor(request) {
|
|
16310
18091
|
let runtime = new $Util.RuntimeOptions({});
|
|
16311
18092
|
return await this.modifyDBClusterMonitorWithOptions(request, runtime);
|
|
16312
18093
|
}
|
|
18094
|
+
/**
|
|
18095
|
+
* PolarDB supports the parameter template feature to centrally manage clusters. You can configure a number of parameters at a time by using a parameter template and apply the template to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
|
|
18096
|
+
* **
|
|
18097
|
+
* **Only PolarDB for MySQL clusters support parameter templates.
|
|
18098
|
+
*
|
|
18099
|
+
* @param request ModifyDBClusterParametersRequest
|
|
18100
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18101
|
+
* @return ModifyDBClusterParametersResponse
|
|
18102
|
+
*/
|
|
16313
18103
|
async modifyDBClusterParametersWithOptions(request, runtime) {
|
|
16314
18104
|
tea_util_1.default.validateModel(request);
|
|
16315
18105
|
let query = {};
|
|
@@ -16359,6 +18149,14 @@ class Client extends openapi_client_1.default {
|
|
|
16359
18149
|
});
|
|
16360
18150
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterParametersResponse({}));
|
|
16361
18151
|
}
|
|
18152
|
+
/**
|
|
18153
|
+
* PolarDB supports the parameter template feature to centrally manage clusters. You can configure a number of parameters at a time by using a parameter template and apply the template to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
|
|
18154
|
+
* **
|
|
18155
|
+
* **Only PolarDB for MySQL clusters support parameter templates.
|
|
18156
|
+
*
|
|
18157
|
+
* @param request ModifyDBClusterParametersRequest
|
|
18158
|
+
* @return ModifyDBClusterParametersResponse
|
|
18159
|
+
*/
|
|
16362
18160
|
async modifyDBClusterParameters(request) {
|
|
16363
18161
|
let runtime = new $Util.RuntimeOptions({});
|
|
16364
18162
|
return await this.modifyDBClusterParametersWithOptions(request, runtime);
|
|
@@ -16372,6 +18170,9 @@ class Client extends openapi_client_1.default {
|
|
|
16372
18170
|
if (!tea_util_1.default.isUnset(request.fromTimeService)) {
|
|
16373
18171
|
query["FromTimeService"] = request.fromTimeService;
|
|
16374
18172
|
}
|
|
18173
|
+
if (!tea_util_1.default.isUnset(request.isSwitchOverForDisaster)) {
|
|
18174
|
+
query["IsSwitchOverForDisaster"] = request.isSwitchOverForDisaster;
|
|
18175
|
+
}
|
|
16375
18176
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
16376
18177
|
query["OwnerAccount"] = request.ownerAccount;
|
|
16377
18178
|
}
|
|
@@ -16390,6 +18191,9 @@ class Client extends openapi_client_1.default {
|
|
|
16390
18191
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
16391
18192
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
16392
18193
|
}
|
|
18194
|
+
if (!tea_util_1.default.isUnset(request.VPCId)) {
|
|
18195
|
+
query["VPCId"] = request.VPCId;
|
|
18196
|
+
}
|
|
16393
18197
|
if (!tea_util_1.default.isUnset(request.vSwitchId)) {
|
|
16394
18198
|
query["VSwitchId"] = request.vSwitchId;
|
|
16395
18199
|
}
|
|
@@ -16566,6 +18370,67 @@ class Client extends openapi_client_1.default {
|
|
|
16566
18370
|
let runtime = new $Util.RuntimeOptions({});
|
|
16567
18371
|
return await this.modifyDBClusterServerlessConfWithOptions(request, runtime);
|
|
16568
18372
|
}
|
|
18373
|
+
async modifyDBClusterStorageSpaceWithOptions(request, runtime) {
|
|
18374
|
+
tea_util_1.default.validateModel(request);
|
|
18375
|
+
let query = {};
|
|
18376
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
18377
|
+
query["ClientToken"] = request.clientToken;
|
|
18378
|
+
}
|
|
18379
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
18380
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
18381
|
+
}
|
|
18382
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
18383
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
18384
|
+
}
|
|
18385
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
18386
|
+
query["OwnerId"] = request.ownerId;
|
|
18387
|
+
}
|
|
18388
|
+
if (!tea_util_1.default.isUnset(request.plannedEndTime)) {
|
|
18389
|
+
query["PlannedEndTime"] = request.plannedEndTime;
|
|
18390
|
+
}
|
|
18391
|
+
if (!tea_util_1.default.isUnset(request.plannedStartTime)) {
|
|
18392
|
+
query["PlannedStartTime"] = request.plannedStartTime;
|
|
18393
|
+
}
|
|
18394
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
18395
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
18396
|
+
}
|
|
18397
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
18398
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
18399
|
+
}
|
|
18400
|
+
if (!tea_util_1.default.isUnset(request.storageSpace)) {
|
|
18401
|
+
query["StorageSpace"] = request.storageSpace;
|
|
18402
|
+
}
|
|
18403
|
+
if (!tea_util_1.default.isUnset(request.subCategory)) {
|
|
18404
|
+
query["SubCategory"] = request.subCategory;
|
|
18405
|
+
}
|
|
18406
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18407
|
+
query: openapi_util_1.default.query(query),
|
|
18408
|
+
});
|
|
18409
|
+
let params = new $OpenApi.Params({
|
|
18410
|
+
action: "ModifyDBClusterStorageSpace",
|
|
18411
|
+
version: "2017-08-01",
|
|
18412
|
+
protocol: "HTTPS",
|
|
18413
|
+
pathname: "/",
|
|
18414
|
+
method: "POST",
|
|
18415
|
+
authType: "AK",
|
|
18416
|
+
style: "RPC",
|
|
18417
|
+
reqBodyType: "formData",
|
|
18418
|
+
bodyType: "json",
|
|
18419
|
+
});
|
|
18420
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterStorageSpaceResponse({}));
|
|
18421
|
+
}
|
|
18422
|
+
async modifyDBClusterStorageSpace(request) {
|
|
18423
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
18424
|
+
return await this.modifyDBClusterStorageSpaceWithOptions(request, runtime);
|
|
18425
|
+
}
|
|
18426
|
+
/**
|
|
18427
|
+
* > * To perform this operation, you must activate KMS first. For more information, see [Purchase a dedicated KMS instance](~~153781~~).
|
|
18428
|
+
* > * After TDE is enabled, you cannot disable TDE.
|
|
18429
|
+
*
|
|
18430
|
+
* @param request ModifyDBClusterTDERequest
|
|
18431
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18432
|
+
* @return ModifyDBClusterTDEResponse
|
|
18433
|
+
*/
|
|
16569
18434
|
async modifyDBClusterTDEWithOptions(request, runtime) {
|
|
16570
18435
|
tea_util_1.default.validateModel(request);
|
|
16571
18436
|
let query = {};
|
|
@@ -16612,6 +18477,13 @@ class Client extends openapi_client_1.default {
|
|
|
16612
18477
|
});
|
|
16613
18478
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterTDEResponse({}));
|
|
16614
18479
|
}
|
|
18480
|
+
/**
|
|
18481
|
+
* > * To perform this operation, you must activate KMS first. For more information, see [Purchase a dedicated KMS instance](~~153781~~).
|
|
18482
|
+
* > * After TDE is enabled, you cannot disable TDE.
|
|
18483
|
+
*
|
|
18484
|
+
* @param request ModifyDBClusterTDERequest
|
|
18485
|
+
* @return ModifyDBClusterTDEResponse
|
|
18486
|
+
*/
|
|
16615
18487
|
async modifyDBClusterTDE(request) {
|
|
16616
18488
|
let runtime = new $Util.RuntimeOptions({});
|
|
16617
18489
|
return await this.modifyDBClusterTDEWithOptions(request, runtime);
|
|
@@ -16772,6 +18644,50 @@ class Client extends openapi_client_1.default {
|
|
|
16772
18644
|
let runtime = new $Util.RuntimeOptions({});
|
|
16773
18645
|
return await this.modifyDBNodeClassWithOptions(request, runtime);
|
|
16774
18646
|
}
|
|
18647
|
+
async modifyDBNodeHotReplicaModeWithOptions(request, runtime) {
|
|
18648
|
+
tea_util_1.default.validateModel(request);
|
|
18649
|
+
let query = {};
|
|
18650
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
18651
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
18652
|
+
}
|
|
18653
|
+
if (!tea_util_1.default.isUnset(request.DBNodeId)) {
|
|
18654
|
+
query["DBNodeId"] = request.DBNodeId;
|
|
18655
|
+
}
|
|
18656
|
+
if (!tea_util_1.default.isUnset(request.hotReplicaMode)) {
|
|
18657
|
+
query["HotReplicaMode"] = request.hotReplicaMode;
|
|
18658
|
+
}
|
|
18659
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
18660
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
18661
|
+
}
|
|
18662
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
18663
|
+
query["OwnerId"] = request.ownerId;
|
|
18664
|
+
}
|
|
18665
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
18666
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
18667
|
+
}
|
|
18668
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
18669
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
18670
|
+
}
|
|
18671
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18672
|
+
query: openapi_util_1.default.query(query),
|
|
18673
|
+
});
|
|
18674
|
+
let params = new $OpenApi.Params({
|
|
18675
|
+
action: "ModifyDBNodeHotReplicaMode",
|
|
18676
|
+
version: "2017-08-01",
|
|
18677
|
+
protocol: "HTTPS",
|
|
18678
|
+
pathname: "/",
|
|
18679
|
+
method: "POST",
|
|
18680
|
+
authType: "AK",
|
|
18681
|
+
style: "RPC",
|
|
18682
|
+
reqBodyType: "formData",
|
|
18683
|
+
bodyType: "json",
|
|
18684
|
+
});
|
|
18685
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodeHotReplicaModeResponse({}));
|
|
18686
|
+
}
|
|
18687
|
+
async modifyDBNodeHotReplicaMode(request) {
|
|
18688
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
18689
|
+
return await this.modifyDBNodeHotReplicaModeWithOptions(request, runtime);
|
|
18690
|
+
}
|
|
16775
18691
|
async modifyDBNodesClassWithOptions(request, runtime) {
|
|
16776
18692
|
tea_util_1.default.validateModel(request);
|
|
16777
18693
|
let query = {};
|
|
@@ -17225,6 +19141,12 @@ class Client extends openapi_client_1.default {
|
|
|
17225
19141
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
17226
19142
|
query["DBClusterId"] = request.DBClusterId;
|
|
17227
19143
|
}
|
|
19144
|
+
if (!tea_util_1.default.isUnset(request.describeType)) {
|
|
19145
|
+
query["DescribeType"] = request.describeType;
|
|
19146
|
+
}
|
|
19147
|
+
if (!tea_util_1.default.isUnset(request.nodeType)) {
|
|
19148
|
+
query["NodeType"] = request.nodeType;
|
|
19149
|
+
}
|
|
17228
19150
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
17229
19151
|
query["OwnerAccount"] = request.ownerAccount;
|
|
17230
19152
|
}
|
|
@@ -17307,6 +19229,13 @@ class Client extends openapi_client_1.default {
|
|
|
17307
19229
|
let runtime = new $Util.RuntimeOptions({});
|
|
17308
19230
|
return await this.refreshDBClusterStorageUsageWithOptions(request, runtime);
|
|
17309
19231
|
}
|
|
19232
|
+
/**
|
|
19233
|
+
* > You cannot remove the primary cluster from a GDN.
|
|
19234
|
+
*
|
|
19235
|
+
* @param request RemoveDBClusterFromGDNRequest
|
|
19236
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19237
|
+
* @return RemoveDBClusterFromGDNResponse
|
|
19238
|
+
*/
|
|
17310
19239
|
async removeDBClusterFromGDNWithOptions(request, runtime) {
|
|
17311
19240
|
tea_util_1.default.validateModel(request);
|
|
17312
19241
|
let query = {};
|
|
@@ -17347,10 +19276,24 @@ class Client extends openapi_client_1.default {
|
|
|
17347
19276
|
});
|
|
17348
19277
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveDBClusterFromGDNResponse({}));
|
|
17349
19278
|
}
|
|
19279
|
+
/**
|
|
19280
|
+
* > You cannot remove the primary cluster from a GDN.
|
|
19281
|
+
*
|
|
19282
|
+
* @param request RemoveDBClusterFromGDNRequest
|
|
19283
|
+
* @return RemoveDBClusterFromGDNResponse
|
|
19284
|
+
*/
|
|
17350
19285
|
async removeDBClusterFromGDN(request) {
|
|
17351
19286
|
let runtime = new $Util.RuntimeOptions({});
|
|
17352
19287
|
return await this.removeDBClusterFromGDNWithOptions(request, runtime);
|
|
17353
19288
|
}
|
|
19289
|
+
/**
|
|
19290
|
+
* >- Only PolarDB for MySQL clusters support this operation.
|
|
19291
|
+
* >- If the privileged account of your cluster encounters exceptions, you can call this operation to reset the permissions. For example, the permissions are accidentally revoked.
|
|
19292
|
+
*
|
|
19293
|
+
* @param request ResetAccountRequest
|
|
19294
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19295
|
+
* @return ResetAccountResponse
|
|
19296
|
+
*/
|
|
17354
19297
|
async resetAccountWithOptions(request, runtime) {
|
|
17355
19298
|
tea_util_1.default.validateModel(request);
|
|
17356
19299
|
let query = {};
|
|
@@ -17391,10 +19334,64 @@ class Client extends openapi_client_1.default {
|
|
|
17391
19334
|
});
|
|
17392
19335
|
return $tea.cast(await this.callApi(params, req, runtime), new ResetAccountResponse({}));
|
|
17393
19336
|
}
|
|
19337
|
+
/**
|
|
19338
|
+
* >- Only PolarDB for MySQL clusters support this operation.
|
|
19339
|
+
* >- If the privileged account of your cluster encounters exceptions, you can call this operation to reset the permissions. For example, the permissions are accidentally revoked.
|
|
19340
|
+
*
|
|
19341
|
+
* @param request ResetAccountRequest
|
|
19342
|
+
* @return ResetAccountResponse
|
|
19343
|
+
*/
|
|
17394
19344
|
async resetAccount(request) {
|
|
17395
19345
|
let runtime = new $Util.RuntimeOptions({});
|
|
17396
19346
|
return await this.resetAccountWithOptions(request, runtime);
|
|
17397
19347
|
}
|
|
19348
|
+
async resetGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
19349
|
+
tea_util_1.default.validateModel(request);
|
|
19350
|
+
let query = {};
|
|
19351
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
19352
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
19353
|
+
}
|
|
19354
|
+
if (!tea_util_1.default.isUnset(request.GDNId)) {
|
|
19355
|
+
query["GDNId"] = request.GDNId;
|
|
19356
|
+
}
|
|
19357
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
19358
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
19359
|
+
}
|
|
19360
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
19361
|
+
query["OwnerId"] = request.ownerId;
|
|
19362
|
+
}
|
|
19363
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
19364
|
+
query["RegionId"] = request.regionId;
|
|
19365
|
+
}
|
|
19366
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
19367
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
19368
|
+
}
|
|
19369
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
19370
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
19371
|
+
}
|
|
19372
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
19373
|
+
query["SecurityToken"] = request.securityToken;
|
|
19374
|
+
}
|
|
19375
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19376
|
+
query: openapi_util_1.default.query(query),
|
|
19377
|
+
});
|
|
19378
|
+
let params = new $OpenApi.Params({
|
|
19379
|
+
action: "ResetGlobalDatabaseNetwork",
|
|
19380
|
+
version: "2017-08-01",
|
|
19381
|
+
protocol: "HTTPS",
|
|
19382
|
+
pathname: "/",
|
|
19383
|
+
method: "POST",
|
|
19384
|
+
authType: "AK",
|
|
19385
|
+
style: "RPC",
|
|
19386
|
+
reqBodyType: "formData",
|
|
19387
|
+
bodyType: "json",
|
|
19388
|
+
});
|
|
19389
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ResetGlobalDatabaseNetworkResponse({}));
|
|
19390
|
+
}
|
|
19391
|
+
async resetGlobalDatabaseNetwork(request) {
|
|
19392
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
19393
|
+
return await this.resetGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
19394
|
+
}
|
|
17398
19395
|
async restartDBNodeWithOptions(request, runtime) {
|
|
17399
19396
|
tea_util_1.default.validateModel(request);
|
|
17400
19397
|
let query = {};
|
|
@@ -17680,6 +19677,15 @@ class Client extends openapi_client_1.default {
|
|
|
17680
19677
|
let runtime = new $Util.RuntimeOptions({});
|
|
17681
19678
|
return await this.tempModifyDBNodeWithOptions(request, runtime);
|
|
17682
19679
|
}
|
|
19680
|
+
/**
|
|
19681
|
+
* > * PolarDB clusters support the subscription and pay-as-you-go billing methods. You can change the billing method from subscription to pay-as-you-go or from pay-as-you-go to subscription based on your business requirements. For more information, see [Change the billing method from subscription to pay-as-you-go](~~172886~~) and [Change the billing method from pay-as-you-go to subscription](~~84076~~).
|
|
19682
|
+
* >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
|
|
19683
|
+
* >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
|
|
19684
|
+
*
|
|
19685
|
+
* @param request TransformDBClusterPayTypeRequest
|
|
19686
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19687
|
+
* @return TransformDBClusterPayTypeResponse
|
|
19688
|
+
*/
|
|
17683
19689
|
async transformDBClusterPayTypeWithOptions(request, runtime) {
|
|
17684
19690
|
tea_util_1.default.validateModel(request);
|
|
17685
19691
|
let query = {};
|
|
@@ -17732,6 +19738,14 @@ class Client extends openapi_client_1.default {
|
|
|
17732
19738
|
});
|
|
17733
19739
|
return $tea.cast(await this.callApi(params, req, runtime), new TransformDBClusterPayTypeResponse({}));
|
|
17734
19740
|
}
|
|
19741
|
+
/**
|
|
19742
|
+
* > * PolarDB clusters support the subscription and pay-as-you-go billing methods. You can change the billing method from subscription to pay-as-you-go or from pay-as-you-go to subscription based on your business requirements. For more information, see [Change the billing method from subscription to pay-as-you-go](~~172886~~) and [Change the billing method from pay-as-you-go to subscription](~~84076~~).
|
|
19743
|
+
* >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
|
|
19744
|
+
* >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
|
|
19745
|
+
*
|
|
19746
|
+
* @param request TransformDBClusterPayTypeRequest
|
|
19747
|
+
* @return TransformDBClusterPayTypeResponse
|
|
19748
|
+
*/
|
|
17735
19749
|
async transformDBClusterPayType(request) {
|
|
17736
19750
|
let runtime = new $Util.RuntimeOptions({});
|
|
17737
19751
|
return await this.transformDBClusterPayTypeWithOptions(request, runtime);
|
|
@@ -17786,6 +19800,13 @@ class Client extends openapi_client_1.default {
|
|
|
17786
19800
|
let runtime = new $Util.RuntimeOptions({});
|
|
17787
19801
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
17788
19802
|
}
|
|
19803
|
+
/**
|
|
19804
|
+
* > You can upgrade only the revision version of a PolarDB for MySQL cluster. For example, you can upgrade the version 8.0.1.1.3 of a PolarDB for MySQL cluster to the version 8.0.1.1.4.
|
|
19805
|
+
*
|
|
19806
|
+
* @param request UpgradeDBClusterMinorVersionRequest
|
|
19807
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19808
|
+
* @return UpgradeDBClusterMinorVersionResponse
|
|
19809
|
+
*/
|
|
17789
19810
|
async upgradeDBClusterMinorVersionWithOptions(request, runtime) {
|
|
17790
19811
|
tea_util_1.default.validateModel(request);
|
|
17791
19812
|
let query = {};
|
|
@@ -17829,10 +19850,25 @@ class Client extends openapi_client_1.default {
|
|
|
17829
19850
|
});
|
|
17830
19851
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterMinorVersionResponse({}));
|
|
17831
19852
|
}
|
|
19853
|
+
/**
|
|
19854
|
+
* > You can upgrade only the revision version of a PolarDB for MySQL cluster. For example, you can upgrade the version 8.0.1.1.3 of a PolarDB for MySQL cluster to the version 8.0.1.1.4.
|
|
19855
|
+
*
|
|
19856
|
+
* @param request UpgradeDBClusterMinorVersionRequest
|
|
19857
|
+
* @return UpgradeDBClusterMinorVersionResponse
|
|
19858
|
+
*/
|
|
17832
19859
|
async upgradeDBClusterMinorVersion(request) {
|
|
17833
19860
|
let runtime = new $Util.RuntimeOptions({});
|
|
17834
19861
|
return await this.upgradeDBClusterMinorVersionWithOptions(request, runtime);
|
|
17835
19862
|
}
|
|
19863
|
+
/**
|
|
19864
|
+
* >
|
|
19865
|
+
* * You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
|
|
19866
|
+
* * You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
|
|
19867
|
+
*
|
|
19868
|
+
* @param request UpgradeDBClusterVersionRequest
|
|
19869
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19870
|
+
* @return UpgradeDBClusterVersionResponse
|
|
19871
|
+
*/
|
|
17836
19872
|
async upgradeDBClusterVersionWithOptions(request, runtime) {
|
|
17837
19873
|
tea_util_1.default.validateModel(request);
|
|
17838
19874
|
let query = {};
|
|
@@ -17860,6 +19896,9 @@ class Client extends openapi_client_1.default {
|
|
|
17860
19896
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
17861
19897
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
17862
19898
|
}
|
|
19899
|
+
if (!tea_util_1.default.isUnset(request.targetDBRevisionVersionCode)) {
|
|
19900
|
+
query["TargetDBRevisionVersionCode"] = request.targetDBRevisionVersionCode;
|
|
19901
|
+
}
|
|
17863
19902
|
if (!tea_util_1.default.isUnset(request.upgradeLabel)) {
|
|
17864
19903
|
query["UpgradeLabel"] = request.upgradeLabel;
|
|
17865
19904
|
}
|
|
@@ -17885,6 +19924,14 @@ class Client extends openapi_client_1.default {
|
|
|
17885
19924
|
});
|
|
17886
19925
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
|
|
17887
19926
|
}
|
|
19927
|
+
/**
|
|
19928
|
+
* >
|
|
19929
|
+
* * You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
|
|
19930
|
+
* * You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
|
|
19931
|
+
*
|
|
19932
|
+
* @param request UpgradeDBClusterVersionRequest
|
|
19933
|
+
* @return UpgradeDBClusterVersionResponse
|
|
19934
|
+
*/
|
|
17888
19935
|
async upgradeDBClusterVersion(request) {
|
|
17889
19936
|
let runtime = new $Util.RuntimeOptions({});
|
|
17890
19937
|
return await this.upgradeDBClusterVersionWithOptions(request, runtime);
|