Vcenter Guest HostnameGenerator

Vcenter Guest HostnameGenerator
Vcenter Guest HostnameGenerator

The Vcenter Guest HostnameGenerator schema specifies various mechanisms of generating the hostname for the guest inside the virtual machine while customization.

This schema was added in vSphere API 7.0.0.0.

JSON Example
{
    "type": "string",
    "fixed_name": "string",
    "prefix": "string"
}
string
type
Required

The type of the Name Generator

For more information see: Vcenter Guest HostnameGenerator Type.

This property was added in vSphere API 7.0.0.0.

string
fixed_name
Optional

The virtual machine name specified by the client.

This property was added in vSphere API 7.0.0.0.

This property is optional and it is only relevant when the value of type is Vcenter Guest HostnameGenerator Type.FIXED.

string
prefix
Optional

Base prefix, to which a unique number is appended.

This property was added in vSphere API 7.0.0.0.

This property is optional and it is only relevant when the value of type is Vcenter Guest HostnameGenerator Type.PREFIX.