# Enum - PbmObjectType(pbm.ServerObjectRef.ObjectType)

## Enum Description

The PbmObjectType enumerated type defines vSphere Server object types that are known to the Storage Policy Server. See PbmServerObjectRef.objectType.

Enum Constants

Name | Description
--- | ---
datastore | Indicates a datastore.
unknown | Unknown object type.
virtualDiskId | Indicates a virtual disk, identified by disk key (virtual-machine-mor:disk-key).
virtualDiskUUID | Indicates a virtual disk, identified by UUID - for First Class Storage Object support.
virtualMachine | Indicates a virtual machine, not including the disks, identified by the virtual machine identifier virtual-machine-mor.
virtualMachineAndDisks | Indicates the virtual machine and all its disks, identified by the virtual machine identifier virtual-machine-mor. Since 6.5

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="PbmObjectType"> <restriction base="xsd:string"> <enumeration value="virtualMachine"/> <enumeration value="virtualMachineAndDisks"/> <enumeration value="virtualDiskId"/> <enumeration value="virtualDiskUUID"/> <enumeration value="datastore"/> <enumeration value="unknown"/> </restriction> </simpleType>