Create new AWS Connector Migration Tasks.
AwsConnectorMigrationTasksApi.createConnectorMigrationTasks([param1, param2, ...])
AWSConnectorMigrationTasksApi.create_connector_migration_tasks([param1, param2, ...])
AWSConnectorMigrationTasksApi.createConnectorMigrationTasks([param1, param2, ...])
The task to migrate the connector.
successful operation
Invalid parameters to create connector migration tasks
Not authorized to migrate AWS connector.
{- "connectorIDs": [
- 0
]
}
{- "connectorMigrationTasks": [
- {
- "ID": 0,
- "connectorID": 0,
- "status": "requested",
- "errorCode": 0,
- "created": "2019-08-24T14:15:22Z",
- "lastUpdated": "2019-08-24T14:15:22Z"
}
], - "connectorsUnableToMigrate": [
- {
- "connectorID": 0,
- "errorMessage": "string"
}
]
}
Describe an AWS connector migration task.
AwsConnectorMigrationTasksApi.describeConnectorMigrationTask([param1, param2, ...])
AWSConnectorMigrationTasksApi.describe_connector_migration_task([param1, param2, ...])
AWSConnectorMigrationTasksApi.describeConnectorMigrationTask([param1, param2, ...])
successful operation
Not authorized to migrate AWS connector.
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.AwsConnectorMigrationTasksApi; import com.trendmicro.deepsecurity.model.ConnectorMigrationTask; public class DescribeConnectorMigrationTaskExample { 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 AwsConnectorMigrationTasksApi instance = new AwsConnectorMigrationTasksApi(); Long connectorMigrationTaskID = 1L; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours ConnectorMigrationTask result = instance.describeConnectorMigrationTask(connectorMigrationTaskID, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling AwsConnectorMigrationTasksApi.describeConnectorMigrationTask"); e.printStackTrace(); } } }
{- "ID": 0,
- "connectorID": 0,
- "status": "requested",
- "errorCode": 0,
- "created": "2019-08-24T14:15:22Z",
- "lastUpdated": "2019-08-24T14:15:22Z"
}
Describe AWS connector migration tasks.
AwsConnectorMigrationTasksApi.listConnectorMigrationTasks([param1, param2, ...])
AWSConnectorMigrationTasksApi.list_connector_migration_tasks([param1, param2, ...])
AWSConnectorMigrationTasksApi.listConnectorMigrationTasks([param1, param2, ...])
successful operation
Not authorized to migrate AWS connector.
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.AwsConnectorMigrationTasksApi; import com.trendmicro.deepsecurity.model.ConnectorMigrationTasks; public class ListConnectorMigrationTasksExample { 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 AwsConnectorMigrationTasksApi instance = new AwsConnectorMigrationTasksApi(); String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours ConnectorMigrationTasks result = instance.listConnectorMigrationTasks(apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling AwsConnectorMigrationTasksApi.listConnectorMigrationTasks"); e.printStackTrace(); } } }
{- "connectorMigrationTasks": [
- {
- "ID": 0,
- "connectorID": 0,
- "status": "requested",
- "errorCode": 0,
- "created": "2019-08-24T14:15:22Z",
- "lastUpdated": "2019-08-24T14:15:22Z"
}
]
}
Create a new AWS Connector Migration Task.
AwsConnectorMigrationTasksApi.createConnectorMigrationTask([param1, param2, ...])
AWSConnectorMigrationTasksApi.create_connector_migration_task([param1, param2, ...])
AWSConnectorMigrationTasksApi.createConnectorMigrationTask([param1, param2, ...])
The task to migrate the connector.
successful operation
Invalid parameters to create a connector migration task
Not authorized to migrate AWS connector.
A connector migration task already exists
{- "connectorID": 0
}
{- "ID": 0,
- "connectorID": 0,
- "status": "requested",
- "errorCode": 0,
- "created": "2019-08-24T14:15:22Z",
- "lastUpdated": "2019-08-24T14:15:22Z"
}
Search for AWS connector migration task using optional filters.
AwsConnectorMigrationTasksApi.searchConnectorMigrationTasks([param1, param2, ...])
AWSConnectorMigrationTasksApi.search_connector_migration_tasks([param1, param2, ...])
AWSConnectorMigrationTasksApi.searchConnectorMigrationTasks([param1, param2, ...])
A collection of options used to filter the search results.
successful operation
Not authorized to migrate AWS connector.
{- "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
}
{- "connectorMigrationTasks": [
- {
- "ID": 0,
- "connectorID": 0,
- "status": "requested",
- "errorCode": 0,
- "created": "2019-08-24T14:15:22Z",
- "lastUpdated": "2019-08-24T14:15:22Z"
}
]
}