All Products
Search
Document Center

ApsaraDB RDS:CreateRCImage

Last Updated:Apr 15, 2026

Creates a custom image for an RDS Custom instance.

Operation description

Supported database engines

  • RDS MySQL
  • RDS SQL Server

References

Usage

  • Method 1: Create a custom image by using a snapshot generated from the system disk. In this case, specify the SnapshotId and ImageName parameters at the same time in the request.
  • Method 2: Create a custom image by using an RDS Custom instance. In this case, specify the InstanceId and ImageName parameters at the same time in the request.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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:
    • For mandatory resource types, indicate with a prefix of * .
    • 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.
OperationAccess levelResource typeCondition keyAssociated operation
rds:CreateRCImagenone
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

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

cn-beijing
SnapshotIdstringNo

The ID of the snapshot from which to create the custom image. You can call the DescribeRCSnapshots operation to query the snapshot ID.

rcds-c9bjdl79vz5dx********
ImageNamestringNo

The name of the custom image.

Created_from_rc-vma9w5z699x9********
InstanceIdstringNo

The ID of the RDS Custom instance.

rc-vma9w5z699x93204****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

F8D78AED-5050-113C-A46E-7B346*******

Examples

Sample success responses

JSONformat

{
  "RequestId": "F8D78AED-5050-113C-A46E-7B346*******"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidInstanceId.NotFoundInstanceId is invalid, not found.Invalid InstanceId, no valid instance data found

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2026-02-05The Error code has changedView Change Details
2026-01-14Add OperationView Change Details