Disclosed are compounds of formula (I ''), methods of using the compounds as immunomodulators, and pharmaceutical compositions comprising such compounds. The compounds are useful for treating, preventing or ameliorating a disease or disorder such as cancer or infection.化(I’)の化合物、本化合物を免疫調節剤として使用する方法、及びそのような化合物を含む医薬組成物を開示する。化合物は、がんまたは感染症などの疾患または障害を治療、予防、または改善するのに有用である。