Vim Cluster Vsan Vc Disk Management System Query Disk Mappings

Vim Cluster Vsan Vc Disk Management System Query Disk Mappings

Get detailed information of vSAN disk groups managed by specified host, for each disk group, includes: Disk structure, presents as disk for cache tier, and disks for capacity tier; Whether is in-use for vSAN I/O by this host; Whether is all flash disk group; Whether vSAN deduplication and compression are enabled on this disk group.

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/vsan/VimClusterVsanVcDiskManagementSystem/{moId}/QueryDiskMappings
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case VimClusterVsanVcDiskManagementSystem/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
QueryDiskMappingsRequestType of type(s) application/json
Required
"QueryDiskMappingsRequestType Object"
host
Required

Target host to query.

Required privileges: System.Read

Authentication
This operation uses the following authentication methods.
Responses
200

List of DiskMapInfoEx, please reference to VimVsanHostDiskMapInfoEx.

[
    "VimVsanHostDiskMapInfoEx Object"
]
Optional

500

VsanFault: If below issues exist:

  1. Specified host doesn't exist;
  2. Specified host is not connected to vCenter server;
  3. Any unexpected runtime error;
Returns VsanFault of type(s) application/json
"VsanFault Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VimClusterVsanVcDiskManagementSystem/{moId}/QueryDiskMappings