wrench::CloudComputeServiceCreateVMAnswerMessage
-
class wrench::CloudComputeServiceCreateVMAnswerMessage : public wrench::CloudComputeServiceMessage
A message sent by a CloudComputeService in answer to a VM creation request.
Public Functions
Constructor.
- Parameters
success – whether the VM creation was successful or not
vm_name – the name of the created VM (if success)
failure_cause – the cause of the failure (or nullptr if success)
payload – the message size in bytes
Public Members
-
std::shared_ptr<FailureCause> failure_cause
The cause of the failure, or nullptr on success.
-
bool success
Whether the VM creation was successful or not.
-
std::string vm_name
The VM name if success.