VmReference#

class VmReference(ext_id=None, guest_customization=None, *args, **kwargs)[source]#

Bases: object

The source VM to create a new template

Parameters:
  • ext_id (required) – (ext_id) The source VM to create a new template

  • guest_customization – (guest_customization) VM guests may be customized at boot time using one of several different methods. Currently, cloud-init w/ ConfigDriveV2 (for Linux VMs) and Sysprep (for Windows VMs) are supported. Only ONE OF Sysprep or CloudInit should be provided. Note that guest customization can currently only be set during VM creation. Attempting to change it after creation will result in an error. Additional properties can be specified. For example - in the context of VM template creation if ‘isOverridable’ is set to ‘True’ then the deployer can upload their own custom script.

property ext_id#

The source VM to create a new template

Type:

str

property guest_customization#

VM guests may be customized at boot time using one of several different methods. Currently, cloud-init w/ ConfigDriveV2 (for Linux VMs) and Sysprep (for Windows VMs) are supported. Only ONE OF Sysprep or CloudInit should be provided. Note that guest customization can currently only be set during VM creation. Attempting to change it after creation will result in an error. Additional properties can be specified. For example - in the context of VM template creation if ‘isOverridable’ is set to ‘True’ then the deployer can upload their own custom script.

Type:

str

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model