I am trying to achieve what this REST API does but using Go SDK for Azure.
The idea is to get the ASC (Azure Security Center) location based on subscription. The nearest that I could find is security.NewLocationsClient, but this needs a location as input. Using REST API is straightforward, but looking for function exposed in SDK to achieve the same.