Lists all agent version control profiles.
AgentVersionControlProfilesApi.listAgentVersionControlProfiles([param1, param2, ...])
AgentVersionControlProfilesApi.list_agent_version_control_profiles([param1, param2, ...])
AgentVersionControlProfilesApi.listAgentVersionControlProfiles([param1, param2, ...])
successful operation
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(); } } }
{- "agentVersionControlProfiles": [
- {
- "name": "string",
- "ID": 0
}
]
}
Describe an Agent Version Control Profile by ID.
AgentVersionControlProfilesApi.describeAgentVersionControlProfile([param1, param2, ...])
AgentVersionControlProfilesApi.describe_agent_version_control_profile([param1, param2, ...])
AgentVersionControlProfilesApi.describeAgentVersionControlProfile([param1, param2, ...])
successful operation
The agent version control profile does not exist.
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(); } } }
{- "name": "string",
- "ID": 0
}