Web Application Firewall (WAF) için Simple Log Service'i etkinleştirir veya devre dışı bırakır.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ModifyUserWafLogStatus |
update |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
WAF örneğinin kimliği. Not
WAF örneğinin kimliğini sorgulamak için DescribeInstance çağrısı yapın. |
waf-cn-mp9153**** |
| LogStatus |
integer |
Yes |
Simple Log Service'in etkin olup olmadığını gösterir. Geçerli değerler:
|
1 |
| ResourceManagerResourceGroupId |
string |
No |
Kaynak grubunun kimliği. |
rg-acfm***q |
| LogRegionId |
string |
No |
Günlük depolama bölgesinin kimliği. Bu parametre belirtilmezse, Simple Log Service WAF örneğinin bulunduğu bölgede etkinleştirilir.
Not
Kullanılabilir günlük depolama bölgelerini sorgulamak için DescribeUserSlsLogRegions çağrısı yapın. |
cn-beijing |
| RegionId |
string |
No |
WAF örneğinin bulunduğu bölge. Geçerli değerler:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
D7861F61-5B61-****-A47C-6B19160***** |
| LogStoreName |
string |
Simple Log Service (SLS) içindeki Logstore'un adı. |
wafng-logstore |
| ProjectName |
boolean |
Simple Log Service projesinin oluşturulup oluşturulmadığını gösterir. |
wafng-project-14316572********-cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-****-A47C-6B19160*****",
"LogStoreName": "wafng-logstore",
"ProjectName": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.