AttachWhitelistTemplateToInstance_云数据库 RDS_API文档

Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Operation Description

Supported database engines

  • MySQL
  • PostgreSQL
  • SQL Server

Quotas Info

The current API request rate is 100/60(s).

Authorization Information

No permission information is available for the cloud service.

Request Parameters

Field NameField Details
TemplateIdinteger<int32>

The ID of the whitelist template. You can call the DescribeAllWhitelistTemplate operation to obtain the ID of the whitelist template.

Example:412
InsNamestring

The name of the instance.

Example:rm-bp191w771kd3****
RegionIdstring

The region ID. You can call the DescribeRegions operation to query the most recent region list.

Example:cn-hangzhouReference Value Source:
    DescribeRegions
ResourceGroupIdstring

The ID of the resource group. For more information about resource groups, see Resource groups.

Example:rg-acfmy*****Reference Value Source:
    DescribeResourceDetails

Response Parameters

Field NameField Details
Codestring

The response code returned. Valid values:View Details...

Example:200Enumeration Value:
Dataobject

The data returned.

HttpStatusCodeinteger<int32>

The HTTP status code returned. Valid values:View Details...

Example:200Enumeration Value:
Messagestring

The message returned.

Example:success
RequestIdstring

The request ID.

Example:08A3B71B-FE08-4B03-974F-CC7EA6DB1828
Successboolean

Indicates whether the request is successful. Valid values:View Details...

Example:trueEnumeration Value:

Sample Response

Error Codes

Global Error Codes
HTTP Status CodeError CodesError MessageActions
400
InvalidSecurityIPList.QuotaExceeded
Specified security IP list is not valid: Exceeding the allowed amount of IP address in the list.Diagnose
400
InvalidParameterTemplateId
The parameter templateId is invalid.Diagnose
400
InvalidDBInstanceName.TooMuchItems
The number of DB instance Names should be no more than 20.Diagnose
400
Order.ComboInstanceNotAllowOperate
A package instance is not allowed to operate independently.Diagnose
400
Price.PricingPlanResultNotFound
Pricing plan price result not found.Diagnose
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.Diagnose
400
InsufficientAvailableQuota
Your account quota limit is less than 0, please recharge before trying to purchase.Diagnose
400
CommodityServiceCalling.Exception
Failed to call commodity service.Diagnose
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.Diagnose
400
Commodity.InvalidComponent
The module you purchased is not legal, please buy it again.Diagnose
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.Diagnose
400
Price.CommoditySys
Commodity system call exception.Diagnose
400
Pay.InsufficientBalance
Insufficient available balance.Diagnose
400
Order.PeriodInvalid
There is a problem with the period you selected, please choose again.Diagnose
400
pay.noCreditCard
Account not bound to credit card.Diagnose
400
Order.InstHasUnpaidOrder
There is an unpaid order for the service you have purchased. Please pay or void it before placing the order.Diagnose
400
noAvailablePaymentMethod
No payment method is specified for your account. We recommend that you add a payment method.Diagnose
400
BasicInfoUncompleted
Your information is incomplete. Complete your information before the operation.Diagnose
400
Risk.RiskControlRejection
Your account is abnormal, please contact customer service for details.Diagnose
400
Api.NotSupport
Specified api is not supported.Diagnose
400
ContainForbiddenLabelError
There is a label that prohibits placing orders. Please contact your distributor for assistance.Diagnose
400
InvalidDBInstanceId.NotFound
The DBInstanceId provided does not exist in records.Diagnose
400
InvalidInstanceLevel.DiskType
Specified instance level not support request disk typeDiagnose
400
InvalidParam
Sepcified wal level Parameter is invalid. There are still logical slots in instance, so it can not be set as replica.Diagnose
400
KmsApiError
User secret key invalid.Diagnose
400
System.SaleValidateFailed
Sales expression validation system error.Diagnose
400
Abs.InvalidAccount.NotFound
account is not found.Diagnose
400
SqlExecuteFailedOrTimeout
sql command execution failed or timed out:%s.Diagnose
400
ColdData.EngineVersionNotSupport
The current instance engine version not support coldDataEnabled.Diagnose
400
ColdData.MinorVersionNotSupport
The current instance minor version not support coldDataEnabled.Diagnose
400
IncorrectTargetClasscode
The current instance type does not support this operation.Diagnose
400
InvalidConnectionString.Duplicate
Specified connection string already exists in the RDS.Diagnose
400
RequiredParam.NotFound
Required input param is not found.Diagnose
400
Parameters.Invalid
Parameter error, please check the parameters.Diagnose
400
BackupPolicyNotSupport
Cold Data won't open with CrossBackup or Flash Backup, please check Backup Policy.Diagnose
400
InvalideStatus.Format
The instance status does not support this operation.Diagnose
400
InvalidReleasedKeepPolicy.Format
Specified Released Keep Policy is not valid.Diagnose
400
InvalidDBInstanceEngineType.Format
the DB instance engine type does not support this operation.Diagnose
400
Pay.NoCreditCard
No credit cards.Diagnose
400
VpcNetworkTypeNotSupport
The vpc network type instance does not support this operation.Diagnose
400
MirrorInsExists
Specified DB instance mirror ins already existed.Diagnose
400
UnsupportedClassCode
The specified DB instance class stops selling.Diagnose
400
InvalidBackupSet
The specified database does not exist in the backup set.Diagnose
400
OrdTCommodityQueryError
Failed to query for product.Diagnose
400
ProductInstanceReleased
The instance has been released. Please check before placing the order.Diagnose
400
RegionEndTimeDissolvedIndia
The region is no longer supported.Diagnose
401
WhitelistTemplateRelationToCustinsId.EXISTS
Whitelist Template relation to CustinsId exists.Diagnose
401
WhitelistIPLength.Forbidden
Whitelist ip length exceeeds the limit.Diagnose
403
OrderStatus.UnPaid
The specified db instance has unpaid order.Diagnose
403
InvalidReduceDiskSize
The storage capacity after the scale-down must be larger than the used amount.Diagnose
403
CloudSSDNotSupport
Cloud ssd does not support this operation, please upgrade to essd.Diagnose
403
InvalidUserOperatorPermission
The user permission does not support this operation.Diagnose
403
InvalidVswitchId
Specified conn vswitch id is not valid.Diagnose
403
IncorrectMinorVersion
Current engine minor version does not support operations.Diagnose
403
OperationDenied.ZoneResource
There is no available zone for inventory.Diagnose
403
NotInFlowController
Sorry,no permission.Diagnose
403
InvalidKmsKey
Kms key is disabled.Diagnose
403
InvalidInstanceLevel.Malformed
Current DB instance level does not support this operation.Diagnose
404
WhitelistTemplateId.NotFound
Whitelist Template id not found.Diagnose
404
InvalidDBInstanceName.NotFound
Invalid DBInstanceId NotFound.Diagnose
404
InsName.NotFound
InsName not found.Diagnose
404
InvalidClusterKms
The current instance does not authorized to access the Key Management Service.Diagnose
404
Request.NotFound
The requested resource is not available.Diagnose
404
HostInfo.NotFound
The specified host info is not found.Diagnose
500
ExternalFailure
The request processing has failed due to external service failure.Diagnose
500
RequestMetaDataFailed
The service request failed. Please try again later or contact service personnel.Diagnose
500
InvokeProxyFailure
The request processing has failed due to service failure of rds api.Diagnose

Change History

Change timeChange content summaryoperation
2024-04-22
addRequest parameter RegionId
2024-03-15
changeError code 400
2023-11-07
changeError code 404
2023-09-08
changeError code 400
2023-08-17
addRequest parameter ResourceGroupId
  • 1
  • 2
  • 10 / page

Examples