Viewing docs for vSphere v4.16.3
published on Thursday, Feb 26, 2026 by Pulumi
published on Thursday, Feb 26, 2026 by Pulumi
Viewing docs for vSphere v4.16.3
published on Thursday, Feb 26, 2026 by Pulumi
published on Thursday, Feb 26, 2026 by Pulumi
The vsphere.GuestOsCustomization data source can be used to discover the
details about a customization specification for a guest operating system.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vsphere from "@pulumi/vsphere";
const datacenter = vsphere.getDatacenter({
name: "dc-01",
});
const template = datacenter.then(datacenter => vsphere.getVirtualMachine({
name: "windows-template",
datacenterId: datacenter.id,
}));
const windows = vsphere.getGuestOsCustomization({
name: "windows",
});
const vm = new vsphere.VirtualMachine("vm", {
templateUuid: template.then(template => template.id),
customizationSpec: [{
id: windows.then(windows => windows.id),
}],
});
import pulumi
import pulumi_vsphere as vsphere
datacenter = vsphere.get_datacenter(name="dc-01")
template = vsphere.get_virtual_machine(name="windows-template",
datacenter_id=datacenter.id)
windows = vsphere.get_guest_os_customization(name="windows")
vm = vsphere.VirtualMachine("vm",
template_uuid=template.id,
customization_spec=[{
"id": windows.id,
}])
package main
import (
"github.com/pulumi/pulumi-vsphere/sdk/v4/go/vsphere"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
datacenter, err := vsphere.LookupDatacenter(ctx, &vsphere.LookupDatacenterArgs{
Name: pulumi.StringRef("dc-01"),
}, nil)
if err != nil {
return err
}
template, err := vsphere.LookupVirtualMachine(ctx, &vsphere.LookupVirtualMachineArgs{
Name: pulumi.StringRef("windows-template"),
DatacenterId: pulumi.StringRef(datacenter.Id),
}, nil)
if err != nil {
return err
}
windows, err := vsphere.LookupGuestOsCustomization(ctx, &vsphere.LookupGuestOsCustomizationArgs{
Name: "windows",
}, nil)
if err != nil {
return err
}
_, err = vsphere.NewVirtualMachine(ctx, "vm", &vsphere.VirtualMachineArgs{
TemplateUuid: template.Id,
CustomizationSpec: []map[string]interface{}{
map[string]interface{}{
"id": windows.Id,
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using VSphere = Pulumi.VSphere;
return await Deployment.RunAsync(() =>
{
var datacenter = VSphere.GetDatacenter.Invoke(new()
{
Name = "dc-01",
});
var template = VSphere.GetVirtualMachine.Invoke(new()
{
Name = "windows-template",
DatacenterId = datacenter.Apply(getDatacenterResult => getDatacenterResult.Id),
});
var windows = VSphere.GetGuestOsCustomization.Invoke(new()
{
Name = "windows",
});
var vm = new VSphere.VirtualMachine("vm", new()
{
TemplateUuid = template.Apply(getVirtualMachineResult => getVirtualMachineResult.Id),
CustomizationSpec = new[]
{
{
{ "id", windows.Apply(getGuestOsCustomizationResult => getGuestOsCustomizationResult.Id) },
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vsphere.VsphereFunctions;
import com.pulumi.vsphere.inputs.GetDatacenterArgs;
import com.pulumi.vsphere.inputs.GetVirtualMachineArgs;
import com.pulumi.vsphere.inputs.GetGuestOsCustomizationArgs;
import com.pulumi.vsphere.VirtualMachine;
import com.pulumi.vsphere.VirtualMachineArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var datacenter = VsphereFunctions.getDatacenter(GetDatacenterArgs.builder()
.name("dc-01")
.build());
final var template = VsphereFunctions.getVirtualMachine(GetVirtualMachineArgs.builder()
.name("windows-template")
.datacenterId(datacenter.id())
.build());
final var windows = VsphereFunctions.getGuestOsCustomization(GetGuestOsCustomizationArgs.builder()
.name("windows")
.build());
var vm = new VirtualMachine("vm", VirtualMachineArgs.builder()
.templateUuid(template.id())
.customizationSpec(List.of(Map.of("id", windows.id())))
.build());
}
}
resources:
vm:
type: vsphere:VirtualMachine
properties:
templateUuid: ${template.id}
customizationSpec:
- id: ${windows.id}
variables:
datacenter:
fn::invoke:
function: vsphere:getDatacenter
arguments:
name: dc-01
template:
fn::invoke:
function: vsphere:getVirtualMachine
arguments:
name: windows-template
datacenterId: ${datacenter.id}
windows:
fn::invoke:
function: vsphere:getGuestOsCustomization
arguments:
name: windows
Using getGuestOsCustomization
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGuestOsCustomization(args: GetGuestOsCustomizationArgs, opts?: InvokeOptions): Promise<GetGuestOsCustomizationResult>
function getGuestOsCustomizationOutput(args: GetGuestOsCustomizationOutputArgs, opts?: InvokeOptions): Output<GetGuestOsCustomizationResult>def get_guest_os_customization(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGuestOsCustomizationResult
def get_guest_os_customization_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGuestOsCustomizationResult]func LookupGuestOsCustomization(ctx *Context, args *LookupGuestOsCustomizationArgs, opts ...InvokeOption) (*LookupGuestOsCustomizationResult, error)
func LookupGuestOsCustomizationOutput(ctx *Context, args *LookupGuestOsCustomizationOutputArgs, opts ...InvokeOption) LookupGuestOsCustomizationResultOutput> Note: This function is named LookupGuestOsCustomization in the Go SDK.
public static class GetGuestOsCustomization
{
public static Task<GetGuestOsCustomizationResult> InvokeAsync(GetGuestOsCustomizationArgs args, InvokeOptions? opts = null)
public static Output<GetGuestOsCustomizationResult> Invoke(GetGuestOsCustomizationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGuestOsCustomizationResult> getGuestOsCustomization(GetGuestOsCustomizationArgs args, InvokeOptions options)
public static Output<GetGuestOsCustomizationResult> getGuestOsCustomization(GetGuestOsCustomizationArgs args, InvokeOptions options)
fn::invoke:
function: vsphere:index/getGuestOsCustomization:getGuestOsCustomization
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the customization specification is the unique identifier per vCenter Server instance.
- Name string
- The name of the customization specification is the unique identifier per vCenter Server instance.
- name String
- The name of the customization specification is the unique identifier per vCenter Server instance.
- name string
- The name of the customization specification is the unique identifier per vCenter Server instance.
- name str
- The name of the customization specification is the unique identifier per vCenter Server instance.
- name String
- The name of the customization specification is the unique identifier per vCenter Server instance.
getGuestOsCustomization Result
The following output properties are available:
- Change
Version string - The number of last changed version to the customization specification.
- Description string
- The description for the customization specification.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update stringTime - The time of last modification to the customization specification.
- Name string
- Specs
List<Pulumi.
VSphere. Outputs. Get Guest Os Customization Spec> - Container object for the guest operating system properties to be customized. See virtual machine customizations
- Type string
- The type of customization specification: One among: Windows, Linux.
- Change
Version string - The number of last changed version to the customization specification.
- Description string
- The description for the customization specification.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update stringTime - The time of last modification to the customization specification.
- Name string
- Specs
[]Get
Guest Os Customization Spec - Container object for the guest operating system properties to be customized. See virtual machine customizations
- Type string
- The type of customization specification: One among: Windows, Linux.
- change
Version String - The number of last changed version to the customization specification.
- description String
- The description for the customization specification.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update StringTime - The time of last modification to the customization specification.
- name String
- specs
List<Get
Guest Os Customization Spec> - Container object for the guest operating system properties to be customized. See virtual machine customizations
- type String
- The type of customization specification: One among: Windows, Linux.
- change
Version string - The number of last changed version to the customization specification.
- description string
- The description for the customization specification.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Update stringTime - The time of last modification to the customization specification.
- name string
- specs
Get
Guest Os Customization Spec[] - Container object for the guest operating system properties to be customized. See virtual machine customizations
- type string
- The type of customization specification: One among: Windows, Linux.
- change_
version str - The number of last changed version to the customization specification.
- description str
- The description for the customization specification.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
update_ strtime - The time of last modification to the customization specification.
- name str
- specs
Sequence[Get
Guest Os Customization Spec] - Container object for the guest operating system properties to be customized. See virtual machine customizations
- type str
- The type of customization specification: One among: Windows, Linux.
- change
Version String - The number of last changed version to the customization specification.
- description String
- The description for the customization specification.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update StringTime - The time of last modification to the customization specification.
- name String
- specs List<Property Map>
- Container object for the guest operating system properties to be customized. See virtual machine customizations
- type String
- The type of customization specification: One among: Windows, Linux.
Supporting Types
GetGuestOsCustomizationSpec
- Dns
Server List<string>Lists - A list of DNS servers for a virtual network adapter with a static IP address.
- Dns
Suffix List<string>Lists - A list of DNS search domains to add to the DNS configuration on the virtual machine.
- Linux
Options List<Pulumi.VSphere. Inputs. Get Guest Os Customization Spec Linux Option> - A list of configuration options specific to Linux.
- Network
Interfaces List<Pulumi.VSphere. Inputs. Get Guest Os Customization Spec Network Interface> - A specification of network interface configuration options.
- Windows
Options List<Pulumi.VSphere. Inputs. Get Guest Os Customization Spec Windows Option> - A list of configuration options specific to Windows.
- Windows
Sysprep stringText - Use this option to specify use of a Windows Sysprep file.
- Dns
Server []stringLists - A list of DNS servers for a virtual network adapter with a static IP address.
- Dns
Suffix []stringLists - A list of DNS search domains to add to the DNS configuration on the virtual machine.
- Linux
Options []GetGuest Os Customization Spec Linux Option - A list of configuration options specific to Linux.
- Network
Interfaces []GetGuest Os Customization Spec Network Interface - A specification of network interface configuration options.
- Windows
Options []GetGuest Os Customization Spec Windows Option - A list of configuration options specific to Windows.
- Windows
Sysprep stringText - Use this option to specify use of a Windows Sysprep file.
- dns
Server List<String>Lists - A list of DNS servers for a virtual network adapter with a static IP address.
- dns
Suffix List<String>Lists - A list of DNS search domains to add to the DNS configuration on the virtual machine.
- linux
Options List<GetGuest Os Customization Spec Linux Option> - A list of configuration options specific to Linux.
- network
Interfaces List<GetGuest Os Customization Spec Network Interface> - A specification of network interface configuration options.
- windows
Options List<GetGuest Os Customization Spec Windows Option> - A list of configuration options specific to Windows.
- windows
Sysprep StringText - Use this option to specify use of a Windows Sysprep file.
- dns
Server string[]Lists - A list of DNS servers for a virtual network adapter with a static IP address.
- dns
Suffix string[]Lists - A list of DNS search domains to add to the DNS configuration on the virtual machine.
- linux
Options GetGuest Os Customization Spec Linux Option[] - A list of configuration options specific to Linux.
- network
Interfaces GetGuest Os Customization Spec Network Interface[] - A specification of network interface configuration options.
- windows
Options GetGuest Os Customization Spec Windows Option[] - A list of configuration options specific to Windows.
- windows
Sysprep stringText - Use this option to specify use of a Windows Sysprep file.
- dns_
server_ Sequence[str]lists - A list of DNS servers for a virtual network adapter with a static IP address.
- dns_
suffix_ Sequence[str]lists - A list of DNS search domains to add to the DNS configuration on the virtual machine.
- linux_
options Sequence[GetGuest Os Customization Spec Linux Option] - A list of configuration options specific to Linux.
- network_
interfaces Sequence[GetGuest Os Customization Spec Network Interface] - A specification of network interface configuration options.
- windows_
options Sequence[GetGuest Os Customization Spec Windows Option] - A list of configuration options specific to Windows.
- windows_
sysprep_ strtext - Use this option to specify use of a Windows Sysprep file.
- dns
Server List<String>Lists - A list of DNS servers for a virtual network adapter with a static IP address.
- dns
Suffix List<String>Lists - A list of DNS search domains to add to the DNS configuration on the virtual machine.
- linux
Options List<Property Map> - A list of configuration options specific to Linux.
- network
Interfaces List<Property Map> - A specification of network interface configuration options.
- windows
Options List<Property Map> - A list of configuration options specific to Windows.
- windows
Sysprep StringText - Use this option to specify use of a Windows Sysprep file.
GetGuestOsCustomizationSpecLinuxOption
- Domain string
- The domain name for this virtual machine.
- Host
Name string - The hostname for this virtual machine.
- Hw
Clock boolUtc - Specifies whether or not the hardware clock should be in UTC or not.
- Script
Text string - The customization script to run before and or after guest customization.
- Time
Zone string - Set the time zone on the guest operating system. For a list of the acceptable values for Linux customization specifications, see List of Time Zone Database Zones on Wikipedia.
- Domain string
- The domain name for this virtual machine.
- Host
Name string - The hostname for this virtual machine.
- Hw
Clock boolUtc - Specifies whether or not the hardware clock should be in UTC or not.
- Script
Text string - The customization script to run before and or after guest customization.
- Time
Zone string - Set the time zone on the guest operating system. For a list of the acceptable values for Linux customization specifications, see List of Time Zone Database Zones on Wikipedia.
- domain String
- The domain name for this virtual machine.
- host
Name String - The hostname for this virtual machine.
- hw
Clock BooleanUtc - Specifies whether or not the hardware clock should be in UTC or not.
- script
Text String - The customization script to run before and or after guest customization.
- time
Zone String - Set the time zone on the guest operating system. For a list of the acceptable values for Linux customization specifications, see List of Time Zone Database Zones on Wikipedia.
- domain string
- The domain name for this virtual machine.
- host
Name string - The hostname for this virtual machine.
- hw
Clock booleanUtc - Specifies whether or not the hardware clock should be in UTC or not.
- script
Text string - The customization script to run before and or after guest customization.
- time
Zone string - Set the time zone on the guest operating system. For a list of the acceptable values for Linux customization specifications, see List of Time Zone Database Zones on Wikipedia.
- domain str
- The domain name for this virtual machine.
- host_
name str - The hostname for this virtual machine.
- hw_
clock_ boolutc - Specifies whether or not the hardware clock should be in UTC or not.
- script_
text str - The customization script to run before and or after guest customization.
- time_
zone str - Set the time zone on the guest operating system. For a list of the acceptable values for Linux customization specifications, see List of Time Zone Database Zones on Wikipedia.
- domain String
- The domain name for this virtual machine.
- host
Name String - The hostname for this virtual machine.
- hw
Clock BooleanUtc - Specifies whether or not the hardware clock should be in UTC or not.
- script
Text String - The customization script to run before and or after guest customization.
- time
Zone String - Set the time zone on the guest operating system. For a list of the acceptable values for Linux customization specifications, see List of Time Zone Database Zones on Wikipedia.
GetGuestOsCustomizationSpecNetworkInterface
- Dns
Domain string - A DNS search domain to add to the DNS configuration on the virtual machine.
- Dns
Server List<string>Lists - Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
- Ipv4Address string
- The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
- Ipv4Netmask int
- The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
- Ipv6Address string
- The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
- Ipv6Netmask int
- The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
- Dns
Domain string - A DNS search domain to add to the DNS configuration on the virtual machine.
- Dns
Server []stringLists - Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
- Ipv4Address string
- The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
- Ipv4Netmask int
- The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
- Ipv6Address string
- The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
- Ipv6Netmask int
- The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
- dns
Domain String - A DNS search domain to add to the DNS configuration on the virtual machine.
- dns
Server List<String>Lists - Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
- ipv4Address String
- The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
- ipv4Netmask Integer
- The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
- ipv6Address String
- The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
- ipv6Netmask Integer
- The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
- dns
Domain string - A DNS search domain to add to the DNS configuration on the virtual machine.
- dns
Server string[]Lists - Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
- ipv4Address string
- The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
- ipv4Netmask number
- The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
- ipv6Address string
- The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
- ipv6Netmask number
- The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
- dns_
domain str - A DNS search domain to add to the DNS configuration on the virtual machine.
- dns_
server_ Sequence[str]lists - Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
- ipv4_
address str - The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
- ipv4_
netmask int - The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
- ipv6_
address str - The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
- ipv6_
netmask int - The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
- dns
Domain String - A DNS search domain to add to the DNS configuration on the virtual machine.
- dns
Server List<String>Lists - Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
- ipv4Address String
- The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
- ipv4Netmask Number
- The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
- ipv6Address String
- The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
- ipv6Netmask Number
- The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
GetGuestOsCustomizationSpecWindowsOption
- Admin
Password string - The new administrator password for this virtual machine.
- Auto
Logon bool - Specifies whether or not the guest operating system automatically logs on as Administrator.
- Auto
Logon intCount - Specifies how many times the guest operating system should auto-logon the Administrator account when
auto_logonistrue. - Computer
Name string - The hostname for this virtual machine.
- Domain
Admin stringUser - The user account of the domain administrator used to join this virtual machine to the domain.
- Domain
Ou string - The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
- Full
Name string - The full name of the user of this virtual machine.
- Join
Domain string - The Active Directory domain for the virtual machine to join.
- Organization
Name string - The organization name this virtual machine is being installed for.
- Product
Key string - The product key for this virtual machine.
- Run
Once List<string>Command Lists - A list of commands to run at first user logon, after guest customization.
- Time
Zone int - The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
- Workgroup string
- The workgroup for this virtual machine if not joining an Active Directory domain.
- Domain
Admin stringPassword - The user account used to join this virtual machine to the Active Directory domain.
- Admin
Password string - The new administrator password for this virtual machine.
- Auto
Logon bool - Specifies whether or not the guest operating system automatically logs on as Administrator.
- Auto
Logon intCount - Specifies how many times the guest operating system should auto-logon the Administrator account when
auto_logonistrue. - Computer
Name string - The hostname for this virtual machine.
- Domain
Admin stringUser - The user account of the domain administrator used to join this virtual machine to the domain.
- Domain
Ou string - The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
- Full
Name string - The full name of the user of this virtual machine.
- Join
Domain string - The Active Directory domain for the virtual machine to join.
- Organization
Name string - The organization name this virtual machine is being installed for.
- Product
Key string - The product key for this virtual machine.
- Run
Once []stringCommand Lists - A list of commands to run at first user logon, after guest customization.
- Time
Zone int - The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
- Workgroup string
- The workgroup for this virtual machine if not joining an Active Directory domain.
- Domain
Admin stringPassword - The user account used to join this virtual machine to the Active Directory domain.
- admin
Password String - The new administrator password for this virtual machine.
- auto
Logon Boolean - Specifies whether or not the guest operating system automatically logs on as Administrator.
- auto
Logon IntegerCount - Specifies how many times the guest operating system should auto-logon the Administrator account when
auto_logonistrue. - computer
Name String - The hostname for this virtual machine.
- domain
Admin StringUser - The user account of the domain administrator used to join this virtual machine to the domain.
- domain
Ou String - The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
- full
Name String - The full name of the user of this virtual machine.
- join
Domain String - The Active Directory domain for the virtual machine to join.
- organization
Name String - The organization name this virtual machine is being installed for.
- product
Key String - The product key for this virtual machine.
- run
Once List<String>Command Lists - A list of commands to run at first user logon, after guest customization.
- time
Zone Integer - The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
- workgroup String
- The workgroup for this virtual machine if not joining an Active Directory domain.
- domain
Admin StringPassword - The user account used to join this virtual machine to the Active Directory domain.
- admin
Password string - The new administrator password for this virtual machine.
- auto
Logon boolean - Specifies whether or not the guest operating system automatically logs on as Administrator.
- auto
Logon numberCount - Specifies how many times the guest operating system should auto-logon the Administrator account when
auto_logonistrue. - computer
Name string - The hostname for this virtual machine.
- domain
Admin stringUser - The user account of the domain administrator used to join this virtual machine to the domain.
- domain
Ou string - The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
- full
Name string - The full name of the user of this virtual machine.
- join
Domain string - The Active Directory domain for the virtual machine to join.
- organization
Name string - The organization name this virtual machine is being installed for.
- product
Key string - The product key for this virtual machine.
- run
Once string[]Command Lists - A list of commands to run at first user logon, after guest customization.
- time
Zone number - The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
- workgroup string
- The workgroup for this virtual machine if not joining an Active Directory domain.
- domain
Admin stringPassword - The user account used to join this virtual machine to the Active Directory domain.
- admin_
password str - The new administrator password for this virtual machine.
- auto_
logon bool - Specifies whether or not the guest operating system automatically logs on as Administrator.
- auto_
logon_ intcount - Specifies how many times the guest operating system should auto-logon the Administrator account when
auto_logonistrue. - computer_
name str - The hostname for this virtual machine.
- domain_
admin_ struser - The user account of the domain administrator used to join this virtual machine to the domain.
- domain_
ou str - The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
- full_
name str - The full name of the user of this virtual machine.
- join_
domain str - The Active Directory domain for the virtual machine to join.
- organization_
name str - The organization name this virtual machine is being installed for.
- product_
key str - The product key for this virtual machine.
- run_
once_ Sequence[str]command_ lists - A list of commands to run at first user logon, after guest customization.
- time_
zone int - The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
- workgroup str
- The workgroup for this virtual machine if not joining an Active Directory domain.
- domain_
admin_ strpassword - The user account used to join this virtual machine to the Active Directory domain.
- admin
Password String - The new administrator password for this virtual machine.
- auto
Logon Boolean - Specifies whether or not the guest operating system automatically logs on as Administrator.
- auto
Logon NumberCount - Specifies how many times the guest operating system should auto-logon the Administrator account when
auto_logonistrue. - computer
Name String - The hostname for this virtual machine.
- domain
Admin StringUser - The user account of the domain administrator used to join this virtual machine to the domain.
- domain
Ou String - The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
- full
Name String - The full name of the user of this virtual machine.
- join
Domain String - The Active Directory domain for the virtual machine to join.
- organization
Name String - The organization name this virtual machine is being installed for.
- product
Key String - The product key for this virtual machine.
- run
Once List<String>Command Lists - A list of commands to run at first user logon, after guest customization.
- time
Zone Number - The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
- workgroup String
- The workgroup for this virtual machine if not joining an Active Directory domain.
- domain
Admin StringPassword - The user account used to join this virtual machine to the Active Directory domain.
Package Details
- Repository
- vSphere pulumi/pulumi-vsphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vsphereTerraform Provider.
Viewing docs for vSphere v4.16.3
published on Thursday, Feb 26, 2026 by Pulumi
published on Thursday, Feb 26, 2026 by Pulumi
