All Products
Search
Document Center

Apsara File Storage NAS:CreateLogAnalysis

Last Updated:Mar 14, 2024

Dumps the logs of a General-purpose NAS file system to Simple Log Service.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID.

cn-hangzhou
FileSystemIdstringYes

The ID of the file system.

174494xxxx

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

5B4511A7-C99E-4071-AA8C-32E2529DA963

Examples

Sample success responses

JSONformat

{
  "RequestId": "5B4511A7-C99E-4071-AA8C-32E2529DA963"
}

Error codes

HTTP status codeError codeError messageDescription
400SubAccount.NoLogSLRPermissionThe RAM user does not have the permission to create service linked role AliyunServiceRoleForNasLogDelivery. Please authorize the RAM user the permission ram:CreateServiceLinkedRole.The RAM user does not have the permission to create service linked role AliyunServiceRoleForNasLogDelivery. Please authorize the RAM user the permission ram:CreateServiceLinkedRole.
400InvalidFilesystemType.NotSupportThe API operation does not support the file system type.The API operation does not support the file system type.
404InvalidFileSystem.NotFoundThe specified file system does not exist.The specified file system does not exist.

For a list of error codes, visit the Service error codes.