function updateMemberListService(
    resourceType, actionResultService, workflowModal, policy, gettext
  ) {
    return workflowModal.init({
      controller: 'UpdateMemberListWizardController',
      message: gettext('The pool members have been updated.'),
      handle: handle,
      allowed: allowed
    });

    function allowed(/*item*/) {
      return policy.ifAllowed({
        rules: [['load-balancer', 'os_load-balancer_api:pool:put']]
      });
    }

    function handle(response) {
      return actionResultService.getActionResult()
        .created(resourceType, response.data.id)
        .result;
    }
  }
/**
   * @ngDoc factory
   * @name horizon.dashboard.project.lbaasv2.members.actions.updateMemberListService
   *
   * @description
   * Provides the service for updating the list of pool members.
   *
   * @param resourceType The member resource type.
   * @param actionResultService The horizon action result service.
   * @param workflowModal The LBaaS workflow modal service.
   * @param policy The horizon policy service.
   * @param gettext The horizon gettext function for translation.
   *
   * @returns The load balancers members update member list service.
   */


@description
Provides the service for updating the list of pool members.

@param resourceType The member resource type.
@param actionResultService The horizon action result service.
@param workflowModal The LBaaS workflow modal service.
@param policy The horizon policy service.
@param gettext The horizon gettext function for translation.

@returns The load balancers members update member list service.
@description Provides the service for updating the list of pool members . @param resourceType The member resource type . @param actionResultService The horizon action result service . @param workflowModal The LBaaS workflow modal service . @param policy The horizon policy service . @param gettext The horizon gettext function for translation . @returns The load balancers members update member list service .
function updateMemberListService(
    resourceType, actionResultService, workflowModal, policy, gettext
  ) {
    return workflowModal.init({
      controller: 'UpdateMemberListWizardController',
      message: gettext('The pool members have been updated.'),
      handle: handle,
      allowed: allowed
    });
    function allowed() {
      return policy.ifAllowed({
        rules: [['load-balancer', 'os_load-balancer_api:pool:put']]
      });
    }
    function handle(response) {
      return actionResultService.getActionResult()
        .created(resourceType, response.data.id)
        .result;
    }
  }
function updateMemberListService ( resourceType , actionResultService , workflowModal , policy , gettext ) { return workflowModal . init ( { controller : 'UpdateMemberListWizardController' , message : gettext ( 'The pool members have been updated.' ) , handle : handle , allowed : allowed } ) ; function allowed ( ) { return policy . ifAllowed ( { rules : [ [ 'load-balancer' , 'os_load-balancer_api:pool:put' ] ] } ) ; } function handle ( response ) { return actionResultService . getActionResult ( ) . created ( resourceType , response . data . id ) . result ; } }
@ngDoc factory
 @name horizon.dashboard.project.lbaasv2.members.actions.updateMemberListService
@ngDoc factory @name horizon . dashboard . project . lbaasv2 . members . actions . updateMemberListService
/*item*/