def __read_simple_binding(jboss_config, binding_name, profile=None):

    operation = '/subsystem=naming/binding="{binding_name}":read-resource'.format(binding_name=binding_name)
    if profile is not None:
        operation = '/profile="{profile}"'.format(profile=profile) + operation
    return __salt__['jboss7_cli.run_operation'](jboss_config, operation)
dataset/ETHPy150Open saltstack/salt/salt/modules/jboss7.py/__read_simple_binding/original