VmGcProfileGeneralSettings#

class VmGcProfileGeneralSettings(computer_name=None, timezone=None, administrator_password=None, auto_logon_settings=None, windows_product_key=None, registered_owner=None, registered_organization=None, *args, **kwargs)#

Bases: object

A set of general unattended settings supported by Windows.

Parameters:
  • computer_name – (computer_name) Mechanism to use to generate the computer name of the VM. Either UseVmName or MustProvideDuringDeployment should be provided. If MustProvideDuringDeployment is specified, then the user must provide the value for the computer name during the VM deployment; otherwise, the deployment request fails. If the UseVmName is specified, then during VM deployment, the name of the VM needs to meet the sysprep’s computer name requirements; otherwise, the request fails.

  • timezone (min=1 chars, max=256 chars) – (timezone) The computer’s time zone in string format. For different timezone values, refer to the Windows unattend installation documentation.

  • administrator_password (min=1 chars, max=256 chars) – (administrator_password) Password to be configured for built-in Administrator account.

  • auto_logon_settings – (auto_logon_settings)

  • windows_product_key – (windows_product_key) The product key to use to install and activate Windows. Note that entering an invalid product key causes Windows Setup to fail.

  • registered_owner (min=1 chars, max=256 chars) – (registered_owner) Full name of the end user. Note that this is the full name in the <Firstname Lastname> format, not only the username.

  • registered_organization (min=1 chars, max=256 chars) – (registered_organization) Name of the organization of the end user.

property administrator_password#

Password to be configured for built-in Administrator account.

Type:

str

property auto_logon_settings#
Type:

VmGcProfileAutoLogonSettings

property computer_name#

Mechanism to use to generate the computer name of the VM. Either UseVmName or MustProvideDuringDeployment should be provided. If MustProvideDuringDeployment is specified, then the user must provide the value for the computer name during the VM deployment; otherwise, the deployment request fails. If the UseVmName is specified, then during VM deployment, the name of the VM needs to meet the sysprep’s computer name requirements; otherwise, the request fails.

Type:

VmGcProfileUseVmName | VmGcProfileMustProvideDuringDeployment

property registered_organization#

Name of the organization of the end user.

Type:

str

property registered_owner#

Full name of the end user. Note that this is the full name in the <Firstname Lastname> format, not only the username.

Type:

str

property timezone#

The computer’s time zone in string format. For different timezone values, refer to the Windows unattend installation documentation.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property windows_product_key#

The product key to use to install and activate Windows. Note that entering an invalid product key causes Windows Setup to fail.

Type:

str