IComputeNodeOperations.UploadBatchServiceLogsWithHttpMessagesAsync Method
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 System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Batch.Protocol.Models.UploadBatchServiceLogsResult,Microsoft.Azure.Batch.Protocol.Models.ComputeNodeUploadBatchServiceLogsHeaders>> UploadBatchServiceLogsWithHttpMessagesAsync (string poolId, string nodeId, Microsoft.Azure.Batch.Protocol.Models.UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, Microsoft.Azure.Batch.Protocol.Models.ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UploadBatchServiceLogsWithHttpMessagesAsync : string * string * Microsoft.Azure.Batch.Protocol.Models.UploadBatchServiceLogsConfiguration * Microsoft.Azure.Batch.Protocol.Models.ComputeNodeUploadBatchServiceLogsOptions * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Batch.Protocol.Models.UploadBatchServiceLogsResult, Microsoft.Azure.Batch.Protocol.Models.ComputeNodeUploadBatchServiceLogsHeaders>>
Public Function UploadBatchServiceLogsWithHttpMessagesAsync (poolId As String, nodeId As String, uploadBatchServiceLogsConfiguration As UploadBatchServiceLogsConfiguration, Optional computeNodeUploadBatchServiceLogsOptions As ComputeNodeUploadBatchServiceLogsOptions = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of UploadBatchServiceLogsResult, ComputeNodeUploadBatchServiceLogsHeaders))
- 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
- customHeaders
- Dictionary<String,List<String>>
The headers that will be added to request.
- cancellationToken
- CancellationToken
The cancellation token.
Thrown when the operation returned an invalid status code
Thrown when unable to deserialize the response
Thrown when a required parameter is null
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.
Azure SDK for .NET 피드백
Azure SDK for .NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.