VmConfigOverrideSpecification#
- class VmConfigOverrideSpecification(name=None, description=None, nic_spec=None, categories=None, ownership_info=None, guest_tools_spec=None, *args, **kwargs)#
Bases:
objectTo override the VM configuration captured in the snapshot (VM Recovery Point). Whatever values are specified in this object, will override the corresponding VM config entry from the snapshot. For example, if a new list of NICs are specified, the existing NIC details are replaced with the provided list. If the list of NICs is set to an empty list explicitly, the VM will be created with no NICs. For the case where the NICs are not set in the override spec at all, the NICs from the captured VM config will be attempted during restore.
- Parameters:
name (max=80 chars) – (
name) Name of the VM to override with. If not specified, a name is chosen by the system and returned to the task entities when complete.description – (
description) VM description.nic_spec – (
nic_spec)categories – (
categories) Categories to be associated with the VM on successful restore. If not specified, the VM is provisioned without any categories.ownership_info – (
ownership_info)guest_tools_spec – (
guest_tools_spec)
- property categories#
Categories to be associated with the VM on successful restore. If not specified, the VM is provisioned without any categories.
- Type:
list[
CategoryReference]
- property description#
VM description.
- Type:
str
- property guest_tools_spec#
- property name#
Name of the VM to override with. If not specified, a name is chosen by the system and returned to the task entities when complete.
- Type:
str
- property nic_spec#
- property ownership_info#
- Type:
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model