Querying File Service Domain Information

You can query the file service domain information using the vSAN Management API.

Here is an example based on the code in the vsanfssamples.py sample file located under the Python sample code directory.

# Query file service domain information
   fsDomainQuerySpec = vim.vsan.FileServiceDomainQuerySpec()
   result = vcfs.QueryFileServiceDomains(fsDomainQuerySpec, cluster)