VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::guest::WindowsSysprep Class Reference

The WindowsSysprep class provides all the settings like user details, administrator details, etc that need to applied for a windows guest operating system during customization. More...

List of all members.

Classes

class  Builder
 Builder class for WindowsSysprep. More...

Public Member Functions

 WindowsSysprep ()
 Generate all-fields constructor only for errors and standard structures that have relevant fields.
global::System.Collections.Generic.List
< string > 
GetGuiRunOnceCommands ()
 A list of commands to run at first user logon, after customizing the guest.
void SetGuiRunOnceCommands (global::System.Collections.Generic.List< string > guiRunOnceCommands)
 A list of commands to run at first user logon, after customizing the guest.
vmware.vcenter.guest.UserData GetUserData ()
 Personal data pertaining to the owner of the virtual machine.
void SetUserData (vmware.vcenter.guest.UserData userData)
 Personal data pertaining to the owner of the virtual machine.
vmware.vcenter.guest.Domain GetDomain ()
 Information needed to join a workgroup or domain.
void SetDomain (vmware.vcenter.guest.Domain domain)
 Information needed to join a workgroup or domain.
vmware.vcenter.guest.GuiUnattended GetGuiUnattended ()
 Information related to unattended installation.
void SetGuiUnattended (vmware.vcenter.guest.GuiUnattended guiUnattended)
 Information related to unattended installation.
vmware.vapi.bindings.type.StructType _GetType ()
vmware.vapi.data.StructValue _GetDataValue ()
void _Validate ()
bool _HasTypeNameOf< T > ()
_ConvertTo< T > ()
override bool Equals (object obj)
override int GetHashCode ()
override string ToString ()

Detailed Description

The WindowsSysprep class provides all the settings like user details, administrator details, etc that need to applied for a windows guest operating system during customization.

This class was added in vSphere API 7.0.0.


Constructor & Destructor Documentation

vmware::vcenter::guest::WindowsSysprep::WindowsSysprep ( ) [inline]

Generate all-fields constructor only for errors and standard structures that have relevant fields.

Creates a default new instance.


Member Function Documentation

T vmware::vcenter::guest::WindowsSysprep::_ConvertTo< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
vmware.vapi.data.StructValue vmware::vcenter::guest::WindowsSysprep::_GetDataValue ( ) [inline]
vmware.vapi.bindings.type.StructType vmware::vcenter::guest::WindowsSysprep::_GetType ( ) [inline]
bool vmware::vcenter::guest::WindowsSysprep::_HasTypeNameOf< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
void vmware::vcenter::guest::WindowsSysprep::_Validate ( ) [inline]
override bool vmware::vcenter::guest::WindowsSysprep::Equals ( object  obj) [inline]
vmware.vcenter.guest.Domain vmware::vcenter::guest::WindowsSysprep::GetDomain ( ) [inline]

Information needed to join a workgroup or domain.

This attribute was added in vSphere API 7.0.0.

global::System.Collections.Generic.List<string> vmware::vcenter::guest::WindowsSysprep::GetGuiRunOnceCommands ( ) [inline]

A list of commands to run at first user logon, after customizing the guest.

These commands are directly mapped to the GuiRunOnce key in the sysprep.xml answer file. These commands are transferred into the sysprep.xml file that VirtualCenter stores on the target virtual disk. For more information about performing unattended installation, check https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx The commands listed here ar executed when a user logs on the first time after customization completes. The logon may be driven by GuiUnattended.autoLogon setting. These commands are directly mapped to the GuiRunOnce key in the. This attribute was added in vSphere API 7.0.0.

vmware.vcenter.guest.GuiUnattended vmware::vcenter::guest::WindowsSysprep::GetGuiUnattended ( ) [inline]

Information related to unattended installation.

This attribute was added in vSphere API 7.0.0.

override int vmware::vcenter::guest::WindowsSysprep::GetHashCode ( ) [inline]
vmware.vcenter.guest.UserData vmware::vcenter::guest::WindowsSysprep::GetUserData ( ) [inline]

Personal data pertaining to the owner of the virtual machine.

This attribute was added in vSphere API 7.0.0.

void vmware::vcenter::guest::WindowsSysprep::SetDomain ( vmware.vcenter.guest.Domain  domain) [inline]

Information needed to join a workgroup or domain.

This attribute was added in vSphere API 7.0.0.

void vmware::vcenter::guest::WindowsSysprep::SetGuiRunOnceCommands ( global::System.Collections.Generic.List< string >  guiRunOnceCommands) [inline]

A list of commands to run at first user logon, after customizing the guest.

These commands are directly mapped to the GuiRunOnce key in the sysprep.xml answer file. These commands are transferred into the sysprep.xml file that VirtualCenter stores on the target virtual disk. For more information about performing unattended installation, check https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx The commands listed here ar executed when a user logs on the first time after customization completes. The logon may be driven by GuiUnattended.autoLogon setting. These commands are directly mapped to the GuiRunOnce key in the. This attribute was added in vSphere API 7.0.0.

void vmware::vcenter::guest::WindowsSysprep::SetGuiUnattended ( vmware.vcenter.guest.GuiUnattended  guiUnattended) [inline]

Information related to unattended installation.

This attribute was added in vSphere API 7.0.0.

void vmware::vcenter::guest::WindowsSysprep::SetUserData ( vmware.vcenter.guest.UserData  userData) [inline]

Personal data pertaining to the owner of the virtual machine.

This attribute was added in vSphere API 7.0.0.

override string vmware::vcenter::guest::WindowsSysprep::ToString ( ) [inline]

The documentation for this class was generated from the following file: