(self, request, tenant_id)
return json.dumps({'values': mzs, 'metadata': metadata})
Lists the monitoring zones
Lists the monitoring zones
Lists the monitoring zones
def list_monitoring_zones(self, request, tenant_id):
        """
        Lists the monitoring zones
        """
        mzs = monitoring_zones()
        metadata = {
            'count': len(mzs),
            'limit': 100,
            'marker': None,
            'next_marker': None,
            'next_href': None
        }
        request.setResponseCode(200)
        return json.dumps({'values': mzs, 'metadata': metadata})
def list_monitoring_zones ( self , request , tenant_id ) : mzs = monitoring_zones ( ) metadata = { 'count' : len ( mzs ) , 'limit' : 100 , 'marker' : None , 'next_marker' : None , 'next_href' : None } request . setResponseCode ( 200 ) return json . dumps ( { 'values' : mzs , 'metadata' : metadata } )