Gets details about the specified ActiveGate.
The request produces an application/json payload.
To execute this request, you need the Service Provider API (ServiceProviderAPI) permission assigned to your API token. Generate your API token via Cluster Management Console (CMC). To learn how to obtain and use it, see Cluster API - Authentication.
/api/cluster/v2/activeGates/{agId}
The ID returned for the Cluster ActiveGate v2 endpoint is a hexadecimal representation of the node ID. If you want to use the ID in other endpoints that require the entity ID—for example, v1 endpoints with /api/v1.0/onpremise/sslCertificate—you need to convert it to the decimal representation of the entity ID.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| agId | string | The ID of the required ActiveGate. | path | Required |
| Code | Type | Description |
|---|---|---|
| 200 | Active | Success |
| 404 | Error | Not found. See response body for details. |
ActiveGate objectParameters of the ActiveGate.
| Element | Type | Description |
|---|---|---|
| activeGateTokens | Active | A list of the ActiveGate tokens. |
| autoUpdateSettings | Active | Configuration of the ActiveGate auto-updates. |
| autoUpdateStatus | string | The current status of auto-updates of the ActiveGate. The element can hold these values
|
| connectedHosts | Active | Information about hosts currently connected to the ActiveGate |
| containerized | boolean | ActiveGate is deployed in container ( |
| environments | string[] | A list of environments (specified by IDs) the ActiveGate can connect to. |
| fipsMode | boolean | ActiveGate is running in FIPS compliant mode ( |
| group | string | The group of the ActiveGate. |
| hostname | string | The name of the host the ActiveGate is running on. |
| id | string | The ID of the ActiveGate. |
| loadBalancerAddresses | string[] | A list of Load Balancer addresses of the ActiveGate. |
| mainEnvironment | string | The ID of the main environment for a multi-environment ActiveGate. |
| modules | Active | A list of modules of the ActiveGate. |
| networkAddresses | string[] | A list of network addresses of the ActiveGate. |
| networkZone | string | The network zone of the ActiveGate. |
| offlineSince | integer | The timestamp since when the ActiveGate is offline. The |
| osArchitecture | string | The OS architecture that the ActiveGate is running on. The element can hold these values
|
| osBitness | string | The OS bitness that the ActiveGate is running on. The element can hold these values
|
| osType | string | The OS type that the ActiveGate is running on. The element can hold these values
|
| type | string | The type of the ActiveGate. The element can hold these values
|
| version | string | The current version of the ActiveGate in the |
ActiveGateTokenInfoDto objectInformation about ActiveGate token.
| Element | Type | Description |
|---|---|---|
| environmentId | string | The environment ID to which the token belongs. Only available if more than one environment is supported. |
| id | string | The ActiveGate token identifier, consisting of prefix and public part of the token. |
| state | string | State of the ActiveGate token. The element can hold these values
|
ActiveGateAutoUpdateConfig objectConfiguration of the ActiveGate auto-updates.
| Element | Type | Description |
|---|---|---|
| effectiveSetting | string | The actual state of the ActiveGate auto-update. Applicable only if the setting parameter is set to The element can hold these values
|
| setting | string | The state of the ActiveGate auto-update: enabled, disabled, or inherited. If set to The element can hold these values
|
ActiveGateConnectedHosts objectInformation about hosts currently connected to the ActiveGate
| Element | Type | Description |
|---|---|---|
| number | integer | The number of hosts currently connected to the ActiveGate |
ActiveGateModule objectInformation about ActiveGate module
| Element | Type | Description |
|---|---|---|
| attributes | object | The attributes of the ActiveGate module. |
| enabled | boolean | The module is enabled ( |
| misconfigured | boolean | The module is misconfigured ( |
| type | string | The type of ActiveGate module. The element can hold these values
|
| version | string | The version of the ActiveGate module. |
ErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Error | - |
Error object| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code |
| constraintViolations | Constraint | A list of constraint violations |
| message | string | The error message |
ConstraintViolation objectA list of constraint violations
| Element | Type | Description |
|---|---|---|
| location | string | - |
| message | string | - |
| parameterLocation | string | -The element can hold these values
|
| path | string | - |
{"activeGateTokens": [{"environmentId": "string","id": "dt0g02.4KWZO5EF","state": "ABSENT"}],"autoUpdateSettings": {"effectiveSetting": "ENABLED","setting": "INHERITED"},"autoUpdateStatus": "OUTDATED","connectedHosts": {"number": 150},"containerized": true,"environments": ["string"],"fipsMode": true,"group": "default","hostname": "exampleHostname","id": "0x3efdd091","loadBalancerAddresses": ["string"],"mainEnvironment": "d1bf4a7e-666b-43af-9f45-718g98372e2f","modules": [{"attributes": {},"enabled": true,"misconfigured": true,"type": "KUBERNETES","version": "string"}],"networkAddresses": ["string"],"networkZone": "exampleNetworkZone","offlineSince": 1582031917814,"osArchitecture": "X86","osBitness": "64","osType": "WINDOWS","type": "ENVIRONMENT","version": "1.185.0.20200201-120000"}
{"error": {"code": 1,"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}],"message": "string"}}
In this example, the request lists the parameters of the ActiveGate with the ID of 876651882.
The API token is passed in the Authorization header.
curl -L -X GET 'https://myManaged.cluster.com/api/cluster/v2/activeGates/876651882' \-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://myManaged.cluster.com/api/cluster/v2/activeGates/876651882
{"id": "876651882","networkAddresses": ["orange-13.easytravel.com","228.245.125.39"],"osType": "LINUX","autoUpdateStatus": "UPDATE_IN_PROGRESS","offlineSince": null,"version": "1.198.0.20200630-163221","type": "ENVIRONMENT","hostname": "orange-13.easytravel.com","mainEnvironment": null,"environments": ["mySampleEnv"],"networkZone": "easytravel.europe.austria.05"}
200