Get Cluster ActiveGate details
This page will soon be available only on the dedicated Dynatrace Managed Documentation site. Update your bookmarks.
Gets details about the specified ActiveGate.
The request produces an application/json
payload.
Authentication
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.
Endpoint
/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.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
agId | string | The ID of the required ActiveGate. | path | required |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | ActiveGate | Success |
404 | ErrorEnvelope | Not found. See response body for details. |
Response body objects
The ActiveGate
object
Parameters of the ActiveGate.
Element | Type | Description |
---|---|---|
id | string | The ID of the ActiveGate. |
networkAddresses | string[] | A list of network addresses of the ActiveGate. |
loadBalancerAddresses | string[] | A list of Load Balancer addresses of the ActiveGate. |
osType | string | The OS type that the ActiveGate is running on.
|
autoUpdateStatus | string | The current status of auto-updates of the ActiveGate.
|
offlineSince | integer | The timestamp since when the ActiveGate is offline. The |
version | string | The current version of the ActiveGate in the |
type | string | The type of the ActiveGate.
|
hostname | string | The name of the host the ActiveGate is running on. |
mainEnvironment | string | The ID of the main environment for a multi-environment ActiveGate. |
environments | string[] | A list of environments (specified by IDs) the ActiveGate can connect to. |
autoUpdateSettings | ActiveGateAutoUpdateConfig | Configuration of the ActiveGate auto-updates. |
networkZone | string | The network zone of the ActiveGate. |
group | string | The group of the ActiveGate. |
modules | ActiveGateModule[] | A list of modules of the ActiveGate. |
containerized | boolean | ActiveGate is deployed in container ( |
connectedHosts | ActiveGateConnectedHosts | Information about hosts currently connected to the ActiveGate |
The ActiveGateAutoUpdateConfig
object
Configuration of the ActiveGate auto-updates.
Element | Type | Description |
---|---|---|
setting | string | The state of the ActiveGate auto-update: enabled, disabled, or inherited. If set to
|
effectiveSetting | string | The actual state of the ActiveGate auto-update. Applicable only if the setting parameter is set to
|
The ActiveGateModule
object
Information about ActiveGate module
Element | Type | Description |
---|---|---|
misconfigured | boolean | The module is misconfigured ( |
version | string | The version of the ActiveGate module. |
type | string | The type of ActiveGate module.
|
attributes | object | The attributes of the ActiveGate module. |
enabled | boolean | The module is enabled ( |
The ActiveGateConnectedHosts
object
Information about hosts currently connected to the ActiveGate
Element | Type | Description |
---|---|---|
number | integer | The number of hosts currently connected to the ActiveGate |
Response body JSON model
1{2 "id": "0x3efdd091",3 "networkAddresses": [4 "string"5 ],6 "loadBalancerAddresses": [7 "string"8 ],9 "osType": "WINDOWS",10 "autoUpdateStatus": "OUTDATED",11 "offlineSince": 1582031917814,12 "version": "1.185.0.20200201-120000",13 "type": "ENVIRONMENT",14 "hostname": "exampleHostname",15 "mainEnvironment": "d1bf4a7e-666b-43af-9f45-718g98372e2f",16 "environments": [17 "string"18 ],19 "autoUpdateSettings": {20 "setting": "INHERITED",21 "effectiveSetting": "ENABLED"22 },23 "networkZone": "exampleNetworkZone",24 "group": "default",25 "modules": [26 {27 "misconfigured": true,28 "version": "string",29 "type": "KUBERNETES",30 "attributes": {},31 "enabled": true32 }33 ],34 "containerized": true,35 "connectedHosts": {36 "number": 15037 }38}
Example
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
1curl -L -X GET 'https://myManaged.cluster.com/api/cluster/v2/activeGates/876651882' \2-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
Request URL
1https://myManaged.cluster.com/api/cluster/v2/activeGates/876651882
Response body
1{2 "id": "876651882",3 "networkAddresses": [4 "orange-13.easytravel.com",5 "228.245.125.39"6 ],7 "osType": "LINUX",8 "autoUpdateStatus": "UPDATE_IN_PROGRESS",9 "offlineSince": null,10 "version": "1.198.0.20200630-163221",11 "type": "ENVIRONMENT",12 "hostname": "orange-13.easytravel.com",13 "mainEnvironment": null,14 "environments": [15 "mySampleEnv"16 ],17 "networkZone": "easytravel.europe.austria.05"18}
Response code
200