Partilhar via


UploadBatchServiceLogsContent(String, DateTimeOffset) Constructor

Definition

Initializes a new instance of UploadBatchServiceLogsContent.

public UploadBatchServiceLogsContent (string containerUrl, DateTimeOffset startTime);
new Azure.Compute.Batch.UploadBatchServiceLogsContent : string * DateTimeOffset -> Azure.Compute.Batch.UploadBatchServiceLogsContent
Public Sub New (containerUrl As String, startTime As DateTimeOffset)

Parameters

containerUrl
String

The URL of the container within Azure Blob Storage to which to upload the Batch Service log file(s). If a user assigned managed identity is not being used, 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.

startTime
DateTimeOffset

The start of the time range from which to upload Batch Service log file(s). 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.

Exceptions

containerUrl is null.

Applies to