Accessing
Datastores
The following
diagram illustrates how you can access or specify datastores.
- EachDatacentermanaged object has adatastoreproperty that contains an array of datastores.
- EachDatacentermanaged object has adatastoreFolderproperty that is a reference to the folder (or folder hierarchy) that contains the datastores for this datacenter.
- EachDatacentermanaged object has ahostFolderproperty that is a reference to the folder (or folder hierarchy) that contains the compute resources, including hosts and clusters, for this datacenter. EachHostSystemorComputeResourcehas adatastoreproperty that is an array ofDatastoremanaged objects.Datastore Managed Object
For more information about the
hierarchy of managed objects, see
Datacenter Inventory.