Queries the projects that meet specified conditions.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
projectName | string | No | The name of the project. | ali-test-project |
offset | integer | No | The line from which the query starts. Default value: 0. | 0 |
size | integer | No | The number of entries per page. Default value: 100. This operation can return up to 500 projects. | 10 |
resourceGroupId | string | No | The ID of the resource group. | rg-aekzf******sxby |
Response parameters
Examples
Sample success responses
JSON
format
{
"count": 2,
"total": 11,
"projects": [
{
"createTime": "2021-07-07 14:08:09",
"lastModifyTime": "2022-04-18 13:30:19",
"description": "Description of my-project",
"owner": "\"\"",
"projectName": "ali-test-project",
"region": "cn-hangzhou",
"status": "Normal",
"resourceGroupId": "rg-acf******sq",
"dataRedundancyType": "LRS",
"quota": {
"key": ""
}
}
]
}
Error codes
For a list of error codes, visit the Service error codes.