@alicloud/rds20140815 7.1.2 → 7.1.4
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 +175 -69
- package/dist/client.js +49 -6
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +223 -69
package/dist/client.d.ts
CHANGED
|
@@ -1273,7 +1273,7 @@ export declare class CheckServiceLinkedRoleResponse extends $tea.Model {
|
|
|
1273
1273
|
export declare class CloneDBInstanceRequest extends $tea.Model {
|
|
1274
1274
|
/**
|
|
1275
1275
|
* @remarks
|
|
1276
|
-
* Specifies whether to enable the automatic payment feature. Valid values:
|
|
1276
|
+
* Specifies whether to enable the automatic payment feature for the new instance. Valid values:
|
|
1277
1277
|
*
|
|
1278
1278
|
* 1. **true**: enables the feature. You must make sure that your account balance is sufficient.
|
|
1279
1279
|
* 2. **false**: disables the feature. An unpaid order is generated.
|
|
@@ -1385,15 +1385,16 @@ export declare class CloneDBInstanceRequest extends $tea.Model {
|
|
|
1385
1385
|
DBInstanceStorage?: number;
|
|
1386
1386
|
/**
|
|
1387
1387
|
* @remarks
|
|
1388
|
-
* The storage type of the instance. Valid values:
|
|
1388
|
+
* The storage type of the new instance. Valid values:
|
|
1389
1389
|
*
|
|
1390
|
-
* * **
|
|
1391
|
-
* * **
|
|
1392
|
-
* * **
|
|
1393
|
-
* * **
|
|
1394
|
-
* * **
|
|
1390
|
+
* * **general_essd** (recommend): general Enterprise SSD (ESSD)
|
|
1391
|
+
* * **local_ssd**: local SSD
|
|
1392
|
+
* * **cloud_ssd**: standard SSD
|
|
1393
|
+
* * **cloud_essd**: performance level 1 (PL1) ESSD
|
|
1394
|
+
* * **cloud_essd2**: PL2 ESSD
|
|
1395
|
+
* * **cloud_essd3**: PL3 ESSD
|
|
1395
1396
|
*
|
|
1396
|
-
* >
|
|
1397
|
+
* > Serverless instances support only PL1 ESSDs and general ESSDs.
|
|
1397
1398
|
*
|
|
1398
1399
|
* @example
|
|
1399
1400
|
* cloud_essd
|
|
@@ -1417,7 +1418,7 @@ export declare class CloneDBInstanceRequest extends $tea.Model {
|
|
|
1417
1418
|
dedicatedHostGroupId?: string;
|
|
1418
1419
|
/**
|
|
1419
1420
|
* @remarks
|
|
1420
|
-
* Specifies whether to enable the release protection feature for the instance. Valid values:
|
|
1421
|
+
* Specifies whether to enable the release protection feature for the new instance. Valid values:
|
|
1421
1422
|
*
|
|
1422
1423
|
* * **true**
|
|
1423
1424
|
* * **false** (default)
|
|
@@ -1597,7 +1598,7 @@ export declare class CloneDBInstanceRequest extends $tea.Model {
|
|
|
1597
1598
|
export declare class CloneDBInstanceShrinkRequest extends $tea.Model {
|
|
1598
1599
|
/**
|
|
1599
1600
|
* @remarks
|
|
1600
|
-
* Specifies whether to enable the automatic payment feature. Valid values:
|
|
1601
|
+
* Specifies whether to enable the automatic payment feature for the new instance. Valid values:
|
|
1601
1602
|
*
|
|
1602
1603
|
* 1. **true**: enables the feature. You must make sure that your account balance is sufficient.
|
|
1603
1604
|
* 2. **false**: disables the feature. An unpaid order is generated.
|
|
@@ -1709,15 +1710,16 @@ export declare class CloneDBInstanceShrinkRequest extends $tea.Model {
|
|
|
1709
1710
|
DBInstanceStorage?: number;
|
|
1710
1711
|
/**
|
|
1711
1712
|
* @remarks
|
|
1712
|
-
* The storage type of the instance. Valid values:
|
|
1713
|
+
* The storage type of the new instance. Valid values:
|
|
1713
1714
|
*
|
|
1714
|
-
* * **
|
|
1715
|
-
* * **
|
|
1716
|
-
* * **
|
|
1717
|
-
* * **
|
|
1718
|
-
* * **
|
|
1715
|
+
* * **general_essd** (recommend): general Enterprise SSD (ESSD)
|
|
1716
|
+
* * **local_ssd**: local SSD
|
|
1717
|
+
* * **cloud_ssd**: standard SSD
|
|
1718
|
+
* * **cloud_essd**: performance level 1 (PL1) ESSD
|
|
1719
|
+
* * **cloud_essd2**: PL2 ESSD
|
|
1720
|
+
* * **cloud_essd3**: PL3 ESSD
|
|
1719
1721
|
*
|
|
1720
|
-
* >
|
|
1722
|
+
* > Serverless instances support only PL1 ESSDs and general ESSDs.
|
|
1721
1723
|
*
|
|
1722
1724
|
* @example
|
|
1723
1725
|
* cloud_essd
|
|
@@ -1741,7 +1743,7 @@ export declare class CloneDBInstanceShrinkRequest extends $tea.Model {
|
|
|
1741
1743
|
dedicatedHostGroupId?: string;
|
|
1742
1744
|
/**
|
|
1743
1745
|
* @remarks
|
|
1744
|
-
* Specifies whether to enable the release protection feature for the instance. Valid values:
|
|
1746
|
+
* Specifies whether to enable the release protection feature for the new instance. Valid values:
|
|
1745
1747
|
*
|
|
1746
1748
|
* * **true**
|
|
1747
1749
|
* * **false** (default)
|
|
@@ -2438,6 +2440,7 @@ export declare class CreateAccountRequest extends $tea.Model {
|
|
|
2438
2440
|
* Normal
|
|
2439
2441
|
*/
|
|
2440
2442
|
accountType?: string;
|
|
2443
|
+
checkPolicy?: boolean;
|
|
2441
2444
|
/**
|
|
2442
2445
|
* @remarks
|
|
2443
2446
|
* The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
|
|
@@ -5773,6 +5776,16 @@ export declare class CreateDdrInstanceRequest extends $tea.Model {
|
|
|
5773
5776
|
* local_ssd
|
|
5774
5777
|
*/
|
|
5775
5778
|
DBInstanceStorageType?: string;
|
|
5779
|
+
/**
|
|
5780
|
+
* @remarks
|
|
5781
|
+
* User-defined key ID for cloud disk encryption. Passing this parameter means turning on cloud disk encryption (it cannot be turned off after turning it on), and RoleARN needs to be passed in. You can view the key ID in the key management service console, or create a new key. For more information, see [Creating a Key](https://help.aliyun.com/document_detail/181610.html).
|
|
5782
|
+
*
|
|
5783
|
+
* > - This parameter is only applicable to RDS SQL Server instances.
|
|
5784
|
+
* > - You can also not pass this parameter and only need to pass in RoleARN, which means setting the cloud disk encryption type of the instance to the RDS managed service key (Default Service CMK).
|
|
5785
|
+
*
|
|
5786
|
+
* @example
|
|
5787
|
+
* 749c1df7-****-****-****-****
|
|
5788
|
+
*/
|
|
5776
5789
|
encryptionKey?: string;
|
|
5777
5790
|
/**
|
|
5778
5791
|
* @remarks
|
|
@@ -5896,6 +5909,15 @@ export declare class CreateDdrInstanceRequest extends $tea.Model {
|
|
|
5896
5909
|
* BackupSet
|
|
5897
5910
|
*/
|
|
5898
5911
|
restoreType?: string;
|
|
5912
|
+
/**
|
|
5913
|
+
* @remarks
|
|
5914
|
+
* The global resource descriptor (ARN) of the RDS cloud service account authorized by the primary account to access the KMS permission. You can view the ARN information through the [CheckCloudResourceAuthorized](https://next.api.aliyun.com/document/Rds/2014-08-15/CheckCloudResourceAuthorized) API.
|
|
5915
|
+
*
|
|
5916
|
+
* > This parameter is only available for RDS SQL Server instances.
|
|
5917
|
+
*
|
|
5918
|
+
* @example
|
|
5919
|
+
* acs:ram::1406****:role/aliyunrdsinstanceencryptiondefaultrole
|
|
5920
|
+
*/
|
|
5899
5921
|
roleARN?: string;
|
|
5900
5922
|
/**
|
|
5901
5923
|
* @remarks
|
|
@@ -12428,6 +12450,15 @@ export declare class DescribeBackupPolicyResponseBody extends $tea.Model {
|
|
|
12428
12450
|
* 1
|
|
12429
12451
|
*/
|
|
12430
12452
|
supportVolumeShadowCopy?: number;
|
|
12453
|
+
/**
|
|
12454
|
+
* @remarks
|
|
12455
|
+
* Whether to support 5-minute log backup of SQL Server.
|
|
12456
|
+
* - 0 : Not Support
|
|
12457
|
+
* - 1 : Support
|
|
12458
|
+
*
|
|
12459
|
+
* @example
|
|
12460
|
+
* 0
|
|
12461
|
+
*/
|
|
12431
12462
|
supportsHighFrequencyBackup?: number;
|
|
12432
12463
|
static names(): {
|
|
12433
12464
|
[key: string]: string;
|
|
@@ -20035,7 +20066,7 @@ export declare class DescribeHistoryTasksStatRequest extends $tea.Model {
|
|
|
20035
20066
|
fromExecTime?: number;
|
|
20036
20067
|
/**
|
|
20037
20068
|
* @remarks
|
|
20038
|
-
* The beginning of the time range to query. Specify the time in the ISO 8601 standard in the
|
|
20069
|
+
* The beginning of the time range to query. Specify the time in the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
|
|
20039
20070
|
*
|
|
20040
20071
|
* This parameter is required.
|
|
20041
20072
|
*
|
|
@@ -20117,7 +20148,7 @@ export declare class DescribeHistoryTasksStatRequest extends $tea.Model {
|
|
|
20117
20148
|
toExecTime?: number;
|
|
20118
20149
|
/**
|
|
20119
20150
|
* @remarks
|
|
20120
|
-
* The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
|
|
20151
|
+
* The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
|
|
20121
20152
|
*
|
|
20122
20153
|
* This parameter is required.
|
|
20123
20154
|
*
|
|
@@ -23774,6 +23805,7 @@ export declare class DescribeRCInstanceAttributeResponseBody extends $tea.Model
|
|
|
23774
23805
|
internetMaxBandwidthIn?: number;
|
|
23775
23806
|
internetMaxBandwidthOut?: number;
|
|
23776
23807
|
ioOptimized?: string;
|
|
23808
|
+
keyPairName?: string;
|
|
23777
23809
|
memory?: number;
|
|
23778
23810
|
operationLocks?: DescribeRCInstanceAttributeResponseBodyOperationLocks;
|
|
23779
23811
|
publicIpAddress?: DescribeRCInstanceAttributeResponseBodyPublicIpAddress;
|
|
@@ -26859,7 +26891,7 @@ export declare class DescribeVSwitchesResponseBody extends $tea.Model {
|
|
|
26859
26891
|
totalCount?: number;
|
|
26860
26892
|
/**
|
|
26861
26893
|
* @remarks
|
|
26862
|
-
*
|
|
26894
|
+
* Details of the vSwitches.
|
|
26863
26895
|
*/
|
|
26864
26896
|
vSwitchs?: DescribeVSwitchesResponseBodyVSwitchs[];
|
|
26865
26897
|
static names(): {
|
|
@@ -32007,6 +32039,7 @@ export declare class ModifyDBInstanceSecurityGroupRuleResponse extends $tea.Mode
|
|
|
32007
32039
|
});
|
|
32008
32040
|
}
|
|
32009
32041
|
export declare class ModifyDBInstanceSpecRequest extends $tea.Model {
|
|
32042
|
+
allowMajorVersionUpgrade?: boolean;
|
|
32010
32043
|
/**
|
|
32011
32044
|
* @remarks
|
|
32012
32045
|
* Specifies whether to use vouchers to offset fees. Valid values:
|
|
@@ -32242,6 +32275,7 @@ export declare class ModifyDBInstanceSpecRequest extends $tea.Model {
|
|
|
32242
32275
|
* 3
|
|
32243
32276
|
*/
|
|
32244
32277
|
usedTime?: number;
|
|
32278
|
+
vSwitchId?: string;
|
|
32245
32279
|
/**
|
|
32246
32280
|
* @remarks
|
|
32247
32281
|
* The RDS edition of the instance. Valid values:
|
|
@@ -32257,6 +32291,7 @@ export declare class ModifyDBInstanceSpecRequest extends $tea.Model {
|
|
|
32257
32291
|
* cn-hangzhou-b
|
|
32258
32292
|
*/
|
|
32259
32293
|
zoneId?: string;
|
|
32294
|
+
zoneIdSlave1?: string;
|
|
32260
32295
|
static names(): {
|
|
32261
32296
|
[key: string]: string;
|
|
32262
32297
|
};
|
|
@@ -32268,6 +32303,7 @@ export declare class ModifyDBInstanceSpecRequest extends $tea.Model {
|
|
|
32268
32303
|
});
|
|
32269
32304
|
}
|
|
32270
32305
|
export declare class ModifyDBInstanceSpecShrinkRequest extends $tea.Model {
|
|
32306
|
+
allowMajorVersionUpgrade?: boolean;
|
|
32271
32307
|
/**
|
|
32272
32308
|
* @remarks
|
|
32273
32309
|
* Specifies whether to use vouchers to offset fees. Valid values:
|
|
@@ -32503,6 +32539,7 @@ export declare class ModifyDBInstanceSpecShrinkRequest extends $tea.Model {
|
|
|
32503
32539
|
* 3
|
|
32504
32540
|
*/
|
|
32505
32541
|
usedTime?: number;
|
|
32542
|
+
vSwitchId?: string;
|
|
32506
32543
|
/**
|
|
32507
32544
|
* @remarks
|
|
32508
32545
|
* The RDS edition of the instance. Valid values:
|
|
@@ -32518,6 +32555,7 @@ export declare class ModifyDBInstanceSpecShrinkRequest extends $tea.Model {
|
|
|
32518
32555
|
* cn-hangzhou-b
|
|
32519
32556
|
*/
|
|
32520
32557
|
zoneId?: string;
|
|
32558
|
+
zoneIdSlave1?: string;
|
|
32521
32559
|
static names(): {
|
|
32522
32560
|
[key: string]: string;
|
|
32523
32561
|
};
|
|
@@ -38428,6 +38466,7 @@ export declare class RunRCInstancesRequest extends $tea.Model {
|
|
|
38428
38466
|
dataDisk?: RunRCInstancesRequestDataDisk[];
|
|
38429
38467
|
deploymentSetId?: string;
|
|
38430
38468
|
description?: string;
|
|
38469
|
+
dryRun?: boolean;
|
|
38431
38470
|
imageId?: string;
|
|
38432
38471
|
instanceChargeType?: string;
|
|
38433
38472
|
instanceName?: string;
|
|
@@ -38479,6 +38518,7 @@ export declare class RunRCInstancesShrinkRequest extends $tea.Model {
|
|
|
38479
38518
|
dataDiskShrink?: string;
|
|
38480
38519
|
deploymentSetId?: string;
|
|
38481
38520
|
description?: string;
|
|
38521
|
+
dryRun?: boolean;
|
|
38482
38522
|
imageId?: string;
|
|
38483
38523
|
instanceChargeType?: string;
|
|
38484
38524
|
instanceName?: string;
|
|
@@ -40168,12 +40208,12 @@ export declare class UpgradeDBInstanceKernelVersionResponse extends $tea.Model {
|
|
|
40168
40208
|
export declare class UpgradeDBInstanceMajorVersionRequest extends $tea.Model {
|
|
40169
40209
|
/**
|
|
40170
40210
|
* @remarks
|
|
40171
|
-
*
|
|
40211
|
+
* Specify the point in time at which the system collects the statistics of the instance.
|
|
40172
40212
|
*
|
|
40173
|
-
* * Before
|
|
40174
|
-
* * After
|
|
40213
|
+
* * **Before**: The system collects the statistics of the instance before the switchover to ensure service stability. If the instance contains a large amount of data, the upgrade may require a long period of time.
|
|
40214
|
+
* * **After**: The system collects the statistics of the instance after the switchover to accelerate the upgrade. After the upgrade, if you access tables for which no statistics are generated, the query plans may be inaccurate, and your database service may be unavailable during peak hours.
|
|
40175
40215
|
*
|
|
40176
|
-
* >
|
|
40216
|
+
* > If you set the SwitchOver parameter to false, the value Before specifies that the system collects the statistics of the instance before the instance starts to process read and write requests, and the value After specifies that the system collects the statistics of the instance after the instance starts to process read and write requests.
|
|
40177
40217
|
*
|
|
40178
40218
|
* @example
|
|
40179
40219
|
* After
|
|
@@ -40181,11 +40221,11 @@ export declare class UpgradeDBInstanceMajorVersionRequest extends $tea.Model {
|
|
|
40181
40221
|
collectStatMode?: string;
|
|
40182
40222
|
/**
|
|
40183
40223
|
* @remarks
|
|
40184
|
-
* The instance type of the
|
|
40224
|
+
* The new instance type of the instance. The new CPU and memory specifications of the instance must be higher than or equal to the original CPU and memory specifications. If you set the **UpgradeMode** parameter to **inPlaceUpgrade**, you **do not need to configure** this parameter.
|
|
40185
40225
|
*
|
|
40186
|
-
* For example,
|
|
40226
|
+
* For example, you can upgrade the instance type from `pg.n2.small.2c` to `pg.n2.medium.2c`. The pg.n2.small.2c instance type provides 1 CPU core and 2 GB of memory. The pg.n2.medium.2c instance type provides 2 CPU cores and 4 GB of memory.
|
|
40187
40227
|
*
|
|
40188
|
-
* >
|
|
40228
|
+
* > For more information about the instance types of ApsaraDB RDS for PostgreSQL instances, see [Instance types for primary ApsaraDB RDS for PostgreSQL instances](https://help.aliyun.com/document_detail/276990.html).
|
|
40189
40229
|
*
|
|
40190
40230
|
* @example
|
|
40191
40231
|
* pg.n2.medium.2c
|
|
@@ -40201,17 +40241,16 @@ export declare class UpgradeDBInstanceMajorVersionRequest extends $tea.Model {
|
|
|
40201
40241
|
DBInstanceId?: string;
|
|
40202
40242
|
/**
|
|
40203
40243
|
* @remarks
|
|
40204
|
-
* The storage capacity of the
|
|
40205
|
-
*
|
|
40206
|
-
* Unit: GB
|
|
40244
|
+
* The new storage capacity of the instance. Unit: GB If you set the **UpgradeMode** parameter to **inPlaceUpgrade**, you **do not need to configure** this parameter.
|
|
40207
40245
|
*
|
|
40208
40246
|
* Valid values:
|
|
40209
40247
|
*
|
|
40210
|
-
* *
|
|
40211
|
-
* *
|
|
40212
|
-
* *
|
|
40248
|
+
* * **PL1 ESSD**: 20 GB to 32,000 GB
|
|
40249
|
+
* * **PL2 ESSD**: 500 GB to 3,200 GB
|
|
40250
|
+
* * **PL3 ESSD**: 1,500 GB to 3,200 GB
|
|
40251
|
+
* * **General ESSD**: 40 GB to 2,000 GB
|
|
40213
40252
|
*
|
|
40214
|
-
* >
|
|
40253
|
+
* > If the original instance uses local disks, you can reduce the storage capacity of the instance when you upgrade the major engine version of the instance. For more information about the minimum storage capacity, see [Upgrade the major engine version](https://help.aliyun.com/document_detail/203309.html).
|
|
40215
40254
|
*
|
|
40216
40255
|
* @example
|
|
40217
40256
|
* 20
|
|
@@ -40219,20 +40258,21 @@ export declare class UpgradeDBInstanceMajorVersionRequest extends $tea.Model {
|
|
|
40219
40258
|
DBInstanceStorage?: number;
|
|
40220
40259
|
/**
|
|
40221
40260
|
* @remarks
|
|
40222
|
-
* The storage type of the
|
|
40261
|
+
* The storage type of the instance that runs the required major engine version.
|
|
40223
40262
|
*
|
|
40224
40263
|
* Valid values:
|
|
40225
40264
|
*
|
|
40226
|
-
* * cloud_ssd
|
|
40227
|
-
* * cloud_essd
|
|
40228
|
-
* * cloud_essd2
|
|
40229
|
-
* * cloud_essd3
|
|
40265
|
+
* * **cloud_ssd**: standard SSD
|
|
40266
|
+
* * **cloud_essd**: performance level 1 (PL1) Enterprise SSD (ESSD)
|
|
40267
|
+
* * **cloud_essd2**: PL2 ESSD
|
|
40268
|
+
* * **cloud_essd3**: PL3 ESSD
|
|
40269
|
+
* * **general_essd**: general ESSD
|
|
40230
40270
|
*
|
|
40231
|
-
* The major engine version upgrade feature is based on cloud
|
|
40271
|
+
* The major engine version upgrade feature is developed based on snapshots for cloud disks. You can select a storage type after the upgrade based on the following items:
|
|
40232
40272
|
*
|
|
40233
|
-
* * If the original instance uses standard SSDs,
|
|
40234
|
-
* * If the original instance uses ESSDs,
|
|
40235
|
-
* * If the original instance uses local
|
|
40273
|
+
* * If the original instance uses standard SSDs, set this parameter to cloud_ssd.
|
|
40274
|
+
* * If the original instance uses ESSDs, set this parameter to cloud_essd, cloud_essd2, cloud_essd3, or general_essd.
|
|
40275
|
+
* * If the original instance uses local SSDs, set this parameter to cloud_essd, cloud_essd2, cloud_essd3, or general_essd.
|
|
40236
40276
|
*
|
|
40237
40277
|
* @example
|
|
40238
40278
|
* cloud_essd
|
|
@@ -40279,20 +40319,25 @@ export declare class UpgradeDBInstanceMajorVersionRequest extends $tea.Model {
|
|
|
40279
40319
|
resourceOwnerId?: number;
|
|
40280
40320
|
/**
|
|
40281
40321
|
* @remarks
|
|
40282
|
-
* Specifies whether
|
|
40322
|
+
* Specifies whether to switch your workloads over to the instance that runs the required major engine version based on your business requirements.
|
|
40283
40323
|
*
|
|
40284
40324
|
* Valid values:
|
|
40285
40325
|
*
|
|
40286
|
-
* * true
|
|
40287
|
-
* * false
|
|
40326
|
+
* * **true**: The system automatically switches workloads over to the instance. This configuration method is used to perform an upgrade after you verify that the new major engine version is compatible with your workloads.
|
|
40327
|
+
* * **false**: The system does not automatically switch your workloads over to the instance. In most cases, this configuration method is used to test whether the new major engine version is compatible with your workloads before you perform the upgrade.
|
|
40328
|
+
*
|
|
40329
|
+
* >
|
|
40330
|
+
*
|
|
40331
|
+
* * If you set this parameter to true, you must take note of the following items:
|
|
40332
|
+
*
|
|
40333
|
+
* * After the switchover is complete, you cannot roll your workloads back to the original instance. Proceed with caution.
|
|
40334
|
+
* * During the switchover, the original instance processes only read requests. We recommend that you perform the switchover during off-peak hours.
|
|
40335
|
+
* * If read-only instances are attached to the original instance, you can set this parameter only to false. In this case, the read-only instances that are attached to the original instance cannot be cloned. After the upgrade is complete, you must create read-only instances for the instance.
|
|
40336
|
+
*
|
|
40337
|
+
* * If you set this parameter to false, you must take note of the following items:
|
|
40288
40338
|
*
|
|
40289
|
-
*
|
|
40290
|
-
*
|
|
40291
|
-
* > * During the switchover, the original instance processes only read requests. We recommend that you perform the switchover during off-peak hours.
|
|
40292
|
-
* > * If read-only instances are attached to the original instance, you can set this parameter only to false. In this case, the read-only instances that are attached to the original instance cannot be cloned. After the upgrade is complete, you must create read-only instances for the new instance.
|
|
40293
|
-
* > * If you set this parameter to false, you must take note of the following information:
|
|
40294
|
-
* > * The data migration does not interrupt your workloads on the original instance.
|
|
40295
|
-
* > * After data is migrated to the new instance, you must update the endpoint configuration on your application. This update requires you to replace the endpoint of the original instance with the endpoint of the new instance. For more information about how to view the endpoint of an instance, see [View and change the internal and public endpoints and port numbers of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/96788.html).
|
|
40339
|
+
* * The data migration does not interrupt your workloads on the original instance.
|
|
40340
|
+
* * After data is migrated to the instance that runs the required major engine version, you must update the endpoint configuration in your application. This update requires you to replace the endpoint of the original instance with the endpoint of the instance that runs the required major engine version. For more information about how to view the endpoint of an instance, see [Viewing and change of the internal and public endpoints and port numbers](https://help.aliyun.com/document_detail/96788.html).
|
|
40296
40341
|
*
|
|
40297
40342
|
* @example
|
|
40298
40343
|
* false
|
|
@@ -40308,12 +40353,12 @@ export declare class UpgradeDBInstanceMajorVersionRequest extends $tea.Model {
|
|
|
40308
40353
|
switchTime?: string;
|
|
40309
40354
|
/**
|
|
40310
40355
|
* @remarks
|
|
40311
|
-
* The
|
|
40356
|
+
* The point in time at which the workloads are switched over. This parameter is used together with the SwitchOver parameter. This parameter is available only when you set the **SwitchOver** parameter to **true**.
|
|
40312
40357
|
*
|
|
40313
40358
|
* Valid values:
|
|
40314
40359
|
*
|
|
40315
|
-
* * Immediate
|
|
40316
|
-
* * MaintainTime
|
|
40360
|
+
* * **Immediate**: The workloads are immediately switched over.
|
|
40361
|
+
* * **MaintainTime**: The workloads are switched over within the maintenance window that you specify. You can call the ModifyDBInstanceMaintainTime operation to change the maintenance window of an instance.
|
|
40317
40362
|
*
|
|
40318
40363
|
* @example
|
|
40319
40364
|
* Immediate
|
|
@@ -40329,6 +40374,16 @@ export declare class UpgradeDBInstanceMajorVersionRequest extends $tea.Model {
|
|
|
40329
40374
|
* 13.0
|
|
40330
40375
|
*/
|
|
40331
40376
|
targetMajorVersion?: string;
|
|
40377
|
+
/**
|
|
40378
|
+
* @remarks
|
|
40379
|
+
* The upgrade mode. This parameter is required when you set the **SwitchOver** parameter to **true**. Valid values:
|
|
40380
|
+
*
|
|
40381
|
+
* * **inPlaceUpgrade**: local upgrade. The major engine version upgrade is performed on the original instance, and no new instance is created. After the upgrade, the original instance runs the required major engine version and inherits the original orders, name, tags, alert rules in CloudMonitor, and backup settings.
|
|
40382
|
+
* * **blueGreenDeployment**: blue-green deployment. After the major engine version of the instance is upgraded, the original instance is retained and a new instance is created. Fees are generated for the new instance based on the billing method that you specified. However, no fees are generated for the creation of the new instance. After the upgrade is complete, fees are generated for both the original and new instances and the new instance cannot enjoy the discounts provided for the original instance.
|
|
40383
|
+
*
|
|
40384
|
+
* @example
|
|
40385
|
+
* inPlaceUpgrade
|
|
40386
|
+
*/
|
|
40332
40387
|
upgradeMode?: string;
|
|
40333
40388
|
/**
|
|
40334
40389
|
* @remarks
|
|
@@ -40340,7 +40395,9 @@ export declare class UpgradeDBInstanceMajorVersionRequest extends $tea.Model {
|
|
|
40340
40395
|
usedTime?: string;
|
|
40341
40396
|
/**
|
|
40342
40397
|
* @remarks
|
|
40343
|
-
* The VPC ID.
|
|
40398
|
+
* The virtual private cloud (VPC) ID of the instance. If you set the **UpgradeMode** parameter to **inPlaceUpgrade**, you **do not need to configure** this parameter.
|
|
40399
|
+
*
|
|
40400
|
+
* You can call the DescribeDBInstanceAttribute operation to query the VPC ID of the original instance.
|
|
40344
40401
|
*
|
|
40345
40402
|
* @example
|
|
40346
40403
|
* vpc-bp1opxu1zkhn00gzv****
|
|
@@ -40348,8 +40405,10 @@ export declare class UpgradeDBInstanceMajorVersionRequest extends $tea.Model {
|
|
|
40348
40405
|
VPCId?: string;
|
|
40349
40406
|
/**
|
|
40350
40407
|
* @remarks
|
|
40351
|
-
*
|
|
40352
|
-
*
|
|
40408
|
+
* The vSwitch ID of the instance that runs the required major engine version. If you set the **UpgradeMode** parameter to **inPlaceUpgrade**, you **do not need to configure** this parameter.
|
|
40409
|
+
*
|
|
40410
|
+
* * If the original instance runs RDS Basic Edition, configure the vSwitch ID for the instance that runs the required major engine version.
|
|
40411
|
+
* * If the original instance runs RDS High-availability Edition, configure the vSwitch IDs for the instance that runs the required major engine version and its secondary instance. Separate the vSwitch IDs with commas (,).
|
|
40353
40412
|
*
|
|
40354
40413
|
* > The vSwitches that you specify must reside in the same zone as the original instance. You can call the DescribeVSwitches operation to query the vSwitch IDs.
|
|
40355
40414
|
*
|
|
@@ -40359,7 +40418,9 @@ export declare class UpgradeDBInstanceMajorVersionRequest extends $tea.Model {
|
|
|
40359
40418
|
vSwitchId?: string;
|
|
40360
40419
|
/**
|
|
40361
40420
|
* @remarks
|
|
40362
|
-
* The ID of the zone to which the
|
|
40421
|
+
* The ID of the zone to which the primary instance that runs the required major engine version belongs. If you set the **UpgradeMode** parameter to **inPlaceUpgrade**, you **do not need to configure** this parameter.
|
|
40422
|
+
*
|
|
40423
|
+
* You can call the DescribeRegions operation to query zone IDs.
|
|
40363
40424
|
*
|
|
40364
40425
|
* You can select a zone that belongs to the region in which the original instance resides.
|
|
40365
40426
|
*
|
|
@@ -40369,7 +40430,7 @@ export declare class UpgradeDBInstanceMajorVersionRequest extends $tea.Model {
|
|
|
40369
40430
|
zoneId?: string;
|
|
40370
40431
|
/**
|
|
40371
40432
|
* @remarks
|
|
40372
|
-
* The ID of the zone to which the
|
|
40433
|
+
* The ID of the zone to which the secondary instance runs the required major engine version belongs. This parameter is available only when the original instance runs RDS High-availability Edition. If you set the **UpgradeMode** parameter to **inPlaceUpgrade**, you **do not need to configure** this parameter.
|
|
40373
40434
|
*
|
|
40374
40435
|
* You can select a zone that belongs to the region in which the original instance resides.
|
|
40375
40436
|
*
|
|
@@ -41869,6 +41930,7 @@ export declare class DescribeAccountsResponseBodyAccountsDBInstanceAccount exten
|
|
|
41869
41930
|
* f
|
|
41870
41931
|
*/
|
|
41871
41932
|
bypassRLS?: string;
|
|
41933
|
+
checkPolicy?: boolean;
|
|
41872
41934
|
/**
|
|
41873
41935
|
* @remarks
|
|
41874
41936
|
* Indicates whether the account has the permissions to create databases. Valid values:
|
|
@@ -41908,6 +41970,7 @@ export declare class DescribeAccountsResponseBodyAccountsDBInstanceAccount exten
|
|
|
41908
41970
|
* The details about the permissions that are granted to the account.
|
|
41909
41971
|
*/
|
|
41910
41972
|
databasePrivileges?: DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivileges;
|
|
41973
|
+
passwordExpireTime?: string;
|
|
41911
41974
|
/**
|
|
41912
41975
|
* @remarks
|
|
41913
41976
|
* Indicates whether the number of databases that are managed by the account exceeds the upper limit. Valid values:
|
|
@@ -44405,6 +44468,15 @@ export declare class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttri
|
|
|
44405
44468
|
});
|
|
44406
44469
|
}
|
|
44407
44470
|
export declare class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeExtra extends $tea.Model {
|
|
44471
|
+
/**
|
|
44472
|
+
* @remarks
|
|
44473
|
+
* Instance account group policy.
|
|
44474
|
+
* - MaximumPasswordAge: Maximum usage time
|
|
44475
|
+
* - MinimumPasswordAge: Minimum usage time
|
|
44476
|
+
*
|
|
44477
|
+
* @example
|
|
44478
|
+
* {"MaximumPasswordAge": 42,"MinimumPasswordAge": 30}
|
|
44479
|
+
*/
|
|
44408
44480
|
accountSecurityPolicy?: string;
|
|
44409
44481
|
/**
|
|
44410
44482
|
* @remarks
|
|
@@ -44841,7 +44913,21 @@ export declare class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttri
|
|
|
44841
44913
|
* true
|
|
44842
44914
|
*/
|
|
44843
44915
|
deletionProtection?: boolean;
|
|
44916
|
+
/**
|
|
44917
|
+
* @remarks
|
|
44918
|
+
* Disaster recovery source instance information.
|
|
44919
|
+
*
|
|
44920
|
+
* @example
|
|
44921
|
+
* {"replicatorAccount": "******","sourcePort":******,"sourceAddress": "pgm-2ze******","sourceCategory": "aliyunRDS","sourceInstanceRegionId": "cn-******","replicatorPassword": "******","sourceInstanceName": "pgm-2ze******"}
|
|
44922
|
+
*/
|
|
44844
44923
|
disasterRecoveryInfo?: string;
|
|
44924
|
+
/**
|
|
44925
|
+
* @remarks
|
|
44926
|
+
* All disaster recovery instances of the current instance.
|
|
44927
|
+
*
|
|
44928
|
+
* @example
|
|
44929
|
+
* [{"regionId":"cn-******","insName":"pgm-2ze******"},{"regionId":"cn-******","insName":"pgm-2ze******"}]
|
|
44930
|
+
*/
|
|
44845
44931
|
disasterRecoveryInstances?: string;
|
|
44846
44932
|
/**
|
|
44847
44933
|
* @remarks
|
|
@@ -52288,6 +52374,16 @@ export declare class DescribePostgresExtensionsResponseBodyInstalledExtensions e
|
|
|
52288
52374
|
* {dblink,plpgsql}
|
|
52289
52375
|
*/
|
|
52290
52376
|
requires?: string;
|
|
52377
|
+
/**
|
|
52378
|
+
* @remarks
|
|
52379
|
+
* Alibaba Cloud account ID.
|
|
52380
|
+
*
|
|
52381
|
+
* > Only exclusive plug-ins (plug-ins written by users) will return this parameter. Each Alibaba Cloud account only displays its own exclusive plug-ins.
|
|
52382
|
+
*
|
|
52383
|
+
* @example
|
|
52384
|
+
* 181578148294****
|
|
52385
|
+
*/
|
|
52386
|
+
uid?: string;
|
|
52291
52387
|
static names(): {
|
|
52292
52388
|
[key: string]: string;
|
|
52293
52389
|
};
|
|
@@ -52363,6 +52459,16 @@ export declare class DescribePostgresExtensionsResponseBodyUninstalledExtensions
|
|
|
52363
52459
|
* {dblink,plpgsql}
|
|
52364
52460
|
*/
|
|
52365
52461
|
requires?: string;
|
|
52462
|
+
/**
|
|
52463
|
+
* @remarks
|
|
52464
|
+
* Alibaba Cloud account ID.
|
|
52465
|
+
*
|
|
52466
|
+
* > Only exclusive plug-ins (plug-ins written by users) will return this parameter. Each Alibaba Cloud account only displays its own exclusive plug-ins.
|
|
52467
|
+
*
|
|
52468
|
+
* @example
|
|
52469
|
+
* 181578148294****
|
|
52470
|
+
*/
|
|
52471
|
+
uid?: string;
|
|
52366
52472
|
static names(): {
|
|
52367
52473
|
[key: string]: string;
|
|
52368
52474
|
};
|
|
@@ -55264,7 +55370,7 @@ export declare class DescribeVSwitchesResponseBodyVSwitchs extends $tea.Model {
|
|
|
55264
55370
|
* The description of the vSwitch.
|
|
55265
55371
|
*
|
|
55266
55372
|
* @example
|
|
55267
|
-
*
|
|
55373
|
+
* vSwitchDescription
|
|
55268
55374
|
*/
|
|
55269
55375
|
description?: string;
|
|
55270
55376
|
/**
|
|
@@ -60747,7 +60853,7 @@ export default class Client extends OpenApi {
|
|
|
60747
60853
|
*/
|
|
60748
60854
|
describeHistoryTasks(request: DescribeHistoryTasksRequest): Promise<DescribeHistoryTasksResponse>;
|
|
60749
60855
|
/**
|
|
60750
|
-
*
|
|
60856
|
+
* Collects tasks in the task center.
|
|
60751
60857
|
*
|
|
60752
60858
|
* @param request - DescribeHistoryTasksStatRequest
|
|
60753
60859
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -60755,7 +60861,7 @@ export default class Client extends OpenApi {
|
|
|
60755
60861
|
*/
|
|
60756
60862
|
describeHistoryTasksStatWithOptions(request: DescribeHistoryTasksStatRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHistoryTasksStatResponse>;
|
|
60757
60863
|
/**
|
|
60758
|
-
*
|
|
60864
|
+
* Collects tasks in the task center.
|
|
60759
60865
|
*
|
|
60760
60866
|
* @param request - DescribeHistoryTasksStatRequest
|
|
60761
60867
|
* @returns DescribeHistoryTasksStatResponse
|
|
@@ -61581,7 +61687,7 @@ export default class Client extends OpenApi {
|
|
|
61581
61687
|
*/
|
|
61582
61688
|
describeRegionInfos(request: DescribeRegionInfosRequest): Promise<DescribeRegionInfosResponse>;
|
|
61583
61689
|
/**
|
|
61584
|
-
* Queries the details of
|
|
61690
|
+
* Queries the details of all regions and zones for ApsaraDB RDS. The regions that are no longer supported are also queried. Exercise caution when you call this operation.
|
|
61585
61691
|
*
|
|
61586
61692
|
* @remarks
|
|
61587
61693
|
* ### [](#)Supported database engines
|
|
@@ -61596,7 +61702,7 @@ export default class Client extends OpenApi {
|
|
|
61596
61702
|
*/
|
|
61597
61703
|
describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse>;
|
|
61598
61704
|
/**
|
|
61599
|
-
* Queries the details of
|
|
61705
|
+
* Queries the details of all regions and zones for ApsaraDB RDS. The regions that are no longer supported are also queried. Exercise caution when you call this operation.
|
|
61600
61706
|
*
|
|
61601
61707
|
* @remarks
|
|
61602
61708
|
* ### [](#)Supported database engines
|
|
@@ -62159,7 +62265,7 @@ export default class Client extends OpenApi {
|
|
|
62159
62265
|
*/
|
|
62160
62266
|
describeUpgradeMajorVersionTasks(request: DescribeUpgradeMajorVersionTasksRequest): Promise<DescribeUpgradeMajorVersionTasksResponse>;
|
|
62161
62267
|
/**
|
|
62162
|
-
* Queries the details of
|
|
62268
|
+
* Queries the details of vSwitch that are available in a virtual private cloud (VPC).
|
|
62163
62269
|
*
|
|
62164
62270
|
* @remarks
|
|
62165
62271
|
* ### Supported database engines
|
|
@@ -62174,7 +62280,7 @@ export default class Client extends OpenApi {
|
|
|
62174
62280
|
*/
|
|
62175
62281
|
describeVSwitchesWithOptions(request: DescribeVSwitchesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVSwitchesResponse>;
|
|
62176
62282
|
/**
|
|
62177
|
-
* Queries the details of
|
|
62283
|
+
* Queries the details of vSwitch that are available in a virtual private cloud (VPC).
|
|
62178
62284
|
*
|
|
62179
62285
|
* @remarks
|
|
62180
62286
|
* ### Supported database engines
|