Queries the projects whose names start with apisec- in Simple Log Service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeApisecSlsProjects |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
You can call the DescribeInstance operation to query the ID of the WAF instance. |
waf_v3_public_cn-uqm2z****0a |
| LogRegionId |
string |
Yes |
The ID of the region where logs are stored. Note
You can call the DescribeUserSlsLogRegions operation to query available log storage regions. |
cn-hangzhou |
| RegionId |
string |
No |
The region where the WAF instance is deployed. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
D7861F61-5B61-46CE-A47C-6B19****5EB0 |
| Projects |
array |
The names of the projects in Simple Log Service. |
|
|
string |
The name of the project in Simple Log Service. |
apisec-project-14316572******** |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19****5EB0",
"Projects": [
"apisec-project-14316572********\n"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.