internal SearchProfile(string name, string nodeSku, OSImageProfile osImage, DiskInfo osDisk, IList <DiskInfo> dataDisks, IReadOnlyList <ResourceIdentifier> nodeResourceIds, SearchType searchType) : base(name, nodeSku, osImage, osDisk, dataDisks, nodeResourceIds) { SearchType = searchType; }
public SearchProfile(string nodeSku, OSImageProfile osImage, DiskInfo osDisk, SearchType searchType) : base(nodeSku, osImage, osDisk) { if (nodeSku == null) { throw new ArgumentNullException(nameof(nodeSku)); } if (osImage == null) { throw new ArgumentNullException(nameof(osImage)); } if (osDisk == null) { throw new ArgumentNullException(nameof(osDisk)); } SearchType = searchType; }