CreateSaasService
Creates a SaaS service.
Operation description
Before you call this operation, make sure that you are familiar with the billing methods and pricing of AnalyticDB for PostgreSQL.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID of the instance. |
cn-hangzhou |
| WorkspaceId |
string |
Yes |
The workspace of the SaaS service. |
ws-***** |
| ServiceType |
string |
Yes |
The service type. Valid values:
|
drama |
| PayType |
string |
No |
The billing method. Valid values:
Note
|
Postpaid |
| UsedTime |
string |
No |
The duration for which you want to purchase the resource. Valid values:
Note
This parameter is required when you create a subscription instance. |
1 |
| Period |
string |
No |
The unit of the duration for which you want to purchase the resource. Valid values:
Note
This parameter is required when you create a subscription instance. |
Month |
| Cu |
integer |
No |
The compute resources of the SaaS service. |
1 |
| Plan |
string |
No |
Deprecated. |
deprecated |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ServiceId |
string |
The service ID. |
agdb-eqxwj5tj5ojx |
| RequestId |
string |
The request ID. |
7565770E-7C45-462D-BA4A-8A5396F2CAD1 |
| OrderId |
string |
The order ID. |
********* |
Examples
Success response
JSON format
{
"ServiceId": "agdb-eqxwj5tj5ojx",
"RequestId": "7565770E-7C45-462D-BA4A-8A5396F2CAD1",
"OrderId": "*********"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.