UpdateAutoMvProject
Configures the automatic materialized view switch for a specified project and updates the storage quota. You can call ListAutoMvProjects to query the configuration results.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:UpdateAutoMvProject |
update |
*Project
|
None | None |
Request syntax
PUT /api/v2/projects/{project}/autoMv/properties HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the MaxCompute project. |
example_project |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| enable |
boolean |
No |
Specifies whether to enable automatic materialized views. Default value: false, which indicates that automatic materialized views are disabled. |
|
| storageSize |
integer |
No |
The storage quota for automatic materialized views, in GB. If this parameter is omitted or set to -1, the existing quota is not adjusted. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The unique identifier of the API request. Provide this identifier when troubleshooting API call issues. |
0be3e0aa16667684362147582e038f |
| httpCode |
integer |
The HTTP status code of the request. |
200 |
| errorCode |
string |
The error code returned when the request fails. |
InvalidArgument |
| errorMsg |
string |
The error message returned when the request fails. |
The specified parameter is invalid. |
| data |
string |
The status string returned in the response. |
success |
Examples
Success response
JSON format
{
"requestId": "0be3e0aa16667684362147582e038f",
"httpCode": 200,
"errorCode": "InvalidArgument",
"errorMsg": "The specified parameter is invalid.",
"data": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.