你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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