Share via


ComputeBatchModelFactory.UploadBatchServiceLogsResult(String, Int32) Method

Definition

Initializes a new instance of UploadBatchServiceLogsResult.

public static Azure.Compute.Batch.UploadBatchServiceLogsResult UploadBatchServiceLogsResult (string virtualDirectoryName = default, int numberOfFilesUploaded = 0);
static member UploadBatchServiceLogsResult : string * int -> Azure.Compute.Batch.UploadBatchServiceLogsResult
Public Shared Function UploadBatchServiceLogsResult (Optional virtualDirectoryName As String = Nothing, Optional numberOfFilesUploaded As Integer = 0) As UploadBatchServiceLogsResult

Parameters

virtualDirectoryName
String

The virtual directory within Azure Blob Storage container to which the Batch Service log file(s) will be uploaded. The virtual directory name is part of the blob name for each log file uploaded, and it is built based poolId, nodeId and a unique identifier.

numberOfFilesUploaded
Int32

The number of log files which will be uploaded.

Returns

A new UploadBatchServiceLogsResult instance for mocking.

Applies to