VMware Aria Automation Orchestrator

 View Only
  • 1.  info from Datastore

    Posted Sep 16, 2024 09:41 AM

    hi 

    need help how I get the spasific info from datastore 

    i have var DS (VC:Datastore)
    and I get the for System.log like this jkjj

    System.log("DS info - name " + ds.summary.name)

    but I need to know how to access "<clr-stack-label>Drive type"  </clr-stack-label>
    <clr-stack-label>need to know I get this info</clr-stack-label>
    <clr-stack-label>I add a pic </clr-stack-label>what i mean
    <clr-stack-label>THX </clr-stack-label>



  • 2.  RE: info from Datastore

    Posted Sep 20, 2024 03:49 PM

    Hi,

    The API doesn't have a type called "Flash". To get it, you can run the command below.

    System.log(ds.info.vmfs.ssd)

    The command will return "true" if the datastore is SSD-based, which is equal to "Flash" in the vCenter GUI.



    ------------------------------
    If you find the answer helpful, please click on the RECOMMEND button.

    Please visit my blog to get more information: https://www.clouddepth.com
    ------------------------------