function createHealthMonitor(spec) {
      return apiService.post('/api/lbaas/healthmonitors/', spec)
        .error(function () {
          toastService.add('error', gettext('Unable to create health monitor.'));
        });
    }
/**
     * @name horizon.app.core.openstack-service-api.lbaasv2.createHealthMonitor
     * @description
     * Create a new health monitor
     * @param {object} spec
     * Specifies the data used to create the new health monitor.
     */
@name horizon.app.core.openstack-service-api.lbaasv2.createHealthMonitor
@description
Create a new health monitor
@param {object} spec
Specifies the data used to create the new health monitor.
@name horizon . app . core . openstack - service - api . lbaasv2 . createHealthMonitor @description Create a new health monitor @param { object } spec Specifies the data used to create the new health monitor .
function createHealthMonitor(spec) {
      return apiService.post('/api/lbaas/healthmonitors/', spec)
        .error(function () {
          toastService.add('error', gettext('Unable to create health monitor.'));
        });
    }
function createHealthMonitor ( spec ) { return apiService . post ( '/api/lbaas/healthmonitors/' , spec ) . error ( function ( ) { toastService . add ( 'error' , gettext ( 'Unable to create health monitor.' ) ) ; } ) ; }
@name horizon.app.core.openstack-service-api.lbaasv2.createHealthMonitor
 @description
 Create a new health monitor
 @param {object} spec
 Specifies the data used to create the new health monitor.
@name horizon . app . core . openstack - service - api . lbaasv2 . createHealthMonitor @description Create a new health monitor @param { object } spec Specifies the data used to create the new health monitor .