/// <summary> /// Lists all of the files in Task directories on the specified Compute Node. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='poolId'> /// The ID of the Pool that contains the Compute Node. /// </param> /// <param name='nodeId'> /// The ID of the Compute Node whose files you want to list. /// </param> /// <param name='recursive'> /// Whether to list children of a directory. /// </param> /// <param name='fileListFromComputeNodeOptions'> /// Additional parameters for the operation /// </param> public static IPage <NodeFile> ListFromComputeNode(this IFileOperations operations, string poolId, string nodeId, bool?recursive = default(bool?), FileListFromComputeNodeOptions fileListFromComputeNodeOptions = default(FileListFromComputeNodeOptions)) { return(operations.ListFromComputeNodeAsync(poolId, nodeId, recursive, fileListFromComputeNodeOptions).GetAwaiter().GetResult()); }