Add Application With Tiers
Creates a manual application or saves discovered application. While saving discovered application user can curate it. This API also allows to merge multiple discovered application and save it as a single saved applicaiton. For merging application, customer should add criteria of tiers to be merged in one tier and similarly update rest of the imformation. Also, allows edit of saved application. To make sure changes are being applied on latest saved app, use "If-Match" header.
Represent lastModifiedTimestamp of application definition which user is modifying
{
"name": "fbad_app1",
"entity_id": "18230:561:264351372",
"source_group_entity_id": [
"18230:565:264351372"
],
"enable_threshold_analytics": false,
"tiers": [
{
"name": "fbad-tier-1",
"entity_id": "18230:562:264351372",
"source_group_entity_id": [
"18230:566:264351372"
],
"group_membership_criteria": [
{
"membership_type": "SearchMembershipCriteria",
"search_membership_criteria": {
"entity_type": "VirtualMachine",
"filter": "security_groups.entity_id = '18230:82:604573173'"
}
},
{
"membership_type": "IPAddressMembershipCriteria",
"ip_address_membership_criteria": {
"ip_addresses": [
"10.0.0.1",
"10.0.0.1/24",
"10.0.0.1-10.0.0.200"
]
}
}
],
"member_list": {
"vms": [
{
"key": {
"entity_id": "18230:1:1158969162",
"entity_type": "VIRTUALMACHINE"
},
"name": "VM1"
},
{
"key": {
"entity_id": "18230:601:863301375",
"entity_type": "EC2INSTANCE"
},
"name": "EC2-VM1"
},
{
"key": {
"entity_id": "18230:1702:264351372",
"entity_type": "AZUREVM"
},
"name": "Azure-VM1"
}
]
},
"physical_ips": [
{
"key": {
"entity_id": "18230:541:365252372",
"entity_type": "IPENDPOINT"
},
"name": "52.35.41.245"
}
],
"kubernetes_services": [
{
"key": {
"entity_id": "18230:1504:263252172",
"entity_type": "KUBERNETESSERVICE"
},
"name": "KS"
}
]
}
]
}
name
entity_id
Entity ID of corresponding discovered application. It's recommended to not merge tiers and use only one source group.
Enabling Threshold Analytics creates a dynamic threshold configuration that analyses "Network Traffic Rate" for all VMs belonging to the application and generates alerts if violation is detected for any of them based on their historic behavior.
Created
{
"entity_id": "1000:104:12213212",
"name": "My Name",
"entity_type": "VirtualMachine",
"create_time": 159724400600,
"created_by": "admin@local",
"last_modified_time": 159724400600,
"last_modified_by": "[email protected]",
"last_modified_by_service": "Ensemble",
"tier_count": 25,
"member_count": 500,
"update_status": "string",
"confidence": "Medium"
}
Bad Request
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Unauthorized
Forbidden
Not Found
Internal Error