action vmware_search_entities { label: "Search entities" description: "Using search API you can search vRealize Network Insight entities by specifying entity type and filter expression.\nA filter expression is a predicate expression (similar to SQL where clause) used to define the search criteria.\nPlease refer to API Guide on details of how to construct filter expression. A successful search request will return a\nlist of entity ids that matches the search criteria." provider: vmware method: POST path: "/search" encoding: json input: { type: "object" properties: { cursor: { type: "string" } entity_type: { type: "string" enum: ["Group", "BaseSecurityGroup", "BaseEvent", "BaseVirtualMachine", "BaseFirewallRule", "BaseIPSet", "BaseL2Network", "BaseFirewall", "BaseService", "BaseServiceGroup", "BaseVnic", "VirtualMachine", "EC2Instance", "Host", "Vnic", "Vmknic", "VxlanLayer2Network", "VlanL2Network", "Cluster", "SecurityTag", "ResourcePool", "NSXIPSet", "EC2IPSet", "NSXSecurityGroup", "EC2SecurityGroup", "Flow", "ProblemEvent", "Application", "Tier", "NSXFirewallRule", "EC2SGFirewallRule", "NSXRedirectRule", "VCenterManager", "NSXVManager", "BaseManager", "BaseNSXManager", "NSXService", "EC2Service", "VPC", "NSXDistributedFirewall", "EC2Firewall", "NSXServiceGroup", "DistributedVirtualSwitch", "DistributedVirtualPortgroup", "VCDatacenter", "Datastore", "Folder"] } filter: { type: "string" description: "query filter" } size: { type: "integer" format: "int32" } sort_by: { type: "object" properties: { field: { type: "string" } order: { type: "string" enum: ["ASC", "DESC"] } } } time_range: { type: "object" properties: { end_time: { type: "integer" format: "int64" } start_time: { type: "integer" format: "int64" } } } } } output: { type: "object" properties: { cursor: { type: "string" } end_time: { type: "integer" format: "int64" } results: { type: "array" items: { type: "object" properties: { entity_id: { type: "string" description: "Entity Identifier" } entity_type: { type: "string" enum: ["VirtualMachine", "EC2Instance", "Host", "Vnic", "Vmknic", "VxlanLayer2Network", "VlanL2Network", "Cluster", "SecurityTag", "ResourcePool", "NSXIPSet", "EC2IPSet", "NSXSecurityGroup", "EC2SecurityGroup", "Flow", "ProblemEvent", "Application", "Tier", "NSXFirewallRule", "EC2SGFirewallRule", "NSXRedirectRule", "VCenterManager", "NSXVManager", "NSXService", "EC2Service", "VPC", "NSXDistributedFirewall", "EC2Firewall", "NSXServiceGroup", "DistributedVirtualSwitch", "DistributedVirtualPortgroup", "VCDatacenter", "Datastore", "Folder"] } time: { type: "integer" format: "int64" } } } } start_time: { type: "integer" format: "int64" } total_count: { type: "integer" } } } }