UploadBatchServiceLogsConfiguration Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. UploadBatchServiceLogsConfiguration
- com.
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. |
Upload |
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. |
Upload |
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. |
Upload |
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:
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:
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:
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:
Returns:
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:
Returns:
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:
Returns: