New to Azure SDK for .NET, can someone help in providing on how to list all clusters in a subscription using subscription ID only. I am trying to bypass using Resource Group to save time.
Previously we could use ContainerServiceClient but the package Microsoft.Azure.Management.ContainerService has been deprecated and I couldn't find an appropriate example using latest package versions
I do agree @Mudit Balooja that using
Azure.ResourceManager.Resources
we can get clusters as below:Output: