Agent Activation Information

Describe Agent Activation Information

get/agentactivationinformation

Describe the information required when performing agent activation.

Related SDK Methods:
Java

AgentActivationInformationApi.describeAgentActivationInformation([param1, param2, ...])

Python

AgentActivationInformationApi.describe_agent_activation_information([param1, param2, ...])

JavaScript

AgentActivationInformationApi.describeAgentActivationInformation([param1, param2, ...])

SecurityTrend_Micro_Cloud_One_API_Key or Legacy_API_Key
Request
header Parameters
api-version
required
string

The version of the api being called.

Example: YOUR VERSION
Responses
200

successful operation

400

Missing tenant

403

Not authorized to view Agent Activation Information.

Request samples
import com.trendmicro.deepsecurity.ApiClient;
import com.trendmicro.deepsecurity.Configuration;
import com.trendmicro.deepsecurity.auth.ApiKeyAuth;
import com.trendmicro.deepsecurity.auth.ApiKeyAuth;
import com.trendmicro.deepsecurity.ApiException;
import com.trendmicro.deepsecurity.api.AgentActivationInformationApi;
import com.trendmicro.deepsecurity.model.AgentActivationInformation;


public class DescribeAgentActivationInformationExample {
	
	public static void main(String[] args) {
		// Setup
		ApiClient defaultClient = Configuration.getDefaultApiClient();
		defaultClient.setBasePath("YOUR HOST");

		// Authentication
		ApiKeyAuth Legacy API Key = (ApiKeyAuth) defaultClient.getAuthentication("Legacy API Key");
		Legacy API Key.setApiKey("YOUR API KEY");
		try {
			defaultClient.trustAllCertificates(false);
		} catch (Exception e) {
			System.err.println("An exception occurred when calling ApiClient.trustAllCertificates");
			e.printStackTrace();
		}
		ApiKeyAuth Trend Micro Cloud One API Key = (ApiKeyAuth) defaultClient.getAuthentication("Trend Micro Cloud One API Key");
		Trend Micro Cloud One API Key.setApiKey("YOUR API KEY");
		try {
			defaultClient.trustAllCertificates(false);
		} catch (Exception e) {
			System.err.println("An exception occurred when calling ApiClient.trustAllCertificates");
			e.printStackTrace();
		}
		
		// Initialization
		// Set Any Required Values
		AgentActivationInformationApi instance = new AgentActivationInformationApi();
		String apiVersion = "YOUR VERSION";
		try {
			// Please replace the parameter values with yours
			AgentActivationInformation result = instance.describeAgentActivationInformation(apiVersion);
			System.out.println(result);
		} catch (ApiException e) {
			System.err.println("An exception occurred when calling AgentActivationInformationApi.describeAgentActivationInformation");
			e.printStackTrace();
		}
	}
}

Response samples
application/json
{
  • "activationURL": "string",
  • "activationToken": "string"
}