GetProject
Queries the details of the 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 name of the project. |
ali-project-test |
| crossRegion |
boolean |
No |
Specifies whether to search for the project across regions. Default value: false. If set to true, you can search for the project across regions. This feature is available only in specific regions. |
Response elements
|
Element |
Type |
Description |
Example |
| project |
The details of the project. |
{ "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": "cn-hangzhou.log.aliyuncs.com",
"internalEndpoint": "cn-hangzhou-intranet.log.aliyuncs.com",
"quota": {
"key": "project quota"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.