https://pulumi.com logo
b

big-piano-35669

09/02/2018, 7:46 PM
For example:
Copy code
let datastore = vsphere.getDatastore({
  name: "bdf1000-01",
  datacenterId: "datacenter-21"
});

datastore.then(result => console.log(result.id));