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------------------------------
Original Message:
Sent: Sep 15, 2024 04:14 AM
From: kuku Forever
Subject: info from Datastore
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>