TemplateVersionSpec#

class TemplateVersionSpec(version_name=None, version_description=None, version_number=None, vm_spec=None, created_at=None, created_by=None, version_source=None, version_source_discriminator=None, is_gc_override_enabled=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)[source]#

Bases: ExternalizableAbstractModel

Parameters:
  • version_name – (version_name) Template version name. This will be the default VM name prefix when a VM is deployed from this template.

  • version_description – (version_description) A description for template version.

  • version_number – (version_number) Template Version number

  • vm_spec – (vm_spec) VM configuration spec

  • created_at – (created_at) Created Time.

  • created_by – (created_by) The user who created the Version in Template.

  • version_source – (version_source) Source from which a version is created. It can be either a VM or an existing version of the template.

  • version_source_discriminator – (version_source_discriminator)

  • is_gc_override_enabled – (is_gc_override_enabled) Allow or Disallow override of the Guest Customization during Template Deployment using this version.

property created_at#

Created Time.

Type:

datetime

property created_by#

The user who created the Version in Template.

Type:

str

property is_gc_override_enabled#

Allow or Disallow override of the Guest Customization during Template Deployment using this version.

Type:

bool

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model

property version_description#

A description for template version.

Type:

str

property version_name#

Template version name. This will be the default VM name prefix when a VM is deployed from this template.

Type:

str

property version_number#

Template Version number

Type:

int

property version_source#

Source from which a version is created. It can be either a VM or an existing version of the template.

Type:

VmReference | TemplateVersionReference

property version_source_discriminator#
Type:

str

property vm_spec#

VM configuration spec

Type:

str