Creates a Supabase instance.
Operation description
This API is used to create a Supabase instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:CreateSupabaseProject |
create |
*SupabaseProject
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. You can call the DescribeRegions operation to query available regions. |
cn-hangzhou |
| ProjectName |
string |
Yes |
The project name. Naming rules:
|
saas_iot_x86_modbustcp_lqt01 |
| ZoneId |
string |
Yes |
The availability zone ID. Note
You can call the DescribeRegions operation to query available availability zones. |
cn-hangzhou-h |
| AccountPassword |
string |
Yes |
The password for the initial account.
|
Pw123456 |
| SecurityIPList |
string |
Yes |
The IP allowlist for the instance. A value of 127.0.0.1 blocks all external access. You can call the ModifySecurityIps operation to modify the IP allowlist after the instance is created. |
127.0.0.1 |
| VpcId |
string |
Yes |
The VPC ID. This parameter is required. Note
|
vpc-bp******************* |
| VSwitchId |
string |
Yes |
The vSwitch ID. This parameter is required. Note
|
vsw-bp1cpq8mr64paltkb**** |
| ProjectSpec |
string |
Yes |
The specifications of the Supabase instance. The default specification for the free tier is 1C1G. For paid tiers, see the console for available specifications. |
1C1G |
| StorageSize |
integer |
No |
The storage size, in GB. Default value: 1. |
2 |
| DiskPerformanceLevel |
string |
No |
The performance level (PL) of the cloud disk. Default value: PL0. Valid values:
|
PL0 |
| ClientToken |
string |
No |
A client token to ensure the idempotence of the request. For more information, see How to ensure idempotence. |
0c593ea1-3bea-11e9-b96b-88888888**** |
| PayType |
string |
No |
The billing method. Valid values:
Note
|
Postpaid |
| UsedTime |
string |
No |
The subscription duration. This parameter is required for subscription instances. Valid values:
Note This parameter is required when you create an instance that uses the subscription billing method. |
1 |
| Period |
string |
No |
The unit of the subscription duration. This parameter is required for subscription instances. Valid values:
Note This parameter is required when you create an instance that uses the subscription billing method. |
Month |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| ProjectId |
string |
The Supabase instance ID. |
sbp-180**** |
| RequestId |
string |
The request ID. |
ABB39CC3-4488-4857-905D-2E4A051D**** |
| OrderId |
string |
The order ID. |
278880417310796 |
Examples
Success response
JSON format
{
"ProjectId": "sbp-180****",
"RequestId": "ABB39CC3-4488-4857-905D-2E4A051D****",
"OrderId": "278880417310796"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.