Creates a MaxCompute project.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:CreateProject |
create |
*Project
|
|
None |
Request syntax
POST /api/v1/projects HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
string |
No |
The request body parameters. |
{ "name": "project_name", "comment": "", "productType":"payasyougo/subscription/dev", /\*\* \* "PAYASYOUGO": specifies a pay-as-you-go project. \* "SUBSCRIPTION": specifies a subscription project. \* "DEV": specifies that the project is created in Developer Edition. \*/ "defaultQuota": "quota_nick_name", "properties": { "sqlMeteringMax":"", "typeSystem": "",// The string type. Valid values: 1, 2, and hive. "encryption": { "enable": true, "algorithm":"" , // The name of the encryption algorithm. "key":"" // The key of the encryption algorithm. } // json: This field is required only when data encryption is enabled. } } |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The ID of the request. |
0b87b7a316654730544735643e9200 |
| data |
string |
The returned result. |
success |
Examples
Success response
JSON format
{
"requestId": "0b87b7a316654730544735643e9200",
"data": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.