ComputeNodeOperationsExtensions.UploadBatchServiceLogsAsync 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 System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.UploadBatchServiceLogsResult> UploadBatchServiceLogsAsync (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, System.Threading.CancellationToken cancellationToken = default);
static member UploadBatchServiceLogsAsync : Microsoft.Azure.Batch.Protocol.IComputeNodeOperations * string * string * Microsoft.Azure.Batch.Protocol.Models.UploadBatchServiceLogsConfiguration * Microsoft.Azure.Batch.Protocol.Models.ComputeNodeUploadBatchServiceLogsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.UploadBatchServiceLogsResult>
<Extension()>
Public Function UploadBatchServiceLogsAsync (operations As IComputeNodeOperations, poolId As String, nodeId As String, uploadBatchServiceLogsConfiguration As UploadBatchServiceLogsConfiguration, Optional computeNodeUploadBatchServiceLogsOptions As ComputeNodeUploadBatchServiceLogsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
- cancellationToken
- CancellationToken
The cancellation token.
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