ComputerGroupsApi.describeCloudResourceType([param1, param2, ...])
ComputerGroupsApi.describe_cloud_resource_type([param1, param2, ...])
ComputerGroupsApi.describeCloudResourceType([param1, param2, ...])
successful operation
Not authorized to view computer groups.
The cloud resource type 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.ComputerGroupsApi; import com.trendmicro.deepsecurity.model.CloudResourceTypeDetail; public class DescribeCloudResourceTypeExample { 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 ComputerGroupsApi instance = new ComputerGroupsApi(); String cloudResourceType = "cloudResourceType_example"; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours CloudResourceTypeDetail result = instance.describeCloudResourceType(cloudResourceType, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerGroupsApi.describeCloudResourceType"); e.printStackTrace(); } } }
{- "name": "string",
- "value": 0
}
ComputerGroupsApi.listCloudResourceType([param1, param2, ...])
ComputerGroupsApi.list_cloud_resource_type([param1, param2, ...])
ComputerGroupsApi.listCloudResourceType([param1, param2, ...])
successful operation
Not authorized to view computer groups.
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.ComputerGroupsApi; import com.trendmicro.deepsecurity.model.CloudResourceTypeDetails; public class ListCloudResourceTypeExample { 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 ComputerGroupsApi instance = new ComputerGroupsApi(); String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours CloudResourceTypeDetails result = instance.listCloudResourceType(apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerGroupsApi.listCloudResourceType"); e.printStackTrace(); } } }
{- "cloudresourcetypes": [
- {
- "name": "string",
- "value": 0
}
]
}
Lists all computer groups.
ComputerGroupsApi.listComputerGroups([param1, param2, ...])
ComputerGroupsApi.list_computer_groups([param1, param2, ...])
ComputerGroupsApi.listComputerGroups([param1, param2, ...])
successful operation
Not authorized to view computer groups.
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.ComputerGroupsApi; import com.trendmicro.deepsecurity.model.ComputerGroups; public class ListComputerGroupsExample { 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 ComputerGroupsApi instance = new ComputerGroupsApi(); String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours ComputerGroups result = instance.listComputerGroups(apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerGroupsApi.listComputerGroups"); e.printStackTrace(); } } }
{- "computerGroups": [
- {
- "type": "ad-add-directory",
- "name": "string",
- "description": "string",
- "parentGroupID": 0,
- "directoryID": 0,
- "externalID": "string",
- "virtualID": 0,
- "virtualType": 0,
- "virtualName": "string",
- "cloudType": "amazon",
- "cloudResourceType": "physical",
- "cloudResourceTypeDetails": {
- "cloudresourcetypes": [
- {
- "name": "string",
- "value": 0
}
]
}, - "cloudResourceTypes": [
- {
- "cloudresourcetypes": [
- {
- "name": "string",
- "value": 0
}
]
}
], - "cloudID": 0,
- "amazonAccountID": 0,
- "amazonRegionID": 0,
- "amazonVPCID": 0,
- "amazonSubnetID": 0,
- "amazonWorkspacesID": 0,
- "amazonDirectoryID": 0,
- "ID": 0
}
]
}
Create a new computer group.
ComputerGroupsApi.createComputerGroup([param1, param2, ...])
ComputerGroupsApi.create_computer_group([param1, param2, ...])
ComputerGroupsApi.createComputerGroup([param1, param2, ...])
The settings of the new computer group.
successful operation
Not authorized to create computer groups.
{- "name": "string",
- "description": "string",
- "parentGroupID": 0,
- "cloudResourceTypeDetails": {
- "cloudresourcetypes": [
- { }
]
}
}
{- "type": "ad-add-directory",
- "name": "string",
- "description": "string",
- "parentGroupID": 0,
- "directoryID": 0,
- "externalID": "string",
- "virtualID": 0,
- "virtualType": 0,
- "virtualName": "string",
- "cloudType": "amazon",
- "cloudResourceType": "physical",
- "cloudResourceTypeDetails": {
- "cloudresourcetypes": [
- {
- "name": "string",
- "value": 0
}
]
}, - "cloudResourceTypes": [
- {
- "cloudresourcetypes": [
- {
- "name": "string",
- "value": 0
}
]
}
], - "cloudID": 0,
- "amazonAccountID": 0,
- "amazonRegionID": 0,
- "amazonVPCID": 0,
- "amazonSubnetID": 0,
- "amazonWorkspacesID": 0,
- "amazonDirectoryID": 0,
- "ID": 0
}
Describe a computer group by ID.
ComputerGroupsApi.describeComputerGroup([param1, param2, ...])
ComputerGroupsApi.describe_computer_group([param1, param2, ...])
ComputerGroupsApi.describeComputerGroup([param1, param2, ...])
successful operation
Not authorized to view computer groups.
The computer group 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.ComputerGroupsApi; import com.trendmicro.deepsecurity.model.ComputerGroup; public class DescribeComputerGroupExample { 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 ComputerGroupsApi instance = new ComputerGroupsApi(); Integer computerGroupID = 1; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours ComputerGroup result = instance.describeComputerGroup(computerGroupID, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerGroupsApi.describeComputerGroup"); e.printStackTrace(); } } }
{- "type": "ad-add-directory",
- "name": "string",
- "description": "string",
- "parentGroupID": 0,
- "directoryID": 0,
- "externalID": "string",
- "virtualID": 0,
- "virtualType": 0,
- "virtualName": "string",
- "cloudType": "amazon",
- "cloudResourceType": "physical",
- "cloudResourceTypeDetails": {
- "cloudresourcetypes": [
- {
- "name": "string",
- "value": 0
}
]
}, - "cloudResourceTypes": [
- {
- "cloudresourcetypes": [
- {
- "name": "string",
- "value": 0
}
]
}
], - "cloudID": 0,
- "amazonAccountID": 0,
- "amazonRegionID": 0,
- "amazonVPCID": 0,
- "amazonSubnetID": 0,
- "amazonWorkspacesID": 0,
- "amazonDirectoryID": 0,
- "ID": 0
}
Modify a computer group by ID. Any unset elements will be left unchanged.
ComputerGroupsApi.modifyComputerGroup([param1, param2, ...])
ComputerGroupsApi.modify_computer_group([param1, param2, ...])
ComputerGroupsApi.modifyComputerGroup([param1, param2, ...])
The settings of the computer group to modify.
successful operation
Not authorized to modify computer groups or the requested modification is not permitted.
The computer group does not exist.
{- "name": "string",
- "description": "string",
- "parentGroupID": 0,
- "cloudResourceTypeDetails": {
- "cloudresourcetypes": [
- { }
]
}
}
{- "type": "ad-add-directory",
- "name": "string",
- "description": "string",
- "parentGroupID": 0,
- "directoryID": 0,
- "externalID": "string",
- "virtualID": 0,
- "virtualType": 0,
- "virtualName": "string",
- "cloudType": "amazon",
- "cloudResourceType": "physical",
- "cloudResourceTypeDetails": {
- "cloudresourcetypes": [
- {
- "name": "string",
- "value": 0
}
]
}, - "cloudResourceTypes": [
- {
- "cloudresourcetypes": [
- {
- "name": "string",
- "value": 0
}
]
}
], - "cloudID": 0,
- "amazonAccountID": 0,
- "amazonRegionID": 0,
- "amazonVPCID": 0,
- "amazonSubnetID": 0,
- "amazonWorkspacesID": 0,
- "amazonDirectoryID": 0,
- "ID": 0
}
Delete a computer group by ID.
ComputerGroupsApi.deleteComputerGroup([param1, param2, ...])
ComputerGroupsApi.delete_computer_group([param1, param2, ...])
ComputerGroupsApi.deleteComputerGroup([param1, param2, ...])
Request is successful.
Not authorized to delete computer groups.
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.ComputerGroupsApi; public class DeleteComputerGroupExample { 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 ComputerGroupsApi instance = new ComputerGroupsApi(); Integer computerGroupID = 1; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours instance.deleteComputerGroup(computerGroupID, apiVersion); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerGroupsApi.deleteComputerGroup"); e.printStackTrace(); } } }
Search for computer groups using optional filters.
ComputerGroupsApi.searchComputerGroups([param1, param2, ...])
ComputerGroupsApi.search_computer_groups([param1, param2, ...])
ComputerGroupsApi.searchComputerGroups([param1, param2, ...])
A collection of options used to filter the search results.
successful operation
Not authorized to view computer groups.
{- "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
}
{- "computerGroups": [
- {
- "type": "ad-add-directory",
- "name": "string",
- "description": "string",
- "parentGroupID": 0,
- "directoryID": 0,
- "externalID": "string",
- "virtualID": 0,
- "virtualType": 0,
- "virtualName": "string",
- "cloudType": "amazon",
- "cloudResourceType": "physical",
- "cloudResourceTypeDetails": {
- "cloudresourcetypes": [
- {
- "name": "string",
- "value": 0
}
]
}, - "cloudResourceTypes": [
- {
- "cloudresourcetypes": [
- {
- "name": "string",
- "value": 0
}
]
}
], - "cloudID": 0,
- "amazonAccountID": 0,
- "amazonRegionID": 0,
- "amazonVPCID": 0,
- "amazonSubnetID": 0,
- "amazonWorkspacesID": 0,
- "amazonDirectoryID": 0,
- "ID": 0
}
]
}