I have a powershell script that must setup all my infrastructure with a single click, what I'm missing is a way to create and configure the CDN, this seems to be only possible from the management portal.
Thanks
According to this answer creating a CDN endpoint through Azure PowerShell is not supported yet.
Quoting the link's Q&A:
Q: [ViewRidge] How can I create a CDN endpoint using Azure PowerShell?
A: [Manling] -> [ViewRidge] We don't support it today but it's targeted to be supported in CY Q4.