Esempio n. 1
0
def stop_monitoring(app_id, data):
    """ Stop monitoring a running application.

    Normal response codes: 204
    Error response codes: 400
    """
    return u.render(api.stop_monitoring(app_id))
Esempio n. 2
0
def start_monitoring(data, app_id):
    """ Start monitoring a running application.

    Normal response codes: 202
    Error response codes: 400
    """
    return u.render(api.start_monitoring(data, app_id))
Esempio n. 3
0
def stop_monitoring(app_id, data):
    return u.render(api.stop_monitoring(app_id))
Esempio n. 4
0
def start_monitoring(data, app_id):
    return u.render(api.start_monitoring(data, app_id))