VtpmConfig#

class VtpmConfig(is_vtpm_enabled=None, version=None, *args, **kwargs)[source]#

Bases: object

Indicates how the vTPM for the VM should be configured.

Parameters:
  • is_vtpm_enabled – (is_vtpm_enabled) Indicates whether the virtual trusted platform module is enabled for the Guest OS or not.

  • version – (version) Virtual trusted platform module version.

property is_vtpm_enabled#

Indicates whether the virtual trusted platform module is enabled for the Guest OS or not.

Type:

bool

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model

property version#

Virtual trusted platform module version.

Type:

str