v1

latestSwagger 2.02026-07-1477151580.2 KB
ComputeNodes

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage.

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.

post/pools/{poolId}/nodes/{nodeId}/uploadbatchservicelogs

Path parameters

poolIdstring required

The ID of the pool that contains the compute node.

nodeIdstring required

The ID of the compute node from which you want to upload the Azure Batch service log files.

Query parameters

timeoutinteger

The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

api-versionstring required

Client API Version.

Headers

client-request-idstring uuid

The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

return-client-request-idboolean

Whether the server should return the client-request-id in the response.

ocp-datestring date-time-rfc1123

The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

Response

The request to the Batch service was successful.

numberOfFilesUploadedinteger required
virtualDirectoryNamestring required

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.