I’m having some trouble looking up a VirtualNetwor...
# azure
g
I’m having some trouble looking up a VirtualNetwork. I have the name of the AKS cluster it is used by, and I’m getting the cluster.NodeResourceGroup property. That gives me the ResourceGroup that the VirtualNetwork is in. I know the VirtualNetwork has a name that matches “aks-vnet-12345678”, but I don’t know the exact name. Is it possible to do it this way? Is there a better way? My end goal is to create a VirtualNetworkLink from a new PrivateZone to the cluster’s VirtualNetwork