PbmServerObjectRef
PbmServerObjectRef
The PbmServerObjectRef data object identifies a virtual machine, virtual disk attached to a virtual machine, a first class storage object or a datastore.
This structure may be used only with operations rendered under /pbm
.
AllOf
This class requires all of the following:
JSON Example
{
"_typeName": "string",
"objectType": "string",
"key": "string",
"serverUuid": "string"
}
string
objectType
Required
Type of vSphere Server object.
The value of the objectType
string corresponds to one of the PbmObjectTypeEnum enumerated type values.
string
key
Required
Unique identifier for the object.
The value of key
depends on the objectType
.
**PbmObjectType** | **key value** |
virtualMachine | _virtual-machine-MOR_ |
virtualDiskId | _virtual-disk-MOR_:_VirtualDisk.key_ |
datastore | _datastore-MOR_ |
MOR = ManagedObjectReference |
string
serverUuid
Optional
vCenter Server UUID; the ServiceContent.about.instanceUuid
property in the vSphere API.
Property Of