Replicates the databases of an ApsaraDB RDS instance that runs SQL Server 2008 R2 to another instance.
Operation Description
This operation is phased out.
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
rds:CopyDatabase | WRITE |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|
The current API does not require request parameters
Response parameters
Examples
Sample success responses
JSON
format
{
"DBName": "test02",
"TaskId": "2562****",
"DBStatus": " Creating",
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidDBName.Format | Specified DB name is not valid. | The database name is invalid. Specify a valid name. The name can be up to 16 characters in length and can contain lowercase letters, digits, and underscores (_). The name must start with a lowercase letter and end with a lowercase letter or a digit. |
400 | InvalidDBName.Forbid | Specified DB name is a keyword in RDS. | Failed to specify the database name. The database name cannot contain the forbidden keyword DBName. Modify the database name. |
400 | InvalidDBName.Duplicate | Specified DB name already exists in the This instance. | A database with the same name has been created on the RDS instance. Specify a different name. |
400 | InvalidAccountName.Format | Specified account name is not valid. | The username is invalid. |
400 | InvalidAccountName.Forbid | Specified account name is a keyword in RDS. | The username is invalid. Forbidden keywords cannot be used for a username. Modify the username. |
400 | InvalidCharacterSetName.Format | Specified character set name is not valid. | The character set is invalid. ApsaraDB RDS supports the following character sets: gbk, utf8, euckr, and ascii. |
400 | InvalidAccountPrivilege.Malformed | Specified account privilege is not valid. | Your account does not have the required permissions. |
400 | InvalidAccountPassword.Format | Specified account password is not valid. | The password of the account is invalid. Specify a valid password. |
400 | InvalidDBDescription.Format | Specified DB description is not valid. | The database description is invalid. Specify a valid description. |
400 | InvalidReserveAccount.Format | Specified ReserveAccount is not valid. | - |
400 | IncorrectEngineVersion | Current engine version does not support operations. | The operation failed. The operation is not supported for the version of the database engine that is run on the RDS instance. |
403 | DBLimitExceeded | DBQuotaExceeded: Exceeding the allowed amount of DB. | The number of databases in the RDS instance reaches the upper limit. Delete unused databases from the RDS instance. |
403 | AccountLimitExceeded | AccountQuotaExceeded: Exceeding the allowed amount of account | The number of accounts exceeds the maximum number of accounts that are allowed. |
403 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | - |
403 | IncorrectDBInstanceType | Current DB instance type does not support this operation. | The operation failed. The RDS instance is not in a ready state. |
403 | OperationDenied.AccountMode | The operation is not permitted due to account mode of instance. | The operation is not supported for the account type of the RDS instance. ApsaraDB RDS supports two types of accounts: privileged accounts and standard accounts. |
404 | InvalidDBName.NotFound | Specified one or more DB name does not exist or DB status does not support. | The operation failed. The instance name cannot be found. |
404 | IncorrectDBInstanceLockMode | Current DB instance lock mode does not support this operation. | The operation failed. The RDS instance is locked. |
404 | InvalidDBInstance.NotFound | Specified instance does not exist or not support. | The RDS instance cannot be found, is deleted, or does not support the operation. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2022-09-01 | The error codes of the API operation change.,The response structure of the API operation changes. | |||||||||
|