Difference between zone created from the ui and zone created in code

Hello,

I’ve try to create a zone with the ui wizard, it’s working good, but i haven’t find my zone in the configuration.yaml (where is it ?)
After, i’ve try to create a zone directly in code, it’s also working good, but i don’t see it in the configuration ui wizard.

is there any difference between these two way to make zone ?