Agent Version Control Profiles

List agent version control profiles

get/agentversioncontrolprofiles

Lists all agent version control profiles.

Related SDK Methods:
Java

AgentVersionControlProfilesApi.listAgentVersionControlProfiles([param1, param2, ...])

Python

AgentVersionControlProfilesApi.list_agent_version_control_profiles([param1, param2, ...])

JavaScript

AgentVersionControlProfilesApi.listAgentVersionControlProfiles([param1, param2, ...])

Request
header Parameters
api-version
required
string

The version of the api being called.

Example: YOUR VERSION
Responses
200

successful operation

Request samples
import com.trendmicro.deepsecurity.ApiClient;
import com.trendmicro.deepsecurity.Configuration;
import com.trendmicro.deepsecurity.auth.ApiKeyAuth;
import com.trendmicro.deepsecurity.ApiException;
import com.trendmicro.deepsecurity.api.AgentVersionControlProfilesApi;
import com.trendmicro.deepsecurity.model.AgentVersionControlProfiles;


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

		// Authentication
		ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication");
		DefaultAuthentication.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
		AgentVersionControlProfilesApi instance = new AgentVersionControlProfilesApi();
		String apiVersion = "YOUR VERSION";
		try {
			// Please replace the parameter values with yours
			AgentVersionControlProfiles result = instance.listAgentVersionControlProfiles(apiVersion);
			System.out.println(result);
		} catch (ApiException e) {
			System.err.println("An exception occurred when calling AgentVersionControlProfilesApi.listAgentVersionControlProfiles");
			e.printStackTrace();
		}
	}
}

Response samples
application/json
{
  • "agentVersionControlProfiles": [
    ]
}

Describe an agent version control profile

get/agentversioncontrolprofiles/{agentVersionControlProfileID}

Describe an Agent Version Control Profile by ID.

Related SDK Methods:
Java

AgentVersionControlProfilesApi.describeAgentVersionControlProfile([param1, param2, ...])

Python

AgentVersionControlProfilesApi.describe_agent_version_control_profile([param1, param2, ...])

JavaScript

AgentVersionControlProfilesApi.describeAgentVersionControlProfile([param1, param2, ...])

Request
path Parameters
agentVersionControlProfileID
required
integer <int32> \d+

The ID number of the agent version control profile to describe.

Example: 1
header Parameters
api-version
required
string

The version of the api being called.

Example: YOUR VERSION
Responses
200

successful operation

404

The agent version control profile does not exist.

Request samples
import com.trendmicro.deepsecurity.ApiClient;
import com.trendmicro.deepsecurity.Configuration;
import com.trendmicro.deepsecurity.auth.ApiKeyAuth;
import com.trendmicro.deepsecurity.ApiException;
import com.trendmicro.deepsecurity.api.AgentVersionControlProfilesApi;
import com.trendmicro.deepsecurity.model.AgentVersionControlProfile;


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

		// Authentication
		ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication");
		DefaultAuthentication.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
		AgentVersionControlProfilesApi instance = new AgentVersionControlProfilesApi();
		Integer agentVersionControlProfileID = 1;
		String apiVersion = "YOUR VERSION";
		try {
			// Please replace the parameter values with yours
			AgentVersionControlProfile result = instance.describeAgentVersionControlProfile(agentVersionControlProfileID, apiVersion);
			System.out.println(result);
		} catch (ApiException e) {
			System.err.println("An exception occurred when calling AgentVersionControlProfilesApi.describeAgentVersionControlProfile");
			e.printStackTrace();
		}
	}
}

Response samples
application/json
{
  • "name": "string",
  • "ID": 0
}