TemplateVersionSpec#

class TemplateVersionSpec(version_name=None, version_description=None, vm_spec=None, create_time=None, created_by=None, version_source=None, version_source_discriminator=None, is_active_version=True, is_gc_override_enabled=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Parameters:
  • version_name – (version_name) The user defined name of a Template Version.

  • version_description – (version_description) The user defined description of a Template Version.

  • vm_spec – (vm_spec)

  • create_time – (create_time) Time when the Template was created.

  • created_by – (created_by)

  • version_source (required) – (version_source) Source of the created Template Version. The source can either be a VM when creating a new Template Version or an existing Version within a Template when creating a new Version.

  • version_source_discriminator – (version_source_discriminator)

  • is_active_version – (is_active_version) Specify whether to mark the Template Version as active or not. The newly created Version during Template Creation, Updation or Guest OS Updation is set to Active by default unless specified otherwise. (Default True)

  • is_gc_override_enabled – (is_gc_override_enabled) Allow or disallow override of the Guest Customization during Template deployment.

property create_time#

Time when the Template was created.

Type:

datetime

property created_by#
Type:

TemplateUser

property is_active_version#

Specify whether to mark the Template Version as active or not. The newly created Version during Template Creation, Updation or Guest OS Updation is set to Active by default unless specified otherwise.

Type:

bool

property is_gc_override_enabled#

Allow or disallow override of the Guest Customization during Template deployment.

Type:

bool

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property version_description#

The user defined description of a Template Version.

Type:

str

property version_name#

The user defined name of a Template Version.

Type:

str

property version_source#

Source of the created Template Version. The source can either be a VM when creating a new Template Version or an existing Version within a Template when creating a new Version.

Type:

TemplateVmReference | TemplateVersionReference

property version_source_discriminator#
Type:

str

property vm_spec#
Type:

Vm