GET /api/v1/connector/managers
Use this method to return a list of all resource managers.
Authentication
Authentication with username and password is required.
Resource URI
GET https://{orchestrator_server_IP}/api/v1/connector/managers
Query parameters
This REST API supports query parameters for paginating, scoping, filtering, sorting, including data, and excluding data in the response. For more information about these common query parameters, see Paginating, scoping, filtering, sorting, including data, and excluding data in responses. For a list of supported attributes, see GET /api/v1/connector/managers/{id}.
GET https://192.0.2.0/api/v1/connector/managers
GET https://192.0.2.0/api/v1/connector/managers
?filterNotEquals[][attributes]=healthState&filterNotEquals[][values]=Normal
GET https://192.0.2.0/api/v1/connector/managers
?filterEquals[][attributes]=updateMetadata.components.version.number&filterEquals[][values]=1.0
Request body
None
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. If a single query parameter is specified and the value of that parameter has no matches, the response body returns default values. If a list of query parameters is specified and the value of at least one parameter has no matches, the response body returns only what matches. |
206 | Partial Content | Partial content was returned for a multi-part response. The response header includes a content-range header field indicating the range that is included in the response body for each part. |
408 | Request Timeout | The orchestrator server did not receive a required request in a specific amount of time. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
When the request is successful, the following attributes are returned. If the request fails, standard message attributes are returned (see Status messages).
Attributes | Type | Description | ||
---|---|---|---|---|
results | Array of objects | Information about each resource manager | ||
id | String | Resource manager ID | ||
connectTimestamp | String | Timestamp when the resource manager was registered with XClarity Orchestrator This timestamp is specified using ISO-8601 format (for example, 2019-05-02T19:28:14.000Z). For information about ISO-8601 format, see the W3C Date and Time Formats webpage. | ||
healthState | String | Health state (translated). This can be one of the following values.
| ||
healthStateKey | String | Health state key. This can be one of the following values.
| ||
name | String | Resource manager name Note For | ||
type | String | Type of resource manager. This can be one of the following values.
| ||
_links | String | Resource manager URI (see Links) | ||
_metadata | Object | Request metadata (see Metadata) |
{
"results": [{
"id": "00000000000000000000000000000000",
"healthState": "Normal",
"healthStateKey": "Normal",
"name": "XClarity Orchestrator",
"type": "XClarity Orchestrator",
"_links": {
"rel": "self",
"uri": "/api/v1/connector/managers/00000000000000000000000000000000"
}
},
{
"id": "23C87F0A2CB6491097489193447A655C",
"connectTimestamp": "2022-04-25T15:13:43.833Z",
"healthState": "Normal",
"healthStateKey": "Normal",
"name": "xhmc194.labs.lenovo.com",
"type": "XClarity Administrator",
"_links": {
"rel": "self",
"uri": "/api/v1/connector/managers/23C87F0A2CB6491097489193447A655C"
}
}],
"_metadata": {...}
}