Mengubah informasi bobot titik akhir instans ApsaraDB RDS Edisi Kluster.
Deskripsi operasi
Mesin yang didukung
RDS MySQL.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rds:ModifyDBInstanceEndpoint |
update |
*DBInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan dan mencegah pengiriman berulang. Nilai parameter ini dihasilkan oleh klien. Nilainya adalah string ASCII dengan panjang maksimal 64 karakter dan tidak boleh mengandung karakter non-ASCII. |
6000170000591aed949d0f**** |
| DBInstanceId |
string |
Yes |
ID instans. Anda dapat memanggil DescribeDBInstances untuk mengkueri ID instans. |
rm-**** |
| DBInstanceEndpointId |
string |
Yes |
ID titik akhir instans. Anda dapat memanggil DescribeDBInstanceEndpoints untuk mengkueri ID titik akhir. |
ep-**** |
| DBInstanceEndpointDescription |
string |
No |
Deskripsi kustom titik akhir. |
for readonly business |
| NodeItems |
array<object> |
No |
Daftar informasi node titik akhir. |
|
|
object |
No |
Detail node. |
||
| DBInstanceId |
string |
No |
ID instans. Anda dapat memanggil DescribeDBInstances untuk mengkueri ID instans. |
rm-**** |
| NodeId |
string |
No |
ID node. Anda dapat mengkueri ID node dengan menggunakan metode berikut:
|
rn-xxxx-**** |
| Weight |
integer |
No |
Bobot node saat ini. Trafik baca didistribusikan berdasarkan nilai ini. Nilai valid: 0 hingga 100. |
50 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| Data |
object |
Bidang yang dikembalikan. |
|
| DBInstanceEndpointId |
string |
ID titik akhir instans. |
ep-**** |
| DBInstanceName |
string |
ID instans. |
rm-**** |
| RequestId |
string |
ID permintaan. |
F2911788-25E8-42E5-A3A3-1B38D263F01E |
Contoh
Respons sukses
JSONformat
{
"Data": {
"DBInstanceEndpointId": "ep-****",
"DBInstanceName": "rm-****"
},
"RequestId": "F2911788-25E8-42E5-A3A3-1B38D263F01E"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidSourceCategory | specified source category is invalid. | The specified source category is invalid. |
| 400 | InvalidDBInstanceConnType.Format | Specified DB instance conn type is not valid. | Operation failed. The current connection type of the database instance does not support this operation. |
| 400 | APICallingFailed | Meta db calling failed. | API call exception. |
| 400 | InvalidNodeItems.JsonFormat | NodeItems is not a json string. | NodeItems must be a JSON string. |
| 400 | EmptyEndpointNodeConfig | Specified endpoint has no nodes, add node to endpoint first. | No nodes are attached to the endpoint. Please add nodes to the endpoint first. |
| 400 | InvalidNodeItems.RONodeIdPrimary | ReadOnly endpoint can not contain primary node. | A read-only endpoint cannot contain a primary node. |
| 400 | Order.ComboInstanceNotAllowOperate | A package instance is not allowed to operate independently. | Package instances are not allowed to be operated independently. |
| 400 | Price.PricingPlanResultNotFound | Pricing plan price result not found. | The pricing plan price result was 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. | You have not passed real-name authentication and do not meet the purchase conditions. Please log in to Billing and Cost to complete real-name authentication. |
| 400 | InsufficientAvailableQuota | Your account quota limit is less than 0, please recharge before trying to purchase. | Your account's available quota is less than 0. Please top up your account before attempting to make a purchase. |
| 400 | CommodityServiceCalling.Exception | Failed to call commodity service. | Failed to call the commodity service. |
| 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. | Dear customer, Alibaba Cloud plans to optimize and adjust the current region. Cloud services in this region will be discontinued. To ensure business continuity and a smooth data migration process, you are currently unable to place new purchase orders. Thank you for your understanding and support. |
| 400 | Commodity.InvalidComponent | The module you purchased is not legal, please buy it again. | The module you purchased is invalid. Please purchase it again. |
| 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. | Dear customer, this region has been decommissioned. |
| 400 | Price.CommoditySys | Commodity system call exception. | Commodity system call exception. |
| 400 | Pay.InsufficientBalance | Insufficient available balance. | Insufficient available balance. |
| 400 | Order.PeriodInvalid | There is a problem with the period you selected, please choose again. | There is a problem with the period you selected. Please select again. |
| 400 | pay.noCreditCard | Account not bound to credit card. | The account is not bound to a credit card. |
| 400 | Order.InstHasUnpaidOrder | There is an unpaid order for the service you have purchased. Please pay or void it before placing the order. | There is an unpaid order for the service you selected. Please pay for or void it before placing the order. |
| 400 | noAvailablePaymentMethod | No payment method is specified for your account. We recommend that you add a payment method. | No payment method is specified for your account. We recommend that you add a payment method. |
| 400 | BasicInfoUncompleted | Your information is incomplete. Complete your information before the operation. | Your basic information is incomplete. Please complete your basic information before performing the operation. |
| 400 | Risk.RiskControlRejection | Your account is abnormal, please contact customer service for details. | Your account is abnormal. Please contact customer service for details. |
| 400 | Api.NotSupport | Specified api is not supported. | The current API is not supported. |
| 400 | ContainForbiddenLabelError | There is a label that prohibits placing orders. Please contact your distributor for assistance. | 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. | The provided DBInstanceId does not exist. |
| 400 | InvalidInstanceLevel.DiskType | Specified instance level not support request disk type | The current instance specification does not support this storage type. |
| 400 | InvalidParam | Sepcified wal level Parameter is invalid. There are still logical slots in instance, so it can not be set as replica. | The specified wal_level parameter is invalid. Replication slots still exist in the instance, so it cannot be set to replica. |
| 400 | KmsApiError | User secret key invalid. | The user secret key is invalid. |
| 400 | System.SaleValidateFailed | Sales expression validation system error. | Sales expression validation system error. |
| 400 | Abs.InvalidAccount.NotFound | account is not found. | The account does not exist. |
| 400 | SqlExecuteFailedOrTimeout | sql command execution failed or timed out:%s. | SQL command execution failed or timed out. |
| 400 | ColdData.EngineVersionNotSupport | The current instance engine version not support coldDataEnabled. | The current instance engine version does not support cold data archiving. |
| 400 | ColdData.MinorVersionNotSupport | The current instance minor version not support coldDataEnabled. | The current kernel version does not support cold data archiving. |
| 400 | IncorrectTargetClasscode | The current instance type does not support this operation. | The current instance specification does not support this operation. |
| 400 | InvalidConnectionString.Duplicate | Specified connection string already exists in the RDS. | The connection address name is duplicated. Please reset the connection string. |
| 400 | RequiredParam.NotFound | Required input param is not found. | Required parameters are not provided. |
| 400 | Parameters.Invalid | Parameter error, please check the parameters. | Parameter error. Please check the parameters. |
| 400 | BackupPolicyNotSupport | Cold Data won't open with CrossBackup or Flash Backup, please check Backup Policy. | Data archiving does not support cross-region backup or flash backup. Please check the backup policy. |
| 400 | InvalideStatus.Format | The instance status does not support this operation. | The instance status does not support this operation. |
| 400 | InvalidReleasedKeepPolicy.Format | Specified Released Keep Policy is not valid. | The archive backup retention policy after instance release is invalid. |
| 400 | InvalidDBInstanceEngineType.Format | the DB instance engine type does not support this operation. | The DB instance engine type does not support this operation. |
| 400 | Pay.NoCreditCard | No credit cards. | No credit card. |
| 400 | VpcNetworkTypeNotSupport | The vpc network type instance does not support this operation. | VPC network type instances do not support this operation. |
| 400 | MirrorInsExists | Specified DB instance mirror ins already existed. | The current database instance mirror already exists. |
| 400 | UnsupportedClassCode | The specified DB instance class stops selling. | The instance specification has been discontinued. |
| 400 | InvalidBackupSet | The specified database does not exist in the backup set. | The specified database does not exist in the backup set. |
| 400 | OrdTCommodityQueryError | Failed to query for product. | Failed to query the product. |
| 400 | ProductInstanceReleased | The instance has been released. Please check before placing the order. | The instance has been released. Please verify before placing the order. |
| 400 | RegionEndTimeDissolvedIndia | The region is no longer supported. | The specified region is invalid. |
| 500 | ExternalFailure | The request processing has failed due to external service failure. | The service request failed. Please try again later. |
| 500 | RequestMetaDataFailed | The service request failed. Please try again later or contact service personnel. | 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. | Request processing failed due to RDS API service failure. |
| 403 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | The current instance status does not support this operation. |
| 403 | OrderStatus.UnPaid | The specified db instance has unpaid order. | The instance currently has an unpaid order. Please pay for it and try again. |
| 403 | InvalidReduceDiskSize | The storage capacity after the scale-down must be larger than the used amount. | The target capacity after scale-down cannot be less than the currently used storage space. |
| 403 | CloudSSDNotSupport | Cloud ssd does not support this operation, please upgrade to essd. | SSD does not support this operation. Please upgrade to ESSD. |
| 403 | InvalidUserOperatorPermission | The user permission does not support this operation. | User permissions do not support this operation. |
| 403 | InvalidVswitchId | Specified conn vswitch id is not valid. | The specified VSwitchId format is invalid or empty. |
| 403 | IncorrectMinorVersion | Current engine minor version does not support operations. | The current engine minor version does not support this operation. |
| 403 | OperationDenied.ZoneResource | There is no available zone for inventory. | There is no available zone for inventory. |
| 403 | NotInFlowController | Sorry,no permission. | Not available for non-group cloud-on users. No permission. |
| 403 | InvalidKmsKey | Kms key is disabled. | The KMS key has been disabled. |
| 403 | InvalidInstanceLevel.Malformed | Current DB instance level does not support this operation. | The current database instance level does not support this operation. |
| 404 | IncorrectDBInstanceLockMode | Current DB instance lock mode does not support this operation. | Operation failed. The instance is in a locked state. |
| 404 | InvalidDBInstanceName.NotFound | Invalid DBInstanceId NotFound. | The database instance ID does not exist. Please check. |
| 404 | Endpoint.NotFound | Specified endpoint is not existed. | The target endpoint does not exist. |
| 404 | InvalidConnectionString.NotFound | Specified connection string or net type is not found. | The connection string does not exist. Please check whether the connection string is correct. |
| 404 | InvalidWeight.Format | The Specified Weight format is not valid. | Invalid weight range. |
| 404 | InvalidDBInstance.NotFound | Specified instance does not exist or not support. | The specified instance does not exist. The specified instance has been deleted, or the instance does not support the current operation. |
| 404 | InvalidClusterKms | The current instance does not authorized to access the Key Management Service. | The current instance is not authorized to access the Key Management Service. |
| 404 | Request.NotFound | The requested resource is not available. | The requested resource is not available. |
| 404 | HostInfo.NotFound | The specified host info is not found. | The specified host information does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.