取得使用者日誌設定。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
當前API無需請求參數
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求的 ID。 |
06273500-249F-5863-121D-74D51123**** |
| Code |
integer |
回應 code。 |
200 |
| Status |
string |
回應的狀態。 |
Success |
| Message |
string |
回應資訊。 |
operation success |
| Success |
boolean |
請求是否成功。 |
true |
| Data |
object |
回應資料。 |
|
| MessageTraceEnabled |
boolean |
是否啟用訊息軌跡功能。 |
true |
| LogEnabled |
boolean |
是否啟用日誌管理功能。 |
true |
| LogStoreName |
string |
日誌服務 LogStore 的名稱。 |
test-logstore |
| ProjectName |
string |
日誌服務 Project 的名稱。 |
test-project |
樣本
正常返回樣本
JSON格式
{
"RequestId": "06273500-249F-5863-121D-74D51123****",
"Code": 200,
"Status": "Success",
"Message": "operation success",
"Success": true,
"Data": {
"MessageTraceEnabled": true,
"LogEnabled": true,
"LogStoreName": "test-logstore",
"ProjectName": "test-project"
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。