Get Sources List
GET https://{{cluster_1-ip}}/v2/data-protect/sources/registrations
Returns the list of sources registered with the Cohesity cluster.
You can run this API to:
- Ensure whether the physical server is registered with the Cohesity cluster
- Obtain the Id (
sourceId
) of the physical server.
ThesourceId
is required for creating a Protection Group.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string |
RESPONSES
status: OK
{"registrations":[{"id":25269,"sourceId":25269,"sourceInfo":{"id":25269,"name":"{{source_name}}","environment":"kPhysical","objectType":"kHost","protectionType":"kVolume","osType":"kWindows","protectionStats":null},"environment":"kVMware","authenticationStatus":"Finished","registrationTimeMsecs":1675203649222,"lastRefreshedTimeMsecs":1675203661223},{"id":21530,"sourceId":21530,"sourceInfo":{"id":21530,"name":"{{source_name}}","environment":"kIsilon","objectType":"kCluster","protectionStats":null,"isilonParams":{"supportedNasMountProtocols":null}},"environment":"kIsilon","authenticationStatus":"Finished","registrationTimeMsecs":1668947814492,"lastRefreshedTimeMsecs":1675200394760,"isilonParams":{"endpoint":"{{ip_address}}","credentials":{"username":"admin","password":null},"backUpSMBVolumes":true,"smbCredentials":{"username":"Administrator","password":null},"filterIpConfig":{"deniedIpAddresses":null,"allowedIpAddresses":null}}},{"id":25157,"sourceId":25157,"sourceInfo":{"id":25157,"name":"{{source_name}}","environment":"kVMware","objectType":"kVCenter","uuid":"{{uuid}}","vCenterSummary":{"isCloudEnv":false},"protectionStats":null,"vmwareParams":{}},"environment":"kVMware","authenticationStatus":"Finished","registrationTimeMsecs":1674849500401,"lastRefreshedTimeMsecs":1675195110972,"vmwareParams":{"type":"kVCenter","vCenterParams":{"username":"Administrator","password":null,"endpoint":"{{IP_address}}","throttlingParams":{},"dataStoreParams":null}}},{"id":25274,"sourceId":25274,"sourceInfo":{"id":25274,"name":"{{source_name}}","environment":"kGenericNas","objectType":"kHost","protectionStats":null,"genericNasParams":{"supportedNasMountProtocols":["kCifs1"]}},"environment":"kGenericNas","registrationTimeMsecs":1675204197313,"lastRefreshedTimeMsecs":1675204197313,"genericNasParams":{"mountPoint":"\\\\{{endpoint}}\\CIFS-1","mode":"kCifs1","smbMountCredentials":{"username":"administrator","password":null}}}]}