Mengubah instans. Saat ini, hanya mesin PostgreSQL yang didukung.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rds:ModifyDBInstance |
update |
*DBInstance
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
Nama kelompok sumber daya. |
rg-acfmy**** |
| AutoUseCoupon |
boolean |
No |
Apakah akan menggunakan kupon secara otomatis. Nilai valid:
Catatan
Setelah kupon digunakan, jumlah yang dikurangi oleh kupon tidak dikembalikan jika Anda menurunkan spesifikasi instans. |
true |
| PromotionCode |
string |
No |
Kode kupon. |
aliwood-1688-mobile-promotion |
| EffectiveTime |
string |
No |
Pengatur waktu ketika konfigurasi baru berlaku. Nilai valid: Catatan
Mengubah beberapa konfigurasi dapat memengaruhi instans. Baca bagian dampak di dokumentasi fitur sebelum Anda mengonfigurasi parameter ini. Lakukan perubahan selama jam tidak sibuk.
|
Immediate |
| SwitchTime |
string |
No |
Pengatur waktu yang dijadwalkan untuk menjalankan modifikasi parameter. Parameter EffectiveTime harus diatur ke ScheduleTime. format: yyyy-MM-ddTHH:mm:ssZ (UTC). Catatan
Waktu yang ditentukan harus lebih lambat daripada waktu saat ini (waktu saat panggilan dilakukan). |
2019-10-17T18:50:00Z |
| DBInstanceId |
string |
Yes |
ID instans. Anda dapat memanggil DescribeDBInstances untuk mengkueri ID instans. |
pgm-bp15i4hn07r****** |
| DBInstanceClass |
string |
No |
Tipe instans. Untuk informasi selengkapnya, lihat Tipe instans. |
pg.n4.2c.1m |
| DBInstanceStorage |
integer |
No |
Kapasitas penyimpanan target, dalam GB. Anda dapat memanggil operasi DescribeAvailableClasses untuk mengkueri rentang kapasitas penyimpanan yang tersedia untuk tipe instans target. Catatan
|
500 |
| DBInstanceStorageType |
string |
No |
Tipe penyimpanan instans. Nilai valid:
|
cloud_essd |
| Direction |
string |
No |
Tipe perubahan spesifikasi. Nilai valid:
|
Up |
| Category |
string |
No |
Edisi instans. Nilai valid:
|
Standard |
| BurstingEnabled |
boolean |
No |
Apakah akan mengaktifkan fitur I/O burst untuk disk performa premium. Nilai valid:
|
false |
| IoAccelerationEnabled |
string |
No |
Apakah akan mengaktifkan fitur Buffer Pool Extension (BPE) untuk disk performa premium. Nilai valid:
|
0 |
| ColdDataEnabled |
boolean |
No |
Parameter cadangan.. |
true |
| TargetMinorVersion |
string |
No |
Versi minor mesin instans PostgreSQL. Jika Anda mengubah tipe instans dan error menunjukkan bahwa versi minor mesin tidak didukung, tentukan parameter ini untuk Peningkatan versi minor mesin saat mengubah tipe instans. format: |
rds_postgres_1200_20200830 |
| DBNodes |
array<object> |
No |
Informasi node. |
|
|
object |
No |
Informasi node. |
||
| Role |
string |
No |
Tipe node. Nilai valid:
Catatan
Untuk instans Edisi Kluster, Anda dapat mengosongkan parameter ini dan menentukan parameter NodeId untuk mengidentifikasi node. |
Master |
| ZoneId |
string |
No |
ID zona. |
cn-shanghai-e |
| VSwitchId |
string |
No |
ID vSwitch instans. |
vsw-bp1g7uym6ia6yroes6dkm |
| NodeId |
string |
No |
Pengidentifikasi unik node, digunakan untuk menentukan node. Catatan
Parameter ini hanya valid untuk instans Edisi Kluster. |
28542293 |
| Parameters |
object |
No |
Parameter dan nilainya. Semua nilai parameter bertipe STRING. Anda dapat memanggil DescribeParameterTemplates untuk mengkueri nama dan nilai parameter. Catatan
Jika Anda menentukan parameter ParameterGroupId dan parameter ParameterGroupId serta Parameters memodifikasi parameter yang sama, modifikasi yang ditentukan oleh parameter Parameters akan diutamakan. |
|
|
string |
No |
实例参数。 |
authentication_timeout |
|
| ParameterGroupId |
string |
No |
ID template parameter. |
rpg-dp**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| DBInstanceId |
string |
ID instans. Anda dapat memanggil DescribeDBInstances untuk mengkueri ID instans. |
rm-uf6wjk5**** |
| OrderId |
integer |
ID pesanan. |
221172852****** |
| RequestId |
string |
ID permintaan. |
17F57FEE-EA4F-4337-8D2E-9C23CAA63D74 |
Contoh
Respons sukses
JSONformat
{
"DBInstanceId": "rm-uf6wjk5****",
"OrderId": 0,
"RequestId": "17F57FEE-EA4F-4337-8D2E-9C23CAA63D74"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | UnsupportedReduceDiskSize | %s%s | |
| 400 | CannotDecreaseEssdPerfLevel | cannot decrease cloud essd performance level. | |
| 400 | InvalidEssdStorageSize | invalid cloud essd storage size. | |
| 400 | Postpaid.NotSupport | Postpaid not supported. | |
| 400 | InvalidConcurrentOperate | System concurrent operate. | |
| 400 | NotSupportReduceDiskSize | Not support reduce disk size. | |
| 400 | IncorrectStorageType | Incorrect storage type. | |
| 400 | TargetStorageLessThanBottomLine | Target storage less than bottom line | |
| 400 | InstanceHasUnpaidOrder | The specified Instance has unpaid order. | |
| 400 | InsufficientBalance | Open volume paid cloud database. Your account balance is less than 100 RMB. Top-up and try again. | |
| 400 | InvalidDBInstanceClass.NotFound | Specified DB instance class is not found. | |
| 400 | InvalidParameter | The specified parameter "%s" is not valid. | |
| 400 | InvalidAvZone.Format | Specified AvZone is not valid. | |
| 400 | OperationDenied.OrderUnPaid | The operation is not permitted due to the wrong Order status (Unpaid). | |
| 400 | OperationDenied.InvalidStorageSize | The storage size limit is exceeded. | |
| 400 | InsufficientResourceCapacity | The instance cluster does not support this operation. | |
| 400 | InvalidUsedTime | The parameter usedTime is invalid. | |
| 400 | CannotChangeStorageType | Temp upgrade does not support changing storage type. | |
| 400 | TempUpgrade.NotSupport | The instance does not support temp upgrade. | |
| 400 | EngineNotSupported | Engine specified cannot be supported the operation. | |
| 400 | MaxscaleNotSupport | Maxscale not supported | |
| 400 | ADInstanceNotSupportThisOperation | The AD instance is not supported this operation | |
| 400 | BYOKInstanceNotSupportThisOperation | The BYOK instance is not supported this operation | |
| 400 | BYOLInstanceNotSupportThisOperation | The BYOL instance is not supported this operation | |
| 400 | SSLInstanceNotSupportThisOperation | The instance opened SSL, upgrade is not this operation | |
| 400 | TDEInstanceNotSupportThisOperation | The instance opened TDE, this operation is not supported | |
| 400 | InstanceIsSnapshotBackupNotSupportThisOperation | The instance backup method is snapshot backup, this operation is not supported | |
| 400 | InstanceHasReadOnlyInstanceNotSupportThisOperation | The instance has read-only instance or is read-only instance, this operation is not supported | |
| 400 | InvalidTargetStorageType | Can not change storage type when modify instance class or storage. | |
| 400 | InvalidTargetCategory | Specified classcode is not matched with current product type. | |
| 400 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | |
| 400 | BackupReadInstanceModifyNotAllowed | Modify Backup Read Instance Is Not Allowed. | |
| 400 | MinorVersionNotSupport | The current database minor version does not support the operation. | |
| 400 | LX.ARGUMENT.ILLEGAL | 变配,当前实例无有效配置 | |
| 400 | ORD.S.QUERY.PROD.ERROR | An error occurred while querying the ordering information | |
| 400 | InvalidParameter.NotSupportDiskTypeModify | Serverless not support modify disk type! | |
| 400 | InvalidParameters.Malformed | One or more of the request parameters provided are not valid. | |
| 400 | DBInstancePayTypeNotSupport | Current instance PayType not support this operation or the param PayType not match current instance PayType. | |
| 400 | InvalidDBInstanceClass.Offline | The specified instance type is no longer provided. Please specify another instance type. | |
| 400 | IncorrectTargetClasscode | The current instance type does not support this operation. | |
| 400 | InvalidPayType.NotSupported | current instance pay type not support this operation. | |
| 400 | OperationDenied.DurationLimit | The duration between two operations should be greater than specified time. | |
| 400 | ChangeEngineVersionNotSupported | This operation does not support modifying the engine version. | |
| 400 | InvalidDBInstanceStorageType | The specified DBInstanceStorageType is invalid. | |
| 400 | EncryptionInstancesNotSupport | Cloud disk encryption instances that use byok do not support modify to multi tenant. | |
| 400 | Commodity.InvalidComponent | The module you purchased is not legal, please buy it again. | |
| 400 | CommodityServiceCalling.Exception | Failed to call commodity service. | |
| 400 | Pay.InsufficientBalance | Insufficient available balance. | |
| 400 | Price.CommoditySys | Commodity system call exception. | |
| 400 | CurrentInsHasColdDB | The current instance has cold storage db. | |
| 400 | CurrentInsHasColdStorage | Current instance has cold storage. | |
| 400 | InsufficientResourceCapacityCheck | There is insufficient capacity available for the requested instance with precheck. | |
| 400 | InvalidStorageSize.Direction | The specified parameter StorageSize does not meet the updating direction constraint requirements. | |
| 400 | InvalidStorageType.Direction | The specified parameter StorageType does not meet the updating direction constraint requirements. | |
| 400 | EngineNotSupportShrinkStorage | The current engine does not support shrinking storage space. | |
| 400 | InvalidSourceCategory | specified source category is invalid. | |
| 400 | InvalidInstanceLevel.DiskType | Specified instance level not support request disk type | |
| 400 | InvalidRCUValue | scaleMin and scaleMax range is not valid. | |
| 400 | ServiceLinkedRole.NotExist | SLR does not exist, you needs to create SLR first. | |
| 400 | ParamGroupOptionValue.NotSupport | Specified option value unsupported. | |
| 400 | CreateUpgradeOrderBusinessException | The parameter is illegal or empty. | |
| 400 | InvalidReadDBInstanceStorage.Format | Specified Storage is not valid, Read DB Instance storage size must be greater than or equal to primary DB Instance. | |
| 400 | UnsupportedModifyParam | Burst param must be only modified. | |
| 400 | UnsupportedClassCode | The specified DB instance class stops selling. | |
| 400 | InvalidRequestId | The request is copy, check your token. | |
| 400 | UnsupportExtendDisk.NotSupport | Specified DB instance is unsupport extend disk. | |
| 400 | Order.InstHasUnsettledBills | You currently have outstanding bills, please settle them first. | |
| 400 | CheckAllowMajorVersionUpgradeFailed | We have detected that you want to upgrade the version of the instance, but the parameter allowMajorVersionUpgrade is false. If you want to upgrade the version of the instance, please set the parameter allowMajorVersionUpgrade to true. | |
| 400 | IncorrectDBSslStatus | Specified DB SSLStatus does not support this operation. | |
| 400 | UpgradeEngineVersionCannotChangeStorage | Upgrade engine version can not change storage size. | |
| 400 | ReadOnlyInsNotSupported | Instances containing read-only instances do not allow this operation. | |
| 400 | Order.ComboInstanceNotAllowOperate | A package instance is not allowed to operate independently. | |
| 400 | Price.PricingPlanResultNotFound | Pricing plan price result not found. | |
| 400 | Order.NoRealNameAuthentication | You have not passed the real-name authentication and do not meet the purchase conditions. Please log in to the user center for real-name authentication. | |
| 400 | InsufficientAvailableQuota | Your account quota limit is less than 0, please recharge before trying to purchase. | |
| 400 | RegionDissolvedEOM | Dear customer, Alibaba Cloud plans to optimize and adjust the current region. Cloud services in this region will cease operations. You are currently unable to operate new purchase orders. Thank you for your understanding and support. | |
| 400 | RegionEndTimeDissolvedAustralia | Cloud services in the Australia (Sydney) region will be discontinued. Set the validity date to September 30, 2024 or earlier than September 30, 2024. | |
| 400 | Order.PeriodInvalid | There is a problem with the period you selected, please choose again. | |
| 400 | Order.InstHasUnpaidOrder | There is an unpaid order for the service you have purchased. Please pay or void it before placing the order. | |
| 400 | BasicInfoUncompleted | Your information is incomplete. Complete your information before the operation. | |
| 400 | Risk.RiskControlRejection | Your account is abnormal, please contact customer service for details. | |
| 400 | Api.NotSupport | Specified api is not supported. | |
| 400 | ContainForbiddenLabelError | There is a label that prohibits placing orders. Please contact your distributor for assistance. | |
| 400 | InvalidDBInstanceId.NotFound | The DBInstanceId provided does not exist in records. | |
| 400 | InvalidParam | Sepcified wal level Parameter is invalid. There are still logical slots in instance, so it can not be set as replica. | |
| 400 | System.SaleValidateFailed | Sales expression validation system error. | |
| 400 | Abs.InvalidAccount.NotFound | account is not found. | |
| 400 | SqlExecuteFailedOrTimeout | sql command execution failed or timed out:%s. | |
| 400 | ColdData.EngineVersionNotSupport | The current instance engine version not support coldDataEnabled. | |
| 400 | ColdData.MinorVersionNotSupport | The current instance minor version not support coldDataEnabled. | |
| 400 | InvalidConnectionString.Duplicate | Specified connection string already exists in the RDS. | |
| 400 | RequiredParam.NotFound | Required input param is not found. | |
| 400 | Parameters.Invalid | Parameter error, please check the parameters. | |
| 400 | BackupPolicyNotSupport | Cold Data won't open with CrossBackup or Flash Backup, please check Backup Policy. | |
| 400 | InvalidReleasedKeepPolicy.Format | Specified Released Keep Policy is not valid. | |
| 400 | InvalidDBInstanceEngineType.Format | the DB instance engine type does not support this operation. | |
| 400 | VpcNetworkTypeNotSupport | The vpc network type instance does not support this operation. | |
| 400 | MirrorInsExists | Specified DB instance mirror ins already existed. | |
| 400 | InvalidBackupSet | The specified database does not exist in the backup set. | |
| 400 | OrdTCommodityQueryError | Failed to query for product. | |
| 400 | ProductInstanceReleased | The instance has been released. Please check before placing the order. | |
| 400 | RegionEndTimeDissolvedIndia | The region is no longer supported. | |
| 400 | InvalidDBInstanceClass.NotSupport | The target primary db instance class can not lower than the original primary db instance class. | |
| 400 | InvalidPayType.NotSame | All primary and read-only instances should have the same payment type. | |
| 400 | InvalidReadOnlyDBInstanceClass.NotSupport | The target read-only db instance class can not lower than the original read-only db instance class. | |
| 400 | InvalidStorageSize.CannotChange | Can not change storage size in this operation. If you need to change disk type, please change storage size first, and the storage size must meet your target disk type's constraint requirements. | |
| 400 | InvalidStorageSize.ConstraintUnsatisfied | The db instance's storage size dose not meet the constraint requirements of the parameter DBInstanceStorageType. If you still want to change disk type, please change storage size to meet the target disk type's constraint in other operation. | |
| 400 | ReadonlyDBInstanceClassEmpty | The read-only target instance class should not be empty. | |
| 400 | ReadonlyDBInstanceClassNotSame | All readonly db instances should have the same instance class. | |
| 400 | StopService.ModifyDBInstanceSpec | The service has been discontinued and does not permit resizing operations on instances using the classic network. | |
| 400 | InvalidParam.DiskSize | %s. | |
| 400 | InvalidOrder.NotFound | Specified order does not exist in RDS. | |
| 400 | NotFindAvailableVswitch | Secondary zone, no available switch found under the current vpc. | |
| 400 | InvalidStorageType.NotSupport | The current storage type does not support this operation. | |
| 400 | IncorrectReadDBInstanceMemSize | The instance type of read-only instance is too small. | |
| 400 | DBInstanceNotServerless | The dbinstance is not serverless. | |
| 400 | UnSupportDbTypeReduceDiskSize | The current instance does not support scale-in. | |
| 400 | ClassicNetDisabled | The classic network address is currently disabled, and the instance cannot perform configuration changes. | |
| 500 | CallLxSdkFailed | Error calling the order system, please try again later or contact service personnel. | |
| 500 | ExternalFailure | The request processing has failed due to external service failure. | |
| 500 | RequestMetaDataFailed | The service request failed. Please try again later or contact service personnel. | |
| 500 | InvokeProxyFailure | The request processing has failed due to service failure of rds api. | |
| 403 | IncorrectDBInstanceType | The database instance type does not support the operation. | |
| 403 | OperationDenied.NotSupportedBackupMethod | When the storage is larger than 4000 GB, only snapshot backup is supported. | |
| 403 | IncorrectReadDBInstanceDisksize | Read instance disk size must be equal or higher than primary instance. | |
| 403 | BetaServerlessNotSupportThisAction | Beta Serverless Not Support This Feature | |
| 403 | GroupReplicationNotSupport.InvalidEngineVersion | Group Replication requires the instance engine version to be 8.0. | |
| 403 | GroupReplicationNotSupport.InvalidNodeClassCode | Group Replication requires the ClassCode of each node to be consistent. | |
| 403 | GroupReplicationNotSupport.InvalidNodeNum | Group Replication is not supported, the number of nodes must be an odd number greater than or equal to 3. | |
| 403 | GroupReplicationNotSupport.InvalidXengine | Group Replication is not supported because the instance has xengine tables. | |
| 403 | GroupReplicationNotSupport.MemoryTooSmall | Group Replication is not supported because the memory is too small. | |
| 403 | ARMNotSupport | ARM arch does not support this operation. | |
| 403 | HostTypeNotSupport | Host type is inconsistent, please check that the original host type is the same as the target host type. | |
| 403 | CloudSSDNotSupport | Cloud ssd does not support this operation, please upgrade to essd. | |
| 403 | MaxscaleInstanceNotSupport | Instances with maxscale instance do not support this operation. | |
| 403 | ReadInstanceNotSupport | Instances with read-only do not support this operation. | |
| 403 | UnSupportReduceDiskSize | Current instance type does not support reducing disk space. | |
| 403 | CloudboxInstanceNotSupport | Cloud-box instance does not support this operation. | |
| 403 | ReadOnlyInstanceNotSupport | Read-only instance does not support this operation. | |
| 403 | MinorVersionNotSupport | The current database minor version does not support the operation. | |
| 403 | ShrinkCountReachedLimit | Current DB shrink count reached the limit. | |
| 403 | InvalidReduceDiskSize | The storage capacity after the scale-down must be larger than the used amount. | |
| 403 | CloudDiskEncryptionNotSupport | The encryption key is not allowed for general-purpose instance. | |
| 403 | OrderStatus.UnPaid | The specified db instance has unpaid order. | |
| 403 | InvalidUserOperatorPermission | The user permission does not support this operation. | |
| 403 | InvalidVswitchId | Specified conn vswitch id is not valid. | |
| 403 | IncorrectMinorVersion | Current engine minor version does not support operations. | |
| 403 | OperationDenied.ZoneResource | There is no available zone for inventory. | |
| 403 | NotInFlowController | Sorry,no permission. | |
| 403 | InvalidKmsKey | Kms key is disabled. | |
| 403 | InvalidInstanceLevel.Malformed | Current DB instance level does not support this operation. | |
| 403 | UnsupportedByBlueGreenDeployment | Operation prohibited due to blue green deployment. | |
| 403 | UnSupportNonXfsDiskSizeTooLarge | Non xfs disk types do not support upgrading to 60T or above. | |
| 403 | UnsupportedReduceDiskSize.BinlogSpeedTooFast | Binlog generate speed is too fast for disk shrink operation. | |
| 404 | InvalidClusterKms | The current instance does not authorized to access the Key Management Service. | |
| 404 | InvalidParam | The parameter is invalid. | |
| 404 | Request.NotFound | The requested resource is not available. | |
| 404 | HostInfo.NotFound | The specified host info is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.