Operations. Upload Compute Node Batch Service Logs(String, String, String, DateTime, Nullable<DateTime>, IEnumerable<BatchClientBehavior>) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Upload Azure Batch service log files from the specified compute node.
public Microsoft.Azure.Batch.UploadBatchServiceLogsResult UploadComputeNodeBatchServiceLogs (string poolId, string computeNodeId, string containerUrl, DateTime startTime, DateTime? endTime = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.UploadComputeNodeBatchServiceLogs : string * string * string * DateTime * Nullable<DateTime> * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> Microsoft.Azure.Batch.UploadBatchServiceLogsResult
Public Function UploadComputeNodeBatchServiceLogs (poolId As String, computeNodeId As String, containerUrl As String, startTime As DateTime, Optional endTime As Nullable(Of DateTime) = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing) As UploadBatchServiceLogsResult
The id of the pool that contains the compute node.
The id of the compute node.
The URL of the container within Azure Blob Storage to which to upload the Batch Service log file(s). The URL must include a Shared Access Signature (SAS) granting write permissions to the container.
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.
The end 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. If this is omitted, the default is the current time.
The result of uploading the batch service logs.
This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.