An Azure service that provides customers with a serverless container experience.
So I have figured it out after I posted the question...
For private IP you can't set DNS prefix because the SDK assumes that the IP is public and since there are no public IP addresses we get the error.