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

The UserData class specifies the personal data pertaining to the user of the Windows guest operating system. More...

List of all members.

Classes

class  Builder
 Builder class for UserData. More...

Public Member Functions

 UserData ()
 Generate all-fields constructor only for errors and standard structures that have relevant fields.
vmware.vcenter.guest.HostnameGenerator GetComputerName ()
 The computer name of the (Windows) virtual machine.
void SetComputerName (vmware.vcenter.guest.HostnameGenerator computerName)
 The computer name of the (Windows) virtual machine.
string GetFullName ()
 Full name of the end user.
void SetFullName (string fullName)
 Full name of the end user.
string GetOrganization ()
 Name of the organization that owns the computer.
void SetOrganization (string organization)
 Name of the organization that owns the computer.
string GetProductKey ()
 The product Key to use for activating Windows guest operating system.
void SetProductKey (string productKey)
 The product Key to use for activating Windows guest operating system.
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 UserData class specifies the personal data pertaining to the user of the Windows guest operating system.

This class maps to the UserData key in the sysprep.xml answer file. These values are transferred directly into the sysprep.xml file that VirtualCenter stores on the target virtual disk. For more detailed information about performing unattended installation, check https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx. This class was added in vSphere API 7.0.0.


Constructor & Destructor Documentation

vmware::vcenter::guest::UserData::UserData ( ) [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::UserData::_ConvertTo< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
vmware.vapi.data.StructValue vmware::vcenter::guest::UserData::_GetDataValue ( ) [inline]
vmware.vapi.bindings.type.StructType vmware::vcenter::guest::UserData::_GetType ( ) [inline]
bool vmware::vcenter::guest::UserData::_HasTypeNameOf< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
void vmware::vcenter::guest::UserData::_Validate ( ) [inline]
override bool vmware::vcenter::guest::UserData::Equals ( object  obj) [inline]
vmware.vcenter.guest.HostnameGenerator vmware::vcenter::guest::UserData::GetComputerName ( ) [inline]

The computer name of the (Windows) virtual machine.

A computer name may contain letters (A-Z), numbers(0-9) and hyphens (-) but no spaces or periods (.). The name may not consist entirely of digits. A computer name is restricted to 15 characters in length. If the computer name is longer than 15 characters, it will be truncated to 15 characters. Check HostnameGenerator for various options. This attribute was added in vSphere API 7.0.0.

string vmware::vcenter::guest::UserData::GetFullName ( ) [inline]

Full name of the end user.

Note that this is not the username but full name specified in "Firstname Lastname" format. This attribute was added in vSphere API 7.0.0.

override int vmware::vcenter::guest::UserData::GetHashCode ( ) [inline]
string vmware::vcenter::guest::UserData::GetOrganization ( ) [inline]

Name of the organization that owns the computer.

This attribute was added in vSphere API 7.0.0.

string vmware::vcenter::guest::UserData::GetProductKey ( ) [inline]

The product Key to use for activating Windows guest operating system.

This attribute was added in vSphere API 7.0.0.

void vmware::vcenter::guest::UserData::SetComputerName ( vmware.vcenter.guest.HostnameGenerator  computerName) [inline]

The computer name of the (Windows) virtual machine.

A computer name may contain letters (A-Z), numbers(0-9) and hyphens (-) but no spaces or periods (.). The name may not consist entirely of digits. A computer name is restricted to 15 characters in length. If the computer name is longer than 15 characters, it will be truncated to 15 characters. Check HostnameGenerator for various options. This attribute was added in vSphere API 7.0.0.

void vmware::vcenter::guest::UserData::SetFullName ( string  fullName) [inline]

Full name of the end user.

Note that this is not the username but full name specified in "Firstname Lastname" format. This attribute was added in vSphere API 7.0.0.

void vmware::vcenter::guest::UserData::SetOrganization ( string  organization) [inline]

Name of the organization that owns the computer.

This attribute was added in vSphere API 7.0.0.

void vmware::vcenter::guest::UserData::SetProductKey ( string  productKey) [inline]

The product Key to use for activating Windows guest operating system.

This attribute was added in vSphere API 7.0.0.

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

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