ENUM
EntityTraversalScope
EntityTraversalScope indicates the scope of a relationship traversal in the data model
This is required when a graph traversal may cross the partitioning boundary of the graph data model.
Each customer has multiple graph partitions. There is one partition for the management plane entities, one for the VMware managed resources, and one partition per public cloud account. When navigating relationships between partitions, a query must specify a suitable TraversalScope in the traversal.
Cross-partition traversals in a graph query have a performance impact on the query but are required when data is in different partitions.
The most common requirement to specify a traversal scope are when traversing between a management-plane entity which is constructed by the management layer and an entity from a managed environment in a public or private cloud.
One simple way of telling if there a cross-partition traversal is required is to consider the entityType prefixes to determine in which partition the relevant entities are stored:
VMW_MANAGEMENT_PLANE
: entityType prefix indicates resources from a VMware management product: vmw.ens, vmw.vra, vmw.vrops, vmw.vrni, ...
VMW_MANAGED_RESOURCES
: entityType prefix indicates managed resources from a VMware managed environment e.g. vmw.vc, vmw.nsx
<managementEndpointId>
: entityType prefix indicates a public cloud resource: AWS, Azure, GCP - resources for each public cloud account are stored in separate partitions identified by the managementEndpointId.
link GraphQL Schema definition
- enum EntityTraversalScope {
- # Optimized traversal scope - relationships are to entities in the same partition
- # (typically same cloudAccountId). Most performant.
- # Remote traversal scope - relationships are to entities in a different partition
- # Default traversal scope - relationships are to entities which may be in the same
- # or a different partition
- }
link Require by
- EntityPrimary Entity type in the graph, implementing the individual EntityNode interface and with additional fields permitting traversals to other entities in the entity topology and to access other graph nodes with information related to the entity.
- EntityRelationshipA typed relationship between two Entity instances
- EntityRelationshipNodenull
- EntityRelationshipNodeInterfacenull
- EntityRelationshipQueryFilternull
- EntityTraversalInputInput defining an entity graph traversal step
- HubQueryTanzu Hub Query Language is derived from Secure State Query Language (SSQL) and allows the user to search and query the graph model. Until this has specific documentation please see: https://docs.vmware.com/en/CloudHealth-Secure-State/services/chss-usage/GUID-explore-ssql.html