Class UploadLogsError

java.lang.Object
com.azure.monitor.ingestion.models.UploadLogsError

public final class UploadLogsError extends Object
The model representing the error and the associated logs that failed when uploading a subset of logs to Azure Monitor.
  • Constructor Details

    • UploadLogsError

      public UploadLogsError(ResponseError error, List<Object> failedLogs)
      Creates an instance of error.
      Parameters:
      error - the response error containing the error details returned by the service.
      failedLogs - the logs that failed to upload.
  • Method Details

    • getResponseError

      public ResponseError getResponseError()
      Returns the response error containing the error details returned by the service.
      Returns:
      the response error containing the error details returned by the service.
    • getFailedLogs

      public List<Object> getFailedLogs()
      Returns the logs that failed to upload.
      Returns:
      the logs that failed to upload.