Microsoft.Azure.Commands.Batch.Models.BatchClient.ListNodeFiles C# (CSharp) Method

ListNodeFiles() public method

Lists the node files matching the specified filter options.
public ListNodeFiles ( ListNodeFileOptions options ) : IEnumerable
options ListNodeFileOptions The options to use when querying for node files.
return IEnumerable
        public IEnumerable<PSNodeFile> ListNodeFiles(ListNodeFileOptions options)
        {
            if (options == null)
            {
                throw new ArgumentNullException("options");
            }

            switch (options.NodeFileType)
            {
                case PSNodeFileType.Task:
                    {
                        return ListNodeFilesByTask(options);
                    }
                case PSNodeFileType.ComputeNode:
                    {
                        return ListNodeFilesByComputeNode(options);
                    }
                default:
                    {
                        throw new ArgumentException(Resources.NoNodeFileParent);
                    }
            }
        }
BatchClient