Closed gowrisankar22 closed 3 years ago
Hi @gowrisankar22 thanks for this issue.
These two functions might help you:
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Hello,
Is there any possible way available to retrieve the subresource and private DNS Zone via golang SDK for the private endpoint creation?
Let me explain in detail.
/subscriptions/xxxx/resourceGroups/rg1/providers/Microsoft.DBforPostgreSQL/servers/demopostgresql
Creating a private endpoint from subscription 2 using golang SDK. To do that I need to pass the subresource for private endpoint creation. I need to retrieve this subresource in an automated way by looking into the service provided from subscription 1.
Once the endpoint is created I need to know the right private DNS zone to create A record. This information also I need to retrieve in an automated way using gosdk by looking into the service provided from subscription 1.
this is really possible now or are there any alternatives?
For more info: https://docs.microsoft.com/en-us/azure/private-link/private-endpoint-dns
BRs, Gowrisankar