OBJECT
TanzuHubPolicy
Hub policy
link GraphQL Schema definition
- type TanzuHubPolicy implements HubPolicy, Node, NodeVersion {
- # CSP user who created hub policy
- User! :
- # Timestamp at which hub policy is created. Expressed in UTC ISO-8601 format
- DateTime! :
- # CSP project id associated with policy
- Entity!] : [
- # Policy description
- LocalizedString :
- # If the policy is enabled or not
- # If disabled, schedule based policy evaluation will stop. But user will still be
- # able to evaluate the policy using API.
- Boolean! :
- # Policy execution schedule
- TanzuHubPolicyExecutionSchedule! :
- # Opaque global ID
- ID! :
- # Timestamp at which hub policy is updated. Expressed in UTC ISO-8601 format
- DateTime :
- # Versioning ID
- ID! :
- # Policy id
- String! :
- # Policy name
- LocalizedString! :
- # Policy Providers like Cost, Spring, Aria/Tanzu
- String! :
- # Rules for this policy.
- # A rule is a set Graphql Query + post processing that filters data in the Hub
- # Graph.
- # Rule has associated actions.
- # A rule is considered evaluated to NON_COMPLIANT if there are resources returned
- # by the graphQL query + post-processing
- # If a rule evaluates to NON_COMPLIANT, the associated actions are executed.
- #
- # Rules for a policy are a executed sequentially and if any rule evaluates to
- # NON_COMPLIANT further rule execution is stopped.
- TanzuHubPolicyRule!]! : [
- # CSP user who updated hub policy
- User :
- }