(self, request, tenant_id)
return json.dumps({'values': axs, 'metadata': metadata})
Lists all of the alarm examples.
Lists all of the alarm examples.
Lists all of the alarm examples .
def list_alarm_examples(self, request, tenant_id):
        """
        Lists all of the alarm examples.
        """
        axs = alarm_examples()
        metadata = {
            'count': len(axs),
            'limit': 100,
            'marker': None,
            'next_marker': None,
            'next_href': None
        }
        request.setResponseCode(200)
        return json.dumps({'values': axs, 'metadata': metadata})
def list_alarm_examples ( self , request , tenant_id ) : axs = alarm_examples ( ) metadata = { 'count' : len ( axs ) , 'limit' : 100 , 'marker' : None , 'next_marker' : None , 'next_href' : None } request . setResponseCode ( 200 ) return json . dumps ( { 'values' : axs , 'metadata' : metadata } )