ComputeNodeOperationsExtensions.UploadBatchServiceLogs Method
Definition
Important
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 to Azure Blob Storage.
public static Microsoft.Azure.Batch.Protocol.Models.UploadBatchServiceLogsResult UploadBatchServiceLogs (this Microsoft.Azure.Batch.Protocol.IComputeNodeOperations operations, string poolId, string nodeId, Microsoft.Azure.Batch.Protocol.Models.UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, Microsoft.Azure.Batch.Protocol.Models.ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions = default);
static member UploadBatchServiceLogs : Microsoft.Azure.Batch.Protocol.IComputeNodeOperations * string * string * Microsoft.Azure.Batch.Protocol.Models.UploadBatchServiceLogsConfiguration * Microsoft.Azure.Batch.Protocol.Models.ComputeNodeUploadBatchServiceLogsOptions -> Microsoft.Azure.Batch.Protocol.Models.UploadBatchServiceLogsResult
<Extension()>
Public Function UploadBatchServiceLogs (operations As IComputeNodeOperations, poolId As String, nodeId As String, uploadBatchServiceLogsConfiguration As UploadBatchServiceLogsConfiguration, Optional computeNodeUploadBatchServiceLogsOptions As ComputeNodeUploadBatchServiceLogsOptions = Nothing) As UploadBatchServiceLogsResult
Parameters
- operations
- IComputeNodeOperations
The operations group for this extension method.
- poolId
- String
The ID of the Pool that contains the Compute Node.
- nodeId
- String
The ID of the Compute Node from which you want to upload the Azure Batch service log files.
- uploadBatchServiceLogsConfiguration
- UploadBatchServiceLogsConfiguration
The Azure Batch service log files upload configuration.
- computeNodeUploadBatchServiceLogsOptions
- ComputeNodeUploadBatchServiceLogsOptions
Additional parameters for the operation
Returns
Remarks
This is for gathering Azure Batch service log files in an automated fashion from Compute 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.
Applies to
Azure SDK for .NET