UploadBatchServiceLogsConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.UploadBatchServiceLogsConfiguration

public class UploadBatchServiceLogsConfiguration

The Azure Batch service log files upload configuration for a compute node.

Method Summary

Modifier and Type Method and Description
String containerUrl()

Get the URL must include a Shared Access Signature (SAS) granting write permissions to the container. The SAS duration must allow enough time for the upload to finish. The start time for SAS is optional and recommended to not be specified.

DateTime endTime()

Get any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime.

DateTime startTime()

Get any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested.

UploadBatchServiceLogsConfiguration withContainerUrl(String containerUrl)

Set the URL must include a Shared Access Signature (SAS) granting write permissions to the container. The SAS duration must allow enough time for the upload to finish. The start time for SAS is optional and recommended to not be specified.

UploadBatchServiceLogsConfiguration withEndTime(DateTime endTime)

Set any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime.

UploadBatchServiceLogsConfiguration withStartTime(DateTime startTime)

Set any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested.

Method Details

containerUrl

public String containerUrl()

Get the URL must include a Shared Access Signature (SAS) granting write permissions to the container. The SAS duration must allow enough time for the upload to finish. The start time for SAS is optional and recommended to not be specified.

Returns:

the containerUrl value

endTime

public DateTime endTime()

Get any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime.

Returns:

the endTime value

startTime

public DateTime startTime()

Get any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested.

Returns:

the startTime value

withContainerUrl

public UploadBatchServiceLogsConfiguration withContainerUrl(String containerUrl)

Set the URL must include a Shared Access Signature (SAS) granting write permissions to the container. The SAS duration must allow enough time for the upload to finish. The start time for SAS is optional and recommended to not be specified.

Parameters:

containerUrl - the containerUrl value to set

Returns:

the UploadBatchServiceLogsConfiguration object itself.

withEndTime

public UploadBatchServiceLogsConfiguration withEndTime(DateTime endTime)

Set any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime.

Parameters:

endTime - the endTime value to set

Returns:

the UploadBatchServiceLogsConfiguration object itself.

withStartTime

public UploadBatchServiceLogsConfiguration withStartTime(DateTime startTime)

Set any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested.

Parameters:

startTime - the startTime value to set

Returns:

the UploadBatchServiceLogsConfiguration object itself.

Applies to