VMware Aria Automation Orchestrator

 View Only

 Orchestrator - Get Datastore Clusters

Jump to  Best Answer
KevB's profile image
KevB posted Aug 29, 2024 10:47 AM

Hey everyone. Hoping someone can help me as I seem to be blind lol. I can't find a way to get the datastore clusters. I have the host clusters but I need to now get the datastore clusters. Thanks in advance...

KevB's profile image
KevB  Best Answer

Apparently it's considered a folder :).

This is how you can get them

VcPlugin.getAllDatastoreFolders()
Sravan_k's profile image
Sravan_k

if we are using REST or powerCLI

Get-DatastoreCluster | Select Name

KevB's profile image
KevB

Thanks for checking but this is how I was able to get them...

VcPlugin.getAllDatastoreFolders()