Creates an RDS Supabase instance.
Operation description
Debugging
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 Resourcesis 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 |
|---|---|---|---|---|
| rdsai:CreateAppInstance | create | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RegionId | string | No | The operation that you want to perform. Set the value to CreateAppInstance. | cn-beijing |
| AppType | string | No | The region ID of the instance. | supabase |
| VSwitchId | string | No | The application type. Only supabase is supported. | vsw-9dp2hkpm22gxscfgy**** |
| InstanceClass | string | No | The vSwitch ID. | rdsai.supabase.basic |
| DBInstanceName | string | No | The instance type. Only rdsai.supabase.basic is supported. | pgm-2ze49qv594vi**** |
| AppName | string | No | The ID of the RDS for PostgreSQL instance with which the RDS Supabase instances are associated. Note
: Only newly purchased empty RDS for PostgreSQL instances are supported. The major engine version must be PostgreSQL 17 and the minor version must be 20250630 or later.
| test-supabase |
| ClientToken | string | No | The name of the new AI application. | ETnLKlblzczshOTUbOCz**** |
| DatabasePassword | string | No | The idempotency token. The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. | test_Password |
| DashboardUsername | string | No | The password used to access the RDS database. The password must be 8 to 32 characters in length and must contain at least three of the following characters: uppercase letters, lowercase letters, digits, and underscores (_). | supabase |
| DashboardPassword | string | No | The Supabase Dashboard user name. | test_Password |
| PublicNetworkAccessEnabled | boolean | No | The Supabase Dashboard password. The password must be 8 to 32 characters in length and must contain at least three of the following characters: uppercase letters, lowercase letters, digits, and underscores (_). | false |
| RAGEnabled | boolean | No | Specifies whether to enable the Internet NAT gateway. Valid values:
Note
If an Internet NAT gateway is enabled for the vSwitch that you specify for VSwitchId, select false for this parameter.
| false |
| DBInstanceConfig | object | No | A reserved parameter. | |
| PublicEndpointEnabled | boolean | No | The billing method of the RDS for PostgreSQL instance. | true |
| InitializeWithExistingData | boolean | No | Specifies whether to enable public endpoint.
| false |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "FE9C65D7-930F-57A5-A207-8C396329241C",
"InstanceName": "ra-supabase-8moov5lxba****"
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | IncorrectInstanceState | Current instance status does not support this operation. | The operation is not supported in the current instance state. |
| 400 | InvalidGroupName | Specified group name is not valid. | Invalid group name |
| 400 | InvalidParameter | The provided parameter is invalid. | Invalid parameter. |
| 400 | MasterInstanceNotExist | Master instance does not exist. | The primary instance does not exist. |
| 403 | InsufficientResourceCapacity | There is not enough host resource inventory. | Insufficient resources |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-12-19 | The Error code has changed. The request parameters of the API has changed | View Change Details |
| 2025-11-25 | The Error code has changed. The request parameters of the API has changed | View Change Details |
