def list_storage(kwargs=None, conn=None, call=None):
    if call != 'function':
        raise SaltCloudSystemExit(
            'The list_storage function must be called with -f or --function.'
        )

    if not conn:
        conn = get_conn()

    data = conn.list_storage_accounts()
    pprint.pprint(dir(data))
    ret = {}
    for item in data.storage_services:
        ret[item.service_name] = object_to_dict(item)
    return ret
Render a given resource. See L{IResource}'s render method.
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/msazure.py/list_storage--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/web/resource.py/Resource.render