@alicloud/dds20151201 3.6.17 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -1314,6 +1314,107 @@ export declare class DescribeBackupsResponse extends $tea.Model {
1314
1314
  [key: string]: any;
1315
1315
  });
1316
1316
  }
1317
+ export declare class DescribeClusterBackupsRequest extends $tea.Model {
1318
+ backupId?: string;
1319
+ DBInstanceId?: string;
1320
+ endTime?: string;
1321
+ isOnlyGetClusterBackUp?: boolean;
1322
+ ownerAccount?: string;
1323
+ ownerId?: number;
1324
+ pageNo?: number;
1325
+ pageSize?: number;
1326
+ resourceOwnerAccount?: string;
1327
+ resourceOwnerId?: number;
1328
+ securityToken?: string;
1329
+ startTime?: string;
1330
+ static names(): {
1331
+ [key: string]: string;
1332
+ };
1333
+ static types(): {
1334
+ [key: string]: any;
1335
+ };
1336
+ constructor(map?: {
1337
+ [key: string]: any;
1338
+ });
1339
+ }
1340
+ export declare class DescribeClusterBackupsResponseBody extends $tea.Model {
1341
+ clusterBackups?: DescribeClusterBackupsResponseBodyClusterBackups[];
1342
+ maxResults?: number;
1343
+ pageNumber?: number;
1344
+ pageSize?: number;
1345
+ requestId?: string;
1346
+ static names(): {
1347
+ [key: string]: string;
1348
+ };
1349
+ static types(): {
1350
+ [key: string]: any;
1351
+ };
1352
+ constructor(map?: {
1353
+ [key: string]: any;
1354
+ });
1355
+ }
1356
+ export declare class DescribeClusterBackupsResponse extends $tea.Model {
1357
+ headers: {
1358
+ [key: string]: string;
1359
+ };
1360
+ statusCode: number;
1361
+ body: DescribeClusterBackupsResponseBody;
1362
+ static names(): {
1363
+ [key: string]: string;
1364
+ };
1365
+ static types(): {
1366
+ [key: string]: any;
1367
+ };
1368
+ constructor(map?: {
1369
+ [key: string]: any;
1370
+ });
1371
+ }
1372
+ export declare class DescribeClusterRecoverTimeRequest extends $tea.Model {
1373
+ DBInstanceId?: string;
1374
+ ownerAccount?: string;
1375
+ ownerId?: number;
1376
+ resourceOwnerAccount?: string;
1377
+ resourceOwnerId?: number;
1378
+ securityToken?: string;
1379
+ static names(): {
1380
+ [key: string]: string;
1381
+ };
1382
+ static types(): {
1383
+ [key: string]: any;
1384
+ };
1385
+ constructor(map?: {
1386
+ [key: string]: any;
1387
+ });
1388
+ }
1389
+ export declare class DescribeClusterRecoverTimeResponseBody extends $tea.Model {
1390
+ requestId?: string;
1391
+ restoreRanges?: DescribeClusterRecoverTimeResponseBodyRestoreRanges[];
1392
+ static names(): {
1393
+ [key: string]: string;
1394
+ };
1395
+ static types(): {
1396
+ [key: string]: any;
1397
+ };
1398
+ constructor(map?: {
1399
+ [key: string]: any;
1400
+ });
1401
+ }
1402
+ export declare class DescribeClusterRecoverTimeResponse extends $tea.Model {
1403
+ headers: {
1404
+ [key: string]: string;
1405
+ };
1406
+ statusCode: number;
1407
+ body: DescribeClusterRecoverTimeResponseBody;
1408
+ static names(): {
1409
+ [key: string]: string;
1410
+ };
1411
+ static types(): {
1412
+ [key: string]: any;
1413
+ };
1414
+ constructor(map?: {
1415
+ [key: string]: any;
1416
+ });
1417
+ }
1317
1418
  export declare class DescribeDBInstanceAttributeRequest extends $tea.Model {
1318
1419
  DBInstanceId?: string;
1319
1420
  engine?: string;
@@ -3440,7 +3541,6 @@ export declare class ModifyDBInstanceMonitorResponse extends $tea.Model {
3440
3541
  });
3441
3542
  }
3442
3543
  export declare class ModifyDBInstanceNetExpireTimeRequest extends $tea.Model {
3443
- category?: string;
3444
3544
  classicExpendExpiredDays?: number;
3445
3545
  connectionString?: string;
3446
3546
  DBInstanceId?: string;
@@ -4610,6 +4710,52 @@ export declare class TagResourcesResponse extends $tea.Model {
4610
4710
  [key: string]: any;
4611
4711
  });
4612
4712
  }
4713
+ export declare class TransferClusterBackupRequest extends $tea.Model {
4714
+ DBInstanceId?: string;
4715
+ ownerAccount?: string;
4716
+ ownerId?: number;
4717
+ resourceOwnerAccount?: string;
4718
+ resourceOwnerId?: number;
4719
+ securityToken?: string;
4720
+ static names(): {
4721
+ [key: string]: string;
4722
+ };
4723
+ static types(): {
4724
+ [key: string]: any;
4725
+ };
4726
+ constructor(map?: {
4727
+ [key: string]: any;
4728
+ });
4729
+ }
4730
+ export declare class TransferClusterBackupResponseBody extends $tea.Model {
4731
+ alreadyDone?: string;
4732
+ requestId?: string;
4733
+ static names(): {
4734
+ [key: string]: string;
4735
+ };
4736
+ static types(): {
4737
+ [key: string]: any;
4738
+ };
4739
+ constructor(map?: {
4740
+ [key: string]: any;
4741
+ });
4742
+ }
4743
+ export declare class TransferClusterBackupResponse extends $tea.Model {
4744
+ headers: {
4745
+ [key: string]: string;
4746
+ };
4747
+ statusCode: number;
4748
+ body: TransferClusterBackupResponseBody;
4749
+ static names(): {
4750
+ [key: string]: string;
4751
+ };
4752
+ static types(): {
4753
+ [key: string]: any;
4754
+ };
4755
+ constructor(map?: {
4756
+ [key: string]: any;
4757
+ });
4758
+ }
4613
4759
  export declare class TransformInstanceChargeTypeRequest extends $tea.Model {
4614
4760
  autoPay?: boolean;
4615
4761
  autoRenew?: string;
@@ -5260,6 +5406,74 @@ export declare class DescribeBackupsResponseBodyBackups extends $tea.Model {
5260
5406
  [key: string]: any;
5261
5407
  });
5262
5408
  }
5409
+ export declare class DescribeClusterBackupsResponseBodyClusterBackupsBackups extends $tea.Model {
5410
+ backupDownloadURL?: string;
5411
+ backupEndTime?: string;
5412
+ backupId?: string;
5413
+ backupIntranetDownloadURL?: string;
5414
+ backupName?: string;
5415
+ backupSize?: string;
5416
+ backupStartTime?: string;
5417
+ backupStatus?: string;
5418
+ instanceName?: string;
5419
+ isAvail?: string;
5420
+ static names(): {
5421
+ [key: string]: string;
5422
+ };
5423
+ static types(): {
5424
+ [key: string]: any;
5425
+ };
5426
+ constructor(map?: {
5427
+ [key: string]: any;
5428
+ });
5429
+ }
5430
+ export declare class DescribeClusterBackupsResponseBodyClusterBackupsExtraInfo extends $tea.Model {
5431
+ registryFromHistory?: string;
5432
+ static names(): {
5433
+ [key: string]: string;
5434
+ };
5435
+ static types(): {
5436
+ [key: string]: any;
5437
+ };
5438
+ constructor(map?: {
5439
+ [key: string]: any;
5440
+ });
5441
+ }
5442
+ export declare class DescribeClusterBackupsResponseBodyClusterBackups extends $tea.Model {
5443
+ backups?: DescribeClusterBackupsResponseBodyClusterBackupsBackups[];
5444
+ clusterBackupEndTime?: string;
5445
+ clusterBackupId?: string;
5446
+ clusterBackupMode?: string;
5447
+ clusterBackupSize?: string;
5448
+ clusterBackupStartTime?: string;
5449
+ clusterBackupStatus?: string;
5450
+ extraInfo?: DescribeClusterBackupsResponseBodyClusterBackupsExtraInfo;
5451
+ isAvail?: number;
5452
+ progress?: string;
5453
+ static names(): {
5454
+ [key: string]: string;
5455
+ };
5456
+ static types(): {
5457
+ [key: string]: any;
5458
+ };
5459
+ constructor(map?: {
5460
+ [key: string]: any;
5461
+ });
5462
+ }
5463
+ export declare class DescribeClusterRecoverTimeResponseBodyRestoreRanges extends $tea.Model {
5464
+ restoreBeginTime?: string;
5465
+ restoreEndTime?: string;
5466
+ restoreType?: string;
5467
+ static names(): {
5468
+ [key: string]: string;
5469
+ };
5470
+ static types(): {
5471
+ [key: string]: any;
5472
+ };
5473
+ constructor(map?: {
5474
+ [key: string]: any;
5475
+ });
5476
+ }
5263
5477
  export declare class DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverListConfigserverAttribute extends $tea.Model {
5264
5478
  connectString?: string;
5265
5479
  maxConnections?: number;
@@ -6941,6 +7155,10 @@ export default class Client extends OpenApi {
6941
7155
  describeBackupPolicy(request: DescribeBackupPolicyRequest): Promise<DescribeBackupPolicyResponse>;
6942
7156
  describeBackupsWithOptions(request: DescribeBackupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeBackupsResponse>;
6943
7157
  describeBackups(request: DescribeBackupsRequest): Promise<DescribeBackupsResponse>;
7158
+ describeClusterBackupsWithOptions(request: DescribeClusterBackupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeClusterBackupsResponse>;
7159
+ describeClusterBackups(request: DescribeClusterBackupsRequest): Promise<DescribeClusterBackupsResponse>;
7160
+ describeClusterRecoverTimeWithOptions(request: DescribeClusterRecoverTimeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeClusterRecoverTimeResponse>;
7161
+ describeClusterRecoverTime(request: DescribeClusterRecoverTimeRequest): Promise<DescribeClusterRecoverTimeResponse>;
6944
7162
  describeDBInstanceAttributeWithOptions(request: DescribeDBInstanceAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBInstanceAttributeResponse>;
6945
7163
  describeDBInstanceAttribute(request: DescribeDBInstanceAttributeRequest): Promise<DescribeDBInstanceAttributeResponse>;
6946
7164
  /**
@@ -7733,6 +7951,8 @@ export default class Client extends OpenApi {
7733
7951
  * @return TagResourcesResponse
7734
7952
  */
7735
7953
  tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse>;
7954
+ transferClusterBackupWithOptions(request: TransferClusterBackupRequest, runtime: $Util.RuntimeOptions): Promise<TransferClusterBackupResponse>;
7955
+ transferClusterBackup(request: TransferClusterBackupRequest): Promise<TransferClusterBackupResponse>;
7736
7956
  /**
7737
7957
  * Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.aliyun.com/price/product#/mongodb/detail) of ApsaraDB for MongoDB.
7738
7958
  * Before you call this API operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements: