NodeFileOperationsExtensions.DeleteFromTask Method (INodeFileOperations, String, String, String, NodeFileDeleteParameters)
Deletes the specified task file from the compute node where the task ran.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public static NodeFileDeleteResponse DeleteFromTask(
this INodeFileOperations operations,
string jobId,
string taskId,
string fileName,
NodeFileDeleteParameters parameters
)
public:
[ExtensionAttribute]
static NodeFileDeleteResponse^ DeleteFromTask(
INodeFileOperations^ operations,
String^ jobId,
String^ taskId,
String^ fileName,
NodeFileDeleteParameters^ parameters
)
static member DeleteFromTask :
operations:INodeFileOperations *
jobId:string *
taskId:string *
fileName:string *
parameters:NodeFileDeleteParameters -> NodeFileDeleteResponse
<ExtensionAttribute>
Public Shared Function DeleteFromTask (
operations As INodeFileOperations,
jobId As String,
taskId As String,
fileName As String,
parameters As NodeFileDeleteParameters
) As NodeFileDeleteResponse
Parameters
operations
Type: Microsoft.Azure.Batch.Protocol.INodeFileOperationsReference to the Microsoft.Azure.Batch.Protocol.INodeFileOperations.
jobId
Type: System.StringRequired. The id of the job that contains the task.
taskId
Type: System.StringRequired. The id of the task whose file you want to delete.
fileName
Type: System.StringRequired. The path to the task file that you want to delete.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.NodeFileDeleteParametersRequired. The parameters for the request.
Return Value
Type: Microsoft.Azure.Batch.Protocol.Models.NodeFileDeleteResponse
Response to a NodeFileOperations.DeleteFromComputeNode or NodeFileOperations.DeleteFromTask request.
See Also
NodeFileOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace
Return to top