@alicloud/rds20140815 2.3.6 → 2.3.8
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 +495 -0
- package/dist/client.js +945 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1179 -0
package/src/client.ts
CHANGED
|
@@ -374,6 +374,93 @@ export class AllocateReadWriteSplittingConnectionResponse extends $tea.Model {
|
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
+
export class AttachWhitelistTemplateToInstanceRequest extends $tea.Model {
|
|
378
|
+
insName?: string;
|
|
379
|
+
resourceOwnerAccount?: string;
|
|
380
|
+
resourceOwnerId?: number;
|
|
381
|
+
templateId?: number;
|
|
382
|
+
static names(): { [key: string]: string } {
|
|
383
|
+
return {
|
|
384
|
+
insName: 'InsName',
|
|
385
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
386
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
387
|
+
templateId: 'TemplateId',
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
static types(): { [key: string]: any } {
|
|
392
|
+
return {
|
|
393
|
+
insName: 'string',
|
|
394
|
+
resourceOwnerAccount: 'string',
|
|
395
|
+
resourceOwnerId: 'number',
|
|
396
|
+
templateId: 'number',
|
|
397
|
+
};
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
constructor(map?: { [key: string]: any }) {
|
|
401
|
+
super(map);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export class AttachWhitelistTemplateToInstanceResponseBody extends $tea.Model {
|
|
406
|
+
code?: string;
|
|
407
|
+
data?: AttachWhitelistTemplateToInstanceResponseBodyData;
|
|
408
|
+
httpStatusCode?: number;
|
|
409
|
+
message?: string;
|
|
410
|
+
requestId?: string;
|
|
411
|
+
success?: boolean;
|
|
412
|
+
static names(): { [key: string]: string } {
|
|
413
|
+
return {
|
|
414
|
+
code: 'Code',
|
|
415
|
+
data: 'Data',
|
|
416
|
+
httpStatusCode: 'HttpStatusCode',
|
|
417
|
+
message: 'Message',
|
|
418
|
+
requestId: 'RequestId',
|
|
419
|
+
success: 'Success',
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
static types(): { [key: string]: any } {
|
|
424
|
+
return {
|
|
425
|
+
code: 'string',
|
|
426
|
+
data: AttachWhitelistTemplateToInstanceResponseBodyData,
|
|
427
|
+
httpStatusCode: 'number',
|
|
428
|
+
message: 'string',
|
|
429
|
+
requestId: 'string',
|
|
430
|
+
success: 'boolean',
|
|
431
|
+
};
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
constructor(map?: { [key: string]: any }) {
|
|
435
|
+
super(map);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
export class AttachWhitelistTemplateToInstanceResponse extends $tea.Model {
|
|
440
|
+
headers: { [key: string]: string };
|
|
441
|
+
statusCode: number;
|
|
442
|
+
body: AttachWhitelistTemplateToInstanceResponseBody;
|
|
443
|
+
static names(): { [key: string]: string } {
|
|
444
|
+
return {
|
|
445
|
+
headers: 'headers',
|
|
446
|
+
statusCode: 'statusCode',
|
|
447
|
+
body: 'body',
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
static types(): { [key: string]: any } {
|
|
452
|
+
return {
|
|
453
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
454
|
+
statusCode: 'number',
|
|
455
|
+
body: AttachWhitelistTemplateToInstanceResponseBody,
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
constructor(map?: { [key: string]: any }) {
|
|
460
|
+
super(map);
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
377
464
|
export class CalculateDBInstanceWeightRequest extends $tea.Model {
|
|
378
465
|
DBInstanceId?: string;
|
|
379
466
|
resourceOwnerId?: number;
|
|
@@ -1461,11 +1548,13 @@ export class ConfirmNotifyResponse extends $tea.Model {
|
|
|
1461
1548
|
|
|
1462
1549
|
export class CopyDatabaseRequest extends $tea.Model {
|
|
1463
1550
|
ownerId?: number;
|
|
1551
|
+
resourceGroupId?: string;
|
|
1464
1552
|
resourceOwnerAccount?: string;
|
|
1465
1553
|
resourceOwnerId?: number;
|
|
1466
1554
|
static names(): { [key: string]: string } {
|
|
1467
1555
|
return {
|
|
1468
1556
|
ownerId: 'OwnerId',
|
|
1557
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1469
1558
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1470
1559
|
resourceOwnerId: 'ResourceOwnerId',
|
|
1471
1560
|
};
|
|
@@ -1474,6 +1563,7 @@ export class CopyDatabaseRequest extends $tea.Model {
|
|
|
1474
1563
|
static types(): { [key: string]: any } {
|
|
1475
1564
|
return {
|
|
1476
1565
|
ownerId: 'number',
|
|
1566
|
+
resourceGroupId: 'string',
|
|
1477
1567
|
resourceOwnerAccount: 'string',
|
|
1478
1568
|
resourceOwnerId: 'number',
|
|
1479
1569
|
};
|
|
@@ -4867,6 +4957,7 @@ export class DeleteDBNodesRequest extends $tea.Model {
|
|
|
4867
4957
|
DBNodeId?: string[];
|
|
4868
4958
|
ownerAccount?: string;
|
|
4869
4959
|
ownerId?: number;
|
|
4960
|
+
resourceGroupId?: string;
|
|
4870
4961
|
resourceOwnerAccount?: string;
|
|
4871
4962
|
resourceOwnerId?: number;
|
|
4872
4963
|
static names(): { [key: string]: string } {
|
|
@@ -4876,6 +4967,7 @@ export class DeleteDBNodesRequest extends $tea.Model {
|
|
|
4876
4967
|
DBNodeId: 'DBNodeId',
|
|
4877
4968
|
ownerAccount: 'OwnerAccount',
|
|
4878
4969
|
ownerId: 'OwnerId',
|
|
4970
|
+
resourceGroupId: 'ResourceGroupId',
|
|
4879
4971
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4880
4972
|
resourceOwnerId: 'ResourceOwnerId',
|
|
4881
4973
|
};
|
|
@@ -4888,6 +4980,7 @@ export class DeleteDBNodesRequest extends $tea.Model {
|
|
|
4888
4980
|
DBNodeId: { 'type': 'array', 'itemType': 'string' },
|
|
4889
4981
|
ownerAccount: 'string',
|
|
4890
4982
|
ownerId: 'number',
|
|
4983
|
+
resourceGroupId: 'string',
|
|
4891
4984
|
resourceOwnerAccount: 'string',
|
|
4892
4985
|
resourceOwnerId: 'number',
|
|
4893
4986
|
};
|
|
@@ -4904,6 +4997,7 @@ export class DeleteDBNodesShrinkRequest extends $tea.Model {
|
|
|
4904
4997
|
DBNodeIdShrink?: string;
|
|
4905
4998
|
ownerAccount?: string;
|
|
4906
4999
|
ownerId?: number;
|
|
5000
|
+
resourceGroupId?: string;
|
|
4907
5001
|
resourceOwnerAccount?: string;
|
|
4908
5002
|
resourceOwnerId?: number;
|
|
4909
5003
|
static names(): { [key: string]: string } {
|
|
@@ -4913,6 +5007,7 @@ export class DeleteDBNodesShrinkRequest extends $tea.Model {
|
|
|
4913
5007
|
DBNodeIdShrink: 'DBNodeId',
|
|
4914
5008
|
ownerAccount: 'OwnerAccount',
|
|
4915
5009
|
ownerId: 'OwnerId',
|
|
5010
|
+
resourceGroupId: 'ResourceGroupId',
|
|
4916
5011
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4917
5012
|
resourceOwnerId: 'ResourceOwnerId',
|
|
4918
5013
|
};
|
|
@@ -4925,6 +5020,7 @@ export class DeleteDBNodesShrinkRequest extends $tea.Model {
|
|
|
4925
5020
|
DBNodeIdShrink: 'string',
|
|
4926
5021
|
ownerAccount: 'string',
|
|
4927
5022
|
ownerId: 'number',
|
|
5023
|
+
resourceGroupId: 'string',
|
|
4928
5024
|
resourceOwnerAccount: 'string',
|
|
4929
5025
|
resourceOwnerId: 'number',
|
|
4930
5026
|
};
|
|
@@ -6116,6 +6212,99 @@ export class DescribeActiveOperationTasksResponse extends $tea.Model {
|
|
|
6116
6212
|
}
|
|
6117
6213
|
}
|
|
6118
6214
|
|
|
6215
|
+
export class DescribeAllWhitelistTemplateRequest extends $tea.Model {
|
|
6216
|
+
fuzzySearch?: boolean;
|
|
6217
|
+
maxRecordsPerPage?: number;
|
|
6218
|
+
pageNumbers?: number;
|
|
6219
|
+
resourceOwnerAccount?: string;
|
|
6220
|
+
resourceOwnerId?: number;
|
|
6221
|
+
templateName?: string;
|
|
6222
|
+
static names(): { [key: string]: string } {
|
|
6223
|
+
return {
|
|
6224
|
+
fuzzySearch: 'FuzzySearch',
|
|
6225
|
+
maxRecordsPerPage: 'MaxRecordsPerPage',
|
|
6226
|
+
pageNumbers: 'PageNumbers',
|
|
6227
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
6228
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
6229
|
+
templateName: 'TemplateName',
|
|
6230
|
+
};
|
|
6231
|
+
}
|
|
6232
|
+
|
|
6233
|
+
static types(): { [key: string]: any } {
|
|
6234
|
+
return {
|
|
6235
|
+
fuzzySearch: 'boolean',
|
|
6236
|
+
maxRecordsPerPage: 'number',
|
|
6237
|
+
pageNumbers: 'number',
|
|
6238
|
+
resourceOwnerAccount: 'string',
|
|
6239
|
+
resourceOwnerId: 'number',
|
|
6240
|
+
templateName: 'string',
|
|
6241
|
+
};
|
|
6242
|
+
}
|
|
6243
|
+
|
|
6244
|
+
constructor(map?: { [key: string]: any }) {
|
|
6245
|
+
super(map);
|
|
6246
|
+
}
|
|
6247
|
+
}
|
|
6248
|
+
|
|
6249
|
+
export class DescribeAllWhitelistTemplateResponseBody extends $tea.Model {
|
|
6250
|
+
code?: string;
|
|
6251
|
+
data?: DescribeAllWhitelistTemplateResponseBodyData;
|
|
6252
|
+
httpStatusCode?: number;
|
|
6253
|
+
message?: string;
|
|
6254
|
+
requestId?: string;
|
|
6255
|
+
success?: boolean;
|
|
6256
|
+
static names(): { [key: string]: string } {
|
|
6257
|
+
return {
|
|
6258
|
+
code: 'Code',
|
|
6259
|
+
data: 'Data',
|
|
6260
|
+
httpStatusCode: 'HttpStatusCode',
|
|
6261
|
+
message: 'Message',
|
|
6262
|
+
requestId: 'RequestId',
|
|
6263
|
+
success: 'Success',
|
|
6264
|
+
};
|
|
6265
|
+
}
|
|
6266
|
+
|
|
6267
|
+
static types(): { [key: string]: any } {
|
|
6268
|
+
return {
|
|
6269
|
+
code: 'string',
|
|
6270
|
+
data: DescribeAllWhitelistTemplateResponseBodyData,
|
|
6271
|
+
httpStatusCode: 'number',
|
|
6272
|
+
message: 'string',
|
|
6273
|
+
requestId: 'string',
|
|
6274
|
+
success: 'boolean',
|
|
6275
|
+
};
|
|
6276
|
+
}
|
|
6277
|
+
|
|
6278
|
+
constructor(map?: { [key: string]: any }) {
|
|
6279
|
+
super(map);
|
|
6280
|
+
}
|
|
6281
|
+
}
|
|
6282
|
+
|
|
6283
|
+
export class DescribeAllWhitelistTemplateResponse extends $tea.Model {
|
|
6284
|
+
headers: { [key: string]: string };
|
|
6285
|
+
statusCode: number;
|
|
6286
|
+
body: DescribeAllWhitelistTemplateResponseBody;
|
|
6287
|
+
static names(): { [key: string]: string } {
|
|
6288
|
+
return {
|
|
6289
|
+
headers: 'headers',
|
|
6290
|
+
statusCode: 'statusCode',
|
|
6291
|
+
body: 'body',
|
|
6292
|
+
};
|
|
6293
|
+
}
|
|
6294
|
+
|
|
6295
|
+
static types(): { [key: string]: any } {
|
|
6296
|
+
return {
|
|
6297
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6298
|
+
statusCode: 'number',
|
|
6299
|
+
body: DescribeAllWhitelistTemplateResponseBody,
|
|
6300
|
+
};
|
|
6301
|
+
}
|
|
6302
|
+
|
|
6303
|
+
constructor(map?: { [key: string]: any }) {
|
|
6304
|
+
super(map);
|
|
6305
|
+
}
|
|
6306
|
+
}
|
|
6307
|
+
|
|
6119
6308
|
export class DescribeAnalyticdbByPrimaryDBInstanceRequest extends $tea.Model {
|
|
6120
6309
|
DBInstanceId?: string;
|
|
6121
6310
|
ownerId?: number;
|
|
@@ -7171,6 +7360,7 @@ export class DescribeCharacterSetNameRequest extends $tea.Model {
|
|
|
7171
7360
|
ownerAccount?: string;
|
|
7172
7361
|
ownerId?: number;
|
|
7173
7362
|
regionId?: string;
|
|
7363
|
+
resourceGroupId?: string;
|
|
7174
7364
|
resourceOwnerAccount?: string;
|
|
7175
7365
|
resourceOwnerId?: number;
|
|
7176
7366
|
static names(): { [key: string]: string } {
|
|
@@ -7179,6 +7369,7 @@ export class DescribeCharacterSetNameRequest extends $tea.Model {
|
|
|
7179
7369
|
ownerAccount: 'OwnerAccount',
|
|
7180
7370
|
ownerId: 'OwnerId',
|
|
7181
7371
|
regionId: 'RegionId',
|
|
7372
|
+
resourceGroupId: 'ResourceGroupId',
|
|
7182
7373
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
7183
7374
|
resourceOwnerId: 'ResourceOwnerId',
|
|
7184
7375
|
};
|
|
@@ -7190,6 +7381,7 @@ export class DescribeCharacterSetNameRequest extends $tea.Model {
|
|
|
7190
7381
|
ownerAccount: 'string',
|
|
7191
7382
|
ownerId: 'number',
|
|
7192
7383
|
regionId: 'string',
|
|
7384
|
+
resourceGroupId: 'string',
|
|
7193
7385
|
resourceOwnerAccount: 'string',
|
|
7194
7386
|
resourceOwnerId: 'number',
|
|
7195
7387
|
};
|
|
@@ -12164,6 +12356,90 @@ export class DescribeInstanceKeywordsResponse extends $tea.Model {
|
|
|
12164
12356
|
}
|
|
12165
12357
|
}
|
|
12166
12358
|
|
|
12359
|
+
export class DescribeInstanceLinkedWhitelistTemplateRequest extends $tea.Model {
|
|
12360
|
+
insName?: string;
|
|
12361
|
+
resourceOwnerAccount?: string;
|
|
12362
|
+
resourceOwnerId?: number;
|
|
12363
|
+
static names(): { [key: string]: string } {
|
|
12364
|
+
return {
|
|
12365
|
+
insName: 'InsName',
|
|
12366
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
12367
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
12368
|
+
};
|
|
12369
|
+
}
|
|
12370
|
+
|
|
12371
|
+
static types(): { [key: string]: any } {
|
|
12372
|
+
return {
|
|
12373
|
+
insName: 'string',
|
|
12374
|
+
resourceOwnerAccount: 'string',
|
|
12375
|
+
resourceOwnerId: 'number',
|
|
12376
|
+
};
|
|
12377
|
+
}
|
|
12378
|
+
|
|
12379
|
+
constructor(map?: { [key: string]: any }) {
|
|
12380
|
+
super(map);
|
|
12381
|
+
}
|
|
12382
|
+
}
|
|
12383
|
+
|
|
12384
|
+
export class DescribeInstanceLinkedWhitelistTemplateResponseBody extends $tea.Model {
|
|
12385
|
+
code?: string;
|
|
12386
|
+
data?: DescribeInstanceLinkedWhitelistTemplateResponseBodyData;
|
|
12387
|
+
httpStatusCode?: number;
|
|
12388
|
+
message?: string;
|
|
12389
|
+
requestId?: string;
|
|
12390
|
+
success?: boolean;
|
|
12391
|
+
static names(): { [key: string]: string } {
|
|
12392
|
+
return {
|
|
12393
|
+
code: 'Code',
|
|
12394
|
+
data: 'Data',
|
|
12395
|
+
httpStatusCode: 'HttpStatusCode',
|
|
12396
|
+
message: 'Message',
|
|
12397
|
+
requestId: 'RequestId',
|
|
12398
|
+
success: 'Success',
|
|
12399
|
+
};
|
|
12400
|
+
}
|
|
12401
|
+
|
|
12402
|
+
static types(): { [key: string]: any } {
|
|
12403
|
+
return {
|
|
12404
|
+
code: 'string',
|
|
12405
|
+
data: DescribeInstanceLinkedWhitelistTemplateResponseBodyData,
|
|
12406
|
+
httpStatusCode: 'number',
|
|
12407
|
+
message: 'string',
|
|
12408
|
+
requestId: 'string',
|
|
12409
|
+
success: 'boolean',
|
|
12410
|
+
};
|
|
12411
|
+
}
|
|
12412
|
+
|
|
12413
|
+
constructor(map?: { [key: string]: any }) {
|
|
12414
|
+
super(map);
|
|
12415
|
+
}
|
|
12416
|
+
}
|
|
12417
|
+
|
|
12418
|
+
export class DescribeInstanceLinkedWhitelistTemplateResponse extends $tea.Model {
|
|
12419
|
+
headers: { [key: string]: string };
|
|
12420
|
+
statusCode: number;
|
|
12421
|
+
body: DescribeInstanceLinkedWhitelistTemplateResponseBody;
|
|
12422
|
+
static names(): { [key: string]: string } {
|
|
12423
|
+
return {
|
|
12424
|
+
headers: 'headers',
|
|
12425
|
+
statusCode: 'statusCode',
|
|
12426
|
+
body: 'body',
|
|
12427
|
+
};
|
|
12428
|
+
}
|
|
12429
|
+
|
|
12430
|
+
static types(): { [key: string]: any } {
|
|
12431
|
+
return {
|
|
12432
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12433
|
+
statusCode: 'number',
|
|
12434
|
+
body: DescribeInstanceLinkedWhitelistTemplateResponseBody,
|
|
12435
|
+
};
|
|
12436
|
+
}
|
|
12437
|
+
|
|
12438
|
+
constructor(map?: { [key: string]: any }) {
|
|
12439
|
+
super(map);
|
|
12440
|
+
}
|
|
12441
|
+
}
|
|
12442
|
+
|
|
12167
12443
|
export class DescribeLocalAvailableRecoveryTimeRequest extends $tea.Model {
|
|
12168
12444
|
DBInstanceId?: string;
|
|
12169
12445
|
ownerId?: number;
|
|
@@ -14069,6 +14345,7 @@ export class DescribeRenewalPriceRequest extends $tea.Model {
|
|
|
14069
14345
|
payType?: string;
|
|
14070
14346
|
quantity?: number;
|
|
14071
14347
|
regionId?: string;
|
|
14348
|
+
resourceGroupId?: string;
|
|
14072
14349
|
resourceOwnerAccount?: string;
|
|
14073
14350
|
resourceOwnerId?: number;
|
|
14074
14351
|
timeType?: string;
|
|
@@ -14085,6 +14362,7 @@ export class DescribeRenewalPriceRequest extends $tea.Model {
|
|
|
14085
14362
|
payType: 'PayType',
|
|
14086
14363
|
quantity: 'Quantity',
|
|
14087
14364
|
regionId: 'RegionId',
|
|
14365
|
+
resourceGroupId: 'ResourceGroupId',
|
|
14088
14366
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
14089
14367
|
resourceOwnerId: 'ResourceOwnerId',
|
|
14090
14368
|
timeType: 'TimeType',
|
|
@@ -14104,6 +14382,7 @@ export class DescribeRenewalPriceRequest extends $tea.Model {
|
|
|
14104
14382
|
payType: 'string',
|
|
14105
14383
|
quantity: 'number',
|
|
14106
14384
|
regionId: 'string',
|
|
14385
|
+
resourceGroupId: 'string',
|
|
14107
14386
|
resourceOwnerAccount: 'string',
|
|
14108
14387
|
resourceOwnerId: 'number',
|
|
14109
14388
|
timeType: 'string',
|
|
@@ -15846,6 +16125,174 @@ export class DescribeVSwitchesResponse extends $tea.Model {
|
|
|
15846
16125
|
}
|
|
15847
16126
|
}
|
|
15848
16127
|
|
|
16128
|
+
export class DescribeWhitelistTemplateRequest extends $tea.Model {
|
|
16129
|
+
resourceOwnerAccount?: string;
|
|
16130
|
+
resourceOwnerId?: number;
|
|
16131
|
+
templateId?: number;
|
|
16132
|
+
static names(): { [key: string]: string } {
|
|
16133
|
+
return {
|
|
16134
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
16135
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
16136
|
+
templateId: 'TemplateId',
|
|
16137
|
+
};
|
|
16138
|
+
}
|
|
16139
|
+
|
|
16140
|
+
static types(): { [key: string]: any } {
|
|
16141
|
+
return {
|
|
16142
|
+
resourceOwnerAccount: 'string',
|
|
16143
|
+
resourceOwnerId: 'number',
|
|
16144
|
+
templateId: 'number',
|
|
16145
|
+
};
|
|
16146
|
+
}
|
|
16147
|
+
|
|
16148
|
+
constructor(map?: { [key: string]: any }) {
|
|
16149
|
+
super(map);
|
|
16150
|
+
}
|
|
16151
|
+
}
|
|
16152
|
+
|
|
16153
|
+
export class DescribeWhitelistTemplateResponseBody extends $tea.Model {
|
|
16154
|
+
code?: string;
|
|
16155
|
+
data?: DescribeWhitelistTemplateResponseBodyData;
|
|
16156
|
+
httpStatusCode?: number;
|
|
16157
|
+
message?: string;
|
|
16158
|
+
requestId?: string;
|
|
16159
|
+
success?: boolean;
|
|
16160
|
+
static names(): { [key: string]: string } {
|
|
16161
|
+
return {
|
|
16162
|
+
code: 'Code',
|
|
16163
|
+
data: 'Data',
|
|
16164
|
+
httpStatusCode: 'HttpStatusCode',
|
|
16165
|
+
message: 'Message',
|
|
16166
|
+
requestId: 'RequestId',
|
|
16167
|
+
success: 'Success',
|
|
16168
|
+
};
|
|
16169
|
+
}
|
|
16170
|
+
|
|
16171
|
+
static types(): { [key: string]: any } {
|
|
16172
|
+
return {
|
|
16173
|
+
code: 'string',
|
|
16174
|
+
data: DescribeWhitelistTemplateResponseBodyData,
|
|
16175
|
+
httpStatusCode: 'number',
|
|
16176
|
+
message: 'string',
|
|
16177
|
+
requestId: 'string',
|
|
16178
|
+
success: 'boolean',
|
|
16179
|
+
};
|
|
16180
|
+
}
|
|
16181
|
+
|
|
16182
|
+
constructor(map?: { [key: string]: any }) {
|
|
16183
|
+
super(map);
|
|
16184
|
+
}
|
|
16185
|
+
}
|
|
16186
|
+
|
|
16187
|
+
export class DescribeWhitelistTemplateResponse extends $tea.Model {
|
|
16188
|
+
headers: { [key: string]: string };
|
|
16189
|
+
statusCode: number;
|
|
16190
|
+
body: DescribeWhitelistTemplateResponseBody;
|
|
16191
|
+
static names(): { [key: string]: string } {
|
|
16192
|
+
return {
|
|
16193
|
+
headers: 'headers',
|
|
16194
|
+
statusCode: 'statusCode',
|
|
16195
|
+
body: 'body',
|
|
16196
|
+
};
|
|
16197
|
+
}
|
|
16198
|
+
|
|
16199
|
+
static types(): { [key: string]: any } {
|
|
16200
|
+
return {
|
|
16201
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
16202
|
+
statusCode: 'number',
|
|
16203
|
+
body: DescribeWhitelistTemplateResponseBody,
|
|
16204
|
+
};
|
|
16205
|
+
}
|
|
16206
|
+
|
|
16207
|
+
constructor(map?: { [key: string]: any }) {
|
|
16208
|
+
super(map);
|
|
16209
|
+
}
|
|
16210
|
+
}
|
|
16211
|
+
|
|
16212
|
+
export class DescribeWhitelistTemplateLinkedInstanceRequest extends $tea.Model {
|
|
16213
|
+
resourceOwnerAccount?: string;
|
|
16214
|
+
resourceOwnerId?: number;
|
|
16215
|
+
templateId?: number;
|
|
16216
|
+
static names(): { [key: string]: string } {
|
|
16217
|
+
return {
|
|
16218
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
16219
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
16220
|
+
templateId: 'TemplateId',
|
|
16221
|
+
};
|
|
16222
|
+
}
|
|
16223
|
+
|
|
16224
|
+
static types(): { [key: string]: any } {
|
|
16225
|
+
return {
|
|
16226
|
+
resourceOwnerAccount: 'string',
|
|
16227
|
+
resourceOwnerId: 'number',
|
|
16228
|
+
templateId: 'number',
|
|
16229
|
+
};
|
|
16230
|
+
}
|
|
16231
|
+
|
|
16232
|
+
constructor(map?: { [key: string]: any }) {
|
|
16233
|
+
super(map);
|
|
16234
|
+
}
|
|
16235
|
+
}
|
|
16236
|
+
|
|
16237
|
+
export class DescribeWhitelistTemplateLinkedInstanceResponseBody extends $tea.Model {
|
|
16238
|
+
code?: string;
|
|
16239
|
+
data?: DescribeWhitelistTemplateLinkedInstanceResponseBodyData;
|
|
16240
|
+
httpStatusCode?: number;
|
|
16241
|
+
message?: string;
|
|
16242
|
+
requestId?: string;
|
|
16243
|
+
success?: boolean;
|
|
16244
|
+
static names(): { [key: string]: string } {
|
|
16245
|
+
return {
|
|
16246
|
+
code: 'Code',
|
|
16247
|
+
data: 'Data',
|
|
16248
|
+
httpStatusCode: 'HttpStatusCode',
|
|
16249
|
+
message: 'Message',
|
|
16250
|
+
requestId: 'RequestId',
|
|
16251
|
+
success: 'Success',
|
|
16252
|
+
};
|
|
16253
|
+
}
|
|
16254
|
+
|
|
16255
|
+
static types(): { [key: string]: any } {
|
|
16256
|
+
return {
|
|
16257
|
+
code: 'string',
|
|
16258
|
+
data: DescribeWhitelistTemplateLinkedInstanceResponseBodyData,
|
|
16259
|
+
httpStatusCode: 'number',
|
|
16260
|
+
message: 'string',
|
|
16261
|
+
requestId: 'string',
|
|
16262
|
+
success: 'boolean',
|
|
16263
|
+
};
|
|
16264
|
+
}
|
|
16265
|
+
|
|
16266
|
+
constructor(map?: { [key: string]: any }) {
|
|
16267
|
+
super(map);
|
|
16268
|
+
}
|
|
16269
|
+
}
|
|
16270
|
+
|
|
16271
|
+
export class DescribeWhitelistTemplateLinkedInstanceResponse extends $tea.Model {
|
|
16272
|
+
headers: { [key: string]: string };
|
|
16273
|
+
statusCode: number;
|
|
16274
|
+
body: DescribeWhitelistTemplateLinkedInstanceResponseBody;
|
|
16275
|
+
static names(): { [key: string]: string } {
|
|
16276
|
+
return {
|
|
16277
|
+
headers: 'headers',
|
|
16278
|
+
statusCode: 'statusCode',
|
|
16279
|
+
body: 'body',
|
|
16280
|
+
};
|
|
16281
|
+
}
|
|
16282
|
+
|
|
16283
|
+
static types(): { [key: string]: any } {
|
|
16284
|
+
return {
|
|
16285
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
16286
|
+
statusCode: 'number',
|
|
16287
|
+
body: DescribeWhitelistTemplateLinkedInstanceResponseBody,
|
|
16288
|
+
};
|
|
16289
|
+
}
|
|
16290
|
+
|
|
16291
|
+
constructor(map?: { [key: string]: any }) {
|
|
16292
|
+
super(map);
|
|
16293
|
+
}
|
|
16294
|
+
}
|
|
16295
|
+
|
|
15849
16296
|
export class DestroyDBInstanceRequest extends $tea.Model {
|
|
15850
16297
|
clientToken?: string;
|
|
15851
16298
|
DBInstanceId?: string;
|
|
@@ -15993,6 +16440,93 @@ export class DetachGadInstanceMemberResponse extends $tea.Model {
|
|
|
15993
16440
|
}
|
|
15994
16441
|
}
|
|
15995
16442
|
|
|
16443
|
+
export class DetachWhitelistTemplateToInstanceRequest extends $tea.Model {
|
|
16444
|
+
insName?: string;
|
|
16445
|
+
resourceOwnerAccount?: string;
|
|
16446
|
+
resourceOwnerId?: number;
|
|
16447
|
+
templateId?: number;
|
|
16448
|
+
static names(): { [key: string]: string } {
|
|
16449
|
+
return {
|
|
16450
|
+
insName: 'InsName',
|
|
16451
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
16452
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
16453
|
+
templateId: 'TemplateId',
|
|
16454
|
+
};
|
|
16455
|
+
}
|
|
16456
|
+
|
|
16457
|
+
static types(): { [key: string]: any } {
|
|
16458
|
+
return {
|
|
16459
|
+
insName: 'string',
|
|
16460
|
+
resourceOwnerAccount: 'string',
|
|
16461
|
+
resourceOwnerId: 'number',
|
|
16462
|
+
templateId: 'number',
|
|
16463
|
+
};
|
|
16464
|
+
}
|
|
16465
|
+
|
|
16466
|
+
constructor(map?: { [key: string]: any }) {
|
|
16467
|
+
super(map);
|
|
16468
|
+
}
|
|
16469
|
+
}
|
|
16470
|
+
|
|
16471
|
+
export class DetachWhitelistTemplateToInstanceResponseBody extends $tea.Model {
|
|
16472
|
+
code?: string;
|
|
16473
|
+
data?: DetachWhitelistTemplateToInstanceResponseBodyData;
|
|
16474
|
+
httpStatusCode?: number;
|
|
16475
|
+
message?: string;
|
|
16476
|
+
requestId?: string;
|
|
16477
|
+
success?: boolean;
|
|
16478
|
+
static names(): { [key: string]: string } {
|
|
16479
|
+
return {
|
|
16480
|
+
code: 'Code',
|
|
16481
|
+
data: 'Data',
|
|
16482
|
+
httpStatusCode: 'HttpStatusCode',
|
|
16483
|
+
message: 'Message',
|
|
16484
|
+
requestId: 'RequestId',
|
|
16485
|
+
success: 'Success',
|
|
16486
|
+
};
|
|
16487
|
+
}
|
|
16488
|
+
|
|
16489
|
+
static types(): { [key: string]: any } {
|
|
16490
|
+
return {
|
|
16491
|
+
code: 'string',
|
|
16492
|
+
data: DetachWhitelistTemplateToInstanceResponseBodyData,
|
|
16493
|
+
httpStatusCode: 'number',
|
|
16494
|
+
message: 'string',
|
|
16495
|
+
requestId: 'string',
|
|
16496
|
+
success: 'boolean',
|
|
16497
|
+
};
|
|
16498
|
+
}
|
|
16499
|
+
|
|
16500
|
+
constructor(map?: { [key: string]: any }) {
|
|
16501
|
+
super(map);
|
|
16502
|
+
}
|
|
16503
|
+
}
|
|
16504
|
+
|
|
16505
|
+
export class DetachWhitelistTemplateToInstanceResponse extends $tea.Model {
|
|
16506
|
+
headers: { [key: string]: string };
|
|
16507
|
+
statusCode: number;
|
|
16508
|
+
body: DetachWhitelistTemplateToInstanceResponseBody;
|
|
16509
|
+
static names(): { [key: string]: string } {
|
|
16510
|
+
return {
|
|
16511
|
+
headers: 'headers',
|
|
16512
|
+
statusCode: 'statusCode',
|
|
16513
|
+
body: 'body',
|
|
16514
|
+
};
|
|
16515
|
+
}
|
|
16516
|
+
|
|
16517
|
+
static types(): { [key: string]: any } {
|
|
16518
|
+
return {
|
|
16519
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
16520
|
+
statusCode: 'number',
|
|
16521
|
+
body: DetachWhitelistTemplateToInstanceResponseBody,
|
|
16522
|
+
};
|
|
16523
|
+
}
|
|
16524
|
+
|
|
16525
|
+
constructor(map?: { [key: string]: any }) {
|
|
16526
|
+
super(map);
|
|
16527
|
+
}
|
|
16528
|
+
}
|
|
16529
|
+
|
|
15996
16530
|
export class GetDBInstanceTopologyRequest extends $tea.Model {
|
|
15997
16531
|
DBInstanceId?: string;
|
|
15998
16532
|
static names(): { [key: string]: string } {
|
|
@@ -21587,6 +22121,96 @@ export class ModifySecurityIpsResponse extends $tea.Model {
|
|
|
21587
22121
|
}
|
|
21588
22122
|
}
|
|
21589
22123
|
|
|
22124
|
+
export class ModifyWhitelistTemplateRequest extends $tea.Model {
|
|
22125
|
+
ipWhitelist?: string;
|
|
22126
|
+
resourceOwnerAccount?: string;
|
|
22127
|
+
resourceOwnerId?: number;
|
|
22128
|
+
templateId?: number;
|
|
22129
|
+
templateName?: string;
|
|
22130
|
+
static names(): { [key: string]: string } {
|
|
22131
|
+
return {
|
|
22132
|
+
ipWhitelist: 'IpWhitelist',
|
|
22133
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
22134
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
22135
|
+
templateId: 'TemplateId',
|
|
22136
|
+
templateName: 'TemplateName',
|
|
22137
|
+
};
|
|
22138
|
+
}
|
|
22139
|
+
|
|
22140
|
+
static types(): { [key: string]: any } {
|
|
22141
|
+
return {
|
|
22142
|
+
ipWhitelist: 'string',
|
|
22143
|
+
resourceOwnerAccount: 'string',
|
|
22144
|
+
resourceOwnerId: 'number',
|
|
22145
|
+
templateId: 'number',
|
|
22146
|
+
templateName: 'string',
|
|
22147
|
+
};
|
|
22148
|
+
}
|
|
22149
|
+
|
|
22150
|
+
constructor(map?: { [key: string]: any }) {
|
|
22151
|
+
super(map);
|
|
22152
|
+
}
|
|
22153
|
+
}
|
|
22154
|
+
|
|
22155
|
+
export class ModifyWhitelistTemplateResponseBody extends $tea.Model {
|
|
22156
|
+
code?: string;
|
|
22157
|
+
data?: ModifyWhitelistTemplateResponseBodyData;
|
|
22158
|
+
httpStatusCode?: number;
|
|
22159
|
+
message?: string;
|
|
22160
|
+
requestId?: string;
|
|
22161
|
+
success?: boolean;
|
|
22162
|
+
static names(): { [key: string]: string } {
|
|
22163
|
+
return {
|
|
22164
|
+
code: 'Code',
|
|
22165
|
+
data: 'Data',
|
|
22166
|
+
httpStatusCode: 'HttpStatusCode',
|
|
22167
|
+
message: 'Message',
|
|
22168
|
+
requestId: 'RequestId',
|
|
22169
|
+
success: 'Success',
|
|
22170
|
+
};
|
|
22171
|
+
}
|
|
22172
|
+
|
|
22173
|
+
static types(): { [key: string]: any } {
|
|
22174
|
+
return {
|
|
22175
|
+
code: 'string',
|
|
22176
|
+
data: ModifyWhitelistTemplateResponseBodyData,
|
|
22177
|
+
httpStatusCode: 'number',
|
|
22178
|
+
message: 'string',
|
|
22179
|
+
requestId: 'string',
|
|
22180
|
+
success: 'boolean',
|
|
22181
|
+
};
|
|
22182
|
+
}
|
|
22183
|
+
|
|
22184
|
+
constructor(map?: { [key: string]: any }) {
|
|
22185
|
+
super(map);
|
|
22186
|
+
}
|
|
22187
|
+
}
|
|
22188
|
+
|
|
22189
|
+
export class ModifyWhitelistTemplateResponse extends $tea.Model {
|
|
22190
|
+
headers: { [key: string]: string };
|
|
22191
|
+
statusCode: number;
|
|
22192
|
+
body: ModifyWhitelistTemplateResponseBody;
|
|
22193
|
+
static names(): { [key: string]: string } {
|
|
22194
|
+
return {
|
|
22195
|
+
headers: 'headers',
|
|
22196
|
+
statusCode: 'statusCode',
|
|
22197
|
+
body: 'body',
|
|
22198
|
+
};
|
|
22199
|
+
}
|
|
22200
|
+
|
|
22201
|
+
static types(): { [key: string]: any } {
|
|
22202
|
+
return {
|
|
22203
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
22204
|
+
statusCode: 'number',
|
|
22205
|
+
body: ModifyWhitelistTemplateResponseBody,
|
|
22206
|
+
};
|
|
22207
|
+
}
|
|
22208
|
+
|
|
22209
|
+
constructor(map?: { [key: string]: any }) {
|
|
22210
|
+
super(map);
|
|
22211
|
+
}
|
|
22212
|
+
}
|
|
22213
|
+
|
|
21590
22214
|
export class PurgeDBInstanceLogRequest extends $tea.Model {
|
|
21591
22215
|
clientToken?: string;
|
|
21592
22216
|
DBInstanceId?: string;
|
|
@@ -24636,6 +25260,25 @@ export class AddTagsToResourceRequestTag extends $tea.Model {
|
|
|
24636
25260
|
}
|
|
24637
25261
|
}
|
|
24638
25262
|
|
|
25263
|
+
export class AttachWhitelistTemplateToInstanceResponseBodyData extends $tea.Model {
|
|
25264
|
+
status?: string;
|
|
25265
|
+
static names(): { [key: string]: string } {
|
|
25266
|
+
return {
|
|
25267
|
+
status: 'Status',
|
|
25268
|
+
};
|
|
25269
|
+
}
|
|
25270
|
+
|
|
25271
|
+
static types(): { [key: string]: any } {
|
|
25272
|
+
return {
|
|
25273
|
+
status: 'string',
|
|
25274
|
+
};
|
|
25275
|
+
}
|
|
25276
|
+
|
|
25277
|
+
constructor(map?: { [key: string]: any }) {
|
|
25278
|
+
super(map);
|
|
25279
|
+
}
|
|
25280
|
+
}
|
|
25281
|
+
|
|
24639
25282
|
export class CalculateDBInstanceWeightResponseBodyItemsDBInstanceWeight extends $tea.Model {
|
|
24640
25283
|
DBInstanceId?: string;
|
|
24641
25284
|
DBInstanceType?: string;
|
|
@@ -25402,6 +26045,74 @@ export class DescribeActiveOperationTasksResponseBodyItems extends $tea.Model {
|
|
|
25402
26045
|
}
|
|
25403
26046
|
}
|
|
25404
26047
|
|
|
26048
|
+
export class DescribeAllWhitelistTemplateResponseBodyDataTemplates extends $tea.Model {
|
|
26049
|
+
id?: number;
|
|
26050
|
+
ips?: string;
|
|
26051
|
+
templateId?: number;
|
|
26052
|
+
templateName?: string;
|
|
26053
|
+
userId?: number;
|
|
26054
|
+
static names(): { [key: string]: string } {
|
|
26055
|
+
return {
|
|
26056
|
+
id: 'Id',
|
|
26057
|
+
ips: 'Ips',
|
|
26058
|
+
templateId: 'TemplateId',
|
|
26059
|
+
templateName: 'TemplateName',
|
|
26060
|
+
userId: 'UserId',
|
|
26061
|
+
};
|
|
26062
|
+
}
|
|
26063
|
+
|
|
26064
|
+
static types(): { [key: string]: any } {
|
|
26065
|
+
return {
|
|
26066
|
+
id: 'number',
|
|
26067
|
+
ips: 'string',
|
|
26068
|
+
templateId: 'number',
|
|
26069
|
+
templateName: 'string',
|
|
26070
|
+
userId: 'number',
|
|
26071
|
+
};
|
|
26072
|
+
}
|
|
26073
|
+
|
|
26074
|
+
constructor(map?: { [key: string]: any }) {
|
|
26075
|
+
super(map);
|
|
26076
|
+
}
|
|
26077
|
+
}
|
|
26078
|
+
|
|
26079
|
+
export class DescribeAllWhitelistTemplateResponseBodyData extends $tea.Model {
|
|
26080
|
+
currPageNumbers?: number;
|
|
26081
|
+
hasNext?: boolean;
|
|
26082
|
+
hasPrev?: boolean;
|
|
26083
|
+
maxRecordsPerPage?: number;
|
|
26084
|
+
templates?: DescribeAllWhitelistTemplateResponseBodyDataTemplates[];
|
|
26085
|
+
totalPageNumbers?: number;
|
|
26086
|
+
totalRecords?: number;
|
|
26087
|
+
static names(): { [key: string]: string } {
|
|
26088
|
+
return {
|
|
26089
|
+
currPageNumbers: 'CurrPageNumbers',
|
|
26090
|
+
hasNext: 'HasNext',
|
|
26091
|
+
hasPrev: 'HasPrev',
|
|
26092
|
+
maxRecordsPerPage: 'MaxRecordsPerPage',
|
|
26093
|
+
templates: 'Templates',
|
|
26094
|
+
totalPageNumbers: 'TotalPageNumbers',
|
|
26095
|
+
totalRecords: 'TotalRecords',
|
|
26096
|
+
};
|
|
26097
|
+
}
|
|
26098
|
+
|
|
26099
|
+
static types(): { [key: string]: any } {
|
|
26100
|
+
return {
|
|
26101
|
+
currPageNumbers: 'number',
|
|
26102
|
+
hasNext: 'boolean',
|
|
26103
|
+
hasPrev: 'boolean',
|
|
26104
|
+
maxRecordsPerPage: 'number',
|
|
26105
|
+
templates: { 'type': 'array', 'itemType': DescribeAllWhitelistTemplateResponseBodyDataTemplates },
|
|
26106
|
+
totalPageNumbers: 'number',
|
|
26107
|
+
totalRecords: 'number',
|
|
26108
|
+
};
|
|
26109
|
+
}
|
|
26110
|
+
|
|
26111
|
+
constructor(map?: { [key: string]: any }) {
|
|
26112
|
+
super(map);
|
|
26113
|
+
}
|
|
26114
|
+
}
|
|
26115
|
+
|
|
25405
26116
|
export class DescribeAvailableClassesResponseBodyDBInstanceClassesDBInstanceStorageRange extends $tea.Model {
|
|
25406
26117
|
maxValue?: number;
|
|
25407
26118
|
minValue?: number;
|
|
@@ -29675,6 +30386,59 @@ export class DescribeInstanceKeywordsResponseBodyWords extends $tea.Model {
|
|
|
29675
30386
|
}
|
|
29676
30387
|
}
|
|
29677
30388
|
|
|
30389
|
+
export class DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates extends $tea.Model {
|
|
30390
|
+
id?: number;
|
|
30391
|
+
ips?: string;
|
|
30392
|
+
templateId?: number;
|
|
30393
|
+
templateName?: string;
|
|
30394
|
+
userId?: number;
|
|
30395
|
+
static names(): { [key: string]: string } {
|
|
30396
|
+
return {
|
|
30397
|
+
id: 'Id',
|
|
30398
|
+
ips: 'Ips',
|
|
30399
|
+
templateId: 'TemplateId',
|
|
30400
|
+
templateName: 'TemplateName',
|
|
30401
|
+
userId: 'UserId',
|
|
30402
|
+
};
|
|
30403
|
+
}
|
|
30404
|
+
|
|
30405
|
+
static types(): { [key: string]: any } {
|
|
30406
|
+
return {
|
|
30407
|
+
id: 'number',
|
|
30408
|
+
ips: 'string',
|
|
30409
|
+
templateId: 'number',
|
|
30410
|
+
templateName: 'string',
|
|
30411
|
+
userId: 'number',
|
|
30412
|
+
};
|
|
30413
|
+
}
|
|
30414
|
+
|
|
30415
|
+
constructor(map?: { [key: string]: any }) {
|
|
30416
|
+
super(map);
|
|
30417
|
+
}
|
|
30418
|
+
}
|
|
30419
|
+
|
|
30420
|
+
export class DescribeInstanceLinkedWhitelistTemplateResponseBodyData extends $tea.Model {
|
|
30421
|
+
insName?: string;
|
|
30422
|
+
templates?: DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates[];
|
|
30423
|
+
static names(): { [key: string]: string } {
|
|
30424
|
+
return {
|
|
30425
|
+
insName: 'InsName',
|
|
30426
|
+
templates: 'Templates',
|
|
30427
|
+
};
|
|
30428
|
+
}
|
|
30429
|
+
|
|
30430
|
+
static types(): { [key: string]: any } {
|
|
30431
|
+
return {
|
|
30432
|
+
insName: 'string',
|
|
30433
|
+
templates: { 'type': 'array', 'itemType': DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates },
|
|
30434
|
+
};
|
|
30435
|
+
}
|
|
30436
|
+
|
|
30437
|
+
constructor(map?: { [key: string]: any }) {
|
|
30438
|
+
super(map);
|
|
30439
|
+
}
|
|
30440
|
+
}
|
|
30441
|
+
|
|
29678
30442
|
export class DescribeLogBackupFilesResponseBodyItemsBinLogFile extends $tea.Model {
|
|
29679
30443
|
downloadLink?: string;
|
|
29680
30444
|
fileSize?: number;
|
|
@@ -32271,6 +33035,97 @@ export class DescribeVSwitchesResponseBodyVSwitchs extends $tea.Model {
|
|
|
32271
33035
|
}
|
|
32272
33036
|
}
|
|
32273
33037
|
|
|
33038
|
+
export class DescribeWhitelistTemplateResponseBodyDataTemplate extends $tea.Model {
|
|
33039
|
+
id?: number;
|
|
33040
|
+
ips?: string;
|
|
33041
|
+
templateId?: number;
|
|
33042
|
+
templateName?: string;
|
|
33043
|
+
userId?: number;
|
|
33044
|
+
static names(): { [key: string]: string } {
|
|
33045
|
+
return {
|
|
33046
|
+
id: 'Id',
|
|
33047
|
+
ips: 'Ips',
|
|
33048
|
+
templateId: 'TemplateId',
|
|
33049
|
+
templateName: 'TemplateName',
|
|
33050
|
+
userId: 'UserId',
|
|
33051
|
+
};
|
|
33052
|
+
}
|
|
33053
|
+
|
|
33054
|
+
static types(): { [key: string]: any } {
|
|
33055
|
+
return {
|
|
33056
|
+
id: 'number',
|
|
33057
|
+
ips: 'string',
|
|
33058
|
+
templateId: 'number',
|
|
33059
|
+
templateName: 'string',
|
|
33060
|
+
userId: 'number',
|
|
33061
|
+
};
|
|
33062
|
+
}
|
|
33063
|
+
|
|
33064
|
+
constructor(map?: { [key: string]: any }) {
|
|
33065
|
+
super(map);
|
|
33066
|
+
}
|
|
33067
|
+
}
|
|
33068
|
+
|
|
33069
|
+
export class DescribeWhitelistTemplateResponseBodyData extends $tea.Model {
|
|
33070
|
+
template?: DescribeWhitelistTemplateResponseBodyDataTemplate;
|
|
33071
|
+
static names(): { [key: string]: string } {
|
|
33072
|
+
return {
|
|
33073
|
+
template: 'Template',
|
|
33074
|
+
};
|
|
33075
|
+
}
|
|
33076
|
+
|
|
33077
|
+
static types(): { [key: string]: any } {
|
|
33078
|
+
return {
|
|
33079
|
+
template: DescribeWhitelistTemplateResponseBodyDataTemplate,
|
|
33080
|
+
};
|
|
33081
|
+
}
|
|
33082
|
+
|
|
33083
|
+
constructor(map?: { [key: string]: any }) {
|
|
33084
|
+
super(map);
|
|
33085
|
+
}
|
|
33086
|
+
}
|
|
33087
|
+
|
|
33088
|
+
export class DescribeWhitelistTemplateLinkedInstanceResponseBodyData extends $tea.Model {
|
|
33089
|
+
insName?: string[];
|
|
33090
|
+
templateId?: number;
|
|
33091
|
+
static names(): { [key: string]: string } {
|
|
33092
|
+
return {
|
|
33093
|
+
insName: 'InsName',
|
|
33094
|
+
templateId: 'TemplateId',
|
|
33095
|
+
};
|
|
33096
|
+
}
|
|
33097
|
+
|
|
33098
|
+
static types(): { [key: string]: any } {
|
|
33099
|
+
return {
|
|
33100
|
+
insName: { 'type': 'array', 'itemType': 'string' },
|
|
33101
|
+
templateId: 'number',
|
|
33102
|
+
};
|
|
33103
|
+
}
|
|
33104
|
+
|
|
33105
|
+
constructor(map?: { [key: string]: any }) {
|
|
33106
|
+
super(map);
|
|
33107
|
+
}
|
|
33108
|
+
}
|
|
33109
|
+
|
|
33110
|
+
export class DetachWhitelistTemplateToInstanceResponseBodyData extends $tea.Model {
|
|
33111
|
+
status?: string;
|
|
33112
|
+
static names(): { [key: string]: string } {
|
|
33113
|
+
return {
|
|
33114
|
+
status: 'Status',
|
|
33115
|
+
};
|
|
33116
|
+
}
|
|
33117
|
+
|
|
33118
|
+
static types(): { [key: string]: any } {
|
|
33119
|
+
return {
|
|
33120
|
+
status: 'string',
|
|
33121
|
+
};
|
|
33122
|
+
}
|
|
33123
|
+
|
|
33124
|
+
constructor(map?: { [key: string]: any }) {
|
|
33125
|
+
super(map);
|
|
33126
|
+
}
|
|
33127
|
+
}
|
|
33128
|
+
|
|
32274
33129
|
export class GetDBInstanceTopologyResponseBodyDataConnections extends $tea.Model {
|
|
32275
33130
|
connectionString?: string;
|
|
32276
33131
|
DBInstanceName?: string;
|
|
@@ -32777,6 +33632,25 @@ export class ModifySecurityGroupConfigurationResponseBodyItems extends $tea.Mode
|
|
|
32777
33632
|
}
|
|
32778
33633
|
}
|
|
32779
33634
|
|
|
33635
|
+
export class ModifyWhitelistTemplateResponseBodyData extends $tea.Model {
|
|
33636
|
+
status?: string;
|
|
33637
|
+
static names(): { [key: string]: string } {
|
|
33638
|
+
return {
|
|
33639
|
+
status: 'Status',
|
|
33640
|
+
};
|
|
33641
|
+
}
|
|
33642
|
+
|
|
33643
|
+
static types(): { [key: string]: any } {
|
|
33644
|
+
return {
|
|
33645
|
+
status: 'string',
|
|
33646
|
+
};
|
|
33647
|
+
}
|
|
33648
|
+
|
|
33649
|
+
constructor(map?: { [key: string]: any }) {
|
|
33650
|
+
super(map);
|
|
33651
|
+
}
|
|
33652
|
+
}
|
|
33653
|
+
|
|
32780
33654
|
export class QueryNotifyResponseBodyDataNotifyItemList extends $tea.Model {
|
|
32781
33655
|
aliUid?: number;
|
|
32782
33656
|
confirmFlag?: boolean;
|
|
@@ -33299,6 +34173,47 @@ export default class Client extends OpenApi {
|
|
|
33299
34173
|
return await this.allocateReadWriteSplittingConnectionWithOptions(request, runtime);
|
|
33300
34174
|
}
|
|
33301
34175
|
|
|
34176
|
+
async attachWhitelistTemplateToInstanceWithOptions(request: AttachWhitelistTemplateToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<AttachWhitelistTemplateToInstanceResponse> {
|
|
34177
|
+
Util.validateModel(request);
|
|
34178
|
+
let query = { };
|
|
34179
|
+
if (!Util.isUnset(request.insName)) {
|
|
34180
|
+
query["InsName"] = request.insName;
|
|
34181
|
+
}
|
|
34182
|
+
|
|
34183
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
34184
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
34185
|
+
}
|
|
34186
|
+
|
|
34187
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
34188
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
34189
|
+
}
|
|
34190
|
+
|
|
34191
|
+
if (!Util.isUnset(request.templateId)) {
|
|
34192
|
+
query["TemplateId"] = request.templateId;
|
|
34193
|
+
}
|
|
34194
|
+
|
|
34195
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
34196
|
+
query: OpenApiUtil.query(query),
|
|
34197
|
+
});
|
|
34198
|
+
let params = new $OpenApi.Params({
|
|
34199
|
+
action: "AttachWhitelistTemplateToInstance",
|
|
34200
|
+
version: "2014-08-15",
|
|
34201
|
+
protocol: "HTTPS",
|
|
34202
|
+
pathname: "/",
|
|
34203
|
+
method: "POST",
|
|
34204
|
+
authType: "AK",
|
|
34205
|
+
style: "RPC",
|
|
34206
|
+
reqBodyType: "formData",
|
|
34207
|
+
bodyType: "json",
|
|
34208
|
+
});
|
|
34209
|
+
return $tea.cast<AttachWhitelistTemplateToInstanceResponse>(await this.callApi(params, req, runtime), new AttachWhitelistTemplateToInstanceResponse({}));
|
|
34210
|
+
}
|
|
34211
|
+
|
|
34212
|
+
async attachWhitelistTemplateToInstance(request: AttachWhitelistTemplateToInstanceRequest): Promise<AttachWhitelistTemplateToInstanceResponse> {
|
|
34213
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
34214
|
+
return await this.attachWhitelistTemplateToInstanceWithOptions(request, runtime);
|
|
34215
|
+
}
|
|
34216
|
+
|
|
33302
34217
|
/**
|
|
33303
34218
|
* When the [read/write splitting](~~51073~~) feature is enabled, this operation is used to calculate system-assigned read weights. For more information about custom read weights, see [DescribeDBInstanceNetInfo](~~26237~~).
|
|
33304
34219
|
* Before you call this operation, make sure that the following requirements are met:
|
|
@@ -34084,6 +34999,10 @@ export default class Client extends OpenApi {
|
|
|
34084
34999
|
query["OwnerId"] = request.ownerId;
|
|
34085
35000
|
}
|
|
34086
35001
|
|
|
35002
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
35003
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
35004
|
+
}
|
|
35005
|
+
|
|
34087
35006
|
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
34088
35007
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
34089
35008
|
}
|
|
@@ -36872,6 +37791,10 @@ export default class Client extends OpenApi {
|
|
|
36872
37791
|
query["OwnerId"] = request.ownerId;
|
|
36873
37792
|
}
|
|
36874
37793
|
|
|
37794
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
37795
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
37796
|
+
}
|
|
37797
|
+
|
|
36875
37798
|
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
36876
37799
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
36877
37800
|
}
|
|
@@ -37756,6 +38679,55 @@ export default class Client extends OpenApi {
|
|
|
37756
38679
|
return await this.describeActiveOperationTasksWithOptions(request, runtime);
|
|
37757
38680
|
}
|
|
37758
38681
|
|
|
38682
|
+
async describeAllWhitelistTemplateWithOptions(request: DescribeAllWhitelistTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAllWhitelistTemplateResponse> {
|
|
38683
|
+
Util.validateModel(request);
|
|
38684
|
+
let query = { };
|
|
38685
|
+
if (!Util.isUnset(request.fuzzySearch)) {
|
|
38686
|
+
query["FuzzySearch"] = request.fuzzySearch;
|
|
38687
|
+
}
|
|
38688
|
+
|
|
38689
|
+
if (!Util.isUnset(request.maxRecordsPerPage)) {
|
|
38690
|
+
query["MaxRecordsPerPage"] = request.maxRecordsPerPage;
|
|
38691
|
+
}
|
|
38692
|
+
|
|
38693
|
+
if (!Util.isUnset(request.pageNumbers)) {
|
|
38694
|
+
query["PageNumbers"] = request.pageNumbers;
|
|
38695
|
+
}
|
|
38696
|
+
|
|
38697
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
38698
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
38699
|
+
}
|
|
38700
|
+
|
|
38701
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
38702
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
38703
|
+
}
|
|
38704
|
+
|
|
38705
|
+
if (!Util.isUnset(request.templateName)) {
|
|
38706
|
+
query["TemplateName"] = request.templateName;
|
|
38707
|
+
}
|
|
38708
|
+
|
|
38709
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
38710
|
+
query: OpenApiUtil.query(query),
|
|
38711
|
+
});
|
|
38712
|
+
let params = new $OpenApi.Params({
|
|
38713
|
+
action: "DescribeAllWhitelistTemplate",
|
|
38714
|
+
version: "2014-08-15",
|
|
38715
|
+
protocol: "HTTPS",
|
|
38716
|
+
pathname: "/",
|
|
38717
|
+
method: "POST",
|
|
38718
|
+
authType: "AK",
|
|
38719
|
+
style: "RPC",
|
|
38720
|
+
reqBodyType: "formData",
|
|
38721
|
+
bodyType: "json",
|
|
38722
|
+
});
|
|
38723
|
+
return $tea.cast<DescribeAllWhitelistTemplateResponse>(await this.callApi(params, req, runtime), new DescribeAllWhitelistTemplateResponse({}));
|
|
38724
|
+
}
|
|
38725
|
+
|
|
38726
|
+
async describeAllWhitelistTemplate(request: DescribeAllWhitelistTemplateRequest): Promise<DescribeAllWhitelistTemplateResponse> {
|
|
38727
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
38728
|
+
return await this.describeAllWhitelistTemplateWithOptions(request, runtime);
|
|
38729
|
+
}
|
|
38730
|
+
|
|
37759
38731
|
async describeAnalyticdbByPrimaryDBInstanceWithOptions(request: DescribeAnalyticdbByPrimaryDBInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAnalyticdbByPrimaryDBInstanceResponse> {
|
|
37760
38732
|
Util.validateModel(request);
|
|
37761
38733
|
let query = { };
|
|
@@ -38478,6 +39450,10 @@ export default class Client extends OpenApi {
|
|
|
38478
39450
|
query["RegionId"] = request.regionId;
|
|
38479
39451
|
}
|
|
38480
39452
|
|
|
39453
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
39454
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
39455
|
+
}
|
|
39456
|
+
|
|
38481
39457
|
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
38482
39458
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
38483
39459
|
}
|
|
@@ -42085,6 +43061,43 @@ export default class Client extends OpenApi {
|
|
|
42085
43061
|
return await this.describeInstanceKeywordsWithOptions(request, runtime);
|
|
42086
43062
|
}
|
|
42087
43063
|
|
|
43064
|
+
async describeInstanceLinkedWhitelistTemplateWithOptions(request: DescribeInstanceLinkedWhitelistTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceLinkedWhitelistTemplateResponse> {
|
|
43065
|
+
Util.validateModel(request);
|
|
43066
|
+
let query = { };
|
|
43067
|
+
if (!Util.isUnset(request.insName)) {
|
|
43068
|
+
query["InsName"] = request.insName;
|
|
43069
|
+
}
|
|
43070
|
+
|
|
43071
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
43072
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
43073
|
+
}
|
|
43074
|
+
|
|
43075
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
43076
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
43077
|
+
}
|
|
43078
|
+
|
|
43079
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
43080
|
+
query: OpenApiUtil.query(query),
|
|
43081
|
+
});
|
|
43082
|
+
let params = new $OpenApi.Params({
|
|
43083
|
+
action: "DescribeInstanceLinkedWhitelistTemplate",
|
|
43084
|
+
version: "2014-08-15",
|
|
43085
|
+
protocol: "HTTPS",
|
|
43086
|
+
pathname: "/",
|
|
43087
|
+
method: "POST",
|
|
43088
|
+
authType: "AK",
|
|
43089
|
+
style: "RPC",
|
|
43090
|
+
reqBodyType: "formData",
|
|
43091
|
+
bodyType: "json",
|
|
43092
|
+
});
|
|
43093
|
+
return $tea.cast<DescribeInstanceLinkedWhitelistTemplateResponse>(await this.callApi(params, req, runtime), new DescribeInstanceLinkedWhitelistTemplateResponse({}));
|
|
43094
|
+
}
|
|
43095
|
+
|
|
43096
|
+
async describeInstanceLinkedWhitelistTemplate(request: DescribeInstanceLinkedWhitelistTemplateRequest): Promise<DescribeInstanceLinkedWhitelistTemplateResponse> {
|
|
43097
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
43098
|
+
return await this.describeInstanceLinkedWhitelistTemplateWithOptions(request, runtime);
|
|
43099
|
+
}
|
|
43100
|
+
|
|
42088
43101
|
async describeLocalAvailableRecoveryTimeWithOptions(request: DescribeLocalAvailableRecoveryTimeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLocalAvailableRecoveryTimeResponse> {
|
|
42089
43102
|
Util.validateModel(request);
|
|
42090
43103
|
let query = { };
|
|
@@ -43382,6 +44395,10 @@ export default class Client extends OpenApi {
|
|
|
43382
44395
|
query["RegionId"] = request.regionId;
|
|
43383
44396
|
}
|
|
43384
44397
|
|
|
44398
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
44399
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
44400
|
+
}
|
|
44401
|
+
|
|
43385
44402
|
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
43386
44403
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
43387
44404
|
}
|
|
@@ -44655,6 +45672,82 @@ export default class Client extends OpenApi {
|
|
|
44655
45672
|
return await this.describeVSwitchesWithOptions(request, runtime);
|
|
44656
45673
|
}
|
|
44657
45674
|
|
|
45675
|
+
async describeWhitelistTemplateWithOptions(request: DescribeWhitelistTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWhitelistTemplateResponse> {
|
|
45676
|
+
Util.validateModel(request);
|
|
45677
|
+
let query = { };
|
|
45678
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
45679
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
45680
|
+
}
|
|
45681
|
+
|
|
45682
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
45683
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
45684
|
+
}
|
|
45685
|
+
|
|
45686
|
+
if (!Util.isUnset(request.templateId)) {
|
|
45687
|
+
query["TemplateId"] = request.templateId;
|
|
45688
|
+
}
|
|
45689
|
+
|
|
45690
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
45691
|
+
query: OpenApiUtil.query(query),
|
|
45692
|
+
});
|
|
45693
|
+
let params = new $OpenApi.Params({
|
|
45694
|
+
action: "DescribeWhitelistTemplate",
|
|
45695
|
+
version: "2014-08-15",
|
|
45696
|
+
protocol: "HTTPS",
|
|
45697
|
+
pathname: "/",
|
|
45698
|
+
method: "POST",
|
|
45699
|
+
authType: "AK",
|
|
45700
|
+
style: "RPC",
|
|
45701
|
+
reqBodyType: "formData",
|
|
45702
|
+
bodyType: "json",
|
|
45703
|
+
});
|
|
45704
|
+
return $tea.cast<DescribeWhitelistTemplateResponse>(await this.callApi(params, req, runtime), new DescribeWhitelistTemplateResponse({}));
|
|
45705
|
+
}
|
|
45706
|
+
|
|
45707
|
+
async describeWhitelistTemplate(request: DescribeWhitelistTemplateRequest): Promise<DescribeWhitelistTemplateResponse> {
|
|
45708
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
45709
|
+
return await this.describeWhitelistTemplateWithOptions(request, runtime);
|
|
45710
|
+
}
|
|
45711
|
+
|
|
45712
|
+
async describeWhitelistTemplateLinkedInstanceWithOptions(request: DescribeWhitelistTemplateLinkedInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWhitelistTemplateLinkedInstanceResponse> {
|
|
45713
|
+
Util.validateModel(request);
|
|
45714
|
+
let query = { };
|
|
45715
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
45716
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
45717
|
+
}
|
|
45718
|
+
|
|
45719
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
45720
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
45721
|
+
}
|
|
45722
|
+
|
|
45723
|
+
let body : {[key: string ]: any} = { };
|
|
45724
|
+
if (!Util.isUnset(request.templateId)) {
|
|
45725
|
+
body["TemplateId"] = request.templateId;
|
|
45726
|
+
}
|
|
45727
|
+
|
|
45728
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
45729
|
+
query: OpenApiUtil.query(query),
|
|
45730
|
+
body: OpenApiUtil.parseToMap(body),
|
|
45731
|
+
});
|
|
45732
|
+
let params = new $OpenApi.Params({
|
|
45733
|
+
action: "DescribeWhitelistTemplateLinkedInstance",
|
|
45734
|
+
version: "2014-08-15",
|
|
45735
|
+
protocol: "HTTPS",
|
|
45736
|
+
pathname: "/",
|
|
45737
|
+
method: "POST",
|
|
45738
|
+
authType: "AK",
|
|
45739
|
+
style: "RPC",
|
|
45740
|
+
reqBodyType: "formData",
|
|
45741
|
+
bodyType: "json",
|
|
45742
|
+
});
|
|
45743
|
+
return $tea.cast<DescribeWhitelistTemplateLinkedInstanceResponse>(await this.callApi(params, req, runtime), new DescribeWhitelistTemplateLinkedInstanceResponse({}));
|
|
45744
|
+
}
|
|
45745
|
+
|
|
45746
|
+
async describeWhitelistTemplateLinkedInstance(request: DescribeWhitelistTemplateLinkedInstanceRequest): Promise<DescribeWhitelistTemplateLinkedInstanceResponse> {
|
|
45747
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
45748
|
+
return await this.describeWhitelistTemplateLinkedInstanceWithOptions(request, runtime);
|
|
45749
|
+
}
|
|
45750
|
+
|
|
44658
45751
|
/**
|
|
44659
45752
|
* The DestroyDBInstance operation is phased out.
|
|
44660
45753
|
*
|
|
@@ -44769,6 +45862,47 @@ export default class Client extends OpenApi {
|
|
|
44769
45862
|
return await this.detachGadInstanceMemberWithOptions(request, runtime);
|
|
44770
45863
|
}
|
|
44771
45864
|
|
|
45865
|
+
async detachWhitelistTemplateToInstanceWithOptions(request: DetachWhitelistTemplateToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DetachWhitelistTemplateToInstanceResponse> {
|
|
45866
|
+
Util.validateModel(request);
|
|
45867
|
+
let query = { };
|
|
45868
|
+
if (!Util.isUnset(request.insName)) {
|
|
45869
|
+
query["InsName"] = request.insName;
|
|
45870
|
+
}
|
|
45871
|
+
|
|
45872
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
45873
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
45874
|
+
}
|
|
45875
|
+
|
|
45876
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
45877
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
45878
|
+
}
|
|
45879
|
+
|
|
45880
|
+
if (!Util.isUnset(request.templateId)) {
|
|
45881
|
+
query["TemplateId"] = request.templateId;
|
|
45882
|
+
}
|
|
45883
|
+
|
|
45884
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
45885
|
+
query: OpenApiUtil.query(query),
|
|
45886
|
+
});
|
|
45887
|
+
let params = new $OpenApi.Params({
|
|
45888
|
+
action: "DetachWhitelistTemplateToInstance",
|
|
45889
|
+
version: "2014-08-15",
|
|
45890
|
+
protocol: "HTTPS",
|
|
45891
|
+
pathname: "/",
|
|
45892
|
+
method: "POST",
|
|
45893
|
+
authType: "AK",
|
|
45894
|
+
style: "RPC",
|
|
45895
|
+
reqBodyType: "formData",
|
|
45896
|
+
bodyType: "json",
|
|
45897
|
+
});
|
|
45898
|
+
return $tea.cast<DetachWhitelistTemplateToInstanceResponse>(await this.callApi(params, req, runtime), new DetachWhitelistTemplateToInstanceResponse({}));
|
|
45899
|
+
}
|
|
45900
|
+
|
|
45901
|
+
async detachWhitelistTemplateToInstance(request: DetachWhitelistTemplateToInstanceRequest): Promise<DetachWhitelistTemplateToInstanceResponse> {
|
|
45902
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
45903
|
+
return await this.detachWhitelistTemplateToInstanceWithOptions(request, runtime);
|
|
45904
|
+
}
|
|
45905
|
+
|
|
44772
45906
|
async getDBInstanceTopologyWithOptions(request: GetDBInstanceTopologyRequest, runtime: $Util.RuntimeOptions): Promise<GetDBInstanceTopologyResponse> {
|
|
44773
45907
|
Util.validateModel(request);
|
|
44774
45908
|
let query = { };
|
|
@@ -49403,6 +50537,51 @@ export default class Client extends OpenApi {
|
|
|
49403
50537
|
return await this.modifySecurityIpsWithOptions(request, runtime);
|
|
49404
50538
|
}
|
|
49405
50539
|
|
|
50540
|
+
async modifyWhitelistTemplateWithOptions(request: ModifyWhitelistTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyWhitelistTemplateResponse> {
|
|
50541
|
+
Util.validateModel(request);
|
|
50542
|
+
let query = { };
|
|
50543
|
+
if (!Util.isUnset(request.ipWhitelist)) {
|
|
50544
|
+
query["IpWhitelist"] = request.ipWhitelist;
|
|
50545
|
+
}
|
|
50546
|
+
|
|
50547
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
50548
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
50549
|
+
}
|
|
50550
|
+
|
|
50551
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
50552
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
50553
|
+
}
|
|
50554
|
+
|
|
50555
|
+
if (!Util.isUnset(request.templateId)) {
|
|
50556
|
+
query["TemplateId"] = request.templateId;
|
|
50557
|
+
}
|
|
50558
|
+
|
|
50559
|
+
if (!Util.isUnset(request.templateName)) {
|
|
50560
|
+
query["TemplateName"] = request.templateName;
|
|
50561
|
+
}
|
|
50562
|
+
|
|
50563
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
50564
|
+
query: OpenApiUtil.query(query),
|
|
50565
|
+
});
|
|
50566
|
+
let params = new $OpenApi.Params({
|
|
50567
|
+
action: "ModifyWhitelistTemplate",
|
|
50568
|
+
version: "2014-08-15",
|
|
50569
|
+
protocol: "HTTPS",
|
|
50570
|
+
pathname: "/",
|
|
50571
|
+
method: "POST",
|
|
50572
|
+
authType: "AK",
|
|
50573
|
+
style: "RPC",
|
|
50574
|
+
reqBodyType: "formData",
|
|
50575
|
+
bodyType: "json",
|
|
50576
|
+
});
|
|
50577
|
+
return $tea.cast<ModifyWhitelistTemplateResponse>(await this.callApi(params, req, runtime), new ModifyWhitelistTemplateResponse({}));
|
|
50578
|
+
}
|
|
50579
|
+
|
|
50580
|
+
async modifyWhitelistTemplate(request: ModifyWhitelistTemplateRequest): Promise<ModifyWhitelistTemplateResponse> {
|
|
50581
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
50582
|
+
return await this.modifyWhitelistTemplateWithOptions(request, runtime);
|
|
50583
|
+
}
|
|
50584
|
+
|
|
49406
50585
|
/**
|
|
49407
50586
|
* ApsaraDB RDS automatically uploads log backup files to Object Storage Service (OSS) buckets. If the remaining storage of an instance is insufficient, you can upload the log backup files of the instance to OSS buckets. After you upload the log backup files of an instance, ApsaraDB RDS deletes these files from the instance to release storage. This operation is called to upload log backup files from an instance to OSS buckets and then delete these files from the instance. If the instance runs SQL Server, transaction log backup files are compressed before they are uploaded. For more information about log backups, see [Back up an ApsaraDB RDS for MySQL instance](~~98818~~) or [Back up an ApsaraDB RDS for SQL Server instance](~~95717~~).
|
|
49408
50587
|
* >
|