def __init__(self, which, reason):
    super(MethodDiscardMessage, self).__init__()
    self.which = which
    self.reason = reason
Gets the vm profile spec configured for storage policy.
dataset/ETHPy150Open steveniemitz/scales/scales/message.py/MethodDiscardMessage.__init__--crossover with--dataset/ETHPy150Open openstack/nova/nova/virt/vmwareapi/vm_util.py/get_storage_profile_spec