enum

package
v0.0.0-...-2670f12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2015 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

vSphere enumerations converted to Go constants

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Generated by https://github.com/cloudescape/govsphere Do not manually edit it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionParameter

type ActionParameter string

These constant strings can be used as parameters in user-specified email subject and body templates as well as in scripts. The action processor in VirtualCenter substitutes the run-time values for the parameters.

For example, an email subject provided by the client could be the string: "Alarm - {alarmName} Description:\n{eventDescription}". Or a script action provided could be: "myScript {alarmName}"

const (

	// The object of the triggering alarm.
	Alarm_ActionParameter ActionParameter = "alarm"

	// The name of the triggering alarm.
	AlarmName_ActionParameter ActionParameter = "alarmName"

	// A summary of declarations made during the triggering of the alarm.
	DeclaringSummary_ActionParameter ActionParameter = "declaringSummary"

	// The event description.
	EventDescription_ActionParameter ActionParameter = "eventDescription"

	// The status after the alarm is triggered.
	NewStatus_ActionParameter ActionParameter = "newStatus"

	// The status prior to the alarm being triggered.
	OldStatus_ActionParameter ActionParameter = "oldStatus"

	// The object of the entity where the alarm is assocaited.
	Target_ActionParameter ActionParameter = "target"

	// The name of the entity where the alarm is triggered.
	TargetName_ActionParameter ActionParameter = "targetName"

	// A summary of information involved in triggering the alarm.
	TriggeringSummary_ActionParameter ActionParameter = "triggeringSummary"
)

type ActionType

type ActionType string

Pre-defined constants for possible action types. Virtual Center uses this information to coordinate with the clients.

const (

	// Host entering maintenance mode action type
	//
	// Since vSphere API 5.0
	HostMaintenanceV1_ActionType ActionType = "HostMaintenanceV1"

	// Host power action type
	HostPowerV1_ActionType ActionType = "HostPowerV1"

	// Migration action type
	MigrationV1_ActionType ActionType = "MigrationV1"

	// Storage migration action type
	//
	// Since vSphere API 5.0
	StorageMigrationV1_ActionType ActionType = "StorageMigrationV1"

	// Initial placement action for a virtual machine or a virtual disk
	//
	// Since vSphere API 5.0
	StoragePlacementV1_ActionType ActionType = "StoragePlacementV1"

	// Virtual machine power action type
	VmPowerV1_ActionType ActionType = "VmPowerV1"
)

type AffinityType

type AffinityType string

Types of affinities.

const (
	Cpu_AffinityType AffinityType = "cpu"

	Memory_AffinityType AffinityType = "memory"
)

type AgentInstallFailedReason

type AgentInstallFailedReason string
const (

	// The agent was installed but did not respond to requests.
	AgentNotReachable_AgentInstallFailedReason AgentInstallFailedReason = "AgentNotReachable"

	// The agent was installed but is not running.
	AgentNotRunning_AgentInstallFailedReason AgentInstallFailedReason = "AgentNotRunning"

	// Failed to upload the agent installer.
	AgentUploadFailed_AgentInstallFailedReason AgentInstallFailedReason = "AgentUploadFailed"

	// The agent upload took too long.
	AgentUploadTimedout_AgentInstallFailedReason AgentInstallFailedReason = "AgentUploadTimedout"

	// The agent install took too long.
	InstallTimedout_AgentInstallFailedReason AgentInstallFailedReason = "InstallTimedout"

	// There is not enough storage space on the host to install the agent.
	NotEnoughSpaceOnDevice_AgentInstallFailedReason AgentInstallFailedReason = "NotEnoughSpaceOnDevice"

	// Failed to initialize the upgrade directory on the host.
	PrepareToUpgradeFailed_AgentInstallFailedReason AgentInstallFailedReason = "PrepareToUpgradeFailed"

	// The signature verification for the installer failed.
	SignatureVerificationFailed_AgentInstallFailedReason AgentInstallFailedReason = "SignatureVerificationFailed"

	// The agent installer failed for an unknown reason.
	UnknownInstallerError_AgentInstallFailedReason AgentInstallFailedReason = "UnknownInstallerError"
)

type ArrayUpdateOperation

type ArrayUpdateOperation string

This list specifies the type of operation being performed on the array.

const (

	// indicates an addition to the array.
	Add_ArrayUpdateOperation ArrayUpdateOperation = "add"

	// indicates changes to an element in the array.
	Edit_ArrayUpdateOperation ArrayUpdateOperation = "edit"

	// indicates the removal of an element in the
	// array. In this case the key field must contain the key of the element
	// to be removed.
	Remove_ArrayUpdateOperation ArrayUpdateOperation = "remove"
)

type AutoStartAction

type AutoStartAction string
const (

	// The guest operating system for a virtual machine is shut down when that
	// virtual machine in next in the auto-stop order.
	GuestShutdown_AutoStartAction AutoStartAction = "guestShutdown"

	// No action is taken for this virtual machine. This virtual machine is
	// not a part of the auto-start sequence. This can be used for both auto-start
	// and auto-start settings.
	None_AutoStartAction AutoStartAction = "none"

	// This virtual machine is powered off when it is next in the auto-stop order.
	// This is the default stopAction.
	PowerOff_AutoStartAction AutoStartAction = "powerOff"

	// This virtual machine is powered on when it is next in the auto-start order.
	PowerOn_AutoStartAction AutoStartAction = "powerOn"

	// This virtual machine is suspended when it is next in the auto-stop order.
	Suspend_AutoStartAction AutoStartAction = "suspend"

	// The default system action is taken for this virtual machine when it is next in
	// the auto-start order. This can be used for both auto-start and auto-start
	// settings.
	SystemDefault_AutoStartAction AutoStartAction = "systemDefault"
)

type AutoStartWaitHeartbeatSetting

type AutoStartWaitHeartbeatSetting string

Determines if the virtual machine should start after receiving a heartbeat, ignore heartbeats and start after the startDelay has elapsed, or follow the system default before powering on. When a virtual machine is next in the start order, the system either waits a specified period of time for a virtual machine to power on or it waits until it receives a successful heartbeat from a powered on virtual machine. By default, this is set to no.

const (

	// The system does not wait to receive a heartbeat before powering on the next
	// machine in the order. This is the default setting.
	No_AutoStartWaitHeartbeatSetting AutoStartWaitHeartbeatSetting = "no"

	// The system uses the default value to determine whether or not to wait to
	// receive a heartbeat before powering on the next machine in the order.
	SystemDefault_AutoStartWaitHeartbeatSetting AutoStartWaitHeartbeatSetting = "systemDefault"

	// The system waits until receiving a heartbeat before powering on the next
	// machine in the order.
	Yes_AutoStartWaitHeartbeatSetting AutoStartWaitHeartbeatSetting = "yes"
)

type CannotMoveFaultToleranceVmMoveType

type CannotMoveFaultToleranceVmMoveType string
const (

	// Move out of the cluster
	Cluster_CannotMoveFaultToleranceVmMoveType CannotMoveFaultToleranceVmMoveType = "cluster"

	// Move out of the resouce pool
	ResourcePool_CannotMoveFaultToleranceVmMoveType CannotMoveFaultToleranceVmMoveType = "resourcePool"
)

type CannotPowerOffVmInClusterOperation

type CannotPowerOffVmInClusterOperation string
const (

	// guest shutdown
	GuestShutdown_CannotPowerOffVmInClusterOperation CannotPowerOffVmInClusterOperation = "guestShutdown"

	// guest suspend
	GuestSuspend_CannotPowerOffVmInClusterOperation CannotPowerOffVmInClusterOperation = "guestSuspend"

	// power off
	PowerOff_CannotPowerOffVmInClusterOperation CannotPowerOffVmInClusterOperation = "powerOff"

	// suspend
	Suspend_CannotPowerOffVmInClusterOperation CannotPowerOffVmInClusterOperation = "suspend"
)

type CannotUseNetworkReason

type CannotUseNetworkReason string
const (

	// Source and destination DVS do not have same version or vendor
	MismatchedDvsVersionOrVendor_CannotUseNetworkReason CannotUseNetworkReason = "MismatchedDvsVersionOrVendor"

	// Source and destination networks do not have same security policies
	MismatchedNetworkPolicies_CannotUseNetworkReason CannotUseNetworkReason = "MismatchedNetworkPolicies"

	// Network does not support reservation
	NetworkReservationNotSupported_CannotUseNetworkReason CannotUseNetworkReason = "NetworkReservationNotSupported"

	// VMotion to unsupported destination network type
	VMotionToUnsupportedNetworkType_CannotUseNetworkReason CannotUseNetworkReason = "VMotionToUnsupportedNetworkType"
)

type CheckTestType

type CheckTestType string

The types of tests which can requested by any of the methods in either VirtualMachineCompatibilityChecker or VirtualMachineProvisioningChecker.

const (

	// Tests that check that the
	// destination host or cluster can see the datastores where the virtual
	// machine's virtual disks are going to be located. The destination
	// resource pool is irrelevant.
	DatastoreTests_CheckTestType CheckTestType = "datastoreTests"

	// Tests that examine both the virtual
	// machine and the destination host or cluster; the destination
	// resource pool is irrelevant. This set excludes tests that fall
	// into the datastoreTests group.
	HostTests_CheckTestType CheckTestType = "hostTests"

	// Tests that check that the
	// destination host or cluster can see the networks that the virtual
	// machine's virtual nic devices are going to be connected.
	//
	// Since vSphere API 5.5
	NetworkTests_CheckTestType CheckTestType = "networkTests"

	// Tests that check that the destination resource
	// pool can support the virtual machine if it is powered on. The
	// destination host or cluster is relevant because it will affect the
	// amount of overhead memory required to run the virtual machine.
	ResourcePoolTests_CheckTestType CheckTestType = "resourcePoolTests"

	// Tests that examine only the configuration
	// of the virtual machine and its current host; the destination
	// resource pool and host or cluster are irrelevant.
	SourceTests_CheckTestType CheckTestType = "sourceTests"
)

type ClusterDasAamNodeStateDasState

type ClusterDasAamNodeStateDasState string

The ClusterDasAamNodeStateDasState enumerated type defines values for host HA configuration and runtime state properties (configState and runtimeState).

const (

	// The HA agent has been shut down.
	AgentShutdown_ClusterDasAamNodeStateDasState ClusterDasAamNodeStateDasState = "agentShutdown"

	// HA configuration is in progress.
	Configuring_ClusterDasAamNodeStateDasState ClusterDasAamNodeStateDasState = "configuring"

	// There is an error condition. This can represent a configuration
	// error or a host agent runtime error.
	Error_ClusterDasAamNodeStateDasState ClusterDasAamNodeStateDasState = "error"

	// HA agents have been installed but are not running on the the host.
	Initialized_ClusterDasAamNodeStateDasState ClusterDasAamNodeStateDasState = "initialized"

	// The host is not reachable. This can represent a host failure
	// or an isolated host.
	NodeFailed_ClusterDasAamNodeStateDasState ClusterDasAamNodeStateDasState = "nodeFailed"

	// HA agent is running on this host.
	Running_ClusterDasAamNodeStateDasState ClusterDasAamNodeStateDasState = "running"

	// HA configuration is being removed.
	Unconfiguring_ClusterDasAamNodeStateDasState ClusterDasAamNodeStateDasState = "unconfiguring"

	// HA has never been enabled on the the host.
	Uninitialized_ClusterDasAamNodeStateDasState ClusterDasAamNodeStateDasState = "uninitialized"
)

type ClusterDasConfigInfoHBDatastoreCandidate

type ClusterDasConfigInfoHBDatastoreCandidate string

The policy to determine the candidates from which vCenter Server can choose heartbeat datastores.

const (

	// vCenter Server chooses heartbeat datastores from all the feasible ones,
	// i.e., the datastores that are accessible to more than one host in
	// the cluster. The choice will be made without giving preference to those
	// specified by the user (see heartbeatDatastore).
	AllFeasibleDs_ClusterDasConfigInfoHBDatastoreCandidate ClusterDasConfigInfoHBDatastoreCandidate = "allFeasibleDs"

	// vCenter Server chooses heartbeat datastores from all the feasible ones
	// while giving preference to those specified by the user (see heartbeatDatastore).
	// More specifically, the datastores not included in heartbeatDatastore will be
	// chosen if and only if the specified ones are not sufficient.
	AllFeasibleDsWithUserPreference_ClusterDasConfigInfoHBDatastoreCandidate ClusterDasConfigInfoHBDatastoreCandidate = "allFeasibleDsWithUserPreference"

	// vCenter Server chooses heartbeat datastores from the set specified
	// by the user (see heartbeatDatastore). More specifically,
	// datastores not included in the set will not be chosen. Note that if
	// heartbeatDatastore is empty, datastore heartbeating will
	// be disabled for HA.
	UserSelectedDs_ClusterDasConfigInfoHBDatastoreCandidate ClusterDasConfigInfoHBDatastoreCandidate = "userSelectedDs"
)

type ClusterDasConfigInfoServiceState

type ClusterDasConfigInfoServiceState string

Possible states of an HA service. All services support the disabled and enabled states.

const (

	// HA service is disabled.
	Disabled_ClusterDasConfigInfoServiceState ClusterDasConfigInfoServiceState = "disabled"

	// HA service is enabled.
	Enabled_ClusterDasConfigInfoServiceState ClusterDasConfigInfoServiceState = "enabled"
)

type ClusterDasConfigInfoVmMonitoringState

type ClusterDasConfigInfoVmMonitoringState string

The ClusterDasConfigInfoVmMonitoringState enum defines values that indicate the state of Virtual Machine Health Monitoring. Health Monitoring uses the vmTools (guest) and application agent heartbeat modules. You can configure HA to respond to heartbeat failures of either one or both modules. You can also disable the HA response to heartbeat failures.

• To set the cluster default for health monitoring, use the ClusterConfigSpecEx.dasConfig.vmMonitoring property.

• To set health monitoring for a virtual machine, use the ClusterConfigSpecEx.dasVmConfigSpec.info.dasSettings.vmToolsMonitoringSettings property.

• To retrieve the current state of health monitoring (cluster setting), use the ClusterConfigInfoEx.dasConfig.vmMonitoring property.

• To retrieve the current state of health monitoring for a virtual machine, use the ClusterConfigInfoEx.dasVmConfig[].dasSettings.vmToolsMonitoringSettings.vmMonitoring property.

const (

	// HA response to both guest and application heartbeat failure is enabled.
	//
	// To retrieve the guest heartbeat status, use the
	// VirtualMachine.guestHeartbeatStatus
	// property.
	// To retrieve the application heartbeat status, use the
	// GuestInfo.appHeartbeatStatus
	// property.
	VmAndAppMonitoring_ClusterDasConfigInfoVmMonitoringState ClusterDasConfigInfoVmMonitoringState = "vmAndAppMonitoring"

	// Virtual machine health monitoring is disabled. In this state,
	// HA response to guest and application heartbeat failures are disabled.
	VmMonitoringDisabled_ClusterDasConfigInfoVmMonitoringState ClusterDasConfigInfoVmMonitoringState = "vmMonitoringDisabled"

	// HA response to guest heartbeat failure is enabled.
	// To retrieve the guest heartbeat status, use the
	// VirtualMachine.guestHeartbeatStatus
	// property.
	VmMonitoringOnly_ClusterDasConfigInfoVmMonitoringState ClusterDasConfigInfoVmMonitoringState = "vmMonitoringOnly"
)

type ClusterDasFdmAvailabilityState

type ClusterDasFdmAvailabilityState string

The ClusterDasFdmAvailabilityState enumeration describes the availability states of hosts in a vSphere HA cluster. In the HA architecture, a agent called the Fault Domain Manager runs on each active host. These agents elect a master and the others become its slaves. The availability state assigned to a given host is determined from information reported by the Fault Domain Manager running on the host, by a Fault Domain Manager that has been elected master, and by vCenter Server. See ClusterDasFdmHostState for more information about the vSphere HA architecture.

const (

	// The normal operating state for a slave host. In this state,
	// the host is exchanging heartbeats with a master over
	// the management network, and is thus connected to it. If
	// there is a management network partition, the slave will be
	// in this state only if it is in the same partition as the master.
	// This state is reported by the master of a slave host.
	ConnectedToMaster_ClusterDasFdmAvailabilityState ClusterDasFdmAvailabilityState = "connectedToMaster"

	// The Fault Domain Manager on the host has been initialized and
	// the host is either waiting to join the existing master or
	// is participating in an election for a new master. This state
	// is reported by vCenter Server or by the host itself.
	Election_ClusterDasFdmAvailabilityState ClusterDasFdmAvailabilityState = "election"

	// The Fault Domain Manager (FDM) on the host cannot be reached. This
	// state is reported in two unlikley situations.
	//
	// First, it is reported by
	// a master if the host responds to ICMP pings sent by the master over the
	// management network but the FDM on the host cannot be reached by the master.
	// This situation will occur if the FDM is unable to run or exit the
	// uninitialized state.
	// Second, it is reported by vCenter Server if it cannot connect to a
	// master nor the FDM for the host. This situation would occur if all hosts
	// in the cluster failed but vCenter Server is still running. It may also
	// occur if all FDMs are unable to run or exit the uninitialized state.
	FdmUnreachable_ClusterDasFdmAvailabilityState ClusterDasFdmAvailabilityState = "fdmUnreachable"

	// The slave host appears to be down. This state is reported by the
	// master of a slave host.
	HostDown_ClusterDasFdmAvailabilityState ClusterDasFdmAvailabilityState = "hostDown"

	// An error occurred when initilizating the Fault Domain Manager
	// on a host due to a problem with installing the
	// agent or configuring it. This condition can often be cleared by
	// reconfiguring HA for the host. This state is reported by vCenter
	// Server.
	InitializationError_ClusterDasFdmAvailabilityState ClusterDasFdmAvailabilityState = "initializationError"

	// The Fault Domain Manager on the host has been elected a
	// master. This state is reported by the the host itself.
	Master_ClusterDasFdmAvailabilityState ClusterDasFdmAvailabilityState = "master"

	// A host is alive but is isolated from the management network.
	// See ClusterDasVmSettingsIsolationResponse for the criteria
	// used to determine whether a host is isolated.
	NetworkIsolated_ClusterDasFdmAvailabilityState ClusterDasFdmAvailabilityState = "networkIsolated"

	// A slave host is alive and has management network connectivity, but
	// the management network has been partitioned. This state is reported
	// by masters that are in a partition other than the one containing the
	// slave host; the master in the slave's partition will report the slave state
	// as connectedToMaster.
	NetworkPartitionedFromMaster_ClusterDasFdmAvailabilityState ClusterDasFdmAvailabilityState = "networkPartitionedFromMaster"

	// An error occurred when unconfiguring the Fault Domain Manager
	// running on a host. In order to clear this condition the host might
	// need to be reconnected to the cluster and reconfigured first.
	// This state is reported by vCenter
	// Server.
	UninitializationError_ClusterDasFdmAvailabilityState ClusterDasFdmAvailabilityState = "uninitializationError"

	// The Fault Domain Manager for the host has not yet been
	// initialized. Hence the host is not part of a vSphere HA
	// fault domain. This state is reported by vCenter Server or
	// by the host itself.
	Uninitialized_ClusterDasFdmAvailabilityState ClusterDasFdmAvailabilityState = "uninitialized"
)

type ClusterDasVmSettingsIsolationResponse

type ClusterDasVmSettingsIsolationResponse string

The ClusterDasVmSettingsIsolationResponse enum defines values that indicate whether or not the virtual machine should be powered off if a host determines that it is isolated from the rest of the cluster.

Host network isolation occurs when a host is still running but it can no longer communicate with other hosts in the cluster and it cannot ping the configured isolation address(es). When the HA agent on a host loses contact with the other hosts, it will ping the isolation addresses. If the pings fail, the host will declare itself isolated.

Once the HA agent declares the host isolated, it will initiate the isolation response workflow after a 30 second delay. You can use the FDM advanced option fdm.isolationPolicyDelaySec to increase the delay. For each virtual machine, the HA agent attempts to determine if a master is responsible for restarting the virtual machine. If it cannot make the determination, or there is a master that is responsible, the agent will apply the configured isolation response. This workflow will continue until the configuration policy, has been applied to all virtual machines, the agent reconnects to another HA agent in the cluster, or the isolation address pings start succeeding. If there is a master agent in the cluster, it will attempt to restart the virtual machines that were powered off during isolation.

By default, the isolated host leaves its virtual machines powered on. You can override the isolation response default with a cluster-wide setting (defaultVmSettings) or a virtual machine setting (isolationResponse).

• All isolation response values are valid for the isolationResponse property specified in a single virtual machine HA configuration.

• All values except for clusterIsolationResponse are valid for the cluster-wide default HA configuration for virtual machines (defaultVmSettings).

If you ensure that your network infrastructure is sufficiently redundant and that at least one network path is available at all times, host network isolation should be a rare occurrence.

const (

	// Use the default isolation reponse defined for the cluster
	// that contains this virtual machine.
	ClusterIsolationResponse_ClusterDasVmSettingsIsolationResponse ClusterDasVmSettingsIsolationResponse = "clusterIsolationResponse"

	// Do not power off the virtual machine in the event of a host network isolation.
	None_ClusterDasVmSettingsIsolationResponse ClusterDasVmSettingsIsolationResponse = "none"

	// Power off the virtual machine in the event of a host network isolation.
	PowerOff_ClusterDasVmSettingsIsolationResponse ClusterDasVmSettingsIsolationResponse = "powerOff"

	// Shut down the virtual machine guest operating system
	// in the event of a host network isolation.
	// If the guest operating system fails to shutdown within five minutes,
	// HA will initiate a forced power off.
	//
	// When you use the shutdown isolation response, failover can take
	// longer (compared to the
	// powerOff
	// response) because the virtual machine cannot fail over until it is shutdown.
	//
	// Since VI API 2.5u2
	Shutdown_ClusterDasVmSettingsIsolationResponse ClusterDasVmSettingsIsolationResponse = "shutdown"
)

type ClusterDasVmSettingsRestartPriority

type ClusterDasVmSettingsRestartPriority string

The ClusterDasVmSettingsRestartPriority enum defines virtual machine restart priority values to resolve resource contention. The priority determines the preference that HA gives to a virtual machine if sufficient capacity is not available to power on all failed virtual machines. For example, high priority virtual machines on a host get preference over low priority virtual machines.

All priority values are valid for the restart priority specified in a single virtual machine HA configuration (dasSettings). All values except for clusterRestartPriority are valid for the cluster-wide default HA configuration for virtual machines (defaultVmSettings).

const (

	// Virtual machines with this priority use the default restart
	// priority defined for the cluster that contains this virtual machine.
	ClusterRestartPriority_ClusterDasVmSettingsRestartPriority ClusterDasVmSettingsRestartPriority = "clusterRestartPriority"

	// vSphere HA is disabled for this virtual machine.
	Disabled_ClusterDasVmSettingsRestartPriority ClusterDasVmSettingsRestartPriority = "disabled"

	// Virtual machines with this priority have a higher chance of powering on after a
	// failure if there is insufficient capacity on hosts to meet all virtual machine
	// needs.
	High_ClusterDasVmSettingsRestartPriority ClusterDasVmSettingsRestartPriority = "high"

	// Virtual machines with this priority have a lower chance of powering on after a
	// failure if there is insufficient capacity on hosts to meet all virtual machine
	// needs.
	Low_ClusterDasVmSettingsRestartPriority ClusterDasVmSettingsRestartPriority = "low"

	// Virtual machines with this priority have an intermediate chance of powering
	// on after a failure if there is insufficient capacity on hosts to meet all
	// virtual machine needs.
	Medium_ClusterDasVmSettingsRestartPriority ClusterDasVmSettingsRestartPriority = "medium"
)

type ClusterPowerOnVmOption

type ClusterPowerOnVmOption string

Defines the options for a Datacenter::powerOnVm() invocation.

const (

	// Override the DRS automation level.
	// Value type: DrsBehavior
	// Default value: current behavior
	OverrideAutomationLevel_ClusterPowerOnVmOption ClusterPowerOnVmOption = "OverrideAutomationLevel"

	// Reserve resources for the powering-on VMs throughout the
	// power-on session. When this option is set to true, the server
	// will return at most one recommended host per manual VM, and
	// the VM's reservations are held on the recommended host until
	// the VM is actually powered on (either by applying the
	// recommendation or by a power-on request on the VM), or until
	// the recommendation is cancelled, or until the recommendation
	// expires. The expiration time is currently set to 10
	// minutes. This option does not have an effect on automatic VMs
	// since their recommendations are executed immediately. This
	// option is effective on DRS clusters only.
	// Value type: boolean
	// Default value: false
	ReserveResources_ClusterPowerOnVmOption ClusterPowerOnVmOption = "ReserveResources"
)

type ClusterProfileServiceType

type ClusterProfileServiceType string

Type of services for which Profile can be requested for

const (

	// Distributed Power Management
	DPM_ClusterProfileServiceType ClusterProfileServiceType = "DPM"

	// Distributed Resource Scheduling
	DRS_ClusterProfileServiceType ClusterProfileServiceType = "DRS"

	// Fault tolerance
	FT_ClusterProfileServiceType ClusterProfileServiceType = "FT"

	// High Availability
	HA_ClusterProfileServiceType ClusterProfileServiceType = "HA"
)

type ComplianceResultStatus

type ComplianceResultStatus string
const (

	// Entity is in Compliance
	Compliant_ComplianceResultStatus ComplianceResultStatus = "compliant"

	// Entity is out of Compliance
	NonCompliant_ComplianceResultStatus ComplianceResultStatus = "nonCompliant"

	// Compliance status of the entity is not known
	Unknown_ComplianceResultStatus ComplianceResultStatus = "unknown"
)

type ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState

type ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState string

The SPBM(Storage Policy Based Management) license state for a host

const (

	// The host is licensed
	Licensed_ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState = "licensed"

	// The host license information is unknown, this could happen if the
	// host is not in a available state
	Unknown_ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState = "unknown"

	// The host is not licensed
	Unlicensed_ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState = "unlicensed"
)

type ConfigSpecOperation

type ConfigSpecOperation string

Config spec operation type.

const (

	// Indicates the addition of an element to the configuration.
	Add_ConfigSpecOperation ConfigSpecOperation = "add"

	// Indicates the change of an element in the configuration.
	Edit_ConfigSpecOperation ConfigSpecOperation = "edit"

	// Indicates the removal of an element in the configuration.
	Remove_ConfigSpecOperation ConfigSpecOperation = "remove"
)

type CustomizationLicenseDataMode

type CustomizationLicenseDataMode string

Enumeration of AutoMode values.

const (

	// Indicates that a client access license has been purchased for each computer
	// that accesses the VirtualCenter server.
	PerSeat_CustomizationLicenseDataMode CustomizationLicenseDataMode = "perSeat"

	// Indicates that client access licenses have been purchased for the server,
	// allowing a certain number of concurrent connections to the VirtualCenter
	// server.
	PerServer_CustomizationLicenseDataMode CustomizationLicenseDataMode = "perServer"
)

type CustomizationNetBIOSMode

type CustomizationNetBIOSMode string

NetBIOS setting for Windows.

const (

	// Never use NetBIOS.
	DisableNetBIOS_CustomizationNetBIOSMode CustomizationNetBIOSMode = "disableNetBIOS"

	// Always use NetBIOS.
	EnableNetBIOS_CustomizationNetBIOSMode CustomizationNetBIOSMode = "enableNetBIOS"

	// DHCP server decides whether or not to use NetBIOS.
	EnableNetBIOSViaDhcp_CustomizationNetBIOSMode CustomizationNetBIOSMode = "enableNetBIOSViaDhcp"
)

type CustomizationSysprepRebootOption

type CustomizationSysprepRebootOption string

A enum constant specifying what should be done to the guest vm after running sysprep.

const (

	// Take no action. Leave the guest os running after running sysprep. This
	// option can be used to look at values for debugging purposes after
	// running sysprep.
	Noreboot_CustomizationSysprepRebootOption CustomizationSysprepRebootOption = "noreboot"

	// Reboot the machine after running sysprep. This will cause values
	// specified in the sysprep.inf to be applied immediately.
	Reboot_CustomizationSysprepRebootOption CustomizationSysprepRebootOption = "reboot"

	// Shutdown the machine after running sysprep. This puts the vm in a
	// sealed state.
	Shutdown_CustomizationSysprepRebootOption CustomizationSysprepRebootOption = "shutdown"
)

type DVPortStatusVmDirectPathGen2InactiveReasonNetwork

type DVPortStatusVmDirectPathGen2InactiveReasonNetwork string

Set of possible values for DVPortStatus.vmDirectPathGen2InactiveReasonNetwork.

const (

	// VMDirectPath Gen 2 has been explicitly disabled for this port.
	PortNptDisabledForPort_DVPortStatusVmDirectPathGen2InactiveReasonNetwork DVPortStatusVmDirectPathGen2InactiveReasonNetwork = "portNptDisabledForPort"

	// The switch for which this port is defined does not support VMDirectPath Gen 2.
	// See
	// DVSFeatureCapability.vmDirectPathGen2Supported.
	PortNptIncompatibleDvs_DVPortStatusVmDirectPathGen2InactiveReasonNetwork DVPortStatusVmDirectPathGen2InactiveReasonNetwork = "portNptIncompatibleDvs"

	// None of the physical NICs used as uplinks for this port support
	// VMDirectPath Gen 2.See vmDirectPathGen2Supported
	PortNptNoCompatibleNics_DVPortStatusVmDirectPathGen2InactiveReasonNetwork DVPortStatusVmDirectPathGen2InactiveReasonNetwork = "portNptNoCompatibleNics"

	// At least some of the physical NICs used as uplinks for this port
	// support VMDirectPath Gen 2, but all available network-passthrough
	// resources are in use by other ports.
	PortNptNoVirtualFunctionsAvailable_DVPortStatusVmDirectPathGen2InactiveReasonNetwork DVPortStatusVmDirectPathGen2InactiveReasonNetwork = "portNptNoVirtualFunctionsAvailable"
)

type DVPortStatusVmDirectPathGen2InactiveReasonOther

type DVPortStatusVmDirectPathGen2InactiveReasonOther string

Set of possible values for DVPortStatus.vmDirectPathGen2InactiveReasonOther.

const (

	// Configuration or state of the port's connectee prevents
	// VMDirectPath Gen 2. See
	// vmDirectPathGen2InactiveReasonVm
	// and/or
	// vmDirectPathGen2InactiveReasonExtended
	// in the appropriate element of the RuntimeInfo.device array of the
	// virtual machine connected to this port.
	PortNptIncompatibleConnectee_DVPortStatusVmDirectPathGen2InactiveReasonOther DVPortStatusVmDirectPathGen2InactiveReasonOther = "portNptIncompatibleConnectee"

	// The host for which this port is defined does not support VMDirectPath Gen 2.
	// See HostCapability.vmDirectPathGen2Supported
	PortNptIncompatibleHost_DVPortStatusVmDirectPathGen2InactiveReasonOther DVPortStatusVmDirectPathGen2InactiveReasonOther = "portNptIncompatibleHost"
)

type DasConfigFaultDasConfigFaultReason

type DasConfigFaultDasConfigFaultReason string
const (

	// There is a problem with the host configuration.
	HostMisconfiguration_DasConfigFaultDasConfigFaultReason DasConfigFaultDasConfigFaultReason = "HostMisconfiguration"

	// There is a problem with the host network configuration.
	HostNetworkMisconfiguration_DasConfigFaultDasConfigFaultReason DasConfigFaultDasConfigFaultReason = "HostNetworkMisconfiguration"

	// The privileges were insuffient for the operation.
	InsufficientPrivileges_DasConfigFaultDasConfigFaultReason DasConfigFaultDasConfigFaultReason = "InsufficientPrivileges"

	// No datastores defined for this host
	//
	// Since vSphere API 5.1
	NoDatastoresConfigured_DasConfigFaultDasConfigFaultReason DasConfigFaultDasConfigFaultReason = "NoDatastoresConfigured"

	// There was no running primary agent available to contact.
	// Check that your other hosts don't have HA errors
	NoPrimaryAgentAvailable_DasConfigFaultDasConfigFaultReason DasConfigFaultDasConfigFaultReason = "NoPrimaryAgentAvailable"

	// The HA configuration failed for other reasons.
	Other_DasConfigFaultDasConfigFaultReason DasConfigFaultDasConfigFaultReason = "Other"

	// Host in vSAN cluster does not support vSAN.
	//
	// Since vSphere API 5.5
	VSanNotSupportedOnHost_DasConfigFaultDasConfigFaultReason DasConfigFaultDasConfigFaultReason = "VSanNotSupportedOnHost"
)

type DasVmPriority

type DasVmPriority string

Deprecated. As of VI API 2.5, use ClusterDasVmSettingsRestartPriority.

The priority of the virtual machine determines the preference given to it if sufficient capacity is not available to power on all failed virtual machines. For example, high priority virtual machines on a host get preference over low priority virtual machines.

const (

	// vSphere HA is disabled for this virtual machine.
	Disabled_DasVmPriority DasVmPriority = "disabled"

	// Virtual machines with this priority have a higher chance of powering on after a
	// failure if there is insufficient capacity on hosts to meet all virtual machine
	// needs.
	High_DasVmPriority DasVmPriority = "high"

	// Virtual machines with this priority have a lower chance of powering on after a
	// failure if there is insufficient capacity on hosts to meet all virtual machine
	// needs.
	Low_DasVmPriority DasVmPriority = "low"

	// Virtual machines with this priority have an intermediate chance of powering
	// on after a failure if there is insufficient capacity on hosts to meet all
	// virtual machine needs.
	Medium_DasVmPriority DasVmPriority = "medium"
)

type DatastoreAccessible

type DatastoreAccessible string
const (

	// Is not accessible
	False_DatastoreAccessible DatastoreAccessible = "False"

	// Is accessible
	True_DatastoreAccessible DatastoreAccessible = "True"
)

type DatastoreSummaryMaintenanceModeState

type DatastoreSummaryMaintenanceModeState string

Defines the current maintenance mode state of the datastore.

const (

	// Started entering maintenance mode, but not finished.
	// This could happen when waiting for user input or for
	// long-running vmotions to complete.
	EnteringMaintenance_DatastoreSummaryMaintenanceModeState DatastoreSummaryMaintenanceModeState = "enteringMaintenance"

	// Successfully entered maintenance mode.
	InMaintenance_DatastoreSummaryMaintenanceModeState DatastoreSummaryMaintenanceModeState = "inMaintenance"

	// Default state.
	Normal_DatastoreSummaryMaintenanceModeState DatastoreSummaryMaintenanceModeState = "normal"
)

type DayOfWeek

type DayOfWeek string
const (
	Friday_DayOfWeek DayOfWeek = "friday"

	Monday_DayOfWeek DayOfWeek = "monday"

	Saturday_DayOfWeek DayOfWeek = "saturday"

	Sunday_DayOfWeek DayOfWeek = "sunday"

	Thursday_DayOfWeek DayOfWeek = "thursday"

	Tuesday_DayOfWeek DayOfWeek = "tuesday"

	Wednesday_DayOfWeek DayOfWeek = "wednesday"
)

type DeviceNotSupportedReason

type DeviceNotSupportedReason string

Reasons why a virtual device would not be supported on a host.

const (

	// The device is supported by the host in general, but not for
	// the specific guest OS the virtual machine is using.
	Guest_DeviceNotSupportedReason DeviceNotSupportedReason = "guest"

	// The host does not support this virtual device at all.
	Host_DeviceNotSupportedReason DeviceNotSupportedReason = "host"
)

type DiagnosticManagerLogCreator

type DiagnosticManagerLogCreator string

Pre-defined constants for possible creators of log files.

const (

	// Host agent
	Hostd_DiagnosticManagerLogCreator DiagnosticManagerLogCreator = "hostd"

	// Installation
	Install_DiagnosticManagerLogCreator DiagnosticManagerLogCreator = "install"

	// System Record Log
	//
	// Since VI API 2.5
	RecordLog_DiagnosticManagerLogCreator DiagnosticManagerLogCreator = "recordLog"

	// Host server agent
	Serverd_DiagnosticManagerLogCreator DiagnosticManagerLogCreator = "serverd"

	// VirtualCenter agent
	Vpxa_DiagnosticManagerLogCreator DiagnosticManagerLogCreator = "vpxa"

	// Virtual infrastructure client
	VpxClient_DiagnosticManagerLogCreator DiagnosticManagerLogCreator = "vpxClient"

	// VirtualCenter service
	Vpxd_DiagnosticManagerLogCreator DiagnosticManagerLogCreator = "vpxd"
)

type DiagnosticManagerLogFormat

type DiagnosticManagerLogFormat string

Constants for defined formats. For more information, see the comment for the format property.

const (

	// A standard ASCII-based line-based log file.
	Plain_DiagnosticManagerLogFormat DiagnosticManagerLogFormat = "plain"
)

type DiagnosticPartitionStorageType

type DiagnosticPartitionStorageType string

Type of partition indicating the type of storage on which the partition resides. If the diagnostic partition is local only, it will only need one slot. If the diagnostic partition is on shared storage, it could be used by multiple hosts. As a result, it will need multiple slots.

const (
	DirectAttached_DiagnosticPartitionStorageType DiagnosticPartitionStorageType = "directAttached"

	NetworkAttached_DiagnosticPartitionStorageType DiagnosticPartitionStorageType = "networkAttached"
)

type DiagnosticPartitionType

type DiagnosticPartitionType string

The type of diagnostic partition. Private diagnostic partition has one slot, so can only be used by one host. Shared diagnostic parititon needs multiple slots so to be usable by multiple hosts.

const (
	MultiHost_DiagnosticPartitionType DiagnosticPartitionType = "multiHost"

	SingleHost_DiagnosticPartitionType DiagnosticPartitionType = "singleHost"
)

type DisallowedChangeByServiceDisallowedChange

type DisallowedChangeByServiceDisallowedChange string

The disallowed change type.

const (

	// Online extend disk operation.
	HotExtendDisk_DisallowedChangeByServiceDisallowedChange DisallowedChangeByServiceDisallowedChange = "hotExtendDisk"
)

type DistributedVirtualPortgroupMetaTagName

type DistributedVirtualPortgroupMetaTagName string

The meta tag names recognizable in the portNameFormat string.

const (

	// This tag will be expanded to the name of the switch.
	DvsName_DistributedVirtualPortgroupMetaTagName DistributedVirtualPortgroupMetaTagName = "dvsName"

	// This tag will be expanded to the name of the portgroup.
	PortgroupName_DistributedVirtualPortgroupMetaTagName DistributedVirtualPortgroupMetaTagName = "portgroupName"

	// This tag will be expanded to the current index of the port.
	PortIndex_DistributedVirtualPortgroupMetaTagName DistributedVirtualPortgroupMetaTagName = "portIndex"
)

type DistributedVirtualPortgroupPortgroupType

type DistributedVirtualPortgroupPortgroupType string

The DistributedVirtualPortgroupPortgroupType enum defines the distributed virtual portgroup types (DistributedVirtualPortgroup.config.type). Early binding specifies a static set of ports that are created when you create the distributed virtual portgroup. An ephemeral portgroup uses dynamic ports that are created when you power on a virtual machine.

const (

	// A free DistributedVirtualPort will be selected and assigned to
	// a VirtualMachine when the virtual machine is reconfigured to
	// connect to the portgroup.
	EarlyBinding_DistributedVirtualPortgroupPortgroupType DistributedVirtualPortgroupPortgroupType = "earlyBinding"

	// A DistributedVirtualPort will be created and assigned to a
	// VirtualMachine when the virtual machine is powered on, and will
	// be deleted when the virtual machine is powered off. An ephemeral portgroup has
	// no limit on the number of ports that can be a part of this portgroup.
	// In cases where the vCenter Server is unavailable the host can
	// create conflict ports in this portgroup to be used by a virtual machine
	// at power on.
	Ephemeral_DistributedVirtualPortgroupPortgroupType DistributedVirtualPortgroupPortgroupType = "ephemeral"

	// Deprecated as of vSphere API 5.0. A free distributed virtual port
	// will be selected and assigned to a virtual machine when the virtual
	// machine is powered on.
	LateBinding_DistributedVirtualPortgroupPortgroupType DistributedVirtualPortgroupPortgroupType = "lateBinding"
)

type DistributedVirtualSwitchHostInfrastructureTrafficClass

type DistributedVirtualSwitchHostInfrastructureTrafficClass string

List of possible host infrastructure traffic classes

const (

	// Fault Tolerance (FT) Traffic
	FaultTolerance_DistributedVirtualSwitchHostInfrastructureTrafficClass DistributedVirtualSwitchHostInfrastructureTrafficClass = "faultTolerance"

	// vSphere Replication (VR) Traffic
	Hbr_DistributedVirtualSwitchHostInfrastructureTrafficClass DistributedVirtualSwitchHostInfrastructureTrafficClass = "hbr"

	// iSCSI Traffic
	ISCSI_DistributedVirtualSwitchHostInfrastructureTrafficClass DistributedVirtualSwitchHostInfrastructureTrafficClass = "iSCSI"

	// Management Traffic
	Management_DistributedVirtualSwitchHostInfrastructureTrafficClass DistributedVirtualSwitchHostInfrastructureTrafficClass = "management"

	// NFS Traffic
	Nfs_DistributedVirtualSwitchHostInfrastructureTrafficClass DistributedVirtualSwitchHostInfrastructureTrafficClass = "nfs"

	// Virtual Machine Traffic
	VirtualMachine_DistributedVirtualSwitchHostInfrastructureTrafficClass DistributedVirtualSwitchHostInfrastructureTrafficClass = "virtualMachine"

	// vMotion Traffic
	Vmotion_DistributedVirtualSwitchHostInfrastructureTrafficClass DistributedVirtualSwitchHostInfrastructureTrafficClass = "vmotion"

	// vSphere Storage Area Network Traffic
	Vsan_DistributedVirtualSwitchHostInfrastructureTrafficClass DistributedVirtualSwitchHostInfrastructureTrafficClass = "vsan"
)

type DistributedVirtualSwitchHostMemberHostComponentState

type DistributedVirtualSwitchHostMemberHostComponentState string

Describes the state of the host proxy switch.

const (

	// The host is disconnected or it is not responding.
	Disconnected_DistributedVirtualSwitchHostMemberHostComponentState DistributedVirtualSwitchHostMemberHostComponentState = "disconnected"

	// The host proxy is down.
	Down_DistributedVirtualSwitchHostMemberHostComponentState DistributedVirtualSwitchHostMemberHostComponentState = "down"

	// The proxy switch configuration is not the same as the
	// distributed virtual switch configuration in the vCenter Server.
	OutOfSync_DistributedVirtualSwitchHostMemberHostComponentState DistributedVirtualSwitchHostMemberHostComponentState = "outOfSync"

	// The host proxy switch is waiting to be initialized.
	Pending_DistributedVirtualSwitchHostMemberHostComponentState DistributedVirtualSwitchHostMemberHostComponentState = "pending"

	// The host proxy switch is up and running.
	Up_DistributedVirtualSwitchHostMemberHostComponentState DistributedVirtualSwitchHostMemberHostComponentState = "up"

	// The host requires attention.
	Warning_DistributedVirtualSwitchHostMemberHostComponentState DistributedVirtualSwitchHostMemberHostComponentState = "warning"
)

type DistributedVirtualSwitchNicTeamingPolicyMode

type DistributedVirtualSwitchNicTeamingPolicyMode string

List of possible teaming modes supported by the vNetwork Distributed Switch. The different policy modes define the way traffic is routed through the different uplink ports in a team.

const (

	// Use explicit failover order
	Failover_explicit_DistributedVirtualSwitchNicTeamingPolicyMode DistributedVirtualSwitchNicTeamingPolicyMode = "failover_explicit"

	// Routing based on IP hash
	Loadbalance_ip_DistributedVirtualSwitchNicTeamingPolicyMode DistributedVirtualSwitchNicTeamingPolicyMode = "loadbalance_ip"

	// Routing based by dynamically balancing traffic through the NICs
	// in a team. This is the recommended teaming policy when the
	// network I/O control feature is enabled for the vNetwork
	// Distributed Switch.
	Loadbalance_loadbased_DistributedVirtualSwitchNicTeamingPolicyMode DistributedVirtualSwitchNicTeamingPolicyMode = "loadbalance_loadbased"

	// Route based on the source of the port ID
	Loadbalance_srcid_DistributedVirtualSwitchNicTeamingPolicyMode DistributedVirtualSwitchNicTeamingPolicyMode = "loadbalance_srcid"

	// Route based on source MAC hash
	Loadbalance_srcmac_DistributedVirtualSwitchNicTeamingPolicyMode DistributedVirtualSwitchNicTeamingPolicyMode = "loadbalance_srcmac"
)

type DistributedVirtualSwitchPortConnecteeConnecteeType

type DistributedVirtualSwitchPortConnecteeConnecteeType string

The connectee types.

const (

	// The port connects to a console Virtual NIC on a host.
	HostConsoleVnic_DistributedVirtualSwitchPortConnecteeConnecteeType DistributedVirtualSwitchPortConnecteeConnecteeType = "hostConsoleVnic"

	// The port connects to a VMkernel Virtual NIC on a host.
	HostVmkVnic_DistributedVirtualSwitchPortConnecteeConnecteeType DistributedVirtualSwitchPortConnecteeConnecteeType = "hostVmkVnic"

	// The port connects to a Physical NIC.
	Pnic_DistributedVirtualSwitchPortConnecteeConnecteeType DistributedVirtualSwitchPortConnecteeConnecteeType = "pnic"

	// The port connects to a Virtual NIC in a Virtual Machine.
	VmVnic_DistributedVirtualSwitchPortConnecteeConnecteeType DistributedVirtualSwitchPortConnecteeConnecteeType = "vmVnic"
)

type DistributedVirtualSwitchProductSpecOperationType

type DistributedVirtualSwitchProductSpecOperationType string

The product spec operation types.

const (

	// Set the product information for an available switch upgrade that
	// would be done by the switch implementation. This operation will post
	// a config issue on the switch to signal the availability of an upgrade.
	// This operation is applicable only in the case when switch policy
	// autoUpgradeAllowed
	// is set to false.
	NotifyAvailableUpgrade_DistributedVirtualSwitchProductSpecOperationType DistributedVirtualSwitchProductSpecOperationType = "notifyAvailableUpgrade"

	// Push the switch's host component of the specified product info to the
	// host members of the switch at a fixed location known by the host.
	PreInstall_DistributedVirtualSwitchProductSpecOperationType DistributedVirtualSwitchProductSpecOperationType = "preInstall"

	// If productSpec is set to be same as that in the
	// DvsUpgradeAvailableEvent configIssue, the switch
	// implementation will proceed with the upgrade. To reject or stop the
	// upgrade, leave the productSpec unset. If productSpec is set but does not
	// match that in DvsUpgradeAvailableEvent configIssue,
	// a fault will be raised.
	// This operation is applicable only in the case when switch policy
	// autoUpgradeAllowed
	// is set to false.
	ProceedWithUpgrade_DistributedVirtualSwitchProductSpecOperationType DistributedVirtualSwitchProductSpecOperationType = "proceedWithUpgrade"

	// Update the bundle URL and ID information. If other properties in
	// the specified product info differ from the
	// corresponding properties of the switch's product info, a fault will
	// be thrown. Updating the bundle ID will result in installing the new host
	// component identified by the bundle ID.
	UpdateBundleInfo_DistributedVirtualSwitchProductSpecOperationType DistributedVirtualSwitchProductSpecOperationType = "updateBundleInfo"

	// Change the switch implementation to use the specified one. If the
	// property values in the specified product info are different from
	// those of the corresponding properties in the switch's product info,
	// a host component preinstall and switch upgrade will be performed.
	Upgrade_DistributedVirtualSwitchProductSpecOperationType DistributedVirtualSwitchProductSpecOperationType = "upgrade"
)

type DpmBehavior

type DpmBehavior string
const (

	// Specifies that VirtualCenter should generate recommendations
	// for host power operations, and should execute the
	// recommendations automatically.
	Automated_DpmBehavior DpmBehavior = "automated"

	// Specifies that VirtualCenter should generate recommendations
	// for host power operations, but should not execute the
	// recommendations automatically.
	Manual_DpmBehavior DpmBehavior = "manual"
)

type DrsBehavior

type DrsBehavior string
const (

	// Specifies that VirtualCenter should automate both the migration
	// of virtual machines and their placement with a host at power on.
	FullyAutomated_DrsBehavior DrsBehavior = "fullyAutomated"

	// Specifies that VirtualCenter should generate recommendations for
	// virtual machine migration and for placement with a host,
	// but should not implement the recommendations automatically.
	Manual_DrsBehavior DrsBehavior = "manual"

	// Specifies that VirtualCenter should generate recommendations for
	// virtual machine migration and for placement with a host,
	// but should automatically implement only the placement at power on.
	PartiallyAutomated_DrsBehavior DrsBehavior = "partiallyAutomated"
)

type DrsInjectorWorkloadCorrelationState

type DrsInjectorWorkloadCorrelationState string

Correlation state as computed by storageRM module on host.

const (
	Correlated_DrsInjectorWorkloadCorrelationState DrsInjectorWorkloadCorrelationState = "Correlated"

	Uncorrelated_DrsInjectorWorkloadCorrelationState DrsInjectorWorkloadCorrelationState = "Uncorrelated"
)

type DrsRecommendationReasonCode

type DrsRecommendationReasonCode string

Deprecated. As of VI API 2.5 use RecommendationReasonCode.

List of defined migration reason codes:

const (

	// Fulfill anti-affinity rule.
	AntiAffin_DrsRecommendationReasonCode DrsRecommendationReasonCode = "antiAffin"

	// Balance average CPU utilization.
	FairnessCpuAvg_DrsRecommendationReasonCode DrsRecommendationReasonCode = "fairnessCpuAvg"

	// Balance average memory utilization.
	FairnessMemAvg_DrsRecommendationReasonCode DrsRecommendationReasonCode = "fairnessMemAvg"

	// Host entering maintenance mode.
	HostMaint_DrsRecommendationReasonCode DrsRecommendationReasonCode = "hostMaint"

	// Fulfill affinity rule.
	JointAffin_DrsRecommendationReasonCode DrsRecommendationReasonCode = "jointAffin"
)

type DvsFilterOnFailure

type DvsFilterOnFailure string

Network Filter on Failure Type. It specifies whether all the packets will be allowed or all the packets will be denied when Filter fails to configure.

const (

	// Denies all the packets when the Filter fails to configure.
	FailClosed_DvsFilterOnFailure DvsFilterOnFailure = "failClosed"

	// Allows all the packets when the Filter fails to configure.
	FailOpen_DvsFilterOnFailure DvsFilterOnFailure = "failOpen"
)

type DvsNetworkRuleDirectionType

type DvsNetworkRuleDirectionType string

Network Traffic Rule direction types. It specifies whether rule

needs to be applied for packets which are incoming/outgoing or both.

const (

	// This specifies that the network rule has to be applied only for
	//
	// both incoming and outgoing packets.
	Both_DvsNetworkRuleDirectionType DvsNetworkRuleDirectionType = "both"

	// This specifies that the network rule has to be applied only for
	//
	// incoming packets.
	IncomingPackets_DvsNetworkRuleDirectionType DvsNetworkRuleDirectionType = "incomingPackets"

	// This specifies that the network rule has to be applied only for
	//
	// outgoing packets.
	OutgoingPackets_DvsNetworkRuleDirectionType DvsNetworkRuleDirectionType = "outgoingPackets"
)

type EntityImportType

type EntityImportType string

The EntityImportType enum defines the import type for a DistributedVirtualSwitchManager.DVSManagerImportEntity_Task operation.

const (

	// Apply the configuration specified in the
	// EntityBackupConfig.configBlob
	// property to the entity specified in the
	// EntityBackupConfig.entityType and
	// EntityBackupConfig.key
	// properties. If you specify
	// EntityBackupConfig.name,
	// the Server uses the specified name to rename the entity.
	//
	// The Server ignores any value for the
	// EntityBackupConfig.container
	// property.
	ApplyToEntitySpecified_EntityImportType EntityImportType = "applyToEntitySpecified"

	// Create the entity with new identifiers. Specify the
	// EntityBackupConfig.name and
	// EntityBackupConfig.container
	// properties.
	//
	// The Server ignores any value for the
	// EntityBackupConfig.key
	// property.
	CreateEntityWithNewIdentifier_EntityImportType EntityImportType = "createEntityWithNewIdentifier"

	// Recreate the entities with the original identifiers of the entity from which backup was created.
	// The Server throws an exception if an entity with the same identifier already exists.
	// This option will also add the host members to the DistributedVirtualSwitch and will
	// try to get the virtual machine networking back with the same DistributedVirtualPortgroup.
	// Specify a Folder as the
	// EntityBackupConfig.container
	// for EntityBackupConfig.entityType
	// "distributedVirtualSwitch".
	//
	// The Server ignores any values for the
	// EntityBackupConfig.key and
	// EntityBackupConfig.name
	// properties.
	CreateEntityWithOriginalIdentifier_EntityImportType EntityImportType = "createEntityWithOriginalIdentifier"
)

type EntityType

type EntityType string

The EntityType enum identifies the type of entity that was exported (DVSManagerExportEntity_Task).

const (

	// Indicates the exported entity is a DistributedVirtualPortgroup.
	DistributedVirtualPortgroup_EntityType EntityType = "distributedVirtualPortgroup"

	// Indicates the exported entity is a DistributedVirtualSwitch.
	DistributedVirtualSwitch_EntityType EntityType = "distributedVirtualSwitch"
)

type EventAlarmExpressionComparisonOperator

type EventAlarmExpressionComparisonOperator string

Basic Comparison operators

const (

	// attribute does not end with specified value
	DoesNotEndWith_EventAlarmExpressionComparisonOperator EventAlarmExpressionComparisonOperator = "doesNotEndWith"

	// attribute does not start with specified value
	DoesNotStartWith_EventAlarmExpressionComparisonOperator EventAlarmExpressionComparisonOperator = "doesNotStartWith"

	// attribute ends with specified value
	EndsWith_EventAlarmExpressionComparisonOperator EventAlarmExpressionComparisonOperator = "endsWith"

	// attribute equals specified value
	Equals_EventAlarmExpressionComparisonOperator EventAlarmExpressionComparisonOperator = "equals"

	// attribute does not equal specified value
	NotEqualTo_EventAlarmExpressionComparisonOperator EventAlarmExpressionComparisonOperator = "notEqualTo"

	// attribute starts with specified value
	StartsWith_EventAlarmExpressionComparisonOperator EventAlarmExpressionComparisonOperator = "startsWith"
)

type EventCategory

type EventCategory string
const (

	// Returns error events.
	Error_EventCategory EventCategory = "error"

	// Returns informational events.
	Info_EventCategory EventCategory = "info"

	// Returns events pertaining to users.
	User_EventCategory EventCategory = "user"

	// Returns warning events.
	Warning_EventCategory EventCategory = "warning"
)

type EventEventSeverity

type EventEventSeverity string

Severity level constants.

const (

	// Something that must be corrected
	Error_EventEventSeverity EventEventSeverity = "error"

	// An informational message
	Info_EventEventSeverity EventEventSeverity = "info"

	// A user-related message
	User_EventEventSeverity EventEventSeverity = "user"

	// Should be corrected, but the system can continue operating normally
	Warning_EventEventSeverity EventEventSeverity = "warning"
)

type EventFilterSpecRecursionOption

type EventFilterSpecRecursionOption string

This option specifies how to select events based on child relationships in the inventory hierarchy. If a managed entity has children, their events can be retrieved with this filter option.

const (

	// Returns events pertaining either to the specified managed entity
	// or to its child entities.
	All_EventFilterSpecRecursionOption EventFilterSpecRecursionOption = "all"

	// Returns events pertaining to child entities only. Excludes
	// events pertaining to the specified managed entity itself.
	Children_EventFilterSpecRecursionOption EventFilterSpecRecursionOption = "children"

	// Returns events that pertain only to the specified managed entity,
	// and not its children.
	Self_EventFilterSpecRecursionOption EventFilterSpecRecursionOption = "self"
)

type FibreChannelPortType

type FibreChannelPortType string

The operating mode of the adapter.

const (
	Fabric_FibreChannelPortType FibreChannelPortType = "fabric"

	Loop_FibreChannelPortType FibreChannelPortType = "loop"

	PointToPoint_FibreChannelPortType FibreChannelPortType = "pointToPoint"

	Unknown_FibreChannelPortType FibreChannelPortType = "unknown"
)

type FileSystemMountInfoVStorageSupportStatus

type FileSystemMountInfoVStorageSupportStatus string

Status of volume's support for vStorage hardware acceleration. The ESX Server determines the status based on the capabilities of the devices that support the file system volume. When a host boots, the support status is unknown. As the ESX host attempts hardware-accelerated operations, it determines whether the storage device supports hardware acceleration and sets the vStorageSupport property accordingly.

const (

	// Storage device supports hardware acceleration.
	// The ESX host will use the feature to offload certain
	// storage-related operations to the device.
	VStorageSupported_FileSystemMountInfoVStorageSupportStatus FileSystemMountInfoVStorageSupportStatus = "vStorageSupported"

	// Initial support status value.
	VStorageUnknown_FileSystemMountInfoVStorageSupportStatus FileSystemMountInfoVStorageSupportStatus = "vStorageUnknown"

	// Storage device does not support hardware acceleration.
	// The ESX host will handle all storage-related operations.
	VStorageUnsupported_FileSystemMountInfoVStorageSupportStatus FileSystemMountInfoVStorageSupportStatus = "vStorageUnsupported"
)

type FtIssuesOnHostHostSelectionType

type FtIssuesOnHostHostSelectionType string

HostSelectionType defines how the host was selected

const (

	// The host was selected by DRS
	Drs_FtIssuesOnHostHostSelectionType FtIssuesOnHostHostSelectionType = "drs"

	// The host was specified by the user
	User_FtIssuesOnHostHostSelectionType FtIssuesOnHostHostSelectionType = "user"

	// The host was selected by Virtual Center
	Vc_FtIssuesOnHostHostSelectionType FtIssuesOnHostHostSelectionType = "vc"
)

type GuestFileType

type GuestFileType string
const (

	// directory
	Directory_GuestFileType GuestFileType = "directory"

	// normal file
	File_GuestFileType GuestFileType = "file"

	// symbolic link
	Symlink_GuestFileType GuestFileType = "symlink"
)

type GuestInfoAppStateType

type GuestInfoAppStateType string

Application state type.

const (

	// Guest's application agent asks for immediate reset
	AppStateNeedReset_GuestInfoAppStateType GuestInfoAppStateType = "appStateNeedReset"

	// The guest's application agent declared its state as normal and doesn't
	// require any action
	AppStateOk_GuestInfoAppStateType GuestInfoAppStateType = "appStateOk"

	// The application state wasn't set from the guest by the application agent.
	// This is the default.
	None_GuestInfoAppStateType GuestInfoAppStateType = "none"
)

type GuestOsDescriptorFirmwareType

type GuestOsDescriptorFirmwareType string

Firmware types

const (

	// BIOS firmware
	Bios_GuestOsDescriptorFirmwareType GuestOsDescriptorFirmwareType = "bios"

	// Extensible Firmware Interface
	Efi_GuestOsDescriptorFirmwareType GuestOsDescriptorFirmwareType = "efi"
)

type GuestOsDescriptorSupportLevel

type GuestOsDescriptorSupportLevel string

Guest OS support level

const (

	// Support for this operating system will be terminated in the future.
	// Please migrate to using a different operating system.
	//
	// Since vSphere API 5.1
	Deprecated_GuestOsDescriptorSupportLevel GuestOsDescriptorSupportLevel = "deprecated"

	// This operating system is not supported,
	// but may be supported in the future.
	Experimental_GuestOsDescriptorSupportLevel GuestOsDescriptorSupportLevel = "experimental"

	// This operating system is not fully supported,
	// but may have been supported in the past.
	Legacy_GuestOsDescriptorSupportLevel GuestOsDescriptorSupportLevel = "legacy"

	// Fully supported.
	Supported_GuestOsDescriptorSupportLevel GuestOsDescriptorSupportLevel = "supported"

	// This operating system may not be supported yet,
	// please check VMware compatibility guide.
	//
	// Since vSphere API 5.1
	TechPreview_GuestOsDescriptorSupportLevel GuestOsDescriptorSupportLevel = "techPreview"

	// No longer supported.
	Terminated_GuestOsDescriptorSupportLevel GuestOsDescriptorSupportLevel = "terminated"

	// This operating system is not supported.
	//
	// Since vSphere API 5.1
	Unsupported_GuestOsDescriptorSupportLevel GuestOsDescriptorSupportLevel = "unsupported"
)

type HostActiveDirectoryInfoDomainMembershipStatus

type HostActiveDirectoryInfoDomainMembershipStatus string
const (

	// The client side of the trust relationship is broken.
	ClientTrustBroken_HostActiveDirectoryInfoDomainMembershipStatus HostActiveDirectoryInfoDomainMembershipStatus = "clientTrustBroken"

	// Unexpected domain controller responded.
	InconsistentTrust_HostActiveDirectoryInfoDomainMembershipStatus HostActiveDirectoryInfoDomainMembershipStatus = "inconsistentTrust"

	// The host thinks it's part of a domain,
	// but no domain controllers could be reached to confirm.
	NoServers_HostActiveDirectoryInfoDomainMembershipStatus HostActiveDirectoryInfoDomainMembershipStatus = "noServers"

	// No problems with the domain membership.
	Ok_HostActiveDirectoryInfoDomainMembershipStatus HostActiveDirectoryInfoDomainMembershipStatus = "ok"

	// There's some problem with the domain membership.
	OtherProblem_HostActiveDirectoryInfoDomainMembershipStatus HostActiveDirectoryInfoDomainMembershipStatus = "otherProblem"

	// The server side of the trust relationship is broken
	// (or bad machine password).
	ServerTrustBroken_HostActiveDirectoryInfoDomainMembershipStatus HostActiveDirectoryInfoDomainMembershipStatus = "serverTrustBroken"

	// The Active Directory integration provider does not support
	// domain trust checks.
	Unknown_HostActiveDirectoryInfoDomainMembershipStatus HostActiveDirectoryInfoDomainMembershipStatus = "unknown"
)

type HostCapabilityFtUnsupportedReason

type HostCapabilityFtUnsupportedReason string

Set of possible values for ftCompatibilityIssues

const (

	// Host does not have proper FT license
	FtNotLicensed_HostCapabilityFtUnsupportedReason HostCapabilityFtUnsupportedReason = "ftNotLicensed"

	// Host does not have HA agent running properly
	HaAgentIssue_HostCapabilityFtUnsupportedReason HostCapabilityFtUnsupportedReason = "haAgentIssue"

	// FT logging nic is not configured on the host
	MissingFTLoggingNic_HostCapabilityFtUnsupportedReason HostCapabilityFtUnsupportedReason = "missingFTLoggingNic"

	// VMotion nic is not configured on the host
	MissingVMotionNic_HostCapabilityFtUnsupportedReason HostCapabilityFtUnsupportedReason = "missingVMotionNic"

	// No VMotion license
	VMotionNotLicensed_HostCapabilityFtUnsupportedReason HostCapabilityFtUnsupportedReason = "vMotionNotLicensed"
)

type HostCapabilityVmDirectPathGen2UnsupportedReason

type HostCapabilityVmDirectPathGen2UnsupportedReason string

Set of possible values for vmDirectPathGen2UnsupportedReason.

const (

	// The host is configured to disable VMDirectPath Gen 2.
	HostNptDisabled_HostCapabilityVmDirectPathGen2UnsupportedReason HostCapabilityVmDirectPathGen2UnsupportedReason = "hostNptDisabled"

	// The host hardware does not support VMDirectPath Gen 2. Note that
	// this is a general capability for the host and is independent of
	// support by a given physical NIC.
	HostNptIncompatibleHardware_HostCapabilityVmDirectPathGen2UnsupportedReason HostCapabilityVmDirectPathGen2UnsupportedReason = "hostNptIncompatibleHardware"

	// The host software does not support VMDirectPath Gen 2.
	HostNptIncompatibleProduct_HostCapabilityVmDirectPathGen2UnsupportedReason HostCapabilityVmDirectPathGen2UnsupportedReason = "hostNptIncompatibleProduct"
)

type HostConfigChangeMode

type HostConfigChangeMode string

This is a global mode on a configuration specification indicating whether the structure represents the desired state or the set of operations to apply on the managed object.

const (

	// Indicates that the structure represents the
	// set of operations to apply on the managed object.
	Modify_HostConfigChangeMode HostConfigChangeMode = "modify"

	// Indicates that the structure represents the
	// desired state of the managed object.
	Replace_HostConfigChangeMode HostConfigChangeMode = "replace"
)

type HostConfigChangeOperation

type HostConfigChangeOperation string

This list indicates the operation that should be performed for a network entity.

const (

	// Indicates the addition of a network entity to
	// the configuration.
	Add_HostConfigChangeOperation HostConfigChangeOperation = "add"

	// Indicates changes on the network entity.  The
	// entity must exist or a NotFound error
	// will be thrown.
	Edit_HostConfigChangeOperation HostConfigChangeOperation = "edit"

	// Indicates the removal of a network entity from
	// the configuration.
	Remove_HostConfigChangeOperation HostConfigChangeOperation = "remove"
)

type HostCpuPackageVendor

type HostCpuPackageVendor string
const (
	Amd_HostCpuPackageVendor HostCpuPackageVendor = "amd"

	Intel_HostCpuPackageVendor HostCpuPackageVendor = "intel"

	Unknown_HostCpuPackageVendor HostCpuPackageVendor = "unknown"
)

type HostCpuPowerManagementInfoPolicyType

type HostCpuPowerManagementInfoPolicyType string

Possible values for Current CPU power management policy

const (
	DynamicPolicy_HostCpuPowerManagementInfoPolicyType HostCpuPowerManagementInfoPolicyType = "dynamicPolicy"

	Off_HostCpuPowerManagementInfoPolicyType HostCpuPowerManagementInfoPolicyType = "off"

	StaticPolicy_HostCpuPowerManagementInfoPolicyType HostCpuPowerManagementInfoPolicyType = "staticPolicy"
)

type HostDasErrorEventHostDasErrorReason

type HostDasErrorEventHostDasErrorReason string
const (

	// HA agent has an error
	AgentFailed_HostDasErrorEventHostDasErrorReason HostDasErrorEventHostDasErrorReason = "agentFailed"

	// HA agent was shutdown
	AgentShutdown_HostDasErrorEventHostDasErrorReason HostDasErrorEventHostDasErrorReason = "agentShutdown"

	// HA communication initialization failed
	CommunicationInitFailed_HostDasErrorEventHostDasErrorReason HostDasErrorEventHostDasErrorReason = "communicationInitFailed"

	// Error while configuring/unconfiguring HA
	ConfigFailed_HostDasErrorEventHostDasErrorReason HostDasErrorEventHostDasErrorReason = "configFailed"

	// Health check script failed
	HealthCheckScriptFailed_HostDasErrorEventHostDasErrorReason HostDasErrorEventHostDasErrorReason = "healthCheckScriptFailed"

	// HA isolation address unpingable
	//
	// Since vSphere API 4.1
	IsolationAddressUnpingable_HostDasErrorEventHostDasErrorReason HostDasErrorEventHostDasErrorReason = "isolationAddressUnpingable"

	// Other reason
	Other_HostDasErrorEventHostDasErrorReason HostDasErrorEventHostDasErrorReason = "other"

	// Timeout while communicating with HA agent
	Timeout_HostDasErrorEventHostDasErrorReason HostDasErrorEventHostDasErrorReason = "timeout"
)

type HostDigestInfoDigestMethodType

type HostDigestInfoDigestMethodType string

The set of digest methods that can be used by TPM to calculate the PCR values.

const (
	MD5_HostDigestInfoDigestMethodType HostDigestInfoDigestMethodType = "MD5"

	SHA1_HostDigestInfoDigestMethodType HostDigestInfoDigestMethodType = "SHA1"
)

type HostDisconnectedEventReasonCode

type HostDisconnectedEventReasonCode string
const (

	// Agent is out of date
	//
	// Since vSphere API 4.1
	AgentOutOfDate_HostDisconnectedEventReasonCode HostDisconnectedEventReasonCode = "agentOutOfDate"

	// Agent is being upgraded
	AgentUpgrade_HostDisconnectedEventReasonCode HostDisconnectedEventReasonCode = "agentUpgrade"

	// License not available after host upgrade
	InsufficientLicenses_HostDisconnectedEventReasonCode HostDisconnectedEventReasonCode = "insufficientLicenses"

	// License expired for the host
	LicenseExpired_HostDisconnectedEventReasonCode HostDisconnectedEventReasonCode = "licenseExpired"

	// Failed to decrypt password
	//
	// Since vSphere API 4.1
	PasswordDecryptFailure_HostDisconnectedEventReasonCode HostDisconnectedEventReasonCode = "passwordDecryptFailure"

	// Failed to verify SSL thumbprint
	SslThumbprintVerifyFailed_HostDisconnectedEventReasonCode HostDisconnectedEventReasonCode = "sslThumbprintVerifyFailed"

	// Unknown reason
	//
	// Since vSphere API 4.1
	Unknown_HostDisconnectedEventReasonCode HostDisconnectedEventReasonCode = "unknown"

	// User requested disconnect
	UserRequest_HostDisconnectedEventReasonCode HostDisconnectedEventReasonCode = "userRequest"

	// The vRAM capacity of vCenter will be exceeded
	//
	// Since vSphere API 5.1
	VcVRAMCapacityExceeded_HostDisconnectedEventReasonCode HostDisconnectedEventReasonCode = "vcVRAMCapacityExceeded"
)

type HostDiskPartitionInfoPartitionFormat

type HostDiskPartitionInfoPartitionFormat string

List of partition format types. This denotes the partition table layout.

const (
	Gpt_HostDiskPartitionInfoPartitionFormat HostDiskPartitionInfoPartitionFormat = "gpt"

	Mbr_HostDiskPartitionInfoPartitionFormat HostDiskPartitionInfoPartitionFormat = "mbr"

	Unknown_HostDiskPartitionInfoPartitionFormat HostDiskPartitionInfoPartitionFormat = "unknown"
)

type HostDiskPartitionInfoType

type HostDiskPartitionInfoType string

List of symbol partition types

const (
	Extended_HostDiskPartitionInfoType HostDiskPartitionInfoType = "extended"

	LinuxNative_HostDiskPartitionInfoType HostDiskPartitionInfoType = "linuxNative"

	LinuxSwap_HostDiskPartitionInfoType HostDiskPartitionInfoType = "linuxSwap"

	None_HostDiskPartitionInfoType HostDiskPartitionInfoType = "none"

	Ntfs_HostDiskPartitionInfoType HostDiskPartitionInfoType = "ntfs"

	// Since vSphere API 5.5
	Vffs_HostDiskPartitionInfoType HostDiskPartitionInfoType = "vffs"

	Vmfs_HostDiskPartitionInfoType HostDiskPartitionInfoType = "vmfs"

	VmkDiagnostic_HostDiskPartitionInfoType HostDiskPartitionInfoType = "vmkDiagnostic"
)

type HostFeatureVersionKey

type HostFeatureVersionKey string

Set of possible values for key, which is a unique key that identifies a feature.

const (

	// VMware Fault Tolerance feature. For pre-4.1 hosts, the
	// version value reported will be empty in which case
	// build should be used. For all
	// other hosts, the version number reported will be a component-specific
	// version identifier of the form X.Y.Z, where:
	// X refers to host agent Fault Tolerance version number,
	// Y refers to VMX Fault Tolerance version number,
	// Z refers to VMkernal Fault Tolerance version
	FaultTolerance_HostFeatureVersionKey HostFeatureVersionKey = "faultTolerance"
)

type HostFirewallRuleDirection

type HostFirewallRuleDirection string

Enumeration of port directions.

const (
	Inbound_HostFirewallRuleDirection HostFirewallRuleDirection = "inbound"

	Outbound_HostFirewallRuleDirection HostFirewallRuleDirection = "outbound"
)

type HostFirewallRulePortType

type HostFirewallRulePortType string

Enumeration of port types.

const (
	Dst_HostFirewallRulePortType HostFirewallRulePortType = "dst"

	Src_HostFirewallRulePortType HostFirewallRulePortType = "src"
)

type HostFirewallRuleProtocol

type HostFirewallRuleProtocol string

Set of valid port protocols.

const (
	Tcp_HostFirewallRuleProtocol HostFirewallRuleProtocol = "tcp"

	Udp_HostFirewallRuleProtocol HostFirewallRuleProtocol = "udp"
)

type HostGraphicsInfoGraphicsType

type HostGraphicsInfoGraphicsType string

Possible values for graphics type.

const (

	// Basic graphics when no host driver is available.
	Basic_HostGraphicsInfoGraphicsType HostGraphicsInfoGraphicsType = "basic"

	// Direct graphics (ie. pass through).
	Direct_HostGraphicsInfoGraphicsType HostGraphicsInfoGraphicsType = "direct"

	// Shared graphics.
	Shared_HostGraphicsInfoGraphicsType HostGraphicsInfoGraphicsType = "shared"
)

type HostHardwareElementStatus

type HostHardwareElementStatus string

The current status of the hardware

const (

	// The physical element is functioning as expected
	Green_HostHardwareElementStatus HostHardwareElementStatus = "Green"

	// The physical element is failing. It is possible that some or all
	// functionalities of this physical element is degraded or not working.
	Red_HostHardwareElementStatus HostHardwareElementStatus = "Red"

	// The implementation cannot report on the current status of the
	// physical element
	Unknown_HostHardwareElementStatus HostHardwareElementStatus = "Unknown"

	// All functionality is available but some might be degraded.
	Yellow_HostHardwareElementStatus HostHardwareElementStatus = "Yellow"
)

type HostImageAcceptanceLevel

type HostImageAcceptanceLevel string

Acceptance level definitions

const (

	// "Community-supported"
	Community_HostImageAcceptanceLevel HostImageAcceptanceLevel = "community"

	// "Partner-supported"
	Partner_HostImageAcceptanceLevel HostImageAcceptanceLevel = "partner"

	// "VMware-accepted"
	Vmware_accepted_HostImageAcceptanceLevel HostImageAcceptanceLevel = "vmware_accepted"

	// "VMware-certified"
	Vmware_certified_HostImageAcceptanceLevel HostImageAcceptanceLevel = "vmware_certified"
)

type HostIncompatibleForFaultToleranceReason

type HostIncompatibleForFaultToleranceReason string

Reasons why fault tolerance is not supported on the host.

const (

	// The product supports fault tolerance but the host CPU does not.
	Processor_HostIncompatibleForFaultToleranceReason HostIncompatibleForFaultToleranceReason = "processor"

	// The product does not support fault tolerance.
	Product_HostIncompatibleForFaultToleranceReason HostIncompatibleForFaultToleranceReason = "product"
)

type HostIncompatibleForRecordReplayReason

type HostIncompatibleForRecordReplayReason string

Reasons why record/replay is not supported on a host.

const (

	// The product supports record/replay but the host CPU does not.
	Processor_HostIncompatibleForRecordReplayReason HostIncompatibleForRecordReplayReason = "processor"

	// The product does not support record/replay.
	Product_HostIncompatibleForRecordReplayReason HostIncompatibleForRecordReplayReason = "product"
)

type HostInternetScsiHbaChapAuthenticationType

type HostInternetScsiHbaChapAuthenticationType string

The type of CHAP authentication setting to use. prohibited : do not use CHAP. preferred : use CHAP if successfully negotiated, but allow non-CHAP connections as fallback discouraged : use non-CHAP, but allow CHAP connectsion as fallback required : use CHAP for connection strictly, and fail if CHAP negotiation fails.

Defaults to preferred on first configuration if unspecified.

const (
	ChapDiscouraged_HostInternetScsiHbaChapAuthenticationType HostInternetScsiHbaChapAuthenticationType = "chapDiscouraged"

	ChapPreferred_HostInternetScsiHbaChapAuthenticationType HostInternetScsiHbaChapAuthenticationType = "chapPreferred"

	ChapProhibited_HostInternetScsiHbaChapAuthenticationType HostInternetScsiHbaChapAuthenticationType = "chapProhibited"

	ChapRequired_HostInternetScsiHbaChapAuthenticationType HostInternetScsiHbaChapAuthenticationType = "chapRequired"
)

type HostInternetScsiHbaDigestType

type HostInternetScsiHbaDigestType string

The type of integrity checks to use. The digest setting for header and data traffic can be separately configured. prohibited : do not use digest. preferred : use digest if successfully negotiated, but skip the use of digest otherwise. discouraged : do not use digest if target allows, otherwise use digest. required : use digest strictly, and fail if target does not support digest.

Defaults to preferred on first configuration if unspecified.

const (
	DigestDiscouraged_HostInternetScsiHbaDigestType HostInternetScsiHbaDigestType = "digestDiscouraged"

	DigestPreferred_HostInternetScsiHbaDigestType HostInternetScsiHbaDigestType = "digestPreferred"

	DigestProhibited_HostInternetScsiHbaDigestType HostInternetScsiHbaDigestType = "digestProhibited"

	DigestRequired_HostInternetScsiHbaDigestType HostInternetScsiHbaDigestType = "digestRequired"
)

type HostInternetScsiHbaNetworkBindingSupportType

type HostInternetScsiHbaNetworkBindingSupportType string

The binding mode of the adapter.

const (
	Notsupported_HostInternetScsiHbaNetworkBindingSupportType HostInternetScsiHbaNetworkBindingSupportType = "notsupported"

	Optional_HostInternetScsiHbaNetworkBindingSupportType HostInternetScsiHbaNetworkBindingSupportType = "optional"

	Required_HostInternetScsiHbaNetworkBindingSupportType HostInternetScsiHbaNetworkBindingSupportType = "required"
)

type HostInternetScsiHbaStaticTargetTargetDiscoveryMethod

type HostInternetScsiHbaStaticTargetTargetDiscoveryMethod string

The method of discovery of an iScsi target. staticMethod: static discovery sendTargetsMethod: sendtarget discovery slpMethod: Service Location Protocol discovery isnsMethod: Internet Storage Name Service discovery unknownMethod: discovery method not identified by iscsi stack

const (
	IsnsMethod_HostInternetScsiHbaStaticTargetTargetDiscoveryMethod HostInternetScsiHbaStaticTargetTargetDiscoveryMethod = "isnsMethod"

	SendTargetMethod_HostInternetScsiHbaStaticTargetTargetDiscoveryMethod HostInternetScsiHbaStaticTargetTargetDiscoveryMethod = "sendTargetMethod"

	SlpMethod_HostInternetScsiHbaStaticTargetTargetDiscoveryMethod HostInternetScsiHbaStaticTargetTargetDiscoveryMethod = "slpMethod"

	StaticMethod_HostInternetScsiHbaStaticTargetTargetDiscoveryMethod HostInternetScsiHbaStaticTargetTargetDiscoveryMethod = "staticMethod"

	UnknownMethod_HostInternetScsiHbaStaticTargetTargetDiscoveryMethod HostInternetScsiHbaStaticTargetTargetDiscoveryMethod = "unknownMethod"
)

type HostIpConfigIpV6AddressConfigType

type HostIpConfigIpV6AddressConfigType string

This specifies how the ipv6 address is configured for the interface. We follow rfc4293 in defining the values for the configType.

const (

	// The address is configured through dhcp.
	Dhcp_HostIpConfigIpV6AddressConfigType HostIpConfigIpV6AddressConfigType = "dhcp"

	// The address is obtained through stateless autoconfiguration.
	Linklayer_HostIpConfigIpV6AddressConfigType HostIpConfigIpV6AddressConfigType = "linklayer"

	// The address is configured manually.
	Manual_HostIpConfigIpV6AddressConfigType HostIpConfigIpV6AddressConfigType = "manual"

	// Any other type of address configuration other than the below
	// mentioned ones will fall under this category. For e.g., automatic
	// address configuration for the link local address falls under
	// this type.
	Other_HostIpConfigIpV6AddressConfigType HostIpConfigIpV6AddressConfigType = "other"

	// The address is chosen by the system at random
	// e.g., an IPv4 address within 169.254/16, or an RFC
	// 3041 privacy address.
	Random_HostIpConfigIpV6AddressConfigType HostIpConfigIpV6AddressConfigType = "random"
)

type HostIpConfigIpV6AddressStatus

type HostIpConfigIpV6AddressStatus string
const (

	// Indicates that this is a valid but deprecated address
	// that should no longer be used as a source address.
	Deprecated_HostIpConfigIpV6AddressStatus HostIpConfigIpV6AddressStatus = "deprecated"

	// Indicates the address has been determined to be non-unique
	// on the link, this address will not be reachable.
	Duplicate_HostIpConfigIpV6AddressStatus HostIpConfigIpV6AddressStatus = "duplicate"

	// Indicates that the address is not accessible because
	// interface is not operational.
	Inaccessible_HostIpConfigIpV6AddressStatus HostIpConfigIpV6AddressStatus = "inaccessible"

	// Indicates that this isn't a valid.
	Invalid_HostIpConfigIpV6AddressStatus HostIpConfigIpV6AddressStatus = "invalid"

	// Indicates that this is a valid address.
	Preferred_HostIpConfigIpV6AddressStatus HostIpConfigIpV6AddressStatus = "preferred"

	// Indicates that the uniqueness of the
	// address on the link is presently being verified.
	Tentative_HostIpConfigIpV6AddressStatus HostIpConfigIpV6AddressStatus = "tentative"

	// Indicates that the status cannot be determined.
	Unknown_HostIpConfigIpV6AddressStatus HostIpConfigIpV6AddressStatus = "unknown"
)

type HostLicensableResourceKey

type HostLicensableResourceKey string

Identifiers of currently supported resources.

const (

	// Total size of memory configured for VMs on this host, measured in kilobytes.
	MemoryForVms_HostLicensableResourceKey HostLicensableResourceKey = "memoryForVms"

	// Total size of memory installed on this host, measured in kilobytes.
	MemorySize_HostLicensableResourceKey HostLicensableResourceKey = "memorySize"

	// Number of licensable CPU cores/compute-units on this host.
	NumCpuCores_HostLicensableResourceKey HostLicensableResourceKey = "numCpuCores"

	// Number of CPU packages on this host.
	NumCpuPackages_HostLicensableResourceKey HostLicensableResourceKey = "numCpuPackages"

	// Number of VMs already running on this host.
	NumVmsStarted_HostLicensableResourceKey HostLicensableResourceKey = "numVmsStarted"

	// Number of VMs that are currently powering-on, immigrating, etc.
	NumVmsStarting_HostLicensableResourceKey HostLicensableResourceKey = "numVmsStarting"
)

type HostLowLevelProvisioningManagerReloadTarget

type HostLowLevelProvisioningManagerReloadTarget string

The target of the disk reload.

const (

	// Specifies the reload of the current config of the virtual machine.
	CurrentConfig_HostLowLevelProvisioningManagerReloadTarget HostLowLevelProvisioningManagerReloadTarget = "currentConfig"

	// Specifies the reload of the snapshot config of the virtual machine.
	// If the virtual machine has multiple snapshots, all of the snapshot's
	// config will be reloaded.
	SnapshotConfig_HostLowLevelProvisioningManagerReloadTarget HostLowLevelProvisioningManagerReloadTarget = "snapshotConfig"
)

type HostMountInfoInaccessibleReason

type HostMountInfoInaccessibleReason string

A datastore can become inaccessible due to a number of reasons as defined in this enum InaccessibleReason. The reason for a datastore being inaccessibile is reported in inaccessibleReason.

APD ("All Paths Down") is a condition where a SAN or NFS storage has become inaccessible for unknown reasons. It only indicates loss of connectivity and does not indicate storage device failure or LUN removal (Permanent Device Loss or PDL)

A difference between APD and PDL is that APD may recover in which case all use cases will start to work as before. In case of PDL the failed datastore/device is unlikely to recover and hence the device path information and data cache will be emptied. If the PDL condition recovers, the failed datastores have to be added back to the host. Once in PDL a datastore cannot be added back until there are no longer any open files on the datastore.

PDL is not linked to the APD and can happen at any time with or without APD preceding. If APD and PDL occur at the same time, APD will be reported first. Once (and if) the APD condition clears, PermanentDataLoss will be reported if PDL condition still exists.

const (

	// AllPathsDown_Start value is reported when all paths down state is detected
	AllPathsDown_Start_HostMountInfoInaccessibleReason HostMountInfoInaccessibleReason = "AllPathsDown_Start"

	// After a wait for a system default time (which is user modifiable)
	// to ascertain the state is indeed an APD, AllPathsDown_Timeout property
	// is reported. The host advanced option used to set timeout period
	// is "/Misc/APDTimeout"
	//
	// After the datastore property is set to AllPathsDown_Timeout, all data i/o
	// to the datastore will be fast-failed (failed immediately).
	AllPathsDown_Timeout_HostMountInfoInaccessibleReason HostMountInfoInaccessibleReason = "AllPathsDown_Timeout"

	// A PDL condition is reported as PermanentDeviceLoss.
	PermanentDeviceLoss_HostMountInfoInaccessibleReason HostMountInfoInaccessibleReason = "PermanentDeviceLoss"
)

type HostMountMode

type HostMountMode string

Defines the access mode of the datastore.

const (

	// The host system has read-only access to the file system.
	ReadOnly_HostMountMode HostMountMode = "readOnly"

	// The host system has read/write access to the file system.
	ReadWrite_HostMountMode HostMountMode = "readWrite"
)

type HostNetStackInstanceCongestionControlAlgorithmType

type HostNetStackInstanceCongestionControlAlgorithmType string

Define TCP congestion control algorithm used by an instance

const (

	// Cubic Algorithm.
	// See http://tools.ietf.org/id/draft-rhee-tcp-cubic-00.txt for detail.
	Cubic_HostNetStackInstanceCongestionControlAlgorithmType HostNetStackInstanceCongestionControlAlgorithmType = "cubic"

	// New Reno Algorithm.
	// See http://tools.ietf.org/html/rfc3782 for detail.
	Newreno_HostNetStackInstanceCongestionControlAlgorithmType HostNetStackInstanceCongestionControlAlgorithmType = "newreno"
)

type HostNetStackInstanceSystemStackKey

type HostNetStackInstanceSystemStackKey string

Define the instance identifier for different traffic type

const (

	// The default stack used by applications
	DefaultTcpipStack_HostNetStackInstanceSystemStackKey HostNetStackInstanceSystemStackKey = "defaultTcpipStack"
)

type HostNumericSensorHealthState

type HostNumericSensorHealthState string

Health state of the numeric sensor as reported by the sensor probes.

const (

	// The sensor is operating under normal conditions
	Green_HostNumericSensorHealthState HostNumericSensorHealthState = "green"

	// The sensor is operating under critical or fatal conditions. This may
	// directly affect the functioning of both the sensor and related
	// components.
	Red_HostNumericSensorHealthState HostNumericSensorHealthState = "red"

	// The implementation cannot report on the current health state of the
	// physical element
	Unknown_HostNumericSensorHealthState HostNumericSensorHealthState = "unknown"

	// The sensor is operating under conditions that are non-critical.
	Yellow_HostNumericSensorHealthState HostNumericSensorHealthState = "yellow"
)

type HostNumericSensorType

type HostNumericSensorType string
const (

	// Fan sensor
	Fan_HostNumericSensorType HostNumericSensorType = "fan"

	// Other sensor.
	Other_HostNumericSensorType HostNumericSensorType = "other"

	// Power sensor
	Power_HostNumericSensorType HostNumericSensorType = "power"

	// Temperature sensor
	Temperature_HostNumericSensorType HostNumericSensorType = "temperature"

	// Voltage Sensor
	Voltage_HostNumericSensorType HostNumericSensorType = "voltage"
)

type HostPatchManagerInstallState

type HostPatchManagerInstallState string

The installation state if the update is installed on the server.

const (

	// The server has been restarted since the update installation.
	HostRestarted_HostPatchManagerInstallState HostPatchManagerInstallState = "hostRestarted"

	// Indicates if the newly installed image is active on the server
	ImageActive_HostPatchManagerInstallState HostPatchManagerInstallState = "imageActive"
)

type HostPatchManagerIntegrityStatus

type HostPatchManagerIntegrityStatus string

The integrity validation status.

const (

	// A digital signature of the update does not match.
	DigestMismatch_HostPatchManagerIntegrityStatus HostPatchManagerIntegrityStatus = "digestMismatch"

	// A public key to verify the update is expired.
	KeyExpired_HostPatchManagerIntegrityStatus HostPatchManagerIntegrityStatus = "keyExpired"

	// The integrity can not be verified since a public key to
	// verify the update cannot be found.
	KeyNotFound_HostPatchManagerIntegrityStatus HostPatchManagerIntegrityStatus = "keyNotFound"

	// A public key to verify the update has been revoked.
	KeyRevoked_HostPatchManagerIntegrityStatus HostPatchManagerIntegrityStatus = "keyRevoked"

	// Not enough signed signatures on the update.
	NotEnoughSignatures_HostPatchManagerIntegrityStatus HostPatchManagerIntegrityStatus = "notEnoughSignatures"

	// The update is successfully validated.
	Validated_HostPatchManagerIntegrityStatus HostPatchManagerIntegrityStatus = "validated"

	// The integrity validation failed.
	ValidationError_HostPatchManagerIntegrityStatus HostPatchManagerIntegrityStatus = "validationError"
)

type HostPatchManagerReason

type HostPatchManagerReason string

Reasons why an update is not applicable to the ESX host.

const (

	// The update conflicts with RPMs or libraries installed on the
	// host.
	ConflictLib_HostPatchManagerReason HostPatchManagerReason = "conflictLib"

	// The update conflicts with certain updates that are already
	// installed on the host.
	ConflictPatch_HostPatchManagerReason HostPatchManagerReason = "conflictPatch"

	// The update depends on an update that is not installed but is
	// in the scanned list of updates.
	HasDependentPatch_HostPatchManagerReason HostPatchManagerReason = "hasDependentPatch"

	// The update depends on certain libraries or RPMs that are not
	// available.
	MissingLib_HostPatchManagerReason HostPatchManagerReason = "missingLib"

	// The update depends on another update that is neither installed
	// nor in the scanned list of updates.
	MissingPatch_HostPatchManagerReason HostPatchManagerReason = "missingPatch"

	// The update is made obsolete by other patches installed on the host.
	Obsoleted_HostPatchManagerReason HostPatchManagerReason = "obsoleted"
)

type HostPowerOperationType

type HostPowerOperationType string
const (

	// Power Off Operation. Power off operation puts the host in
	// a state that can be woken up remotely.
	PowerOff_HostPowerOperationType HostPowerOperationType = "powerOff"

	// Power On Operation
	PowerOn_HostPowerOperationType HostPowerOperationType = "powerOn"
)

type HostProfileManagerAnswerFileStatus

type HostProfileManagerAnswerFileStatus string

The HostProfileManagerAnswerFileStatus enum defines possible values for answer file status.

const (

	// Answer file is not valid. The file is either missing or incomplete.
	//
	// To produce an answer file, pass host-specific data (user input) to the
	// HostProfileManager.ApplyHostConfig_Task
	// method.
	// To produce a complete answer file, call the
	// HostProfile.ExecuteHostProfile
	// method and fill in any missing parameters in the returned
	// ProfileExecuteResult.requireInput
	// list. After you execute the profile successfully, you can pass the complete required
	// input list to the apply method.
	Invalid_HostProfileManagerAnswerFileStatus HostProfileManagerAnswerFileStatus = "invalid"

	// Answer file status is not known.
	Unknown_HostProfileManagerAnswerFileStatus HostProfileManagerAnswerFileStatus = "unknown"

	// Answer file is valid.
	Valid_HostProfileManagerAnswerFileStatus HostProfileManagerAnswerFileStatus = "valid"
)

type HostReplayUnsupportedReason

type HostReplayUnsupportedReason string

Set of possible values for replayUnsupportedReason and replayCompatibilityIssues.

const (
	CpuidLimitSet_HostReplayUnsupportedReason HostReplayUnsupportedReason = "cpuidLimitSet"

	HvDisabled_HostReplayUnsupportedReason HostReplayUnsupportedReason = "hvDisabled"

	IncompatibleCpu_HostReplayUnsupportedReason HostReplayUnsupportedReason = "incompatibleCpu"

	IncompatibleProduct_HostReplayUnsupportedReason HostReplayUnsupportedReason = "incompatibleProduct"

	OldBIOS_HostReplayUnsupportedReason HostReplayUnsupportedReason = "oldBIOS"

	Unknown_HostReplayUnsupportedReason HostReplayUnsupportedReason = "unknown"
)

type HostRuntimeInfoNetStackInstanceRuntimeInfoState

type HostRuntimeInfoNetStackInstanceRuntimeInfoState string

Define the instance state type

const (

	// Reserved state for future proofing asynchronous creation
	Activating_HostRuntimeInfoNetStackInstanceRuntimeInfoState HostRuntimeInfoNetStackInstanceRuntimeInfoState = "activating"

	// The instance is running
	Active_HostRuntimeInfoNetStackInstanceRuntimeInfoState HostRuntimeInfoNetStackInstanceRuntimeInfoState = "active"

	// The instance is in the progress of asynchronous deletion
	Deactivating_HostRuntimeInfoNetStackInstanceRuntimeInfoState HostRuntimeInfoNetStackInstanceRuntimeInfoState = "deactivating"

	// The instance is deleted or not running
	Inactive_HostRuntimeInfoNetStackInstanceRuntimeInfoState HostRuntimeInfoNetStackInstanceRuntimeInfoState = "inactive"
)

type HostServicePolicy

type HostServicePolicy string

Set of valid service policy strings.

const (

	// Service should run if and only if it has open firewall ports.
	Automatic_HostServicePolicy HostServicePolicy = "automatic"

	// Service should not be started when the host starts up.
	Off_HostServicePolicy HostServicePolicy = "off"

	// Service should be started when the host starts up.
	On_HostServicePolicy HostServicePolicy = "on"
)

type HostSnmpAgentCapability

type HostSnmpAgentCapability string

SNMP Agent supported capabilities enum

const (

	// Implements test notifications and allows agent configuration
	COMPLETE_HostSnmpAgentCapability HostSnmpAgentCapability = "COMPLETE"

	// Allows for agent configuration only
	CONFIGURATION_HostSnmpAgentCapability HostSnmpAgentCapability = "CONFIGURATION"

	// Implements only test notification capability only
	DIAGNOSTICS_HostSnmpAgentCapability HostSnmpAgentCapability = "DIAGNOSTICS"
)

type HostStandbyMode

type HostStandbyMode string

Defines a host's standby mode.

const (

	// The host is entering standby mode.
	Entering_HostStandbyMode HostStandbyMode = "entering"

	// The host is exiting standby mode.
	Exiting_HostStandbyMode HostStandbyMode = "exiting"

	// The host is in standby mode.
	In_HostStandbyMode HostStandbyMode = "in"

	// The host is not in standy mode. And it is not
	// in the process of entering/exiting standby mode.
	None_HostStandbyMode HostStandbyMode = "none"
)

type HostSystemConnectionState

type HostSystemConnectionState string

Defines a host's connection state.

const (

	// Connected to the server. For ESX Server, this is always the setting.
	Connected_HostSystemConnectionState HostSystemConnectionState = "connected"

	// The user has explicitly taken the host down. VirtualCenter does not expect to
	// receive heartbeats from the host. The next time a heartbeat is received, the
	// host is moved to the connected state again and an event is logged.
	Disconnected_HostSystemConnectionState HostSystemConnectionState = "disconnected"

	// VirtualCenter is not receiving heartbeats from the server. The state
	// automatically changes to connected once heartbeats are received
	// again. This state is typically used to trigger an alarm on the host.
	NotResponding_HostSystemConnectionState HostSystemConnectionState = "notResponding"
)

type HostSystemIdentificationInfoIdentifier

type HostSystemIdentificationInfoIdentifier string
const (

	// The Asset tag of the system
	AssetTag_HostSystemIdentificationInfoIdentifier HostSystemIdentificationInfoIdentifier = "AssetTag"

	// OEM specific string
	//
	// Since vSphere API 5.0
	OemSpecificString_HostSystemIdentificationInfoIdentifier HostSystemIdentificationInfoIdentifier = "OemSpecificString"

	// The Service tag of the system
	ServiceTag_HostSystemIdentificationInfoIdentifier HostSystemIdentificationInfoIdentifier = "ServiceTag"
)

type HostSystemPowerState

type HostSystemPowerState string

Defines a host's power state.

const (

	// The host was specifically powered off by the user through
	// VirtualCenter. This state is not a cetain state, because
	// after VirtualCenter issues the command to power off the host,
	// the host might crash, or kill all the processes but fail to
	// power off.
	PoweredOff_HostSystemPowerState HostSystemPowerState = "poweredOff"

	// The host is powered on. A host that is entering standby mode
	// entering is also in this state.
	PoweredOn_HostSystemPowerState HostSystemPowerState = "poweredOn"

	// The host was specifically put in standby mode, either
	// explicitly by the user, or automatically by DPM. This state
	// is not a cetain state, because after VirtualCenter issues the
	// command to put the host in standby state, the host might
	// crash, or kill all the processes but fail to power off. A host
	// that is exiting standby mode exiting
	// is also in this state.
	StandBy_HostSystemPowerState HostSystemPowerState = "standBy"

	// If the host is disconnected, or notResponding, we cannot
	// possibly have knowledge of its power state. Hence, the host
	// is marked as unknown.
	Unknown_HostSystemPowerState HostSystemPowerState = "unknown"
)

type HostUnresolvedVmfsExtentUnresolvedReason

type HostUnresolvedVmfsExtentUnresolvedReason string

Reasons for identifying the disk extent as copy of VMFS volume extent.

const (

	// The VMFS detected 'diskid' does not match with
	// LVM detected 'diskId'
	DiskIdMismatch_HostUnresolvedVmfsExtentUnresolvedReason HostUnresolvedVmfsExtentUnresolvedReason = "diskIdMismatch"

	// VMFS 'uuid' does not match
	UuidConflict_HostUnresolvedVmfsExtentUnresolvedReason HostUnresolvedVmfsExtentUnresolvedReason = "uuidConflict"
)

type HostUnresolvedVmfsResolutionSpecVmfsUuidResolution

type HostUnresolvedVmfsResolutionSpecVmfsUuidResolution string
const (

	// Keep the original Uuid of the VMFS volume and mount it
	//
	// In the event the volume to be force mounted contains multiple
	// extents but only a single copy of each extent exists, only the
	// head extent needs to be specified.
	ForceMount_HostUnresolvedVmfsResolutionSpecVmfsUuidResolution HostUnresolvedVmfsResolutionSpecVmfsUuidResolution = "forceMount"

	// Resignature the Unresolved VMFS volume.
	//
	// In the event the volume to be resignatured contains multiple
	// extents but only a single copy of each extent exists, only the
	// head extent needs to be specified.
	Resignature_HostUnresolvedVmfsResolutionSpecVmfsUuidResolution HostUnresolvedVmfsResolutionSpecVmfsUuidResolution = "resignature"
)

type HostVirtualNicManagerNicType

type HostVirtualNicManagerNicType string
const (

	// The VirtualNic is used for Fault Tolerance logging.
	FaultToleranceLogging_HostVirtualNicManagerNicType HostVirtualNicManagerNicType = "faultToleranceLogging"

	// The VirtualNic is used for management network traffic .
	// This nicType is available only when the system does not
	// support service console adapters.See usesServiceConsoleNic
	Management_HostVirtualNicManagerNicType HostVirtualNicManagerNicType = "management"

	// The VirtualNic is used for VMotion.
	Vmotion_HostVirtualNicManagerNicType HostVirtualNicManagerNicType = "vmotion"

	// The VirtualNic is used for VSAN traffic.
	// To enable or disable a VirtualNic for VSAN networking,
	// use UpdateVsan_Task.See HostVsanSystemSee UpdateVsan_TaskSee ReconfigureComputeResource_Task
	//
	// Since vSphere API 5.5
	Vsan_HostVirtualNicManagerNicType HostVirtualNicManagerNicType = "vsan"

	// The VirtualNic is used for vSphere Replication LWD traffic
	// (i.e From the primary host to the VR server).
	//
	// Since vSphere API 5.1
	VSphereReplication_HostVirtualNicManagerNicType HostVirtualNicManagerNicType = "vSphereReplication"
)

type HostVmciAccessManagerMode

type HostVmciAccessManagerMode string

Set of possible values for mode field in AccessSpec.

const (

	// Grant access to specified services in addition to existing services.
	Grant_HostVmciAccessManagerMode HostVmciAccessManagerMode = "grant"

	// Replace existing services with specified services.
	Replace_HostVmciAccessManagerMode HostVmciAccessManagerMode = "replace"

	// Revoke the specified services.
	Revoke_HostVmciAccessManagerMode HostVmciAccessManagerMode = "revoke"
)

type HttpNfcLeaseState

type HttpNfcLeaseState string

List of possible states of a lease.

const (

	// When the import/export session is completed, and the lease
	// is no longer held.
	Done_HttpNfcLeaseState HttpNfcLeaseState = "done"

	// When an error has occurred.
	Error_HttpNfcLeaseState HttpNfcLeaseState = "error"

	// When the lease is being initialized.
	Initializing_HttpNfcLeaseState HttpNfcLeaseState = "initializing"

	// When the lease is ready and disks may be transferred.
	Ready_HttpNfcLeaseState HttpNfcLeaseState = "ready"
)

type InternetScsiSnsDiscoveryMethod

type InternetScsiSnsDiscoveryMethod string

The available iSNS discovery methods.

const (
	IsnsDhcp_InternetScsiSnsDiscoveryMethod InternetScsiSnsDiscoveryMethod = "isnsDhcp"

	IsnsSlp_InternetScsiSnsDiscoveryMethod InternetScsiSnsDiscoveryMethod = "isnsSlp"

	IsnsStatic_InternetScsiSnsDiscoveryMethod InternetScsiSnsDiscoveryMethod = "isnsStatic"
)

type InvalidDasConfigArgumentEntryForInvalidArgument

type InvalidDasConfigArgumentEntryForInvalidArgument string
const (

	// Policies for admission control
	AdmissionControl_InvalidDasConfigArgumentEntryForInvalidArgument InvalidDasConfigArgumentEntryForInvalidArgument = "admissionControl"

	// User-specified heartbeat datastores
	UserHeartbeatDs_InvalidDasConfigArgumentEntryForInvalidArgument InvalidDasConfigArgumentEntryForInvalidArgument = "userHeartbeatDs"

	// VM override
	VmConfig_InvalidDasConfigArgumentEntryForInvalidArgument InvalidDasConfigArgumentEntryForInvalidArgument = "vmConfig"
)

type InvalidProfileReferenceHostReason

type InvalidProfileReferenceHostReason string
const (

	// The associated host and profile version are incompatible.
	IncompatibleVersion_InvalidProfileReferenceHostReason InvalidProfileReferenceHostReason = "incompatibleVersion"

	// There is no reference host associated with the profile.
	MissingReferenceHost_InvalidProfileReferenceHostReason InvalidProfileReferenceHostReason = "missingReferenceHost"
)

type IscsiPortInfoPathStatus

type IscsiPortInfoPathStatus string
const (

	// All paths on this Virtual NIC are standby paths from SCSI stack
	// perspective.
	Active_IscsiPortInfoPathStatus IscsiPortInfoPathStatus = "active"

	// One or more paths on the Virtual NIC is the last active
	// path to a particular storage device.
	LastActive_IscsiPortInfoPathStatus IscsiPortInfoPathStatus = "lastActive"

	// There are no paths on this Virtual NIC
	NotUsed_IscsiPortInfoPathStatus IscsiPortInfoPathStatus = "notUsed"

	// One or more paths on the Virtual NIC are active paths to
	// storage. Unbinding this Virtual NIC will cause storage path
	// transitions.
	StandBy_IscsiPortInfoPathStatus IscsiPortInfoPathStatus = "standBy"
)

type LatencySensitivitySensitivityLevel

type LatencySensitivitySensitivityLevel string

Enumeration of the nominal latency-sensitive values which can be used to specify the latency-sensitivity level of the application.

In terms of latency-sensitivity the values relate: high>medium>normal>low.

const (

	// deprecated as of vSphere API Ver 5.5.  Value will be ignored and
	// treated as "normal" latency sensitivity.
	//
	// The custom absolute latency-sensitivity specified in
	// sensitivity property is used to
	// define the latency-sensitivity.
	//
	// When this value is set to level the
	// sensitivity property should be
	// set also.
	Custom_LatencySensitivitySensitivityLevel LatencySensitivitySensitivityLevel = "custom"

	// The relative latency-sensitivity high value.
	High_LatencySensitivitySensitivityLevel LatencySensitivitySensitivityLevel = "high"

	// The relative latency-sensitivity low value.
	Low_LatencySensitivitySensitivityLevel LatencySensitivitySensitivityLevel = "low"

	// The relative latency-sensitivity medium value.
	Medium_LatencySensitivitySensitivityLevel LatencySensitivitySensitivityLevel = "medium"

	// The relative latency-sensitivity normal value.
	//
	// This is the default latency-sensitivity value.
	Normal_LatencySensitivitySensitivityLevel LatencySensitivitySensitivityLevel = "normal"
)

type LicenseAssignmentFailedReason

type LicenseAssignmentFailedReason string
const (

	// The license downgrade is disallowed because some features are in use.
	DowngradeDisallowed_LicenseAssignmentFailedReason LicenseAssignmentFailedReason = "downgradeDisallowed"

	// The inventory has hosts that need the license server to be configured unless vCenter is in evaluation
	HostsUnmanageableByVirtualCenterWithoutLicenseServer_LicenseAssignmentFailedReason LicenseAssignmentFailedReason = "hostsUnmanageableByVirtualCenterWithoutLicenseServer"

	// The inventory has hosts which are not manageable by vCenter unless in evaluation.
	InventoryNotManageableByVirtualCenter_LicenseAssignmentFailedReason LicenseAssignmentFailedReason = "inventoryNotManageableByVirtualCenter"

	// The license and the entity to which it is to be assigned are not compatible.
	KeyEntityMismatch_LicenseAssignmentFailedReason LicenseAssignmentFailedReason = "keyEntityMismatch"
)

type LicenseFeatureInfoSourceRestriction

type LicenseFeatureInfoSourceRestriction string

Some licenses may only be allowed to load from a specified source. This enum indicates what restrictions exist for this license if any.

const (

	// The feature's license can only come from a file.
	File_LicenseFeatureInfoSourceRestriction LicenseFeatureInfoSourceRestriction = "file"

	// The feature's license can only be served.
	Served_LicenseFeatureInfoSourceRestriction LicenseFeatureInfoSourceRestriction = "served"

	// The feature does not have a source restriction.
	Unrestricted_LicenseFeatureInfoSourceRestriction LicenseFeatureInfoSourceRestriction = "unrestricted"
)

type LicenseFeatureInfoState

type LicenseFeatureInfoState string

Describes the state of the feature.

const (

	// The current edition license does not allow this additional feature.
	Disabled_LicenseFeatureInfoState LicenseFeatureInfoState = "disabled"

	// The current edition license has implicitly enabled this additional feature.
	Enabled_LicenseFeatureInfoState LicenseFeatureInfoState = "enabled"

	// The current edition license allows this additional feature. The
	// EnableFeature and DisableFeature methods can be used to enable or disable
	// this feature.
	Optional_LicenseFeatureInfoState LicenseFeatureInfoState = "optional"
)

type LicenseFeatureInfoUnit

type LicenseFeatureInfoUnit string

Cost units apply to licenses for the purpose of determining how many licenses are needed.

const (

	// One license is acquired per CPU core.
	CpuCore_LicenseFeatureInfoUnit LicenseFeatureInfoUnit = "cpuCore"

	// One license is acquired per CPU package.
	CpuPackage_LicenseFeatureInfoUnit LicenseFeatureInfoUnit = "cpuPackage"

	// One license is acquired per host.
	Host_LicenseFeatureInfoUnit LicenseFeatureInfoUnit = "host"

	// One license is acquired per server.
	Server_LicenseFeatureInfoUnit LicenseFeatureInfoUnit = "server"

	// One license is acquired per virtual machine.
	Vm_LicenseFeatureInfoUnit LicenseFeatureInfoUnit = "vm"
)

type LicenseManagerLicenseKey

type LicenseManagerLicenseKey string

Deprecated. As of VI API 2.5, use QueryLicenseSourceAvailability to obtain an array of LicenseAvailabilityInfo data objects.

Licensed features have unique keys to identify them.

const (

	// Enable ESX Server consolidated backup feature. This is a per CPU package
	// license.
	Backup_LicenseManagerLicenseKey LicenseManagerLicenseKey = "backup"

	// Enable VirtualCenter HA. This is a per ESX server CPU package license.
	Das_LicenseManagerLicenseKey LicenseManagerLicenseKey = "das"

	// Enable VirtualCenter Distributed Resource Scheduler. This is a per ESX server
	// CPU package license.
	Drs_LicenseManagerLicenseKey LicenseManagerLicenseKey = "drs"

	// Enable VirtualCenter DRS Power Management Functionality. This is a per CPU package
	//
	// Since VI API 2.5
	DrsPower_LicenseManagerLicenseKey LicenseManagerLicenseKey = "drsPower"

	// The edition license for the ESX server, Starter edition. This is a per CPU
	// package license.
	EsxExpress_LicenseManagerLicenseKey LicenseManagerLicenseKey = "esxExpress"

	// The edition license for the ESX Server, Standard edition. This is a per
	// CPU package license.
	EsxFull_LicenseManagerLicenseKey LicenseManagerLicenseKey = "esxFull"

	// Enable VirtualCenter ESX Server host management functionality. This is a per
	// ESX server CPU package license.
	EsxHost_LicenseManagerLicenseKey LicenseManagerLicenseKey = "esxHost"

	// The edition license for the ESX server, VMTN edition. This is a per CPU package
	// license.
	EsxVmtn_LicenseManagerLicenseKey LicenseManagerLicenseKey = "esxVmtn"

	// Enable VirtualCenter GSX Server host management functionality. This is a per
	// GSX server CPU package license.
	GsxHost_LicenseManagerLicenseKey LicenseManagerLicenseKey = "gsxHost"

	// Enable use of iSCSI. This is a per CPU package license.
	Iscsi_LicenseManagerLicenseKey LicenseManagerLicenseKey = "iscsi"

	// Enable use of NAS. This is a per CPU package license.
	Nas_LicenseManagerLicenseKey LicenseManagerLicenseKey = "nas"

	// Enable use of SAN. This is a per CPU package license.
	San_LicenseManagerLicenseKey LicenseManagerLicenseKey = "san"

	// Enable VirtualCenter VMware server host management functionality. This is a per
	// VMware server CPU package license.
	//
	// Since VI API 2.5
	ServerHost_LicenseManagerLicenseKey LicenseManagerLicenseKey = "serverHost"

	// The edition license for a VirtualCenter server, full edition. This license
	// is independent of the number of CPU packages for the VirtualCenter host.
	Vc_LicenseManagerLicenseKey LicenseManagerLicenseKey = "vc"

	// The edition license for a VirtualCenter server, starter edition. This license
	// limits the number of hosts (esxHost or serverHost) that can be managed by the
	// VirtualCenter product.
	//
	// Since VI API 2.5
	VcExpress_LicenseManagerLicenseKey LicenseManagerLicenseKey = "vcExpress"

	// Enable VMotion. This is a per ESX server CPU package license.
	Vmotion_LicenseManagerLicenseKey LicenseManagerLicenseKey = "vmotion"

	// Enable up to 4-way VSMP feature. This is a per CPU package license.
	Vsmp_LicenseManagerLicenseKey LicenseManagerLicenseKey = "vsmp"
)

type LicenseManagerState

type LicenseManagerState string

State of licensing subsystem.

const (

	// Initialization has failed or grace period expired.
	Fault_LicenseManagerState LicenseManagerState = "fault"

	// Setting or resetting configuration in progress.
	Initializing_LicenseManagerState LicenseManagerState = "initializing"

	// License source unavailable, using license cache.
	Marginal_LicenseManagerState LicenseManagerState = "marginal"

	// Running within operating parameters.
	Normal_LicenseManagerState LicenseManagerState = "normal"
)

type LicenseReservationInfoState

type LicenseReservationInfoState string

Describes the reservation state of a license.

const (

	// The required number of licenses have been acquired from the license source.
	Licensed_LicenseReservationInfoState LicenseReservationInfoState = "licensed"

	// This indicates that the license has expired or the system attempted to acquire
	// the license but was not successful in reserving it.
	NoLicense_LicenseReservationInfoState LicenseReservationInfoState = "noLicense"

	// This license is currently unused by the system, or the feature does not
	// apply. For example, a DRS license appears as NotUsed if the host is not
	// part of a DRS-enabled cluster.
	NotUsed_LicenseReservationInfoState LicenseReservationInfoState = "notUsed"

	// The LicenseManager failed to acquire a license but the implementation
	// policy allows us to use the licensed feature anyway. This is possible, for
	// example, when a license server becomes unavailable after a license had been
	// successfully reserved from it.
	UnlicensedUse_LicenseReservationInfoState LicenseReservationInfoState = "unlicensedUse"
)

type LinkDiscoveryProtocolConfigOperationType

type LinkDiscoveryProtocolConfigOperationType string

The Discovery Protocol operation.

const (

	// discovery packets.
	Advertise_LinkDiscoveryProtocolConfigOperationType LinkDiscoveryProtocolConfigOperationType = "advertise"

	// Sent discovery packets for the switch and listen for incoming
	// discovery packets.
	Both_LinkDiscoveryProtocolConfigOperationType LinkDiscoveryProtocolConfigOperationType = "both"

	// Listen for incoming discovery packets but don't sent discovery packet
	// for the switch.
	Listen_LinkDiscoveryProtocolConfigOperationType LinkDiscoveryProtocolConfigOperationType = "listen"

	// Don't listen for incoming discovery packets and don't sent  discover
	// packets for the switch either.
	None_LinkDiscoveryProtocolConfigOperationType LinkDiscoveryProtocolConfigOperationType = "none"
)

type LinkDiscoveryProtocolConfigProtocolType

type LinkDiscoveryProtocolConfigProtocolType string

The Discovery Protocol types.

const (

	// Cisco Discovery Protocol
	Cdp_LinkDiscoveryProtocolConfigProtocolType LinkDiscoveryProtocolConfigProtocolType = "cdp"

	// Link Layer Discovery Protocol
	Lldp_LinkDiscoveryProtocolConfigProtocolType LinkDiscoveryProtocolConfigProtocolType = "lldp"
)

type ManagedEntityStatus

type ManagedEntityStatus string

The Status enumeration defines a general "health" value for a managed entity.

const (

	// The status is unknown.
	Gray_ManagedEntityStatus ManagedEntityStatus = "gray"

	// The entity is OK.
	Green_ManagedEntityStatus ManagedEntityStatus = "green"

	// The entity definitely has a problem.
	Red_ManagedEntityStatus ManagedEntityStatus = "red"

	// The entity might have a problem.
	Yellow_ManagedEntityStatus ManagedEntityStatus = "yellow"
)

type MetricAlarmOperator

type MetricAlarmOperator string

The operation on the target metric item.

const (

	// Test if the target metric item is above the given red or yellow values.
	IsAbove_MetricAlarmOperator MetricAlarmOperator = "isAbove"

	// Test if the target metric item is below the given red or yellow values.
	IsBelow_MetricAlarmOperator MetricAlarmOperator = "isBelow"
)

type MultipathState

type MultipathState string

Set of constants defining the possible states of a multipath path.

const (
	Active_MultipathState MultipathState = "active"

	Dead_MultipathState MultipathState = "dead"

	Disabled_MultipathState MultipathState = "disabled"

	Standby_MultipathState MultipathState = "standby"

	Unknown_MultipathState MultipathState = "unknown"
)

type NetBIOSConfigInfoMode

type NetBIOSConfigInfoMode string

NetBIOS configuration mode.

const (

	// NetBIOS is disabled.
	Disabled_NetBIOSConfigInfoMode NetBIOSConfigInfoMode = "disabled"

	// NetBIOS is enabled.
	Enabled_NetBIOSConfigInfoMode NetBIOSConfigInfoMode = "enabled"

	// DHCP server decides whether or not to use NetBIOS.
	EnabledViaDHCP_NetBIOSConfigInfoMode NetBIOSConfigInfoMode = "enabledViaDHCP"

	// Mode of NetBIOS is unknown.
	Unknown_NetBIOSConfigInfoMode NetBIOSConfigInfoMode = "unknown"
)

type NetIpConfigInfoIpAddressOrigin

type NetIpConfigInfoIpAddressOrigin string

This specifies how an IP address was obtained for a given interface. See RFC 4293 IpAddressOriginTC.

const (

	// The address is configured through dhcp.
	Dhcp_NetIpConfigInfoIpAddressOrigin NetIpConfigInfoIpAddressOrigin = "dhcp"

	// The address is obtained through stateless autoconfiguration (autoconf).
	// See RFC 4862, IPv6 Stateless Address Autoconfiguration.
	Linklayer_NetIpConfigInfoIpAddressOrigin NetIpConfigInfoIpAddressOrigin = "linklayer"

	// The address is configured manually. The term 'static' is a synonym.
	Manual_NetIpConfigInfoIpAddressOrigin NetIpConfigInfoIpAddressOrigin = "manual"

	// Any other type of address configuration other than the below
	// mentioned ones will fall under this category. For e.g., automatic
	// address configuration for the link local address falls under
	// this type.
	Other_NetIpConfigInfoIpAddressOrigin NetIpConfigInfoIpAddressOrigin = "other"

	// The address is chosen by the system at random
	// e.g., an IPv4 address within 169.254/16, or an RFC 3041 privacy address.
	Random_NetIpConfigInfoIpAddressOrigin NetIpConfigInfoIpAddressOrigin = "random"
)

type NetIpConfigInfoIpAddressStatus

type NetIpConfigInfoIpAddressStatus string
const (

	// Indicates that this is a valid but deprecated address
	// that should no longer be used as a source address.
	Deprecated_NetIpConfigInfoIpAddressStatus NetIpConfigInfoIpAddressStatus = "deprecated"

	// Indicates the address has been determined to be non-unique
	// on the link, this address will not be reachable.
	Duplicate_NetIpConfigInfoIpAddressStatus NetIpConfigInfoIpAddressStatus = "duplicate"

	// Indicates that the address is not accessible because
	// interface is not operational.
	Inaccessible_NetIpConfigInfoIpAddressStatus NetIpConfigInfoIpAddressStatus = "inaccessible"

	// Indicates that this isn't a valid.
	Invalid_NetIpConfigInfoIpAddressStatus NetIpConfigInfoIpAddressStatus = "invalid"

	// Indicates that this is a valid address.
	Preferred_NetIpConfigInfoIpAddressStatus NetIpConfigInfoIpAddressStatus = "preferred"

	// Indicates that the uniqueness of the
	// address on the link is presently being verified.
	Tentative_NetIpConfigInfoIpAddressStatus NetIpConfigInfoIpAddressStatus = "tentative"

	// Indicates that the status cannot be determined.
	Unknown_NetIpConfigInfoIpAddressStatus NetIpConfigInfoIpAddressStatus = "unknown"
)

type NetIpStackInfoEntryType

type NetIpStackInfoEntryType string

IP Stack keeps state on entries in IpNetToMedia table to perform physical address lookups for IP addresses. Here are the standard states perSee RFC

const (

	// This entry has been learned using ARP or NDP.
	Dynamic_NetIpStackInfoEntryType NetIpStackInfoEntryType = "dynamic"

	// The IP Stack has marked this entry as not useable.
	Invalid_NetIpStackInfoEntryType NetIpStackInfoEntryType = "invalid"

	// This entry was set manually.
	Manual_NetIpStackInfoEntryType NetIpStackInfoEntryType = "manual"

	// This implementation is reporting something other than
	// what states are listed below.
	Other_NetIpStackInfoEntryType NetIpStackInfoEntryType = "other"
)

type NetIpStackInfoPreference

type NetIpStackInfoPreference string

The set of values used to determine ordering of default routers. See RFC 4293 ipDefaultRouterPreference.

const (
	High_NetIpStackInfoPreference NetIpStackInfoPreference = "high"

	Low_NetIpStackInfoPreference NetIpStackInfoPreference = "low"

	Medium_NetIpStackInfoPreference NetIpStackInfoPreference = "medium"

	Reserved_NetIpStackInfoPreference NetIpStackInfoPreference = "reserved"
)

type NotSupportedDeviceForFTDeviceType

type NotSupportedDeviceForFTDeviceType string
const (

	// paravirtualized SCSI controller
	ParaVirtualSCSIController_NotSupportedDeviceForFTDeviceType NotSupportedDeviceForFTDeviceType = "paraVirtualSCSIController"

	// vmxnet3 virtual Ethernet adapter
	VirtualVmxnet3_NotSupportedDeviceForFTDeviceType NotSupportedDeviceForFTDeviceType = "virtualVmxnet3"
)

type NumVirtualCpusIncompatibleReason

type NumVirtualCpusIncompatibleReason string

Reasons why the number of virtual CPUs is incompatible.

const (
	FaultTolerance_NumVirtualCpusIncompatibleReason NumVirtualCpusIncompatibleReason = "faultTolerance"

	RecordReplay_NumVirtualCpusIncompatibleReason NumVirtualCpusIncompatibleReason = "recordReplay"
)

type ObjectUpdateKind

type ObjectUpdateKind string

Enumeration of different kinds of updates.

const (

	// A managed object became visible to a filter for the first time.
	// For instance, this can happen if a virtual machine is added to a
	// folder.
	Enter_ObjectUpdateKind ObjectUpdateKind = "enter"

	// A managed object left the set of objects visible to a filter.  For
	// instance, this can happen when a virtual machine is destroyed.
	Leave_ObjectUpdateKind ObjectUpdateKind = "leave"

	// A property of the managed object changed its value.
	Modify_ObjectUpdateKind ObjectUpdateKind = "modify"
)

type OvfConsumerOstNodeType

type OvfConsumerOstNodeType string

The type of an OST node.

Each OST node corresponds to an element in the OVF descriptor. See OstNode for a description of the different node types.

const (
	Envelope_OvfConsumerOstNodeType OvfConsumerOstNodeType = "envelope"

	VirtualSystem_OvfConsumerOstNodeType OvfConsumerOstNodeType = "virtualSystem"

	VirtualSystemCollection_OvfConsumerOstNodeType OvfConsumerOstNodeType = "virtualSystemCollection"
)

type OvfCreateImportSpecParamsDiskProvisioningType

type OvfCreateImportSpecParamsDiskProvisioningType string

Types of disk provisioning that can be set for the disk in the deployed OVF package.

const (

	// An eager zeroed thick disk has all space allocated and wiped clean
	// of any previous contents on the physical media at creation time.
	// Such disks may take longer time during creation compared to other
	// disk formats.
	//
	// Since vSphere API 5.0
	EagerZeroedThick_OvfCreateImportSpecParamsDiskProvisioningType OvfCreateImportSpecParamsDiskProvisioningType = "eagerZeroedThick"

	// Depending on the host type, Flat is mapped to either
	// MonolithicFlat or Thick.
	Flat_OvfCreateImportSpecParamsDiskProvisioningType OvfCreateImportSpecParamsDiskProvisioningType = "flat"

	// A preallocated monolithic disk. Disks in this format can be used with
	// other VMware products.
	MonolithicFlat_OvfCreateImportSpecParamsDiskProvisioningType OvfCreateImportSpecParamsDiskProvisioningType = "monolithicFlat"

	// A sparse (allocate on demand) monolithic disk. Disks in this format can
	// be used with other VMware products.
	MonolithicSparse_OvfCreateImportSpecParamsDiskProvisioningType OvfCreateImportSpecParamsDiskProvisioningType = "monolithicSparse"

	// A sparse (allocate on demand) format with additional space
	// optimizations.
	//
	// Since vSphere API 5.1
	SeSparse_OvfCreateImportSpecParamsDiskProvisioningType OvfCreateImportSpecParamsDiskProvisioningType = "seSparse"

	// Depending on the host type, Sparse is mapped to either
	// MonolithicSparse or Thin.
	Sparse_OvfCreateImportSpecParamsDiskProvisioningType OvfCreateImportSpecParamsDiskProvisioningType = "sparse"

	// A thick disk has all space allocated at creation time
	// and the space is zeroed on demand as the space is used.
	Thick_OvfCreateImportSpecParamsDiskProvisioningType OvfCreateImportSpecParamsDiskProvisioningType = "thick"

	// Space required for thin-provisioned virtual disk is allocated and
	// zeroed on demand as the space is used.
	Thin_OvfCreateImportSpecParamsDiskProvisioningType OvfCreateImportSpecParamsDiskProvisioningType = "thin"

	// A preallocated disk with 2GB maximum extent size. Disks in this format
	// can be used with other VMware products. The 2GB extent size
	// makes these disks easier to burn to dvd or use on filesystems that
	// don't support large files.
	TwoGbMaxExtentFlat_OvfCreateImportSpecParamsDiskProvisioningType OvfCreateImportSpecParamsDiskProvisioningType = "twoGbMaxExtentFlat"

	// A sparse (allocate on demand) disk with 2GB maximum extent size.
	// Disks in this format can be used with other VMware products. The 2GB
	// extent size makes these disks easier to burn to dvd or use on
	// filesystems that don't support large files.
	TwoGbMaxExtentSparse_OvfCreateImportSpecParamsDiskProvisioningType OvfCreateImportSpecParamsDiskProvisioningType = "twoGbMaxExtentSparse"
)

type PerfFormat

type PerfFormat string

The format in which performance counter data is returned.

const (

	// Counters returned in comma-separate value (CSV) format.
	Csv_PerfFormat PerfFormat = "csv"

	// Counters returned in an array of data objects.
	Normal_PerfFormat PerfFormat = "normal"
)

type PerfStatsType

type PerfStatsType string

Indicates the type of statistical measurement that a counter’s value represents. Valid types are “absolute”, “delta”, or “rate”.

const (

	// Represents an actual value, level, or state of the counter. For
	// example, the “uptime” counter (system group)
	// represents the actual number of seconds since startup. The
	// “capacity” counter represents the actual configured size
	// of the specified datastore. In other words, number of samples,
	// samplingPeriod, and intervals have no bearing on an
	// “absolute” counter“s value.
	Absolute_PerfStatsType PerfStatsType = "absolute"

	// Represents an amount of change for the counter during the samplingPeriod as compared to the previous
	// interval. The first sampling interval
	Delta_PerfStatsType PerfStatsType = "delta"

	// Represents a value that has been normalized over the samplingPeriod, enabling values for the same
	// counter type to be compared, regardless of interval. For example,
	// the number of reads per second.
	Rate_PerfStatsType PerfStatsType = "rate"
)

type PerfSummaryType

type PerfSummaryType string

Indicates how multiple samples of a specific counter type are transformed into a single statistical value.

const (

	// The actual value collected or the average of all values collected
	// during the summary period.
	Average_PerfSummaryType PerfSummaryType = "average"

	// The most recent value of the performance counter over the
	// summarization period.
	Latest_PerfSummaryType PerfSummaryType = "latest"

	// The maximum value of the performance counter value over the
	// summarization period.
	Maximum_PerfSummaryType PerfSummaryType = "maximum"

	// The minimum value of the performance counter value over the
	// summarization period.
	Minimum_PerfSummaryType PerfSummaryType = "minimum"

	// The counter is never rolled up.
	None_PerfSummaryType PerfSummaryType = "none"

	// The sum of all the values of the performance counter over the
	// summarization period.
	Summation_PerfSummaryType PerfSummaryType = "summation"
)

type PerformanceManagerUnit

type PerformanceManagerUnit string

Indicates the unit of measure represented by a counter or statistical value.

const (

	// Joules
	//
	// Since vSphere API 4.1
	Joule_PerformanceManagerUnit PerformanceManagerUnit = "joule"

	// Kilobytes.
	KiloBytes_PerformanceManagerUnit PerformanceManagerUnit = "kiloBytes"

	// Kilobytes per second.
	KiloBytesPerSecond_PerformanceManagerUnit PerformanceManagerUnit = "kiloBytesPerSecond"

	// Megabytes.
	MegaBytes_PerformanceManagerUnit PerformanceManagerUnit = "megaBytes"

	// Megabytes per second.
	MegaBytesPerSecond_PerformanceManagerUnit PerformanceManagerUnit = "megaBytesPerSecond"

	// Megahertz.
	MegaHertz_PerformanceManagerUnit PerformanceManagerUnit = "megaHertz"

	// The time in microseconds.
	//
	// Since vSphere API 4.0
	Microsecond_PerformanceManagerUnit PerformanceManagerUnit = "microsecond"

	// The time in milliseconds.
	Millisecond_PerformanceManagerUnit PerformanceManagerUnit = "millisecond"

	// A quantity of items, for example, the number of CPUs.
	Number_PerformanceManagerUnit PerformanceManagerUnit = "number"

	// Percentage values in units of 1/100th of a percent. For example 100
	// represents 1%.
	Percent_PerformanceManagerUnit PerformanceManagerUnit = "percent"

	// The time in seconds.
	Second_PerformanceManagerUnit PerformanceManagerUnit = "second"

	// Watts
	//
	// Since vSphere API 4.1
	Watt_PerformanceManagerUnit PerformanceManagerUnit = "watt"
)

type PhysicalNicResourcePoolSchedulerDisallowedReason

type PhysicalNicResourcePoolSchedulerDisallowedReason string
const (

	// Indicates that the NIC device does is not capable of resource pool
	// based scheduling.
	HardwareUnsupported_PhysicalNicResourcePoolSchedulerDisallowedReason PhysicalNicResourcePoolSchedulerDisallowedReason = "hardwareUnsupported"

	// Indicates that the user has opted out the Physical NIC from resource pool
	// based scheduling.
	UserOptOut_PhysicalNicResourcePoolSchedulerDisallowedReason PhysicalNicResourcePoolSchedulerDisallowedReason = "userOptOut"
)

type PhysicalNicVmDirectPathGen2SupportedMode

type PhysicalNicVmDirectPathGen2SupportedMode string

Set of possible values for vmDirectPathGen2SupportedMode.

const (
	Upt_PhysicalNicVmDirectPathGen2SupportedMode PhysicalNicVmDirectPathGen2SupportedMode = "upt"
)

type PortGroupConnecteeType

type PortGroupConnecteeType string

The type of component connected to a port group.

const (

	// The VMkernel is connected to this port group.
	Host_PortGroupConnecteeType PortGroupConnecteeType = "host"

	// A system management entity (service console)
	// is connected to this port group.
	SystemManagement_PortGroupConnecteeType PortGroupConnecteeType = "systemManagement"

	// This port group serves an entity of unspecified kind.
	Unknown_PortGroupConnecteeType PortGroupConnecteeType = "unknown"

	// A virtual machine is connected to this port group.
	VirtualMachine_PortGroupConnecteeType PortGroupConnecteeType = "virtualMachine"
)

type ProfileExecuteResultStatus

type ProfileExecuteResultStatus string

Defines the result status values for a HostProfile.ExecuteHostProfile operation. The result data is contained in the ProfileExecuteResult data object.

const (

	// Profile execution generated an error.
	// See ProfileExecuteResult.error.
	Error_ProfileExecuteResultStatus ProfileExecuteResultStatus = "error"

	// Additional data is required to complete the operation.
	// The data requirements are defined in the list of policy options for the profile
	// (ApplyProfile.policy[]).
	NeedInput_ProfileExecuteResultStatus ProfileExecuteResultStatus = "needInput"

	// Profile execution was successful. You can use the output configuration data
	// to apply the profile to a host.
	Success_ProfileExecuteResultStatus ProfileExecuteResultStatus = "success"
)

type ProfileNumericComparator

type ProfileNumericComparator string

Enumerates different operations supported for comparing numerical values.

const (
	Equal_ProfileNumericComparator ProfileNumericComparator = "equal"

	GreaterThan_ProfileNumericComparator ProfileNumericComparator = "greaterThan"

	GreaterThanEqual_ProfileNumericComparator ProfileNumericComparator = "greaterThanEqual"

	LessThan_ProfileNumericComparator ProfileNumericComparator = "lessThan"

	LessThanEqual_ProfileNumericComparator ProfileNumericComparator = "lessThanEqual"

	NotEqual_ProfileNumericComparator ProfileNumericComparator = "notEqual"
)

type PropertyChangeOp

type PropertyChangeOp string

Enumeration of possible changes to a property.

const (
	Add_PropertyChangeOp PropertyChangeOp = "add"

	Assign_PropertyChangeOp PropertyChangeOp = "assign"

	IndirectRemove_PropertyChangeOp PropertyChangeOp = "indirectRemove"

	Remove_PropertyChangeOp PropertyChangeOp = "remove"
)

type RecommendationReasonCode

type RecommendationReasonCode string

List of defined migration reason codes:

const (

	// Fulfill anti-affinity rule.
	AntiAffin_RecommendationReasonCode RecommendationReasonCode = "antiAffin"

	// Balance datastore I/O workload.
	//
	// Since vSphere API 5.0
	BalanceDatastoreIOLoad_RecommendationReasonCode RecommendationReasonCode = "balanceDatastoreIOLoad"

	// Balance datastore space usage.
	//
	// Since vSphere API 5.0
	BalanceDatastoreSpaceUsage_RecommendationReasonCode RecommendationReasonCode = "balanceDatastoreSpaceUsage"

	// Sanity-check resource pool hierarchy
	//
	// Since vSphere API 4.0
	CheckResource_RecommendationReasonCode RecommendationReasonCode = "checkResource"

	// Datastore entering maintenance mode.
	//
	// Since vSphere API 5.0
	DatastoreMaint_RecommendationReasonCode RecommendationReasonCode = "datastoreMaint"

	// Fix the issue that a datastore run out of space.
	//
	// Since vSphere API 5.0
	DatastoreSpaceOutage_RecommendationReasonCode RecommendationReasonCode = "datastoreSpaceOutage"

	// Host entering standby mode.
	EnterStandby_RecommendationReasonCode RecommendationReasonCode = "enterStandby"

	// Balance average CPU utilization.
	FairnessCpuAvg_RecommendationReasonCode RecommendationReasonCode = "fairnessCpuAvg"

	// Balance average memory utilization.
	FairnessMemAvg_RecommendationReasonCode RecommendationReasonCode = "fairnessMemAvg"

	// Host entering maintenance mode.
	HostMaint_RecommendationReasonCode RecommendationReasonCode = "hostMaint"

	// Power on host to increase cluster capacity
	IncreaseCapacity_RecommendationReasonCode RecommendationReasonCode = "increaseCapacity"

	// IO load balancing was disabled internally.
	//
	// Since vSphere API 5.0
	IolbDisabledInternal_RecommendationReasonCode RecommendationReasonCode = "iolbDisabledInternal"

	// Fulfill affinity rule.
	JointAffin_RecommendationReasonCode RecommendationReasonCode = "jointAffin"

	// Power on virtual machine
	PowerOnVm_RecommendationReasonCode RecommendationReasonCode = "powerOnVm"

	// Power off host for power savings
	PowerSaving_RecommendationReasonCode RecommendationReasonCode = "powerSaving"

	// balance CPU reservations
	ReservationCpu_RecommendationReasonCode RecommendationReasonCode = "reservationCpu"

	// balance memory reservations
	ReservationMem_RecommendationReasonCode RecommendationReasonCode = "reservationMem"

	// Satisfy storage initial placement requests.
	//
	// Since vSphere API 5.0
	StoragePlacement_RecommendationReasonCode RecommendationReasonCode = "storagePlacement"

	// Maintain unreserved capacity
	//
	// Since vSphere API 4.0
	UnreservedCapacity_RecommendationReasonCode RecommendationReasonCode = "unreservedCapacity"

	// Fix virtual disk anti-affinity rule violation.
	//
	// Since vSphere API 5.0
	VirtualDiskAntiAffin_RecommendationReasonCode RecommendationReasonCode = "virtualDiskAntiAffin"

	// Fix virtual disk affinity rule violation.
	//
	// Since vSphere API 5.0
	VirtualDiskJointAffin_RecommendationReasonCode RecommendationReasonCode = "virtualDiskJointAffin"

	// Fix hard VM/host affinity rule violation
	//
	// Since vSphere API 4.1
	VmHostHardAffinity_RecommendationReasonCode RecommendationReasonCode = "vmHostHardAffinity"

	// Fix soft VM/host affinity rule violation
	//
	// Since vSphere API 4.1
	VmHostSoftAffinity_RecommendationReasonCode RecommendationReasonCode = "vmHostSoftAffinity"
)

type RecommendationType

type RecommendationType string

Pre-defined constants for possible recommendation types. Virtual Center uses this information to coordinate with the clients.

const (
	V1_RecommendationType RecommendationType = "V1"
)

type ReplicationDiskConfigFaultReasonForFault

type ReplicationDiskConfigFaultReasonForFault string
const (

	// Could not look up device by key
	DiskNotFound_ReplicationDiskConfigFaultReasonForFault ReplicationDiskConfigFaultReasonForFault = "diskNotFound"

	// Replication not supported for disk type or backend
	DiskTypeNotSupported_ReplicationDiskConfigFaultReasonForFault ReplicationDiskConfigFaultReasonForFault = "diskTypeNotSupported"

	// Another disk in the VM has the same replication ID
	DuplicateDiskReplicationId_ReplicationDiskConfigFaultReasonForFault ReplicationDiskConfigFaultReasonForFault = "duplicateDiskReplicationId"

	// Invalid key value
	InvalidDiskKey_ReplicationDiskConfigFaultReasonForFault ReplicationDiskConfigFaultReasonForFault = "invalidDiskKey"

	// Invalid disk replication ID string
	InvalidDiskReplicationId_ReplicationDiskConfigFaultReasonForFault ReplicationDiskConfigFaultReasonForFault = "invalidDiskReplicationId"

	// Invalid path (string) for the persistent file
	InvalidPersistentFilePath_ReplicationDiskConfigFaultReasonForFault ReplicationDiskConfigFaultReasonForFault = "invalidPersistentFilePath"

	// Attempting to re-configure the disk's replication ID
	ReconfigureDiskReplicationIdNotAllowed_ReplicationDiskConfigFaultReasonForFault ReplicationDiskConfigFaultReasonForFault = "reconfigureDiskReplicationIdNotAllowed"
)

type ReplicationVmConfigFaultReasonForFault

type ReplicationVmConfigFaultReasonForFault string
const (

	// Could not retrieve the VM configuration
	CannotRetrieveVmReplicationConfiguration_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "cannotRetrieveVmReplicationConfiguration"

	// Incompatible VM hardware version
	IncompatibleHwVersion_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "incompatibleHwVersion"

	// Invalid destination IP address
	InvalidDestinationIpAddress_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "invalidDestinationIpAddress"

	// Invalid destination port
	InvalidDestinationPort_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "invalidDestinationPort"

	// Malformed extra options list
	InvalidExtraVmOptions_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "invalidExtraVmOptions"

	// Invalid generation number in VM's configuration
	InvalidGenerationNumber_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "invalidGenerationNumber"

	// The existing replication configuration of the VM is broken
	// (applicable to re-configuration only).
	InvalidPriorConfiguration_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "invalidPriorConfiguration"

	// Invalid VM Replication ID string
	InvalidVmReplicationId_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "invalidVmReplicationId"

	// Invalid RPO value (out of bounds)
	OutOfBoundsRpoValue_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "outOfBoundsRpoValue"

	// Attempting to re-configure the VM replication ID
	ReconfigureVmReplicationIdNotAllowed_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "reconfigureVmReplicationIdNotAllowed"

	// Attempting to re-enable replication for the VM
	ReplicationAlreadyEnabled_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "replicationAlreadyEnabled"

	// Failed to commit the new replication properties for the VM.
	ReplicationConfigurationFailed_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "replicationConfigurationFailed"

	// Attempting to re-configure or disable replication for a VM
	// for which replication has not been enabled.
	ReplicationNotEnabled_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "replicationNotEnabled"

	// Mis-matching generation number (stale)
	StaleGenerationNumber_ReplicationVmConfigFaultReasonForFault ReplicationVmConfigFaultReasonForFault = "staleGenerationNumber"
)

type ReplicationVmFaultReasonForFault

type ReplicationVmFaultReasonForFault string
const (

	// The specified instanceId does not match the VirtualMachine
	// instanceId
	InvalidInstanceId_ReplicationVmFaultReasonForFault ReplicationVmFaultReasonForFault = "invalidInstanceId"

	// VirtualMachine is in an invalid state
	InvalidState_ReplicationVmFaultReasonForFault ReplicationVmFaultReasonForFault = "invalidState"

	// VirtualMachine is not configured for replication
	NotConfigured_ReplicationVmFaultReasonForFault ReplicationVmFaultReasonForFault = "notConfigured"

	// VirtualMachine is in the process of creating an
	// an offline instance.
	OfflineReplicating_ReplicationVmFaultReasonForFault ReplicationVmFaultReasonForFault = "offlineReplicating"

	// VirtualMachine is powered off (and is not undergoing
	// offline replication)
	PoweredOff_ReplicationVmFaultReasonForFault ReplicationVmFaultReasonForFault = "poweredOff"

	// VirtualMachine is powered on
	PoweredOn_ReplicationVmFaultReasonForFault ReplicationVmFaultReasonForFault = "poweredOn"

	// VirtualMachine is suspended (and is not undergoing
	// offline replication)
	Suspended_ReplicationVmFaultReasonForFault ReplicationVmFaultReasonForFault = "suspended"
)

type ReplicationVmState

type ReplicationVmState string

Describes the current state of a replicated VirtualMachine

const (

	// The VirtualMachine is in the process of having
	// a consistent instance created.
	Active_ReplicationVmState ReplicationVmState = "active"

	// The VirtualMachine is unable to replicate due to
	// errors.
	//
	// XXX Currently unused.
	Error_ReplicationVmState ReplicationVmState = "error"

	// The VirtualMachine is being replicated but is not
	// currently in the process of having a consistent instance created.
	Idle_ReplicationVmState ReplicationVmState = "idle"

	// The VirtualMachine has no current replication state.
	// This is a virtual machine that is configured for replication, but is
	// powered off and not undergoing offline replication.
	None_ReplicationVmState ReplicationVmState = "none"

	// The VirtualMachine replication is paused.
	Paused_ReplicationVmState ReplicationVmState = "paused"

	// One or more of the VirtualMachine disks is in the
	// process of an initial synchronization with the remote site.
	Syncing_ReplicationVmState ReplicationVmState = "syncing"
)

type ScheduledHardwareUpgradeInfoHardwareUpgradePolicy

type ScheduledHardwareUpgradeInfoHardwareUpgradePolicy string

The policy setting used to determine when to perform scheduled upgrades for a virtual machine.

const (

	// Always run scheduled upgrades.
	Always_ScheduledHardwareUpgradeInfoHardwareUpgradePolicy ScheduledHardwareUpgradeInfoHardwareUpgradePolicy = "always"

	// No scheduled upgrades.
	Never_ScheduledHardwareUpgradeInfoHardwareUpgradePolicy ScheduledHardwareUpgradeInfoHardwareUpgradePolicy = "never"

	// Run scheduled upgrades only on normal guest OS shutdown.
	OnSoftPowerOff_ScheduledHardwareUpgradeInfoHardwareUpgradePolicy ScheduledHardwareUpgradeInfoHardwareUpgradePolicy = "onSoftPowerOff"
)

type ScheduledHardwareUpgradeInfoHardwareUpgradeStatus

type ScheduledHardwareUpgradeInfoHardwareUpgradeStatus string

Status for last attempt to run scheduled hardware upgrade.

const (

	// Upgrade failed.
	//
	// For more information about the failureSee fault
	Failed_ScheduledHardwareUpgradeInfoHardwareUpgradeStatus ScheduledHardwareUpgradeInfoHardwareUpgradeStatus = "failed"

	// No scheduled upgrade ever happened.
	None_ScheduledHardwareUpgradeInfoHardwareUpgradeStatus ScheduledHardwareUpgradeInfoHardwareUpgradeStatus = "none"

	// Upgrade is scheduled, but was not run yet.
	Pending_ScheduledHardwareUpgradeInfoHardwareUpgradeStatus ScheduledHardwareUpgradeInfoHardwareUpgradeStatus = "pending"

	// Upgrade succeeded.
	Success_ScheduledHardwareUpgradeInfoHardwareUpgradeStatus ScheduledHardwareUpgradeInfoHardwareUpgradeStatus = "success"
)

type ScsiLunDescriptorQuality

type ScsiLunDescriptorQuality string

An indicator of the utility of Descriptor in being used as an identifier that is stable, unique, and correlatable.

const (

	// The Descriptor has an identifier that is useful for identification
	// and correlation across hosts.
	HighQuality_ScsiLunDescriptorQuality ScsiLunDescriptorQuality = "highQuality"

	// The Descriptor has an identifier that should not be used for
	// identification and correlation across hosts.
	LowQuality_ScsiLunDescriptorQuality ScsiLunDescriptorQuality = "lowQuality"

	// The Descriptor has an identifier that may be used for identification
	// and correlation across hosts.
	MediumQuality_ScsiLunDescriptorQuality ScsiLunDescriptorQuality = "mediumQuality"

	// The Descriptor has an identifier that may or may not be useful for
	// identification and correlation across hosts.
	UnknownQuality_ScsiLunDescriptorQuality ScsiLunDescriptorQuality = "unknownQuality"
)

type ScsiLunState

type ScsiLunState string

The Operational state of the LUN

const (

	// One or more paths to the LUN are down, but I/O
	// is still possible.  Further path failures may
	// result in lost connectivity.
	Degraded_ScsiLunState ScsiLunState = "degraded"

	// The LUN is dead and/or not reachable.
	Error_ScsiLunState ScsiLunState = "error"

	// No more paths are available to the LUN.
	LostCommunication_ScsiLunState ScsiLunState = "lostCommunication"

	// The LUN is off.
	//
	// Since vSphere API 4.0
	Off_ScsiLunState ScsiLunState = "off"

	// The LUN is on and available.
	Ok_ScsiLunState ScsiLunState = "ok"

	// The LUN is inactive.
	//
	// Since vSphere API 4.0
	Quiesced_ScsiLunState ScsiLunState = "quiesced"

	// All Paths have been down for the timeout condition
	// determined by a user-configurable host advanced option.
	//
	// Since vSphere API 5.1
	Timeout_ScsiLunState ScsiLunState = "timeout"

	// The LUN state is unknown.
	UnknownState_ScsiLunState ScsiLunState = "unknownState"
)

type ScsiLunType

type ScsiLunType string

The list of SCSI device types. These values correspond to values published in the SCSI specification.

const (
	Cdrom_ScsiLunType ScsiLunType = "cdrom"

	Communications_ScsiLunType ScsiLunType = "communications"

	Disk_ScsiLunType ScsiLunType = "disk"

	Enclosure_ScsiLunType ScsiLunType = "enclosure"

	MediaChanger_ScsiLunType ScsiLunType = "mediaChanger"

	OpticalDevice_ScsiLunType ScsiLunType = "opticalDevice"

	Printer_ScsiLunType ScsiLunType = "printer"

	Processor_ScsiLunType ScsiLunType = "processor"

	Scanner_ScsiLunType ScsiLunType = "scanner"

	StorageArrayController_ScsiLunType ScsiLunType = "storageArrayController"

	Tape_ScsiLunType ScsiLunType = "tape"

	Unknown_ScsiLunType ScsiLunType = "unknown"

	Worm_ScsiLunType ScsiLunType = "worm"
)

type ScsiLunVStorageSupportStatus

type ScsiLunVStorageSupportStatus string

Storage array hardware acceleration support status. When a host boots, the support status is unknown. As a host attempts hardware-accelerated operations, it determines whether the storage device supports hardware acceleration and sets the vStorageSupport property accordingly.

const (

	// Storage device supports hardware acceleration.
	// The ESX host will use the feature to offload certain
	// storage-related operations to the device.
	VStorageSupported_ScsiLunVStorageSupportStatus ScsiLunVStorageSupportStatus = "vStorageSupported"

	// Initial support status value.
	VStorageUnknown_ScsiLunVStorageSupportStatus ScsiLunVStorageSupportStatus = "vStorageUnknown"

	// Storage device does not support hardware acceleration.
	// The ESX host will handle all storage-related operations.
	VStorageUnsupported_ScsiLunVStorageSupportStatus ScsiLunVStorageSupportStatus = "vStorageUnsupported"
)

type SessionManagerHttpServiceRequestSpecMethod

type SessionManagerHttpServiceRequestSpecMethod string

HTTP request methods.

const (
	HttpConnect_SessionManagerHttpServiceRequestSpecMethod SessionManagerHttpServiceRequestSpecMethod = "httpConnect"

	HttpDelete_SessionManagerHttpServiceRequestSpecMethod SessionManagerHttpServiceRequestSpecMethod = "httpDelete"

	HttpGet_SessionManagerHttpServiceRequestSpecMethod SessionManagerHttpServiceRequestSpecMethod = "httpGet"

	HttpHead_SessionManagerHttpServiceRequestSpecMethod SessionManagerHttpServiceRequestSpecMethod = "httpHead"

	HttpOptions_SessionManagerHttpServiceRequestSpecMethod SessionManagerHttpServiceRequestSpecMethod = "httpOptions"

	HttpPost_SessionManagerHttpServiceRequestSpecMethod SessionManagerHttpServiceRequestSpecMethod = "httpPost"

	HttpPut_SessionManagerHttpServiceRequestSpecMethod SessionManagerHttpServiceRequestSpecMethod = "httpPut"

	HttpTrace_SessionManagerHttpServiceRequestSpecMethod SessionManagerHttpServiceRequestSpecMethod = "httpTrace"
)

type SharesLevel

type SharesLevel string

Simplified shares notation. These designations have different meanings for different resources.

const (

	// If you specify custom for the level property, when there is resource contention the Server uses the shares value to determine resource allocation.
	Custom_SharesLevel SharesLevel = "custom"

	// For CPU:     Shares = 2000 * nmumber of virtual CPUs
	// For Memory:  Shares =   20 * virtual machine memory size in megabytes
	// For Disk:    Shares = 2000
	// For Network: Shares = networkResourcePoolHighShareValue
	High_SharesLevel SharesLevel = "high"

	// For CPU:     Shares = 500 * number of virtual CPUs
	// For Memory:  Shares =   5 * virtual machine memory size in megabytes
	// For Disk:    Shares = 500
	// For Network: Shares = 0.25 * networkResourcePoolHighShareValue
	Low_SharesLevel SharesLevel = "low"

	// For CPU:     Shares = 1000 * number of virtual CPUs
	// For Memory:  Shares =   10 * virtual machine memory size in megabytes
	// For Disk:    Shares = 1000
	// For Network: Shares = 0.5 * networkResourcePoolHighShareValue
	Normal_SharesLevel SharesLevel = "normal"
)

type SimpleCommandEncoding

type SimpleCommandEncoding string

The encoding of the resultant return data. This is a hint to the client side to indicate the format of the information being returned.

const (

	// Comma separated values
	CSV_SimpleCommandEncoding SimpleCommandEncoding = "CSV"

	// Hex encoded binary data
	HEX_SimpleCommandEncoding SimpleCommandEncoding = "HEX"

	STRING_SimpleCommandEncoding SimpleCommandEncoding = "STRING"
)

type SlpDiscoveryMethod

type SlpDiscoveryMethod string

The available SLP discovery methods.

const (

	// Use the well known multicast address to find DAs.
	SlpAutoMulticast_SlpDiscoveryMethod SlpDiscoveryMethod = "slpAutoMulticast"

	// Use broadcasting to find SLP DAs.
	// Only DAs on the current subnet will be found.
	SlpAutoUnicast_SlpDiscoveryMethod SlpDiscoveryMethod = "slpAutoUnicast"

	// Use DHCP to find the SLP DAs.
	SlpDhcp_SlpDiscoveryMethod SlpDiscoveryMethod = "slpDhcp"

	// User specified address for a DA.
	SlpManual_SlpDiscoveryMethod SlpDiscoveryMethod = "slpManual"
)

type StateAlarmOperator

type StateAlarmOperator string

The operation on the target state.

const (

	// Test if the target state matches the given red or yellow states.
	IsEqual_StateAlarmOperator StateAlarmOperator = "isEqual"

	// Test if the target state does not match the given red or yellow states.
	IsUnequal_StateAlarmOperator StateAlarmOperator = "isUnequal"
)

type StorageDrsPodConfigInfoBehavior

type StorageDrsPodConfigInfoBehavior string

Storage DRS behavior.

const (

	// Specifies that VirtualCenter should generate recommendations for
	// virtual disk migration and for placement with a datastore.
	// The recommendations for virtual disk migrations will be executed automatically,
	// but the placement recommendations will be done manually.
	Automated_StorageDrsPodConfigInfoBehavior StorageDrsPodConfigInfoBehavior = "automated"

	// Specifies that VirtualCenter should generate recommendations for
	// virtual disk migration and for placement with a datastore,
	// but should not execute the recommendations automatically.
	Manual_StorageDrsPodConfigInfoBehavior StorageDrsPodConfigInfoBehavior = "manual"
)

type StorageIORMThresholdMode

type StorageIORMThresholdMode string

User specification of congestion threshold mode on a given datastore

For more information, see congestionThreshold

const (

	// Storagage IO Control will choose appropriate congestion threshold value
	// for that datastore to operate at given percentage of peak throughput.
	// This is the default setting
	Automatic_StorageIORMThresholdMode StorageIORMThresholdMode = "automatic"

	// Use user specified Storage IO Control congestion threshold value
	Manual_StorageIORMThresholdMode StorageIORMThresholdMode = "manual"
)

type StoragePlacementSpecPlacementType

type StoragePlacementSpecPlacementType string

Defines the storage placement operation type.

const (

	// Clone a VM.
	Clone_StoragePlacementSpecPlacementType StoragePlacementSpecPlacementType = "clone"

	// Create a VM.
	Create_StoragePlacementSpecPlacementType StoragePlacementSpecPlacementType = "create"

	// Reconfigure a VM.
	Reconfigure_StoragePlacementSpecPlacementType StoragePlacementSpecPlacementType = "reconfigure"

	// Relocate a VM.
	Relocate_StoragePlacementSpecPlacementType StoragePlacementSpecPlacementType = "relocate"
)

type TaskFilterSpecRecursionOption

type TaskFilterSpecRecursionOption string

This option specifies how to select tasks based on child relationships in the inventory hierarchy. If a managed entity has children, their tasks can be retrieved with this filter option.

const (

	// Returns tasks pertaining either to the specified managed entity
	// or to its child entities.
	All_TaskFilterSpecRecursionOption TaskFilterSpecRecursionOption = "all"

	// Returns tasks pertaining to child entities only. Excludes
	// tasks pertaining to the specified managed entity itself.
	Children_TaskFilterSpecRecursionOption TaskFilterSpecRecursionOption = "children"

	// Returns tasks that pertain only to the specified managed entity,
	// and not its children.
	Self_TaskFilterSpecRecursionOption TaskFilterSpecRecursionOption = "self"
)

type TaskFilterSpecTimeOption

type TaskFilterSpecTimeOption string

This option specifies a time stamp governing the selection of tasks.

const (

	// The time stamp when the task finished.
	CompletedTime_TaskFilterSpecTimeOption TaskFilterSpecTimeOption = "completedTime"

	// The time stamp when the task was created and queued.
	QueuedTime_TaskFilterSpecTimeOption TaskFilterSpecTimeOption = "queuedTime"

	// The time stamp when the task started.
	StartedTime_TaskFilterSpecTimeOption TaskFilterSpecTimeOption = "startedTime"
)

type TaskInfoState

type TaskInfoState string

List of possible states of a task.

const (

	// When a running task has encountered an error.
	Error_TaskInfoState TaskInfoState = "error"

	// When there are too many tasks for threads to handle.
	Queued_TaskInfoState TaskInfoState = "queued"

	// When the busy thread is freed from its current task by
	// finishing the task, it picks a queued task to run.
	// Then the queued tasks are marked as running.
	Running_TaskInfoState TaskInfoState = "running"

	// When a running task has completed.
	Success_TaskInfoState TaskInfoState = "success"
)

type ThirdPartyLicenseAssignmentFailedReason

type ThirdPartyLicenseAssignmentFailedReason string
const (

	// A general failure has occured during assigning license to the 3rd party module
	LicenseAssignmentFailed_ThirdPartyLicenseAssignmentFailedReason ThirdPartyLicenseAssignmentFailedReason = "licenseAssignmentFailed"

	// The 3rd party module we are trying to license is not installed.
	ModuleNotInstalled_ThirdPartyLicenseAssignmentFailedReason ThirdPartyLicenseAssignmentFailedReason = "moduleNotInstalled"
)

type UpgradePolicy

type UpgradePolicy string

The policy setting used to determine when tools are auto-upgraded for a virtual machine

const (

	// No auto-upgrades for tools will be performed for this
	// virtual machine. Users must manually invoke the UpgradeTools
	// operation to update the tools.
	Manual_UpgradePolicy UpgradePolicy = "manual"

	// When the virtual machine is power-cycled, the system checks
	// for a newer version of tools when the VM comes back up. If it
	// is available, a tools upgrade is automatically performed on the
	// virtual machine and it is rebooted if necessary.
	UpgradeAtPowerCycle_UpgradePolicy UpgradePolicy = "upgradeAtPowerCycle"
)

type VAppAutoStartAction

type VAppAutoStartAction string
const (

	// The guest operating system for a virtual machine is shut down when that
	// virtual machine in next in the auto-stop order.
	GuestShutdown_VAppAutoStartAction VAppAutoStartAction = "guestShutdown"

	// No action is taken for this virtual machine. This virtual machine is
	// not a part of the auto-start sequence. This can be used for both auto-start
	// and auto-start settings.
	None_VAppAutoStartAction VAppAutoStartAction = "none"

	// This virtual machine is powered off when it is next in the auto-stop order.
	// This is the default stopAction.
	PowerOff_VAppAutoStartAction VAppAutoStartAction = "powerOff"

	// This virtual machine is powered on when it is next in the auto-start order.
	PowerOn_VAppAutoStartAction VAppAutoStartAction = "powerOn"

	// This virtual machine is suspended when it is next in the auto-stop order.
	Suspend_VAppAutoStartAction VAppAutoStartAction = "suspend"
)

type VAppCloneSpecProvisioningType

type VAppCloneSpecProvisioningType string

The cloned VMs can either be provisioned the same way as the VMs they are a clone of, thin provisioned or thick provisioned, or linked clones (i.e., using delta disks).

const (

	// Each disk in the cloned virtual machines will have the same
	// type of disk as the source vApp.
	SameAsSource_VAppCloneSpecProvisioningType VAppCloneSpecProvisioningType = "sameAsSource"

	// Each disk in the cloned virtual machines are allocated and
	// committed in full size immediately.
	Thick_VAppCloneSpecProvisioningType VAppCloneSpecProvisioningType = "thick"

	// Each disk in the cloned virtual machines is allocated in full
	// size now and committed on demand. This is only supported on
	// VMFS-3 and newer datastores. Other types of datastores may
	// create thick disks.
	Thin_VAppCloneSpecProvisioningType VAppCloneSpecProvisioningType = "thin"
)

type VAppIPAssignmentInfoAllocationSchemes

type VAppIPAssignmentInfoAllocationSchemes string

IP allocation schemes supported by the guest.

const (

	// The vApp supports DHCP to acquire IP configuration.
	Dhcp_VAppIPAssignmentInfoAllocationSchemes VAppIPAssignmentInfoAllocationSchemes = "dhcp"

	// The vApp supports setting the IP configuration through the
	// properties provided in the OVF environment.
	Ovfenv_VAppIPAssignmentInfoAllocationSchemes VAppIPAssignmentInfoAllocationSchemes = "ovfenv"
)

type VAppIPAssignmentInfoIpAllocationPolicy

type VAppIPAssignmentInfoIpAllocationPolicy string

IP allocation policy for a deployment.

const (

	// Specifies that DHCP must be used to allocate IP addresses to the vApp
	DhcpPolicy_VAppIPAssignmentInfoIpAllocationPolicy VAppIPAssignmentInfoIpAllocationPolicy = "dhcpPolicy"

	// Specifies that IP allocation is done through the range managed by the VI
	// platform. The IP addresses are allocated at first power-on, and remain
	// allocated at power-off. This will ensure that a vApp gets a consistent
	// IP for its life-time.
	//
	// Since vSphere API 5.1
	FixedAllocatedPolicy_VAppIPAssignmentInfoIpAllocationPolicy VAppIPAssignmentInfoIpAllocationPolicy = "fixedAllocatedPolicy"

	// Specifies that IP addresses are configured manually when the vApp is deployed
	// and will be kept until reconfigured or the vApp destroyed. This will ensure
	// that a vApp gets a consistent IP for its life-time.
	FixedPolicy_VAppIPAssignmentInfoIpAllocationPolicy VAppIPAssignmentInfoIpAllocationPolicy = "fixedPolicy"

	// Specifies that IP allocation is done through the range managed by the
	// vSphere platform. The IP addresses are allocated when needed, typically at
	// power-on, and deallocated during power-off. There is no guarantee that a
	// vApp will get the same IP address when restarted.
	TransientPolicy_VAppIPAssignmentInfoIpAllocationPolicy VAppIPAssignmentInfoIpAllocationPolicy = "transientPolicy"
)

type VAppIPAssignmentInfoProtocols

type VAppIPAssignmentInfoProtocols string

IP protocols supported by the guest.

const (

	// The vApp supports IPv4 protocol.
	IPv4_VAppIPAssignmentInfoProtocols VAppIPAssignmentInfoProtocols = "IPv4"

	// The vApp supports IPv6 protocol.
	IPv6_VAppIPAssignmentInfoProtocols VAppIPAssignmentInfoProtocols = "IPv6"
)

type VFlashModuleNotSupportedReason

type VFlashModuleNotSupportedReason string
const (
	CacheBlockSizeNotSupported_VFlashModuleNotSupportedReason VFlashModuleNotSupportedReason = "CacheBlockSizeNotSupported"

	CacheConsistencyTypeNotSupported_VFlashModuleNotSupportedReason VFlashModuleNotSupportedReason = "CacheConsistencyTypeNotSupported"

	CacheModeNotSupported_VFlashModuleNotSupportedReason VFlashModuleNotSupportedReason = "CacheModeNotSupported"

	CacheReservationNotSupported_VFlashModuleNotSupportedReason VFlashModuleNotSupportedReason = "CacheReservationNotSupported"

	DiskSizeNotSupported_VFlashModuleNotSupportedReason VFlashModuleNotSupportedReason = "DiskSizeNotSupported"
)

type VMotionCompatibilityType

type VMotionCompatibilityType string

Types of a host's compatibility with a designated virtual machine that is a candidate for VMotion. Used with queryVMotionCompatibility both as inputs (to designate which compatibility types to test for) and as outputs (to specify which compatibility types apply for each host).

const (

	// The host's CPU features are compatible with the
	// the virtual machine's requirements.
	Cpu_VMotionCompatibilityType VMotionCompatibilityType = "cpu"

	// The software platform on the host supports VMotion
	// and is compatible with the virtual machine.
	Software_VMotionCompatibilityType VMotionCompatibilityType = "software"
)

type VMwareDVSTeamingMatchStatus

type VMwareDVSTeamingMatchStatus string

The teaming health check match status.

const (

	// The value of 'loadbalance_ip' is used in a uplink teaming policy
	// policy
	// in the vSphere Distributed Switch, and the external physical switch
	// has the matching EtherChannel configuration.
	IphashMatch_VMwareDVSTeamingMatchStatus VMwareDVSTeamingMatchStatus = "iphashMatch"

	// The value of 'loadbalance_ip' is used in a uplink teaming policy
	// policy
	// in the vSphere Distributed Switch, but the external physical switch
	// does not have the matching EtherChannel configuration.
	IphashMismatch_VMwareDVSTeamingMatchStatus VMwareDVSTeamingMatchStatus = "iphashMismatch"

	// The value of 'loadbalance_ip' is not used in a uplink teaming policy
	// policy
	// in the vSphere Distributed Switch, and the external physical switch
	// does not have EtherChannel configuration.
	NonIphashMatch_VMwareDVSTeamingMatchStatus VMwareDVSTeamingMatchStatus = "nonIphashMatch"

	// The value of 'loadbalance_ip' is not used in a uplink teaming policy
	// policy
	// in the vSphere Distributed Switch, but the external physical switch
	// has EtherChannel configuration.
	NonIphashMismatch_VMwareDVSTeamingMatchStatus VMwareDVSTeamingMatchStatus = "nonIphashMismatch"
)

type VMwareDVSVspanSessionType

type VMwareDVSVspanSessionType string

Distributed Port Mirroring session types.

const (

	// In dvPortMirror session, Distributed Ports can be used as both source
	// and destination entities.
	DvPortMirror_VMwareDVSVspanSessionType VMwareDVSVspanSessionType = "dvPortMirror"

	// In encapsulatedRemoteMirrorSource session, Distributed Ports can be used as source entities,
	// and Ip address can be used as destination entities.
	EncapsulatedRemoteMirrorSource_VMwareDVSVspanSessionType VMwareDVSVspanSessionType = "encapsulatedRemoteMirrorSource"

	// In mixedDestMirror session, Distributed Ports can be used as source entities,
	// and both Distributed Ports and Uplink Ports Name can be used as destination entities.
	MixedDestMirror_VMwareDVSVspanSessionType VMwareDVSVspanSessionType = "mixedDestMirror"

	// In remoteMirrorDest session, vlan Ids can be used as source entities,
	// and Distributed Ports can be used as destination entities.
	RemoteMirrorDest_VMwareDVSVspanSessionType VMwareDVSVspanSessionType = "remoteMirrorDest"

	// In remoteMirrorSource session, Distributed Ports can be used as source entities,
	// and uplink ports name can be used as destination entities.
	RemoteMirrorSource_VMwareDVSVspanSessionType VMwareDVSVspanSessionType = "remoteMirrorSource"
)

type VMwareDvsLacpApiVersion

type VMwareDvsLacpApiVersion string

Link Aggregation Control Protocol API versions.

const (

	// Multiple Link Aggregation Control Protocol in the switch.
	MultipleLag_VMwareDvsLacpApiVersion VMwareDvsLacpApiVersion = "multipleLag"

	// One Link Aggregation Control Protocol group in the switch
	SingleLag_VMwareDvsLacpApiVersion VMwareDvsLacpApiVersion = "singleLag"
)

type VMwareDvsLacpLoadBalanceAlgorithm

type VMwareDvsLacpLoadBalanceAlgorithm string

Load balance algorithm in a Link Aggregation Control Protocol group.

const (

	// Destination IP
	DestIp_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "destIp"

	// Destination IP and TCP/UDP port number
	DestIpTcpUdpPort_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "destIpTcpUdpPort"

	// Destination IP, TCP/UDP port number and VLAN
	DestIpTcpUdpPortVlan_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "destIpTcpUdpPortVlan"

	// Destination IP and VLAN
	DestIpVlan_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "destIpVlan"

	// Destination MAC address
	DestMac_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "destMac"

	// Destination TCP/UDP port number
	DestTcpUdpPort_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "destTcpUdpPort"

	// Source and Destination IP
	SrcDestIp_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcDestIp"

	// Source and destination IP and TCP/UDP port number
	SrcDestIpTcpUdpPort_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcDestIpTcpUdpPort"

	// Source and destination IP,
	// source and destination TCP/UDP port number and VLAN.
	SrcDestIpTcpUdpPortVlan_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcDestIpTcpUdpPortVlan"

	// Source and destination IP and VLAN
	SrcDestIpVlan_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcDestIpVlan"

	// Source and destination MAC address
	SrcDestMac_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcDestMac"

	// Source and destination TCP/UDP port number
	SrcDestTcpUdpPort_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcDestTcpUdpPort"

	// Source IP
	SrcIp_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcIp"

	// Source IP and TCP/UDP port number
	SrcIpTcpUdpPort_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcIpTcpUdpPort"

	// Source IP, TCP/UDP port number and VLAN
	SrcIpTcpUdpPortVlan_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcIpTcpUdpPortVlan"

	// Source IP and VLAN
	SrcIpVlan_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcIpVlan"

	// Source MAC address
	SrcMac_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcMac"

	// Source Virtual Port Id
	SrcPortId_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcPortId"

	// Source TCP/UDP port number
	SrcTcpUdpPort_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "srcTcpUdpPort"

	// VLAN only
	Vlan_VMwareDvsLacpLoadBalanceAlgorithm VMwareDvsLacpLoadBalanceAlgorithm = "vlan"
)

type VMwareUplinkLacpMode

type VMwareUplinkLacpMode string

Link Aggregation Control Protocol policy modes.

const (

	// Link Aggregation Control Protocol always sends frames along the configured uplinks
	Active_VMwareUplinkLacpMode VMwareUplinkLacpMode = "active"

	// Link Aggregation Control Protocol acts as "speak when spoken to".
	Passive_VMwareUplinkLacpMode VMwareUplinkLacpMode = "passive"
)

type ValidateMigrationTestType

type ValidateMigrationTestType string

Deprecated. As of vSphere API 4.0, use CheckTestType instead.

Types of tests available for validateMigration.

const (

	// Tests that examine both the virtual
	// machine and the destination host or cluster; the destination
	// resource pool is irrelevant. This set excludes tests that fall
	// into the diskAccessibilityTests group.
	CompatibilityTests_ValidateMigrationTestType ValidateMigrationTestType = "compatibilityTests"

	// Tests that check that the
	// destination host or cluster can see the datastores where the virtual
	// machine's virtual disks are currently located. The destination
	// resource pool is irrelevant. If you are planning to relocate the
	// virtual disks, do not use these tests; instead examine the relevant
	// datastore objects for your planned disk locations to see if they
	// are accessible to the destination host.
	DiskAccessibilityTests_ValidateMigrationTestType ValidateMigrationTestType = "diskAccessibilityTests"

	// Tests that check that the destination resource
	// pool can support the virtual machine if it is powered on. The
	// destination host or cluster is relevant because it will affect the
	// amount of overhead memory required to run the virtual machine.
	ResourceTests_ValidateMigrationTestType ValidateMigrationTestType = "resourceTests"

	// Tests that examine only the configuration
	// of the virtual machine and its current host; the destination
	// resource pool and host or cluster are irrelevant.
	SourceTests_ValidateMigrationTestType ValidateMigrationTestType = "sourceTests"
)

type VirtualAppVAppState

type VirtualAppVAppState string

The VAppState type defines the set of states a vApp can be in. The transitory states between started and stopped is modeled explicitly, since the starting or stopping of a vApp is typically a time-consuming process that might take minutes to complete.

const (

	// The vApp is currently powered on .
	Started_VirtualAppVAppState VirtualAppVAppState = "started"

	// The vApp is in the process of starting.
	Starting_VirtualAppVAppState VirtualAppVAppState = "starting"

	// The vApp is currently powered off or suspended.
	Stopped_VirtualAppVAppState VirtualAppVAppState = "stopped"

	// The vApp is in the process of stopping.
	Stopping_VirtualAppVAppState VirtualAppVAppState = "stopping"
)

type VirtualDeviceConfigSpecFileOperation

type VirtualDeviceConfigSpecFileOperation string

The type of operation being performed on the backing of a virtual device. Valid values are:

const (

	// Specifies the creation of the device backing; for example,
	// the creation of a virtual disk or floppy image file.
	Create_VirtualDeviceConfigSpecFileOperation VirtualDeviceConfigSpecFileOperation = "create"

	// Specifies the destruction of a device backing.
	Destroy_VirtualDeviceConfigSpecFileOperation VirtualDeviceConfigSpecFileOperation = "destroy"

	// Specifies the deletion of the existing backing for a virtual device
	// and the creation of a new backing.
	Replace_VirtualDeviceConfigSpecFileOperation VirtualDeviceConfigSpecFileOperation = "replace"
)

type VirtualDeviceConfigSpecOperation

type VirtualDeviceConfigSpecOperation string

The type of operation being performed on the specified virtual device. Valid values are:

const (

	// Specifies the addition of a virtual device to the configuration.
	Add_VirtualDeviceConfigSpecOperation VirtualDeviceConfigSpecOperation = "add"

	// Specifies changes to the virtual device specification.
	Edit_VirtualDeviceConfigSpecOperation VirtualDeviceConfigSpecOperation = "edit"

	// Specifies the removal of a virtual device.
	Remove_VirtualDeviceConfigSpecOperation VirtualDeviceConfigSpecOperation = "remove"
)

type VirtualDeviceConnectInfoStatus

type VirtualDeviceConnectInfoStatus string

Specifies the connectable virtual device status.

const (

	// The device is working correctly.
	Ok_VirtualDeviceConnectInfoStatus VirtualDeviceConnectInfoStatus = "ok"

	// The device has reported a recoverable error. For example,
	// attempting to connect to floppy device that is being used by
	// another virtual machine or some other program would result in
	// this status.
	RecoverableError_VirtualDeviceConnectInfoStatus VirtualDeviceConnectInfoStatus = "recoverableError"

	// The device cannot be used. For example, attempting to connect to
	// a floppy device that does not exist would result in this status.
	UnrecoverableError_VirtualDeviceConnectInfoStatus VirtualDeviceConnectInfoStatus = "unrecoverableError"

	// The device status is unknown, or it has not been requested to
	// connect when the VM is powered on.
	Untried_VirtualDeviceConnectInfoStatus VirtualDeviceConnectInfoStatus = "untried"
)

type VirtualDeviceFileExtension

type VirtualDeviceFileExtension string

All known file extensions. Valid ones are:

const (

	// legacy virtual disks
	Dsk_VirtualDeviceFileExtension VirtualDeviceFileExtension = "dsk"

	// Floppy File Backings
	Flp_VirtualDeviceFileExtension VirtualDeviceFileExtension = "flp"

	// CD ISO Image backings
	Iso_VirtualDeviceFileExtension VirtualDeviceFileExtension = "iso"

	// pre 3.0 virtual disks using Raw Disk Maps
	Rdm_VirtualDeviceFileExtension VirtualDeviceFileExtension = "rdm"

	// virtual disks
	Vmdk_VirtualDeviceFileExtension VirtualDeviceFileExtension = "vmdk"
)

type VirtualDeviceURIBackingOptionDirection

type VirtualDeviceURIBackingOptionDirection string

The VirtualDeviceURIBackingOptionDirection enum type provides values for the direction of a network connection.

const (

	// Indicates that the virtual machine can initiate a connection
	// with a system on the network using the specified
	// serviceURI.
	Client_VirtualDeviceURIBackingOptionDirection VirtualDeviceURIBackingOptionDirection = "client"

	// Indicates that the virtual machine can listen for a connection
	// on the specified serviceURI.
	Server_VirtualDeviceURIBackingOptionDirection VirtualDeviceURIBackingOptionDirection = "server"
)

type VirtualDiskAdapterType

type VirtualDiskAdapterType string

The types of virtual disk adapters used by virtual disks

const (

	// Use BusLogic emulation for the virtual disk
	BusLogic_VirtualDiskAdapterType VirtualDiskAdapterType = "busLogic"

	// Use IDE emulation for the virtual disk
	Ide_VirtualDiskAdapterType VirtualDiskAdapterType = "ide"

	// Use LSILogic emulation for the virtual disk
	LsiLogic_VirtualDiskAdapterType VirtualDiskAdapterType = "lsiLogic"
)

type VirtualDiskCompatibilityMode

type VirtualDiskCompatibilityMode string

All known compatibility modes for raw disk mappings. Valid compatibility modes are:

• virtualMode

• physicalMode

const (

	// A disk device backed by a physical compatibility mode raw disk mapping cannot
	// use disk modes, and commands are passed straight through to the LUN
	// indicated by the raw disk mapping.
	PhysicalMode_VirtualDiskCompatibilityMode VirtualDiskCompatibilityMode = "physicalMode"

	// A disk device backed by a virtual compatibility mode raw disk mapping can
	// use disk modes.See VirtualDiskMode
	VirtualMode_VirtualDiskCompatibilityMode VirtualDiskCompatibilityMode = "virtualMode"
)

type VirtualDiskDeltaDiskFormat

type VirtualDiskDeltaDiskFormat string

The delta disk format constants

const (

	// native snapshot format
	NativeFormat_VirtualDiskDeltaDiskFormat VirtualDiskDeltaDiskFormat = "nativeFormat"

	// redo-log based format
	RedoLogFormat_VirtualDiskDeltaDiskFormat VirtualDiskDeltaDiskFormat = "redoLogFormat"

	// Flex-SE redo-log based format
	//
	// Since vSphere API 5.1
	SeSparseFormat_VirtualDiskDeltaDiskFormat VirtualDiskDeltaDiskFormat = "seSparseFormat"
)

type VirtualDiskMode

type VirtualDiskMode string

The list of known disk modes.

The list of supported disk modes varies by the backing type. The "persistent" mode is supported by every backing type.

const (

	// Changes are appended to the redo log; you revoke changes by removing the undo log.
	Append_VirtualDiskMode VirtualDiskMode = "append"

	// Same as nonpersistent, but not affected by snapshots.
	Independent_nonpersistent_VirtualDiskMode VirtualDiskMode = "independent_nonpersistent"

	// Same as persistent, but not affected by snapshots.
	Independent_persistent_VirtualDiskMode VirtualDiskMode = "independent_persistent"

	// Changes to virtual disk are made to a redo log and discarded at power off.
	Nonpersistent_VirtualDiskMode VirtualDiskMode = "nonpersistent"

	// Changes are immediately and permanently written to the virtual disk.
	Persistent_VirtualDiskMode VirtualDiskMode = "persistent"

	// Changes are made to a redo log, but you are given the option to commit or undo.
	Undoable_VirtualDiskMode VirtualDiskMode = "undoable"
)

type VirtualDiskType

type VirtualDiskType string

The types of virtual disks that can be created or cloned.

const (

	// A redo log disk. This format is only applicable as a destination format
	// in a clone operation, and not usable for disk creation.
	//
	// Since vSphere API 5.5
	Delta_VirtualDiskType VirtualDiskType = "delta"

	// An eager zeroed thick disk has all space allocated and wiped clean
	// of any previous contents on the physical media at creation time.
	// Such disks may take longer time during creation  compared to other
	// disk formats.
	EagerZeroedThick_VirtualDiskType VirtualDiskType = "eagerZeroedThick"

	// A preallocated monolithic disk.  Disks in this format can be used with
	// other VMware products. This format is only applicable as a destination
	// format in a clone operation, and not usable for disk creation.
	//
	// Since vSphere API 4.0
	FlatMonolithic_VirtualDiskType VirtualDiskType = "flatMonolithic"

	// A preallocated disk has all space allocated at creation time
	// and the space is zeroed on demand as the space is used.
	Preallocated_VirtualDiskType VirtualDiskType = "preallocated"

	// Raw device.
	Raw_VirtualDiskType VirtualDiskType = "raw"

	// Virtual compatibility mode raw disk mapping.  An rdm virtual disk
	// grants access to the entire raw disk and the virtual disk can
	// participate in snapshots.
	Rdm_VirtualDiskType VirtualDiskType = "rdm"

	// Physical compatibility mode (pass-through) raw disk mapping. An rdmp
	// virtual disk passes SCSI commands directly to the hardware, but the
	// virtual disk cannot participate in snapshots.
	Rdmp_VirtualDiskType VirtualDiskType = "rdmp"

	// A sparse (allocate on demand) format with additional space
	// optimizations.
	//
	// Since vSphere API 5.1
	SeSparse_VirtualDiskType VirtualDiskType = "seSparse"

	// A sparse disk with 2GB maximum extent size.  Disks in this format
	// can be used with other VMware products.  The 2GB extent size
	// makes these disks easier to burn to dvd or use on filesystems that
	// don't support large files. This format is only applicable as a
	// destination format in a clone operation, and not usable for disk
	// creation.
	Sparse2Gb_VirtualDiskType VirtualDiskType = "sparse2Gb"

	// A sparse monolithic disk.  Disks in this format can be used with other
	// VMware products. This format is only applicable as a destination
	// format in a clone operation, and not usable for disk creation.
	//
	// Since vSphere API 4.0
	SparseMonolithic_VirtualDiskType VirtualDiskType = "sparseMonolithic"

	// A thick disk has all space allocated at creation time.  This
	// space may contain stale data on the physical media.  Thick disks
	// are primarily used for virtual machine clustering, but they are
	// generally insecure and should not be used. Due to better performance
	// and security properties, the use of the 'preallocated' format is
	// preferred over this format.
	Thick_VirtualDiskType VirtualDiskType = "thick"

	// A thick disk with 2GB maximum extent size.  Disks in this format
	// can be used with other VMware products.  The 2GB extent size
	// makes these disks easier to burn to dvd or use on filesystems that
	// don't support large files. This format is only applicable as a
	// destination format in a clone operation, and not usable for disk
	// creation.
	Thick2Gb_VirtualDiskType VirtualDiskType = "thick2Gb"

	// Space required for thin-provisioned virtual disk is allocated and
	// zeroed on demand as the space is used.
	Thin_VirtualDiskType VirtualDiskType = "thin"
)

type VirtualDiskVFlashCacheConfigInfoCacheConsistencyType

type VirtualDiskVFlashCacheConfigInfoCacheConsistencyType string

Pre-defined constants for cache consistency types

const (

	// With strong consistency, it ensures that
	// a crash will leave the cache data consistent.
	Strong_VirtualDiskVFlashCacheConfigInfoCacheConsistencyType VirtualDiskVFlashCacheConfigInfoCacheConsistencyType = "strong"

	// Cache data consistency is not guaranteed after a crash.
	Weak_VirtualDiskVFlashCacheConfigInfoCacheConsistencyType VirtualDiskVFlashCacheConfigInfoCacheConsistencyType = "weak"
)

type VirtualDiskVFlashCacheConfigInfoCacheMode

type VirtualDiskVFlashCacheConfigInfoCacheMode string

Pre-defined constants for cache modes.

const (

	// In write-back mode, writes to the cache do not go to the underlying storage
	// right away. Cache holds data temporarily till it can be permanently saved or
	// otherwise modified.
	Write_back_VirtualDiskVFlashCacheConfigInfoCacheMode VirtualDiskVFlashCacheConfigInfoCacheMode = "write_back"

	// In write-through cache mode, writes to the cache cause writes
	// to the underlying storage. The cache acts as a facade to the underlying
	// storage.
	Write_thru_VirtualDiskVFlashCacheConfigInfoCacheMode VirtualDiskVFlashCacheConfigInfoCacheMode = "write_thru"
)

type VirtualEthernetCardLegacyNetworkDeviceName

type VirtualEthernetCardLegacyNetworkDeviceName string

Possible device names for legacy network backing option are listed below. Note: This is not an exhaustive list. It is possible to specify a specific device as well. For example, on ESX hosts, the device name could be specified as "vmnic[0-9]" or vmnet_[0-9]. For VMware Server Windows hosts, the device name could be specified as "vmnet[0-9]" and for VMware Server Linux hosts, the device name could be specified as "/dev/vmnet[0-9]" depending on what devices are available on that particular host.

const (
	Bridged_VirtualEthernetCardLegacyNetworkDeviceName VirtualEthernetCardLegacyNetworkDeviceName = "bridged"

	Hostonly_VirtualEthernetCardLegacyNetworkDeviceName VirtualEthernetCardLegacyNetworkDeviceName = "hostonly"

	Nat_VirtualEthernetCardLegacyNetworkDeviceName VirtualEthernetCardLegacyNetworkDeviceName = "nat"
)

type VirtualEthernetCardMacType

type VirtualEthernetCardMacType string

The enumeration of all known valid MAC address types.

const (

	// A MAC address assigned by VirtualCenter.
	Assigned_VirtualEthernetCardMacType VirtualEthernetCardMacType = "assigned"

	// An automatically generated MAC address.
	Generated_VirtualEthernetCardMacType VirtualEthernetCardMacType = "generated"

	// A statistically assigned MAC address.
	Manual_VirtualEthernetCardMacType VirtualEthernetCardMacType = "manual"
)

type VirtualMachineAppHeartbeatStatusType

type VirtualMachineAppHeartbeatStatusType string

Application heartbeat status type.

const (

	// Heartbeat status is disabled
	AppStatusGray_VirtualMachineAppHeartbeatStatusType VirtualMachineAppHeartbeatStatusType = "appStatusGray"

	// Heartbeat status is OK
	AppStatusGreen_VirtualMachineAppHeartbeatStatusType VirtualMachineAppHeartbeatStatusType = "appStatusGreen"

	// Heartbeating has stopped
	AppStatusRed_VirtualMachineAppHeartbeatStatusType VirtualMachineAppHeartbeatStatusType = "appStatusRed"
)

type VirtualMachineConfigInfoNpivWwnType

type VirtualMachineConfigInfoNpivWwnType string

The NPIV WWN source type.

const (

	// This set of WWNs is provided by the client.
	External_VirtualMachineConfigInfoNpivWwnType VirtualMachineConfigInfoNpivWwnType = "external"

	// This set of WWNs is generated by Host Agent.
	Host_VirtualMachineConfigInfoNpivWwnType VirtualMachineConfigInfoNpivWwnType = "host"

	// This set of WWNs is generated by VC server.
	Vc_VirtualMachineConfigInfoNpivWwnType VirtualMachineConfigInfoNpivWwnType = "vc"
)

type VirtualMachineConfigInfoSwapPlacementType

type VirtualMachineConfigInfoSwapPlacementType string

Available choices for virtual machine swapfile placement policy. This is the set of legal values for the virtual machine configuration's swapPlacement property. All values except for "inherit" and "vmConfigured" are also valid values for a compute resource configuration's vmSwapPlacement property.

const (

	// Store the swapfile in the datastore specified by the
	// localSwapDatastore
	// property of the virtual machine's host, if that property is set and
	// indicates a datastore with sufficient free space. Otherwise store the
	// swapfile in the same directory as the virtual machine.
	//
	// Note: This setting may degrade VMotion performance.
	HostLocal_VirtualMachineConfigInfoSwapPlacementType VirtualMachineConfigInfoSwapPlacementType = "hostLocal"

	// Honor the virtual machine swapfile placement policy of the compute
	// resource that contains this virtual machine.
	Inherit_VirtualMachineConfigInfoSwapPlacementType VirtualMachineConfigInfoSwapPlacementType = "inherit"

	// Store the swapfile in the same directory as the virtual machine.
	VmDirectory_VirtualMachineConfigInfoSwapPlacementType VirtualMachineConfigInfoSwapPlacementType = "vmDirectory"
)

type VirtualMachineConfigSpecNpivWwnOp

type VirtualMachineConfigSpecNpivWwnOp string

The root WWN operation mode.

const (

	// Generate a new set of WWNs and append them to the existing list
	//
	// Since vSphere API 4.0
	Extend_VirtualMachineConfigSpecNpivWwnOp VirtualMachineConfigSpecNpivWwnOp = "extend"

	// Generate a new set of WWNs and assign it to the virtual machine.
	Generate_VirtualMachineConfigSpecNpivWwnOp VirtualMachineConfigSpecNpivWwnOp = "generate"

	// Remove the currently assigned WWNs from the virtual machine.
	Remove_VirtualMachineConfigSpecNpivWwnOp VirtualMachineConfigSpecNpivWwnOp = "remove"

	// Take a client-specified set of WWNs (specified in "wwn" property) and
	// assign them to the virtual machine. If the new WWN quntity are more
	// than existing then we will append them to the existing list of WWNs.
	Set_VirtualMachineConfigSpecNpivWwnOp VirtualMachineConfigSpecNpivWwnOp = "set"
)

type VirtualMachineConnectionState

type VirtualMachineConnectionState string

The connectivity state of a virtual machine. When the API is provided directly by a server product, such as ESX Server, then the disconnected state is not possible. However, when accessed through VirtualCenter, the state of a virtual machine is set to disconnected if the hosts that manage the virtual machine becomes unavailable.

const (

	// The server has access to the virtual machine.
	Connected_VirtualMachineConnectionState VirtualMachineConnectionState = "connected"

	// The server is currently disconnected from the virtual machine, since its
	// host is disconnected. See general comment for this enumerated type for more
	// details.
	Disconnected_VirtualMachineConnectionState VirtualMachineConnectionState = "disconnected"

	// One or more of the virtual machine configuration files are inaccessible. For
	// example, this can be due to transient disk failures. In this case, no
	// configuration can be returned for a virtual machine.
	Inaccessible_VirtualMachineConnectionState VirtualMachineConnectionState = "inaccessible"

	// The virtual machine configuration format is invalid. Thus, it is accessible
	// on disk, but corrupted in a way that does not allow the server to read the
	// content. In this case, no configuration can be returned for a virtual
	// machine.
	Invalid_VirtualMachineConnectionState VirtualMachineConnectionState = "invalid"

	// The virtual machine is no longer registered on the host it is associated
	// with. For example, a virtual machine that is unregistered or deleted
	// directly on a host managed by VirtualCenter shows up in this state.
	Orphaned_VirtualMachineConnectionState VirtualMachineConnectionState = "orphaned"
)

type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther

type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther string
const (

	// The virtual machine's host does not support VMDirectPath Gen 2.See vmDirectPathGen2Supported
	VmNptIncompatibleHost_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther = "vmNptIncompatibleHost"

	// The configuration or state of the attached network prevents
	// VMDirectPath Gen 2. Refer to
	// vmDirectPathGen2InactiveReasonNetwork
	// and/or
	// vmDirectPathGen2InactiveReasonExtended
	// in the RuntimeInfo of the DistributedVirtualPort connected to this
	// device.
	VmNptIncompatibleNetwork_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther = "vmNptIncompatibleNetwork"
)

type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm

type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm string
const (

	// Some networking feature has placed a conflicting IOChain on
	// the network adapter, which prevents VMDirectPath Gen 2.  Examples
	// include DVFilter.
	VmNptConflictingIOChainConfigured_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptConflictingIOChainConfigured"

	// VMDirectPath Gen 2 is temporarily suspended while the virtual
	// machine executes an operation such as suspend.
	VmNptConflictingOperationInProgress_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptConflictingOperationInProgress"

	// The virtual machine's network adapter is disabled or
	// disconnected, and thus is not participating in VMDirectPath Gen 2.
	VmNptDisabledOrDisconnectedAdapter_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptDisabledOrDisconnectedAdapter"

	// The virtual machine is configured for Fault Tolerance or
	// Record & Replay, which prevents VMDirectPath Gen 2.
	VmNptFaultToleranceOrRecordReplayConfigured_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptFaultToleranceOrRecordReplayConfigured"

	// The virtual machine's network adapter has features enabled
	// which preclude it participating in VMDirectPath Gen 2 such
	// as INT-x or PXE booting.
	VmNptIncompatibleAdapterFeatures_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptIncompatibleAdapterFeatures"

	// The device type does not support VMDirectPath Gen 2.See vmDirectPathGen2Supported
	VmNptIncompatibleAdapterType_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptIncompatibleAdapterType"

	// The device backing is not a DistributedVirtualPortBacking.
	VmNptIncompatibleBackingType_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptIncompatibleBackingType"

	// The virtual machine's guest OS does not support
	// VMDirectPath Gen 2.
	VmNptIncompatibleGuest_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptIncompatibleGuest"

	// The virtual machine's guest network driver does not support
	// VMDirectPath Gen 2.
	VmNptIncompatibleGuestDriver_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptIncompatibleGuestDriver"

	// The virtual machine does not have full memory reservation
	// required to activate VMDirectPath Gen 2.
	VmNptInsufficientMemoryReservation_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptInsufficientMemoryReservation"

	// The virtual machine monitor is exercising functionality which
	// which prevents VMDirectPath Gen 2.
	VmNptMonitorBlocks_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptMonitorBlocks"

	// VMDirectPath Gen 2 is unavailable due to host run out of intr
	// vector in host. Guest can configure the vNIC to use less rx/tx
	// queues or use MSI instead of MSIX.
	VmNptOutOfIntrVector_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptOutOfIntrVector"

	// VMDirectPath Gen 2 is unavailable due to an unforeseen runtime error
	// in the virtualization platform (typically resource constraints.)
	VmNptRuntimeError_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptRuntimeError"

	// VMDirectPath Gen 2 is unavailable due to Incompatibe feature
	// VMCI is active in the current VM. Kill the relevant VMCI
	// application(s) and restart the VM will allow the vNIC(s) to enter
	// passthrough mode.
	//
	// Since vSphere API 5.1
	VmNptVMCIActive_VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm = "vmNptVMCIActive"
)

type VirtualMachineFaultToleranceState

type VirtualMachineFaultToleranceState string

The FaultToleranceState type defines a simple set of states for a fault tolerant virtual machine: disabled, starting, and enabled.

const (

	// For a virtual machine that is the primary in a fault tolerant group,
	// this state indicates that the virtual machine has at least one
	// registered secondary, but no secondary is enabled.
	//
	// For a virtual machine that is the secondary in a fault tolerant
	// group, this state indicates that the secondary is disabled.
	Disabled_VirtualMachineFaultToleranceState VirtualMachineFaultToleranceState = "disabled"

	// For a virtual machine that is the primary in a fault tolerant group,
	// this state indicates that the virtual machine is not currently
	// powered on, but has at least one enabled secondary
	//
	// For a virtual machine that is the secondary in a fault tolerant
	// group, this state indicates that the secondary is enabled, but is
	// not currently powered on.
	Enabled_VirtualMachineFaultToleranceState VirtualMachineFaultToleranceState = "enabled"

	// For a virtual machine that is the primary in a fault tolerant group,
	// this state indicates that the virtual machine is powered on and
	// has at least one enabled secondary, but no secondary is currenly
	// active.
	//
	// This state is not valid for a virtual machine that is a secondary
	// in a fault tolerant group.
	NeedSecondary_VirtualMachineFaultToleranceState VirtualMachineFaultToleranceState = "needSecondary"

	// This state indicates that the virtual machine has not been
	// configured for fault tolerance.
	NotConfigured_VirtualMachineFaultToleranceState VirtualMachineFaultToleranceState = "notConfigured"

	// This state indicates that the virtual machine is running with fault
	// tolerance protection.
	Running_VirtualMachineFaultToleranceState VirtualMachineFaultToleranceState = "running"

	// For a virtual machine that is the primary in a fault tolerant group,
	// this state indicates that the virtual machine is powered on and has
	// at least one secondary that is synchronizing its state with the
	// primary.
	//
	// For a virtual machine that is the secondary in a fault tolerant
	// group, this state indicates that the secondary is powered on and is
	// synchronizing its state with the primary virtual machine.
	Starting_VirtualMachineFaultToleranceState VirtualMachineFaultToleranceState = "starting"
)

type VirtualMachineFileLayoutExFileType

type VirtualMachineFileLayoutExFileType string

File-type constants.

const (

	// Config (vmx) file.
	Config_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "config"

	// Core (core) file.
	Core_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "core"

	// Disk digest descriptor file.
	//
	// Since vSphere API 5.0
	DigestDescriptor_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "digestDescriptor"

	// Disk digest extent file.
	//
	// Since vSphere API 5.0
	DigestExtent_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "digestExtent"

	// Disk descriptor (vmdk) file.
	DiskDescriptor_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "diskDescriptor"

	// Disk extent (-flat/-delta/-s/-rdm/-rdmp.vmdk) file.
	DiskExtent_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "diskExtent"

	// Host based replicated disk persistent state (psf) file.
	//
	// Since vSphere API 5.0
	DiskReplicationState_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "diskReplicationState"

	// Extended config (vmxf) file.
	ExtendedConfig_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "extendedConfig"

	// Log (log) file.
	Log_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "log"

	// Namespace data file.
	//
	// Since vSphere API 5.1
	NamespaceData_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "namespaceData"

	// Non-volatile RAM (nvram) file.
	Nvram_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "nvram"

	// Screenshot file.
	Screenshot_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "screenshot"

	// Snapshot data (vmsn) file.
	SnapshotData_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "snapshotData"

	// Snapshot metadata (vmsd) file.
	SnapshotList_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "snapshotList"

	// Snapshot manifest metadata (-aux.xml) file.
	//
	// This file is still being created but is no longer necessary since
	// the manifest metadata is now available in the snapshot metadata
	// (vmsd) file in vSphere 5.0. This type will be deprecated when
	// vSphere 4.1 is no longer supported.
	//
	// Since vSphere API 5.0
	SnapshotManifestList_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "snapshotManifestList"

	// Virtual machine statistics (stat) file.
	Stat_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "stat"

	// Suspend (vmss) file.
	Suspend_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "suspend"

	// Swap (vswp/vmem) file.
	Swap_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "swap"

	// File generated by VMware ESX kernel for a running virtual
	// machine.
	//
	// Since vSphere API 5.0
	Uwswap_VirtualMachineFileLayoutExFileType VirtualMachineFileLayoutExFileType = "uwswap"
)

type VirtualMachineFlagInfoMonitorType

type VirtualMachineFlagInfoMonitorType string

Set of possible values for monitorType.

const (

	// Run vmx in debug mode.
	Debug_VirtualMachineFlagInfoMonitorType VirtualMachineFlagInfoMonitorType = "debug"

	// Run vmx in default mode, matching the build type of vmkernel.
	Release_VirtualMachineFlagInfoMonitorType VirtualMachineFlagInfoMonitorType = "release"

	// Run vmx in stats mode.
	Stats_VirtualMachineFlagInfoMonitorType VirtualMachineFlagInfoMonitorType = "stats"
)

type VirtualMachineFlagInfoVirtualExecUsage

type VirtualMachineFlagInfoVirtualExecUsage string

Set of possible values for virtualExecUsage.

const (

	// Determine automatically whether to use hardware virtualization (HV) support.
	HvAuto_VirtualMachineFlagInfoVirtualExecUsage VirtualMachineFlagInfoVirtualExecUsage = "hvAuto"

	// Do not use hardware virtualization (HV) support.
	HvOff_VirtualMachineFlagInfoVirtualExecUsage VirtualMachineFlagInfoVirtualExecUsage = "hvOff"

	// Use hardware virtualization (HV) support if the physical hardware supports it.
	HvOn_VirtualMachineFlagInfoVirtualExecUsage VirtualMachineFlagInfoVirtualExecUsage = "hvOn"
)

type VirtualMachineFlagInfoVirtualMmuUsage

type VirtualMachineFlagInfoVirtualMmuUsage string

Set of possible values for virtualMmuUsage.

const (

	// Determine automatically whether to use nested page table hardware support.
	Automatic_VirtualMachineFlagInfoVirtualMmuUsage VirtualMachineFlagInfoVirtualMmuUsage = "automatic"

	// Do not use nested page table hardware support.
	Off_VirtualMachineFlagInfoVirtualMmuUsage VirtualMachineFlagInfoVirtualMmuUsage = "off"

	// Use nested paging hardware support if the physical hardware supports it.
	On_VirtualMachineFlagInfoVirtualMmuUsage VirtualMachineFlagInfoVirtualMmuUsage = "on"
)

type VirtualMachineGuestOsFamily

type VirtualMachineGuestOsFamily string

Guest operating system family constants.

const (

	// Mac OS operating system
	//
	// Since vSphere API 5.0
	DarwinGuestFamily_VirtualMachineGuestOsFamily VirtualMachineGuestOsFamily = "darwinGuestFamily"

	// Linux operating system
	LinuxGuest_VirtualMachineGuestOsFamily VirtualMachineGuestOsFamily = "linuxGuest"

	// Novell Netware
	NetwareGuest_VirtualMachineGuestOsFamily VirtualMachineGuestOsFamily = "netwareGuest"

	// Other operating systems
	OtherGuestFamily_VirtualMachineGuestOsFamily VirtualMachineGuestOsFamily = "otherGuestFamily"

	// Solaris operating system
	SolarisGuest_VirtualMachineGuestOsFamily VirtualMachineGuestOsFamily = "solarisGuest"

	// Windows operating system
	WindowsGuest_VirtualMachineGuestOsFamily VirtualMachineGuestOsFamily = "windowsGuest"
)

type VirtualMachineGuestOsIdentifier

type VirtualMachineGuestOsIdentifier string

Guest operating system identifier.

const (

	// Asianux Server 3 (64 bit)
	//
	// Since vSphere API 4.0
	Asianux3_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "asianux3_64Guest"

	// Asianux Server 3
	//
	// Since vSphere API 4.0
	Asianux3Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "asianux3Guest"

	// Asianux Server 4 (64 bit)
	//
	// Since vSphere API 4.0
	Asianux4_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "asianux4_64Guest"

	// Asianux Server 4
	//
	// Since vSphere API 4.0
	Asianux4Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "asianux4Guest"

	// CentOS 4/5 (64-bit)
	//
	// Since vSphere API 4.1
	Centos64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "centos64Guest"

	// CentOS 4/5
	//
	// Since vSphere API 4.1
	CentosGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "centosGuest"

	// Mac OS 10.6 (64 bit)
	//
	// Since vSphere API 5.0
	Darwin10_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "darwin10_64Guest"

	// Mac OS 10.6
	//
	// Since vSphere API 5.0
	Darwin10Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "darwin10Guest"

	// Mac OS 10.7 (64 bit)
	//
	// Since vSphere API 5.0
	Darwin11_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "darwin11_64Guest"

	// Mac OS 10.7
	//
	// Since vSphere API 5.0
	Darwin11Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "darwin11Guest"

	// Mac OS 10.8 (64 bit)
	//
	// Since vSphere API 5.5
	Darwin12_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "darwin12_64Guest"

	// Mac OS 10.9 (64 bit)
	//
	// Since vSphere API 5.5
	Darwin13_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "darwin13_64Guest"

	// Mac OS 10.5 (64 bit)
	//
	// Since vSphere API 4.0
	Darwin64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "darwin64Guest"

	// Mac OS 10.5
	DarwinGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "darwinGuest"

	// Debian GNU/Linux 4 (64 bit)
	//
	// Since vSphere API 4.0
	Debian4_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "debian4_64Guest"

	// Debian GNU/Linux 4
	//
	// Since vSphere API 4.0
	Debian4Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "debian4Guest"

	// Debian GNU/Linux 5 (64 bit)
	//
	// Since vSphere API 4.0
	Debian5_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "debian5_64Guest"

	// Debian GNU/Linux 5
	//
	// Since vSphere API 4.0
	Debian5Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "debian5Guest"

	// Debian GNU/Linux 6 (64 bit)
	//
	// Since vSphere API 5.0
	Debian6_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "debian6_64Guest"

	// Debian GNU/Linux 6
	//
	// Since vSphere API 5.0
	Debian6Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "debian6Guest"

	// Debian GNU/Linux 7 (64 bit)
	//
	// Since vSphere API 5.5
	Debian7_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "debian7_64Guest"

	// Debian GNU/Linux 7
	//
	// Since vSphere API 5.5
	Debian7Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "debian7Guest"

	// MS-DOS.
	DosGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "dosGuest"

	// eComStation 2.0
	//
	// Since vSphere API 5.0
	EComStation2Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "eComStation2Guest"

	// eComStation 1.x
	//
	// Since vSphere API 4.1
	EComStationGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "eComStationGuest"

	// Fedora Linux (64 bit)
	//
	// Since vSphere API 5.1
	Fedora64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "fedora64Guest"

	// Fedora Linux
	//
	// Since vSphere API 5.1
	FedoraGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "fedoraGuest"

	// FreeBSD x64
	Freebsd64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "freebsd64Guest"

	// FreeBSD
	FreebsdGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "freebsdGuest"

	// Other Linux
	//
	// Since vSphere API 5.5
	GenericLinuxGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "genericLinuxGuest"

	// Mandrake Linux
	//
	// Since vSphere API 5.5
	MandrakeGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "mandrakeGuest"

	// Mandriva Linux (64 bit)
	//
	// Since vSphere API 4.0
	Mandriva64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "mandriva64Guest"

	// Mandriva Linux
	//
	// Since vSphere API 4.0
	MandrivaGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "mandrivaGuest"

	// Novell NetWare 4
	Netware4Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "netware4Guest"

	// Novell NetWare 5.1
	Netware5Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "netware5Guest"

	// Novell NetWare 6.x
	Netware6Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "netware6Guest"

	// Novell Linux Desktop 9
	Nld9Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "nld9Guest"

	// Open Enterprise Server
	OesGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "oesGuest"

	// SCO OpenServer 5
	//
	// Since vSphere API 4.0
	OpenServer5Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "openServer5Guest"

	// SCO OpenServer 6
	//
	// Since vSphere API 4.0
	OpenServer6Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "openServer6Guest"

	// OpenSUSE Linux (64 bit)
	//
	// Since vSphere API 5.1
	Opensuse64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "opensuse64Guest"

	// OpenSUSE Linux
	//
	// Since vSphere API 5.1
	OpensuseGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "opensuseGuest"

	// Oracle Linux 4/5 (64-bit)
	//
	// Since vSphere API 4.1
	OracleLinux64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "oracleLinux64Guest"

	// Oracle Linux 4/5
	//
	// Since vSphere API 4.1
	OracleLinuxGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "oracleLinuxGuest"

	// OS/2
	Os2Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "os2Guest"

	// Linux 2.4x Kernel (64 bit) (experimental)
	Other24xLinux64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "other24xLinux64Guest"

	// Linux 2.4x Kernel
	Other24xLinuxGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "other24xLinuxGuest"

	// Linux 2.6x Kernel (64 bit) (experimental)
	Other26xLinux64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "other26xLinux64Guest"

	// Linux 2.6x Kernel
	Other26xLinuxGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "other26xLinuxGuest"

	// Linux 3.x Kernel (64 bit)
	//
	// Since vSphere API 5.5
	Other3xLinux64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "other3xLinux64Guest"

	// Linux 3.x Kernel
	//
	// Since vSphere API 5.5
	Other3xLinuxGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "other3xLinuxGuest"

	// Other Operating System
	OtherGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "otherGuest"

	// Other Operating System (64 bit) (experimental)
	OtherGuest64_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "otherGuest64"

	// Linux (64 bit) (experimental)
	OtherLinux64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "otherLinux64Guest"

	// Linux 2.2x Kernel
	OtherLinuxGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "otherLinuxGuest"

	// Red Hat Linux 2.1
	RedhatGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "redhatGuest"

	// Red Hat Enterprise Linux 2
	Rhel2Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "rhel2Guest"

	// Red Hat Enterprise Linux 3 (64 bit)
	Rhel3_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "rhel3_64Guest"

	// Red Hat Enterprise Linux 3
	Rhel3Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "rhel3Guest"

	// Red Hat Enterprise Linux 4 (64 bit)
	Rhel4_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "rhel4_64Guest"

	// Red Hat Enterprise Linux 4
	Rhel4Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "rhel4Guest"

	// Red Hat Enterprise Linux 5 (64 bit) (experimental)
	//
	// Since VI API 2.5
	Rhel5_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "rhel5_64Guest"

	// Red Hat Enterprise Linux 5
	//
	// Since VI API 2.5
	Rhel5Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "rhel5Guest"

	// Red Hat Enterprise Linux 6 (64 bit)
	//
	// Since vSphere API 4.0
	Rhel6_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "rhel6_64Guest"

	// Red Hat Enterprise Linux 6
	//
	// Since vSphere API 4.0
	Rhel6Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "rhel6Guest"

	// Red Hat Enterprise Linux 7 (64 bit)
	//
	// Since vSphere API 5.5
	Rhel7_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "rhel7_64Guest"

	// Red Hat Enterprise Linux 7
	//
	// Since vSphere API 5.5
	Rhel7Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "rhel7Guest"

	// Sun Java Desktop System
	SjdsGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "sjdsGuest"

	// Suse Linux Enterprise Server 10 (64 bit) (experimental)
	//
	// Since VI API 2.5
	Sles10_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "sles10_64Guest"

	// Suse linux Enterprise Server 10
	//
	// Since VI API 2.5
	Sles10Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "sles10Guest"

	// Suse Linux Enterprise Server 11 (64 bit)
	//
	// Since vSphere API 4.0
	Sles11_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "sles11_64Guest"

	// Suse linux Enterprise Server 11
	//
	// Since vSphere API 4.0
	Sles11Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "sles11Guest"

	// Suse Linux Enterprise Server 12 (64 bit)
	//
	// Since vSphere API 5.5
	Sles12_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "sles12_64Guest"

	// Suse linux Enterprise Server 12
	//
	// Since vSphere API 5.5
	Sles12Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "sles12Guest"

	// Suse Linux Enterprise Server 9 (64 bit)
	Sles64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "sles64Guest"

	// Suse Linux Enterprise Server 9
	SlesGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "slesGuest"

	// Solaris 10 (64 bit) (experimental)
	Solaris10_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "solaris10_64Guest"

	// Solaris 10 (32 bit) (experimental)
	Solaris10Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "solaris10Guest"

	// Solaris 11 (64 bit)
	//
	// Since vSphere API 5.0
	Solaris11_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "solaris11_64Guest"

	// Solaris 6
	Solaris6Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "solaris6Guest"

	// Solaris 7
	Solaris7Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "solaris7Guest"

	// Solaris 8
	Solaris8Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "solaris8Guest"

	// Solaris 9
	Solaris9Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "solaris9Guest"

	// Suse Linux (64 bit)
	Suse64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "suse64Guest"

	// Suse Linux
	SuseGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "suseGuest"

	// Turbolinux (64 bit)
	//
	// Since vSphere API 4.0
	TurboLinux64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "turboLinux64Guest"

	// Turbolinux
	TurboLinuxGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "turboLinuxGuest"

	// Ubuntu Linux (64 bit)
	Ubuntu64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "ubuntu64Guest"

	// Ubuntu Linux
	UbuntuGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "ubuntuGuest"

	// SCO UnixWare 7
	//
	// Since vSphere API 4.0
	UnixWare7Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "unixWare7Guest"

	// VMware ESX 5
	//
	// Since vSphere API 5.0
	Vmkernel5Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "vmkernel5Guest"

	// VMware ESX 4
	//
	// Since vSphere API 5.0
	VmkernelGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "vmkernelGuest"

	// Windows 2000 Advanced Server
	Win2000AdvServGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "win2000AdvServGuest"

	// Windows 2000 Professional
	Win2000ProGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "win2000ProGuest"

	// Windows 2000 Server
	Win2000ServGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "win2000ServGuest"

	// Windows 3.1
	Win31Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "win31Guest"

	// Windows 95
	Win95Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "win95Guest"

	// Windows 98
	Win98Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "win98Guest"

	// Windows 7 (64 bit)
	//
	// Since vSphere API 4.0
	Windows7_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "windows7_64Guest"

	// Windows 7
	//
	// Since vSphere API 4.0
	Windows7Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "windows7Guest"

	// Windows Server 2008 R2 (64 bit)
	//
	// Since vSphere API 4.0
	Windows7Server64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "windows7Server64Guest"

	// Windows 8 (64 bit)
	//
	// Since vSphere API 5.0
	Windows8_64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "windows8_64Guest"

	// Windows 8
	//
	// Since vSphere API 5.0
	Windows8Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "windows8Guest"

	// Windows 8 Server (64 bit)
	//
	// Since vSphere API 5.0
	Windows8Server64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "windows8Server64Guest"

	// Windows Hyper-V
	//
	// Since vSphere API 5.5
	WindowsHyperVGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "windowsHyperVGuest"

	// Windows Longhorn (64 bit) (experimental)
	//
	// Since VI API 2.5
	WinLonghorn64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winLonghorn64Guest"

	// Windows Longhorn (experimental)
	//
	// Since VI API 2.5
	WinLonghornGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winLonghornGuest"

	// Windows Millenium Edition
	WinMeGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winMeGuest"

	// Windows Small Business Server 2003
	WinNetBusinessGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winNetBusinessGuest"

	// Windows Server 2003, Datacenter Edition (64 bit) (experimental)
	//
	// Since VI API 2.5
	WinNetDatacenter64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winNetDatacenter64Guest"

	// Windows Server 2003, Datacenter Edition
	//
	// Since VI API 2.5
	WinNetDatacenterGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winNetDatacenterGuest"

	// Windows Server 2003, Enterprise Edition (64 bit)
	WinNetEnterprise64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winNetEnterprise64Guest"

	// Windows Server 2003, Enterprise Edition
	WinNetEnterpriseGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winNetEnterpriseGuest"

	// Windows Server 2003, Standard Edition (64 bit)
	WinNetStandard64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winNetStandard64Guest"

	// Windows Server 2003, Standard Edition
	WinNetStandardGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winNetStandardGuest"

	// Windows Server 2003, Web Edition
	WinNetWebGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winNetWebGuest"

	// Windows NT 4
	WinNTGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winNTGuest"

	// Windows Vista (64 bit)
	WinVista64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winVista64Guest"

	// Windows Vista
	WinVistaGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winVistaGuest"

	// Windows XP Home Edition
	WinXPHomeGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winXPHomeGuest"

	// Windows XP Professional Edition (64 bit)
	WinXPPro64Guest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winXPPro64Guest"

	// Windows XP Professional
	WinXPProGuest_VirtualMachineGuestOsIdentifier VirtualMachineGuestOsIdentifier = "winXPProGuest"
)

type VirtualMachineGuestState

type VirtualMachineGuestState string

The possible hints that the guest could display about current tasks inside the guest.

const (
	NotRunning_VirtualMachineGuestState VirtualMachineGuestState = "notRunning"

	Resetting_VirtualMachineGuestState VirtualMachineGuestState = "resetting"

	Running_VirtualMachineGuestState VirtualMachineGuestState = "running"

	ShuttingDown_VirtualMachineGuestState VirtualMachineGuestState = "shuttingDown"

	Standby_VirtualMachineGuestState VirtualMachineGuestState = "standby"

	Unknown_VirtualMachineGuestState VirtualMachineGuestState = "unknown"
)

type VirtualMachineHtSharing

type VirtualMachineHtSharing string

Set of possible values for htSharing.

const (

	// VCPUs may freely share cores at any time with any other
	// VCPUs (default for all virtual machines on a hyperthreaded
	// system).
	Any_VirtualMachineHtSharing VirtualMachineHtSharing = "any"

	// Similar to "none", in that VCPUs from this virtual machine
	// will not be allowed to share cores with VCPUs from other
	// virtual machines.  However, other VCPUs from the same virtual
	// machine will be allowed to share cores together. This
	// configuration option is only permitted for SMP virtual
	// machines. If applied to a uniprocessor virtual machine, it
	// will be converted to the "none" sharing option.
	Internal_VirtualMachineHtSharing VirtualMachineHtSharing = "internal"

	// VCPUs should not share cores with each other or with VCPUs
	// from other virtual machines. That is, each VCPU from this
	// virtual machine should always get a whole core to itself,
	// with the other logical CPU on that core being placed into
	// the "halted" state.
	None_VirtualMachineHtSharing VirtualMachineHtSharing = "none"
)

type VirtualMachineMemoryAllocationPolicy

type VirtualMachineMemoryAllocationPolicy string

Means for allocating additional memory for virtual machines.

const (

	// Allow most virtual machine memory to be swapped.
	SwapMost_VirtualMachineMemoryAllocationPolicy VirtualMachineMemoryAllocationPolicy = "swapMost"

	// Fit all virtual machine memory into reserved host memory.
	SwapNone_VirtualMachineMemoryAllocationPolicy VirtualMachineMemoryAllocationPolicy = "swapNone"

	// Allow some virtual machine memory to be swapped.
	SwapSome_VirtualMachineMemoryAllocationPolicy VirtualMachineMemoryAllocationPolicy = "swapSome"
)

type VirtualMachineMetadataManagerVmMetadataOp

type VirtualMachineMetadataManagerVmMetadataOp string

This enum represents the set of legal operations

const (

	// Remove the Metadata for the specified VM
	Remove_VirtualMachineMetadataManagerVmMetadataOp VirtualMachineMetadataManagerVmMetadataOp = "Remove"

	// Create or update the Metadata for the specified VM
	Update_VirtualMachineMetadataManagerVmMetadataOp VirtualMachineMetadataManagerVmMetadataOp = "Update"
)

type VirtualMachineMetadataManagerVmMetadataOwnerOwner

type VirtualMachineMetadataManagerVmMetadataOwnerOwner string

This enum contains a list of valid owner values for the name field

const (
	ComVmwareVsphereHA_VirtualMachineMetadataManagerVmMetadataOwnerOwner VirtualMachineMetadataManagerVmMetadataOwnerOwner = "ComVmwareVsphereHA"
)

type VirtualMachineMovePriority

type VirtualMachineMovePriority string

MovePriority is an enumeration of values that indicate the priority of the task that moves a virtual machine from one host to another or one storage location to another. Note this priority can affect both the source and target hosts.

const (

	// The task of moving this virtual machine is the default priority.
	DefaultPriority_VirtualMachineMovePriority VirtualMachineMovePriority = "defaultPriority"

	// The task of moving this virtual machine is high priority.
	HighPriority_VirtualMachineMovePriority VirtualMachineMovePriority = "highPriority"

	// The task of moving this virtual machine is low priority.
	LowPriority_VirtualMachineMovePriority VirtualMachineMovePriority = "lowPriority"
)

type VirtualMachineNeedSecondaryReason

type VirtualMachineNeedSecondaryReason string

The NeedSecondaryReason type defines all reasons a virtual machine is in the needSecondary Fault Tolerance state following a failure.

const (

	// Divergence
	Divergence_VirtualMachineNeedSecondaryReason VirtualMachineNeedSecondaryReason = "divergence"

	// Initializing FT
	Initializing_VirtualMachineNeedSecondaryReason VirtualMachineNeedSecondaryReason = "initializing"

	// Lose connection to secondary
	LostConnection_VirtualMachineNeedSecondaryReason VirtualMachineNeedSecondaryReason = "lostConnection"

	// All other reasons
	Other_VirtualMachineNeedSecondaryReason VirtualMachineNeedSecondaryReason = "other"

	// Partial hardware failure
	PartialHardwareFailure_VirtualMachineNeedSecondaryReason VirtualMachineNeedSecondaryReason = "partialHardwareFailure"

	// Terminated by user
	UserAction_VirtualMachineNeedSecondaryReason VirtualMachineNeedSecondaryReason = "userAction"
)

type VirtualMachinePowerOffBehavior

type VirtualMachinePowerOffBehavior string

Set of possible values for snapshotPowerOffBehavior.

const (

	// Just power off the virtual machine.
	PowerOff_VirtualMachinePowerOffBehavior VirtualMachinePowerOffBehavior = "powerOff"

	// Prompt the user for instructions at power-off time.
	Prompt_VirtualMachinePowerOffBehavior VirtualMachinePowerOffBehavior = "prompt"

	// Revert to the snapshot.
	Revert_VirtualMachinePowerOffBehavior VirtualMachinePowerOffBehavior = "revert"
)

type VirtualMachinePowerOpType

type VirtualMachinePowerOpType string

The list of possible default power operations available for the virtual machine

const (
	Hard_VirtualMachinePowerOpType VirtualMachinePowerOpType = "hard"

	Preset_VirtualMachinePowerOpType VirtualMachinePowerOpType = "preset"

	Soft_VirtualMachinePowerOpType VirtualMachinePowerOpType = "soft"
)

type VirtualMachinePowerState

type VirtualMachinePowerState string

The PowerState type defines a simple set of states for a virtual machine: poweredOn, poweredOff, and suspended. This type does not model substates, such as when a task is running to change the virtual machine state. If the virtual machine is in a state with a task in progress, it transitions to a new state when the task completes. For example, a virtual machine continues to be in the poweredOn state while a suspend task is running, and changes to the suspended state once the task finishes.

As a consequence of this approach, clients interested in monitoring the status of a virtual machine should typically track the activeTask data object in addition to the powerState object.

const (

	// The virtual machine is currently powered off.
	PoweredOff_VirtualMachinePowerState VirtualMachinePowerState = "poweredOff"

	// The virtual machine is currently powered on.
	PoweredOn_VirtualMachinePowerState VirtualMachinePowerState = "poweredOn"

	// The virtual machine is currently suspended.
	Suspended_VirtualMachinePowerState VirtualMachinePowerState = "suspended"
)

type VirtualMachineRecordReplayState

type VirtualMachineRecordReplayState string

The RecordReplayState type defines a simple set of record and replay states for a virtual machine.

const (

	// The virtual machine is currently not participating
	// in record or replay.
	Inactive_VirtualMachineRecordReplayState VirtualMachineRecordReplayState = "inactive"

	// The virtual machine is recording.
	Recording_VirtualMachineRecordReplayState VirtualMachineRecordReplayState = "recording"

	// The virtual machine is replaying.
	Replaying_VirtualMachineRecordReplayState VirtualMachineRecordReplayState = "replaying"
)

type VirtualMachineRelocateDiskMoveOptions

type VirtualMachineRelocateDiskMoveOptions string

Specifies how a virtual disk is moved or copied to a datastore.

In all cases after the move or copy the virtual machine's current running point will be placed on the target datastore. The current running point is defined as the disk backing which the virtual machine is currently writing to. This end state can be achieved in multiple ways, and the supported options are described in this enumeration.

These options are only relevant when the backing of the specified disk is a file backing.

Since disk backings may become shared as the result of either a clone operation or a relocate operation, PromoteDisks_Task has been provided as a way to unshare such disk backings.

See parentSee parentSee parentSee parentSee parentSee diskMoveTypeSee diskMoveType

const (

	// Create a new child disk backing on the destination datastore.  None of the
	// virtual disk's existing files should be moved from their current locations.
	//
	// Note that in the case of a clone operation,
	// this means that the original virtual machine's disks are now all being shared.
	// This is only safe if the clone was taken from a snapshot point, because
	// snapshot points are always read-only.  Thus for a clone this
	// option is only valid when cloning from a snapshot.
	//
	// Note that in the case of a RelocateVM_Task operation,
	// child disks are created for the virtual disks in the current virtual machine
	// configuration only.
	CreateNewChildDiskBacking_VirtualMachineRelocateDiskMoveOptions VirtualMachineRelocateDiskMoveOptions = "createNewChildDiskBacking"

	// All of the virtual disk's backings should be moved to the new datastore.
	//
	// If a disk backing is not the child-most backing of this virtual machine,
	// and there exists a read-only disk backing with the same content ID
	// on the target datastore, then this disk backing may not be copied.  Instead
	// it is acceptable to attach to the read-only disk backing at the target
	// datastore.  A read-only disk backing is defined as a virtual disk
	// backing which no virtual machine is currently writing to.
	// See contentIdSee contentIdSee contentIdSee contentIdSee contentId
	MoveAllDiskBackingsAndAllowSharing_VirtualMachineRelocateDiskMoveOptions VirtualMachineRelocateDiskMoveOptions = "moveAllDiskBackingsAndAllowSharing"

	// All of the virtual disk's backings should be moved to the new datastore.
	//
	// During a clone operation or a
	// MigrateVM_Task, any delta disk backings will be
	// consolidated.
	//
	// Since vSphere API 5.1
	MoveAllDiskBackingsAndConsolidate_VirtualMachineRelocateDiskMoveOptions VirtualMachineRelocateDiskMoveOptions = "moveAllDiskBackingsAndConsolidate"

	// All of the virtual disk's backings should be moved to the new datastore.
	//
	// It is not acceptable to attach to a disk backing with the same content ID
	// on the destination datastore.  During a clone operation any delta disk backings will be consolidated.
	MoveAllDiskBackingsAndDisallowSharing_VirtualMachineRelocateDiskMoveOptions VirtualMachineRelocateDiskMoveOptions = "moveAllDiskBackingsAndDisallowSharing"

	// Move only the child-most disk backing.  Any parent disk backings should
	// be left in their current locations.
	//
	// This option only differs from moveAllDiskBackingsAndAllowSharing and
	// moveAllDiskBackingsAndDisallowSharing when the virtual
	// disk has a parent backing.
	//
	// Note that in the case of a clone operation,
	// this means that the parent disks will now be shared.  This is safe as any
	// parent disks are always read-only.
	//
	// Note that in the case of a RelocateVM_Task operation,
	// only the virtual disks in the current virtual machine configuration are moved.
	MoveChildMostDiskBacking_VirtualMachineRelocateDiskMoveOptions VirtualMachineRelocateDiskMoveOptions = "moveChildMostDiskBacking"
)

type VirtualMachineRelocateTransformation

type VirtualMachineRelocateTransformation string

Deprecated. as of vSphere API 5.0.

The set of tranformations that can be performed on the virtual disks as part of the copy.

const (
	Flat_VirtualMachineRelocateTransformation VirtualMachineRelocateTransformation = "flat"

	Sparse_VirtualMachineRelocateTransformation VirtualMachineRelocateTransformation = "sparse"
)

type VirtualMachineScsiPassthroughType

type VirtualMachineScsiPassthroughType string

Possible SCSI classes.

const (
	Cdrom_VirtualMachineScsiPassthroughType VirtualMachineScsiPassthroughType = "cdrom"

	Com_VirtualMachineScsiPassthroughType VirtualMachineScsiPassthroughType = "com"

	Disk_VirtualMachineScsiPassthroughType VirtualMachineScsiPassthroughType = "disk"

	Media_VirtualMachineScsiPassthroughType VirtualMachineScsiPassthroughType = "media"

	Optical_VirtualMachineScsiPassthroughType VirtualMachineScsiPassthroughType = "optical"

	Printer_VirtualMachineScsiPassthroughType VirtualMachineScsiPassthroughType = "printer"

	Processor_VirtualMachineScsiPassthroughType VirtualMachineScsiPassthroughType = "processor"

	Raid_VirtualMachineScsiPassthroughType VirtualMachineScsiPassthroughType = "raid"

	Scanner_VirtualMachineScsiPassthroughType VirtualMachineScsiPassthroughType = "scanner"

	Tape_VirtualMachineScsiPassthroughType VirtualMachineScsiPassthroughType = "tape"

	Unknown_VirtualMachineScsiPassthroughType VirtualMachineScsiPassthroughType = "unknown"

	Worm_VirtualMachineScsiPassthroughType VirtualMachineScsiPassthroughType = "worm"
)

type VirtualMachineStandbyActionType

type VirtualMachineStandbyActionType string

The list of possible standby actions that the virtual machine can take for S1 ACPI.

const (
	Checkpoint_VirtualMachineStandbyActionType VirtualMachineStandbyActionType = "checkpoint"

	PowerOnSuspend_VirtualMachineStandbyActionType VirtualMachineStandbyActionType = "powerOnSuspend"
)

type VirtualMachineTargetInfoConfigurationTag

type VirtualMachineTargetInfoConfigurationTag string

Describes how widely the endpoint is availabe in a cluster. Note that these fields are not neccessarily mutual-exclusive.

const (

	// Indicates that this is available for all hosts in the cluster.
	ClusterWide_VirtualMachineTargetInfoConfigurationTag VirtualMachineTargetInfoConfigurationTag = "clusterWide"

	// Indicates that this device is part of the cluster compliant
	// specification.
	Compliant_VirtualMachineTargetInfoConfigurationTag VirtualMachineTargetInfoConfigurationTag = "compliant"
)

type VirtualMachineTicketType

type VirtualMachineTicketType string

The virtual machine ticket type.

const (

	// Remote device ticket.
	Device_VirtualMachineTicketType VirtualMachineTicketType = "device"

	// Guest operation ticket.
	GuestControl_VirtualMachineTicketType VirtualMachineTicketType = "guestControl"

	// Remote mouse-keyboard-screen ticket.
	Mks_VirtualMachineTicketType VirtualMachineTicketType = "mks"
)

type VirtualMachineToolsRunningStatus

type VirtualMachineToolsRunningStatus string

Current running status of VMware Tools running in the guest operating system.

const (

	// VMware Tools is starting.
	GuestToolsExecutingScripts_VirtualMachineToolsRunningStatus VirtualMachineToolsRunningStatus = "guestToolsExecutingScripts"

	// VMware Tools is not running.
	GuestToolsNotRunning_VirtualMachineToolsRunningStatus VirtualMachineToolsRunningStatus = "guestToolsNotRunning"

	// VMware Tools is running.
	GuestToolsRunning_VirtualMachineToolsRunningStatus VirtualMachineToolsRunningStatus = "guestToolsRunning"
)

type VirtualMachineToolsStatus

type VirtualMachineToolsStatus string

Deprecated. As of vSphere API 4.0 use VirtualMachineToolsVersionStatus and VirtualMachineToolsRunningStatus.

Current status of VMware Tools running in the guest operating system.

const (

	// VMware Tools has never been installed
	// or has not run in the virtual machine.
	ToolsNotInstalled_VirtualMachineToolsStatus VirtualMachineToolsStatus = "toolsNotInstalled"

	// VMware Tools is not running.
	ToolsNotRunning_VirtualMachineToolsStatus VirtualMachineToolsStatus = "toolsNotRunning"

	// VMware Tools is running and the version is current.
	ToolsOk_VirtualMachineToolsStatus VirtualMachineToolsStatus = "toolsOk"

	// VMware Tools is running, but the version is not current.
	ToolsOld_VirtualMachineToolsStatus VirtualMachineToolsStatus = "toolsOld"
)

type VirtualMachineToolsVersionStatus

type VirtualMachineToolsVersionStatus string

Current version status of VMware Tools installed in the guest operating system.

const (

	// VMware Tools is installed, but the installed version is
	// known to have a grave bug and should be immediately upgraded.
	//
	// Since vSphere API 5.0
	GuestToolsBlacklisted_VirtualMachineToolsVersionStatus VirtualMachineToolsVersionStatus = "guestToolsBlacklisted"

	// VMware Tools is installed, and the version is current.
	GuestToolsCurrent_VirtualMachineToolsVersionStatus VirtualMachineToolsVersionStatus = "guestToolsCurrent"

	// VMware Tools is installed, but the version is not current.
	GuestToolsNeedUpgrade_VirtualMachineToolsVersionStatus VirtualMachineToolsVersionStatus = "guestToolsNeedUpgrade"

	// VMware Tools has never been installed.
	GuestToolsNotInstalled_VirtualMachineToolsVersionStatus VirtualMachineToolsVersionStatus = "guestToolsNotInstalled"

	// VMware Tools is installed, supported, and newer
	// than the version available on the host.
	//
	// Since vSphere API 5.0
	GuestToolsSupportedNew_VirtualMachineToolsVersionStatus VirtualMachineToolsVersionStatus = "guestToolsSupportedNew"

	// VMware Tools is installed, supported, but a newer version is available.
	//
	// Since vSphere API 5.0
	GuestToolsSupportedOld_VirtualMachineToolsVersionStatus VirtualMachineToolsVersionStatus = "guestToolsSupportedOld"

	// VMware Tools is installed, and the version is known to be
	// too new to work correctly with this virtual machine.
	//
	// Since vSphere API 5.0
	GuestToolsTooNew_VirtualMachineToolsVersionStatus VirtualMachineToolsVersionStatus = "guestToolsTooNew"

	// VMware Tools is installed, but the version is too old.
	//
	// Since vSphere API 5.0
	GuestToolsTooOld_VirtualMachineToolsVersionStatus VirtualMachineToolsVersionStatus = "guestToolsTooOld"

	// VMware Tools is installed, but it is not managed by VMWare.
	GuestToolsUnmanaged_VirtualMachineToolsVersionStatus VirtualMachineToolsVersionStatus = "guestToolsUnmanaged"
)

type VirtualMachineUsbInfoFamily

type VirtualMachineUsbInfoFamily string

Device class family.

const (

	// Audio capable device.
	Audio_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "audio"

	// Standard bluetooth adapter that uses HCI protocol,
	// this is a subset of wireless controllers.
	Bluetooth_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "bluetooth"

	// Communication device.
	Communication_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "communication"

	// Human interface device.
	Hid_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "hid"

	// Bootable human interface device, this is a subset of HID devices.
	Hid_bootable_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "hid_bootable"

	// USB hubs.
	Hub_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "hub"

	// Still imaging device.
	Imaging_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "imaging"

	// Other miscellaneous device.
	Other_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "other"

	// Palm PDA, and Micorsoft ActiveSync PDA.
	Pda_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "pda"

	// Physical interface device.
	Physical_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "physical"

	// Printer device.
	Printer_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "printer"

	// Content security device.
	Security_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "security"

	// Smart card device.
	Smart_card_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "smart_card"

	// Mass storage device.
	Storage_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "storage"

	// There was an error in determining this device's classes
	// accurately.
	UnknownFamily_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "unknownFamily"

	// Device that has an interface using a vendor-specific protocol.
	Vendor_specific_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "vendor_specific"

	// Video device.
	Video_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "video"

	// Wireless controller.
	Wireless_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "wireless"

	// Wireless device related to the Wireless USB standard,
	// this is a subset of wireless controllers,
	Wusb_VirtualMachineUsbInfoFamily VirtualMachineUsbInfoFamily = "wusb"
)

type VirtualMachineUsbInfoSpeed

type VirtualMachineUsbInfoSpeed string

Device speed.

const (

	// This device operates at full speed (12Mb/s).
	Full_VirtualMachineUsbInfoSpeed VirtualMachineUsbInfoSpeed = "full"

	// This device can operate at high speed (480Mb/s)
	High_VirtualMachineUsbInfoSpeed VirtualMachineUsbInfoSpeed = "high"

	// This device operates at low speed (1.5Mb/s).
	Low_VirtualMachineUsbInfoSpeed VirtualMachineUsbInfoSpeed = "low"

	// This device can operate at super speed (4.8Gb/s)
	//
	// Since vSphere API 5.0
	SuperSpeed_VirtualMachineUsbInfoSpeed VirtualMachineUsbInfoSpeed = "superSpeed"

	// This device's speed is unknown.
	UnknownSpeed_VirtualMachineUsbInfoSpeed VirtualMachineUsbInfoSpeed = "unknownSpeed"
)

type VirtualMachineVideoCardUse3dRenderer

type VirtualMachineVideoCardUse3dRenderer string

Set of possible values for use3dRenderer.

const (

	// Determine automatically whether to render 3D with software or hardware.
	Automatic_VirtualMachineVideoCardUse3dRenderer VirtualMachineVideoCardUse3dRenderer = "automatic"

	// Render 3D with graphics hardware.
	Hardware_VirtualMachineVideoCardUse3dRenderer VirtualMachineVideoCardUse3dRenderer = "hardware"

	// Render 3D with software.
	Software_VirtualMachineVideoCardUse3dRenderer VirtualMachineVideoCardUse3dRenderer = "software"
)

type VirtualPointingDeviceHostChoice

type VirtualPointingDeviceHostChoice string

The valid choices for host pointing devices are:

const (

	// Automatically detects the host mouse type.
	Autodetect_VirtualPointingDeviceHostChoice VirtualPointingDeviceHostChoice = "autodetect"

	// The Microsoft IntelliMouse Explorer.
	IntellimouseExplorer_VirtualPointingDeviceHostChoice VirtualPointingDeviceHostChoice = "intellimouseExplorer"

	// The Microsoft Intellimouse with a PS2 connection.
	IntellimousePs2_VirtualPointingDeviceHostChoice VirtualPointingDeviceHostChoice = "intellimousePs2"

	// The Logitech MouseMan.
	LogitechMouseman_VirtualPointingDeviceHostChoice VirtualPointingDeviceHostChoice = "logitechMouseman"

	// The Microsoft Serial Mouse.
	Microsoft_serial_VirtualPointingDeviceHostChoice VirtualPointingDeviceHostChoice = "microsoft_serial"

	// The Logitech MouseMan Serial Bus Mouse.
	MousemanSerial_VirtualPointingDeviceHostChoice VirtualPointingDeviceHostChoice = "mousemanSerial"

	// The Mouse Systems Mouse.
	MouseSystems_VirtualPointingDeviceHostChoice VirtualPointingDeviceHostChoice = "mouseSystems"

	// A generic mouse with a PS2 connection.
	Ps2_VirtualPointingDeviceHostChoice VirtualPointingDeviceHostChoice = "ps2"
)

type VirtualSCSISharing

type VirtualSCSISharing string

Sharing describes three possible ways of sharing the SCSI bus:

One of these values is assigned to the sharedBus object to determine if or how the SCSI bus is shared.

const (

	// The virtual SCSI bus is not shared.
	NoSharing_VirtualSCSISharing VirtualSCSISharing = "noSharing"

	// The virtual SCSI bus is shared between two or more virtual machines
	// residing on different physical hosts.
	PhysicalSharing_VirtualSCSISharing VirtualSCSISharing = "physicalSharing"

	// The virtual SCSI bus is shared between two or more virtual machines.
	// In this case, no physical machine is involved.
	VirtualSharing_VirtualSCSISharing VirtualSCSISharing = "virtualSharing"
)

type VirtualSerialPortEndPoint

type VirtualSerialPortEndPoint string

The VirtualSerialPortEndPoint enum defines endpoint values for virtual serial port pipe backing. When you use serial port pipe backing to connect a virtual machine to another process, you must define the endpoints. See the endpoint property for the virtual serial port pipe backing information data object.

The possible endpoint values are:

• client

• server

For the supported choices, see the endpoint property for the virtual serial port pipe backing option data object.

type VmDasBeingResetEventReasonCode

type VmDasBeingResetEventReasonCode string
const (

	// application heartbeat failure
	AppHeartbeatFailure_VmDasBeingResetEventReasonCode VmDasBeingResetEventReasonCode = "appHeartbeatFailure"

	// immediate reset request
	//
	// Since vSphere API 5.5
	AppImmediateResetRequest_VmDasBeingResetEventReasonCode VmDasBeingResetEventReasonCode = "appImmediateResetRequest"

	// vmtools heartbeat failure
	VmtoolsHeartbeatFailure_VmDasBeingResetEventReasonCode VmDasBeingResetEventReasonCode = "vmtoolsHeartbeatFailure"
)

type VmFailedStartingSecondaryEventFailureReason

type VmFailedStartingSecondaryEventFailureReason string

The reason for the failure.

const (

	// Remote host is incompatible for secondary virtual machine.
	// For instance, the host doesn't have access to the virtual machine's
	// network or datastore.
	IncompatibleHost_VmFailedStartingSecondaryEventFailureReason VmFailedStartingSecondaryEventFailureReason = "incompatibleHost"

	// Login to remote host failed.
	LoginFailed_VmFailedStartingSecondaryEventFailureReason VmFailedStartingSecondaryEventFailureReason = "loginFailed"

	// Migration failed.
	MigrateFailed_VmFailedStartingSecondaryEventFailureReason VmFailedStartingSecondaryEventFailureReason = "migrateFailed"

	// Registration of the secondary virtual machine
	// on the remote host failed.
	RegisterVmFailed_VmFailedStartingSecondaryEventFailureReason VmFailedStartingSecondaryEventFailureReason = "registerVmFailed"
)

type VmFaultToleranceConfigIssueReasonForIssue

type VmFaultToleranceConfigIssueReasonForIssue string
const (

	// The virtual machine is an ESX agent VM
	//
	// Since vSphere API 5.0
	EsxAgentVm_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "esxAgentVm"

	// The virtual machine is a fault tolerance secondary virtual machine
	FtSecondaryVm_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "ftSecondaryVm"

	// The host ftSupported flag is not set because of hardware issues
	FtUnsupportedHardware_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "ftUnsupportedHardware"

	// The host ftSupported flag is not set because of it is a
	// VMware Server 2.0
	FtUnsupportedProduct_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "ftUnsupportedProduct"

	// HA is not enabled on the cluster
	HaNotEnabled_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "haNotEnabled"

	// The virtual machine has one or more disks on local datastore
	HasLocalDisk_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "hasLocalDisk"

	// Nested HV and FT are mutually exclusive. Disallow turning on FT
	// when nested HV configuration is enabled on VM.
	//
	// Since vSphere API 5.1
	HasNestedHVConfiguration_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "hasNestedHVConfiguration"

	// The virtual machine has one or more snapshots
	HasSnapshots_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "hasSnapshots"

	// Since vSphere API 5.1
	HasUnsupportedDisk_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "hasUnsupportedDisk"

	// The virtual machine has a vFlash memory device or/and disks with
	// vFlash cache configured.
	//
	// Since vSphere API 5.5
	HasVFlashConfiguration_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "hasVFlashConfiguration"

	// The host is not active
	HostInactive_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "hostInactive"

	// FT logging nic is not configured on the host
	MissingFTLoggingNic_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "missingFTLoggingNic"

	// No VMotion license or VMotion nic is not configured on the host
	MissingVMotionNic_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "missingVMotionNic"

	// There is already a secondary virtual machine for the primary
	// virtual machine
	MoreThanOneSecondary_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "moreThanOneSecondary"

	// The virtual machine has more than one virtual CPU
	MultipleVCPU_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "multipleVCPU"

	// No configuration information is available for the virtual machine
	NoConfig_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "noConfig"

	// The virtual machine does not support record/replay.
	// Vm::Capability.RecordReplaySupported is false.
	RecordReplayNotSupported_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "recordReplayNotSupported"

	// It is not possible to turn on Fault Tolerance on this powered-on VM.
	// The support for record/replay should be enabled or Fault Tolerance
	// turned on, when this VM is powered off.
	ReplayNotSupported_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "replayNotSupported"

	// The virtual machine is a template
	TemplateVm_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "templateVm"

	// The virtual machine has thin provisioned disks
	ThinDisk_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "thinDisk"

	// The "check host certificate" flag is not set
	VerifySSLCertificateFlagNotSet_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "verifySSLCertificateFlagNotSet"

	// The virtual machine video device has 3D enabled
	//
	// Since vSphere API 5.0
	Video3dEnabled_VmFaultToleranceConfigIssueReasonForIssue VmFaultToleranceConfigIssueReasonForIssue = "video3dEnabled"
)

type VmFaultToleranceInvalidFileBackingDeviceType

type VmFaultToleranceInvalidFileBackingDeviceType string
const (

	// virtual Cdrom
	VirtualCdrom_VmFaultToleranceInvalidFileBackingDeviceType VmFaultToleranceInvalidFileBackingDeviceType = "virtualCdrom"

	// virtual disk
	VirtualDisk_VmFaultToleranceInvalidFileBackingDeviceType VmFaultToleranceInvalidFileBackingDeviceType = "virtualDisk"

	// virtual floppy
	VirtualFloppy_VmFaultToleranceInvalidFileBackingDeviceType VmFaultToleranceInvalidFileBackingDeviceType = "virtualFloppy"

	// virtual parallel port
	VirtualParallelPort_VmFaultToleranceInvalidFileBackingDeviceType VmFaultToleranceInvalidFileBackingDeviceType = "virtualParallelPort"

	// virtual serial port
	VirtualSerialPort_VmFaultToleranceInvalidFileBackingDeviceType VmFaultToleranceInvalidFileBackingDeviceType = "virtualSerialPort"
)

type VmShutdownOnIsolationEventOperation

type VmShutdownOnIsolationEventOperation string
const (

	// The virtual machine was powered off because shut down failed
	PoweredOff_VmShutdownOnIsolationEventOperation VmShutdownOnIsolationEventOperation = "poweredOff"

	// The virtual machine was shut down
	Shutdown_VmShutdownOnIsolationEventOperation VmShutdownOnIsolationEventOperation = "shutdown"
)

type VmwareDistributedVirtualSwitchPvlanPortType

type VmwareDistributedVirtualSwitchPvlanPortType string

The PVLAN port types.

const (

	// The ports communicates with other community ports and with
	// promiscuous ports within the same PVLAN. any other traffics are
	// blocked.
	Community_VmwareDistributedVirtualSwitchPvlanPortType VmwareDistributedVirtualSwitchPvlanPortType = "community"

	// The port can only communicate with the promiscuous ports within the
	// same PVLAN, any other traffics are blocked.
	Isolated_VmwareDistributedVirtualSwitchPvlanPortType VmwareDistributedVirtualSwitchPvlanPortType = "isolated"

	// The port can communicate with all other ports within the same PVLAN,
	// including the isolated and community ports .
	Promiscuous_VmwareDistributedVirtualSwitchPvlanPortType VmwareDistributedVirtualSwitchPvlanPortType = "promiscuous"
)

type VsanDiskIssueType

type VsanDiskIssueType string

The list of disk issues.

const (
	NonExist_VsanDiskIssueType VsanDiskIssueType = "nonExist"

	StampMismatch_VsanDiskIssueType VsanDiskIssueType = "stampMismatch"

	Unknown_VsanDiskIssueType VsanDiskIssueType = "unknown"
)

type VsanHostDecommissionModeObjectAction

type VsanHostDecommissionModeObjectAction string

The action to take with regard to storage objects upon decommissioning a host from use with the VSAN service.

const (

	// VSAN data reconfiguration should be performed to ensure storage
	// object accessibility.
	EnsureObjectAccessibility_VsanHostDecommissionModeObjectAction VsanHostDecommissionModeObjectAction = "ensureObjectAccessibility"

	// VSAN data evacuation should be performed such that all storage
	// object data is removed from the host.
	EvacuateAllData_VsanHostDecommissionModeObjectAction VsanHostDecommissionModeObjectAction = "evacuateAllData"

	// No special action should take place regarding VSAN data.
	NoAction_VsanHostDecommissionModeObjectAction VsanHostDecommissionModeObjectAction = "noAction"
)

type VsanHostDiskResultState

type VsanHostDiskResultState string

Values used for indicating a disk's status for use by the VSAN service.See state

const (

	// Disk is considered eligible for use by the VSAN service,
	// but is not currently in use.
	Eligible_VsanHostDiskResultState VsanHostDiskResultState = "eligible"

	// Disk is considered ineligible for use by the VSAN service,
	// and is not currently in use.See error
	Ineligible_VsanHostDiskResultState VsanHostDiskResultState = "ineligible"

	// Disk is currently in use by the VSAN service.
	//
	// A disk may be considered in use by the VSAN service regardless of
	// whether the VSAN service is enabled.  As long as a disk is in use
	// by VSAN, it is reserved exclusively for VSAN and may not be used
	// for other purposes.See error
	InUse_VsanHostDiskResultState VsanHostDiskResultState = "inUse"
)

type VsanHostHealthState

type VsanHostHealthState string

A VsanHostHealthState represents the state of a participating host in the VSAN service.See VsanHostClusterStatus

const (

	// Node is considered healthy.
	Healthy_VsanHostHealthState VsanHostHealthState = "healthy"

	// Node is considered unhealthy.
	Unhealthy_VsanHostHealthState VsanHostHealthState = "unhealthy"

	// Node health is unknown.
	Unknown_VsanHostHealthState VsanHostHealthState = "unknown"
)

type VsanHostNodeState

type VsanHostNodeState string

A VsanHostNodeState represents the state of participation of a host in the VSAN service.See VsanHostClusterStatusSee VsanHostClusterStatusState

const (

	// The node is enabled for the VSAN service and is serving as an agent.
	Agent_VsanHostNodeState VsanHostNodeState = "agent"

	// The node is enabled for the VSAN service and is serving as the backup.
	Backup_VsanHostNodeState VsanHostNodeState = "backup"

	// The node is being decommissioned from the VSAN service; this state is
	// considered transitory.
	Decommissioning_VsanHostNodeState VsanHostNodeState = "decommissioning"

	// The node is disabled for the VSAN service.
	Disabled_VsanHostNodeState VsanHostNodeState = "disabled"

	// The node is entering maintenance mode; this state is considered
	// transitory.See EnterMaintenanceMode_Task
	EnteringMaintenanceMode_VsanHostNodeState VsanHostNodeState = "enteringMaintenanceMode"

	// The node is enabled for the VSAN service but has some configuration
	// error which prevents participation.
	Error_VsanHostNodeState VsanHostNodeState = "error"

	// The node is exiting maintenance mode; this state is considered
	// transitory.See ExitMaintenanceMode_Task
	ExitingMaintenanceMode_VsanHostNodeState VsanHostNodeState = "exitingMaintenanceMode"

	// The node is enabled for the VSAN service and is serving as the master.
	Master_VsanHostNodeState VsanHostNodeState = "master"

	// The node is starting the VSAN service; this state is considered
	// transitory.
	Starting_VsanHostNodeState VsanHostNodeState = "starting"

	// The node is stopping the VSAN service; this state is considered
	// transitory.
	Stopping_VsanHostNodeState VsanHostNodeState = "stopping"
)

type WeekOfMonth

type WeekOfMonth string
const (
	First_WeekOfMonth WeekOfMonth = "first"

	Fourth_WeekOfMonth WeekOfMonth = "fourth"

	Last_WeekOfMonth WeekOfMonth = "last"

	Second_WeekOfMonth WeekOfMonth = "second"

	Third_WeekOfMonth WeekOfMonth = "third"
)

type WillLoseHAProtectionResolution

type WillLoseHAProtectionResolution string
const (

	// relocate resolution
	Relocate_WillLoseHAProtectionResolution WillLoseHAProtectionResolution = "relocate"

	// storage vmotion resolution
	Svmotion_WillLoseHAProtectionResolution WillLoseHAProtectionResolution = "svmotion"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL