LogsUploadError Class
- java.
lang. Object - com.
azure. monitor. ingestion. models. LogsUploadError
- com.
public final class LogsUploadError
The model representing the error and the associated logs that failed when uploading a subset of logs to Azure Monitor.
Constructor Summary
| Constructor | Description |
|---|---|
| LogsUploadError(HttpResponseException responseException, List<Object> failedLogs) |
Creates an instance of error. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<Object> |
getFailedLogs()
Returns the logs that failed to upload. |
|
Http |
getResponseException()
Returns the response error containing the error details returned by the service. |
Methods inherited from java.lang.Object
Constructor Details
LogsUploadError
public LogsUploadError(HttpResponseException responseException, List<Object> failedLogs)
Creates an instance of error.
Parameters:
Method Details
getFailedLogs
public List<Object> getFailedLogs()
Returns the logs that failed to upload.
Returns:
getResponseException
public HttpResponseException getResponseException()
Returns the response error containing the error details returned by the service.
Returns: