Describe a common object migration task.
CommonObjectMigrationTasksApi.describeCommonObjectMigrationTask([param1, param2, ...])
CommonObjectMigrationTasksApi.describe_common_object_migration_task([param1, param2, ...])
CommonObjectMigrationTasksApi.describeCommonObjectMigrationTask([param1, param2, ...])
successful operation
The Trend Vision One Endpoint Security Link (formerly Workload Security Link) does not exist.
Not authorized to migrate common objects.
The common object migration task does not exist.
Failed to connect to Trend Vision One Endpoint Security (or Workload Security).
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.CommonObjectMigrationTasksApi; import com.trendmicro.deepsecurity.model.CommonObjectMigrationTask; public class DescribeCommonObjectMigrationTaskExample { 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 CommonObjectMigrationTasksApi instance = new CommonObjectMigrationTasksApi(); Integer commonObjectMigrationTaskID = 1; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours CommonObjectMigrationTask result = instance.describeCommonObjectMigrationTask(commonObjectMigrationTaskID, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling CommonObjectMigrationTasksApi.describeCommonObjectMigrationTask"); e.printStackTrace(); } } }
{- "type": "directory-lists",
- "objectIDs": [
- 0
], - "taskGUID": "string",
- "status": "requested",
- "created": 0,
- "lastUpdated": 0,
- "commonObjectMappings": [
- {
- "migrateTo": {
- "commonObjectID": 0,
- "commonObjectName": "string"
}, - "migrateFrom": {
- "commonObjectID": 0,
- "commonObjectName": "string"
}
}
], - "errorCode": 0,
- "commonObjectsUnableToMigrate": [
- {
- "objectID": 0,
- "errorMessage": "string"
}
], - "ID": 0
}
List all common object migration tasks.
CommonObjectMigrationTasksApi.listCommonObjectMigrationTasks([param1, param2, ...])
CommonObjectMigrationTasksApi.list_common_object_migration_tasks([param1, param2, ...])
CommonObjectMigrationTasksApi.listCommonObjectMigrationTasks([param1, param2, ...])
successful operation
The Trend Vision One Endpoint Security Link (formerly Workload Security Link) does not exist.
Not authorized to migrate common objects.
Failed to connect to Trend Vision One Endpoint Security (or Workload Security).
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.CommonObjectMigrationTasksApi; import com.trendmicro.deepsecurity.model.CommonObjectMigrationTasks; public class ListCommonObjectMigrationTasksExample { 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 CommonObjectMigrationTasksApi instance = new CommonObjectMigrationTasksApi(); String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours CommonObjectMigrationTasks result = instance.listCommonObjectMigrationTasks(apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling CommonObjectMigrationTasksApi.listCommonObjectMigrationTasks"); e.printStackTrace(); } } }
{- "commonObjectMigrationTasks": [
- {
- "type": "directory-lists",
- "objectIDs": [
- 0
], - "taskGUID": "string",
- "status": "requested",
- "created": 0,
- "lastUpdated": 0,
- "commonObjectMappings": [
- {
- "migrateTo": {
- "commonObjectID": 0,
- "commonObjectName": "string"
}, - "migrateFrom": {
- "commonObjectID": 0,
- "commonObjectName": "string"
}
}
], - "errorCode": 0,
- "commonObjectsUnableToMigrate": [
- {
- "objectID": 0,
- "errorMessage": "string"
}
], - "ID": 0
}
]
}
Create a task to migrate common objects.
CommonObjectMigrationTasksApi.createCommonObjectMigrationTask([param1, param2, ...])
CommonObjectMigrationTasksApi.create_common_object_migration_task([param1, param2, ...])
CommonObjectMigrationTasksApi.createCommonObjectMigrationTask([param1, param2, ...])
The task to migrate the common objects.
successful operation
The Trend Vision One Endpoint Security Link (formerly Workload Security Link) does not exist.
Not authorized to migrate common objects.
A common object migration task already exists.
Failed to connect to Trend Vision One Endpoint Security (or Workload Security).
{- "type": "directory-lists",
- "objectIDs": [
- 0
]
}
{- "type": "directory-lists",
- "objectIDs": [
- 0
], - "taskGUID": "string",
- "status": "requested",
- "created": 0,
- "lastUpdated": 0,
- "commonObjectMappings": [
- {
- "migrateTo": {
- "commonObjectID": 0,
- "commonObjectName": "string"
}, - "migrateFrom": {
- "commonObjectID": 0,
- "commonObjectName": "string"
}
}
], - "errorCode": 0,
- "commonObjectsUnableToMigrate": [
- {
- "objectID": 0,
- "errorMessage": "string"
}
], - "ID": 0
}
Search for common obeject migration tasks using optional filters.
CommonObjectMigrationTasksApi.searchCommonObjectMigrationTasks([param1, param2, ...])
CommonObjectMigrationTasksApi.search_common_object_migration_tasks([param1, param2, ...])
CommonObjectMigrationTasksApi.searchCommonObjectMigrationTasks([param1, param2, ...])
A collection of options used to filter the search results.
successful operation
The Trend Vision One Endpoint Security Link (formerly Workload Security Link) does not exist.
Not authorized to migrate common objects.
Failed to connect to Trend Vision One Endpoint Security (or Workload Security).
{- "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
}
{- "commonObjectMigrationTasks": [
- {
- "type": "directory-lists",
- "objectIDs": [
- 0
], - "taskGUID": "string",
- "status": "requested",
- "created": 0,
- "lastUpdated": 0,
- "commonObjectMappings": [
- {
- "migrateTo": {
- "commonObjectID": 0,
- "commonObjectName": "string"
}, - "migrateFrom": {
- "commonObjectID": 0,
- "commonObjectName": "string"
}
}
], - "errorCode": 0,
- "commonObjectsUnableToMigrate": [
- {
- "objectID": 0,
- "errorMessage": "string"
}
], - "ID": 0
}
]
}