Share via


UploadBatchServiceLogsResult Class

  • java.lang.Object
    • com.azure.compute.batch.models.UploadBatchServiceLogsResult

Implements

public final class UploadBatchServiceLogsResult
implements JsonSerializable<UploadBatchServiceLogsResult>

The result of uploading Batch service log files from a specific Compute Node.

Method Summary

Modifier and Type Method and Description
static UploadBatchServiceLogsResult fromJson(JsonReader jsonReader)

Reads an instance of UploadBatchServiceLogsResult from the JsonReader.

int getNumberOfFilesUploaded()

Get the numberOfFilesUploaded property: The number of log files which will be uploaded.

String getVirtualDirectoryName()

Get the virtualDirectoryName property: The virtual directory within Azure Blob Storage container to which the Batch Service log file(s) will be uploaded.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static UploadBatchServiceLogsResult fromJson(JsonReader jsonReader)

Reads an instance of UploadBatchServiceLogsResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UploadBatchServiceLogsResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getNumberOfFilesUploaded

public int getNumberOfFilesUploaded()

Get the numberOfFilesUploaded property: The number of log files which will be uploaded.

Returns:

the numberOfFilesUploaded value.

getVirtualDirectoryName

public String getVirtualDirectoryName()

Get the virtualDirectoryName property: 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.

Returns:

the virtualDirectoryName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to