Belirtilen projenin ayrıntılarını sorgular.
Operation description
İşlem açıklaması
İstek sözdizimindeki Host, proje adı ve Simple Log Service uç noktasından oluşur. Host içinde projeyi belirtmeniz gerekir.
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 |
Projenin adı. |
ali-project-test |
| crossRegion |
boolean |
No |
Proje için bölgeler arası arama yapılıp yapılmayacağını belirtir. Varsayılan değer: false. true olarak ayarlanırsa proje için bölgeler arası arama yapabilirsiniz. Bu özellik yalnızca belirli bölgelerde kullanılabilir. |
Response elements
|
Element |
Type |
Description |
Example |
| project |
Projenin ayrıntıları. |
{ "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.