code: def list_storage(kwargs=None, conn=None, call=None):
      '''
      .. versionadded:: 2015.8.0
  
      List storage accounts associated with the account
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -f list_storage my-azure
      '''
      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 ref list_storage(kwargs=None, conn=None, call=None):
      '''
      .. versionadded:: 2015.8.0
  
      List storage accounts associated with the account
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -f list_storage my-azure
      '''
      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
docs: .. versionadded:: 2015.8.0
  
      List storage accounts associated with the account
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -f list_storage my-azure