def list_locations(provider='all'):
 client = _get_client()
 locations = client.list_locations(provider)
 return locations

def list_locations ( provider = 'all' ) : client = _get_client ( ) locations = client . list_locations ( provider ) return locations
list cloud provider locations for the given providers cli example: .