VMware {code} Community

Datastore type and accessible

Hello again:

If I take the mo_ref of a datastore from a HostSystem object and pass it to get_view, I get a datastore view/object. In this object is the summary.

Two questions about the summary section:

- Is there a published list of possibly values for the 'type' field?

- What is the 'accessible' field for? IOW -- what does it tell me about the state of the device?

0 Kudos
1 Reply
Community Manager
Community Manager

1) Take a look at this document - http://www.vmware.com/support/developer/viperltoolkit/doc/perl_toolkit_appliance_idx.html

2) accessible is defined by the vSphere API as - http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.Datastore.Summary.htm...


William Lam

VMware vExpert 2009,2010

VMware scripts and resources at:

Twitter: @lamw

Getting Started with the vMA (tips/tricks)

Getting Started with the vSphere SDK for Perl

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos