Create a new batch computer move task.
ComputerMoveTasksApi.createBatchComputerMoveTask([param1, param2, ...])
ComputerMoveTasksApi.create_batch_computer_move_task([param1, param2, ...])
ComputerMoveTasksApi.createBatchComputerMoveTask([param1, param2, ...])
Tasks to move the computers.
successful operation
Invalid parameters to create computer move tasks
Not authorized to move computers.
Batch computer move task already exists
Too many computer IDs
{- "workloadSecurityPolicyID": 0,
- "workloadSecurityComputerGroupID": 0,
- "workloadSecurityRelayGroupID": 0,
- "workloadSecurityProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurity": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurity": 0,
- "workloadSecurityRelayProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurityRelay": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurityRelay": 0,
- "includeComputerOverrides": true,
- "includeComputerDescription": true,
- "referToLatestMigratedPolicy": true,
- "computerIDs": [
- 0
]
}
{- "createdComputerMoveTasks": [
- {
- "workloadSecurityPolicyID": 0,
- "workloadSecurityComputerGroupID": 0,
- "workloadSecurityRelayGroupID": 0,
- "workloadSecurityProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurity": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurity": 0,
- "workloadSecurityRelayProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurityRelay": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurityRelay": 0,
- "includeComputerOverrides": true,
- "includeComputerDescription": true,
- "referToLatestMigratedPolicy": true,
- "computerID": 0,
- "moveState": "move-requested",
- "created": 0,
- "lastUpdated": 0,
- "ID": 0
}
], - "computersUnableToMove": [
- {
- "computerID": 0,
- "computerName": "string",
- "errorMessage": "string"
}
]
}
Describe a computer move task.
ComputerMoveTasksApi.describeComputerMoveTask([param1, param2, ...])
ComputerMoveTasksApi.describe_computer_move_task([param1, param2, ...])
ComputerMoveTasksApi.describeComputerMoveTask([param1, param2, ...])
successful operation
Not authorized to move computers.
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.ComputerMoveTasksApi; import com.trendmicro.deepsecurity.model.ComputerMoveTask; public class DescribeComputerMoveTaskExample { 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 ComputerMoveTasksApi instance = new ComputerMoveTasksApi(); Long computerMoveTaskID = 1L; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours ComputerMoveTask result = instance.describeComputerMoveTask(computerMoveTaskID, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerMoveTasksApi.describeComputerMoveTask"); e.printStackTrace(); } } }
{- "workloadSecurityPolicyID": 0,
- "workloadSecurityComputerGroupID": 0,
- "workloadSecurityRelayGroupID": 0,
- "workloadSecurityProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurity": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurity": 0,
- "workloadSecurityRelayProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurityRelay": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurityRelay": 0,
- "includeComputerOverrides": true,
- "includeComputerDescription": true,
- "referToLatestMigratedPolicy": true,
- "computerID": 0,
- "moveState": "move-requested",
- "created": 0,
- "lastUpdated": 0,
- "ID": 0
}
List all computer move tasks.
ComputerMoveTasksApi.listComputerMoveTasks([param1, param2, ...])
ComputerMoveTasksApi.list_computer_move_tasks([param1, param2, ...])
ComputerMoveTasksApi.listComputerMoveTasks([param1, param2, ...])
successful operation
Not authorized to move computers.
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.ComputerMoveTasksApi; import com.trendmicro.deepsecurity.model.ComputerMoveTasks; public class ListComputerMoveTasksExample { 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 ComputerMoveTasksApi instance = new ComputerMoveTasksApi(); String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours ComputerMoveTasks result = instance.listComputerMoveTasks(apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerMoveTasksApi.listComputerMoveTasks"); e.printStackTrace(); } } }
{- "computerMoveTasks": [
- {
- "workloadSecurityPolicyID": 0,
- "workloadSecurityComputerGroupID": 0,
- "workloadSecurityRelayGroupID": 0,
- "workloadSecurityProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurity": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurity": 0,
- "workloadSecurityRelayProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurityRelay": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurityRelay": 0,
- "includeComputerOverrides": true,
- "includeComputerDescription": true,
- "referToLatestMigratedPolicy": true,
- "computerID": 0,
- "moveState": "move-requested",
- "created": 0,
- "lastUpdated": 0,
- "ID": 0
}
]
}
Create a new computer move task.
ComputerMoveTasksApi.createComputerMoveTask([param1, param2, ...])
ComputerMoveTasksApi.create_computer_move_task([param1, param2, ...])
ComputerMoveTasksApi.createComputerMoveTask([param1, param2, ...])
The task to move the computers.
successful operation
Invalid parameters to create a computer move task
Not authorized to move computers.
A computer move task already exists
Failed to connect to Trend Vision One Endpoint Security (or Workload Security).
{- "workloadSecurityPolicyID": 0,
- "workloadSecurityComputerGroupID": 0,
- "workloadSecurityRelayGroupID": 0,
- "workloadSecurityProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurity": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurity": 0,
- "workloadSecurityRelayProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurityRelay": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurityRelay": 0,
- "includeComputerOverrides": true,
- "includeComputerDescription": true,
- "referToLatestMigratedPolicy": true,
- "computerID": 0
}
{- "workloadSecurityPolicyID": 0,
- "workloadSecurityComputerGroupID": 0,
- "workloadSecurityRelayGroupID": 0,
- "workloadSecurityProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurity": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurity": 0,
- "workloadSecurityRelayProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurityRelay": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurityRelay": 0,
- "includeComputerOverrides": true,
- "includeComputerDescription": true,
- "referToLatestMigratedPolicy": true,
- "computerID": 0,
- "moveState": "move-requested",
- "created": 0,
- "lastUpdated": 0,
- "ID": 0
}
Search for computer move task using optional filters.
ComputerMoveTasksApi.searchComputerMoveTasks([param1, param2, ...])
ComputerMoveTasksApi.search_computer_move_tasks([param1, param2, ...])
ComputerMoveTasksApi.searchComputerMoveTasks([param1, param2, ...])
A collection of options used to filter the search results.
successful operation
Not authorized to move computers.
{- "maxItems": 0,
- "searchCriteria": [
- {
- "fieldName": "string",
- "booleanTest": true,
- "numericTest": "less-than",
- "numericValue": 0,
- "stringTest": "equal",
- "stringValue": "string",
- "stringWildcards": true,
- "choiceTest": "equal",
- "choiceValue": "string",
- "firstDateValue": 0,
- "firstDateInclusive": true,
- "lastDateValue": 0,
- "lastDateInclusive": true,
- "nullTest": true,
- "versionTest": "less-than",
- "versionValue": "string",
- "idValue": 0,
- "idTest": "less-than"
}
], - "sortByObjectID": true
}
{- "computerMoveTasks": [
- {
- "workloadSecurityPolicyID": 0,
- "workloadSecurityComputerGroupID": 0,
- "workloadSecurityRelayGroupID": 0,
- "workloadSecurityProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurity": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurity": 0,
- "workloadSecurityRelayProxy": {
- "host": "string",
- "port": 0,
- "user": "string",
- "password": "string"
}, - "proxyTypeToContactWorkloadSecurityRelay": "user-assigned-proxy",
- "proxyIDToContactWorkloadSecurityRelay": 0,
- "includeComputerOverrides": true,
- "includeComputerDescription": true,
- "referToLatestMigratedPolicy": true,
- "computerID": 0,
- "moveState": "move-requested",
- "created": 0,
- "lastUpdated": 0,
- "ID": 0
}
]
}