The request consumes an application/json
payload.
POST | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/activeGates/remoteConfigurationManagement |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/activeGates/remoteConfigurationManagement |
To execute this request, you need an access token with activeGates.write
scope.
To learn how to obtain and use it, see Tokens and authentication.
You identify your ActiveGates by their IDs. Use the GET all ActiveGate request to learn the IDs of ActiveGates that you'd like to configure.
JSON body of the request, containing remote configuration management job definition.
RemoteConfigurationManagementOperationActiveGateRequest
objectRemote configuration management operation creation request.
A list of entities IDs for which remote configuration management is to be executed.
A list of remote configuration management operations to be executed.
RemoteConfigurationManagementOperation
objectDefinition of a single remote configuration management operation.
The attribute which is affected by the operation.
group
hostGroup
hostProperty
hostTag
networkZone
The operation performed on given attribute.
clear
set
The value which should be assigned to given attribute.
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"entities": ["0x2b7c0b02","0x4928065d"],"operations": [{"attribute": "networkZone","operation": "set","value": "exampleNetworkZoneName"}]}
The response is not sent to the client until all ActiveGates defined in the payload are processed. An ActiveGate is considered to be processed when the reconfiguration message is sent to it; the actual reconfiguration is handled independently by the ActiveGate.
Other remote configuration management job is currently being executed
RemoteConfigurationManagementJob
objectRemote configuration management job.
Date (in ISO 8601 format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z') when the remote configuration management job was finished. This field is present only for finished jobs.
Type of entities modified by remote configuration management.
ACTIVE_GATE
ONE_AGENT
The ID of the remote configuration management job.
A list of executed remote configuration management jobs.
Number of entities that were already processed at the time the response was created.
Date (in ISO 8601 format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z') when the remote configuration management job was started.
Date (in ISO 8601 format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z') when the running remote configuration management job will time-out. This field is present only for running jobs.
Total number of entities to process.
RemoteConfigurationManagementOperation
objectDefinition of a single remote configuration management operation.
The attribute which is affected by the operation.
group
hostGroup
hostProperty
hostTag
networkZone
The operation performed on given attribute.
clear
set
The value which should be assigned to given attribute.
{"endTime": "2020-11-05T08:15:30.144Z","entityType": "ACTIVE_GATE or ONE_AGENT","id": "7974003406714390819","operations": [{"attribute": "networkZone","operation": "set","value": "exampleNetworkZoneName"}],"processedEntitiesCount": 1,"startTime": "2020-11-05T08:15:30.144Z","timeoutTime": "2020-11-05T08:15:30.144Z","totalEntitiesCount": 1}
We recommend that you validate the payload before submitting it with an actual request. A response code of 204 indicates a valid payload.
The request consumes an application/json
payload.
POST | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/activeGates/remoteConfigurationManagement/validator |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/activeGates/remoteConfigurationManagement/validator |
To execute this request, you need an access token with activeGates.write
scope.
To learn how to obtain and use it, see Tokens and authentication.
Success. Response doesn't have a body.