BatchClient.DeleteNodeFile Method

Definition

Deletes the specified file from its compute node.

public void DeleteNodeFile (bool? recursive, Microsoft.Azure.Commands.Batch.Models.NodeFileOperationParameters parameters);
member this.DeleteNodeFile : Nullable<bool> * Microsoft.Azure.Commands.Batch.Models.NodeFileOperationParameters -> unit
Public Sub DeleteNodeFile (recursive As Nullable(Of Boolean), parameters As NodeFileOperationParameters)

Parameters

recursive
Nullable<Boolean>

If the file-path parameter represents a directory instead of a file, you can set the optional recursive parameter to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail..

parameters
NodeFileOperationParameters

Specifies which node file to delete.

Applies to