not exclusive to azure as aws lambda requires API gateway now, but if i wanted to create a cloud function, azure auto generates like 2-3 other separate requires services for storage, http endpoint, etc
You do not need an API gateway for an HTTP triggered Azure Function. You do need a storage account, because that's where it stores the files that back your Function.