@alicloud/polardb20170801 2.0.7 → 3.0.1
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 +1291 -53
- package/dist/client.js +2175 -119
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +2731 -275
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,12 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2791
3023
|
}
|
|
2792
3024
|
static names() {
|
|
2793
3025
|
return {
|
|
3026
|
+
aiType: 'AiType',
|
|
3027
|
+
architecture: 'Architecture',
|
|
2794
3028
|
blktagTotal: 'BlktagTotal',
|
|
2795
3029
|
blktagUsed: 'BlktagUsed',
|
|
2796
3030
|
category: 'Category',
|
|
3031
|
+
compressStorageMode: 'CompressStorageMode',
|
|
2797
3032
|
creationTime: 'CreationTime',
|
|
2798
3033
|
DBClusterDescription: 'DBClusterDescription',
|
|
2799
3034
|
DBClusterId: 'DBClusterId',
|
|
@@ -2804,10 +3039,14 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2804
3039
|
DBVersion: 'DBVersion',
|
|
2805
3040
|
DBVersionStatus: 'DBVersionStatus',
|
|
2806
3041
|
dataLevel1BackupChainSize: 'DataLevel1BackupChainSize',
|
|
3042
|
+
dataSyncMode: 'DataSyncMode',
|
|
2807
3043
|
deletionLock: 'DeletionLock',
|
|
3044
|
+
deployUnit: 'DeployUnit',
|
|
2808
3045
|
engine: 'Engine',
|
|
2809
3046
|
expireTime: 'ExpireTime',
|
|
2810
3047
|
expired: 'Expired',
|
|
3048
|
+
hasCompleteStandbyRes: 'HasCompleteStandbyRes',
|
|
3049
|
+
hotStandbyCluster: 'HotStandbyCluster',
|
|
2811
3050
|
inodeTotal: 'InodeTotal',
|
|
2812
3051
|
inodeUsed: 'InodeUsed',
|
|
2813
3052
|
isLatestVersion: 'IsLatestVersion',
|
|
@@ -2816,6 +3055,7 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2816
3055
|
maintainTime: 'MaintainTime',
|
|
2817
3056
|
payType: 'PayType',
|
|
2818
3057
|
proxyCpuCores: 'ProxyCpuCores',
|
|
3058
|
+
proxyServerlessType: 'ProxyServerlessType',
|
|
2819
3059
|
proxyStandardCpuCores: 'ProxyStandardCpuCores',
|
|
2820
3060
|
proxyStatus: 'ProxyStatus',
|
|
2821
3061
|
proxyType: 'ProxyType',
|
|
@@ -2824,11 +3064,13 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2824
3064
|
resourceGroupId: 'ResourceGroupId',
|
|
2825
3065
|
SQLSize: 'SQLSize',
|
|
2826
3066
|
serverlessType: 'ServerlessType',
|
|
3067
|
+
standbyHAMode: 'StandbyHAMode',
|
|
2827
3068
|
storageMax: 'StorageMax',
|
|
2828
3069
|
storagePayType: 'StoragePayType',
|
|
2829
3070
|
storageSpace: 'StorageSpace',
|
|
2830
3071
|
storageType: 'StorageType',
|
|
2831
3072
|
storageUsed: 'StorageUsed',
|
|
3073
|
+
strictConsistency: 'StrictConsistency',
|
|
2832
3074
|
subCategory: 'SubCategory',
|
|
2833
3075
|
tags: 'Tags',
|
|
2834
3076
|
VPCId: 'VPCId',
|
|
@@ -2838,9 +3080,12 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2838
3080
|
}
|
|
2839
3081
|
static types() {
|
|
2840
3082
|
return {
|
|
3083
|
+
aiType: 'string',
|
|
3084
|
+
architecture: 'string',
|
|
2841
3085
|
blktagTotal: 'number',
|
|
2842
3086
|
blktagUsed: 'number',
|
|
2843
3087
|
category: 'string',
|
|
3088
|
+
compressStorageMode: 'string',
|
|
2844
3089
|
creationTime: 'string',
|
|
2845
3090
|
DBClusterDescription: 'string',
|
|
2846
3091
|
DBClusterId: 'string',
|
|
@@ -2851,10 +3096,14 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2851
3096
|
DBVersion: 'string',
|
|
2852
3097
|
DBVersionStatus: 'string',
|
|
2853
3098
|
dataLevel1BackupChainSize: 'number',
|
|
3099
|
+
dataSyncMode: 'string',
|
|
2854
3100
|
deletionLock: 'number',
|
|
3101
|
+
deployUnit: 'string',
|
|
2855
3102
|
engine: 'string',
|
|
2856
3103
|
expireTime: 'string',
|
|
2857
3104
|
expired: 'string',
|
|
3105
|
+
hasCompleteStandbyRes: 'boolean',
|
|
3106
|
+
hotStandbyCluster: 'string',
|
|
2858
3107
|
inodeTotal: 'number',
|
|
2859
3108
|
inodeUsed: 'number',
|
|
2860
3109
|
isLatestVersion: 'boolean',
|
|
@@ -2863,6 +3112,7 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2863
3112
|
maintainTime: 'string',
|
|
2864
3113
|
payType: 'string',
|
|
2865
3114
|
proxyCpuCores: 'string',
|
|
3115
|
+
proxyServerlessType: 'string',
|
|
2866
3116
|
proxyStandardCpuCores: 'string',
|
|
2867
3117
|
proxyStatus: 'string',
|
|
2868
3118
|
proxyType: 'string',
|
|
@@ -2871,11 +3121,13 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2871
3121
|
resourceGroupId: 'string',
|
|
2872
3122
|
SQLSize: 'number',
|
|
2873
3123
|
serverlessType: 'string',
|
|
3124
|
+
standbyHAMode: 'string',
|
|
2874
3125
|
storageMax: 'number',
|
|
2875
3126
|
storagePayType: 'string',
|
|
2876
3127
|
storageSpace: 'number',
|
|
2877
3128
|
storageType: 'string',
|
|
2878
3129
|
storageUsed: 'number',
|
|
3130
|
+
strictConsistency: 'string',
|
|
2879
3131
|
subCategory: 'string',
|
|
2880
3132
|
tags: { 'type': 'array', 'itemType': DescribeDBClusterAttributeResponseBodyTags },
|
|
2881
3133
|
VPCId: 'string',
|
|
@@ -3039,6 +3291,80 @@ class DescribeDBClusterAvailableResourcesResponse extends $tea.Model {
|
|
|
3039
3291
|
}
|
|
3040
3292
|
}
|
|
3041
3293
|
exports.DescribeDBClusterAvailableResourcesResponse = DescribeDBClusterAvailableResourcesResponse;
|
|
3294
|
+
class DescribeDBClusterConnectivityRequest extends $tea.Model {
|
|
3295
|
+
constructor(map) {
|
|
3296
|
+
super(map);
|
|
3297
|
+
}
|
|
3298
|
+
static names() {
|
|
3299
|
+
return {
|
|
3300
|
+
DBClusterId: 'DBClusterId',
|
|
3301
|
+
ownerAccount: 'OwnerAccount',
|
|
3302
|
+
ownerId: 'OwnerId',
|
|
3303
|
+
resourceGroupId: 'ResourceGroupId',
|
|
3304
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3305
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3306
|
+
securityToken: 'SecurityToken',
|
|
3307
|
+
sourceIpAddress: 'SourceIpAddress',
|
|
3308
|
+
};
|
|
3309
|
+
}
|
|
3310
|
+
static types() {
|
|
3311
|
+
return {
|
|
3312
|
+
DBClusterId: 'string',
|
|
3313
|
+
ownerAccount: 'string',
|
|
3314
|
+
ownerId: 'number',
|
|
3315
|
+
resourceGroupId: 'string',
|
|
3316
|
+
resourceOwnerAccount: 'string',
|
|
3317
|
+
resourceOwnerId: 'number',
|
|
3318
|
+
securityToken: 'string',
|
|
3319
|
+
sourceIpAddress: 'string',
|
|
3320
|
+
};
|
|
3321
|
+
}
|
|
3322
|
+
}
|
|
3323
|
+
exports.DescribeDBClusterConnectivityRequest = DescribeDBClusterConnectivityRequest;
|
|
3324
|
+
class DescribeDBClusterConnectivityResponseBody extends $tea.Model {
|
|
3325
|
+
constructor(map) {
|
|
3326
|
+
super(map);
|
|
3327
|
+
}
|
|
3328
|
+
static names() {
|
|
3329
|
+
return {
|
|
3330
|
+
connCheckErrorCode: 'ConnCheckErrorCode',
|
|
3331
|
+
connCheckErrorMessage: 'ConnCheckErrorMessage',
|
|
3332
|
+
connCheckResult: 'ConnCheckResult',
|
|
3333
|
+
DBClusterId: 'DBClusterId',
|
|
3334
|
+
requestId: 'RequestId',
|
|
3335
|
+
};
|
|
3336
|
+
}
|
|
3337
|
+
static types() {
|
|
3338
|
+
return {
|
|
3339
|
+
connCheckErrorCode: 'string',
|
|
3340
|
+
connCheckErrorMessage: 'string',
|
|
3341
|
+
connCheckResult: 'string',
|
|
3342
|
+
DBClusterId: 'string',
|
|
3343
|
+
requestId: 'string',
|
|
3344
|
+
};
|
|
3345
|
+
}
|
|
3346
|
+
}
|
|
3347
|
+
exports.DescribeDBClusterConnectivityResponseBody = DescribeDBClusterConnectivityResponseBody;
|
|
3348
|
+
class DescribeDBClusterConnectivityResponse extends $tea.Model {
|
|
3349
|
+
constructor(map) {
|
|
3350
|
+
super(map);
|
|
3351
|
+
}
|
|
3352
|
+
static names() {
|
|
3353
|
+
return {
|
|
3354
|
+
headers: 'headers',
|
|
3355
|
+
statusCode: 'statusCode',
|
|
3356
|
+
body: 'body',
|
|
3357
|
+
};
|
|
3358
|
+
}
|
|
3359
|
+
static types() {
|
|
3360
|
+
return {
|
|
3361
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3362
|
+
statusCode: 'number',
|
|
3363
|
+
body: DescribeDBClusterConnectivityResponseBody,
|
|
3364
|
+
};
|
|
3365
|
+
}
|
|
3366
|
+
}
|
|
3367
|
+
exports.DescribeDBClusterConnectivityResponse = DescribeDBClusterConnectivityResponse;
|
|
3042
3368
|
class DescribeDBClusterEndpointsRequest extends $tea.Model {
|
|
3043
3369
|
constructor(map) {
|
|
3044
3370
|
super(map);
|
|
@@ -3047,6 +3373,7 @@ class DescribeDBClusterEndpointsRequest extends $tea.Model {
|
|
|
3047
3373
|
return {
|
|
3048
3374
|
DBClusterId: 'DBClusterId',
|
|
3049
3375
|
DBEndpointId: 'DBEndpointId',
|
|
3376
|
+
describeType: 'DescribeType',
|
|
3050
3377
|
ownerAccount: 'OwnerAccount',
|
|
3051
3378
|
ownerId: 'OwnerId',
|
|
3052
3379
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -3057,6 +3384,7 @@ class DescribeDBClusterEndpointsRequest extends $tea.Model {
|
|
|
3057
3384
|
return {
|
|
3058
3385
|
DBClusterId: 'string',
|
|
3059
3386
|
DBEndpointId: 'string',
|
|
3387
|
+
describeType: 'string',
|
|
3060
3388
|
ownerAccount: 'string',
|
|
3061
3389
|
ownerId: 'number',
|
|
3062
3390
|
resourceOwnerAccount: 'string',
|
|
@@ -3258,6 +3586,7 @@ class DescribeDBClusterParametersRequest extends $tea.Model {
|
|
|
3258
3586
|
static names() {
|
|
3259
3587
|
return {
|
|
3260
3588
|
DBClusterId: 'DBClusterId',
|
|
3589
|
+
describeType: 'DescribeType',
|
|
3261
3590
|
ownerAccount: 'OwnerAccount',
|
|
3262
3591
|
ownerId: 'OwnerId',
|
|
3263
3592
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -3267,6 +3596,7 @@ class DescribeDBClusterParametersRequest extends $tea.Model {
|
|
|
3267
3596
|
static types() {
|
|
3268
3597
|
return {
|
|
3269
3598
|
DBClusterId: 'string',
|
|
3599
|
+
describeType: 'string',
|
|
3270
3600
|
ownerAccount: 'string',
|
|
3271
3601
|
ownerId: 'number',
|
|
3272
3602
|
resourceOwnerAccount: 'string',
|
|
@@ -3281,18 +3611,24 @@ class DescribeDBClusterParametersResponseBody extends $tea.Model {
|
|
|
3281
3611
|
}
|
|
3282
3612
|
static names() {
|
|
3283
3613
|
return {
|
|
3614
|
+
DBClusterId: 'DBClusterId',
|
|
3284
3615
|
DBType: 'DBType',
|
|
3285
3616
|
DBVersion: 'DBVersion',
|
|
3286
3617
|
engine: 'Engine',
|
|
3618
|
+
parameterNumbers: 'ParameterNumbers',
|
|
3619
|
+
parameters: 'Parameters',
|
|
3287
3620
|
requestId: 'RequestId',
|
|
3288
3621
|
runningParameters: 'RunningParameters',
|
|
3289
3622
|
};
|
|
3290
3623
|
}
|
|
3291
3624
|
static types() {
|
|
3292
3625
|
return {
|
|
3626
|
+
DBClusterId: 'string',
|
|
3293
3627
|
DBType: 'string',
|
|
3294
3628
|
DBVersion: 'string',
|
|
3295
3629
|
engine: 'string',
|
|
3630
|
+
parameterNumbers: 'string',
|
|
3631
|
+
parameters: DescribeDBClusterParametersResponseBodyParameters,
|
|
3296
3632
|
requestId: 'string',
|
|
3297
3633
|
runningParameters: DescribeDBClusterParametersResponseBodyRunningParameters,
|
|
3298
3634
|
};
|
|
@@ -3631,6 +3967,7 @@ class DescribeDBClusterVersionResponseBody extends $tea.Model {
|
|
|
3631
3967
|
DBLatestVersion: 'DBLatestVersion',
|
|
3632
3968
|
DBMinorVersion: 'DBMinorVersion',
|
|
3633
3969
|
DBRevisionVersion: 'DBRevisionVersion',
|
|
3970
|
+
DBRevisionVersionList: 'DBRevisionVersionList',
|
|
3634
3971
|
DBVersion: 'DBVersion',
|
|
3635
3972
|
DBVersionStatus: 'DBVersionStatus',
|
|
3636
3973
|
isLatestVersion: 'IsLatestVersion',
|
|
@@ -3647,6 +3984,7 @@ class DescribeDBClusterVersionResponseBody extends $tea.Model {
|
|
|
3647
3984
|
DBLatestVersion: 'string',
|
|
3648
3985
|
DBMinorVersion: 'string',
|
|
3649
3986
|
DBRevisionVersion: 'string',
|
|
3987
|
+
DBRevisionVersionList: { 'type': 'array', 'itemType': DescribeDBClusterVersionResponseBodyDBRevisionVersionList },
|
|
3650
3988
|
DBVersion: 'string',
|
|
3651
3989
|
DBVersionStatus: 'string',
|
|
3652
3990
|
isLatestVersion: 'string',
|
|
@@ -4397,6 +4735,7 @@ class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
4397
4735
|
return {
|
|
4398
4736
|
connections: 'Connections',
|
|
4399
4737
|
createTime: 'CreateTime',
|
|
4738
|
+
DBClusterId: 'DBClusterId',
|
|
4400
4739
|
DBClusters: 'DBClusters',
|
|
4401
4740
|
DBType: 'DBType',
|
|
4402
4741
|
DBVersion: 'DBVersion',
|
|
@@ -4404,12 +4743,14 @@ class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
4404
4743
|
GDNId: 'GDNId',
|
|
4405
4744
|
GDNStatus: 'GDNStatus',
|
|
4406
4745
|
requestId: 'RequestId',
|
|
4746
|
+
resourceGroupId: 'ResourceGroupId',
|
|
4407
4747
|
};
|
|
4408
4748
|
}
|
|
4409
4749
|
static types() {
|
|
4410
4750
|
return {
|
|
4411
4751
|
connections: { 'type': 'array', 'itemType': DescribeGlobalDatabaseNetworkResponseBodyConnections },
|
|
4412
4752
|
createTime: 'string',
|
|
4753
|
+
DBClusterId: 'string',
|
|
4413
4754
|
DBClusters: { 'type': 'array', 'itemType': DescribeGlobalDatabaseNetworkResponseBodyDBClusters },
|
|
4414
4755
|
DBType: 'string',
|
|
4415
4756
|
DBVersion: 'string',
|
|
@@ -4417,6 +4758,7 @@ class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
4417
4758
|
GDNId: 'string',
|
|
4418
4759
|
GDNStatus: 'string',
|
|
4419
4760
|
requestId: 'string',
|
|
4761
|
+
resourceGroupId: 'string',
|
|
4420
4762
|
};
|
|
4421
4763
|
}
|
|
4422
4764
|
}
|
|
@@ -4448,6 +4790,7 @@ class DescribeGlobalDatabaseNetworksRequest extends $tea.Model {
|
|
|
4448
4790
|
static names() {
|
|
4449
4791
|
return {
|
|
4450
4792
|
DBClusterId: 'DBClusterId',
|
|
4793
|
+
filterRegion: 'FilterRegion',
|
|
4451
4794
|
GDNDescription: 'GDNDescription',
|
|
4452
4795
|
GDNId: 'GDNId',
|
|
4453
4796
|
ownerAccount: 'OwnerAccount',
|
|
@@ -4463,6 +4806,7 @@ class DescribeGlobalDatabaseNetworksRequest extends $tea.Model {
|
|
|
4463
4806
|
static types() {
|
|
4464
4807
|
return {
|
|
4465
4808
|
DBClusterId: 'string',
|
|
4809
|
+
filterRegion: 'string',
|
|
4466
4810
|
GDNDescription: 'string',
|
|
4467
4811
|
GDNId: 'string',
|
|
4468
4812
|
ownerAccount: 'string',
|
|
@@ -5615,59 +5959,73 @@ class DescribeSlowLogsResponse extends $tea.Model {
|
|
|
5615
5959
|
}
|
|
5616
5960
|
}
|
|
5617
5961
|
exports.DescribeSlowLogsResponse = DescribeSlowLogsResponse;
|
|
5618
|
-
class
|
|
5962
|
+
class DescribeTasksRequest extends $tea.Model {
|
|
5619
5963
|
constructor(map) {
|
|
5620
5964
|
super(map);
|
|
5621
5965
|
}
|
|
5622
5966
|
static names() {
|
|
5623
5967
|
return {
|
|
5968
|
+
DBClusterId: 'DBClusterId',
|
|
5969
|
+
DBNodeId: 'DBNodeId',
|
|
5970
|
+
endTime: 'EndTime',
|
|
5624
5971
|
ownerAccount: 'OwnerAccount',
|
|
5625
5972
|
ownerId: 'OwnerId',
|
|
5626
5973
|
pageNumber: 'PageNumber',
|
|
5627
5974
|
pageSize: 'PageSize',
|
|
5628
|
-
resourceGroupId: 'ResourceGroupId',
|
|
5629
5975
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
5630
5976
|
resourceOwnerId: 'ResourceOwnerId',
|
|
5977
|
+
startTime: 'StartTime',
|
|
5978
|
+
status: 'Status',
|
|
5631
5979
|
};
|
|
5632
5980
|
}
|
|
5633
5981
|
static types() {
|
|
5634
5982
|
return {
|
|
5983
|
+
DBClusterId: 'string',
|
|
5984
|
+
DBNodeId: 'string',
|
|
5985
|
+
endTime: 'string',
|
|
5635
5986
|
ownerAccount: 'string',
|
|
5636
5987
|
ownerId: 'number',
|
|
5637
5988
|
pageNumber: 'number',
|
|
5638
5989
|
pageSize: 'number',
|
|
5639
|
-
resourceGroupId: 'string',
|
|
5640
5990
|
resourceOwnerAccount: 'string',
|
|
5641
5991
|
resourceOwnerId: 'number',
|
|
5992
|
+
startTime: 'string',
|
|
5993
|
+
status: 'string',
|
|
5642
5994
|
};
|
|
5643
5995
|
}
|
|
5644
5996
|
}
|
|
5645
|
-
exports.
|
|
5646
|
-
class
|
|
5997
|
+
exports.DescribeTasksRequest = DescribeTasksRequest;
|
|
5998
|
+
class DescribeTasksResponseBody extends $tea.Model {
|
|
5647
5999
|
constructor(map) {
|
|
5648
6000
|
super(map);
|
|
5649
6001
|
}
|
|
5650
6002
|
static names() {
|
|
5651
6003
|
return {
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
6004
|
+
DBClusterId: 'DBClusterId',
|
|
6005
|
+
endTime: 'EndTime',
|
|
6006
|
+
pageNumber: 'PageNumber',
|
|
6007
|
+
pageRecordCount: 'PageRecordCount',
|
|
5655
6008
|
requestId: 'RequestId',
|
|
6009
|
+
startTime: 'StartTime',
|
|
6010
|
+
tasks: 'Tasks',
|
|
5656
6011
|
totalRecordCount: 'TotalRecordCount',
|
|
5657
6012
|
};
|
|
5658
6013
|
}
|
|
5659
6014
|
static types() {
|
|
5660
6015
|
return {
|
|
5661
|
-
|
|
6016
|
+
DBClusterId: 'string',
|
|
6017
|
+
endTime: 'string',
|
|
5662
6018
|
pageNumber: 'number',
|
|
5663
|
-
|
|
6019
|
+
pageRecordCount: 'number',
|
|
5664
6020
|
requestId: 'string',
|
|
6021
|
+
startTime: 'string',
|
|
6022
|
+
tasks: DescribeTasksResponseBodyTasks,
|
|
5665
6023
|
totalRecordCount: 'number',
|
|
5666
6024
|
};
|
|
5667
6025
|
}
|
|
5668
6026
|
}
|
|
5669
|
-
exports.
|
|
5670
|
-
class
|
|
6027
|
+
exports.DescribeTasksResponseBody = DescribeTasksResponseBody;
|
|
6028
|
+
class DescribeTasksResponse extends $tea.Model {
|
|
5671
6029
|
constructor(map) {
|
|
5672
6030
|
super(map);
|
|
5673
6031
|
}
|
|
@@ -5682,78 +6040,142 @@ class DescribeStoragePlanResponse extends $tea.Model {
|
|
|
5682
6040
|
return {
|
|
5683
6041
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5684
6042
|
statusCode: 'number',
|
|
5685
|
-
body:
|
|
6043
|
+
body: DescribeTasksResponseBody,
|
|
5686
6044
|
};
|
|
5687
6045
|
}
|
|
5688
6046
|
}
|
|
5689
|
-
exports.
|
|
5690
|
-
class
|
|
6047
|
+
exports.DescribeTasksResponse = DescribeTasksResponse;
|
|
6048
|
+
class DescribeUserEncryptionKeyListRequest extends $tea.Model {
|
|
5691
6049
|
constructor(map) {
|
|
5692
6050
|
super(map);
|
|
5693
6051
|
}
|
|
5694
6052
|
static names() {
|
|
5695
6053
|
return {
|
|
5696
6054
|
DBClusterId: 'DBClusterId',
|
|
5697
|
-
|
|
5698
|
-
|
|
6055
|
+
ownerAccount: 'OwnerAccount',
|
|
6056
|
+
ownerId: 'OwnerId',
|
|
6057
|
+
regionId: 'RegionId',
|
|
6058
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
6059
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
6060
|
+
TDERegion: 'TDERegion',
|
|
6061
|
+
};
|
|
6062
|
+
}
|
|
6063
|
+
static types() {
|
|
6064
|
+
return {
|
|
6065
|
+
DBClusterId: 'string',
|
|
6066
|
+
ownerAccount: 'string',
|
|
6067
|
+
ownerId: 'number',
|
|
6068
|
+
regionId: 'string',
|
|
6069
|
+
resourceOwnerAccount: 'string',
|
|
6070
|
+
resourceOwnerId: 'number',
|
|
6071
|
+
TDERegion: 'string',
|
|
6072
|
+
};
|
|
6073
|
+
}
|
|
6074
|
+
}
|
|
6075
|
+
exports.DescribeUserEncryptionKeyListRequest = DescribeUserEncryptionKeyListRequest;
|
|
6076
|
+
class DescribeUserEncryptionKeyListResponseBody extends $tea.Model {
|
|
6077
|
+
constructor(map) {
|
|
6078
|
+
super(map);
|
|
6079
|
+
}
|
|
6080
|
+
static names() {
|
|
6081
|
+
return {
|
|
6082
|
+
DBClusterId: 'DBClusterId',
|
|
6083
|
+
keyList: 'KeyList',
|
|
6084
|
+
requestId: 'RequestId',
|
|
6085
|
+
};
|
|
6086
|
+
}
|
|
6087
|
+
static types() {
|
|
6088
|
+
return {
|
|
6089
|
+
DBClusterId: 'string',
|
|
6090
|
+
keyList: { 'type': 'array', 'itemType': 'string' },
|
|
6091
|
+
requestId: 'string',
|
|
6092
|
+
};
|
|
6093
|
+
}
|
|
6094
|
+
}
|
|
6095
|
+
exports.DescribeUserEncryptionKeyListResponseBody = DescribeUserEncryptionKeyListResponseBody;
|
|
6096
|
+
class DescribeUserEncryptionKeyListResponse extends $tea.Model {
|
|
6097
|
+
constructor(map) {
|
|
6098
|
+
super(map);
|
|
6099
|
+
}
|
|
6100
|
+
static names() {
|
|
6101
|
+
return {
|
|
6102
|
+
headers: 'headers',
|
|
6103
|
+
statusCode: 'statusCode',
|
|
6104
|
+
body: 'body',
|
|
6105
|
+
};
|
|
6106
|
+
}
|
|
6107
|
+
static types() {
|
|
6108
|
+
return {
|
|
6109
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6110
|
+
statusCode: 'number',
|
|
6111
|
+
body: DescribeUserEncryptionKeyListResponseBody,
|
|
6112
|
+
};
|
|
6113
|
+
}
|
|
6114
|
+
}
|
|
6115
|
+
exports.DescribeUserEncryptionKeyListResponse = DescribeUserEncryptionKeyListResponse;
|
|
6116
|
+
class DescribeVSwitchesRequest extends $tea.Model {
|
|
6117
|
+
constructor(map) {
|
|
6118
|
+
super(map);
|
|
6119
|
+
}
|
|
6120
|
+
static names() {
|
|
6121
|
+
return {
|
|
6122
|
+
dedicatedHostGroupId: 'DedicatedHostGroupId',
|
|
5699
6123
|
ownerAccount: 'OwnerAccount',
|
|
5700
6124
|
ownerId: 'OwnerId',
|
|
5701
6125
|
pageNumber: 'PageNumber',
|
|
5702
6126
|
pageSize: 'PageSize',
|
|
6127
|
+
regionId: 'RegionId',
|
|
6128
|
+
resourceGroupId: 'ResourceGroupId',
|
|
5703
6129
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
5704
6130
|
resourceOwnerId: 'ResourceOwnerId',
|
|
5705
|
-
|
|
5706
|
-
|
|
6131
|
+
securityToken: 'SecurityToken',
|
|
6132
|
+
vpcId: 'VpcId',
|
|
6133
|
+
zoneId: 'ZoneId',
|
|
5707
6134
|
};
|
|
5708
6135
|
}
|
|
5709
6136
|
static types() {
|
|
5710
6137
|
return {
|
|
5711
|
-
|
|
5712
|
-
DBNodeId: 'string',
|
|
5713
|
-
endTime: 'string',
|
|
6138
|
+
dedicatedHostGroupId: 'string',
|
|
5714
6139
|
ownerAccount: 'string',
|
|
5715
6140
|
ownerId: 'number',
|
|
5716
6141
|
pageNumber: 'number',
|
|
5717
6142
|
pageSize: 'number',
|
|
6143
|
+
regionId: 'string',
|
|
6144
|
+
resourceGroupId: 'string',
|
|
5718
6145
|
resourceOwnerAccount: 'string',
|
|
5719
6146
|
resourceOwnerId: 'number',
|
|
5720
|
-
|
|
5721
|
-
|
|
6147
|
+
securityToken: 'string',
|
|
6148
|
+
vpcId: 'string',
|
|
6149
|
+
zoneId: 'string',
|
|
5722
6150
|
};
|
|
5723
6151
|
}
|
|
5724
6152
|
}
|
|
5725
|
-
exports.
|
|
5726
|
-
class
|
|
6153
|
+
exports.DescribeVSwitchesRequest = DescribeVSwitchesRequest;
|
|
6154
|
+
class DescribeVSwitchesResponseBody extends $tea.Model {
|
|
5727
6155
|
constructor(map) {
|
|
5728
6156
|
super(map);
|
|
5729
6157
|
}
|
|
5730
6158
|
static names() {
|
|
5731
6159
|
return {
|
|
5732
|
-
DBClusterId: 'DBClusterId',
|
|
5733
|
-
endTime: 'EndTime',
|
|
5734
6160
|
pageNumber: 'PageNumber',
|
|
5735
|
-
|
|
6161
|
+
pageSize: 'PageSize',
|
|
5736
6162
|
requestId: 'RequestId',
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
totalRecordCount: 'TotalRecordCount',
|
|
6163
|
+
totalCount: 'TotalCount',
|
|
6164
|
+
vSwitchs: 'VSwitchs',
|
|
5740
6165
|
};
|
|
5741
6166
|
}
|
|
5742
6167
|
static types() {
|
|
5743
6168
|
return {
|
|
5744
|
-
DBClusterId: 'string',
|
|
5745
|
-
endTime: 'string',
|
|
5746
6169
|
pageNumber: 'number',
|
|
5747
|
-
|
|
6170
|
+
pageSize: 'number',
|
|
5748
6171
|
requestId: 'string',
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
totalRecordCount: 'number',
|
|
6172
|
+
totalCount: 'number',
|
|
6173
|
+
vSwitchs: { 'type': 'array', 'itemType': DescribeVSwitchesResponseBodyVSwitchs },
|
|
5752
6174
|
};
|
|
5753
6175
|
}
|
|
5754
6176
|
}
|
|
5755
|
-
exports.
|
|
5756
|
-
class
|
|
6177
|
+
exports.DescribeVSwitchesResponseBody = DescribeVSwitchesResponseBody;
|
|
6178
|
+
class DescribeVSwitchesResponse extends $tea.Model {
|
|
5757
6179
|
constructor(map) {
|
|
5758
6180
|
super(map);
|
|
5759
6181
|
}
|
|
@@ -5768,11 +6190,11 @@ class DescribeTasksResponse extends $tea.Model {
|
|
|
5768
6190
|
return {
|
|
5769
6191
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5770
6192
|
statusCode: 'number',
|
|
5771
|
-
body:
|
|
6193
|
+
body: DescribeVSwitchesResponseBody,
|
|
5772
6194
|
};
|
|
5773
6195
|
}
|
|
5774
6196
|
}
|
|
5775
|
-
exports.
|
|
6197
|
+
exports.DescribeVSwitchesResponse = DescribeVSwitchesResponse;
|
|
5776
6198
|
class EnableFirewallRulesRequest extends $tea.Model {
|
|
5777
6199
|
constructor(map) {
|
|
5778
6200
|
super(map);
|
|
@@ -6127,6 +6549,68 @@ class ListTagResourcesResponse extends $tea.Model {
|
|
|
6127
6549
|
}
|
|
6128
6550
|
}
|
|
6129
6551
|
exports.ListTagResourcesResponse = ListTagResourcesResponse;
|
|
6552
|
+
class ManuallyStartDBClusterRequest extends $tea.Model {
|
|
6553
|
+
constructor(map) {
|
|
6554
|
+
super(map);
|
|
6555
|
+
}
|
|
6556
|
+
static names() {
|
|
6557
|
+
return {
|
|
6558
|
+
DBClusterId: 'DBClusterId',
|
|
6559
|
+
ownerAccount: 'OwnerAccount',
|
|
6560
|
+
ownerId: 'OwnerId',
|
|
6561
|
+
regionId: 'RegionId',
|
|
6562
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
6563
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
6564
|
+
};
|
|
6565
|
+
}
|
|
6566
|
+
static types() {
|
|
6567
|
+
return {
|
|
6568
|
+
DBClusterId: 'string',
|
|
6569
|
+
ownerAccount: 'string',
|
|
6570
|
+
ownerId: 'number',
|
|
6571
|
+
regionId: 'string',
|
|
6572
|
+
resourceOwnerAccount: 'string',
|
|
6573
|
+
resourceOwnerId: 'number',
|
|
6574
|
+
};
|
|
6575
|
+
}
|
|
6576
|
+
}
|
|
6577
|
+
exports.ManuallyStartDBClusterRequest = ManuallyStartDBClusterRequest;
|
|
6578
|
+
class ManuallyStartDBClusterResponseBody extends $tea.Model {
|
|
6579
|
+
constructor(map) {
|
|
6580
|
+
super(map);
|
|
6581
|
+
}
|
|
6582
|
+
static names() {
|
|
6583
|
+
return {
|
|
6584
|
+
requestId: 'RequestId',
|
|
6585
|
+
};
|
|
6586
|
+
}
|
|
6587
|
+
static types() {
|
|
6588
|
+
return {
|
|
6589
|
+
requestId: 'string',
|
|
6590
|
+
};
|
|
6591
|
+
}
|
|
6592
|
+
}
|
|
6593
|
+
exports.ManuallyStartDBClusterResponseBody = ManuallyStartDBClusterResponseBody;
|
|
6594
|
+
class ManuallyStartDBClusterResponse extends $tea.Model {
|
|
6595
|
+
constructor(map) {
|
|
6596
|
+
super(map);
|
|
6597
|
+
}
|
|
6598
|
+
static names() {
|
|
6599
|
+
return {
|
|
6600
|
+
headers: 'headers',
|
|
6601
|
+
statusCode: 'statusCode',
|
|
6602
|
+
body: 'body',
|
|
6603
|
+
};
|
|
6604
|
+
}
|
|
6605
|
+
static types() {
|
|
6606
|
+
return {
|
|
6607
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6608
|
+
statusCode: 'number',
|
|
6609
|
+
body: ManuallyStartDBClusterResponseBody,
|
|
6610
|
+
};
|
|
6611
|
+
}
|
|
6612
|
+
}
|
|
6613
|
+
exports.ManuallyStartDBClusterResponse = ManuallyStartDBClusterResponse;
|
|
6130
6614
|
class ModifyAccountDescriptionRequest extends $tea.Model {
|
|
6131
6615
|
constructor(map) {
|
|
6132
6616
|
super(map);
|
|
@@ -6409,6 +6893,80 @@ class ModifyBackupPolicyResponse extends $tea.Model {
|
|
|
6409
6893
|
}
|
|
6410
6894
|
}
|
|
6411
6895
|
exports.ModifyBackupPolicyResponse = ModifyBackupPolicyResponse;
|
|
6896
|
+
class ModifyDBClusterRequest extends $tea.Model {
|
|
6897
|
+
constructor(map) {
|
|
6898
|
+
super(map);
|
|
6899
|
+
}
|
|
6900
|
+
static names() {
|
|
6901
|
+
return {
|
|
6902
|
+
DBClusterId: 'DBClusterId',
|
|
6903
|
+
dataSyncMode: 'DataSyncMode',
|
|
6904
|
+
faultSimulateMode: 'FaultSimulateMode',
|
|
6905
|
+
ownerAccount: 'OwnerAccount',
|
|
6906
|
+
ownerId: 'OwnerId',
|
|
6907
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
6908
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
6909
|
+
standbyHAMode: 'StandbyHAMode',
|
|
6910
|
+
storageAutoScale: 'StorageAutoScale',
|
|
6911
|
+
storageUpperBound: 'StorageUpperBound',
|
|
6912
|
+
};
|
|
6913
|
+
}
|
|
6914
|
+
static types() {
|
|
6915
|
+
return {
|
|
6916
|
+
DBClusterId: 'string',
|
|
6917
|
+
dataSyncMode: 'string',
|
|
6918
|
+
faultSimulateMode: 'string',
|
|
6919
|
+
ownerAccount: 'string',
|
|
6920
|
+
ownerId: 'number',
|
|
6921
|
+
resourceOwnerAccount: 'string',
|
|
6922
|
+
resourceOwnerId: 'number',
|
|
6923
|
+
standbyHAMode: 'string',
|
|
6924
|
+
storageAutoScale: 'string',
|
|
6925
|
+
storageUpperBound: 'number',
|
|
6926
|
+
};
|
|
6927
|
+
}
|
|
6928
|
+
}
|
|
6929
|
+
exports.ModifyDBClusterRequest = ModifyDBClusterRequest;
|
|
6930
|
+
class ModifyDBClusterResponseBody extends $tea.Model {
|
|
6931
|
+
constructor(map) {
|
|
6932
|
+
super(map);
|
|
6933
|
+
}
|
|
6934
|
+
static names() {
|
|
6935
|
+
return {
|
|
6936
|
+
DBClusterId: 'DBClusterId',
|
|
6937
|
+
orderId: 'OrderId',
|
|
6938
|
+
requestId: 'RequestId',
|
|
6939
|
+
};
|
|
6940
|
+
}
|
|
6941
|
+
static types() {
|
|
6942
|
+
return {
|
|
6943
|
+
DBClusterId: 'string',
|
|
6944
|
+
orderId: 'string',
|
|
6945
|
+
requestId: 'string',
|
|
6946
|
+
};
|
|
6947
|
+
}
|
|
6948
|
+
}
|
|
6949
|
+
exports.ModifyDBClusterResponseBody = ModifyDBClusterResponseBody;
|
|
6950
|
+
class ModifyDBClusterResponse extends $tea.Model {
|
|
6951
|
+
constructor(map) {
|
|
6952
|
+
super(map);
|
|
6953
|
+
}
|
|
6954
|
+
static names() {
|
|
6955
|
+
return {
|
|
6956
|
+
headers: 'headers',
|
|
6957
|
+
statusCode: 'statusCode',
|
|
6958
|
+
body: 'body',
|
|
6959
|
+
};
|
|
6960
|
+
}
|
|
6961
|
+
static types() {
|
|
6962
|
+
return {
|
|
6963
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6964
|
+
statusCode: 'number',
|
|
6965
|
+
body: ModifyDBClusterResponseBody,
|
|
6966
|
+
};
|
|
6967
|
+
}
|
|
6968
|
+
}
|
|
6969
|
+
exports.ModifyDBClusterResponse = ModifyDBClusterResponse;
|
|
6412
6970
|
class ModifyDBClusterAccessWhitelistRequest extends $tea.Model {
|
|
6413
6971
|
constructor(map) {
|
|
6414
6972
|
super(map);
|
|
@@ -7083,12 +7641,14 @@ class ModifyDBClusterPrimaryZoneRequest extends $tea.Model {
|
|
|
7083
7641
|
return {
|
|
7084
7642
|
DBClusterId: 'DBClusterId',
|
|
7085
7643
|
fromTimeService: 'FromTimeService',
|
|
7644
|
+
isSwitchOverForDisaster: 'IsSwitchOverForDisaster',
|
|
7086
7645
|
ownerAccount: 'OwnerAccount',
|
|
7087
7646
|
ownerId: 'OwnerId',
|
|
7088
7647
|
plannedEndTime: 'PlannedEndTime',
|
|
7089
7648
|
plannedStartTime: 'PlannedStartTime',
|
|
7090
7649
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
7091
7650
|
resourceOwnerId: 'ResourceOwnerId',
|
|
7651
|
+
VPCId: 'VPCId',
|
|
7092
7652
|
vSwitchId: 'VSwitchId',
|
|
7093
7653
|
zoneId: 'ZoneId',
|
|
7094
7654
|
};
|
|
@@ -7097,12 +7657,14 @@ class ModifyDBClusterPrimaryZoneRequest extends $tea.Model {
|
|
|
7097
7657
|
return {
|
|
7098
7658
|
DBClusterId: 'string',
|
|
7099
7659
|
fromTimeService: 'boolean',
|
|
7660
|
+
isSwitchOverForDisaster: 'string',
|
|
7100
7661
|
ownerAccount: 'string',
|
|
7101
7662
|
ownerId: 'number',
|
|
7102
7663
|
plannedEndTime: 'string',
|
|
7103
7664
|
plannedStartTime: 'string',
|
|
7104
7665
|
resourceOwnerAccount: 'string',
|
|
7105
7666
|
resourceOwnerId: 'number',
|
|
7667
|
+
VPCId: 'string',
|
|
7106
7668
|
vSwitchId: 'string',
|
|
7107
7669
|
zoneId: 'string',
|
|
7108
7670
|
};
|
|
@@ -7351,6 +7913,80 @@ class ModifyDBClusterServerlessConfResponse extends $tea.Model {
|
|
|
7351
7913
|
}
|
|
7352
7914
|
}
|
|
7353
7915
|
exports.ModifyDBClusterServerlessConfResponse = ModifyDBClusterServerlessConfResponse;
|
|
7916
|
+
class ModifyDBClusterStorageSpaceRequest extends $tea.Model {
|
|
7917
|
+
constructor(map) {
|
|
7918
|
+
super(map);
|
|
7919
|
+
}
|
|
7920
|
+
static names() {
|
|
7921
|
+
return {
|
|
7922
|
+
clientToken: 'ClientToken',
|
|
7923
|
+
DBClusterId: 'DBClusterId',
|
|
7924
|
+
ownerAccount: 'OwnerAccount',
|
|
7925
|
+
ownerId: 'OwnerId',
|
|
7926
|
+
plannedEndTime: 'PlannedEndTime',
|
|
7927
|
+
plannedStartTime: 'PlannedStartTime',
|
|
7928
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
7929
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
7930
|
+
storageSpace: 'StorageSpace',
|
|
7931
|
+
subCategory: 'SubCategory',
|
|
7932
|
+
};
|
|
7933
|
+
}
|
|
7934
|
+
static types() {
|
|
7935
|
+
return {
|
|
7936
|
+
clientToken: 'string',
|
|
7937
|
+
DBClusterId: 'string',
|
|
7938
|
+
ownerAccount: 'string',
|
|
7939
|
+
ownerId: 'number',
|
|
7940
|
+
plannedEndTime: 'string',
|
|
7941
|
+
plannedStartTime: 'string',
|
|
7942
|
+
resourceOwnerAccount: 'string',
|
|
7943
|
+
resourceOwnerId: 'number',
|
|
7944
|
+
storageSpace: 'number',
|
|
7945
|
+
subCategory: 'string',
|
|
7946
|
+
};
|
|
7947
|
+
}
|
|
7948
|
+
}
|
|
7949
|
+
exports.ModifyDBClusterStorageSpaceRequest = ModifyDBClusterStorageSpaceRequest;
|
|
7950
|
+
class ModifyDBClusterStorageSpaceResponseBody extends $tea.Model {
|
|
7951
|
+
constructor(map) {
|
|
7952
|
+
super(map);
|
|
7953
|
+
}
|
|
7954
|
+
static names() {
|
|
7955
|
+
return {
|
|
7956
|
+
DBClusterId: 'DBClusterId',
|
|
7957
|
+
orderId: 'OrderId',
|
|
7958
|
+
requestId: 'RequestId',
|
|
7959
|
+
};
|
|
7960
|
+
}
|
|
7961
|
+
static types() {
|
|
7962
|
+
return {
|
|
7963
|
+
DBClusterId: 'string',
|
|
7964
|
+
orderId: 'string',
|
|
7965
|
+
requestId: 'string',
|
|
7966
|
+
};
|
|
7967
|
+
}
|
|
7968
|
+
}
|
|
7969
|
+
exports.ModifyDBClusterStorageSpaceResponseBody = ModifyDBClusterStorageSpaceResponseBody;
|
|
7970
|
+
class ModifyDBClusterStorageSpaceResponse extends $tea.Model {
|
|
7971
|
+
constructor(map) {
|
|
7972
|
+
super(map);
|
|
7973
|
+
}
|
|
7974
|
+
static names() {
|
|
7975
|
+
return {
|
|
7976
|
+
headers: 'headers',
|
|
7977
|
+
statusCode: 'statusCode',
|
|
7978
|
+
body: 'body',
|
|
7979
|
+
};
|
|
7980
|
+
}
|
|
7981
|
+
static types() {
|
|
7982
|
+
return {
|
|
7983
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7984
|
+
statusCode: 'number',
|
|
7985
|
+
body: ModifyDBClusterStorageSpaceResponseBody,
|
|
7986
|
+
};
|
|
7987
|
+
}
|
|
7988
|
+
}
|
|
7989
|
+
exports.ModifyDBClusterStorageSpaceResponse = ModifyDBClusterStorageSpaceResponse;
|
|
7354
7990
|
class ModifyDBClusterTDERequest extends $tea.Model {
|
|
7355
7991
|
constructor(map) {
|
|
7356
7992
|
super(map);
|
|
@@ -7564,6 +8200,7 @@ class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
7564
8200
|
clientToken: 'ClientToken',
|
|
7565
8201
|
DBClusterId: 'DBClusterId',
|
|
7566
8202
|
DBNodeTargetClass: 'DBNodeTargetClass',
|
|
8203
|
+
DBNodeType: 'DBNodeType',
|
|
7567
8204
|
modifyType: 'ModifyType',
|
|
7568
8205
|
ownerAccount: 'OwnerAccount',
|
|
7569
8206
|
ownerId: 'OwnerId',
|
|
@@ -7579,6 +8216,7 @@ class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
7579
8216
|
clientToken: 'string',
|
|
7580
8217
|
DBClusterId: 'string',
|
|
7581
8218
|
DBNodeTargetClass: 'string',
|
|
8219
|
+
DBNodeType: 'string',
|
|
7582
8220
|
modifyType: 'string',
|
|
7583
8221
|
ownerAccount: 'string',
|
|
7584
8222
|
ownerId: 'number',
|
|
@@ -7631,6 +8269,74 @@ class ModifyDBNodeClassResponse extends $tea.Model {
|
|
|
7631
8269
|
}
|
|
7632
8270
|
}
|
|
7633
8271
|
exports.ModifyDBNodeClassResponse = ModifyDBNodeClassResponse;
|
|
8272
|
+
class ModifyDBNodeHotReplicaModeRequest extends $tea.Model {
|
|
8273
|
+
constructor(map) {
|
|
8274
|
+
super(map);
|
|
8275
|
+
}
|
|
8276
|
+
static names() {
|
|
8277
|
+
return {
|
|
8278
|
+
DBClusterId: 'DBClusterId',
|
|
8279
|
+
DBNodeId: 'DBNodeId',
|
|
8280
|
+
hotReplicaMode: 'HotReplicaMode',
|
|
8281
|
+
ownerAccount: 'OwnerAccount',
|
|
8282
|
+
ownerId: 'OwnerId',
|
|
8283
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
8284
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
8285
|
+
};
|
|
8286
|
+
}
|
|
8287
|
+
static types() {
|
|
8288
|
+
return {
|
|
8289
|
+
DBClusterId: 'string',
|
|
8290
|
+
DBNodeId: 'string',
|
|
8291
|
+
hotReplicaMode: 'string',
|
|
8292
|
+
ownerAccount: 'string',
|
|
8293
|
+
ownerId: 'number',
|
|
8294
|
+
resourceOwnerAccount: 'string',
|
|
8295
|
+
resourceOwnerId: 'number',
|
|
8296
|
+
};
|
|
8297
|
+
}
|
|
8298
|
+
}
|
|
8299
|
+
exports.ModifyDBNodeHotReplicaModeRequest = ModifyDBNodeHotReplicaModeRequest;
|
|
8300
|
+
class ModifyDBNodeHotReplicaModeResponseBody extends $tea.Model {
|
|
8301
|
+
constructor(map) {
|
|
8302
|
+
super(map);
|
|
8303
|
+
}
|
|
8304
|
+
static names() {
|
|
8305
|
+
return {
|
|
8306
|
+
DBClusterId: 'DBClusterId',
|
|
8307
|
+
orderId: 'OrderId',
|
|
8308
|
+
requestId: 'RequestId',
|
|
8309
|
+
};
|
|
8310
|
+
}
|
|
8311
|
+
static types() {
|
|
8312
|
+
return {
|
|
8313
|
+
DBClusterId: 'string',
|
|
8314
|
+
orderId: 'string',
|
|
8315
|
+
requestId: 'string',
|
|
8316
|
+
};
|
|
8317
|
+
}
|
|
8318
|
+
}
|
|
8319
|
+
exports.ModifyDBNodeHotReplicaModeResponseBody = ModifyDBNodeHotReplicaModeResponseBody;
|
|
8320
|
+
class ModifyDBNodeHotReplicaModeResponse extends $tea.Model {
|
|
8321
|
+
constructor(map) {
|
|
8322
|
+
super(map);
|
|
8323
|
+
}
|
|
8324
|
+
static names() {
|
|
8325
|
+
return {
|
|
8326
|
+
headers: 'headers',
|
|
8327
|
+
statusCode: 'statusCode',
|
|
8328
|
+
body: 'body',
|
|
8329
|
+
};
|
|
8330
|
+
}
|
|
8331
|
+
static types() {
|
|
8332
|
+
return {
|
|
8333
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8334
|
+
statusCode: 'number',
|
|
8335
|
+
body: ModifyDBNodeHotReplicaModeResponseBody,
|
|
8336
|
+
};
|
|
8337
|
+
}
|
|
8338
|
+
}
|
|
8339
|
+
exports.ModifyDBNodeHotReplicaModeResponse = ModifyDBNodeHotReplicaModeResponse;
|
|
7634
8340
|
class ModifyDBNodesClassRequest extends $tea.Model {
|
|
7635
8341
|
constructor(map) {
|
|
7636
8342
|
super(map);
|
|
@@ -8266,6 +8972,8 @@ class OpenAITaskRequest extends $tea.Model {
|
|
|
8266
8972
|
static names() {
|
|
8267
8973
|
return {
|
|
8268
8974
|
DBClusterId: 'DBClusterId',
|
|
8975
|
+
describeType: 'DescribeType',
|
|
8976
|
+
nodeType: 'NodeType',
|
|
8269
8977
|
ownerAccount: 'OwnerAccount',
|
|
8270
8978
|
ownerId: 'OwnerId',
|
|
8271
8979
|
password: 'Password',
|
|
@@ -8279,6 +8987,8 @@ class OpenAITaskRequest extends $tea.Model {
|
|
|
8279
8987
|
static types() {
|
|
8280
8988
|
return {
|
|
8281
8989
|
DBClusterId: 'string',
|
|
8990
|
+
describeType: 'string',
|
|
8991
|
+
nodeType: 'string',
|
|
8282
8992
|
ownerAccount: 'string',
|
|
8283
8993
|
ownerId: 'number',
|
|
8284
8994
|
password: 'string',
|
|
@@ -8517,6 +9227,72 @@ class ResetAccountResponse extends $tea.Model {
|
|
|
8517
9227
|
}
|
|
8518
9228
|
}
|
|
8519
9229
|
exports.ResetAccountResponse = ResetAccountResponse;
|
|
9230
|
+
class ResetGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
9231
|
+
constructor(map) {
|
|
9232
|
+
super(map);
|
|
9233
|
+
}
|
|
9234
|
+
static names() {
|
|
9235
|
+
return {
|
|
9236
|
+
DBClusterId: 'DBClusterId',
|
|
9237
|
+
GDNId: 'GDNId',
|
|
9238
|
+
ownerAccount: 'OwnerAccount',
|
|
9239
|
+
ownerId: 'OwnerId',
|
|
9240
|
+
regionId: 'RegionId',
|
|
9241
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
9242
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
9243
|
+
securityToken: 'SecurityToken',
|
|
9244
|
+
};
|
|
9245
|
+
}
|
|
9246
|
+
static types() {
|
|
9247
|
+
return {
|
|
9248
|
+
DBClusterId: 'string',
|
|
9249
|
+
GDNId: 'string',
|
|
9250
|
+
ownerAccount: 'string',
|
|
9251
|
+
ownerId: 'number',
|
|
9252
|
+
regionId: 'string',
|
|
9253
|
+
resourceOwnerAccount: 'string',
|
|
9254
|
+
resourceOwnerId: 'number',
|
|
9255
|
+
securityToken: 'string',
|
|
9256
|
+
};
|
|
9257
|
+
}
|
|
9258
|
+
}
|
|
9259
|
+
exports.ResetGlobalDatabaseNetworkRequest = ResetGlobalDatabaseNetworkRequest;
|
|
9260
|
+
class ResetGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
9261
|
+
constructor(map) {
|
|
9262
|
+
super(map);
|
|
9263
|
+
}
|
|
9264
|
+
static names() {
|
|
9265
|
+
return {
|
|
9266
|
+
requestId: 'RequestId',
|
|
9267
|
+
};
|
|
9268
|
+
}
|
|
9269
|
+
static types() {
|
|
9270
|
+
return {
|
|
9271
|
+
requestId: 'string',
|
|
9272
|
+
};
|
|
9273
|
+
}
|
|
9274
|
+
}
|
|
9275
|
+
exports.ResetGlobalDatabaseNetworkResponseBody = ResetGlobalDatabaseNetworkResponseBody;
|
|
9276
|
+
class ResetGlobalDatabaseNetworkResponse extends $tea.Model {
|
|
9277
|
+
constructor(map) {
|
|
9278
|
+
super(map);
|
|
9279
|
+
}
|
|
9280
|
+
static names() {
|
|
9281
|
+
return {
|
|
9282
|
+
headers: 'headers',
|
|
9283
|
+
statusCode: 'statusCode',
|
|
9284
|
+
body: 'body',
|
|
9285
|
+
};
|
|
9286
|
+
}
|
|
9287
|
+
static types() {
|
|
9288
|
+
return {
|
|
9289
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9290
|
+
statusCode: 'number',
|
|
9291
|
+
body: ResetGlobalDatabaseNetworkResponseBody,
|
|
9292
|
+
};
|
|
9293
|
+
}
|
|
9294
|
+
}
|
|
9295
|
+
exports.ResetGlobalDatabaseNetworkResponse = ResetGlobalDatabaseNetworkResponse;
|
|
8520
9296
|
class RestartDBNodeRequest extends $tea.Model {
|
|
8521
9297
|
constructor(map) {
|
|
8522
9298
|
super(map);
|
|
@@ -9149,6 +9925,7 @@ class UpgradeDBClusterVersionRequest extends $tea.Model {
|
|
|
9149
9925
|
plannedStartTime: 'PlannedStartTime',
|
|
9150
9926
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
9151
9927
|
resourceOwnerId: 'ResourceOwnerId',
|
|
9928
|
+
targetDBRevisionVersionCode: 'TargetDBRevisionVersionCode',
|
|
9152
9929
|
upgradeLabel: 'UpgradeLabel',
|
|
9153
9930
|
upgradePolicy: 'UpgradePolicy',
|
|
9154
9931
|
upgradeType: 'UpgradeType',
|
|
@@ -9164,6 +9941,7 @@ class UpgradeDBClusterVersionRequest extends $tea.Model {
|
|
|
9164
9941
|
plannedStartTime: 'string',
|
|
9165
9942
|
resourceOwnerAccount: 'string',
|
|
9166
9943
|
resourceOwnerId: 'number',
|
|
9944
|
+
targetDBRevisionVersionCode: 'string',
|
|
9167
9945
|
upgradeLabel: 'string',
|
|
9168
9946
|
upgradePolicy: 'string',
|
|
9169
9947
|
upgradeType: 'string',
|
|
@@ -9225,6 +10003,24 @@ class CreateDBClusterRequestTag extends $tea.Model {
|
|
|
9225
10003
|
}
|
|
9226
10004
|
}
|
|
9227
10005
|
exports.CreateDBClusterRequestTag = CreateDBClusterRequestTag;
|
|
10006
|
+
class CreateDBEndpointAddressRequestZoneInfo extends $tea.Model {
|
|
10007
|
+
constructor(map) {
|
|
10008
|
+
super(map);
|
|
10009
|
+
}
|
|
10010
|
+
static names() {
|
|
10011
|
+
return {
|
|
10012
|
+
vSwitchId: 'VSwitchId',
|
|
10013
|
+
zoneId: 'ZoneId',
|
|
10014
|
+
};
|
|
10015
|
+
}
|
|
10016
|
+
static types() {
|
|
10017
|
+
return {
|
|
10018
|
+
vSwitchId: 'string',
|
|
10019
|
+
zoneId: 'string',
|
|
10020
|
+
};
|
|
10021
|
+
}
|
|
10022
|
+
}
|
|
10023
|
+
exports.CreateDBEndpointAddressRequestZoneInfo = CreateDBEndpointAddressRequestZoneInfo;
|
|
9228
10024
|
class CreateDBNodesRequestDBNode extends $tea.Model {
|
|
9229
10025
|
constructor(map) {
|
|
9230
10026
|
super(map);
|
|
@@ -9500,6 +10296,8 @@ class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
|
|
|
9500
10296
|
backupsLevel: 'BackupsLevel',
|
|
9501
10297
|
consistentTime: 'ConsistentTime',
|
|
9502
10298
|
DBClusterId: 'DBClusterId',
|
|
10299
|
+
expectExpireTime: 'ExpectExpireTime',
|
|
10300
|
+
expectExpireType: 'ExpectExpireType',
|
|
9503
10301
|
isAvail: 'IsAvail',
|
|
9504
10302
|
};
|
|
9505
10303
|
}
|
|
@@ -9516,6 +10314,8 @@ class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
|
|
|
9516
10314
|
backupsLevel: 'string',
|
|
9517
10315
|
consistentTime: 'string',
|
|
9518
10316
|
DBClusterId: 'string',
|
|
10317
|
+
expectExpireTime: 'string',
|
|
10318
|
+
expectExpireType: 'string',
|
|
9519
10319
|
isAvail: 'string',
|
|
9520
10320
|
};
|
|
9521
10321
|
}
|
|
@@ -9565,7 +10365,14 @@ class DescribeClassListResponseBodyItems extends $tea.Model {
|
|
|
9565
10365
|
cpu: 'Cpu',
|
|
9566
10366
|
maxConnections: 'MaxConnections',
|
|
9567
10367
|
maxIOPS: 'MaxIOPS',
|
|
10368
|
+
maxStorageCapacity: 'MaxStorageCapacity',
|
|
9568
10369
|
memoryClass: 'MemoryClass',
|
|
10370
|
+
pl1MaxIOPS: 'Pl1MaxIOPS',
|
|
10371
|
+
pl2MaxIOPS: 'Pl2MaxIOPS',
|
|
10372
|
+
pl3MaxIOPS: 'Pl3MaxIOPS',
|
|
10373
|
+
psl4MaxIOPS: 'Psl4MaxIOPS',
|
|
10374
|
+
psl5MaxIOPS: 'Psl5MaxIOPS',
|
|
10375
|
+
referenceExtPrice: 'ReferenceExtPrice',
|
|
9569
10376
|
referencePrice: 'ReferencePrice',
|
|
9570
10377
|
};
|
|
9571
10378
|
}
|
|
@@ -9577,7 +10384,14 @@ class DescribeClassListResponseBodyItems extends $tea.Model {
|
|
|
9577
10384
|
cpu: 'string',
|
|
9578
10385
|
maxConnections: 'string',
|
|
9579
10386
|
maxIOPS: 'string',
|
|
10387
|
+
maxStorageCapacity: 'string',
|
|
9580
10388
|
memoryClass: 'string',
|
|
10389
|
+
pl1MaxIOPS: 'string',
|
|
10390
|
+
pl2MaxIOPS: 'string',
|
|
10391
|
+
pl3MaxIOPS: 'string',
|
|
10392
|
+
psl4MaxIOPS: 'string',
|
|
10393
|
+
psl5MaxIOPS: 'string',
|
|
10394
|
+
referenceExtPrice: 'string',
|
|
9581
10395
|
referencePrice: 'string',
|
|
9582
10396
|
};
|
|
9583
10397
|
}
|
|
@@ -9673,6 +10487,7 @@ class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
9673
10487
|
maxIOPS: 'MaxIOPS',
|
|
9674
10488
|
sccMode: 'SccMode',
|
|
9675
10489
|
serverWeight: 'ServerWeight',
|
|
10490
|
+
serverlessType: 'ServerlessType',
|
|
9676
10491
|
zoneId: 'ZoneId',
|
|
9677
10492
|
};
|
|
9678
10493
|
}
|
|
@@ -9692,6 +10507,7 @@ class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
9692
10507
|
maxIOPS: 'number',
|
|
9693
10508
|
sccMode: 'string',
|
|
9694
10509
|
serverWeight: 'string',
|
|
10510
|
+
serverlessType: 'string',
|
|
9695
10511
|
zoneId: 'string',
|
|
9696
10512
|
};
|
|
9697
10513
|
}
|
|
@@ -9931,6 +10747,54 @@ class DescribeDBClusterMigrationResponseBodyRdsEndpointList extends $tea.Model {
|
|
|
9931
10747
|
}
|
|
9932
10748
|
}
|
|
9933
10749
|
exports.DescribeDBClusterMigrationResponseBodyRdsEndpointList = DescribeDBClusterMigrationResponseBodyRdsEndpointList;
|
|
10750
|
+
class DescribeDBClusterParametersResponseBodyParametersParameters extends $tea.Model {
|
|
10751
|
+
constructor(map) {
|
|
10752
|
+
super(map);
|
|
10753
|
+
}
|
|
10754
|
+
static names() {
|
|
10755
|
+
return {
|
|
10756
|
+
isEqual: 'IsEqual',
|
|
10757
|
+
distParameterDescription: 'distParameterDescription',
|
|
10758
|
+
distParameterName: 'distParameterName',
|
|
10759
|
+
distParameterOptional: 'distParameterOptional',
|
|
10760
|
+
distParameterValue: 'distParameterValue',
|
|
10761
|
+
rdsParameterDescription: 'rdsParameterDescription',
|
|
10762
|
+
rdsParameterName: 'rdsParameterName',
|
|
10763
|
+
rdsParameterOptional: 'rdsParameterOptional',
|
|
10764
|
+
rdsParameterValue: 'rdsParameterValue',
|
|
10765
|
+
};
|
|
10766
|
+
}
|
|
10767
|
+
static types() {
|
|
10768
|
+
return {
|
|
10769
|
+
isEqual: 'string',
|
|
10770
|
+
distParameterDescription: 'string',
|
|
10771
|
+
distParameterName: 'string',
|
|
10772
|
+
distParameterOptional: 'string',
|
|
10773
|
+
distParameterValue: 'string',
|
|
10774
|
+
rdsParameterDescription: 'string',
|
|
10775
|
+
rdsParameterName: 'string',
|
|
10776
|
+
rdsParameterOptional: 'string',
|
|
10777
|
+
rdsParameterValue: 'string',
|
|
10778
|
+
};
|
|
10779
|
+
}
|
|
10780
|
+
}
|
|
10781
|
+
exports.DescribeDBClusterParametersResponseBodyParametersParameters = DescribeDBClusterParametersResponseBodyParametersParameters;
|
|
10782
|
+
class DescribeDBClusterParametersResponseBodyParameters extends $tea.Model {
|
|
10783
|
+
constructor(map) {
|
|
10784
|
+
super(map);
|
|
10785
|
+
}
|
|
10786
|
+
static names() {
|
|
10787
|
+
return {
|
|
10788
|
+
parameters: 'Parameters',
|
|
10789
|
+
};
|
|
10790
|
+
}
|
|
10791
|
+
static types() {
|
|
10792
|
+
return {
|
|
10793
|
+
parameters: { 'type': 'array', 'itemType': DescribeDBClusterParametersResponseBodyParametersParameters },
|
|
10794
|
+
};
|
|
10795
|
+
}
|
|
10796
|
+
}
|
|
10797
|
+
exports.DescribeDBClusterParametersResponseBodyParameters = DescribeDBClusterParametersResponseBodyParameters;
|
|
9934
10798
|
class DescribeDBClusterParametersResponseBodyRunningParametersParameter extends $tea.Model {
|
|
9935
10799
|
constructor(map) {
|
|
9936
10800
|
super(map);
|
|
@@ -10079,6 +10943,28 @@ class DescribeDBClusterSSLResponseBodyItems extends $tea.Model {
|
|
|
10079
10943
|
}
|
|
10080
10944
|
}
|
|
10081
10945
|
exports.DescribeDBClusterSSLResponseBodyItems = DescribeDBClusterSSLResponseBodyItems;
|
|
10946
|
+
class DescribeDBClusterVersionResponseBodyDBRevisionVersionList extends $tea.Model {
|
|
10947
|
+
constructor(map) {
|
|
10948
|
+
super(map);
|
|
10949
|
+
}
|
|
10950
|
+
static names() {
|
|
10951
|
+
return {
|
|
10952
|
+
releaseNote: 'ReleaseNote',
|
|
10953
|
+
releaseType: 'ReleaseType',
|
|
10954
|
+
revisionVersionCode: 'RevisionVersionCode',
|
|
10955
|
+
revisionVersionName: 'RevisionVersionName',
|
|
10956
|
+
};
|
|
10957
|
+
}
|
|
10958
|
+
static types() {
|
|
10959
|
+
return {
|
|
10960
|
+
releaseNote: 'string',
|
|
10961
|
+
releaseType: 'string',
|
|
10962
|
+
revisionVersionCode: 'string',
|
|
10963
|
+
revisionVersionName: 'string',
|
|
10964
|
+
};
|
|
10965
|
+
}
|
|
10966
|
+
}
|
|
10967
|
+
exports.DescribeDBClusterVersionResponseBodyDBRevisionVersionList = DescribeDBClusterVersionResponseBodyDBRevisionVersionList;
|
|
10082
10968
|
class DescribeDBClustersRequestTag extends $tea.Model {
|
|
10083
10969
|
constructor(map) {
|
|
10084
10970
|
super(map);
|
|
@@ -10106,7 +10992,10 @@ class DescribeDBClustersResponseBodyItemsDBClusterDBNodesDBNode extends $tea.Mod
|
|
|
10106
10992
|
DBNodeClass: 'DBNodeClass',
|
|
10107
10993
|
DBNodeId: 'DBNodeId',
|
|
10108
10994
|
DBNodeRole: 'DBNodeRole',
|
|
10995
|
+
hotReplicaMode: 'HotReplicaMode',
|
|
10996
|
+
imciSwitch: 'ImciSwitch',
|
|
10109
10997
|
regionId: 'RegionId',
|
|
10998
|
+
serverless: 'Serverless',
|
|
10110
10999
|
zoneId: 'ZoneId',
|
|
10111
11000
|
};
|
|
10112
11001
|
}
|
|
@@ -10115,7 +11004,10 @@ class DescribeDBClustersResponseBodyItemsDBClusterDBNodesDBNode extends $tea.Mod
|
|
|
10115
11004
|
DBNodeClass: 'string',
|
|
10116
11005
|
DBNodeId: 'string',
|
|
10117
11006
|
DBNodeRole: 'string',
|
|
11007
|
+
hotReplicaMode: 'string',
|
|
11008
|
+
imciSwitch: 'string',
|
|
10118
11009
|
regionId: 'string',
|
|
11010
|
+
serverless: 'string',
|
|
10119
11011
|
zoneId: 'string',
|
|
10120
11012
|
};
|
|
10121
11013
|
}
|
|
@@ -10177,6 +11069,7 @@ class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
10177
11069
|
}
|
|
10178
11070
|
static names() {
|
|
10179
11071
|
return {
|
|
11072
|
+
aiType: 'AiType',
|
|
10180
11073
|
category: 'Category',
|
|
10181
11074
|
createTime: 'CreateTime',
|
|
10182
11075
|
DBClusterDescription: 'DBClusterDescription',
|
|
@@ -10200,13 +11093,16 @@ class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
10200
11093
|
storagePayType: 'StoragePayType',
|
|
10201
11094
|
storageSpace: 'StorageSpace',
|
|
10202
11095
|
storageUsed: 'StorageUsed',
|
|
11096
|
+
strictConsistency: 'StrictConsistency',
|
|
10203
11097
|
tags: 'Tags',
|
|
10204
11098
|
vpcId: 'VpcId',
|
|
11099
|
+
vswitchId: 'VswitchId',
|
|
10205
11100
|
zoneId: 'ZoneId',
|
|
10206
11101
|
};
|
|
10207
11102
|
}
|
|
10208
11103
|
static types() {
|
|
10209
11104
|
return {
|
|
11105
|
+
aiType: 'string',
|
|
10210
11106
|
category: 'string',
|
|
10211
11107
|
createTime: 'string',
|
|
10212
11108
|
DBClusterDescription: 'string',
|
|
@@ -10230,8 +11126,10 @@ class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
10230
11126
|
storagePayType: 'string',
|
|
10231
11127
|
storageSpace: 'number',
|
|
10232
11128
|
storageUsed: 'number',
|
|
11129
|
+
strictConsistency: 'string',
|
|
10233
11130
|
tags: DescribeDBClustersResponseBodyItemsDBClusterTags,
|
|
10234
11131
|
vpcId: 'string',
|
|
11132
|
+
vswitchId: 'string',
|
|
10235
11133
|
zoneId: 'string',
|
|
10236
11134
|
};
|
|
10237
11135
|
}
|
|
@@ -10631,6 +11529,7 @@ class DescribeDatabasesResponseBodyDatabasesDatabase extends $tea.Model {
|
|
|
10631
11529
|
DBName: 'DBName',
|
|
10632
11530
|
DBStatus: 'DBStatus',
|
|
10633
11531
|
engine: 'Engine',
|
|
11532
|
+
masterID: 'MasterID',
|
|
10634
11533
|
};
|
|
10635
11534
|
}
|
|
10636
11535
|
static types() {
|
|
@@ -10641,6 +11540,7 @@ class DescribeDatabasesResponseBodyDatabasesDatabase extends $tea.Model {
|
|
|
10641
11540
|
DBName: 'string',
|
|
10642
11541
|
DBStatus: 'string',
|
|
10643
11542
|
engine: 'string',
|
|
11543
|
+
masterID: 'string',
|
|
10644
11544
|
};
|
|
10645
11545
|
}
|
|
10646
11546
|
}
|
|
@@ -11365,50 +12265,6 @@ class DescribeSlowLogsResponseBodyItems extends $tea.Model {
|
|
|
11365
12265
|
}
|
|
11366
12266
|
}
|
|
11367
12267
|
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
12268
|
class DescribeTasksResponseBodyTasksTask extends $tea.Model {
|
|
11413
12269
|
constructor(map) {
|
|
11414
12270
|
super(map);
|
|
@@ -11467,6 +12323,36 @@ class DescribeTasksResponseBodyTasks extends $tea.Model {
|
|
|
11467
12323
|
}
|
|
11468
12324
|
}
|
|
11469
12325
|
exports.DescribeTasksResponseBodyTasks = DescribeTasksResponseBodyTasks;
|
|
12326
|
+
class DescribeVSwitchesResponseBodyVSwitchs extends $tea.Model {
|
|
12327
|
+
constructor(map) {
|
|
12328
|
+
super(map);
|
|
12329
|
+
}
|
|
12330
|
+
static names() {
|
|
12331
|
+
return {
|
|
12332
|
+
availableIpAddressCount: 'AvailableIpAddressCount',
|
|
12333
|
+
cidrBlock: 'CidrBlock',
|
|
12334
|
+
description: 'Description',
|
|
12335
|
+
isDefault: 'IsDefault',
|
|
12336
|
+
izNo: 'IzNo',
|
|
12337
|
+
status: 'Status',
|
|
12338
|
+
vSwitchId: 'VSwitchId',
|
|
12339
|
+
vSwitchName: 'VSwitchName',
|
|
12340
|
+
};
|
|
12341
|
+
}
|
|
12342
|
+
static types() {
|
|
12343
|
+
return {
|
|
12344
|
+
availableIpAddressCount: 'number',
|
|
12345
|
+
cidrBlock: 'string',
|
|
12346
|
+
description: 'string',
|
|
12347
|
+
isDefault: 'boolean',
|
|
12348
|
+
izNo: 'string',
|
|
12349
|
+
status: 'string',
|
|
12350
|
+
vSwitchId: 'string',
|
|
12351
|
+
vSwitchName: 'string',
|
|
12352
|
+
};
|
|
12353
|
+
}
|
|
12354
|
+
}
|
|
12355
|
+
exports.DescribeVSwitchesResponseBodyVSwitchs = DescribeVSwitchesResponseBodyVSwitchs;
|
|
11470
12356
|
class ListTagResourcesRequestTag extends $tea.Model {
|
|
11471
12357
|
constructor(map) {
|
|
11472
12358
|
super(map);
|
|
@@ -11835,6 +12721,85 @@ class Client extends openapi_client_1.default {
|
|
|
11835
12721
|
let runtime = new $Util.RuntimeOptions({});
|
|
11836
12722
|
return await this.checkDBNameWithOptions(request, runtime);
|
|
11837
12723
|
}
|
|
12724
|
+
async checkKMSAuthorizedWithOptions(request, runtime) {
|
|
12725
|
+
tea_util_1.default.validateModel(request);
|
|
12726
|
+
let query = {};
|
|
12727
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
12728
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
12729
|
+
}
|
|
12730
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
12731
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
12732
|
+
}
|
|
12733
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
12734
|
+
query["OwnerId"] = request.ownerId;
|
|
12735
|
+
}
|
|
12736
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
12737
|
+
query["RegionId"] = request.regionId;
|
|
12738
|
+
}
|
|
12739
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
12740
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
12741
|
+
}
|
|
12742
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
12743
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
12744
|
+
}
|
|
12745
|
+
if (!tea_util_1.default.isUnset(request.TDERegion)) {
|
|
12746
|
+
query["TDERegion"] = request.TDERegion;
|
|
12747
|
+
}
|
|
12748
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12749
|
+
query: openapi_util_1.default.query(query),
|
|
12750
|
+
});
|
|
12751
|
+
let params = new $OpenApi.Params({
|
|
12752
|
+
action: "CheckKMSAuthorized",
|
|
12753
|
+
version: "2017-08-01",
|
|
12754
|
+
protocol: "HTTPS",
|
|
12755
|
+
pathname: "/",
|
|
12756
|
+
method: "POST",
|
|
12757
|
+
authType: "AK",
|
|
12758
|
+
style: "RPC",
|
|
12759
|
+
reqBodyType: "formData",
|
|
12760
|
+
bodyType: "json",
|
|
12761
|
+
});
|
|
12762
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CheckKMSAuthorizedResponse({}));
|
|
12763
|
+
}
|
|
12764
|
+
async checkKMSAuthorized(request) {
|
|
12765
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12766
|
+
return await this.checkKMSAuthorizedWithOptions(request, runtime);
|
|
12767
|
+
}
|
|
12768
|
+
async checkServiceLinkedRoleWithOptions(request, runtime) {
|
|
12769
|
+
tea_util_1.default.validateModel(request);
|
|
12770
|
+
let query = {};
|
|
12771
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
12772
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
12773
|
+
}
|
|
12774
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
12775
|
+
query["OwnerId"] = request.ownerId;
|
|
12776
|
+
}
|
|
12777
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
12778
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
12779
|
+
}
|
|
12780
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
12781
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
12782
|
+
}
|
|
12783
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12784
|
+
query: openapi_util_1.default.query(query),
|
|
12785
|
+
});
|
|
12786
|
+
let params = new $OpenApi.Params({
|
|
12787
|
+
action: "CheckServiceLinkedRole",
|
|
12788
|
+
version: "2017-08-01",
|
|
12789
|
+
protocol: "HTTPS",
|
|
12790
|
+
pathname: "/",
|
|
12791
|
+
method: "POST",
|
|
12792
|
+
authType: "AK",
|
|
12793
|
+
style: "RPC",
|
|
12794
|
+
reqBodyType: "formData",
|
|
12795
|
+
bodyType: "json",
|
|
12796
|
+
});
|
|
12797
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CheckServiceLinkedRoleResponse({}));
|
|
12798
|
+
}
|
|
12799
|
+
async checkServiceLinkedRole(request) {
|
|
12800
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12801
|
+
return await this.checkServiceLinkedRoleWithOptions(request, runtime);
|
|
12802
|
+
}
|
|
11838
12803
|
async closeAITaskWithOptions(request, runtime) {
|
|
11839
12804
|
tea_util_1.default.validateModel(request);
|
|
11840
12805
|
let query = {};
|
|
@@ -11876,6 +12841,15 @@ class Client extends openapi_client_1.default {
|
|
|
11876
12841
|
let runtime = new $Util.RuntimeOptions({});
|
|
11877
12842
|
return await this.closeAITaskWithOptions(request, runtime);
|
|
11878
12843
|
}
|
|
12844
|
+
/**
|
|
12845
|
+
* * You can call this operation to cancel the migration task before data migration.
|
|
12846
|
+
* * You can call this operation to perform the migration task after data migration.
|
|
12847
|
+
* > 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~~).
|
|
12848
|
+
*
|
|
12849
|
+
* @param request CloseDBClusterMigrationRequest
|
|
12850
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12851
|
+
* @return CloseDBClusterMigrationResponse
|
|
12852
|
+
*/
|
|
11879
12853
|
async closeDBClusterMigrationWithOptions(request, runtime) {
|
|
11880
12854
|
tea_util_1.default.validateModel(request);
|
|
11881
12855
|
let query = {};
|
|
@@ -11913,6 +12887,14 @@ class Client extends openapi_client_1.default {
|
|
|
11913
12887
|
});
|
|
11914
12888
|
return $tea.cast(await this.callApi(params, req, runtime), new CloseDBClusterMigrationResponse({}));
|
|
11915
12889
|
}
|
|
12890
|
+
/**
|
|
12891
|
+
* * You can call this operation to cancel the migration task before data migration.
|
|
12892
|
+
* * You can call this operation to perform the migration task after data migration.
|
|
12893
|
+
* > 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~~).
|
|
12894
|
+
*
|
|
12895
|
+
* @param request CloseDBClusterMigrationRequest
|
|
12896
|
+
* @return CloseDBClusterMigrationResponse
|
|
12897
|
+
*/
|
|
11916
12898
|
async closeDBClusterMigration(request) {
|
|
11917
12899
|
let runtime = new $Util.RuntimeOptions({});
|
|
11918
12900
|
return await this.closeDBClusterMigrationWithOptions(request, runtime);
|
|
@@ -11950,6 +12932,9 @@ class Client extends openapi_client_1.default {
|
|
|
11950
12932
|
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
11951
12933
|
query["OwnerId"] = request.ownerId;
|
|
11952
12934
|
}
|
|
12935
|
+
if (!tea_util_1.default.isUnset(request.privForAllDB)) {
|
|
12936
|
+
query["PrivForAllDB"] = request.privForAllDB;
|
|
12937
|
+
}
|
|
11953
12938
|
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
11954
12939
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
11955
12940
|
}
|
|
@@ -11976,6 +12961,16 @@ class Client extends openapi_client_1.default {
|
|
|
11976
12961
|
let runtime = new $Util.RuntimeOptions({});
|
|
11977
12962
|
return await this.createAccountWithOptions(request, runtime);
|
|
11978
12963
|
}
|
|
12964
|
+
/**
|
|
12965
|
+
* >
|
|
12966
|
+
* * You can manually create up to three backups for each cluster.
|
|
12967
|
+
* * 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~~).
|
|
12968
|
+
* * 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.
|
|
12969
|
+
*
|
|
12970
|
+
* @param request CreateBackupRequest
|
|
12971
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12972
|
+
* @return CreateBackupResponse
|
|
12973
|
+
*/
|
|
11979
12974
|
async createBackupWithOptions(request, runtime) {
|
|
11980
12975
|
tea_util_1.default.validateModel(request);
|
|
11981
12976
|
let query = {};
|
|
@@ -12013,6 +13008,15 @@ class Client extends openapi_client_1.default {
|
|
|
12013
13008
|
});
|
|
12014
13009
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateBackupResponse({}));
|
|
12015
13010
|
}
|
|
13011
|
+
/**
|
|
13012
|
+
* >
|
|
13013
|
+
* * You can manually create up to three backups for each cluster.
|
|
13014
|
+
* * 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~~).
|
|
13015
|
+
* * 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.
|
|
13016
|
+
*
|
|
13017
|
+
* @param request CreateBackupRequest
|
|
13018
|
+
* @return CreateBackupResponse
|
|
13019
|
+
*/
|
|
12016
13020
|
async createBackup(request) {
|
|
12017
13021
|
let runtime = new $Util.RuntimeOptions({});
|
|
12018
13022
|
return await this.createBackupWithOptions(request, runtime);
|
|
@@ -12023,6 +13027,9 @@ class Client extends openapi_client_1.default {
|
|
|
12023
13027
|
if (!tea_util_1.default.isUnset(request.allowShutDown)) {
|
|
12024
13028
|
query["AllowShutDown"] = request.allowShutDown;
|
|
12025
13029
|
}
|
|
13030
|
+
if (!tea_util_1.default.isUnset(request.architecture)) {
|
|
13031
|
+
query["Architecture"] = request.architecture;
|
|
13032
|
+
}
|
|
12026
13033
|
if (!tea_util_1.default.isUnset(request.autoRenew)) {
|
|
12027
13034
|
query["AutoRenew"] = request.autoRenew;
|
|
12028
13035
|
}
|
|
@@ -12053,6 +13060,9 @@ class Client extends openapi_client_1.default {
|
|
|
12053
13060
|
if (!tea_util_1.default.isUnset(request.DBNodeClass)) {
|
|
12054
13061
|
query["DBNodeClass"] = request.DBNodeClass;
|
|
12055
13062
|
}
|
|
13063
|
+
if (!tea_util_1.default.isUnset(request.DBNodeNum)) {
|
|
13064
|
+
query["DBNodeNum"] = request.DBNodeNum;
|
|
13065
|
+
}
|
|
12056
13066
|
if (!tea_util_1.default.isUnset(request.DBType)) {
|
|
12057
13067
|
query["DBType"] = request.DBType;
|
|
12058
13068
|
}
|
|
@@ -12065,6 +13075,18 @@ class Client extends openapi_client_1.default {
|
|
|
12065
13075
|
if (!tea_util_1.default.isUnset(request.GDNId)) {
|
|
12066
13076
|
query["GDNId"] = request.GDNId;
|
|
12067
13077
|
}
|
|
13078
|
+
if (!tea_util_1.default.isUnset(request.hotStandbyCluster)) {
|
|
13079
|
+
query["HotStandbyCluster"] = request.hotStandbyCluster;
|
|
13080
|
+
}
|
|
13081
|
+
if (!tea_util_1.default.isUnset(request.loosePolarLogBin)) {
|
|
13082
|
+
query["LoosePolarLogBin"] = request.loosePolarLogBin;
|
|
13083
|
+
}
|
|
13084
|
+
if (!tea_util_1.default.isUnset(request.looseXEngine)) {
|
|
13085
|
+
query["LooseXEngine"] = request.looseXEngine;
|
|
13086
|
+
}
|
|
13087
|
+
if (!tea_util_1.default.isUnset(request.looseXEngineUseMemoryPct)) {
|
|
13088
|
+
query["LooseXEngineUseMemoryPct"] = request.looseXEngineUseMemoryPct;
|
|
13089
|
+
}
|
|
12068
13090
|
if (!tea_util_1.default.isUnset(request.lowerCaseTableNames)) {
|
|
12069
13091
|
query["LowerCaseTableNames"] = request.lowerCaseTableNames;
|
|
12070
13092
|
}
|
|
@@ -12083,6 +13105,12 @@ class Client extends openapi_client_1.default {
|
|
|
12083
13105
|
if (!tea_util_1.default.isUnset(request.period)) {
|
|
12084
13106
|
query["Period"] = request.period;
|
|
12085
13107
|
}
|
|
13108
|
+
if (!tea_util_1.default.isUnset(request.proxyClass)) {
|
|
13109
|
+
query["ProxyClass"] = request.proxyClass;
|
|
13110
|
+
}
|
|
13111
|
+
if (!tea_util_1.default.isUnset(request.proxyType)) {
|
|
13112
|
+
query["ProxyType"] = request.proxyType;
|
|
13113
|
+
}
|
|
12086
13114
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
12087
13115
|
query["RegionId"] = request.regionId;
|
|
12088
13116
|
}
|
|
@@ -12116,9 +13144,27 @@ class Client extends openapi_client_1.default {
|
|
|
12116
13144
|
if (!tea_util_1.default.isUnset(request.sourceResourceId)) {
|
|
12117
13145
|
query["SourceResourceId"] = request.sourceResourceId;
|
|
12118
13146
|
}
|
|
13147
|
+
if (!tea_util_1.default.isUnset(request.standbyAZ)) {
|
|
13148
|
+
query["StandbyAZ"] = request.standbyAZ;
|
|
13149
|
+
}
|
|
13150
|
+
if (!tea_util_1.default.isUnset(request.storageAutoScale)) {
|
|
13151
|
+
query["StorageAutoScale"] = request.storageAutoScale;
|
|
13152
|
+
}
|
|
13153
|
+
if (!tea_util_1.default.isUnset(request.storagePayType)) {
|
|
13154
|
+
query["StoragePayType"] = request.storagePayType;
|
|
13155
|
+
}
|
|
13156
|
+
if (!tea_util_1.default.isUnset(request.storageSpace)) {
|
|
13157
|
+
query["StorageSpace"] = request.storageSpace;
|
|
13158
|
+
}
|
|
12119
13159
|
if (!tea_util_1.default.isUnset(request.storageType)) {
|
|
12120
13160
|
query["StorageType"] = request.storageType;
|
|
12121
13161
|
}
|
|
13162
|
+
if (!tea_util_1.default.isUnset(request.storageUpperBound)) {
|
|
13163
|
+
query["StorageUpperBound"] = request.storageUpperBound;
|
|
13164
|
+
}
|
|
13165
|
+
if (!tea_util_1.default.isUnset(request.strictConsistency)) {
|
|
13166
|
+
query["StrictConsistency"] = request.strictConsistency;
|
|
13167
|
+
}
|
|
12122
13168
|
if (!tea_util_1.default.isUnset(request.TDEStatus)) {
|
|
12123
13169
|
query["TDEStatus"] = request.TDEStatus;
|
|
12124
13170
|
}
|
|
@@ -12216,6 +13262,13 @@ class Client extends openapi_client_1.default {
|
|
|
12216
13262
|
let runtime = new $Util.RuntimeOptions({});
|
|
12217
13263
|
return await this.createDBClusterEndpointWithOptions(request, runtime);
|
|
12218
13264
|
}
|
|
13265
|
+
/**
|
|
13266
|
+
* > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13267
|
+
*
|
|
13268
|
+
* @param request CreateDBEndpointAddressRequest
|
|
13269
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13270
|
+
* @return CreateDBEndpointAddressResponse
|
|
13271
|
+
*/
|
|
12219
13272
|
async createDBEndpointAddressWithOptions(request, runtime) {
|
|
12220
13273
|
tea_util_1.default.validateModel(request);
|
|
12221
13274
|
let query = {};
|
|
@@ -12243,6 +13296,15 @@ class Client extends openapi_client_1.default {
|
|
|
12243
13296
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
12244
13297
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
12245
13298
|
}
|
|
13299
|
+
if (!tea_util_1.default.isUnset(request.securityGroupId)) {
|
|
13300
|
+
query["SecurityGroupId"] = request.securityGroupId;
|
|
13301
|
+
}
|
|
13302
|
+
if (!tea_util_1.default.isUnset(request.VPCId)) {
|
|
13303
|
+
query["VPCId"] = request.VPCId;
|
|
13304
|
+
}
|
|
13305
|
+
if (!tea_util_1.default.isUnset(request.zoneInfo)) {
|
|
13306
|
+
query["ZoneInfo"] = request.zoneInfo;
|
|
13307
|
+
}
|
|
12246
13308
|
let req = new $OpenApi.OpenApiRequest({
|
|
12247
13309
|
query: openapi_util_1.default.query(query),
|
|
12248
13310
|
});
|
|
@@ -12259,10 +13321,26 @@ class Client extends openapi_client_1.default {
|
|
|
12259
13321
|
});
|
|
12260
13322
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBEndpointAddressResponse({}));
|
|
12261
13323
|
}
|
|
13324
|
+
/**
|
|
13325
|
+
* > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13326
|
+
*
|
|
13327
|
+
* @param request CreateDBEndpointAddressRequest
|
|
13328
|
+
* @return CreateDBEndpointAddressResponse
|
|
13329
|
+
*/
|
|
12262
13330
|
async createDBEndpointAddress(request) {
|
|
12263
13331
|
let runtime = new $Util.RuntimeOptions({});
|
|
12264
13332
|
return await this.createDBEndpointAddressWithOptions(request, runtime);
|
|
12265
13333
|
}
|
|
13334
|
+
/**
|
|
13335
|
+
* 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.
|
|
13336
|
+
* > * You can create up to 10 database links for a cluster.
|
|
13337
|
+
* > * Each database link connects a source cluster and a destination cluster.
|
|
13338
|
+
* > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
|
|
13339
|
+
*
|
|
13340
|
+
* @param request CreateDBLinkRequest
|
|
13341
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13342
|
+
* @return CreateDBLinkResponse
|
|
13343
|
+
*/
|
|
12266
13344
|
async createDBLinkWithOptions(request, runtime) {
|
|
12267
13345
|
tea_util_1.default.validateModel(request);
|
|
12268
13346
|
let query = {};
|
|
@@ -12333,6 +13411,15 @@ class Client extends openapi_client_1.default {
|
|
|
12333
13411
|
});
|
|
12334
13412
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBLinkResponse({}));
|
|
12335
13413
|
}
|
|
13414
|
+
/**
|
|
13415
|
+
* 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.
|
|
13416
|
+
* > * You can create up to 10 database links for a cluster.
|
|
13417
|
+
* > * Each database link connects a source cluster and a destination cluster.
|
|
13418
|
+
* > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
|
|
13419
|
+
*
|
|
13420
|
+
* @param request CreateDBLinkRequest
|
|
13421
|
+
* @return CreateDBLinkResponse
|
|
13422
|
+
*/
|
|
12336
13423
|
async createDBLink(request) {
|
|
12337
13424
|
let runtime = new $Util.RuntimeOptions({});
|
|
12338
13425
|
return await this.createDBLinkWithOptions(request, runtime);
|
|
@@ -12349,6 +13436,9 @@ class Client extends openapi_client_1.default {
|
|
|
12349
13436
|
if (!tea_util_1.default.isUnset(request.DBNode)) {
|
|
12350
13437
|
query["DBNode"] = request.DBNode;
|
|
12351
13438
|
}
|
|
13439
|
+
if (!tea_util_1.default.isUnset(request.DBNodeType)) {
|
|
13440
|
+
query["DBNodeType"] = request.DBNodeType;
|
|
13441
|
+
}
|
|
12352
13442
|
if (!tea_util_1.default.isUnset(request.endpointBindList)) {
|
|
12353
13443
|
query["EndpointBindList"] = request.endpointBindList;
|
|
12354
13444
|
}
|
|
@@ -12396,6 +13486,15 @@ class Client extends openapi_client_1.default {
|
|
|
12396
13486
|
let runtime = new $Util.RuntimeOptions({});
|
|
12397
13487
|
return await this.createDBNodesWithOptions(request, runtime);
|
|
12398
13488
|
}
|
|
13489
|
+
/**
|
|
13490
|
+
* Before you call this operation, make sure that the following requirements are met:
|
|
13491
|
+
* * The cluster is in the Running state.
|
|
13492
|
+
* * The cluster is unlocked.
|
|
13493
|
+
*
|
|
13494
|
+
* @param request CreateDatabaseRequest
|
|
13495
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13496
|
+
* @return CreateDatabaseResponse
|
|
13497
|
+
*/
|
|
12399
13498
|
async createDatabaseWithOptions(request, runtime) {
|
|
12400
13499
|
tea_util_1.default.validateModel(request);
|
|
12401
13500
|
let query = {};
|
|
@@ -12451,10 +13550,25 @@ class Client extends openapi_client_1.default {
|
|
|
12451
13550
|
});
|
|
12452
13551
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDatabaseResponse({}));
|
|
12453
13552
|
}
|
|
13553
|
+
/**
|
|
13554
|
+
* Before you call this operation, make sure that the following requirements are met:
|
|
13555
|
+
* * The cluster is in the Running state.
|
|
13556
|
+
* * The cluster is unlocked.
|
|
13557
|
+
*
|
|
13558
|
+
* @param request CreateDatabaseRequest
|
|
13559
|
+
* @return CreateDatabaseResponse
|
|
13560
|
+
*/
|
|
12454
13561
|
async createDatabase(request) {
|
|
12455
13562
|
let runtime = new $Util.RuntimeOptions({});
|
|
12456
13563
|
return await this.createDatabaseWithOptions(request, runtime);
|
|
12457
13564
|
}
|
|
13565
|
+
/**
|
|
13566
|
+
* > A cluster belongs to only one GDN.
|
|
13567
|
+
*
|
|
13568
|
+
* @param request CreateGlobalDatabaseNetworkRequest
|
|
13569
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13570
|
+
* @return CreateGlobalDatabaseNetworkResponse
|
|
13571
|
+
*/
|
|
12458
13572
|
async createGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
12459
13573
|
tea_util_1.default.validateModel(request);
|
|
12460
13574
|
let query = {};
|
|
@@ -12498,6 +13612,12 @@ class Client extends openapi_client_1.default {
|
|
|
12498
13612
|
});
|
|
12499
13613
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
|
|
12500
13614
|
}
|
|
13615
|
+
/**
|
|
13616
|
+
* > A cluster belongs to only one GDN.
|
|
13617
|
+
*
|
|
13618
|
+
* @param request CreateGlobalDatabaseNetworkRequest
|
|
13619
|
+
* @return CreateGlobalDatabaseNetworkResponse
|
|
13620
|
+
*/
|
|
12501
13621
|
async createGlobalDatabaseNetwork(request) {
|
|
12502
13622
|
let runtime = new $Util.RuntimeOptions({});
|
|
12503
13623
|
return await this.createGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
@@ -12552,6 +13672,14 @@ class Client extends openapi_client_1.default {
|
|
|
12552
13672
|
let runtime = new $Util.RuntimeOptions({});
|
|
12553
13673
|
return await this.createGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
12554
13674
|
}
|
|
13675
|
+
/**
|
|
13676
|
+
* 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~~).
|
|
13677
|
+
* > You can call this operation only on a PolarDB for MySQL cluster.
|
|
13678
|
+
*
|
|
13679
|
+
* @param request CreateParameterGroupRequest
|
|
13680
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13681
|
+
* @return CreateParameterGroupResponse
|
|
13682
|
+
*/
|
|
12555
13683
|
async createParameterGroupWithOptions(request, runtime) {
|
|
12556
13684
|
tea_util_1.default.validateModel(request);
|
|
12557
13685
|
let query = {};
|
|
@@ -12604,10 +13732,52 @@ class Client extends openapi_client_1.default {
|
|
|
12604
13732
|
});
|
|
12605
13733
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateParameterGroupResponse({}));
|
|
12606
13734
|
}
|
|
13735
|
+
/**
|
|
13736
|
+
* 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~~).
|
|
13737
|
+
* > You can call this operation only on a PolarDB for MySQL cluster.
|
|
13738
|
+
*
|
|
13739
|
+
* @param request CreateParameterGroupRequest
|
|
13740
|
+
* @return CreateParameterGroupResponse
|
|
13741
|
+
*/
|
|
12607
13742
|
async createParameterGroup(request) {
|
|
12608
13743
|
let runtime = new $Util.RuntimeOptions({});
|
|
12609
13744
|
return await this.createParameterGroupWithOptions(request, runtime);
|
|
12610
13745
|
}
|
|
13746
|
+
async createServiceLinkedRoleWithOptions(request, runtime) {
|
|
13747
|
+
tea_util_1.default.validateModel(request);
|
|
13748
|
+
let query = {};
|
|
13749
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
13750
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
13751
|
+
}
|
|
13752
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
13753
|
+
query["OwnerId"] = request.ownerId;
|
|
13754
|
+
}
|
|
13755
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
13756
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
13757
|
+
}
|
|
13758
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
13759
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
13760
|
+
}
|
|
13761
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13762
|
+
query: openapi_util_1.default.query(query),
|
|
13763
|
+
});
|
|
13764
|
+
let params = new $OpenApi.Params({
|
|
13765
|
+
action: "CreateServiceLinkedRole",
|
|
13766
|
+
version: "2017-08-01",
|
|
13767
|
+
protocol: "HTTPS",
|
|
13768
|
+
pathname: "/",
|
|
13769
|
+
method: "POST",
|
|
13770
|
+
authType: "AK",
|
|
13771
|
+
style: "RPC",
|
|
13772
|
+
reqBodyType: "formData",
|
|
13773
|
+
bodyType: "json",
|
|
13774
|
+
});
|
|
13775
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceLinkedRoleResponse({}));
|
|
13776
|
+
}
|
|
13777
|
+
async createServiceLinkedRole(request) {
|
|
13778
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
13779
|
+
return await this.createServiceLinkedRoleWithOptions(request, runtime);
|
|
13780
|
+
}
|
|
12611
13781
|
async createStoragePlanWithOptions(request, runtime) {
|
|
12612
13782
|
tea_util_1.default.validateModel(request);
|
|
12613
13783
|
let query = {};
|
|
@@ -12658,6 +13828,13 @@ class Client extends openapi_client_1.default {
|
|
|
12658
13828
|
let runtime = new $Util.RuntimeOptions({});
|
|
12659
13829
|
return await this.createStoragePlanWithOptions(request, runtime);
|
|
12660
13830
|
}
|
|
13831
|
+
/**
|
|
13832
|
+
* > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
13833
|
+
*
|
|
13834
|
+
* @param request DeleteAccountRequest
|
|
13835
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13836
|
+
* @return DeleteAccountResponse
|
|
13837
|
+
*/
|
|
12661
13838
|
async deleteAccountWithOptions(request, runtime) {
|
|
12662
13839
|
tea_util_1.default.validateModel(request);
|
|
12663
13840
|
let query = {};
|
|
@@ -12695,10 +13872,27 @@ class Client extends openapi_client_1.default {
|
|
|
12695
13872
|
});
|
|
12696
13873
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
|
|
12697
13874
|
}
|
|
13875
|
+
/**
|
|
13876
|
+
* > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
13877
|
+
*
|
|
13878
|
+
* @param request DeleteAccountRequest
|
|
13879
|
+
* @return DeleteAccountResponse
|
|
13880
|
+
*/
|
|
12698
13881
|
async deleteAccount(request) {
|
|
12699
13882
|
let runtime = new $Util.RuntimeOptions({});
|
|
12700
13883
|
return await this.deleteAccountWithOptions(request, runtime);
|
|
12701
13884
|
}
|
|
13885
|
+
/**
|
|
13886
|
+
* Before you call this operation, make sure that the cluster meets the following requirements:
|
|
13887
|
+
* * The cluster is in the Running state.
|
|
13888
|
+
* * The backup sets are in the Success state.
|
|
13889
|
+
* > * You can call the [DescribeBackups](~~98102~~) operation to query the status of backup sets.
|
|
13890
|
+
* >* 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
|
|
13891
|
+
*
|
|
13892
|
+
* @param request DeleteBackupRequest
|
|
13893
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13894
|
+
* @return DeleteBackupResponse
|
|
13895
|
+
*/
|
|
12702
13896
|
async deleteBackupWithOptions(request, runtime) {
|
|
12703
13897
|
tea_util_1.default.validateModel(request);
|
|
12704
13898
|
let query = {};
|
|
@@ -12736,6 +13930,16 @@ class Client extends openapi_client_1.default {
|
|
|
12736
13930
|
});
|
|
12737
13931
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteBackupResponse({}));
|
|
12738
13932
|
}
|
|
13933
|
+
/**
|
|
13934
|
+
* Before you call this operation, make sure that the cluster meets the following requirements:
|
|
13935
|
+
* * The cluster is in the Running state.
|
|
13936
|
+
* * The backup sets are in the Success state.
|
|
13937
|
+
* > * You can call the [DescribeBackups](~~98102~~) operation to query the status of backup sets.
|
|
13938
|
+
* >* 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
|
|
13939
|
+
*
|
|
13940
|
+
* @param request DeleteBackupRequest
|
|
13941
|
+
* @return DeleteBackupResponse
|
|
13942
|
+
*/
|
|
12739
13943
|
async deleteBackup(request) {
|
|
12740
13944
|
let runtime = new $Util.RuntimeOptions({});
|
|
12741
13945
|
return await this.deleteBackupWithOptions(request, runtime);
|
|
@@ -12822,6 +14026,14 @@ class Client extends openapi_client_1.default {
|
|
|
12822
14026
|
let runtime = new $Util.RuntimeOptions({});
|
|
12823
14027
|
return await this.deleteDBClusterEndpointWithOptions(request, runtime);
|
|
12824
14028
|
}
|
|
14029
|
+
/**
|
|
14030
|
+
* > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
14031
|
+
* > * 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).
|
|
14032
|
+
*
|
|
14033
|
+
* @param request DeleteDBEndpointAddressRequest
|
|
14034
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14035
|
+
* @return DeleteDBEndpointAddressResponse
|
|
14036
|
+
*/
|
|
12825
14037
|
async deleteDBEndpointAddressWithOptions(request, runtime) {
|
|
12826
14038
|
tea_util_1.default.validateModel(request);
|
|
12827
14039
|
let query = {};
|
|
@@ -12862,6 +14074,13 @@ class Client extends openapi_client_1.default {
|
|
|
12862
14074
|
});
|
|
12863
14075
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBEndpointAddressResponse({}));
|
|
12864
14076
|
}
|
|
14077
|
+
/**
|
|
14078
|
+
* > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
14079
|
+
* > * 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).
|
|
14080
|
+
*
|
|
14081
|
+
* @param request DeleteDBEndpointAddressRequest
|
|
14082
|
+
* @return DeleteDBEndpointAddressResponse
|
|
14083
|
+
*/
|
|
12865
14084
|
async deleteDBEndpointAddress(request) {
|
|
12866
14085
|
let runtime = new $Util.RuntimeOptions({});
|
|
12867
14086
|
return await this.deleteDBEndpointAddressWithOptions(request, runtime);
|
|
@@ -12919,6 +14138,9 @@ class Client extends openapi_client_1.default {
|
|
|
12919
14138
|
if (!tea_util_1.default.isUnset(request.DBNodeId)) {
|
|
12920
14139
|
query["DBNodeId"] = request.DBNodeId;
|
|
12921
14140
|
}
|
|
14141
|
+
if (!tea_util_1.default.isUnset(request.DBNodeType)) {
|
|
14142
|
+
query["DBNodeType"] = request.DBNodeType;
|
|
14143
|
+
}
|
|
12922
14144
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
12923
14145
|
query["OwnerAccount"] = request.ownerAccount;
|
|
12924
14146
|
}
|
|
@@ -12951,6 +14173,14 @@ class Client extends openapi_client_1.default {
|
|
|
12951
14173
|
let runtime = new $Util.RuntimeOptions({});
|
|
12952
14174
|
return await this.deleteDBNodesWithOptions(request, runtime);
|
|
12953
14175
|
}
|
|
14176
|
+
/**
|
|
14177
|
+
* >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
|
|
14178
|
+
* >- 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.
|
|
14179
|
+
*
|
|
14180
|
+
* @param request DeleteDatabaseRequest
|
|
14181
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14182
|
+
* @return DeleteDatabaseResponse
|
|
14183
|
+
*/
|
|
12954
14184
|
async deleteDatabaseWithOptions(request, runtime) {
|
|
12955
14185
|
tea_util_1.default.validateModel(request);
|
|
12956
14186
|
let query = {};
|
|
@@ -12988,10 +14218,24 @@ class Client extends openapi_client_1.default {
|
|
|
12988
14218
|
});
|
|
12989
14219
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDatabaseResponse({}));
|
|
12990
14220
|
}
|
|
14221
|
+
/**
|
|
14222
|
+
* >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
|
|
14223
|
+
* >- 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.
|
|
14224
|
+
*
|
|
14225
|
+
* @param request DeleteDatabaseRequest
|
|
14226
|
+
* @return DeleteDatabaseResponse
|
|
14227
|
+
*/
|
|
12991
14228
|
async deleteDatabase(request) {
|
|
12992
14229
|
let runtime = new $Util.RuntimeOptions({});
|
|
12993
14230
|
return await this.deleteDatabaseWithOptions(request, runtime);
|
|
12994
14231
|
}
|
|
14232
|
+
/**
|
|
14233
|
+
* > You can delete a GDN only when the GDN includes only a primary cluster.
|
|
14234
|
+
*
|
|
14235
|
+
* @param request DeleteGlobalDatabaseNetworkRequest
|
|
14236
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14237
|
+
* @return DeleteGlobalDatabaseNetworkResponse
|
|
14238
|
+
*/
|
|
12995
14239
|
async deleteGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
12996
14240
|
tea_util_1.default.validateModel(request);
|
|
12997
14241
|
let query = {};
|
|
@@ -13032,6 +14276,12 @@ class Client extends openapi_client_1.default {
|
|
|
13032
14276
|
});
|
|
13033
14277
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGlobalDatabaseNetworkResponse({}));
|
|
13034
14278
|
}
|
|
14279
|
+
/**
|
|
14280
|
+
* > You can delete a GDN only when the GDN includes only a primary cluster.
|
|
14281
|
+
*
|
|
14282
|
+
* @param request DeleteGlobalDatabaseNetworkRequest
|
|
14283
|
+
* @return DeleteGlobalDatabaseNetworkResponse
|
|
14284
|
+
*/
|
|
13035
14285
|
async deleteGlobalDatabaseNetwork(request) {
|
|
13036
14286
|
let runtime = new $Util.RuntimeOptions({});
|
|
13037
14287
|
return await this.deleteGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
@@ -13115,6 +14365,14 @@ class Client extends openapi_client_1.default {
|
|
|
13115
14365
|
let runtime = new $Util.RuntimeOptions({});
|
|
13116
14366
|
return await this.deleteMaskingRulesWithOptions(request, runtime);
|
|
13117
14367
|
}
|
|
14368
|
+
/**
|
|
14369
|
+
* 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~~).
|
|
14370
|
+
* > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
|
|
14371
|
+
*
|
|
14372
|
+
* @param request DeleteParameterGroupRequest
|
|
14373
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14374
|
+
* @return DeleteParameterGroupResponse
|
|
14375
|
+
*/
|
|
13118
14376
|
async deleteParameterGroupWithOptions(request, runtime) {
|
|
13119
14377
|
tea_util_1.default.validateModel(request);
|
|
13120
14378
|
let query = {};
|
|
@@ -13155,6 +14413,13 @@ class Client extends openapi_client_1.default {
|
|
|
13155
14413
|
});
|
|
13156
14414
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteParameterGroupResponse({}));
|
|
13157
14415
|
}
|
|
14416
|
+
/**
|
|
14417
|
+
* 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~~).
|
|
14418
|
+
* > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
|
|
14419
|
+
*
|
|
14420
|
+
* @param request DeleteParameterGroupRequest
|
|
14421
|
+
* @return DeleteParameterGroupResponse
|
|
14422
|
+
*/
|
|
13158
14423
|
async deleteParameterGroup(request) {
|
|
13159
14424
|
let runtime = new $Util.RuntimeOptions({});
|
|
13160
14425
|
return await this.deleteParameterGroupWithOptions(request, runtime);
|
|
@@ -13523,6 +14788,9 @@ class Client extends openapi_client_1.default {
|
|
|
13523
14788
|
if (!tea_util_1.default.isUnset(request.commodityCode)) {
|
|
13524
14789
|
query["CommodityCode"] = request.commodityCode;
|
|
13525
14790
|
}
|
|
14791
|
+
if (!tea_util_1.default.isUnset(request.masterHa)) {
|
|
14792
|
+
query["MasterHa"] = request.masterHa;
|
|
14793
|
+
}
|
|
13526
14794
|
if (!tea_util_1.default.isUnset(request.orderType)) {
|
|
13527
14795
|
query["OrderType"] = request.orderType;
|
|
13528
14796
|
}
|
|
@@ -13608,6 +14876,9 @@ class Client extends openapi_client_1.default {
|
|
|
13608
14876
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
13609
14877
|
query["DBClusterId"] = request.DBClusterId;
|
|
13610
14878
|
}
|
|
14879
|
+
if (!tea_util_1.default.isUnset(request.describeType)) {
|
|
14880
|
+
query["DescribeType"] = request.describeType;
|
|
14881
|
+
}
|
|
13611
14882
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
13612
14883
|
query["OwnerAccount"] = request.ownerAccount;
|
|
13613
14884
|
}
|
|
@@ -13731,6 +15002,53 @@ class Client extends openapi_client_1.default {
|
|
|
13731
15002
|
let runtime = new $Util.RuntimeOptions({});
|
|
13732
15003
|
return await this.describeDBClusterAvailableResourcesWithOptions(request, runtime);
|
|
13733
15004
|
}
|
|
15005
|
+
async describeDBClusterConnectivityWithOptions(request, runtime) {
|
|
15006
|
+
tea_util_1.default.validateModel(request);
|
|
15007
|
+
let query = {};
|
|
15008
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
15009
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
15010
|
+
}
|
|
15011
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
15012
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
15013
|
+
}
|
|
15014
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
15015
|
+
query["OwnerId"] = request.ownerId;
|
|
15016
|
+
}
|
|
15017
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
15018
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
15019
|
+
}
|
|
15020
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
15021
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
15022
|
+
}
|
|
15023
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
15024
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
15025
|
+
}
|
|
15026
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
15027
|
+
query["SecurityToken"] = request.securityToken;
|
|
15028
|
+
}
|
|
15029
|
+
if (!tea_util_1.default.isUnset(request.sourceIpAddress)) {
|
|
15030
|
+
query["SourceIpAddress"] = request.sourceIpAddress;
|
|
15031
|
+
}
|
|
15032
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15033
|
+
query: openapi_util_1.default.query(query),
|
|
15034
|
+
});
|
|
15035
|
+
let params = new $OpenApi.Params({
|
|
15036
|
+
action: "DescribeDBClusterConnectivity",
|
|
15037
|
+
version: "2017-08-01",
|
|
15038
|
+
protocol: "HTTPS",
|
|
15039
|
+
pathname: "/",
|
|
15040
|
+
method: "POST",
|
|
15041
|
+
authType: "AK",
|
|
15042
|
+
style: "RPC",
|
|
15043
|
+
reqBodyType: "formData",
|
|
15044
|
+
bodyType: "json",
|
|
15045
|
+
});
|
|
15046
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterConnectivityResponse({}));
|
|
15047
|
+
}
|
|
15048
|
+
async describeDBClusterConnectivity(request) {
|
|
15049
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15050
|
+
return await this.describeDBClusterConnectivityWithOptions(request, runtime);
|
|
15051
|
+
}
|
|
13734
15052
|
async describeDBClusterEndpointsWithOptions(request, runtime) {
|
|
13735
15053
|
tea_util_1.default.validateModel(request);
|
|
13736
15054
|
let query = {};
|
|
@@ -13740,6 +15058,9 @@ class Client extends openapi_client_1.default {
|
|
|
13740
15058
|
if (!tea_util_1.default.isUnset(request.DBEndpointId)) {
|
|
13741
15059
|
query["DBEndpointId"] = request.DBEndpointId;
|
|
13742
15060
|
}
|
|
15061
|
+
if (!tea_util_1.default.isUnset(request.describeType)) {
|
|
15062
|
+
query["DescribeType"] = request.describeType;
|
|
15063
|
+
}
|
|
13743
15064
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
13744
15065
|
query["OwnerAccount"] = request.ownerAccount;
|
|
13745
15066
|
}
|
|
@@ -13772,6 +15093,14 @@ class Client extends openapi_client_1.default {
|
|
|
13772
15093
|
let runtime = new $Util.RuntimeOptions({});
|
|
13773
15094
|
return await this.describeDBClusterEndpointsWithOptions(request, runtime);
|
|
13774
15095
|
}
|
|
15096
|
+
/**
|
|
15097
|
+
* * 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~~).
|
|
15098
|
+
* * 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**.
|
|
15099
|
+
*
|
|
15100
|
+
* @param request DescribeDBClusterMigrationRequest
|
|
15101
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15102
|
+
* @return DescribeDBClusterMigrationResponse
|
|
15103
|
+
*/
|
|
13775
15104
|
async describeDBClusterMigrationWithOptions(request, runtime) {
|
|
13776
15105
|
tea_util_1.default.validateModel(request);
|
|
13777
15106
|
let query = {};
|
|
@@ -13806,6 +15135,13 @@ class Client extends openapi_client_1.default {
|
|
|
13806
15135
|
});
|
|
13807
15136
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
|
|
13808
15137
|
}
|
|
15138
|
+
/**
|
|
15139
|
+
* * 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~~).
|
|
15140
|
+
* * 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**.
|
|
15141
|
+
*
|
|
15142
|
+
* @param request DescribeDBClusterMigrationRequest
|
|
15143
|
+
* @return DescribeDBClusterMigrationResponse
|
|
15144
|
+
*/
|
|
13809
15145
|
async describeDBClusterMigration(request) {
|
|
13810
15146
|
let runtime = new $Util.RuntimeOptions({});
|
|
13811
15147
|
return await this.describeDBClusterMigrationWithOptions(request, runtime);
|
|
@@ -13854,6 +15190,9 @@ class Client extends openapi_client_1.default {
|
|
|
13854
15190
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
13855
15191
|
query["DBClusterId"] = request.DBClusterId;
|
|
13856
15192
|
}
|
|
15193
|
+
if (!tea_util_1.default.isUnset(request.describeType)) {
|
|
15194
|
+
query["DescribeType"] = request.describeType;
|
|
15195
|
+
}
|
|
13857
15196
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
13858
15197
|
query["OwnerAccount"] = request.ownerAccount;
|
|
13859
15198
|
}
|
|
@@ -13886,6 +15225,24 @@ class Client extends openapi_client_1.default {
|
|
|
13886
15225
|
let runtime = new $Util.RuntimeOptions({});
|
|
13887
15226
|
return await this.describeDBClusterParametersWithOptions(request, runtime);
|
|
13888
15227
|
}
|
|
15228
|
+
/**
|
|
15229
|
+
* * When the monitoring data is collected every 5 seconds:
|
|
15230
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
15231
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15232
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15233
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15234
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15235
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
15236
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15237
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15238
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15239
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15240
|
+
* > 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.
|
|
15241
|
+
*
|
|
15242
|
+
* @param request DescribeDBClusterPerformanceRequest
|
|
15243
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15244
|
+
* @return DescribeDBClusterPerformanceResponse
|
|
15245
|
+
*/
|
|
13889
15246
|
async describeDBClusterPerformanceWithOptions(request, runtime) {
|
|
13890
15247
|
tea_util_1.default.validateModel(request);
|
|
13891
15248
|
let query = {};
|
|
@@ -13917,6 +15274,23 @@ class Client extends openapi_client_1.default {
|
|
|
13917
15274
|
});
|
|
13918
15275
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
|
|
13919
15276
|
}
|
|
15277
|
+
/**
|
|
15278
|
+
* * When the monitoring data is collected every 5 seconds:
|
|
15279
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
15280
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15281
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15282
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15283
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15284
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
15285
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15286
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15287
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15288
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15289
|
+
* > 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.
|
|
15290
|
+
*
|
|
15291
|
+
* @param request DescribeDBClusterPerformanceRequest
|
|
15292
|
+
* @return DescribeDBClusterPerformanceResponse
|
|
15293
|
+
*/
|
|
13920
15294
|
async describeDBClusterPerformance(request) {
|
|
13921
15295
|
let runtime = new $Util.RuntimeOptions({});
|
|
13922
15296
|
return await this.describeDBClusterPerformanceWithOptions(request, runtime);
|
|
@@ -14035,6 +15409,13 @@ class Client extends openapi_client_1.default {
|
|
|
14035
15409
|
let runtime = new $Util.RuntimeOptions({});
|
|
14036
15410
|
return await this.describeDBClusterTDEWithOptions(request, runtime);
|
|
14037
15411
|
}
|
|
15412
|
+
/**
|
|
15413
|
+
* > For more information, see [Engine versions](~~471239~~) and [PolarDB for MySQL](~~172561~~).
|
|
15414
|
+
*
|
|
15415
|
+
* @param request DescribeDBClusterVersionRequest
|
|
15416
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15417
|
+
* @return DescribeDBClusterVersionResponse
|
|
15418
|
+
*/
|
|
14038
15419
|
async describeDBClusterVersionWithOptions(request, runtime) {
|
|
14039
15420
|
tea_util_1.default.validateModel(request);
|
|
14040
15421
|
let query = {};
|
|
@@ -14069,6 +15450,12 @@ class Client extends openapi_client_1.default {
|
|
|
14069
15450
|
});
|
|
14070
15451
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterVersionResponse({}));
|
|
14071
15452
|
}
|
|
15453
|
+
/**
|
|
15454
|
+
* > For more information, see [Engine versions](~~471239~~) and [PolarDB for MySQL](~~172561~~).
|
|
15455
|
+
*
|
|
15456
|
+
* @param request DescribeDBClusterVersionRequest
|
|
15457
|
+
* @return DescribeDBClusterVersionResponse
|
|
15458
|
+
*/
|
|
14072
15459
|
async describeDBClusterVersion(request) {
|
|
14073
15460
|
let runtime = new $Util.RuntimeOptions({});
|
|
14074
15461
|
return await this.describeDBClusterVersionWithOptions(request, runtime);
|
|
@@ -14256,6 +15643,13 @@ class Client extends openapi_client_1.default {
|
|
|
14256
15643
|
let runtime = new $Util.RuntimeOptions({});
|
|
14257
15644
|
return await this.describeDBInitializeVariableWithOptions(request, runtime);
|
|
14258
15645
|
}
|
|
15646
|
+
/**
|
|
15647
|
+
* > You can query only the database links that use a PolarDB for Oracle cluster as the source.
|
|
15648
|
+
*
|
|
15649
|
+
* @param request DescribeDBLinksRequest
|
|
15650
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15651
|
+
* @return DescribeDBLinksResponse
|
|
15652
|
+
*/
|
|
14259
15653
|
async describeDBLinksWithOptions(request, runtime) {
|
|
14260
15654
|
tea_util_1.default.validateModel(request);
|
|
14261
15655
|
let query = {};
|
|
@@ -14293,10 +15687,34 @@ class Client extends openapi_client_1.default {
|
|
|
14293
15687
|
});
|
|
14294
15688
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBLinksResponse({}));
|
|
14295
15689
|
}
|
|
15690
|
+
/**
|
|
15691
|
+
* > You can query only the database links that use a PolarDB for Oracle cluster as the source.
|
|
15692
|
+
*
|
|
15693
|
+
* @param request DescribeDBLinksRequest
|
|
15694
|
+
* @return DescribeDBLinksResponse
|
|
15695
|
+
*/
|
|
14296
15696
|
async describeDBLinks(request) {
|
|
14297
15697
|
let runtime = new $Util.RuntimeOptions({});
|
|
14298
15698
|
return await this.describeDBLinksWithOptions(request, runtime);
|
|
14299
15699
|
}
|
|
15700
|
+
/**
|
|
15701
|
+
* * When the monitoring data is collected every 5 seconds:
|
|
15702
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
15703
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15704
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15705
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15706
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15707
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
15708
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15709
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15710
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15711
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15712
|
+
* > 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.
|
|
15713
|
+
*
|
|
15714
|
+
* @param request DescribeDBNodePerformanceRequest
|
|
15715
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15716
|
+
* @return DescribeDBNodePerformanceResponse
|
|
15717
|
+
*/
|
|
14300
15718
|
async describeDBNodePerformanceWithOptions(request, runtime) {
|
|
14301
15719
|
tea_util_1.default.validateModel(request);
|
|
14302
15720
|
let query = {};
|
|
@@ -14331,6 +15749,23 @@ class Client extends openapi_client_1.default {
|
|
|
14331
15749
|
});
|
|
14332
15750
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBNodePerformanceResponse({}));
|
|
14333
15751
|
}
|
|
15752
|
+
/**
|
|
15753
|
+
* * When the monitoring data is collected every 5 seconds:
|
|
15754
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
15755
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15756
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15757
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15758
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15759
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
15760
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
15761
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
15762
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
15763
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
15764
|
+
* > 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.
|
|
15765
|
+
*
|
|
15766
|
+
* @param request DescribeDBNodePerformanceRequest
|
|
15767
|
+
* @return DescribeDBNodePerformanceResponse
|
|
15768
|
+
*/
|
|
14334
15769
|
async describeDBNodePerformance(request) {
|
|
14335
15770
|
let runtime = new $Util.RuntimeOptions({});
|
|
14336
15771
|
return await this.describeDBNodePerformanceWithOptions(request, runtime);
|
|
@@ -14376,6 +15811,13 @@ class Client extends openapi_client_1.default {
|
|
|
14376
15811
|
let runtime = new $Util.RuntimeOptions({});
|
|
14377
15812
|
return await this.describeDBNodesParametersWithOptions(request, runtime);
|
|
14378
15813
|
}
|
|
15814
|
+
/**
|
|
15815
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
15816
|
+
*
|
|
15817
|
+
* @param request DescribeDBProxyPerformanceRequest
|
|
15818
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15819
|
+
* @return DescribeDBProxyPerformanceResponse
|
|
15820
|
+
*/
|
|
14379
15821
|
async describeDBProxyPerformanceWithOptions(request, runtime) {
|
|
14380
15822
|
tea_util_1.default.validateModel(request);
|
|
14381
15823
|
let query = {};
|
|
@@ -14407,6 +15849,12 @@ class Client extends openapi_client_1.default {
|
|
|
14407
15849
|
});
|
|
14408
15850
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBProxyPerformanceResponse({}));
|
|
14409
15851
|
}
|
|
15852
|
+
/**
|
|
15853
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
15854
|
+
*
|
|
15855
|
+
* @param request DescribeDBProxyPerformanceRequest
|
|
15856
|
+
* @return DescribeDBProxyPerformanceResponse
|
|
15857
|
+
*/
|
|
14410
15858
|
async describeDBProxyPerformance(request) {
|
|
14411
15859
|
let runtime = new $Util.RuntimeOptions({});
|
|
14412
15860
|
return await this.describeDBProxyPerformanceWithOptions(request, runtime);
|
|
@@ -14458,6 +15906,14 @@ class Client extends openapi_client_1.default {
|
|
|
14458
15906
|
let runtime = new $Util.RuntimeOptions({});
|
|
14459
15907
|
return await this.describeDatabasesWithOptions(request, runtime);
|
|
14460
15908
|
}
|
|
15909
|
+
/**
|
|
15910
|
+
* 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.
|
|
15911
|
+
* > You can call the [DescribeDBClusterAttribute](~~98181~~) operation to query the cluster status.
|
|
15912
|
+
*
|
|
15913
|
+
* @param request DescribeDetachedBackupsRequest
|
|
15914
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15915
|
+
* @return DescribeDetachedBackupsResponse
|
|
15916
|
+
*/
|
|
14461
15917
|
async describeDetachedBackupsWithOptions(request, runtime) {
|
|
14462
15918
|
tea_util_1.default.validateModel(request);
|
|
14463
15919
|
let query = {};
|
|
@@ -14516,6 +15972,13 @@ class Client extends openapi_client_1.default {
|
|
|
14516
15972
|
});
|
|
14517
15973
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDetachedBackupsResponse({}));
|
|
14518
15974
|
}
|
|
15975
|
+
/**
|
|
15976
|
+
* 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.
|
|
15977
|
+
* > You can call the [DescribeDBClusterAttribute](~~98181~~) operation to query the cluster status.
|
|
15978
|
+
*
|
|
15979
|
+
* @param request DescribeDetachedBackupsRequest
|
|
15980
|
+
* @return DescribeDetachedBackupsResponse
|
|
15981
|
+
*/
|
|
14519
15982
|
async describeDetachedBackups(request) {
|
|
14520
15983
|
let runtime = new $Util.RuntimeOptions({});
|
|
14521
15984
|
return await this.describeDetachedBackupsWithOptions(request, runtime);
|
|
@@ -14570,6 +16033,9 @@ class Client extends openapi_client_1.default {
|
|
|
14570
16033
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
14571
16034
|
query["DBClusterId"] = request.DBClusterId;
|
|
14572
16035
|
}
|
|
16036
|
+
if (!tea_util_1.default.isUnset(request.filterRegion)) {
|
|
16037
|
+
query["FilterRegion"] = request.filterRegion;
|
|
16038
|
+
}
|
|
14573
16039
|
if (!tea_util_1.default.isUnset(request.GDNDescription)) {
|
|
14574
16040
|
query["GDNDescription"] = request.GDNDescription;
|
|
14575
16041
|
}
|
|
@@ -14837,6 +16303,14 @@ class Client extends openapi_client_1.default {
|
|
|
14837
16303
|
let runtime = new $Util.RuntimeOptions({});
|
|
14838
16304
|
return await this.describeMetaListWithOptions(request, runtime);
|
|
14839
16305
|
}
|
|
16306
|
+
/**
|
|
16307
|
+
* 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~~).
|
|
16308
|
+
* > This parameter is valid only for a PolarDB for MySQL cluster.
|
|
16309
|
+
*
|
|
16310
|
+
* @param request DescribeParameterGroupRequest
|
|
16311
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16312
|
+
* @return DescribeParameterGroupResponse
|
|
16313
|
+
*/
|
|
14840
16314
|
async describeParameterGroupWithOptions(request, runtime) {
|
|
14841
16315
|
tea_util_1.default.validateModel(request);
|
|
14842
16316
|
let query = {};
|
|
@@ -14877,10 +16351,25 @@ class Client extends openapi_client_1.default {
|
|
|
14877
16351
|
});
|
|
14878
16352
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupResponse({}));
|
|
14879
16353
|
}
|
|
16354
|
+
/**
|
|
16355
|
+
* 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~~).
|
|
16356
|
+
* > This parameter is valid only for a PolarDB for MySQL cluster.
|
|
16357
|
+
*
|
|
16358
|
+
* @param request DescribeParameterGroupRequest
|
|
16359
|
+
* @return DescribeParameterGroupResponse
|
|
16360
|
+
*/
|
|
14880
16361
|
async describeParameterGroup(request) {
|
|
14881
16362
|
let runtime = new $Util.RuntimeOptions({});
|
|
14882
16363
|
return await this.describeParameterGroupWithOptions(request, runtime);
|
|
14883
16364
|
}
|
|
16365
|
+
/**
|
|
16366
|
+
* 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~~).
|
|
16367
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16368
|
+
*
|
|
16369
|
+
* @param request DescribeParameterGroupsRequest
|
|
16370
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16371
|
+
* @return DescribeParameterGroupsResponse
|
|
16372
|
+
*/
|
|
14884
16373
|
async describeParameterGroupsWithOptions(request, runtime) {
|
|
14885
16374
|
tea_util_1.default.validateModel(request);
|
|
14886
16375
|
let query = {};
|
|
@@ -14924,6 +16413,13 @@ class Client extends openapi_client_1.default {
|
|
|
14924
16413
|
});
|
|
14925
16414
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupsResponse({}));
|
|
14926
16415
|
}
|
|
16416
|
+
/**
|
|
16417
|
+
* 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~~).
|
|
16418
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16419
|
+
*
|
|
16420
|
+
* @param request DescribeParameterGroupsRequest
|
|
16421
|
+
* @return DescribeParameterGroupsResponse
|
|
16422
|
+
*/
|
|
14927
16423
|
async describeParameterGroups(request) {
|
|
14928
16424
|
let runtime = new $Util.RuntimeOptions({});
|
|
14929
16425
|
return await this.describeParameterGroupsWithOptions(request, runtime);
|
|
@@ -15204,6 +16700,13 @@ class Client extends openapi_client_1.default {
|
|
|
15204
16700
|
let runtime = new $Util.RuntimeOptions({});
|
|
15205
16701
|
return await this.describeScheduleTasksWithOptions(request, runtime);
|
|
15206
16702
|
}
|
|
16703
|
+
/**
|
|
16704
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16705
|
+
*
|
|
16706
|
+
* @param request DescribeSlowLogRecordsRequest
|
|
16707
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16708
|
+
* @return DescribeSlowLogRecordsResponse
|
|
16709
|
+
*/
|
|
15207
16710
|
async describeSlowLogRecordsWithOptions(request, runtime) {
|
|
15208
16711
|
tea_util_1.default.validateModel(request);
|
|
15209
16712
|
let query = {};
|
|
@@ -15259,10 +16762,23 @@ class Client extends openapi_client_1.default {
|
|
|
15259
16762
|
});
|
|
15260
16763
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogRecordsResponse({}));
|
|
15261
16764
|
}
|
|
16765
|
+
/**
|
|
16766
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16767
|
+
*
|
|
16768
|
+
* @param request DescribeSlowLogRecordsRequest
|
|
16769
|
+
* @return DescribeSlowLogRecordsResponse
|
|
16770
|
+
*/
|
|
15262
16771
|
async describeSlowLogRecords(request) {
|
|
15263
16772
|
let runtime = new $Util.RuntimeOptions({});
|
|
15264
16773
|
return await this.describeSlowLogRecordsWithOptions(request, runtime);
|
|
15265
16774
|
}
|
|
16775
|
+
/**
|
|
16776
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16777
|
+
*
|
|
16778
|
+
* @param request DescribeSlowLogsRequest
|
|
16779
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16780
|
+
* @return DescribeSlowLogsResponse
|
|
16781
|
+
*/
|
|
15266
16782
|
async describeSlowLogsWithOptions(request, runtime) {
|
|
15267
16783
|
tea_util_1.default.validateModel(request);
|
|
15268
16784
|
let query = {};
|
|
@@ -15313,29 +16829,103 @@ class Client extends openapi_client_1.default {
|
|
|
15313
16829
|
reqBodyType: "formData",
|
|
15314
16830
|
bodyType: "json",
|
|
15315
16831
|
});
|
|
15316
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogsResponse({}));
|
|
16832
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogsResponse({}));
|
|
16833
|
+
}
|
|
16834
|
+
/**
|
|
16835
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16836
|
+
*
|
|
16837
|
+
* @param request DescribeSlowLogsRequest
|
|
16838
|
+
* @return DescribeSlowLogsResponse
|
|
16839
|
+
*/
|
|
16840
|
+
async describeSlowLogs(request) {
|
|
16841
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
16842
|
+
return await this.describeSlowLogsWithOptions(request, runtime);
|
|
16843
|
+
}
|
|
16844
|
+
/**
|
|
16845
|
+
* * 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.
|
|
16846
|
+
* * 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`.
|
|
16847
|
+
*
|
|
16848
|
+
* @param request DescribeTasksRequest
|
|
16849
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16850
|
+
* @return DescribeTasksResponse
|
|
16851
|
+
*/
|
|
16852
|
+
async describeTasksWithOptions(request, runtime) {
|
|
16853
|
+
tea_util_1.default.validateModel(request);
|
|
16854
|
+
let query = {};
|
|
16855
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
16856
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
16857
|
+
}
|
|
16858
|
+
if (!tea_util_1.default.isUnset(request.DBNodeId)) {
|
|
16859
|
+
query["DBNodeId"] = request.DBNodeId;
|
|
16860
|
+
}
|
|
16861
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
16862
|
+
query["EndTime"] = request.endTime;
|
|
16863
|
+
}
|
|
16864
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
16865
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
16866
|
+
}
|
|
16867
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
16868
|
+
query["OwnerId"] = request.ownerId;
|
|
16869
|
+
}
|
|
16870
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
16871
|
+
query["PageNumber"] = request.pageNumber;
|
|
16872
|
+
}
|
|
16873
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
16874
|
+
query["PageSize"] = request.pageSize;
|
|
16875
|
+
}
|
|
16876
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
16877
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
16878
|
+
}
|
|
16879
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
16880
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
16881
|
+
}
|
|
16882
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
16883
|
+
query["StartTime"] = request.startTime;
|
|
16884
|
+
}
|
|
16885
|
+
if (!tea_util_1.default.isUnset(request.status)) {
|
|
16886
|
+
query["Status"] = request.status;
|
|
16887
|
+
}
|
|
16888
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16889
|
+
query: openapi_util_1.default.query(query),
|
|
16890
|
+
});
|
|
16891
|
+
let params = new $OpenApi.Params({
|
|
16892
|
+
action: "DescribeTasks",
|
|
16893
|
+
version: "2017-08-01",
|
|
16894
|
+
protocol: "HTTPS",
|
|
16895
|
+
pathname: "/",
|
|
16896
|
+
method: "POST",
|
|
16897
|
+
authType: "AK",
|
|
16898
|
+
style: "RPC",
|
|
16899
|
+
reqBodyType: "formData",
|
|
16900
|
+
bodyType: "json",
|
|
16901
|
+
});
|
|
16902
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
|
|
15317
16903
|
}
|
|
15318
|
-
|
|
16904
|
+
/**
|
|
16905
|
+
* * 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.
|
|
16906
|
+
* * 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`.
|
|
16907
|
+
*
|
|
16908
|
+
* @param request DescribeTasksRequest
|
|
16909
|
+
* @return DescribeTasksResponse
|
|
16910
|
+
*/
|
|
16911
|
+
async describeTasks(request) {
|
|
15319
16912
|
let runtime = new $Util.RuntimeOptions({});
|
|
15320
|
-
return await this.
|
|
16913
|
+
return await this.describeTasksWithOptions(request, runtime);
|
|
15321
16914
|
}
|
|
15322
|
-
async
|
|
16915
|
+
async describeUserEncryptionKeyListWithOptions(request, runtime) {
|
|
15323
16916
|
tea_util_1.default.validateModel(request);
|
|
15324
16917
|
let query = {};
|
|
16918
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
16919
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
16920
|
+
}
|
|
15325
16921
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
15326
16922
|
query["OwnerAccount"] = request.ownerAccount;
|
|
15327
16923
|
}
|
|
15328
16924
|
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
15329
16925
|
query["OwnerId"] = request.ownerId;
|
|
15330
16926
|
}
|
|
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;
|
|
16927
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
16928
|
+
query["RegionId"] = request.regionId;
|
|
15339
16929
|
}
|
|
15340
16930
|
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
15341
16931
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
@@ -15343,11 +16933,14 @@ class Client extends openapi_client_1.default {
|
|
|
15343
16933
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
15344
16934
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
15345
16935
|
}
|
|
16936
|
+
if (!tea_util_1.default.isUnset(request.TDERegion)) {
|
|
16937
|
+
query["TDERegion"] = request.TDERegion;
|
|
16938
|
+
}
|
|
15346
16939
|
let req = new $OpenApi.OpenApiRequest({
|
|
15347
16940
|
query: openapi_util_1.default.query(query),
|
|
15348
16941
|
});
|
|
15349
16942
|
let params = new $OpenApi.Params({
|
|
15350
|
-
action: "
|
|
16943
|
+
action: "DescribeUserEncryptionKeyList",
|
|
15351
16944
|
version: "2017-08-01",
|
|
15352
16945
|
protocol: "HTTPS",
|
|
15353
16946
|
pathname: "/",
|
|
@@ -15357,23 +16950,17 @@ class Client extends openapi_client_1.default {
|
|
|
15357
16950
|
reqBodyType: "formData",
|
|
15358
16951
|
bodyType: "json",
|
|
15359
16952
|
});
|
|
15360
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
16953
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserEncryptionKeyListResponse({}));
|
|
15361
16954
|
}
|
|
15362
|
-
async
|
|
16955
|
+
async describeUserEncryptionKeyList(request) {
|
|
15363
16956
|
let runtime = new $Util.RuntimeOptions({});
|
|
15364
|
-
return await this.
|
|
16957
|
+
return await this.describeUserEncryptionKeyListWithOptions(request, runtime);
|
|
15365
16958
|
}
|
|
15366
|
-
async
|
|
16959
|
+
async describeVSwitchesWithOptions(request, runtime) {
|
|
15367
16960
|
tea_util_1.default.validateModel(request);
|
|
15368
16961
|
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;
|
|
16962
|
+
if (!tea_util_1.default.isUnset(request.dedicatedHostGroupId)) {
|
|
16963
|
+
query["DedicatedHostGroupId"] = request.dedicatedHostGroupId;
|
|
15377
16964
|
}
|
|
15378
16965
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
15379
16966
|
query["OwnerAccount"] = request.ownerAccount;
|
|
@@ -15387,23 +16974,32 @@ class Client extends openapi_client_1.default {
|
|
|
15387
16974
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
15388
16975
|
query["PageSize"] = request.pageSize;
|
|
15389
16976
|
}
|
|
16977
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
16978
|
+
query["RegionId"] = request.regionId;
|
|
16979
|
+
}
|
|
16980
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
16981
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
16982
|
+
}
|
|
15390
16983
|
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
15391
16984
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
15392
16985
|
}
|
|
15393
16986
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
15394
16987
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
15395
16988
|
}
|
|
15396
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15397
|
-
query["
|
|
16989
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
16990
|
+
query["SecurityToken"] = request.securityToken;
|
|
15398
16991
|
}
|
|
15399
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15400
|
-
query["
|
|
16992
|
+
if (!tea_util_1.default.isUnset(request.vpcId)) {
|
|
16993
|
+
query["VpcId"] = request.vpcId;
|
|
16994
|
+
}
|
|
16995
|
+
if (!tea_util_1.default.isUnset(request.zoneId)) {
|
|
16996
|
+
query["ZoneId"] = request.zoneId;
|
|
15401
16997
|
}
|
|
15402
16998
|
let req = new $OpenApi.OpenApiRequest({
|
|
15403
16999
|
query: openapi_util_1.default.query(query),
|
|
15404
17000
|
});
|
|
15405
17001
|
let params = new $OpenApi.Params({
|
|
15406
|
-
action: "
|
|
17002
|
+
action: "DescribeVSwitches",
|
|
15407
17003
|
version: "2017-08-01",
|
|
15408
17004
|
protocol: "HTTPS",
|
|
15409
17005
|
pathname: "/",
|
|
@@ -15413,11 +17009,11 @@ class Client extends openapi_client_1.default {
|
|
|
15413
17009
|
reqBodyType: "formData",
|
|
15414
17010
|
bodyType: "json",
|
|
15415
17011
|
});
|
|
15416
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
17012
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeVSwitchesResponse({}));
|
|
15417
17013
|
}
|
|
15418
|
-
async
|
|
17014
|
+
async describeVSwitches(request) {
|
|
15419
17015
|
let runtime = new $Util.RuntimeOptions({});
|
|
15420
|
-
return await this.
|
|
17016
|
+
return await this.describeVSwitchesWithOptions(request, runtime);
|
|
15421
17017
|
}
|
|
15422
17018
|
async enableFirewallRulesWithOptions(request, runtime) {
|
|
15423
17019
|
tea_util_1.default.validateModel(request);
|
|
@@ -15572,6 +17168,17 @@ class Client extends openapi_client_1.default {
|
|
|
15572
17168
|
let runtime = new $Util.RuntimeOptions({});
|
|
15573
17169
|
return await this.failoverDBClusterWithOptions(request, runtime);
|
|
15574
17170
|
}
|
|
17171
|
+
/**
|
|
17172
|
+
* > * An account can be authorized to access one or more databases.
|
|
17173
|
+
* > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
|
|
17174
|
+
* > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
17175
|
+
* > * You can call this operation only on a PolarDB for MySQL cluster.
|
|
17176
|
+
* > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
|
|
17177
|
+
*
|
|
17178
|
+
* @param request GrantAccountPrivilegeRequest
|
|
17179
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17180
|
+
* @return GrantAccountPrivilegeResponse
|
|
17181
|
+
*/
|
|
15575
17182
|
async grantAccountPrivilegeWithOptions(request, runtime) {
|
|
15576
17183
|
tea_util_1.default.validateModel(request);
|
|
15577
17184
|
let query = {};
|
|
@@ -15615,6 +17222,16 @@ class Client extends openapi_client_1.default {
|
|
|
15615
17222
|
});
|
|
15616
17223
|
return $tea.cast(await this.callApi(params, req, runtime), new GrantAccountPrivilegeResponse({}));
|
|
15617
17224
|
}
|
|
17225
|
+
/**
|
|
17226
|
+
* > * An account can be authorized to access one or more databases.
|
|
17227
|
+
* > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
|
|
17228
|
+
* > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
17229
|
+
* > * You can call this operation only on a PolarDB for MySQL cluster.
|
|
17230
|
+
* > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
|
|
17231
|
+
*
|
|
17232
|
+
* @param request GrantAccountPrivilegeRequest
|
|
17233
|
+
* @return GrantAccountPrivilegeResponse
|
|
17234
|
+
*/
|
|
15618
17235
|
async grantAccountPrivilege(request) {
|
|
15619
17236
|
let runtime = new $Util.RuntimeOptions({});
|
|
15620
17237
|
return await this.grantAccountPrivilegeWithOptions(request, runtime);
|
|
@@ -15669,6 +17286,47 @@ class Client extends openapi_client_1.default {
|
|
|
15669
17286
|
let runtime = new $Util.RuntimeOptions({});
|
|
15670
17287
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
15671
17288
|
}
|
|
17289
|
+
async manuallyStartDBClusterWithOptions(request, runtime) {
|
|
17290
|
+
tea_util_1.default.validateModel(request);
|
|
17291
|
+
let query = {};
|
|
17292
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
17293
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
17294
|
+
}
|
|
17295
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
17296
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
17297
|
+
}
|
|
17298
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
17299
|
+
query["OwnerId"] = request.ownerId;
|
|
17300
|
+
}
|
|
17301
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
17302
|
+
query["RegionId"] = request.regionId;
|
|
17303
|
+
}
|
|
17304
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
17305
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
17306
|
+
}
|
|
17307
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
17308
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
17309
|
+
}
|
|
17310
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17311
|
+
query: openapi_util_1.default.query(query),
|
|
17312
|
+
});
|
|
17313
|
+
let params = new $OpenApi.Params({
|
|
17314
|
+
action: "ManuallyStartDBCluster",
|
|
17315
|
+
version: "2017-08-01",
|
|
17316
|
+
protocol: "HTTPS",
|
|
17317
|
+
pathname: "/",
|
|
17318
|
+
method: "POST",
|
|
17319
|
+
authType: "AK",
|
|
17320
|
+
style: "RPC",
|
|
17321
|
+
reqBodyType: "formData",
|
|
17322
|
+
bodyType: "json",
|
|
17323
|
+
});
|
|
17324
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ManuallyStartDBClusterResponse({}));
|
|
17325
|
+
}
|
|
17326
|
+
async manuallyStartDBCluster(request) {
|
|
17327
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17328
|
+
return await this.manuallyStartDBClusterWithOptions(request, runtime);
|
|
17329
|
+
}
|
|
15672
17330
|
async modifyAccountDescriptionWithOptions(request, runtime) {
|
|
15673
17331
|
tea_util_1.default.validateModel(request);
|
|
15674
17332
|
let query = {};
|
|
@@ -15810,6 +17468,13 @@ class Client extends openapi_client_1.default {
|
|
|
15810
17468
|
let runtime = new $Util.RuntimeOptions({});
|
|
15811
17469
|
return await this.modifyAutoRenewAttributeWithOptions(request, runtime);
|
|
15812
17470
|
}
|
|
17471
|
+
/**
|
|
17472
|
+
* > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](~~280422~~).
|
|
17473
|
+
*
|
|
17474
|
+
* @param request ModifyBackupPolicyRequest
|
|
17475
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17476
|
+
* @return ModifyBackupPolicyResponse
|
|
17477
|
+
*/
|
|
15813
17478
|
async modifyBackupPolicyWithOptions(request, runtime) {
|
|
15814
17479
|
tea_util_1.default.validateModel(request);
|
|
15815
17480
|
let query = {};
|
|
@@ -15880,10 +17545,69 @@ class Client extends openapi_client_1.default {
|
|
|
15880
17545
|
});
|
|
15881
17546
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
|
|
15882
17547
|
}
|
|
17548
|
+
/**
|
|
17549
|
+
* > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](~~280422~~).
|
|
17550
|
+
*
|
|
17551
|
+
* @param request ModifyBackupPolicyRequest
|
|
17552
|
+
* @return ModifyBackupPolicyResponse
|
|
17553
|
+
*/
|
|
15883
17554
|
async modifyBackupPolicy(request) {
|
|
15884
17555
|
let runtime = new $Util.RuntimeOptions({});
|
|
15885
17556
|
return await this.modifyBackupPolicyWithOptions(request, runtime);
|
|
15886
17557
|
}
|
|
17558
|
+
async modifyDBClusterWithOptions(request, runtime) {
|
|
17559
|
+
tea_util_1.default.validateModel(request);
|
|
17560
|
+
let query = {};
|
|
17561
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
17562
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
17563
|
+
}
|
|
17564
|
+
if (!tea_util_1.default.isUnset(request.dataSyncMode)) {
|
|
17565
|
+
query["DataSyncMode"] = request.dataSyncMode;
|
|
17566
|
+
}
|
|
17567
|
+
if (!tea_util_1.default.isUnset(request.faultSimulateMode)) {
|
|
17568
|
+
query["FaultSimulateMode"] = request.faultSimulateMode;
|
|
17569
|
+
}
|
|
17570
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
17571
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
17572
|
+
}
|
|
17573
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
17574
|
+
query["OwnerId"] = request.ownerId;
|
|
17575
|
+
}
|
|
17576
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
17577
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
17578
|
+
}
|
|
17579
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
17580
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
17581
|
+
}
|
|
17582
|
+
if (!tea_util_1.default.isUnset(request.standbyHAMode)) {
|
|
17583
|
+
query["StandbyHAMode"] = request.standbyHAMode;
|
|
17584
|
+
}
|
|
17585
|
+
if (!tea_util_1.default.isUnset(request.storageAutoScale)) {
|
|
17586
|
+
query["StorageAutoScale"] = request.storageAutoScale;
|
|
17587
|
+
}
|
|
17588
|
+
if (!tea_util_1.default.isUnset(request.storageUpperBound)) {
|
|
17589
|
+
query["StorageUpperBound"] = request.storageUpperBound;
|
|
17590
|
+
}
|
|
17591
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17592
|
+
query: openapi_util_1.default.query(query),
|
|
17593
|
+
});
|
|
17594
|
+
let params = new $OpenApi.Params({
|
|
17595
|
+
action: "ModifyDBCluster",
|
|
17596
|
+
version: "2017-08-01",
|
|
17597
|
+
protocol: "HTTPS",
|
|
17598
|
+
pathname: "/",
|
|
17599
|
+
method: "POST",
|
|
17600
|
+
authType: "AK",
|
|
17601
|
+
style: "RPC",
|
|
17602
|
+
reqBodyType: "formData",
|
|
17603
|
+
bodyType: "json",
|
|
17604
|
+
});
|
|
17605
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
|
|
17606
|
+
}
|
|
17607
|
+
async modifyDBCluster(request) {
|
|
17608
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17609
|
+
return await this.modifyDBClusterWithOptions(request, runtime);
|
|
17610
|
+
}
|
|
15887
17611
|
async modifyDBClusterAccessWhitelistWithOptions(request, runtime) {
|
|
15888
17612
|
tea_util_1.default.validateModel(request);
|
|
15889
17613
|
let query = {};
|
|
@@ -16175,6 +17899,13 @@ class Client extends openapi_client_1.default {
|
|
|
16175
17899
|
let runtime = new $Util.RuntimeOptions({});
|
|
16176
17900
|
return await this.modifyDBClusterEndpointWithOptions(request, runtime);
|
|
16177
17901
|
}
|
|
17902
|
+
/**
|
|
17903
|
+
* > 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.
|
|
17904
|
+
*
|
|
17905
|
+
* @param request ModifyDBClusterMaintainTimeRequest
|
|
17906
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17907
|
+
* @return ModifyDBClusterMaintainTimeResponse
|
|
17908
|
+
*/
|
|
16178
17909
|
async modifyDBClusterMaintainTimeWithOptions(request, runtime) {
|
|
16179
17910
|
tea_util_1.default.validateModel(request);
|
|
16180
17911
|
let query = {};
|
|
@@ -16212,10 +17943,25 @@ class Client extends openapi_client_1.default {
|
|
|
16212
17943
|
});
|
|
16213
17944
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
|
|
16214
17945
|
}
|
|
17946
|
+
/**
|
|
17947
|
+
* > 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.
|
|
17948
|
+
*
|
|
17949
|
+
* @param request ModifyDBClusterMaintainTimeRequest
|
|
17950
|
+
* @return ModifyDBClusterMaintainTimeResponse
|
|
17951
|
+
*/
|
|
16215
17952
|
async modifyDBClusterMaintainTime(request) {
|
|
16216
17953
|
let runtime = new $Util.RuntimeOptions({});
|
|
16217
17954
|
return await this.modifyDBClusterMaintainTimeWithOptions(request, runtime);
|
|
16218
17955
|
}
|
|
17956
|
+
/**
|
|
17957
|
+
* * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
17958
|
+
* * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
17959
|
+
* > 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~~).
|
|
17960
|
+
*
|
|
17961
|
+
* @param request ModifyDBClusterMigrationRequest
|
|
17962
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17963
|
+
* @return ModifyDBClusterMigrationResponse
|
|
17964
|
+
*/
|
|
16219
17965
|
async modifyDBClusterMigrationWithOptions(request, runtime) {
|
|
16220
17966
|
tea_util_1.default.validateModel(request);
|
|
16221
17967
|
let query = {};
|
|
@@ -16265,10 +18011,35 @@ class Client extends openapi_client_1.default {
|
|
|
16265
18011
|
});
|
|
16266
18012
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMigrationResponse({}));
|
|
16267
18013
|
}
|
|
18014
|
+
/**
|
|
18015
|
+
* * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
18016
|
+
* * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
18017
|
+
* > 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~~).
|
|
18018
|
+
*
|
|
18019
|
+
* @param request ModifyDBClusterMigrationRequest
|
|
18020
|
+
* @return ModifyDBClusterMigrationResponse
|
|
18021
|
+
*/
|
|
16268
18022
|
async modifyDBClusterMigration(request) {
|
|
16269
18023
|
let runtime = new $Util.RuntimeOptions({});
|
|
16270
18024
|
return await this.modifyDBClusterMigrationWithOptions(request, runtime);
|
|
16271
18025
|
}
|
|
18026
|
+
/**
|
|
18027
|
+
* * When the monitoring data is collected every 5 seconds:
|
|
18028
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
18029
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
18030
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
18031
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
18032
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
18033
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
18034
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
18035
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
18036
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
18037
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
18038
|
+
*
|
|
18039
|
+
* @param request ModifyDBClusterMonitorRequest
|
|
18040
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18041
|
+
* @return ModifyDBClusterMonitorResponse
|
|
18042
|
+
*/
|
|
16272
18043
|
async modifyDBClusterMonitorWithOptions(request, runtime) {
|
|
16273
18044
|
tea_util_1.default.validateModel(request);
|
|
16274
18045
|
let query = {};
|
|
@@ -16306,10 +18077,35 @@ class Client extends openapi_client_1.default {
|
|
|
16306
18077
|
});
|
|
16307
18078
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMonitorResponse({}));
|
|
16308
18079
|
}
|
|
18080
|
+
/**
|
|
18081
|
+
* * When the monitoring data is collected every 5 seconds:
|
|
18082
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
18083
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
18084
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
18085
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
18086
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
18087
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
18088
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
18089
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
18090
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
18091
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
18092
|
+
*
|
|
18093
|
+
* @param request ModifyDBClusterMonitorRequest
|
|
18094
|
+
* @return ModifyDBClusterMonitorResponse
|
|
18095
|
+
*/
|
|
16309
18096
|
async modifyDBClusterMonitor(request) {
|
|
16310
18097
|
let runtime = new $Util.RuntimeOptions({});
|
|
16311
18098
|
return await this.modifyDBClusterMonitorWithOptions(request, runtime);
|
|
16312
18099
|
}
|
|
18100
|
+
/**
|
|
18101
|
+
* 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~~).
|
|
18102
|
+
* **
|
|
18103
|
+
* **Only PolarDB for MySQL clusters support parameter templates.
|
|
18104
|
+
*
|
|
18105
|
+
* @param request ModifyDBClusterParametersRequest
|
|
18106
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18107
|
+
* @return ModifyDBClusterParametersResponse
|
|
18108
|
+
*/
|
|
16313
18109
|
async modifyDBClusterParametersWithOptions(request, runtime) {
|
|
16314
18110
|
tea_util_1.default.validateModel(request);
|
|
16315
18111
|
let query = {};
|
|
@@ -16359,6 +18155,14 @@ class Client extends openapi_client_1.default {
|
|
|
16359
18155
|
});
|
|
16360
18156
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterParametersResponse({}));
|
|
16361
18157
|
}
|
|
18158
|
+
/**
|
|
18159
|
+
* 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~~).
|
|
18160
|
+
* **
|
|
18161
|
+
* **Only PolarDB for MySQL clusters support parameter templates.
|
|
18162
|
+
*
|
|
18163
|
+
* @param request ModifyDBClusterParametersRequest
|
|
18164
|
+
* @return ModifyDBClusterParametersResponse
|
|
18165
|
+
*/
|
|
16362
18166
|
async modifyDBClusterParameters(request) {
|
|
16363
18167
|
let runtime = new $Util.RuntimeOptions({});
|
|
16364
18168
|
return await this.modifyDBClusterParametersWithOptions(request, runtime);
|
|
@@ -16372,6 +18176,9 @@ class Client extends openapi_client_1.default {
|
|
|
16372
18176
|
if (!tea_util_1.default.isUnset(request.fromTimeService)) {
|
|
16373
18177
|
query["FromTimeService"] = request.fromTimeService;
|
|
16374
18178
|
}
|
|
18179
|
+
if (!tea_util_1.default.isUnset(request.isSwitchOverForDisaster)) {
|
|
18180
|
+
query["IsSwitchOverForDisaster"] = request.isSwitchOverForDisaster;
|
|
18181
|
+
}
|
|
16375
18182
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
16376
18183
|
query["OwnerAccount"] = request.ownerAccount;
|
|
16377
18184
|
}
|
|
@@ -16390,6 +18197,9 @@ class Client extends openapi_client_1.default {
|
|
|
16390
18197
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
16391
18198
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
16392
18199
|
}
|
|
18200
|
+
if (!tea_util_1.default.isUnset(request.VPCId)) {
|
|
18201
|
+
query["VPCId"] = request.VPCId;
|
|
18202
|
+
}
|
|
16393
18203
|
if (!tea_util_1.default.isUnset(request.vSwitchId)) {
|
|
16394
18204
|
query["VSwitchId"] = request.vSwitchId;
|
|
16395
18205
|
}
|
|
@@ -16566,6 +18376,67 @@ class Client extends openapi_client_1.default {
|
|
|
16566
18376
|
let runtime = new $Util.RuntimeOptions({});
|
|
16567
18377
|
return await this.modifyDBClusterServerlessConfWithOptions(request, runtime);
|
|
16568
18378
|
}
|
|
18379
|
+
async modifyDBClusterStorageSpaceWithOptions(request, runtime) {
|
|
18380
|
+
tea_util_1.default.validateModel(request);
|
|
18381
|
+
let query = {};
|
|
18382
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
18383
|
+
query["ClientToken"] = request.clientToken;
|
|
18384
|
+
}
|
|
18385
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
18386
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
18387
|
+
}
|
|
18388
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
18389
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
18390
|
+
}
|
|
18391
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
18392
|
+
query["OwnerId"] = request.ownerId;
|
|
18393
|
+
}
|
|
18394
|
+
if (!tea_util_1.default.isUnset(request.plannedEndTime)) {
|
|
18395
|
+
query["PlannedEndTime"] = request.plannedEndTime;
|
|
18396
|
+
}
|
|
18397
|
+
if (!tea_util_1.default.isUnset(request.plannedStartTime)) {
|
|
18398
|
+
query["PlannedStartTime"] = request.plannedStartTime;
|
|
18399
|
+
}
|
|
18400
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
18401
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
18402
|
+
}
|
|
18403
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
18404
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
18405
|
+
}
|
|
18406
|
+
if (!tea_util_1.default.isUnset(request.storageSpace)) {
|
|
18407
|
+
query["StorageSpace"] = request.storageSpace;
|
|
18408
|
+
}
|
|
18409
|
+
if (!tea_util_1.default.isUnset(request.subCategory)) {
|
|
18410
|
+
query["SubCategory"] = request.subCategory;
|
|
18411
|
+
}
|
|
18412
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18413
|
+
query: openapi_util_1.default.query(query),
|
|
18414
|
+
});
|
|
18415
|
+
let params = new $OpenApi.Params({
|
|
18416
|
+
action: "ModifyDBClusterStorageSpace",
|
|
18417
|
+
version: "2017-08-01",
|
|
18418
|
+
protocol: "HTTPS",
|
|
18419
|
+
pathname: "/",
|
|
18420
|
+
method: "POST",
|
|
18421
|
+
authType: "AK",
|
|
18422
|
+
style: "RPC",
|
|
18423
|
+
reqBodyType: "formData",
|
|
18424
|
+
bodyType: "json",
|
|
18425
|
+
});
|
|
18426
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterStorageSpaceResponse({}));
|
|
18427
|
+
}
|
|
18428
|
+
async modifyDBClusterStorageSpace(request) {
|
|
18429
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
18430
|
+
return await this.modifyDBClusterStorageSpaceWithOptions(request, runtime);
|
|
18431
|
+
}
|
|
18432
|
+
/**
|
|
18433
|
+
* > * To perform this operation, you must activate KMS first. For more information, see [Purchase a dedicated KMS instance](~~153781~~).
|
|
18434
|
+
* > * After TDE is enabled, you cannot disable TDE.
|
|
18435
|
+
*
|
|
18436
|
+
* @param request ModifyDBClusterTDERequest
|
|
18437
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18438
|
+
* @return ModifyDBClusterTDEResponse
|
|
18439
|
+
*/
|
|
16569
18440
|
async modifyDBClusterTDEWithOptions(request, runtime) {
|
|
16570
18441
|
tea_util_1.default.validateModel(request);
|
|
16571
18442
|
let query = {};
|
|
@@ -16612,6 +18483,13 @@ class Client extends openapi_client_1.default {
|
|
|
16612
18483
|
});
|
|
16613
18484
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterTDEResponse({}));
|
|
16614
18485
|
}
|
|
18486
|
+
/**
|
|
18487
|
+
* > * To perform this operation, you must activate KMS first. For more information, see [Purchase a dedicated KMS instance](~~153781~~).
|
|
18488
|
+
* > * After TDE is enabled, you cannot disable TDE.
|
|
18489
|
+
*
|
|
18490
|
+
* @param request ModifyDBClusterTDERequest
|
|
18491
|
+
* @return ModifyDBClusterTDEResponse
|
|
18492
|
+
*/
|
|
16615
18493
|
async modifyDBClusterTDE(request) {
|
|
16616
18494
|
let runtime = new $Util.RuntimeOptions({});
|
|
16617
18495
|
return await this.modifyDBClusterTDEWithOptions(request, runtime);
|
|
@@ -16728,6 +18606,9 @@ class Client extends openapi_client_1.default {
|
|
|
16728
18606
|
if (!tea_util_1.default.isUnset(request.DBNodeTargetClass)) {
|
|
16729
18607
|
query["DBNodeTargetClass"] = request.DBNodeTargetClass;
|
|
16730
18608
|
}
|
|
18609
|
+
if (!tea_util_1.default.isUnset(request.DBNodeType)) {
|
|
18610
|
+
query["DBNodeType"] = request.DBNodeType;
|
|
18611
|
+
}
|
|
16731
18612
|
if (!tea_util_1.default.isUnset(request.modifyType)) {
|
|
16732
18613
|
query["ModifyType"] = request.modifyType;
|
|
16733
18614
|
}
|
|
@@ -16772,6 +18653,50 @@ class Client extends openapi_client_1.default {
|
|
|
16772
18653
|
let runtime = new $Util.RuntimeOptions({});
|
|
16773
18654
|
return await this.modifyDBNodeClassWithOptions(request, runtime);
|
|
16774
18655
|
}
|
|
18656
|
+
async modifyDBNodeHotReplicaModeWithOptions(request, runtime) {
|
|
18657
|
+
tea_util_1.default.validateModel(request);
|
|
18658
|
+
let query = {};
|
|
18659
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
18660
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
18661
|
+
}
|
|
18662
|
+
if (!tea_util_1.default.isUnset(request.DBNodeId)) {
|
|
18663
|
+
query["DBNodeId"] = request.DBNodeId;
|
|
18664
|
+
}
|
|
18665
|
+
if (!tea_util_1.default.isUnset(request.hotReplicaMode)) {
|
|
18666
|
+
query["HotReplicaMode"] = request.hotReplicaMode;
|
|
18667
|
+
}
|
|
18668
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
18669
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
18670
|
+
}
|
|
18671
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
18672
|
+
query["OwnerId"] = request.ownerId;
|
|
18673
|
+
}
|
|
18674
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
18675
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
18676
|
+
}
|
|
18677
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
18678
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
18679
|
+
}
|
|
18680
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18681
|
+
query: openapi_util_1.default.query(query),
|
|
18682
|
+
});
|
|
18683
|
+
let params = new $OpenApi.Params({
|
|
18684
|
+
action: "ModifyDBNodeHotReplicaMode",
|
|
18685
|
+
version: "2017-08-01",
|
|
18686
|
+
protocol: "HTTPS",
|
|
18687
|
+
pathname: "/",
|
|
18688
|
+
method: "POST",
|
|
18689
|
+
authType: "AK",
|
|
18690
|
+
style: "RPC",
|
|
18691
|
+
reqBodyType: "formData",
|
|
18692
|
+
bodyType: "json",
|
|
18693
|
+
});
|
|
18694
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodeHotReplicaModeResponse({}));
|
|
18695
|
+
}
|
|
18696
|
+
async modifyDBNodeHotReplicaMode(request) {
|
|
18697
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
18698
|
+
return await this.modifyDBNodeHotReplicaModeWithOptions(request, runtime);
|
|
18699
|
+
}
|
|
16775
18700
|
async modifyDBNodesClassWithOptions(request, runtime) {
|
|
16776
18701
|
tea_util_1.default.validateModel(request);
|
|
16777
18702
|
let query = {};
|
|
@@ -17225,6 +19150,12 @@ class Client extends openapi_client_1.default {
|
|
|
17225
19150
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
17226
19151
|
query["DBClusterId"] = request.DBClusterId;
|
|
17227
19152
|
}
|
|
19153
|
+
if (!tea_util_1.default.isUnset(request.describeType)) {
|
|
19154
|
+
query["DescribeType"] = request.describeType;
|
|
19155
|
+
}
|
|
19156
|
+
if (!tea_util_1.default.isUnset(request.nodeType)) {
|
|
19157
|
+
query["NodeType"] = request.nodeType;
|
|
19158
|
+
}
|
|
17228
19159
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
17229
19160
|
query["OwnerAccount"] = request.ownerAccount;
|
|
17230
19161
|
}
|
|
@@ -17307,6 +19238,13 @@ class Client extends openapi_client_1.default {
|
|
|
17307
19238
|
let runtime = new $Util.RuntimeOptions({});
|
|
17308
19239
|
return await this.refreshDBClusterStorageUsageWithOptions(request, runtime);
|
|
17309
19240
|
}
|
|
19241
|
+
/**
|
|
19242
|
+
* > You cannot remove the primary cluster from a GDN.
|
|
19243
|
+
*
|
|
19244
|
+
* @param request RemoveDBClusterFromGDNRequest
|
|
19245
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19246
|
+
* @return RemoveDBClusterFromGDNResponse
|
|
19247
|
+
*/
|
|
17310
19248
|
async removeDBClusterFromGDNWithOptions(request, runtime) {
|
|
17311
19249
|
tea_util_1.default.validateModel(request);
|
|
17312
19250
|
let query = {};
|
|
@@ -17347,10 +19285,24 @@ class Client extends openapi_client_1.default {
|
|
|
17347
19285
|
});
|
|
17348
19286
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveDBClusterFromGDNResponse({}));
|
|
17349
19287
|
}
|
|
19288
|
+
/**
|
|
19289
|
+
* > You cannot remove the primary cluster from a GDN.
|
|
19290
|
+
*
|
|
19291
|
+
* @param request RemoveDBClusterFromGDNRequest
|
|
19292
|
+
* @return RemoveDBClusterFromGDNResponse
|
|
19293
|
+
*/
|
|
17350
19294
|
async removeDBClusterFromGDN(request) {
|
|
17351
19295
|
let runtime = new $Util.RuntimeOptions({});
|
|
17352
19296
|
return await this.removeDBClusterFromGDNWithOptions(request, runtime);
|
|
17353
19297
|
}
|
|
19298
|
+
/**
|
|
19299
|
+
* >- Only PolarDB for MySQL clusters support this operation.
|
|
19300
|
+
* >- 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.
|
|
19301
|
+
*
|
|
19302
|
+
* @param request ResetAccountRequest
|
|
19303
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19304
|
+
* @return ResetAccountResponse
|
|
19305
|
+
*/
|
|
17354
19306
|
async resetAccountWithOptions(request, runtime) {
|
|
17355
19307
|
tea_util_1.default.validateModel(request);
|
|
17356
19308
|
let query = {};
|
|
@@ -17391,10 +19343,64 @@ class Client extends openapi_client_1.default {
|
|
|
17391
19343
|
});
|
|
17392
19344
|
return $tea.cast(await this.callApi(params, req, runtime), new ResetAccountResponse({}));
|
|
17393
19345
|
}
|
|
19346
|
+
/**
|
|
19347
|
+
* >- Only PolarDB for MySQL clusters support this operation.
|
|
19348
|
+
* >- 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.
|
|
19349
|
+
*
|
|
19350
|
+
* @param request ResetAccountRequest
|
|
19351
|
+
* @return ResetAccountResponse
|
|
19352
|
+
*/
|
|
17394
19353
|
async resetAccount(request) {
|
|
17395
19354
|
let runtime = new $Util.RuntimeOptions({});
|
|
17396
19355
|
return await this.resetAccountWithOptions(request, runtime);
|
|
17397
19356
|
}
|
|
19357
|
+
async resetGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
19358
|
+
tea_util_1.default.validateModel(request);
|
|
19359
|
+
let query = {};
|
|
19360
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
19361
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
19362
|
+
}
|
|
19363
|
+
if (!tea_util_1.default.isUnset(request.GDNId)) {
|
|
19364
|
+
query["GDNId"] = request.GDNId;
|
|
19365
|
+
}
|
|
19366
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
19367
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
19368
|
+
}
|
|
19369
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
19370
|
+
query["OwnerId"] = request.ownerId;
|
|
19371
|
+
}
|
|
19372
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
19373
|
+
query["RegionId"] = request.regionId;
|
|
19374
|
+
}
|
|
19375
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
19376
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
19377
|
+
}
|
|
19378
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
19379
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
19380
|
+
}
|
|
19381
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
19382
|
+
query["SecurityToken"] = request.securityToken;
|
|
19383
|
+
}
|
|
19384
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19385
|
+
query: openapi_util_1.default.query(query),
|
|
19386
|
+
});
|
|
19387
|
+
let params = new $OpenApi.Params({
|
|
19388
|
+
action: "ResetGlobalDatabaseNetwork",
|
|
19389
|
+
version: "2017-08-01",
|
|
19390
|
+
protocol: "HTTPS",
|
|
19391
|
+
pathname: "/",
|
|
19392
|
+
method: "POST",
|
|
19393
|
+
authType: "AK",
|
|
19394
|
+
style: "RPC",
|
|
19395
|
+
reqBodyType: "formData",
|
|
19396
|
+
bodyType: "json",
|
|
19397
|
+
});
|
|
19398
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ResetGlobalDatabaseNetworkResponse({}));
|
|
19399
|
+
}
|
|
19400
|
+
async resetGlobalDatabaseNetwork(request) {
|
|
19401
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
19402
|
+
return await this.resetGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
19403
|
+
}
|
|
17398
19404
|
async restartDBNodeWithOptions(request, runtime) {
|
|
17399
19405
|
tea_util_1.default.validateModel(request);
|
|
17400
19406
|
let query = {};
|
|
@@ -17680,6 +19686,15 @@ class Client extends openapi_client_1.default {
|
|
|
17680
19686
|
let runtime = new $Util.RuntimeOptions({});
|
|
17681
19687
|
return await this.tempModifyDBNodeWithOptions(request, runtime);
|
|
17682
19688
|
}
|
|
19689
|
+
/**
|
|
19690
|
+
* > * 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~~).
|
|
19691
|
+
* >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
|
|
19692
|
+
* >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
|
|
19693
|
+
*
|
|
19694
|
+
* @param request TransformDBClusterPayTypeRequest
|
|
19695
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19696
|
+
* @return TransformDBClusterPayTypeResponse
|
|
19697
|
+
*/
|
|
17683
19698
|
async transformDBClusterPayTypeWithOptions(request, runtime) {
|
|
17684
19699
|
tea_util_1.default.validateModel(request);
|
|
17685
19700
|
let query = {};
|
|
@@ -17732,6 +19747,14 @@ class Client extends openapi_client_1.default {
|
|
|
17732
19747
|
});
|
|
17733
19748
|
return $tea.cast(await this.callApi(params, req, runtime), new TransformDBClusterPayTypeResponse({}));
|
|
17734
19749
|
}
|
|
19750
|
+
/**
|
|
19751
|
+
* > * 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~~).
|
|
19752
|
+
* >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
|
|
19753
|
+
* >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
|
|
19754
|
+
*
|
|
19755
|
+
* @param request TransformDBClusterPayTypeRequest
|
|
19756
|
+
* @return TransformDBClusterPayTypeResponse
|
|
19757
|
+
*/
|
|
17735
19758
|
async transformDBClusterPayType(request) {
|
|
17736
19759
|
let runtime = new $Util.RuntimeOptions({});
|
|
17737
19760
|
return await this.transformDBClusterPayTypeWithOptions(request, runtime);
|
|
@@ -17786,6 +19809,13 @@ class Client extends openapi_client_1.default {
|
|
|
17786
19809
|
let runtime = new $Util.RuntimeOptions({});
|
|
17787
19810
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
17788
19811
|
}
|
|
19812
|
+
/**
|
|
19813
|
+
* > 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.
|
|
19814
|
+
*
|
|
19815
|
+
* @param request UpgradeDBClusterMinorVersionRequest
|
|
19816
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19817
|
+
* @return UpgradeDBClusterMinorVersionResponse
|
|
19818
|
+
*/
|
|
17789
19819
|
async upgradeDBClusterMinorVersionWithOptions(request, runtime) {
|
|
17790
19820
|
tea_util_1.default.validateModel(request);
|
|
17791
19821
|
let query = {};
|
|
@@ -17829,10 +19859,25 @@ class Client extends openapi_client_1.default {
|
|
|
17829
19859
|
});
|
|
17830
19860
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterMinorVersionResponse({}));
|
|
17831
19861
|
}
|
|
19862
|
+
/**
|
|
19863
|
+
* > 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.
|
|
19864
|
+
*
|
|
19865
|
+
* @param request UpgradeDBClusterMinorVersionRequest
|
|
19866
|
+
* @return UpgradeDBClusterMinorVersionResponse
|
|
19867
|
+
*/
|
|
17832
19868
|
async upgradeDBClusterMinorVersion(request) {
|
|
17833
19869
|
let runtime = new $Util.RuntimeOptions({});
|
|
17834
19870
|
return await this.upgradeDBClusterMinorVersionWithOptions(request, runtime);
|
|
17835
19871
|
}
|
|
19872
|
+
/**
|
|
19873
|
+
* >
|
|
19874
|
+
* * 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.
|
|
19875
|
+
* * 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.
|
|
19876
|
+
*
|
|
19877
|
+
* @param request UpgradeDBClusterVersionRequest
|
|
19878
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19879
|
+
* @return UpgradeDBClusterVersionResponse
|
|
19880
|
+
*/
|
|
17836
19881
|
async upgradeDBClusterVersionWithOptions(request, runtime) {
|
|
17837
19882
|
tea_util_1.default.validateModel(request);
|
|
17838
19883
|
let query = {};
|
|
@@ -17860,6 +19905,9 @@ class Client extends openapi_client_1.default {
|
|
|
17860
19905
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
17861
19906
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
17862
19907
|
}
|
|
19908
|
+
if (!tea_util_1.default.isUnset(request.targetDBRevisionVersionCode)) {
|
|
19909
|
+
query["TargetDBRevisionVersionCode"] = request.targetDBRevisionVersionCode;
|
|
19910
|
+
}
|
|
17863
19911
|
if (!tea_util_1.default.isUnset(request.upgradeLabel)) {
|
|
17864
19912
|
query["UpgradeLabel"] = request.upgradeLabel;
|
|
17865
19913
|
}
|
|
@@ -17885,6 +19933,14 @@ class Client extends openapi_client_1.default {
|
|
|
17885
19933
|
});
|
|
17886
19934
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
|
|
17887
19935
|
}
|
|
19936
|
+
/**
|
|
19937
|
+
* >
|
|
19938
|
+
* * 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.
|
|
19939
|
+
* * 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.
|
|
19940
|
+
*
|
|
19941
|
+
* @param request UpgradeDBClusterVersionRequest
|
|
19942
|
+
* @return UpgradeDBClusterVersionResponse
|
|
19943
|
+
*/
|
|
17888
19944
|
async upgradeDBClusterVersion(request) {
|
|
17889
19945
|
let runtime = new $Util.RuntimeOptions({});
|
|
17890
19946
|
return await this.upgradeDBClusterVersionWithOptions(request, runtime);
|