'Is it possible to combine two private DNS zones into one policy definition

I'm trying to deploy/register private DNS zones for private endpoint in app service > DNS configuration using custom policy but I'm not able to combine these two private DNS zones privatelink.api.azureml.ms and privatelink.notebooks.azure.net into one policy definition. Is this possible to combine these into one policy definition?

Looking forward for your help and advice on this. Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source