
List the hosts of a cluster.
id | the URN of a ViPR cluster |
This call has no restrictions.
The list of hosts of the cluster.
Field | Description | Type | Notes |
<hosts> | |||
<host> |
0-* Elements |
||
<name> | The name of the resource | String | |
<id> | ViPR ID of the related object | URI | |
<link> | A hyperlink to the related object | ||
</host> | |||
</hosts> |
GET https://192.168.0.0:4443/compute/clusters/urn:storageos:Cluster:2003d2c7-7b40-41e0-9bce-a3e7d00086dc:/hosts HTTP/1.1 Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
HTTP/1.1 200 OK Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <hosts> <host> <id>urn:storageos:Host:faee8ecb-1ce5-4006-a51e-43c84b7e4fa1:</id> <link href="/compute/hosts/urn:storageos:Host:faee8ecb-1ce5-4006-a51e-43c84b7e4fa1:" rel="self"/> <name>host61C8lglap13521</name> </host> <host> <id>urn:storageos:Host:0ad4cab1-77b6-4919-bfb5-07e1fc3f3ac5:</id> <link href="/compute/hosts/urn:storageos:Host:0ad4cab1-77b6-4919-bfb5-07e1fc3f3ac5:" rel="self"/> <name>host61C8lglap13522</name> </host> </hosts>