OBJECT

EntitySSQLQuery

Secure State Query Language (SSQL) allows the user to search the Entity model.

For more details please see: https://docs.vmware.com/en/CloudHealth-Secure-State/services/chss-usage/GUID-explore-ssql.html

link GraphQL Schema definition

  • type EntitySSQLQuery {
  • # Provide autocompletion for an SSQL string
  • #
  • # Arguments
  • # cloudAccountIds: Optional management endpoint IDs to limit
  • # autocomplete scope
  • # partitionIds: Optionally specify a graph partition name for
  • # VMware entity types to limit scope
  • # providers: Optional providers to limit autocomplete scope
  • # query: SSQL Query string to autocomplete
  • autocompleteSSQL(
  • cloudAccountIds: [String!],
  • partitionIds: [EntityGraphPartitionNames!],
  • providers: [String!],
  • query: String!
  • ): EntitySSQLAutocompleteResponse!
  • # Run an SSQL query
  • #
  • # Arguments
  • # after: Return records after the given cursor, as per GraphQL
  • # Relay spec
  • # before: Return records before the given cursor, as per GraphQL
  • # Relay spec
  • # entityTree: Determines whether the resulting graph query will
  • # be with tree form
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec. Only applied to LIST queries (not graphs or aggregations)
  • # managementEndpointIds: Optional management endpoint IDs to
  • # limit query scope. A single managementEndpointId or partitionId is required for
  • # graph queries
  • # partitionIds: Optionally specify a graph partition name for
  • # VMware entity types to limit query scope
  • # providers: Optional providers to limit query scope
  • # query: SSQL Query string
  • # sort: Sort field for results, default is by entityId
  • querySSQL(
  • after: String,
  • before: String,
  • entityTree: Boolean,
  • first: Int,
  • managementEndpointIds: [String!],
  • partitionIds: [EntityGraphPartitionNames!],
  • providers: [String!],
  • query: String!,
  • sort: QuerySort
  • ): EntitySSQLQueryResponse!
  • # Validate a given SSQL query string
  • #
  • # Arguments
  • # query: [Not documented]
  • validateSSQL(query: String!): EntitySSQLValidationResponse!
  • }