將通用型NAS檔案系統日誌轉儲到Log Service中。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
nas:CreateLogAnalysis |
create |
*FileSystem
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
地區 ID。 |
cn-hangzhou |
| FileSystemId |
string |
是 |
檔案系統 ID。 |
174494xxxx |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
5B4511A7-C99E-4071-AA8C-32E2529DA963 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "5B4511A7-C99E-4071-AA8C-32E2529DA963"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | SubAccount.NoLogSLRPermission | The RAM user does not have the permission to create service linked role AliyunServiceRoleForNasLogDelivery. Please authorize the RAM user the permission ram:CreateServiceLinkedRole. | 當前RAM使用者沒有許可權建立AliyunServiceRoleForNasLogDelivery SLR角色,請授權RAM使用者ram:CreateServiceLinkedRole許可權。 |
| 400 | InvalidFilesystemType.NotSupport | The API operation does not support the file system type. | 當前介面不支援該類型檔案系統。 |
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. | 指定的檔案系統不存在。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。