GetProject
Queries the details of a specified project.
Operation description
Operation description
The Host in the request syntax consists of the project name and the Simple Log Service endpoint. You must specify the project in the Host.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetProject |
get |
*Project
|
|
None |
Request syntax
GET / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The project name. |
ali-project-test |
Response elements
|
Element |
Type |
Description |
Example |
| project |
The project details. |
{ "createTime": "2020-11-18 16:55:57", "description": "test", "lastModifyTime": "2020-11-18 17:07:26", "owner": "174****745", "projectName": "ali-project-test", "region": "cn-hangzhou", "status": "Normal" } |
Examples
Success response
JSON format
{
"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",
"recycleBinEnabled": false,
"internetEndpoint": "",
"internalEndpoint": "",
"quota": {
"key": ""
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.