This URL gets the list of protected VM hosts from the Manager based on cluster.
Resource URL
GET /cloud/cluster/<id>/getProtectedVMHosts
Request Parameters
URL Parameters
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Cluster id | Number | Yes |
Payload Request Parameters
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Cluster name | String | Yes |
Response Parameters
Following fields are returned:
Field Name | Description | Data Type |
|---|---|---|
| List of protected VM hosts with details | Object |
Details of fields under objects in protected VM hosts:
Field Name | Description | Data Type |
|---|---|---|
| Name of the protected VM host. | String |
| Private IP address of protected VM host | String |
| Public IP address of protected VM host | String |
| Operating system of protected VM host | String |
| Online / offline | String |
| Time stamp from which the protected VM host is online. If NULL it implies VM host is offline (probe_status= false) | String |
| Version of the probe installed on protected VM host | String |
| Cluster name under which this protected VM host is added. | String |
| IP address of the controle_server ( zCenter ) | String |
| Domain name of control of protected VM host | String |
| Unique id generated by AWS | String |
Example
Request
POST https://<NSM_IP>/sdkapi/cloud/cluster/101/getProtectedVMHosts
Payload
None
Response
{
"protectedVMHosts": [{
"hostname": "WIN-IPMU0PRS727",
"privateIP": "10.40.20.252",
"publicIP": "52.89.154.236",
"operatingSystem": "Windows Server 2016 Standard (build 9600), 64-bit",
"probeServiceStatus": true,
"probeActiveSince": "2017-04-13 14:04:27",
"probeVersion": "3.5.3-8(64-bit)",
"clusterName": "ClusterTwo",
"controllerIP": "35.166.195.169",
"domainName": "MyDomainOne",
“awsInstanceId”:”amazonGeneratedID1”
},
{
"hostname": "WIN-IPMU0PRS728",
"privateIP": "11.40.20.252",
"publicIP": "62.89.154.236",
"operatingSystem": "CentOSrelease6.8(Final)",
"probeServiceStatus": true,
"probeActiveSince": "8-04-1314: 04: 27",
"probeVersion": "4.5.3-8(64-bit)",
"clusterName": "ClusterOne",
"controllerIP": "45.166.195.169",
"domainName": "MyDomainTwo",
“awsInstanceId”:” amazonGeneratedID2”
}
]
}
Error Information
None