예제 #1
0
 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;
 }
예제 #2
0
        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;
        }