Get Sources List
GET https://{{cluster_vip}}/irisservices/api/v1/public/protectionSources/rootNodes?environments=kVMware
Returns the list of VMware vCenters registered with the Cohesity cluster.
You can run this API to:
- Ensure whether the VMware vCenter you registered is available on the Cohesity cluster.
- Obtain the Id (
sourceId
) of the VMware vCenter you registered.
ThesourceId
from the API response is required for obtaining the list of virtual machines available on the VMware vCenter.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
environments | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
[{"protectionSource":{"id":4,"name":"{{vCenter_name}}","environment":"kVMware","vmWareProtectionSource":{"type":"kVCenter","name":"{{vCenter_name}}","id":{"uuid":"{{uuid}}"},"version":"VMware vCenter Server 6.7.0 build-10244857","isVmcEntity":false}},"protectedSourcesSummary":[{"environment":"kVMware","leavesCount":2,"totalLogicalSize":128849018880}],"unprotectedSourcesSummary":[{"environment":"kVMware","leavesCount":33,"totalLogicalSize":2558942773248}],"registrationInfo":{"accessInfo":{"id":34,"version":0,"environment":"kVMware","endpoint":"{{vCenter_ipaddress}}"},"throttlingPolicy":{"isEnabled":false,"enforceMaxStreams":false,"storageArraySnapshotConfig":{}},"registrationTimeUsecs":1676498184583907,"refreshTimeUsecs":1677845678112020,"authenticationStatus":"kFinished","username":"{{vCenter_username}}"}},{"protectionSource":{"id":59,"name":"{{vCenter_name}}","environment":"kVMware","vmWareProtectionSource":{"type":"kVCenter","name":"{{vCenter_name}}","id":{"uuid":"{{uuid}}"},"version":"VMware vCenter Server 6.7.0 build-20504362","isVmcEntity":false}},"protectedSourcesSummary":[{"environment":"kVMware","leavesCount":4,"totalLogicalSize":1684700921856}],"unprotectedSourcesSummary":[{"environment":"kVMware","leavesCount":240,"totalLogicalSize":69764012781568}],"registrationInfo":{"accessInfo":{"id":65,"version":0,"environment":"kVMware","endpoint":"{{vCenter_ipaddress}}"},"throttlingPolicy":{"isEnabled":false,"enforceMaxStreams":false,"storageArraySnapshotConfig":{}},"registrationTimeUsecs":1676616684648438,"refreshTimeUsecs":1677863881043214,"authenticationStatus":"kFinished","username":"{{vCenter_username}}"}},{"protectionSource":{"id":6774,"name":"{{vCenter_name}}","environment":"kVMware","vmWareProtectionSource":{"type":"kVCenter","name":"{{vCenter_name}}","id":{"uuid":"{{uuid}}"},"version":"VMware vCenter Server 6.5.0 build-8024368","isVmcEntity":false}},"protectedSourcesSummary":[{"environment":"kVMware"}],"unprotectedSourcesSummary":[{"environment":"kVMware","leavesCount":438,"totalLogicalSize":121074054332416}],"registrationInfo":{"accessInfo":{"id":8021,"version":0,"environment":"kVMware","endpoint":"{{vCenter_ipaddress}}"},"throttlingPolicy":{"storageArraySnapshotConfig":{}},"registrationTimeUsecs":1677865706980290,"refreshTimeUsecs":1677865706980290,"username":"{{Vcenter_username}}"}}]