def get_ds_capacity(datastore):
    """
        Get vsphere datastore capacity size
    :param datastore: vsphere datastore object
    :return: datastore capacity size
    """
    capacity_size = datastore.summary.capacity
    return capacity_size