vSphere

 View Only
  • 1.  Datastore type and accessible

    Posted Jul 23, 2010 06:26 PM

    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?



  • 2.  RE: Datastore type and accessible

    Broadcom Employee
    Posted Jul 23, 2010 06:31 PM

    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.html

    =========================================================================

    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".