Hi,
You can find information how to create Log alert here. On step 11 Advanced options you have Evaluation period and Number of violations setting which corresponds to numberOfEvaluationPeriods and minFailingPeriodsToAlert properties.
Update: Static metric alerts does not have these options. Such options are available only for dynamic metric alert and Log Alert types.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.