VMware vSphere Automation SDK for .NET 7.0.0.1
|
The GuiUnattended
class maps to the GuiUnattended key in the sysprep.xml answer file.
More...
Classes | |
class | Builder |
Builder class for GuiUnattended. More... | |
Public Member Functions | |
GuiUnattended () | |
Generate all-fields constructor only for errors and standard structures that have relevant fields. | |
bool | GetAutoLogon () |
Flag to determine whether or not the machine automatically logs on as Administrator. | |
void | SetAutoLogon (bool autoLogon) |
Flag to determine whether or not the machine automatically logs on as Administrator. | |
long | GetAutoLogonCount () |
If the GuiUnattended.autoLogon flag is set, then this property specifies the number of times the machine should automatically log on as Administrator. | |
void | SetAutoLogonCount (long autoLogonCount) |
If the GuiUnattended.autoLogon flag is set, then this property specifies the number of times the machine should automatically log on as Administrator. | |
char[] | GetPassword () |
The new administrator password for the machine. | |
void | SetPassword (char[] password) |
The new administrator password for the machine. | |
long | GetTimeZone () |
The time zone index for the virtual machine. | |
void | SetTimeZone (long timeZone) |
The time zone index for the virtual machine. | |
vmware.vapi.bindings.type.StructType | _GetType () |
vmware.vapi.data.StructValue | _GetDataValue () |
void | _Validate () |
bool | _HasTypeNameOf< T > () |
T | _ConvertTo< T > () |
override bool | Equals (object obj) |
override int | GetHashCode () |
override string | ToString () |
The GuiUnattended
class maps to the GuiUnattended key in the sysprep.xml answer file.
These values are plugged directly into the sysprep.xml file that VirtualCenter stores on the target virtual disk. For more detailed information about performing unattended installations, check https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx. This class was added in vSphere API 7.0.0.
vmware::vcenter::guest::GuiUnattended::GuiUnattended | ( | ) | [inline] |
Generate all-fields constructor only for errors and standard structures that have relevant fields.
Creates a default new instance.
T vmware::vcenter::guest::GuiUnattended::_ConvertTo< T > | ( | ) | [inline] |
T | : | vmware.vapi.bindings.IStructure |
vmware.vapi.data.StructValue vmware::vcenter::guest::GuiUnattended::_GetDataValue | ( | ) | [inline] |
vmware.vapi.bindings.type.StructType vmware::vcenter::guest::GuiUnattended::_GetType | ( | ) | [inline] |
bool vmware::vcenter::guest::GuiUnattended::_HasTypeNameOf< T > | ( | ) | [inline] |
T | : | vmware.vapi.bindings.IStructure |
void vmware::vcenter::guest::GuiUnattended::_Validate | ( | ) | [inline] |
override bool vmware::vcenter::guest::GuiUnattended::Equals | ( | object | obj | ) | [inline] |
bool vmware::vcenter::guest::GuiUnattended::GetAutoLogon | ( | ) | [inline] |
Flag to determine whether or not the machine automatically logs on as Administrator.
See the GuiUnattended.password property. If GuiUnattended.autoLogon flag is set, then GuiUnattended.password must not be null or the guest customization will fail. This attribute was added in vSphere API 7.0.0.
long vmware::vcenter::guest::GuiUnattended::GetAutoLogonCount | ( | ) | [inline] |
If the GuiUnattended.autoLogon flag is set, then this property specifies the number of times the machine should automatically log on as Administrator.
Generally it should be 1, but if the setup requires a number of reboots, you may want to increase it. This number may be determined by the list of commands. This attribute was added in vSphere API 7.0.0.
override int vmware::vcenter::guest::GuiUnattended::GetHashCode | ( | ) | [inline] |
char [] vmware::vcenter::guest::GuiUnattended::GetPassword | ( | ) | [inline] |
The new administrator password for the machine.
To specify that the password should be set to blank (that is, no password), leave it unset. This attribute was added in vSphere API 7.0.0.
long vmware::vcenter::guest::GuiUnattended::GetTimeZone | ( | ) | [inline] |
The time zone index for the virtual machine.
Numbers correspond to time zones at https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values. This attribute was added in vSphere API 7.0.0.
void vmware::vcenter::guest::GuiUnattended::SetAutoLogon | ( | bool | autoLogon | ) | [inline] |
Flag to determine whether or not the machine automatically logs on as Administrator.
See the GuiUnattended.password property. If GuiUnattended.autoLogon flag is set, then GuiUnattended.password must not be null or the guest customization will fail. This attribute was added in vSphere API 7.0.0.
void vmware::vcenter::guest::GuiUnattended::SetAutoLogonCount | ( | long | autoLogonCount | ) | [inline] |
If the GuiUnattended.autoLogon flag is set, then this property specifies the number of times the machine should automatically log on as Administrator.
Generally it should be 1, but if the setup requires a number of reboots, you may want to increase it. This number may be determined by the list of commands. This attribute was added in vSphere API 7.0.0.
void vmware::vcenter::guest::GuiUnattended::SetPassword | ( | char[] | password | ) | [inline] |
The new administrator password for the machine.
To specify that the password should be set to blank (that is, no password), leave it unset. This attribute was added in vSphere API 7.0.0.
void vmware::vcenter::guest::GuiUnattended::SetTimeZone | ( | long | timeZone | ) | [inline] |
The time zone index for the virtual machine.
Numbers correspond to time zones at https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values. This attribute was added in vSphere API 7.0.0.
override string vmware::vcenter::guest::GuiUnattended::ToString | ( | ) | [inline] |