def get_application_pool(cluster,
                         name,
                         user,
                         user_key,
                         output_format='json',
                         container_image=None):
    '''
    Get application type enabled on a given pool
    '''

    args = ['application', 'get', name, '-f', output_format]

    cmd = generate_cmd(sub_cmd=['osd', 'pool'],
                       args=args,
                       cluster=cluster,
                       user=user,
                       user_key=user_key,
                       container_image=container_image)

    return cmd

    Get application type enabled on a given pool
    
library/ceph_pool.py