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