INTERFACE

HubPolicyQueriesProvider

link GraphQL Schema definition

  • interface HubPolicyQueriesProvider {
  • # Provider name, expected to be the same as the field name used to access this
  • # provider, possibly with case differences
  • name: String!
  • # Information about this provider
  • providerInfo: HubPolicyProviderInfo!
  • # Get policy details based on filter criteria
  • #
  • # 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
  • # filter: Optional filters to filter policies that are fetched
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • # sort: Results are sorted as per fields and order specified.
  • # Supported fields are policyName, createdBy and updatedBy
  • queryHubPolicies(
  • after: String,
  • before: String,
  • filter: QueryFilter,
  • first: Int,
  • sort: [QuerySort!]
  • ): HubPolicyConnection
  • # Get policy run details
  • #
  • # 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
  • # filter: Optional filters to filter policy runs that are
  • # fetched.
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • # sort: Results are sorted as per fields and order specified.
  • # Supported fields are name, status. Default Sort will be on LastUpdateTime
  • queryHubPolicyRuns(
  • after: String,
  • before: String,
  • filter: QueryFilter,
  • first: Int,
  • sort: [QuerySort!]
  • ): HubPolicyRunConnection
  • }