@alicloud/rds20140815 2.7.1 → 2.7.3
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 +101 -18
- package/dist/client.js +102 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +103 -18
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -29509,6 +29509,7 @@ export class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute ext
|
|
|
29509
29509
|
DBInstanceClass?: string;
|
|
29510
29510
|
DBInstanceClassType?: string;
|
|
29511
29511
|
DBInstanceDescription?: string;
|
|
29512
|
+
DBInstanceDiskUsed?: string;
|
|
29512
29513
|
DBInstanceId?: string;
|
|
29513
29514
|
DBInstanceMemory?: number;
|
|
29514
29515
|
DBInstanceNetType?: string;
|
|
@@ -29581,6 +29582,7 @@ export class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute ext
|
|
|
29581
29582
|
DBInstanceClass: 'DBInstanceClass',
|
|
29582
29583
|
DBInstanceClassType: 'DBInstanceClassType',
|
|
29583
29584
|
DBInstanceDescription: 'DBInstanceDescription',
|
|
29585
|
+
DBInstanceDiskUsed: 'DBInstanceDiskUsed',
|
|
29584
29586
|
DBInstanceId: 'DBInstanceId',
|
|
29585
29587
|
DBInstanceMemory: 'DBInstanceMemory',
|
|
29586
29588
|
DBInstanceNetType: 'DBInstanceNetType',
|
|
@@ -29656,6 +29658,7 @@ export class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute ext
|
|
|
29656
29658
|
DBInstanceClass: 'string',
|
|
29657
29659
|
DBInstanceClassType: 'string',
|
|
29658
29660
|
DBInstanceDescription: 'string',
|
|
29661
|
+
DBInstanceDiskUsed: 'string',
|
|
29659
29662
|
DBInstanceId: 'string',
|
|
29660
29663
|
DBInstanceMemory: 'number',
|
|
29661
29664
|
DBInstanceNetType: 'string',
|
|
@@ -42049,6 +42052,17 @@ export default class Client extends OpenApi {
|
|
|
42049
42052
|
return await this.describeAnalyticdbByPrimaryDBInstanceWithOptions(request, runtime);
|
|
42050
42053
|
}
|
|
42051
42054
|
|
|
42055
|
+
/**
|
|
42056
|
+
* ### [](#)Supported database engines
|
|
42057
|
+
* * MySQL
|
|
42058
|
+
* * PostgreSQL
|
|
42059
|
+
* * SQL Server
|
|
42060
|
+
* * MariaDB
|
|
42061
|
+
*
|
|
42062
|
+
* @param request DescribeAvailableClassesRequest
|
|
42063
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
42064
|
+
* @return DescribeAvailableClassesResponse
|
|
42065
|
+
*/
|
|
42052
42066
|
async describeAvailableClassesWithOptions(request: DescribeAvailableClassesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAvailableClassesResponse> {
|
|
42053
42067
|
Util.validateModel(request);
|
|
42054
42068
|
let query = { };
|
|
@@ -42113,6 +42127,16 @@ export default class Client extends OpenApi {
|
|
|
42113
42127
|
return $tea.cast<DescribeAvailableClassesResponse>(await this.callApi(params, req, runtime), new DescribeAvailableClassesResponse({}));
|
|
42114
42128
|
}
|
|
42115
42129
|
|
|
42130
|
+
/**
|
|
42131
|
+
* ### [](#)Supported database engines
|
|
42132
|
+
* * MySQL
|
|
42133
|
+
* * PostgreSQL
|
|
42134
|
+
* * SQL Server
|
|
42135
|
+
* * MariaDB
|
|
42136
|
+
*
|
|
42137
|
+
* @param request DescribeAvailableClassesRequest
|
|
42138
|
+
* @return DescribeAvailableClassesResponse
|
|
42139
|
+
*/
|
|
42116
42140
|
async describeAvailableClasses(request: DescribeAvailableClassesRequest): Promise<DescribeAvailableClassesResponse> {
|
|
42117
42141
|
let runtime = new $Util.RuntimeOptions({ });
|
|
42118
42142
|
return await this.describeAvailableClassesWithOptions(request, runtime);
|
|
@@ -48353,6 +48377,17 @@ export default class Client extends OpenApi {
|
|
|
48353
48377
|
return await this.describeReadDBInstanceDelayWithOptions(request, runtime);
|
|
48354
48378
|
}
|
|
48355
48379
|
|
|
48380
|
+
/**
|
|
48381
|
+
* ### [](#)Supported database engines
|
|
48382
|
+
* * MySQL
|
|
48383
|
+
* * PostgreSQL
|
|
48384
|
+
* * SQL Server
|
|
48385
|
+
* * MariaDB
|
|
48386
|
+
*
|
|
48387
|
+
* @param request DescribeRegionInfosRequest
|
|
48388
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
48389
|
+
* @return DescribeRegionInfosResponse
|
|
48390
|
+
*/
|
|
48356
48391
|
async describeRegionInfosWithOptions(request: DescribeRegionInfosRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionInfosResponse> {
|
|
48357
48392
|
Util.validateModel(request);
|
|
48358
48393
|
let query = { };
|
|
@@ -48393,6 +48428,16 @@ export default class Client extends OpenApi {
|
|
|
48393
48428
|
return $tea.cast<DescribeRegionInfosResponse>(await this.callApi(params, req, runtime), new DescribeRegionInfosResponse({}));
|
|
48394
48429
|
}
|
|
48395
48430
|
|
|
48431
|
+
/**
|
|
48432
|
+
* ### [](#)Supported database engines
|
|
48433
|
+
* * MySQL
|
|
48434
|
+
* * PostgreSQL
|
|
48435
|
+
* * SQL Server
|
|
48436
|
+
* * MariaDB
|
|
48437
|
+
*
|
|
48438
|
+
* @param request DescribeRegionInfosRequest
|
|
48439
|
+
* @return DescribeRegionInfosResponse
|
|
48440
|
+
*/
|
|
48396
48441
|
async describeRegionInfos(request: DescribeRegionInfosRequest): Promise<DescribeRegionInfosResponse> {
|
|
48397
48442
|
let runtime = new $Util.RuntimeOptions({ });
|
|
48398
48443
|
return await this.describeRegionInfosWithOptions(request, runtime);
|
|
@@ -50539,14 +50584,18 @@ export default class Client extends OpenApi {
|
|
|
50539
50584
|
}
|
|
50540
50585
|
|
|
50541
50586
|
/**
|
|
50587
|
+
* ### [](#)Supported database engine
|
|
50588
|
+
* * SQL Server
|
|
50589
|
+
* ### [](#)Description
|
|
50542
50590
|
* We recommend that you use Data Transmission Service (DTS). DTS provides data migration, subscription, and synchronization features that allow you to establish stable, secure transmission links. For more information, see [DTS API overview](~~49456~~).
|
|
50543
|
-
*
|
|
50544
|
-
*
|
|
50545
|
-
* *
|
|
50546
|
-
*
|
|
50547
|
-
*
|
|
50548
|
-
*
|
|
50549
|
-
*
|
|
50591
|
+
* ### [](#)Precautions
|
|
50592
|
+
* * During the migration, the source instance is in the **Migrating** state, and the destination instance is in the **Importing** state.
|
|
50593
|
+
* * Before you call this operation, make sure that the following requirements are met:
|
|
50594
|
+
* * The source and destination instances must run SQL Server and belong to the dedicated or dedicated host instance family. For more information about the supported instance types, see [Primary instance types](~~26312~~).
|
|
50595
|
+
* * The source and destination instances must be created by using the same user credentials.
|
|
50596
|
+
* * The instance is in the Running state.
|
|
50597
|
+
* * The source and destination databases must be in the Running state.
|
|
50598
|
+
* * The remaining storage of the destination instance must be greater than the storage capacity of the source instance.
|
|
50550
50599
|
* >
|
|
50551
50600
|
* * This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition.
|
|
50552
50601
|
* * You can migrate the data of multiple databases at a time.
|
|
@@ -50604,14 +50653,18 @@ export default class Client extends OpenApi {
|
|
|
50604
50653
|
}
|
|
50605
50654
|
|
|
50606
50655
|
/**
|
|
50656
|
+
* ### [](#)Supported database engine
|
|
50657
|
+
* * SQL Server
|
|
50658
|
+
* ### [](#)Description
|
|
50607
50659
|
* We recommend that you use Data Transmission Service (DTS). DTS provides data migration, subscription, and synchronization features that allow you to establish stable, secure transmission links. For more information, see [DTS API overview](~~49456~~).
|
|
50608
|
-
*
|
|
50609
|
-
*
|
|
50610
|
-
* *
|
|
50611
|
-
*
|
|
50612
|
-
*
|
|
50613
|
-
*
|
|
50614
|
-
*
|
|
50660
|
+
* ### [](#)Precautions
|
|
50661
|
+
* * During the migration, the source instance is in the **Migrating** state, and the destination instance is in the **Importing** state.
|
|
50662
|
+
* * Before you call this operation, make sure that the following requirements are met:
|
|
50663
|
+
* * The source and destination instances must run SQL Server and belong to the dedicated or dedicated host instance family. For more information about the supported instance types, see [Primary instance types](~~26312~~).
|
|
50664
|
+
* * The source and destination instances must be created by using the same user credentials.
|
|
50665
|
+
* * The instance is in the Running state.
|
|
50666
|
+
* * The source and destination databases must be in the Running state.
|
|
50667
|
+
* * The remaining storage of the destination instance must be greater than the storage capacity of the source instance.
|
|
50615
50668
|
* >
|
|
50616
50669
|
* * This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition.
|
|
50617
50670
|
* * You can migrate the data of multiple databases at a time.
|
|
@@ -53602,6 +53655,17 @@ export default class Client extends OpenApi {
|
|
|
53602
53655
|
return await this.modifyDBInstanceTDEWithOptions(request, runtime);
|
|
53603
53656
|
}
|
|
53604
53657
|
|
|
53658
|
+
/**
|
|
53659
|
+
* ### [](#)Supported database engines
|
|
53660
|
+
* * MySQL
|
|
53661
|
+
* ### [](#)References
|
|
53662
|
+
* > Fees are generated if the call is successful. Before you call this operation, carefully read the following topics:
|
|
53663
|
+
* * [Change the specifications of an ApsaraDB RDS for MySQL instance](~~96061~~)
|
|
53664
|
+
*
|
|
53665
|
+
* @param tmpReq ModifyDBNodeRequest
|
|
53666
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
53667
|
+
* @return ModifyDBNodeResponse
|
|
53668
|
+
*/
|
|
53605
53669
|
async modifyDBNodeWithOptions(tmpReq: ModifyDBNodeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBNodeResponse> {
|
|
53606
53670
|
Util.validateModel(tmpReq);
|
|
53607
53671
|
let request = new ModifyDBNodeShrinkRequest({ });
|
|
@@ -53676,6 +53740,16 @@ export default class Client extends OpenApi {
|
|
|
53676
53740
|
return $tea.cast<ModifyDBNodeResponse>(await this.callApi(params, req, runtime), new ModifyDBNodeResponse({}));
|
|
53677
53741
|
}
|
|
53678
53742
|
|
|
53743
|
+
/**
|
|
53744
|
+
* ### [](#)Supported database engines
|
|
53745
|
+
* * MySQL
|
|
53746
|
+
* ### [](#)References
|
|
53747
|
+
* > Fees are generated if the call is successful. Before you call this operation, carefully read the following topics:
|
|
53748
|
+
* * [Change the specifications of an ApsaraDB RDS for MySQL instance](~~96061~~)
|
|
53749
|
+
*
|
|
53750
|
+
* @param request ModifyDBNodeRequest
|
|
53751
|
+
* @return ModifyDBNodeResponse
|
|
53752
|
+
*/
|
|
53679
53753
|
async modifyDBNode(request: ModifyDBNodeRequest): Promise<ModifyDBNodeResponse> {
|
|
53680
53754
|
let runtime = new $Util.RuntimeOptions({ });
|
|
53681
53755
|
return await this.modifyDBNodeWithOptions(request, runtime);
|
|
@@ -56031,8 +56105,7 @@ export default class Client extends OpenApi {
|
|
|
56031
56105
|
}
|
|
56032
56106
|
|
|
56033
56107
|
/**
|
|
56034
|
-
*
|
|
56035
|
-
* A disaster recovery instance is created.
|
|
56108
|
+
* The operation is phased out.
|
|
56036
56109
|
*
|
|
56037
56110
|
* @param request ReceiveDBInstanceRequest
|
|
56038
56111
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -56083,8 +56156,7 @@ export default class Client extends OpenApi {
|
|
|
56083
56156
|
}
|
|
56084
56157
|
|
|
56085
56158
|
/**
|
|
56086
|
-
*
|
|
56087
|
-
* A disaster recovery instance is created.
|
|
56159
|
+
* The operation is phased out.
|
|
56088
56160
|
*
|
|
56089
56161
|
* @param request ReceiveDBInstanceRequest
|
|
56090
56162
|
* @return ReceiveDBInstanceResponse
|
|
@@ -57639,6 +57711,13 @@ export default class Client extends OpenApi {
|
|
|
57639
57711
|
return await this.switchDBInstanceVpcWithOptions(request, runtime);
|
|
57640
57712
|
}
|
|
57641
57713
|
|
|
57714
|
+
/**
|
|
57715
|
+
* This operation is phased out.
|
|
57716
|
+
*
|
|
57717
|
+
* @param request SwitchGuardToMasterInstanceRequest
|
|
57718
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
57719
|
+
* @return SwitchGuardToMasterInstanceResponse
|
|
57720
|
+
*/
|
|
57642
57721
|
async switchGuardToMasterInstanceWithOptions(request: SwitchGuardToMasterInstanceRequest, runtime: $Util.RuntimeOptions): Promise<SwitchGuardToMasterInstanceResponse> {
|
|
57643
57722
|
Util.validateModel(request);
|
|
57644
57723
|
let query = { };
|
|
@@ -57683,6 +57762,12 @@ export default class Client extends OpenApi {
|
|
|
57683
57762
|
return $tea.cast<SwitchGuardToMasterInstanceResponse>(await this.callApi(params, req, runtime), new SwitchGuardToMasterInstanceResponse({}));
|
|
57684
57763
|
}
|
|
57685
57764
|
|
|
57765
|
+
/**
|
|
57766
|
+
* This operation is phased out.
|
|
57767
|
+
*
|
|
57768
|
+
* @param request SwitchGuardToMasterInstanceRequest
|
|
57769
|
+
* @return SwitchGuardToMasterInstanceResponse
|
|
57770
|
+
*/
|
|
57686
57771
|
async switchGuardToMasterInstance(request: SwitchGuardToMasterInstanceRequest): Promise<SwitchGuardToMasterInstanceResponse> {
|
|
57687
57772
|
let runtime = new $Util.RuntimeOptions({ });
|
|
57688
57773
|
return await this.switchGuardToMasterInstanceWithOptions(request, runtime);
|