Action |
String |
Yes |
Required parameter. Value: CopyDatabase. |
DBInstanceId |
String |
Yes |
Instance ID. This API supports only SQL Server 2008 R2 databases. |
SrcDBName |
String |
Yes |
Name of the source database. The name must exist in the instance and comply with the following rules:
- Start with a letter.
- Contain only lowercase letters, digits, underscores (_), and hyphens (-).
- Cannot exceed 64 characters.
- For other invalid characters, see Forbidden keywords table.
|
DstDBName |
String |
Yes |
Name of the target database. The name must be unique and comply with the following rules:
- Start with a letter.
- Contain only lowercase letters, digits, underscores (_), and hyphens (-).
- Cannot exceed 64 characters.
- For other invalid characters, see Forbidden keywords table
|
ReserveAccount |
String |
Yes |
Whether to reserve the account of the source database.
- If the account is reserved, it is copied to the target database.
- Otherwise, the target database does not reserve the user account.
The optional values are 0 and 1, and the default value is 1. |
DBDescription |
String |
No |
Database description. The length is up to 256 characters. |