# Enum - PbmObjectType(pbm.ServerObjectRef.ObjectType)

Since
  1.0

## 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.
fileShareId | Indicates a file service Since 7.0.0.0
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
vsanObjectId | Indicates a VSAN object Since 7.0.2.0

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="vsanObjectId"/> <enumeration value="fileShareId"/> <enumeration value="unknown"/> </restriction> </simpleType>