This is supported in linux cloud-init via something like the following inside /etc/cloud/cloud.cfg;
datasource:
Ec2:
metadata_urls: [ 'https://my-metadata-service.com' ]
dsmode: net
How can one accomplish the same with cloudbase cloud-init for Windows?