OBJECT

TanzuHubPolicyQueryProvider

link GraphQL Schema definition

  • type TanzuHubPolicyQueryProvider implements HubPolicyQueries, HubPolicyQueriesProvider {
  • name: String!
  • providerInfo: HubPolicyProviderInfo!
  • # Get policy details based on filter criteria
  • #
  • # **NOTE:** This API/functionality is in Alpha, This functionality can be unstable
  • # and schema elements may change over future iterations.
  • #
  • # 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.
  • # It will be supported in future
  • # 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
  • # tanzuHubPolicyFilter: Optional filters to filter policies that
  • # are fetched
  • queryHubPolicies(
  • after: String,
  • before: String,
  • filter: QueryFilter,
  • first: Int,
  • sort: [QuerySort!],
  • tanzuHubPolicyFilter: TanzuHubPolicyFilter
  • ): TanzuHubPolicyConnection
  • # Get policy run details
  • #
  • # **NOTE:** This API/functionality is in Alpha, This functionality can be unstable
  • # and schema elements may change over future iterations.
  • #
  • # 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.
  • # It will be supported in future
  • # 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
  • # tanzuHubPolicyRunFilter: Optional filters to filter policies
  • # that are fetched
  • queryHubPolicyRuns(
  • after: String,
  • before: String,
  • filter: QueryFilter,
  • first: Int,
  • sort: [QuerySort!],
  • tanzuHubPolicyRunFilter: TanzuHubPolicyFilter
  • ): TanzuHubPolicyRunConnection
  • }